/*
Theme Name: Bay Agro Teh
Theme URI: https://bayagroteh.com/
Author: Bay Agro Team
Author URI: https://bayagroteh.com/
Description: Швидка, легка та надійна тема без конструкторів для продажу сільськогосподарської техніки. Оптимізована під WooCommerce та мобільні пристрої.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bayagroteh
*/

:root {
  --primary: #1e5631;
  --primary-dark: #143d22;
  --primary-light: #2e7d32;
  --primary-bg: #f0f7f2;
  --accent: #d97706;
  --accent-hover: #b45309;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

/* ==========================================================================
   PREMIUM CINEMATIC DARK HEADER
   ========================================================================== */

.site-header {
  background: rgba(6, 22, 12, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Offset for WordPress Admin Bar */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* Top Contact Bar */
.top-bar {
  background: #041208;
  color: #94a3b8;
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-bar-icon {
  color: #f59e0b;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}

.top-bar a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-bar a:hover {
  color: #ffffff;
}

.messenger-pills {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pill-viber {
  background: #7360f2;
  color: #ffffff !important;
  padding: 3px 11px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}

.pill-viber:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.pill-telegram {
  background: #229ed9;
  color: #ffffff !important;
  padding: 3px 11px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}

.pill-telegram:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.top-bar-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-bar-email .email-icon {
  color: #22c55e;
  font-size: 13px;
}

/* Main Navigation Header */
.main-header {
  padding: 8px 0;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 42px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.header-logo:hover img {
  transform: scale(1.02);
}

.main-navigation {
  flex: 1 1 auto;
  min-width: 0;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  font-weight: 600;
  color: #e2e8f0 !important;
  font-size: 13.5px;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.2px;
}

.main-navigation a:hover {
  color: #86efac !important;
}

/* Active Menu Item with Vibrant Lime-Green Underline */
.main-navigation li.active a,
.main-navigation a.active,
.main-navigation .current-menu-item > a {
  color: #ffffff !important;
  font-weight: 700;
}

.main-navigation li.active a::after,
.main-navigation a.active::after,
.main-navigation .current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #84cc16;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(132, 204, 22, 0.7);
}

/* Right Side CTA & Phone */
.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0 !important;
}

.header-phone-box {
  text-align: right;
  line-height: 1.25;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  min-width: 155px;
}

.header-phone-label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.header-phone-number {
  font-size: 16.5px !important;
  font-weight: 800;
  color: #ffffff !important;
  white-space: nowrap !important;
  display: block !important;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.header-phone-number:hover {
  color: #86efac !important;
}

/* Neon Lime Call Button */
.btn-header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-weight: 800;
  font-size: 13.5px;
  border-radius: 30px;
  cursor: pointer;
  border: 1px solid rgba(190, 242, 100, 0.4);
  background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
  color: #06210e !important;
  line-height: 1.2;
  box-shadow: 0 0 20px rgba(132, 204, 22, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}

.btn-header-call:hover {
  background: linear-gradient(135deg, #bef264 0%, #a3e635 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(163, 230, 53, 0.7);
  color: #04160a !important;
}

.btn-header-call:active {
  transform: translateY(0);
}

.btn-call-icon {
  flex-shrink: 0;
  stroke: #06210e;
}

.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #84cc16;
}

/* Language Switcher (Google Translator / GTranslate) */
.header-lang-switcher {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.header-lang-switcher select.gt_selector,
.mobile-drawer-lang select.gt_selector {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.08) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2384cc16' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 6px center / 11px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 20px 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  height: 26px;
  line-height: 18px;
  transition: all 0.2s ease;
  min-width: 82px;
}

.header-lang-switcher select.gt_selector:hover,
.header-lang-switcher select.gt_selector:focus {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: #84cc16;
}

.header-lang-switcher select.gt_selector option,
.mobile-drawer-lang select.gt_selector option {
  background: #082110;
  color: #ffffff;
  padding: 6px 10px;
}

#flags, #flags ul {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#flags li {
  display: inline-block !important;
  margin: 0 !important;
}

#flags a {
  display: inline-block !important;
  border-radius: 3px;
  transition: transform 0.2s ease;
}

#flags a:hover {
  transform: scale(1.12);
}

.header-lang-switcher #google_language_translator,
.mobile-drawer-lang #google_language_translator {
  display: none !important;
}

/* Mobile Slide Drawer & Backdrop */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background: #071e10;
  z-index: 10001;
  padding: 22px;
  box-shadow: -5px 0 35px rgba(0, 0, 0, 0.7);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.mobile-drawer-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.mobile-drawer-close:hover {
  color: #ffffff;
}

.mobile-drawer-lang {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-lang-label {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-drawer-lang select.gt_selector {
  flex: 1;
  max-width: 140px;
  height: 30px;
  font-size: 12px;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.mobile-nav-links li {
  margin-bottom: 2px;
}

.mobile-nav-links a {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-links a:hover {
  color: #84cc16;
}

.mobile-drawer-contacts {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-phone {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff !important;
  text-decoration: none;
  margin-bottom: 12px;
}

.mobile-drawer-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.mobile-drawer-socials .pill-viber,
.mobile-drawer-socials .pill-telegram {
  flex: 1;
  justify-content: center;
  padding: 6px 12px;
  font-size: 12px;
}

.mobile-drawer-info {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.6;
}

/* Global Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff !important;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-accent {
  background: var(--accent);
  color: #fff !important;
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff !important;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

/* ==========================================================================
   PREMIUM CINEMATIC HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  background-color: #07190d;
  color: #ffffff;
  min-height: 680px;
  height: clamp(660px, 80vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* Media Container */
.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-poster-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.hero-video.is-ready {
  opacity: 1;
}

/* Cinematic Multi-Layer Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background:
    /* Left to right gradient: rich forest green on left, smooth blend, clear view on right */
    linear-gradient(90deg,
      rgba(7, 24, 13, 0.96) 0%,
      rgba(7, 24, 13, 0.90) 32%,
      rgba(7, 24, 13, 0.68) 52%,
      rgba(7, 24, 13, 0.28) 74%,
      rgba(7, 24, 13, 0.08) 100%
    ),
    /* Top ambient shadow for crisp header separation */
    linear-gradient(180deg,
      rgba(5, 17, 9, 0.65) 0%,
      rgba(5, 17, 9, 0) 30%
    );
}

.hero-vignette-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 110px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 24, 13, 0.75) 0%, transparent 100%);
}

/* Content Container & Grid */
.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 40px;
  align-items: flex-end;
}

.hero-content {
  max-width: 660px;
}

/* Badge */
.hero-badge-wrap {
  margin-bottom: 22px;
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 119, 6, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}

.hero-badge-icon {
  color: #f59e0b;
}

/* Title & Subtitle */
.hero-title {
  font-size: clamp(34px, 4.3vw, 52px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.hero-underline-svg {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 12px;
  overflow: visible;
  pointer-events: none;
}

.hero-subtitle {
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.64;
  color: #e2e8f0;
  margin-bottom: 34px;
  max-width: 580px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.btn-hero-catalog,
.btn-hero-budget {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-catalog {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff !important;
  border: 1px solid rgba(74, 222, 128, 0.35);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-hero-catalog:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.6);
  color: #ffffff !important;
}

.btn-hero-catalog:active {
  transform: translateY(0);
}

.btn-hero-budget {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff !important;
  border: 1px solid rgba(251, 146, 60, 0.35);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-hero-budget:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.6);
  color: #ffffff !important;
}

.btn-hero-budget:active {
  transform: translateY(0);
}

.btn-icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn-hero-catalog:hover .btn-icon {
  transform: translateX(4px);
}

/* Right Side Trust Badge Card */
.hero-feature-side {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-bottom: 10px;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}

.hero-trust-card {
  background: rgba(9, 28, 15, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-trust-text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.35;
}

.hero-trust-text strong {
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
}

.hero-trust-text span {
  color: #94a3b8;
  font-size: 11.5px;
}

.hero-trust-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
}

/* Animations & Motion */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge-wrap,
  .hero-title,
  .hero-subtitle,
  .hero-actions,
  .hero-feature-side {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .hero-video {
    transition: none !important;
    opacity: 1 !important;
  }
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    height: auto;
    padding: 70px 0 80px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(7, 24, 13, 0.88) 0%,
      rgba(7, 24, 13, 0.92) 55%,
      rgba(7, 24, 13, 0.96) 100%
    );
  }
  .hero-video {
    object-position: 72% center;
  }
  .hero-poster-fallback {
    background-position: 72% center;
  }
  .hero-feature-side {
    justify-content: flex-start;
  }
  .hero-trust-card {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 50px 0 60px;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.18;
  }
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 26px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-catalog,
  .btn-hero-budget {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   CATEGORY GRID (HOME & ARCHIVE)
   ========================================================================== */

.section-title-wrap {
  text-align: center;
  margin-bottom: 36px;
}

.section-subtitle {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-main);
}

.category-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .category-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .category-tiles {
    grid-template-columns: 1fr;
  }
}

.category-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.category-card-img {
  aspect-ratio: 16 / 9;
  height: auto;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}

.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover .category-card-img img {
  transform: scale(1.05);
}

.category-card-body {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.category-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.category-card-count {
  font-size: 12px;
  font-weight: 700;
  background: var(--primary-bg);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   PRODUCT GRID & CARDS
   ========================================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.product-card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  height: auto;
  background: #f8fafc;
  overflow: hidden;
}

.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-thumb img {
  transform: scale(1.04);
}

.product-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-in-stock {
  background: #16a34a;
  color: #fff;
}

.badge-europe {
  background: #0284c7;
  color: #fff;
}

.product-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-card-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.product-card-title a {
  color: var(--text-main);
}

.product-card-title a:hover {
  color: var(--primary);
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.spec-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.product-card-price-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   CATALOG / ARCHIVE LAYOUT
   ========================================================================== */

.archive-wrapper {
  padding: 40px 0 70px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.catalog-sidebar {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.sidebar-block {
  margin-bottom: 28px;
}

.sidebar-block:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-bg);
}

.sidebar-nav-list {
  list-style: none;
}

.sidebar-nav-list li {
  margin-bottom: 8px;
}

.sidebar-nav-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.sidebar-nav-list a:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

.sidebar-nav-list li.current-cat a {
  background: var(--primary);
  color: #ffffff;
}

.sidebar-nav-list .count {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 7px;
  border-radius: 12px;
}

.sidebar-nav-list li.current-cat .count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.sidebar-contact-card {
  background: var(--primary-bg);
  border: 1px solid rgba(30, 86, 49, 0.2);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.sidebar-contact-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.sidebar-contact-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */

.single-product-wrap {
  padding: 40px 0 80px;
}

.single-product-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  margin-bottom: 50px;
  align-items: start;
}

.single-product-layout > * {
  min-width: 0;
}

.product-gallery-box {
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}

.gallery-main-image {
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: 480px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f1f5f9;
  margin-bottom: 12px;
}

.gallery-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.gallery-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.gallery-thumb-item {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  opacity: 0.75;
  transition: all 0.2s;
  background: #f1f5f9;
}

.gallery-thumb-item.active,
.gallery-thumb-item:hover {
  border-color: var(--primary);
  opacity: 1;
  transform: translateY(-2px);
}
  border: 2px solid transparent;
  flex-shrink: 0;
  opacity: 0.7;
  transition: all 0.2s;
}

.gallery-thumb-item.active,
.gallery-thumb-item:hover {
  border-color: var(--primary);
  opacity: 1;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-box {
  display: flex;
  flex-direction: column;
}

.product-category-breadcrumb {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.single-product-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 18px;
}

.single-price-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.single-price-amount {
  font-size: 34px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.single-price-note {
  font-size: 13px;
  color: var(--text-muted);
}

.cta-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.cta-box-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}

.cta-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-viber {
  background: #7360f2;
  color: #fff !important;
}

.btn-viber:hover {
  background: #5b47d6;
}

.btn-telegram {
  background: #0088cc;
  color: #fff !important;
}

.btn-telegram:hover {
  background: #0077b5;
}

/* Specs Table */
.specs-table-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.specs-table-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text-main);
  border-bottom: 2px solid var(--primary-bg);
  padding-bottom: 8px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 12px 14px;
  font-size: 15px;
}

.specs-table td:first-child {
  font-weight: 700;
  color: var(--text-muted);
  width: 35%;
  background: #fbfcfe;
}

.specs-table td:last-child {
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   FEATURES / TRUST SECTION
   ========================================================================== */

.trust-section {
  padding: 70px 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  text-align: center;
  padding: 20px;
}

.trust-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.trust-item h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.trust-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #0f2416;
  color: #ffffff;
  padding: 60px 0 24px;
}

.site-footer a {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 52px;
  display: block;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ffffff;
  font-size: 14px;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  opacity: 0.85;
  text-decoration: underline;
}

.footer-contacts p {
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #ffffff;
}

.footer-contacts a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 13px;
  color: #ffffff;
}

.footer-bottom p {
  color: #ffffff;
  margin: 0;
}

/* ==========================================================================
   MODAL POPUP (QUICK INQUIRY)
   ========================================================================== */

.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 480px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 86, 49, 0.15);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES) & ZERO HORIZONTAL OVERFLOW
   ========================================================================== */

/* Fix third-party sidebar / floaters */
.woocommerce-multi-currency.wmc-sidebar,
.wmc-sidebar {
  max-width: 100vw !important;
}

/* Large Desktop to Medium Desktop (<=1320px) */
@media (max-width: 1320px) {
  .main-navigation ul {
    gap: 10px;
  }
  .main-navigation a {
    font-size: 12.5px;
  }
  .header-phone-box {
    min-width: 138px;
  }
  .header-phone-number {
    font-size: 15px !important;
  }
  .btn-header-call {
    padding: 8px 14px;
    font-size: 12.5px;
  }
}

/* Medium Desktop to Tablet Landscape (<=1140px) */
@media (max-width: 1140px) {
  .main-navigation ul {
    gap: 8px;
  }
  .main-navigation a {
    font-size: 12px;
  }
  .header-phone-box {
    display: none;
  }
  .category-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet Landscape to Tablet Portrait (<=1024px) */
@media (max-width: 1024px) {
  .main-navigation {
    display: none;
  }
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
  }
  .mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #84cc16;
  }
  .header-phone-box {
    display: none;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .single-product-layout {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-feature-side {
    justify-content: flex-start;
  }
  .hero-trust-card {
    max-width: 100%;
  }
}

/* Tablet Portrait to Mobile (<=768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  /* Top Bar */
  .top-bar {
    padding: 6px 0;
  }
  .top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  .top-bar-left {
    display: none;
  }
  .top-bar-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
  }
  .top-bar-email {
    display: none;
  }
  
  /* Main Header */
  .main-header {
    padding: 6px 0;
  }
  .main-header .container {
    gap: 10px;
  }
  .header-logo img {
    height: 36px;
    max-width: 175px;
  }
  .header-cta {
    gap: 8px;
  }
  .btn-header-call {
    padding: 7px 12px;
    font-size: 12px;
  }

  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding: 44px 0 54px;
  }
  .hero-badge-wrap {
    margin-bottom: 16px;
  }
  .hero-badge {
    font-size: 11px;
    letter-spacing: 0.6px;
    padding: 5px 12px;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
  }
  .hero-title {
    font-size: clamp(24px, 6.8vw, 36px);
    line-height: 1.18;
    margin-bottom: 16px;
    word-break: break-word;
    letter-spacing: -0.015em;
  }
  .hero-subtitle {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 24px;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .btn-hero-catalog,
  .btn-hero-budget {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 15px;
  }
  .hero-trust-card {
    padding: 14px 16px;
  }
  .hero-trust-text strong {
    font-size: 12.5px;
  }
  .hero-trust-text span {
    font-size: 11px;
  }

  /* Catalog / Categories */
  .category-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
  }
  .category-card-thumb {
    height: 120px;
  }
  .category-card-body {
    padding: 12px;
  }
  .category-card-title {
    font-size: 13px;
  }

  /* Catalog Products Grid */
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card-thumb {
    height: 160px;
  }
  .product-card-body {
    padding: 12px;
  }
  .product-title {
    font-size: 14px;
  }
  .product-price {
    font-size: 15px;
  }

  /* Single Product View */
  .single-product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-gallery-main {
    max-height: 320px;
  }
  .product-gallery-thumbs {
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .product-thumb-item {
    flex: 0 0 64px;
    height: 52px;
  }
  .product-specs-table th,
  .product-specs-table td {
    padding: 8px 10px;
    font-size: 12.5px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Small Mobile Screens (<=420px, like iPhone 16 / SE / Androids) */
@media (max-width: 420px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Header Compact */
  .header-logo img {
    height: 32px;
    max-width: 150px;
  }
  
  /* Call button transforms to neat circular icon button */
  .btn-header-call {
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .btn-call-text {
    display: none;
  }
  .btn-call-icon {
    width: 16px;
    height: 16px;
    margin: 0;
  }

  /* Mobile menu toggle button */
  .mobile-nav-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
  }

  /* Top Bar */
  .header-lang-switcher select.gt_selector {
    min-width: 76px;
    max-width: 90px;
    font-size: 11px;
    padding: 2px 18px 2px 6px;
    height: 24px;
  }
  .messenger-pills {
    gap: 5px;
  }
  .pill-viber,
  .pill-telegram {
    padding: 2px 8px;
    font-size: 10.5px;
    gap: 3px;
  }

  /* Hero Section */
  .hero-section {
    padding: 32px 0 44px;
  }
  .hero-badge {
    font-size: 10px;
    letter-spacing: 0.4px;
    padding: 4px 10px;
  }
  .hero-title {
    font-size: 23px;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .hero-subtitle {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .btn-hero-catalog,
  .btn-hero-budget {
    padding: 11px 16px;
    font-size: 14px;
  }

  /* Catalog / Categories Grid: keep 2 cols */
  .category-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .category-card-thumb {
    height: 100px;
  }
  .category-card-body {
    padding: 8px;
  }
  .category-card-title {
    font-size: 12px;
  }

  /* Products Grid */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Extra Small Screens (<=340px) */
@media (max-width: 340px) {
  .header-logo img {
    height: 28px;
    max-width: 130px;
  }
  .category-tiles {
    grid-template-columns: 1fr;
  }
  .pill-viber span,
  .pill-telegram span {
    display: none;
  }
  .pill-viber,
  .pill-telegram {
    padding: 4px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    justify-content: center;
  }
}

/* ==========================================================================
   PREMIUM CINEMATIC PRELOADER
   ========================================================================== */

.bay-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: all;
  background: #040e07;
  transition: opacity 0.35s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.35s ease;
}

.bay-preloader.is-loaded {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Hide third-party overlays (e.g. currency switcher) during preloader */
body:has(#bay-preloader:not(.is-loaded)) .woocommerce-multi-currency {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Dual Cinematic Curtains */
.bay-preloader-curtain-top,
.bay-preloader-curtain-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;
  background: radial-gradient(circle at center, #0a1f12 0%, #040e07 100%);
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.bay-preloader-curtain-top {
  top: 0;
  border-bottom: 1px solid rgba(132, 204, 22, 0.25);
}

.bay-preloader-curtain-bottom {
  bottom: 0;
  border-top: 1px solid rgba(132, 204, 22, 0.25);
}

.bay-preloader.is-loaded .bay-preloader-curtain-top {
  transform: translateY(-100%);
}

.bay-preloader.is-loaded .bay-preloader-curtain-bottom {
  transform: translateY(100%);
}

/* Ambient Radial Glow */
.bay-preloader-bg-ambient {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.18) 0%, rgba(90, 140, 41, 0.05) 50%, transparent 70%);
  z-index: 2;
  pointer-events: none;
  animation: bayAmbientPulse 3s ease-in-out infinite alternate;
}

@keyframes bayAmbientPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* Central Core Content */
.bay-preloader-core {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.77, 0, 0.175, 1);
}

.bay-preloader.is-loaded .bay-preloader-core {
  opacity: 0;
  transform: scale(0.92);
}

/* Emblem & Orbiting Rings */
.bay-preloader-emblem-box {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bay-preloader-svg-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-orbit {
  fill: none;
  stroke: rgba(132, 204, 22, 0.25);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
  animation: bayOrbitRotate 16s linear infinite;
  transform-origin: 80px 80px;
}

@keyframes bayOrbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 3;
}

.ring-progress {
  fill: none;
  stroke: #84cc16;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 414.7;
  stroke-dashoffset: 414.7;
  filter: drop-shadow(0 0 10px rgba(132, 204, 22, 0.9));
  transition: stroke-dashoffset 0.03s linear;
}

.bay-preloader-emblem-img-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.3) 0%, rgba(5, 14, 7, 0.85) 75%);
  box-shadow: 0 0 40px rgba(132, 204, 22, 0.5), inset 0 0 15px rgba(132, 204, 22, 0.4);
  animation: bayEmblemFloat 3s ease-in-out infinite alternate;
}

@keyframes bayEmblemFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.bay-preloader-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 14px rgba(132, 204, 22, 0.95)) brightness(1.25) contrast(1.1);
}

.bay-preloader-sheen {
  position: absolute;
  inset: -100%;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
  animation: baySheen 2.8s infinite;
}

@keyframes baySheen {
  0% { transform: translateX(-100%); }
  40%, 100% { transform: translateX(100%); }
}

/* Brand Typography with Metallic Shimmer */
.bay-preloader-brand {
  margin-bottom: 22px;
}

.bay-preloader-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 6px;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  background: linear-gradient(120deg, #ffffff 0%, #f8fafc 25%, #bef264 50%, #ffffff 75%, #e2e8f0 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bayTextShimmer 2.6s linear infinite;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}

@keyframes bayTextShimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.bay-preloader-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  color: #a3e635;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(163, 230, 53, 0.6);
}

/* Progress Meter */
.bay-preloader-meter {
  width: 300px;
  max-width: 85vw;
}

.bay-preloader-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.bay-preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #4d7c0f 0%, #84cc16 50%, #d9f99d 100%);
  box-shadow: 0 0 14px #84cc16, 0 0 4px #bef264;
  border-radius: 4px;
  transition: width 0.03s linear;
}

.bay-preloader-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.bay-preloader-status {
  color: #94a3b8;
  letter-spacing: 1px;
  font-weight: 600;
}

.bay-preloader-perc {
  color: #bef264;
  font-weight: 700;
}
