/* ═══════════════════════════════════════════════════════
   FOENIX VIỆT NAM — Design System v59
   Typography: Manrope (headings/display) · Inter (body)
   Palette: Espresso #38251D · Copper #A76632 · Wheat #D5AE70
            Ivory #F7F3EC · Graphite #24272A
   Theme: Light (Ivory dominant)

   TABLE OF CONTENTS
   ─────────────────────────────────────────────────
   01. DESIGN TOKENS       — :root variables
   02. RESET & BASE        — box-sizing, body, links
   03. LAYOUT              — .container, .section, grid
   04. TYPOGRAPHY          — headings, display, body
   05. NAVIGATION          — navbar, mobile nav
   06. BUTTONS             — .btn and all variants
   07. FORMS               — inputs, selects, labels
   08. CARDS               — .card-glass, product cards
   09. BADGES              — .badge system
   10. PAGE HERO           — page-hero sections
   11. BLOG                — listing cards, featured
   12. PRODUCTS            — catalog grid, detail
   13. SOLUTIONS           — solution cards
   14. FOOTER              — footer layout, socials
   15. UTILITIES           — glass, section variants
   16. ANIMATIONS          — keyframes, transitions
   17. RESPONSIVE          — media queries
   ═══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════════ */
:root {
  /* ── Brand Palette ── */
  --espresso:       #38251D;
  --espresso-deep:  #2A1B15;
  --espresso-mid:   #4D3426;
  --copper:         #A76632;
  --copper-light:   #C07840;
  --copper-dim:     #8A5128;
  --wheat:          #D5AE70;
  --wheat-light:    #E6CA94;
  --wheat-muted:    #C09850;
  --ivory:          #F7F3EC;
  --ivory-warm:     #EDE6D9;
  --ivory-cool:     #FAF8F4;
  --graphite:       #24272A;
  --graphite-mid:   #3C4044;
  --graphite-light: #6B7177;

  /* ── Legacy aliases — keep older templates working ── */
  --brand:          var(--espresso);
  --brand-light:    var(--espresso-mid);
  --brand-vivid:    var(--copper);
  --brand-deep:     var(--espresso-deep);
  --brand-glow:     rgba(167,102,50,0.18);
  --brand-surface:  rgba(167,102,50,0.07);
  --gold:           var(--wheat);
  --gold-light:     var(--wheat-light);
  --gold-surface:   rgba(213,174,112,0.12);
  --dk-bg:          var(--espresso);
  --dk-bg2:         var(--espresso-mid);
  --dk-surface:     #4D3426;
  --dk-surface2:    #5C3E2E;
  --dk-border:      rgba(255,235,210,0.10);
  --dk-border2:     rgba(255,235,210,0.18);
  --lt-bg:          var(--ivory);
  --lt-bg2:         var(--ivory-warm);
  --lt-surface:     var(--ivory-cool);
  --lt-border:      rgba(56,37,29,0.10);
  --lt-border2:     rgba(56,37,29,0.18);
  --tx-white:       #FFFCF5;
  --tx-dim:         #D5AE70;
  --tx-mute:        #9B8570;
  --tx-dark:        var(--graphite);
  --tx-dark2:       #3C4044;
  --tx-dark3:       #6B7177;
  --accent:         var(--copper);
  --red:            #C0392B;
  --dark-2:         var(--espresso-mid);
  --b-dark:         rgba(255,235,210,0.10);

  /* ── Page (Light Theme) ── */
  --page-bg:        var(--ivory);
  --page-surface:   var(--ivory-cool);
  --page-text:      var(--graphite);
  --page-text-2:    var(--graphite-mid);
  --page-text-3:    var(--graphite-light);
  --page-border:    rgba(56,37,29,0.10);
  --page-border-2:  rgba(56,37,29,0.16);

  /* ── Status ── */
  --green:  #16A34A;
  --blue:   #2563EB;
  --yellow: #D97706;

  /* ── Typography ── */
  --f-heading: 'Manrope', 'Inter', sans-serif;
  --f-display: 'Manrope', 'Inter', sans-serif;
  --f-body:    'Inter', 'Manrope', sans-serif;

  /* ── Spacing (8px grid) ── */
  --sp-1:   8px;   --sp-2:  16px;  --sp-3:  24px;
  --sp-4:  32px;   --sp-5:  40px;  --sp-6:  48px;
  --sp-8:  64px;   --sp-10: 80px;  --sp-12: 96px;
  --sp-16: 128px;

  /* ── Border Radius ── */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* ── Shadows ── */
  --sh-xs:        0 1px 3px rgba(36,39,42,0.06);
  --sh-sm:        0 2px 10px rgba(36,39,42,0.08);
  --sh-md:        0 6px 24px rgba(36,39,42,0.10), 0 1px 4px rgba(36,39,42,0.05);
  --sh-lg:        0 16px 48px rgba(36,39,42,0.12), 0 4px 12px rgba(36,39,42,0.06);
  --sh-xl:        0 32px 72px rgba(36,39,42,0.14), 0 8px 24px rgba(36,39,42,0.07);
  --sh-card:      0 2px 8px rgba(36,39,42,0.07), 0 0 0 1px rgba(36,39,42,0.06);
  --sh-card-hover:0 12px 40px rgba(56,37,29,0.14), 0 4px 10px rgba(56,37,29,0.07);
  --sh-brand-glow:0 8px 32px rgba(167,102,50,0.30);
  --sh-dk-sm:     0 4px 24px rgba(0,0,0,0.5);
  --sh-dk-md:     0 12px 48px rgba(0,0,0,0.65);
  --sh-dk-lg:     0 24px 80px rgba(0,0,0,0.8);

  /* ── Glass/dark surface tokens ── */
  --glass-bg:       rgba(255,255,255,0.06);
  --glass-bg-h:     rgba(255,255,255,0.10);
  --glass-border:   rgba(255,235,210,0.10);
  --glass-border-h: rgba(213,174,112,0.25);

  /* ── Layout ── */
  --nav-h:    90px;
  --banner-h: 0px;
  --container: 1280px;

  /* ── Motion ── */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --spring:   cubic-bezier(0.22, 1, 0.36, 1);
}


/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--f-body);
  background: var(--ivory);
  color: var(--graphite);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}
a  { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── CONTAINER ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); position: relative; z-index: 1; }

/* ── TOP ACCENT LINE ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--espresso) 0%, var(--copper) 35%, var(--wheat) 65%, var(--copper) 100%);
  z-index: 99998;
  pointer-events: none;
}

/* ── PAGE FADE ── */
@keyframes pageFadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
main { animation: pageFadeIn 0.45s var(--spring) forwards; }

/* ── SKIP NAV ── */
.skip-nav {
  position: absolute; top: -100%; left: 16px;
  background: var(--copper); color: #fff;
  padding: 8px 20px; border-radius: 0 0 8px 8px;
  font-weight: 600; font-size: 14px; z-index: 99999;
  transition: top 0.2s;
}
.skip-nav:focus { top: 0; }

/* ── HEADINGS ── */
h1, h2, h3 { font-family: var(--f-heading); line-height: 1.15; font-weight: 700; }
h4, h5, h6 { font-family: var(--f-display); font-weight: 700; }


/* ══════════════════════════════════════════
   ANNOUNCEMENT BANNER
══════════════════════════════════════════ */
.site-banner {
  position: fixed;
  top: 2px; left: 0; right: 0;
  height: var(--banner-h);
  z-index: 1001;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s;
}
.banner-promo  { background: var(--copper); }
.banner-info   { background: #1d4ed8; }
.banner-urgent { background: #c2410c; }
.banner-shine {
  position: absolute; top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.12), transparent);
  animation: bannerShine 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bannerShine { 0%{transform:translateX(-100%)} 100%{transform:translateX(350%)} }
.banner-inner {
  display: flex; align-items: center; gap: 10px;
  position: relative; z-index: 1;
  max-width: 960px; padding: 0 56px; width: 100%; justify-content: center;
}
.banner-icon { font-size: 15px; flex-shrink: 0; animation: bannerPulse 2.5s ease-in-out infinite; }
@keyframes bannerPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }
.banner-text { font-size: 13px; font-weight: 600; letter-spacing: 0.01em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner-cta {
  flex-shrink: 0; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.4);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--r-full); transition: background 0.2s; white-space: nowrap;
}
.banner-cta:hover { background: rgba(255,255,255,0.3); }
.banner-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); border-radius: 50%;
  color: #fff; opacity: 0.7; transition: 0.2s;
}
.banner-close:hover { opacity: 1; background: rgba(255,255,255,0.25); }
.seasonal-banner {
  position: relative; z-index: 1002;
  display: flex; align-items: center; justify-content: center;
  padding: 10px 48px 10px 16px; min-height: 44px;
  font-size: 13px; font-weight: 600; color: #fff;
}
.seasonal-tet      { background: linear-gradient(135deg,#c0392b 0%,#e74c3c 50%,#c0392b 100%); }
.seasonal-mooncake { background: linear-gradient(135deg,#7b3f00 0%,#b8620a 50%,#7b3f00 100%); }
.seasonal-christmas{ background: linear-gradient(135deg,#1a5c1a 0%,#2d8a2d 50%,#1a5c1a 100%); }
.seasonal-holiday  { background: linear-gradient(135deg,#1a3a6b 0%,#2563eb 50%,#1a3a6b 100%); }
@media (max-width:640px) {
  .banner-inner { gap:6px; padding:0 40px 0 12px; justify-content:flex-start; }
  .banner-text  { font-size:11px; }
  .banner-cta   { font-size:10px; padding:4px 10px; }
}


/* ══════════════════════════════════════════
   SCROLL PROGRESS
══════════════════════════════════════════ */
#scrollProgress {
  position: fixed; top: 0; left: 0;
  width: 0%; height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--wheat));
  z-index: 99999; transition: width 0.1s linear;
}
#cursorSpotlight {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(167,102,50,0.04) 0%, transparent 70%);
  transform: translate(-50%,-50%); transition: opacity 0.4s; opacity: 0;
}


/* ══════════════════════════════════════════
   NAVBAR — Light Ivory
══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: calc(2px + var(--banner-h)); left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  overflow: visible;
  background: rgba(247,243,236,0.95);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(56,37,29,0.10);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(247,243,236,0.98);
  border-bottom-color: rgba(56,37,29,0.14);
  box-shadow: 0 4px 24px rgba(56,37,29,0.08);
}
.nav-inner { display: flex; align-items: center; height: var(--nav-h); gap: 32px; }

/* ── Logo ── */
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.logo-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.logo-img {
  height: 144px; max-height: 160px; width: auto;
  object-fit: contain; display: block; flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-brand {
  font-family: var(--f-display);
  font-size: 16px; font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--espresso);
  text-transform: uppercase;
}
.logo-sub {
  font-family: var(--f-display);
  font-size: 10px; font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--graphite-light);
  text-transform: uppercase;
}
.logo-svg-mark svg path,
.logo-svg-mark svg line { transition: none; }

/* ── Nav Links ── */
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
  flex: 1; justify-content: center;
}
/* Hide mobile-only bottom bar on desktop */
.mobile-nav-bottom { display: none; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--f-display);
  font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--graphite-mid);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--copper); background: rgba(167,102,50,0.06); }
.nav-link.active { color: var(--espresso); font-weight: 700; }
.nav-link svg { opacity: 0.5; transition: transform 0.2s; }

/* ── Dropdowns ── */
.nav-dropdown { position: relative; }
.nav-dropdown:hover > .nav-link svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 280px;
  background: #fff;
  border: 1px solid rgba(56,37,29,0.10);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 8px;
  /* invisible top padding bridges the gap so hover doesn't break */
  padding-top: 12px;
  margin-top: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  transform: translateX(-50%) translateY(-6px);
  z-index: 100;
}
/* Bridge gap: extend hover zone above the dropdown */
.nav-dropdown::after {
  content: ''; position: absolute;
  top: 100%; left: -12px; right: -12px; height: 14px;
  display: none;
}
.nav-dropdown:hover::after { display: block; }
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  font-size: 14.5px; font-weight: 500; color: var(--graphite);
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.dropdown-item:hover { background: var(--ivory); color: var(--copper); }
.dropdown-item svg { opacity: 0.5; flex-shrink: 0; }

/* Keep .glass for legacy backward compat — same as dropdown-menu */
.glass {
  background: #fff;
  border: 1px solid rgba(56,37,29,0.10);
  backdrop-filter: none;
}

/* ── Nav Actions ── */
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }

/* Search */
.nav-search-wrap { position: relative; }
.nav-search-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  color: var(--graphite-mid); border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-search-btn:hover { color: var(--copper); background: rgba(167,102,50,0.06); }
.nav-search-bar {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 300px; opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px); transition: 0.2s var(--ease);
  z-index: 200;
}
.nav-search-wrap.open .nav-search-bar,
.nav-search-bar.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.nav-search-form {
  display: flex; align-items: center;
  background: #fff; border: 1px solid rgba(56,37,29,0.14);
  border-radius: var(--r-full); overflow: hidden;
  box-shadow: var(--sh-md); padding: 0 6px 0 18px;
}
.nav-search-input {
  flex: 1; border: none; background: none;
  font-size: 14px; color: var(--graphite); padding: 10px 8px;
  outline: none;
}
.nav-search-input::placeholder { color: var(--graphite-light); }
.nav-search-submit {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  color: var(--copper); border-radius: var(--r-full);
  transition: background 0.2s;
}
.nav-search-submit:hover { background: rgba(167,102,50,0.10); }

/* Language toggle */
.lang-toggle { display: flex; align-items: center; gap: 2px; }
.lang-btn {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.5px;
  padding: 5px 8px; border-radius: var(--r-xs);
  color: var(--graphite-light); transition: color 0.2s;
}
.lang-btn:hover { color: var(--copper); }
.lang-active { color: var(--espresso) !important; }
.lang-sep { color: var(--page-border-2); font-size: 12px; }

/* Wishlist */
.nav-wishlist-btn {
  position: relative; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--graphite-mid); border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-wishlist-btn:hover { color: var(--copper); background: rgba(167,102,50,0.06); }
.wishlist-badge {
  position: absolute; top: 4px; right: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--copper); color: #fff;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* CTA Hotline */
.nav-hotline {
  display: inline-flex; align-items: center;
  padding: 9px 20px;
  background: var(--copper);
  color: #fff;
  font-family: var(--f-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--r-full);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(167,102,50,0.25);
  white-space: nowrap;
}
.nav-hotline:hover {
  background: var(--copper-dim);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(167,102,50,0.35);
}

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px; border-radius: var(--r-sm);
  transition: background 0.2s;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--graphite); border-radius: 2px;
  transition: 0.25s var(--ease);
}
.nav-toggle:hover { background: rgba(56,37,29,0.06); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav redesign ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    /* absolute — avoids Safari backdrop-filter stacking context trap */
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #FDFAF6;
    padding: 0;
    overflow-y: auto;
    gap: 0;
    z-index: 999;
    border-top: 2px solid rgba(167,102,50,0.18);
    box-shadow: 0 16px 48px rgba(56,37,29,0.18);
    animation: mobileNavSlide 0.22s cubic-bezier(0.4,0,0.2,1) both;
  }
  @keyframes mobileNavSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Each list item gets a separator */
  .nav-links.open > li { border-bottom: 1px solid rgba(56,37,29,0.07); }
  .nav-links.open > li:last-child { border-bottom: none; }

  /* Nav link rows */
  .nav-link {
    justify-content: space-between;
    padding: 17px 24px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--espresso);
    border-radius: 0;
    letter-spacing: 0.01em;
    background: transparent;
  }
  .nav-link:hover, .nav-link:focus {
    color: var(--copper);
    background: rgba(167,102,50,0.05);
  }
  .nav-link.active {
    color: var(--copper);
    font-weight: 700;
    background: rgba(167,102,50,0.06);
    border-left: 3px solid var(--copper);
    padding-left: 21px;
  }

  /* Dropdown: collapsed by default, expanded via .mobile-open */
  .nav-dropdown .dropdown-menu {
    position: static; transform: none !important; box-shadow: none;
    border: none; border-radius: 0; padding: 0;
    opacity: 1; visibility: visible; pointer-events: none;
    max-height: 0; overflow: hidden;
    background: rgba(56,37,29,0.032);
    transition: max-height 0.28s cubic-bezier(0.4,0,0.2,1);
  }
  .nav-dropdown.mobile-open .dropdown-menu {
    max-height: 640px; pointer-events: auto;
  }
  .nav-dropdown.mobile-open > .nav-link {
    color: var(--copper);
    background: rgba(167,102,50,0.06);
  }
  .nav-dropdown.mobile-open > .nav-link svg { transform: rotate(180deg) !important; }
  .nav-dropdown > .nav-link svg { transition: transform 0.22s var(--ease); }

  /* Dropdown items — indented rows */
  .nav-dropdown .dropdown-item {
    padding: 14px 24px 14px 42px;
    font-size: 14px; font-weight: 500;
    color: var(--graphite); border-radius: 0;
    border-bottom: 1px solid rgba(56,37,29,0.05);
  }
  .nav-dropdown .dropdown-item:last-child { border-bottom: none; }
  .nav-dropdown .dropdown-item:hover {
    background: rgba(167,102,50,0.07);
    color: var(--copper);
  }
  .nav-dropdown .dropdown-item svg { opacity: 0.55; flex-shrink: 0; }

  /* Hide desktop-only CTA & lang */
  .nav-hotline { display: none; }
  .lang-toggle  { display: none; }

  /* Mobile nav bottom bar */
  .mobile-nav-bottom {
    border-top: 1px solid rgba(56,37,29,0.10) !important;
    background: rgba(56,37,29,0.025);
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px 28px !important;
  }
  .mobile-nav-lang {
    display: flex; align-items: center; gap: 6px;
  }
  .mnl-btn {
    font-size: 12px; font-weight: 700; letter-spacing: 0.8px;
    padding: 6px 10px; border-radius: var(--r-xs);
    color: var(--graphite-light);
    transition: color 0.2s, background 0.2s;
  }
  .mnl-btn:hover { color: var(--copper); }
  .mnl-active { color: var(--espresso) !important; background: rgba(56,37,29,0.07); }
  .mnl-sep { color: rgba(56,37,29,0.25); font-size: 13px; }
  .mobile-nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    background: var(--copper); color: #fff;
    font-size: 13.5px; font-weight: 700;
    border-radius: var(--r-full);
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 12px rgba(167,102,50,0.28);
    text-decoration: none;
  }
  .mobile-nav-cta:hover { background: var(--copper-dim); transform: translateY(-1px); }
  .mobile-nav-cta svg { flex-shrink: 0; }
}

@media (max-width: 640px) {
  :root { --nav-h: 72px; }
  .logo-img { height: 108px; max-height: 120px; }
  /* Search bar: full-width bar below navbar */
  .nav-search-bar {
    position: fixed;
    top: calc(var(--banner-h, 0px) + var(--nav-h, 64px));
    left: 0; right: 0; width: 100%;
    padding: 10px 16px;
    background: var(--ivory);
    border-bottom: 1px solid rgba(56,37,29,0.12);
    box-shadow: 0 6px 20px rgba(56,37,29,0.10);
    border-radius: 0;
    transform: translateY(-8px);
    z-index: 1001;
  }
  .nav-search-wrap.open .nav-search-bar { transform: translateY(0); }
  .nav-search-form { border-radius: var(--r-md); }
  .nav-link { padding: 16px 20px; font-size: 15px; }
  .mobile-nav-bottom { padding: 18px 20px 26px !important; }
}


/* ══════════════════════════════════════════
   MAIN CONTENT OFFSET
══════════════════════════════════════════ */
main {
  padding-top: calc(var(--banner-h) + var(--nav-h) + 2px);
}


/* ══════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════ */
.section { padding: var(--sp-12) 0; }
.section-sm { padding: var(--sp-8) 0; }
.section-lg { padding: var(--sp-16) 0; }
.section-dark {
  background: var(--espresso);
  color: var(--tx-white);
}
.section-espresso {
  background: var(--espresso-deep);
  color: var(--tx-white);
}
.section-copper {
  background: var(--copper);
  color: #fff;
}
.section-ivory { background: var(--ivory); }
.section-warm  { background: var(--ivory-warm); }
.section-light { background: var(--ivory-cool); }

/* Section Header */
.section-header { text-align: center; max-width: 660px; margin: 0 auto var(--sp-8); }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--copper); margin-bottom: 14px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; display: block; width: 28px; height: 1px;
  background: var(--wheat);
}
.section-title {
  font-family: var(--f-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--espresso);
  line-height: 1.18;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--copper); }
.section-title-light { color: var(--tx-white); }
.section-desc {
  font-size: 16.5px; color: var(--graphite-mid); line-height: 1.75;
}
.section-desc-light { color: rgba(255,245,235,0.75); }


/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--f-display);
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  padding: 12px 24px; border-radius: var(--r-full);
  cursor: pointer; transition: all 0.2s var(--ease);
  border: 2px solid transparent; white-space: nowrap;
  text-decoration: none; line-height: 1;
  min-height: 44px; /* touch target — WCAG 2.5.5 */
}
.btn:disabled { opacity: 0.5; pointer-events: none; }

.btn-primary {
  background: var(--copper); color: #fff; border-color: var(--copper);
  box-shadow: 0 3px 14px rgba(167,102,50,0.28);
}
.btn-primary:hover { background: var(--copper-dim); border-color: var(--copper-dim); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(167,102,50,0.35); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--espresso); color: var(--tx-white); border-color: var(--espresso);
}
.btn-secondary:hover { background: var(--espresso-mid); border-color: var(--espresso-mid); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--copper); border-color: var(--copper);
}
.btn-outline:hover { background: var(--copper); color: #fff; transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--graphite-mid); border-color: rgba(56,37,29,0.18);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper); }

.btn-light {
  background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: rgba(255,255,255,0.28); border-color: rgba(255,255,255,0.55); }

.btn-gold {
  background: var(--wheat); color: var(--espresso); border-color: var(--wheat);
  font-weight: 800;
}
.btn-gold:hover { background: var(--wheat-light); border-color: var(--wheat-light); transform: translateY(-1px); }

.btn-sm { padding: 8px 16px; font-size: 12.5px; }
.btn-lg { padding: 15px 32px; font-size: 15px; }
.btn-xl { padding: 18px 40px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* Icon-only button */
.btn-icon {
  width: 40px; height: 40px; padding: 0; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
}


/* ══════════════════════════════════════════
   CARDS
══════════════════════════════════════════ */
.card {
  background: #fff;
  border: 1px solid var(--page-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s;
}
.card:hover {
  box-shadow: var(--sh-card-hover);
  border-color: rgba(167,102,50,0.16);
  transform: translateY(-2px);
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--page-border);
}
.card-title { font-family: var(--f-display); font-size: 15px; font-weight: 700; color: var(--graphite); }
.card-body { padding: 22px; }
.card-footer { padding: 14px 22px; border-top: 1px solid var(--page-border); background: rgba(247,243,236,0.5); }


/* ══════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════ */
.product-card {
  background: #fff;
  border: 1px solid var(--page-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.25s;
  display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--sh-card-hover);
  border-color: rgba(167,102,50,0.20);
  transform: translateY(-4px);
}
.product-card-img {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--ivory);
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-new     { background: var(--copper); color: #fff; }
.badge-hot     { background: #c2410c; color: #fff; }
.badge-sale    { background: var(--green); color: #fff; }
.badge-featured{ background: var(--espresso); color: var(--wheat); }
.product-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card-name {
  font-family: var(--f-display); font-size: 15px; font-weight: 700;
  color: var(--espresso); line-height: 1.35;
}
.product-card-desc { font-size: 13px; color: var(--graphite-light); line-height: 1.6; }
.product-card-price { margin-top: auto; padding-top: 10px; }
.price-current { font-size: 19px; font-weight: 800; color: var(--copper); }
.price-original {
  font-size: 13px; color: var(--graphite-light);
  text-decoration: line-through; margin-left: 6px;
}
.product-card-footer {
  padding: 14px 20px; border-top: 1px solid var(--page-border);
  display: flex; gap: 8px; align-items: center;
}

/* Product card micro-components */
.pc-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.product-card-cat { font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--copper); }
.pc-in-stock { font-size: 10.5px; color: #16a34a; font-weight: 600; }
.pc-model { font-size: 10.5px; color: var(--graphite-light); letter-spacing: 0.5px; font-family: 'Courier New', monospace; }
.pc-cta-label { font-size: 13px; font-weight: 700; color: var(--copper); }
.pc-actions { display: flex; gap: 6px; }
.pc-action-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--r-sm);
  border: 1.5px solid var(--page-border); background: none;
  cursor: pointer; color: var(--graphite-light); transition: all 0.15s;
}
.pc-action-btn:hover { border-color: var(--copper); color: var(--copper); background: rgba(167,102,50,0.05); }
.cmp-add-btn.active { color: var(--copper) !important; border-color: var(--copper) !important; background: rgba(167,102,50,0.08) !important; }
.wishlist-toggle.active svg { fill: var(--copper); stroke: var(--copper); }

/* Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Product page: sidebar + filter UI */
.sidebar-title {
  font-family: var(--f-display); font-size: 13px; font-weight: 700;
  color: var(--espresso); letter-spacing: 0.8px; text-transform: uppercase;
  margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1.5px solid var(--page-border);
}
.filter-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.filter-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--graphite-mid); }
.filter-radio { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 0; }
.filter-radio input[type="radio"] { accent-color: var(--copper); width: 14px; height: 14px; cursor: pointer; flex-shrink: 0; }
.filter-radio span { font-size: 13px; color: var(--graphite); transition: color 0.15s; }
.filter-radio:hover span { color: var(--copper); }
.search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--graphite-light); pointer-events: none; }
#filterForm .search-input-wrap input { padding-left: 34px; }


/* ══════════════════════════════════════════
   HERO — Full-bleed photo
══════════════════════════════════════════ */
.poster-hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
  margin-top: calc(-1 * (var(--banner-h) + var(--nav-h) + 2px));
  padding-top: calc(var(--banner-h) + var(--nav-h) + 2px);
  background-color: var(--espresso);
}
.poster-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--ph-bg);
  background-size: cover; background-position: center;
  z-index: 0;
}
.poster-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(30,16,10,0.88) 0%,
    rgba(42,22,14,0.72) 45%,
    rgba(56,37,29,0.30) 100%
  );
  z-index: 1;
}
.ph-inner {
  position: relative; z-index: 2;
  padding: var(--sp-16) var(--sp-5);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center;
}
.ph-copy { max-width: 620px; }
.ph-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--wheat); margin-bottom: 20px;
}
.ph-badge-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--wheat); animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(213,174,112,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(213,174,112,0); }
}
.ph-title {
  font-family: var(--f-heading);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800; line-height: 1.08;
  color: #fff; margin-bottom: 22px;
}
.ph-title-gold { color: var(--wheat); font-style: italic; }
.ph-desc {
  font-size: clamp(15px, 1.5vw, 17px); color: rgba(255,250,240,0.82);
  line-height: 1.75; margin-bottom: 36px; max-width: 520px;
}
.ph-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ph-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--copper); color: #fff;
  font-family: var(--f-display); font-size: 15px; font-weight: 700;
  padding: 15px 32px; border-radius: var(--r-full);
  box-shadow: 0 4px 20px rgba(167,102,50,0.45);
  transition: all 0.2s;
}
.ph-btn-primary:hover { background: var(--copper-light); transform: translateY(-2px); box-shadow: 0 6px 26px rgba(167,102,50,0.55); }
.ph-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.10); color: rgba(255,250,240,0.90);
  font-family: var(--f-display); font-size: 15px; font-weight: 600;
  padding: 15px 32px; border-radius: var(--r-full);
  border: 1.5px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.ph-btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.45); }

/* Hero Stats bar */
.ph-stats {
  display: flex; gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg); overflow: hidden;
  backdrop-filter: blur(12px);
  margin-top: 44px;
}
.ph-stat {
  flex: 1; padding: 18px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.ph-stat:last-child { border-right: none; }
.ph-stat-num {
  font-family: var(--f-heading); font-size: 28px; font-weight: 700;
  color: var(--wheat); display: block;
}
.ph-stat-label { font-size: 12px; color: rgba(255,250,240,0.65); margin-top: 3px; }

@media (max-width: 900px) {
  .ph-inner { grid-template-columns: 1fr; gap: var(--sp-6); }
  .ph-stats { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ph-inner { padding: var(--sp-10) var(--sp-3); }
  .ph-title { font-size: 36px; }
  .ph-stats { grid-template-columns: 1fr 1fr; }
  .ph-stat { padding: 14px 12px; }
  .ph-stat-num { font-size: 22px; }
}


/* ══════════════════════════════════════════
   SOLUTIONS PATHWAY CARDS
══════════════════════════════════════════ */
.solution-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.solution-card {
  background: #fff; border: 1px solid var(--page-border);
  border-left: 4px solid var(--copper);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 22px 22px 22px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  display: flex; flex-direction: column; gap: 14px;
  transition: all 0.3s var(--ease);
  text-decoration: none; color: inherit;
}
.solution-card:hover {
  box-shadow: 0 6px 24px rgba(56,37,29,0.10);
  transform: translateX(3px);
  border-left-color: var(--espresso);
}
.solution-icon {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: rgba(167,102,50,0.08); display: flex; align-items: center; justify-content: center;
  color: var(--copper); flex-shrink: 0; transition: background 0.2s;
}
.solution-card:hover .solution-icon { background: rgba(167,102,50,0.14); }
.solution-body { flex: 1; min-width: 0; }
.solution-title { font-family: var(--f-display); font-size: 15px; font-weight: 700; color: var(--espresso); margin-bottom: 5px; }
.solution-desc  { font-size: 12.5px; color: var(--graphite-light); line-height: 1.6; margin-bottom: 8px; }
.solution-cta   {
  font-size: 12px; font-weight: 700; color: var(--copper);
  display: flex; align-items: center; gap: 4px;
}
@media (max-width: 768px) { .solution-grid { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════
   HOMEPAGE SOLUTION FEATURE CARDS (v2)
════════════════════════════════════════════ */
.sol-feat-section {
  background: linear-gradient(180deg, var(--espresso-deep) 0%, #180E09 100%);
  color: var(--tx-white);
  position: relative;
  overflow: hidden;
}
.sol-feat-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(167,102,50,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.sol-feat-section .section-eyebrow { color: var(--wheat); }
.sol-feat-section .section-eyebrow::before,
.sol-feat-section .section-eyebrow::after  { background: rgba(213,174,112,0.4); }

.sol-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sol-feat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(213,174,112,0.12);
  border-radius: var(--r-md);
  padding: 32px 26px 28px;
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  position: relative; overflow: hidden;
}
.sol-feat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--wheat));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s ease;
}
.sol-feat-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  border-color: rgba(213,174,112,0.28);
}
.sol-feat-card:hover::before { transform: scaleX(1); }

.sol-feat-num {
  font-family: var(--f-heading); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; color: var(--copper); opacity: 0.75;
}
.sol-feat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(167,102,50,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--wheat);
  transition: background 0.22s;
}
.sol-feat-card:hover .sol-feat-icon { background: rgba(167,102,50,0.30); }

.sol-feat-title {
  font-family: var(--f-display); font-size: 17px; font-weight: 700;
  color: var(--tx-white); line-height: 1.3;
}
.sol-feat-desc {
  font-size: 13.5px; color: rgba(247,243,236,0.58); line-height: 1.75;
  flex: 1;
}
.sol-feat-cta {
  font-size: 12.5px; font-weight: 700; color: var(--copper);
  display: flex; align-items: center; gap: 5px;
  transition: color 0.2s, gap 0.2s; margin-top: 4px;
}
.sol-feat-card:hover .sol-feat-cta { color: var(--wheat); gap: 9px; }

@media (max-width: 1024px) {
  .sol-feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sol-feat-grid { grid-template-columns: 1fr; gap: 14px; }
  .sol-feat-card { padding: 24px 20px; }
}


/* ══════════════════════════════════════════
   PACKAGE SHOWCASE CAROUSEL
════════════════════════════════════════════ */
.pkg-section { background: var(--ivory); }

.pkg-carousel-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(56,37,29,0.18);
}
.pkg-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.pkg-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 460px;
}

/* Left — image + gradient overlay */
.pkg-img-col {
  position: relative;
  overflow: hidden;
  background: var(--espresso-deep);
}
.pkg-img-col img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.pkg-carousel-wrap:hover .pkg-img-col img { transform: scale(1.04); }
.pkg-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(24,14,9,0.92) 0%, rgba(24,14,9,0.45) 55%, transparent 100%);
  padding: 36px 32px 32px;
}
.pkg-overlay-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--wheat); margin-bottom: 8px;
}
.pkg-overlay-title {
  font-family: var(--f-heading);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700; line-height: 1.22;
  color: #fff; margin-bottom: 14px;
}
.pkg-budget-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(167,102,50,0.88);
  border-radius: 24px; padding: 6px 16px;
  font-size: 13px; font-weight: 700; color: #fff;
}

/* Right — package details */
.pkg-info-col {
  background: var(--espresso);
  padding: 44px 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.pkg-tier-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(213,174,112,0.12);
  border: 1px solid rgba(213,174,112,0.28);
  border-radius: 24px; padding: 5px 15px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--wheat); width: fit-content;
  text-transform: uppercase;
}
.pkg-info-title {
  font-family: var(--f-heading);
  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 700; color: #fff; line-height: 1.25;
}
.pkg-info-title em { color: var(--wheat); font-style: italic; }
.pkg-info-desc {
  font-size: 14px; color: rgba(247,243,236,0.60); line-height: 1.78;
}
.pkg-equip-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.pkg-equip-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: rgba(247,243,236,0.78);
}
.pkg-equip-list li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--copper); flex-shrink: 0;
}
.pkg-info-cta {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding-top: 4px;
}
.btn-outline-light {
  background: transparent;
  color: rgba(247,243,236,0.75);
  border: 1.5px solid rgba(247,243,236,0.22);
}
.btn-outline-light:hover {
  color: #fff; border-color: rgba(247,243,236,0.55);
  background: rgba(255,255,255,0.06);
}

/* Nav row */
.pkg-nav-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 20px 2px 0;
}
.pkg-dots { display: flex; gap: 8px; align-items: center; }
.pkg-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: rgba(56,37,29,0.22);
  transition: background 0.22s, transform 0.22s, width 0.22s;
}
.pkg-dot.active {
  background: var(--copper);
  transform: scale(1.3);
  width: 22px; border-radius: 4px;
}
.pkg-arrows { display: flex; gap: 8px; }
.pkg-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(56,37,29,0.16);
  background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--espresso);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pkg-arrow:hover { background: var(--copper); border-color: var(--copper); color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .pkg-slide { grid-template-columns: 1fr; min-height: auto; }
  .pkg-img-col { height: 280px; }
  .pkg-info-col { padding: 32px 28px; gap: 14px; }
}
@media (max-width: 600px) {
  .pkg-img-col { height: 220px; }
  .pkg-info-col { padding: 24px 20px; gap: 12px; }
  .pkg-overlay-title { font-size: 17px; }
  .pkg-info-title { font-size: 18px; }
  .pkg-info-desc { font-size: 13.5px; }
}


/* ══════════════════════════════════════════
   PROCESS STEPS
══════════════════════════════════════════ */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 36px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--wheat), transparent);
}
.process-step {
  text-align: center; padding: 0 20px;
  position: relative; z-index: 1;
}
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--espresso); color: var(--wheat);
  font-family: var(--f-heading); font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(56,37,29,0.25);
  transition: transform 0.25s;
}
.process-step:hover .step-num { transform: scale(1.08); }
.step-title { font-family: var(--f-display); font-size: 14px; font-weight: 700; color: var(--espresso); margin-bottom: 6px; }
.step-desc  { font-size: 12.5px; color: var(--graphite-light); line-height: 1.6; }

@media (max-width: 768px) {
  .process-steps::before { display: none; }
  .process-steps { gap: 24px; }
}


/* ══════════════════════════════════════════
   STATS / NUMBERS
══════════════════════════════════════════ */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}
.stat-item {
  text-align: center; padding: var(--sp-5) var(--sp-4);
  border-right: 1px solid rgba(255,235,210,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--f-heading); font-size: clamp(36px, 4vw, 52px);
  font-weight: 700; color: var(--wheat); display: block; line-height: 1;
}
.stat-label { font-size: 13px; color: rgba(255,245,235,0.65); margin-top: 6px; }
.stat-item.light .stat-num { color: var(--copper); }
.stat-item.light .stat-label { color: var(--graphite-light); }
.stat-item.light { border-right-color: var(--page-border); }


/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonial-card {
  background: #fff; border: 1.5px solid var(--page-border);
  border-radius: var(--r-lg); padding: 28px 30px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.testimonial-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial-star { color: var(--wheat); font-size: 16px; }
.testimonial-text { font-size: 15px; color: var(--graphite-mid); line-height: 1.75; font-style: italic; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ivory-warm); overflow: hidden;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 15px; font-weight: 700; color: var(--espresso);
}
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--espresso); }
.testimonial-role { font-size: 12px; color: var(--graphite-light); }


/* ══════════════════════════════════════════
   VIDEO CARDS
══════════════════════════════════════════ */
.video-card {
  border-radius: var(--r-md); overflow: hidden;
  background: var(--espresso);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.video-thumb {
  position: relative; aspect-ratio: 16/9;
  overflow: hidden; cursor: pointer;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.video-card:hover .video-thumb img { transform: scale(1.04); }
.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30,10,5,0.35); transition: background 0.2s;
}
.video-card:hover .video-play-btn { background: rgba(30,10,5,0.5); }
.video-play-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.video-card:hover .video-play-icon { transform: scale(1.10); box-shadow: 0 6px 28px rgba(0,0,0,0.5); }
.video-play-icon svg { color: var(--copper); margin-left: 3px; }
.video-body { padding: 16px 18px; color: var(--tx-white); }
.video-title { font-family: var(--f-display); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.video-meta  { font-size: 12px; color: rgba(255,245,235,0.55); }


/* ══════════════════════════════════════════
   BLOG CARDS
══════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: #fff; border: 1px solid var(--page-border);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.blog-card:hover { box-shadow: var(--sh-card-hover); transform: translateY(-3px); border-color: rgba(167,102,50,0.18); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--ivory-warm); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.blog-card-cat {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--copper);
}
.blog-card-title { font-family: var(--f-heading); font-size: 17px; font-weight: 700; color: var(--espresso); line-height: 1.3; }
.blog-card-excerpt { font-size: 13.5px; color: var(--graphite-light); line-height: 1.65; }
.blog-card-meta  { margin-top: auto; font-size: 12px; color: var(--graphite-light); display: flex; gap: 12px; }


/* ══════════════════════════════════════════
   FORMS
══════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.form-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 600; color: var(--graphite); }
.form-input, .form-select, .form-textarea {
  padding: 10px 14px;
  background: #fff; color: var(--graphite);
  border: 1.5px solid rgba(56,37,29,0.16);
  border-radius: var(--r-sm);
  font-size: 14px; font-family: var(--f-body);
  outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(167,102,50,0.10);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--graphite-light); }
.form-hint { font-size: 12px; color: var(--graphite-light); }
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; padding: 4px 0;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 16px; height: 16px; flex-shrink: 0;
  accent-color: var(--copper); cursor: pointer;
}
.img-preview {
  display: none; width: 100%; max-height: 140px;
  object-fit: cover; border-radius: var(--r-sm);
  margin-top: 8px; border: 1px solid var(--page-border);
}

/* Alert / message */
.alert {
  padding: 12px 16px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 500;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-success { background: rgba(22,163,74,0.10); color: #15803d; border: 1px solid rgba(22,163,74,0.25); }
.alert-error   { background: rgba(220,38,38,0.08); color: #b91c1c; border: 1px solid rgba(220,38,38,0.20); }
.alert-info    { background: rgba(37,99,235,0.08); color: #1d4ed8; border: 1px solid rgba(37,99,235,0.20); }
.alert-warn    { background: rgba(217,119,6,0.08); color: #b45309; border: 1px solid rgba(217,119,6,0.20); }


/* ══════════════════════════════════════════
   TABS
══════════════════════════════════════════ */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--page-border); margin-bottom: 28px; }
.tab-btn {
  padding: 10px 20px; font-family: var(--f-display); font-size: 13.5px; font-weight: 600;
  color: var(--graphite-light); border-radius: var(--r-sm) var(--r-sm) 0 0;
  border: none; background: none; cursor: pointer;
  transition: color 0.2s, background 0.2s;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.tab-btn:hover { color: var(--copper); }
.tab-btn.active { color: var(--espresso); border-bottom-color: var(--copper); font-weight: 700; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }


/* ══════════════════════════════════════════
   ACCORDION
══════════════════════════════════════════ */
.accordion-item {
  border: 1.5px solid var(--page-border); border-radius: var(--r-sm);
  overflow: hidden; margin-bottom: 8px; background: #fff;
}
.accordion-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; font-family: var(--f-display); font-size: 15px; font-weight: 600;
  color: var(--espresso); background: none; border: none; cursor: pointer;
  text-align: left; transition: background 0.15s;
}
.accordion-btn:hover { background: var(--ivory); }
.accordion-btn svg { flex-shrink: 0; transition: transform 0.25s; color: var(--copper); }
.accordion-btn.open svg { transform: rotate(180deg); }
.accordion-body {
  padding: 0 20px; max-height: 0; overflow: hidden;
  font-size: 14.5px; color: var(--graphite-mid); line-height: 1.72;
  transition: max-height 0.3s var(--ease), padding 0.3s;
}
.accordion-body.open { max-height: 600px; padding: 0 20px 18px; }


/* ══════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 13.5px; font-weight: 600;
  color: var(--graphite-mid); background: #fff;
  border: 1.5px solid var(--page-border); border-radius: var(--r-sm);
  cursor: pointer; transition: all 0.15s;
}
.page-btn:hover { border-color: var(--copper); color: var(--copper); }
.page-btn.active { background: var(--copper); color: #fff; border-color: var(--copper); }
.page-btn:disabled { opacity: 0.4; pointer-events: none; }


/* ══════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════ */
.breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 13px; color: var(--graphite-light); padding: 14px 0;
}
.breadcrumb a { color: var(--copper); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--graphite-light); opacity: 0.5; }


/* ══════════════════════════════════════════
   BADGES & LABELS
══════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-copper { background: rgba(167,102,50,0.12); color: var(--copper-dim); }
.badge-espresso{ background: rgba(56,37,29,0.10); color: var(--espresso); }
.badge-wheat  { background: rgba(213,174,112,0.18); color: var(--wheat-muted); }
.badge-green  { background: rgba(22,163,74,0.10);  color: #15803d; }
.badge-blue   { background: rgba(37,99,235,0.10);  color: #1d4ed8; }


/* ══════════════════════════════════════════
   TOAST / NOTIFICATION
══════════════════════════════════════════ */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 99999; pointer-events: none;
}
.toast {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--espresso); color: var(--tx-white);
  padding: 14px 18px; border-radius: var(--r-md);
  box-shadow: var(--sh-dk-md); min-width: 280px; max-width: 380px;
  font-size: 13.5px; pointer-events: all;
  animation: toastIn 0.3s var(--spring) forwards;
}
.toast.hiding { animation: toastOut 0.25s var(--ease) forwards; }
@keyframes toastIn  { from{ opacity:0; transform:translateX(20px); } to{ opacity:1; transform:none; } }
@keyframes toastOut { from{ opacity:1; transform:none; }            to{ opacity:0; transform:translateX(20px); } }
.toast-success { background: #14532d; border-left: 3px solid var(--green); }
.toast-error   { background: #7f1d1d; border-left: 3px solid #ef4444; }
.toast-info    { background: var(--espresso); border-left: 3px solid var(--wheat); }


/* ══════════════════════════════════════════
   FOOTER — Dark Espresso
══════════════════════════════════════════ */
.footer {
  background: var(--espresso-deep);
  color: rgba(255,245,235,0.80);
  padding-top: var(--sp-12);
  border-top: 3px solid var(--copper);
}
.footer-inner {}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,235,210,0.10);
}
.footer-brand .nav-logo .logo-brand { color: var(--ivory-cool); }
.footer-brand .nav-logo .logo-sub   { color: rgba(255,245,235,0.50); }
.footer-logo-wrap { margin-bottom: 16px; }
.footer-logo-img  { max-height: 56px; max-width: 200px; width: auto; object-fit: contain; display: block; }
.footer-desc {
  font-size: 13.5px; color: rgba(255,245,235,0.65); line-height: 1.72;
  margin-top: 14px; max-width: 300px;
}
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: rgba(255,245,235,0.07); color: rgba(255,245,235,0.65);
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  border: 1px solid rgba(255,235,210,0.10);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-link:hover { background: var(--copper); color: #fff; border-color: var(--copper); }
.footer-title {
  font-family: var(--f-display); font-size: 11px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--wheat); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 13.5px; color: rgba(255,245,235,0.65);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--wheat); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: rgba(255,245,235,0.65);
}
.footer-contact li svg { flex-shrink: 0; margin-top: 2px; color: var(--wheat); opacity: 0.7; }
.footer-contact a:hover { color: var(--wheat); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: rgba(255,245,235,0.45);
}
.footer-bottom .accent { color: var(--wheat); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}


/* ══════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════ */
.page-hero {
  background: var(--espresso-deep);
  padding: 0;
  color: var(--tx-white); text-align: center;
}
.page-hero-title {
  font-family: var(--f-heading);
  font-size: clamp(28px, 4vw, 48px); font-weight: 700;
  color: #fff; margin-bottom: 10px;
}
.page-hero-sub {
  font-size: 16px; color: rgba(255,245,235,0.70);
  max-width: 560px; margin: 0 auto;
}


/* ══════════════════════════════════════════
   PRODUCT DETAIL — detail-* layout
══════════════════════════════════════════ */
.detail-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-8); align-items: start;
}
.detail-img-col { min-width: 0; }
.detail-img-wrap {
  border-radius: var(--r-md); overflow: hidden;
  background: var(--ivory); border: 1px solid var(--page-border); position: relative;
}
.detail-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

/* Gallery thumbnails (also has inline <style> in template as fallback) */
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumb {
  width: 68px; height: 68px; border-radius: 8px; overflow: hidden;
  cursor: pointer; border: 2px solid transparent; opacity: .65; transition: all .18s;
}
.gallery-thumb:hover { opacity: 1; border-color: rgba(255,255,255,.25); }
.gallery-thumb.active { opacity: 1; border-color: var(--copper); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-info { min-width: 0; }
.detail-model-code {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--copper); margin-bottom: 8px;
}
.detail-title {
  font-family: var(--f-heading); font-size: clamp(22px, 3vw, 36px);
  font-weight: 700; color: var(--espresso); line-height: 1.12; margin-bottom: 14px;
}
.detail-rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.stars { display: flex; gap: 2px; }
.rating-value { font-size: 13px; font-weight: 700; color: var(--espresso); }
.rating-count { font-size: 12px; color: var(--graphite-light); }

.detail-price-block {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px;
  margin: 20px 0; padding: 16px 20px;
  background: rgba(167,102,50,.06); border-radius: var(--r-md);
  border-left: 3px solid var(--copper);
}
.detail-price { font-size: 34px; font-weight: 800; color: var(--copper); line-height: 1; }
.detail-original-price { font-size: 18px; color: var(--graphite-light); text-decoration: line-through; }
.detail-saving {
  font-size: 12px; font-weight: 700; color: #16a34a;
  background: rgba(22,163,74,.1); padding: 3px 9px; border-radius: 99px;
}

.detail-specs { padding: 18px 20px; border-radius: var(--r-md); margin-bottom: 20px; }
.specs-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--copper); margin-bottom: 14px;
}
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spec-item { display: flex; flex-direction: column; gap: 3px; }
.spec-label { font-size: 11px; color: var(--graphite-light); }
.spec-value { font-size: 13px; font-weight: 600; color: var(--espresso); }
.spec-instock { color: #16a34a; display: flex; align-items: center; gap: 3px; }

.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.detail-cta-primary { flex: 1; min-width: 180px; }

.detail-guarantees {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 16px 0; border-top: 1px solid var(--page-border);
}
.guarantee-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--graphite-mid); }

.detail-badges { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.chip-new { background: var(--copper); color: #fff; }

/* Detail Tabs */
.detail-tabs { margin-top: var(--sp-8); }
.tabs-header {
  display: flex; border-bottom: 2px solid var(--page-border); margin-bottom: 0;
}
.tabs-header .tab-btn {
  padding: 14px 22px; font-size: 14px; font-weight: 600;
  color: var(--graphite-light); border: none; background: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  cursor: pointer; transition: color .2s, border-color .2s; font-family: inherit;
}
.tabs-header .tab-btn:hover { color: var(--copper); }
.tabs-header .tab-btn.active { color: var(--espresso); border-bottom-color: var(--copper); font-weight: 700; }
.tab-content { display: none; padding: 26px 24px; }
.tab-content.active { display: block; }
.detail-desc { font-size: 15px; line-height: 1.85; color: var(--graphite-mid); white-space: pre-line; }
.features-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--graphite-mid); }
.feature-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(167,102,50,.12); color: var(--copper); flex-shrink: 0; margin-top: 1px;
}

/* Installation specs */
.install-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.install-spec-group {
  padding: 18px 20px; background: rgba(255,255,255,.03);
  border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.06);
}
.install-spec-group-title {
  display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--wheat); margin-bottom: 14px;
}
.install-spec-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.install-spec-row:last-child { border-bottom: none; }
.install-spec-label { font-size: 12px; color: rgba(255,245,235,.55); }
.install-spec-value { font-size: 12px; font-weight: 600; color: rgba(255,245,235,.85); text-align: right; }
.install-spec-contact { color: var(--wheat); font-style: italic; }
.install-spec-cta {
  margin-top: 24px; padding: 18px 20px; background: rgba(167,102,50,.1);
  border-radius: var(--r-md); border: 1px solid rgba(167,102,50,.2);
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between;
}
.install-spec-cta-text { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,245,235,.7); flex: 1; }
.btn-install-spec-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: var(--copper); color: #fff;
  border-radius: var(--r-md); font-size: 13px; font-weight: 700;
  text-decoration: none; white-space: nowrap; transition: background .2s;
}
.btn-install-spec-cta:hover { background: var(--copper-dim); }

/* Related section */
.related-section { margin-top: var(--sp-12); }

/* Mobile sticky CTA */
.detail-sticky-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--espresso); border-top: 1px solid rgba(255,255,255,.1);
  padding: 10px var(--sp-5);
}
.detail-sticky-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.detail-sticky-info { display: flex; flex-direction: column; min-width: 0; }
.detail-sticky-name { font-size: 12px; font-weight: 600; color: rgba(255,245,235,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-sticky-price { font-size: 17px; font-weight: 800; color: var(--wheat); }
.detail-sticky-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-sticky-call {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px;
  background: rgba(255,255,255,.1); color: rgba(255,245,235,.85);
  border-radius: var(--r-md); font-size: 13px; font-weight: 700; text-decoration: none;
}
.btn-sticky-quote {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px;
  background: var(--copper); color: #fff;
  border-radius: var(--r-md); font-size: 13px; font-weight: 700; text-decoration: none;
}

/* Legacy aliases (backward compat) */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: start; }
.product-gallery {}
.product-main-img { border-radius: var(--r-md); overflow: hidden; background: var(--ivory); border: 1px solid var(--page-border); }
.product-main-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-info {}
.product-title { font-family: var(--f-heading); font-size: clamp(22px, 3vw, 34px); font-weight: 700; color: var(--espresso); margin-bottom: 12px; }
.product-price-wrap { display: flex; align-items: baseline; gap: 12px; margin: 18px 0; }
.product-price  { font-size: 30px; font-weight: 800; color: var(--copper); }
.product-price-orig { font-size: 17px; color: var(--graphite-light); text-decoration: line-through; }
.product-badge-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.product-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.product-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--graphite-mid); }
.product-features li::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); flex-shrink: 0; margin-top: 7px; }

@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .detail-guarantees { grid-template-columns: 1fr; }
  .install-specs-grid { grid-template-columns: 1fr; }
  .detail-sticky-bar { display: block; }
  .tabs-header { overflow-x: auto; }
  .tabs-header .tab-btn { white-space: nowrap; padding: 12px 14px; font-size: 13px; }
  .detail-title { font-size: clamp(20px, 6vw, 28px); }
  .detail-price { font-size: 28px; }
}


/* ══════════════════════════════════════════
   SEARCH PAGE
══════════════════════════════════════════ */
.search-hero {
  background: var(--ivory-warm); padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--page-border);
}
.search-form-large {
  display: flex; gap: 12px; max-width: 620px;
}
.search-input-large {
  flex: 1; padding: 14px 20px;
  font-size: 16px; color: var(--graphite);
  background: #fff; border: 1.5px solid var(--page-border);
  border-radius: var(--r-full);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input-large:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(167,102,50,0.10);
}


/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--sp-8); align-items: start; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: rgba(167,102,50,0.10); color: var(--copper);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; color: var(--graphite-light); }
.contact-value { font-size: 15px; font-weight: 600; color: var(--espresso); margin-top: 2px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════ */
.cta-band {
  background: var(--copper);
  padding: var(--sp-8) 0;
  text-align: center;
}
.cta-band-inner {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.cta-band-title {
  font-family: var(--f-heading); font-size: clamp(22px, 3vw, 36px);
  font-weight: 700; color: #fff; line-height: 1.2;
}
.cta-band-desc { font-size: 15.5px; color: rgba(255,255,255,0.82); max-width: 500px; }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ══════════════════════════════════════════
   WISHLIST
══════════════════════════════════════════ */
.wishlist-empty {
  text-align: center; padding: var(--sp-10);
  color: var(--graphite-light);
}
.wishlist-empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }


/* ══════════════════════════════════════════
   GALLERY / LIGHTBOX
══════════════════════════════════════════ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px;
}
.gallery-item {
  border-radius: var(--r-sm); overflow: hidden;
  aspect-ratio: 1; cursor: pointer; background: var(--ivory-warm);
  transition: transform 0.25s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }


/* ══════════════════════════════════════════
   LIGHTBOX OVERLAY
══════════════════════════════════════════ */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 99998;
  background: rgba(26,14,8,0.92); align-items: center; justify-content: center;
  padding: var(--sp-5);
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 90vw; border-radius: var(--r-md); box-shadow: var(--sh-xl); }


/* ══════════════════════════════════════════
   EMPTY STATES
══════════════════════════════════════════ */
.empty-state { text-align: center; padding: var(--sp-10) var(--sp-5); }
.empty-state-icon {
  width: 80px; height: 80px; margin: 0 auto 20px;
  background: var(--ivory-warm); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--graphite-light);
}
.empty-state-title { font-family: var(--f-heading); font-size: 22px; color: var(--espresso); margin-bottom: 8px; }
.empty-state-desc  { font-size: 15px; color: var(--graphite-light); }


/* ══════════════════════════════════════════
   UTILITY
══════════════════════════════════════════ */
.text-copper   { color: var(--copper); }
.text-espresso { color: var(--espresso); }
.text-wheat    { color: var(--wheat); }
.text-muted    { color: var(--graphite-light); }
.text-center   { text-align: center; }
.text-right    { text-align: right; }
.font-heading  { font-family: var(--f-heading); }
.font-display  { font-family: var(--f-display); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.divider { height: 1px; background: var(--page-border); margin: var(--sp-4) 0; }
.divider-dark { height: 1px; background: rgba(255,235,210,0.10); margin: var(--sp-4) 0; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }


/* ══════════════════════════════════════════
   ADMIN — keep working with new tokens
══════════════════════════════════════════ */
/* Admin has its own base.html and style override; these ensure any shared components look right */
.admin-body {
  background: #121212; color: #e8e4df;
  /* Admin uses dark theme — override page defaults */
}

/* ── Shared admin variables mapped to old names ── */
:root {
  --text:   var(--graphite);
  --text-2: var(--graphite-mid);
  --text-3: var(--graphite-light);
  --surface:var(--ivory-cool);
  --border: var(--page-border);
}


/* ══════════════════════════════════════════
   CUSTOM PAGE
══════════════════════════════════════════ */
.custom-page-content {
  max-width: 820px; margin: 0 auto; padding: var(--sp-8) var(--sp-5);
  font-size: 16px; line-height: 1.8; color: var(--graphite-mid);
}
.custom-page-content h2 { font-family: var(--f-heading); font-size: 26px; color: var(--espresso); margin: 32px 0 12px; }
.custom-page-content h3 { font-family: var(--f-heading); font-size: 20px; color: var(--espresso-mid); margin: 24px 0 10px; }
.custom-page-content p  { margin-bottom: 16px; }
.custom-page-content ul, .custom-page-content ol { margin: 12px 0 16px 24px; }
.custom-page-content li { margin-bottom: 6px; }
.custom-page-content img { border-radius: var(--r-md); margin: 24px auto; max-width: 100%; }
.custom-page-content blockquote {
  border-left: 4px solid var(--copper); margin: 24px 0;
  padding: 14px 20px;
  background: var(--ivory-warm); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic; color: var(--espresso-mid);
}


/* ══════════════════════════════════════════
   RESPONSIVE UTILITIES
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 var(--sp-4); }
  .section { padding: var(--sp-8) 0; }
  .section-lg { padding: var(--sp-10) 0; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
  .section-header { margin-bottom: var(--sp-6); }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 var(--sp-3); }
  .section { padding: var(--sp-6) 0; }
  .btn-xl { padding: 14px 24px; font-size: 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,235,210,0.10); padding: var(--sp-4); }
  .stat-item:last-child, .stat-item:nth-child(even) { border-bottom: none; }
  .stats-grid.light .stat-item { border-bottom-color: var(--page-border); }
}


/* ══════════════════════════════════════════
   PAGE HERO STATS BAR (phs-*)
   Used on: solutions, about, products, contact
══════════════════════════════════════════ */
.page-hero-stats {
  position: relative; z-index: 1;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,235,210,0.10);
}
.page-hero-stats-inner {
  display: flex; align-items: center;
  gap: 0; flex-wrap: wrap;
  padding: 14px var(--sp-5);
}
.phs-item {
  display: flex; align-items: center; gap: 10px;
  flex: 1; min-width: 120px;
  padding: 8px 16px;
}
.phs-item svg { color: var(--wheat); flex-shrink: 0; opacity: 0.85; }
.phs-num {
  display: block;
  font-family: var(--f-heading);
  font-size: 17px; font-weight: 700;
  color: var(--wheat); line-height: 1.1;
}
.phs-lbl {
  display: block;
  font-size: 11px; font-weight: 500;
  color: rgba(255,245,235,0.55);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: 1px;
}
.phs-div {
  display: block; width: 1px; height: 32px;
  background: rgba(255,235,210,0.15);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .page-hero-stats-inner { gap: 0; }
  .phs-item { min-width: 90px; padding: 8px 10px; }
  .phs-num { font-size: 15px; }
  .phs-div { height: 24px; }
}

/* ── Product sidebar mobile collapse ── */
@media (max-width: 768px) {
  .product-grid-wrap { flex-direction: column; }
  .product-sidebar { width: 100%; flex-shrink: 1; }
}

/* ── Section copper (semantic bg class) ── */
.section-copper { background: var(--copper); }

/* ══════════════════════════════════════════
   PRINT
══════════════════════════════════════════ */
/* ══════════════════════════════════════════
   PAGE HERO — inner pages (full-bleed variant)
══════════════════════════════════════════ */
.page-hero {
  position: relative;
  background: var(--espresso-deep);
  color: var(--tx-white);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,235,210,0.12);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--ph-bg);
  background-size: cover; background-position: center;
  z-index: 0; opacity: 0.22;
}
.page-hero-body {
  position: relative; z-index: 1;
  padding: 32px 0 20px;
}
/* Simple page-hero without bg image */
.page-hero:not([style*="--ph-bg"]) { background: var(--espresso-deep); }
.page-hero:not([style*="--ph-bg"]) .page-hero-body { padding: 24px 0 16px; }

/* When page-hero has no .page-hero-body, apply padding to container (breadcrumb strip) */
.page-hero > .container {
  position: relative; z-index: 1;
  padding-top: 16px; padding-bottom: 14px;
}

.page-title {
  font-family: var(--f-heading);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700; line-height: 1.12;
  color: #fff; margin-bottom: 12px;
}
.page-title-gold { color: var(--wheat); font-style: italic; }
.page-subtitle {
  font-size: 16px; color: rgba(255,245,235,0.72);
  max-width: 560px; line-height: 1.7;
}

/* ── section-tag (legacy alias → eyebrow) ── */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--copper); margin-bottom: 12px;
}
.section-dark .section-tag,
.section-espresso .section-tag { color: var(--wheat); }


/* ══════════════════════════════════════════
   TAB PILLS / FILTER PILLS
══════════════════════════════════════════ */
.tab-pills {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.pill {
  display: inline-flex; align-items: center;
  padding: 8px 18px;
  font-family: var(--f-display); font-size: 13px; font-weight: 600;
  color: var(--graphite-mid);
  background: #fff; border: 1.5px solid var(--page-border);
  border-radius: var(--r-full);
  cursor: pointer; transition: all 0.2s;
  text-decoration: none; white-space: nowrap;
}
.pill:hover { border-color: var(--copper); color: var(--copper); }
.pill-active, .pill.active {
  background: var(--espresso); color: var(--wheat);
  border-color: var(--espresso);
}
/* Dark-bg pill variant */
.section-dark .pill, .section-espresso .pill {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,235,210,0.15);
  color: rgba(255,245,235,0.75);
}
.section-dark .pill:hover, .section-espresso .pill:hover {
  background: rgba(213,174,112,0.15); color: var(--wheat);
  border-color: var(--wheat);
}
.section-dark .pill-active, .section-dark .pill.active,
.section-espresso .pill-active, .section-espresso .pill.active {
  background: var(--wheat); color: var(--espresso);
  border-color: var(--wheat);
}


/* ══════════════════════════════════════════
   PRODUCT FILTER / SORT BAR
══════════════════════════════════════════ */
.product-filter {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  margin-bottom: var(--sp-5);
}
.filter-btn {
  padding: 7px 16px;
  font-family: var(--f-display); font-size: 12.5px; font-weight: 600;
  color: var(--graphite-mid); background: #fff;
  border: 1.5px solid var(--page-border); border-radius: var(--r-full);
  cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.filter-btn:hover { border-color: var(--copper); color: var(--copper); }
.filter-btn.filter-active, .filter-btn.active {
  background: var(--copper); color: #fff; border-color: var(--copper);
}
.sort-bar {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: var(--sp-4);
}
.sort-bar label { font-size: 13px; color: var(--graphite-light); }
.sort-bar select {
  padding: 7px 12px; font-size: 13px;
  border: 1.5px solid var(--page-border); border-radius: var(--r-sm);
  background: #fff; color: var(--graphite); outline: none;
  cursor: pointer;
}
.product-grid-wrap { display: flex; gap: var(--sp-5); align-items: flex-start; }
.product-sidebar {
  width: 220px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.product-results { flex: 1; min-width: 0; }
.results-count { font-size: 13px; color: var(--graphite-light); margin-bottom: var(--sp-3); }


/* ══════════════════════════════════════════
   ACADEMY / BLOG CARDS (dark-bg versions)
══════════════════════════════════════════ */
.academy-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.academy-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,235,210,0.10);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none; color: inherit;
}
.academy-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(213,174,112,0.25);
  transform: translateY(-3px);
}
.academy-card-img { aspect-ratio: 16/9; overflow: hidden; background: rgba(255,255,255,0.04); }
.academy-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.academy-card:hover .academy-card-img img { transform: scale(1.04); }
.academy-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.academy-card-cat { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--wheat); }
.academy-card-title { font-family: var(--f-heading); font-size: 17px; font-weight: 700; color: var(--tx-white); line-height: 1.3; }
.academy-card-excerpt { font-size: 13.5px; color: rgba(255,245,235,0.60); line-height: 1.65; }
.academy-card-meta { margin-top: auto; font-size: 12px; color: rgba(255,245,235,0.45); display: flex; gap: 12px; }


/* ══════════════════════════════════════════
   BLOG FEATURED POST
══════════════════════════════════════════ */
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,235,210,0.10);
  border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; color: inherit;
  margin-bottom: var(--sp-6);
  transition: background 0.2s, border-color 0.2s;
}
.blog-featured:hover { background: rgba(255,255,255,0.10); border-color: rgba(213,174,112,0.25); }
.blog-featured-img {
  background-size: cover; background-position: center;
  min-height: 300px;
}
.blog-featured-body { padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.blog-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.blog-cat-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--espresso); background: var(--wheat);
  padding: 3px 10px; border-radius: var(--r-full);
}
.blog-featured-title {
  font-family: var(--f-heading); font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700; color: var(--tx-white); line-height: 1.25;
}
.blog-featured-excerpt { font-size: 15px; color: rgba(255,245,235,0.65); line-height: 1.72; }
.blog-featured-read {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14px; color: var(--wheat); margin-top: auto;
}
@media (max-width: 768px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 200px; }
  .blog-featured-body { padding: 20px; }
}

/* Blog featured — light/ivory bg variant */
.blog-featured-light {
  display: grid; grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid rgba(56,37,29,0.10);
  border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; color: inherit;
  margin-bottom: var(--sp-6);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.blog-featured-light:hover {
  background: var(--ivory-cool);
  border-color: rgba(167,102,50,0.25);
  box-shadow: 0 8px 32px rgba(56,37,29,0.08);
}
.blog-featured-light .blog-featured-img {
  background-size: cover; background-position: center; min-height: 280px;
}
.blog-featured-light .blog-featured-body {
  padding: 36px 32px; display: flex; flex-direction: column; gap: 14px;
}
.blog-featured-light .blog-featured-title {
  font-family: var(--f-heading); font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700; color: var(--espresso); line-height: 1.25;
}
.blog-featured-light .blog-featured-excerpt { font-size: 15px; color: var(--graphite-mid); line-height: 1.72; }
@media (max-width: 768px) {
  .blog-featured-light { grid-template-columns: 1fr; }
  .blog-featured-light .blog-featured-img { min-height: 200px; }
  .blog-featured-light .blog-featured-body { padding: 20px; }
}

/* Video grid alias (template uses .videos-grid) */
.videos-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Section title/desc on dark bg */
.section-dark .section-title,
.section-espresso .section-title { color: var(--tx-white); }
.section-dark .section-title em,
.section-espresso .section-title em { color: var(--wheat); }
.section-dark .section-desc,
.section-espresso .section-desc { color: rgba(255,245,235,0.70); }
.section-dark .section-eyebrow,
.section-espresso .section-eyebrow { color: var(--wheat); }

/* Blog cards on dark bg */
.section-dark .blog-card,
.section-espresso .blog-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,235,210,0.10);
}
.section-dark .blog-card:hover,
.section-espresso .blog-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(213,174,112,0.25);
  box-shadow: none;
}
.section-dark .blog-card-title,
.section-espresso .blog-card-title { color: var(--tx-white); }
.section-dark .blog-card-excerpt,
.section-espresso .blog-card-excerpt { color: rgba(255,245,235,0.60); }
.section-dark .blog-card-cat,
.section-espresso .blog-card-cat { color: var(--wheat); }
.section-dark .blog-card-meta,
.section-espresso .blog-card-meta { color: rgba(255,245,235,0.40); }


/* ══════════════════════════════════════════
   SOLUTIONS (public page)
══════════════════════════════════════════ */
.solution-item {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-8); align-items: center;
  padding: var(--sp-8) 0;
  border-bottom: 1px solid rgba(255,235,210,0.10);
}
.solution-item:nth-child(even) { direction: rtl; }
.solution-item:nth-child(even) > * { direction: ltr; }
.solution-item:last-child { border-bottom: none; }
.solution-img {
  border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 4/3; background: rgba(255,255,255,0.05);
}
.solution-img img { width: 100%; height: 100%; object-fit: cover; }
.solution-body { display: flex; flex-direction: column; gap: 16px; }
.solution-num {
  font-family: var(--f-heading); font-size: 56px; font-weight: 700;
  color: rgba(213,174,112,0.20); line-height: 1;
}
.solution-title {
  font-family: var(--f-heading); font-size: clamp(22px, 3vw, 32px);
  font-weight: 700; color: var(--tx-white); line-height: 1.2;
}
.solution-desc { font-size: 15px; color: rgba(255,245,235,0.65); line-height: 1.75; }
.solution-features {
  display: flex; flex-direction: column; gap: 8px;
  list-style: none;
}
.solution-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(255,245,235,0.70);
}
.solution-features li::before {
  content: '';
  display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--wheat); flex-shrink: 0; margin-top: 7px;
}
@media (max-width: 768px) {
  .solution-item { grid-template-columns: 1fr; }
  .solution-item:nth-child(even) { direction: ltr; }
}

/* Video grid */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}


/* ══════════════════════════════════════════
   MISC LEGACY FIX-UPS
══════════════════════════════════════════ */
/* Breadcrumb on dark bg */
.page-hero .breadcrumb a { color: var(--wheat); }
.page-hero .breadcrumb { color: rgba(255,245,235,0.55); padding: 0 0 16px; }
.page-hero .breadcrumb span { color: rgba(255,245,235,0.45); }

/* Glass card on dark bg — keep for blog-featured */
.section-dark .glass, .section-espresso .glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

/* .accent color on dark bg */
.section-dark .accent, .section-espresso .accent { color: var(--wheat); }

/* ── Product detail on dark background ── */
.section-dark .product-category,
.section-espresso .product-category {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--wheat);
  margin-bottom: 8px;
}
.section-dark .detail-title,
.section-espresso .detail-title { color: var(--tx-white); }

.section-dark .rating-value,
.section-espresso .rating-value { color: var(--tx-white); }

.section-dark .rating-count,
.section-espresso .rating-count { color: rgba(255,245,235,0.50); }

.section-dark .spec-value,
.section-espresso .spec-value { color: var(--tx-white); }

.section-dark .spec-label,
.section-espresso .spec-label { color: rgba(255,245,235,0.55); }

.section-dark .detail-guarantees,
.section-espresso .detail-guarantees { border-top-color: rgba(255,235,210,0.15); }

.section-dark .guarantee-item,
.section-espresso .guarantee-item { color: rgba(255,245,235,0.65); }

.section-dark .detail-original-price,
.section-espresso .detail-original-price { color: rgba(255,245,235,0.45); }

.section-dark .detail-tabs .tabs-header,
.section-espresso .detail-tabs .tabs-header { border-bottom-color: rgba(255,235,210,0.18); }

.section-dark .tabs-header .tab-btn,
.section-espresso .tabs-header .tab-btn { color: rgba(255,245,235,0.55); }

.section-dark .tabs-header .tab-btn:hover,
.section-espresso .tabs-header .tab-btn:hover { color: var(--wheat); }

.section-dark .tabs-header .tab-btn.active,
.section-espresso .tabs-header .tab-btn.active {
  color: var(--wheat); border-bottom-color: var(--wheat);
}

.section-dark .detail-desc,
.section-espresso .detail-desc { color: rgba(255,245,235,0.75); }

.section-dark .feature-item,
.section-espresso .feature-item { color: rgba(255,245,235,0.75); }

.section-dark .detail-model-code,
.section-espresso .detail-model-code { color: var(--wheat-light); }

/* Back-to-top dark-bg re-style */
#backToTop {
  background: var(--espresso) !important;
  border-color: rgba(255,235,210,0.15) !important;
  color: var(--wheat) !important;
}
#backToTop:hover {
  background: var(--copper) !important;
  color: #fff !important;
}


/* ══════════════════════════════════════════
   MOBILE REFINEMENTS — v66
══════════════════════════════════════════ */

/* ── Chat widget: prevent window from overflowing on narrow phones ── */
@media (max-width: 480px) {
  #chatWidget {
    right: 14px;
    bottom: 14px;
  }
  #chatWindow {
    width: calc(100vw - 28px) !important;
    max-height: 520px !important;
    border-radius: 14px !important;
  }
}

/* ── Social float: tighter spacing on small screens ── */
@media (max-width: 480px) {
  #socialFloat {
    right: 14px;
    bottom: 88px;
  }
  #socialFloat a > div {
    width: 44px !important;
    height: 44px !important;
  }
}

/* ── Back-to-top: stay clear of chat widget ── */
@media (max-width: 480px) {
  #backToTop {
    left: 12px;
    bottom: 80px;
    width: 38px;
    height: 38px;
  }
}

/* ── Toast: prevent horizontal overflow on narrow screens ── */
@media (max-width: 480px) {
  .toast-container {
    right: 12px;
    left: 12px;
    bottom: 14px;
  }
  .toast {
    min-width: unset;
    max-width: 100%;
  }
}

/* ── Container: extra small phones (320–380px) ── */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
}

/* ── Banner: prevent overflow on tiny screens ── */
@media (max-width: 380px) {
  .banner-text { font-size: 10px; white-space: normal; }
  .banner-cta  { display: none; }
}

/* ── Products grid: force 1 column on very small screens ── */
@media (max-width: 420px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ── Nav: tighten on the smallest screens ── */
@media (max-width: 380px) {
  :root { --nav-h: 64px; }
  .logo-img { height: 88px; max-height: 96px; }
  .nav-inner { gap: 8px; }
}

/* ── Detail sticky bar: safe insets on small screens ── */
@media (max-width: 480px) {
  .detail-sticky-bar { padding: 8px 14px; }
}

/* ══════════════════════════════════════════
   08. CARD-GLASS — shared dark surface card
══════════════════════════════════════════ */
.card-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  transition: background .2s, border-color .2s, transform .2s;
}
.card-glass:hover {
  background: var(--glass-bg-h);
  border-color: var(--glass-border-h);
}

/* ══════════════════════════════════════════
   09. BADGE SYSTEM
══════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--r-full); border: 1px solid; white-space: nowrap;
}
.badge-wheat   { background: rgba(213,174,112,0.12); border-color: rgba(213,174,112,0.28); color: var(--wheat); }
.badge-featured{ background: var(--wheat); border-color: var(--wheat); color: var(--espresso); }
.badge-blue    { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.28); color: #93c5fd; }
.badge-green   { background: rgba(34,197,94,0.10);  border-color: rgba(34,197,94,0.22);  color: #86efac; }
.badge-purple  { background: rgba(168,85,247,0.10); border-color: rgba(168,85,247,0.22); color: #d8b4fe; }
.badge-orange  { background: rgba(251,146,60,0.10); border-color: rgba(251,146,60,0.22); color: #fdba74; }
.badge-red     { background: rgba(239,68,68,0.10);  border-color: rgba(239,68,68,0.22);  color: #fca5a5; }

/* ══════════════════════════════════════════
   MOBILE — safe-area-inset + touch targets
══════════════════════════════════════════ */
/* iOS notch / home bar safe areas */
#chatWidget {
  bottom: max(28px, calc(env(safe-area-inset-bottom, 0px) + 16px));
  right: max(28px, env(safe-area-inset-right, 0px));
}
#socialFloat {
  bottom: max(100px, calc(env(safe-area-inset-bottom, 0px) + 88px));
  right: max(28px, env(safe-area-inset-right, 0px));
}

/* Touch targets — filter tabs, pills, pagination */
.bl-tab, .pill {
  min-height: 44px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.bl-page-btn { min-height: 44px; min-width: 44px; }

/* Chat window — prevent overflow on phones < 420px */
@media (max-width: 420px) {
  #chatWidget { right: 12px; bottom: max(16px, env(safe-area-inset-bottom, 16px)); }
  #chatFab    { width: 48px; height: 48px; }
}

/* sdh (solution detail hero) — tighter mobile padding */
@media (max-width: 480px) {
  .sdh-body { padding: 0 12px 32px; }
  .sdh-card { padding: 20px 16px; }
  .sdh-stats-inner { gap: 0; }
}


@media print {
  .navbar, .footer, .site-banner, .nav-hotline, #scrollProgress, #cursorSpotlight, #socialFloat, #chatWidget { display: none !important; }
  body { background: #fff; color: #000; }
  main { padding-top: 0 !important; }
  .section-dark, .section-espresso { background: #fff; color: #000; }
}
