/* ============================================================
   MOJOOD — Master Stylesheet v2
   Light default · Dark switchable · Mobile-first
   Typography: Inter (body) + Fraunces (display)
   ============================================================ */

/* Fonts loaded via <link> tags in HTML for better reliability */

/* ─── CSS Variables — Light Theme (default) ──────────────── */
:root {
  /* Surfaces */
  --bg:           #FAFAF8;
  --bg-2:         #F3F2EE;
  --bg-3:         #ECEAE4;
  --surface:      #FFFFFF;
  --surface-raised:#F8F7F4;
  --border:       rgba(0,0,0,0.09);
  --border-strong:rgba(0,0,0,0.16);

  /* Text */
  --ink:          #0F0E0D;
  --ink-2:        #3A3835;
  --ink-3:        #7A7670;
  --ink-4:        #ABA8A2;

  /* Shortcuts matching old names so page CSS still works */
  --void:         var(--bg);
  --white:        var(--ink);
  --chrome:       var(--ink-3);
  --mid:          var(--ink-4);
  --surface-raised: #F8F7F4;

  /* Accents — unchanged */
  --acid:         #7CB518;   /* calm olive-green in light */
  --acid-text:    #5A8A10;
  --plasma:       #C44B1E;
  --cyan:         #0077A8;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Spacing */
  --gap-xs:  4px;
  --gap-sm:  8px;
  --gap-md:  16px;
  --gap-lg:  24px;
  --gap-xl:  40px;
  --gap-2xl: 64px;
  --gap-3xl: 96px;

  /* Layout */
  --max-w:   1440px;
  --gutter:  40px;

  /* Radii */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.13), 0 4px 12px rgba(0,0,0,.07);

  /* Transitions */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:  0.14s;
  --t-mid:   0.28s;
  --t-slow:  0.55s;

  /* Z-index */
  --z-nav:    100;
  --z-topbar: 101;
  --z-modal:  200;
  --z-drawer: 300;
  --z-toast:  400;
}

/* ─── Dark Theme ─────────────────────────────────────────── */
[data-theme="dark"] {
  --bg:           #0A0A0B;
  --bg-2:         #111113;
  --bg-3:         #1A1A1E;
  --surface:      #141416;
  --surface-raised:#1E1E22;
  --border:       rgba(255,255,255,0.07);
  --border-strong:rgba(255,255,255,0.14);

  --ink:          #F5F4F0;
  --ink-2:        #C8C5BE;
  --ink-3:        #7A7870;
  --ink-4:        #4A4845;

  --void:         var(--bg);
  --white:        var(--ink);
  --chrome:       var(--ink-3);
  --mid:          var(--ink-4);

  --acid:         #D4FF00;
  --acid-text:    #D4FF00;
  --plasma:       #FF4B1F;
  --cyan:         #00C9FF;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,.5);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.7);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.35s, color 0.35s;
}


/* ─── Cursors ────────────────────────────────────────────── */
body { cursor: auto; }
a, button, [role="button"], select, label, .clickable,
.search-toggle, .nav-icon-btn, .hero-dot, .hero-arrow,
.pa-btn, .product-add-btn, .cart-qty-btn, .row-prev, .row-next,
.mobile-menu-btn, .drawer-close, .theme-toggle, .page-btn,
input[type="checkbox"], input[type="radio"], input[type="file"] { cursor: pointer; }
input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="search"], textarea { cursor: text; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { border: none; background: none; font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
ul, ol { list-style: none; }
svg { display: block; }

/* ─── Custom Cursor (Apple-style) ────────────────────────── */
/* Cursor: standard browser defaults */
  a, button, [role="button"], select, label[for], .clickable {
    
  }
  [data-theme="dark"] body {  }
  [data-theme="dark"] a, [data-theme="dark"] button, [data-theme="dark"] [role="button"], [data-theme="dark"] select {
    
  }
}

/* ─── Noise Overlay ──────────────────────────────────────── */
/* noise overlay removed for performance */

/* ─── Page Transition ────────────────────────────────────── */
.page-transition {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--acid), var(--cyan, #7CB518));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 9999;
  transition: transform 0.4s var(--ease-out);
}

.page-transition.loading { transform: scaleX(0.7); }
.page-transition.done { transform: scaleX(1); opacity: 0; transition: transform 0.3s, opacity 0.3s 0.3s; }

/* ─── Progress Bar ───────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--acid);
  z-index: 9997;
  width: 0%;
  transition: width 0.1s linear;
  opacity: 0.6;
}

/* ─── Top Utility Bar ────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-topbar);
  background: var(--ink);
  color: rgba(255,255,255,0.9);
}

[data-theme="dark"] .topbar { background: var(--bg-2); border-bottom: 1px solid var(--border); }

.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 36px;
  gap: var(--gap-md);
}

.topbar-brand {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar-brand span { color: rgba(255,255,255,0.9); }

.topbar-support {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.03em;
}

.topbar-support .dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 5px rgba(74,222,128,0); }
}

.topbar-phone {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast);
}
.topbar-phone:hover { color: rgba(255,255,255,1); }

/* ─── Main Navbar ────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 36px;
  z-index: var(--z-nav);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-mid), box-shadow var(--t-mid);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity var(--t-fast);
}
.nav-logo:hover { opacity: 0.75; }

.logo-mark {
  width: 38px; height: 38px;
  background: var(--ink);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-theme="dark"] .logo-mark { background: var(--acid); }
.logo-mark svg { width: 22px; height: 22px; }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo-text .tagline {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--ink); background: var(--bg-2); }

.nav-link .chevron {
  width: 12px; height: 12px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.nav-item.open > .nav-link .chevron,
.nav-item:focus-within > .nav-link .chevron { transform: rotate(180deg); }

/* ─── Mega Menu — hover bridge fix ──────────────────────── */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 680px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-mid), transform var(--t-mid) var(--ease-out), visibility var(--t-mid);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* Bridge: invisible padding at top so mouse can move from nav-link to menu without gap triggering leave */
  margin-top: 0;
}

/* The bridge — invisible area above menu that keeps hover active */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Keep menu alive while hovering inside it */
.mega-menu:hover { opacity: 1; visibility: visible; pointer-events: all; }

.mega-section-title {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid-text, var(--acid));
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-md);
  color: var(--ink-2);
  font-size: 13px;
  transition: all var(--t-fast);
  margin-bottom: 1px;
}
.mega-item:hover { background: var(--bg-2); color: var(--ink); padding-left: 14px; }

.mega-item-icon {
  width: 30px; height: 30px;
  background: var(--bg-2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}
.mega-item:hover .mega-item-icon { background: var(--bg-3); }

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

/* Search toggle */
.nav-search { position: relative; }
.search-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 13px;
  color: var(--ink-3);
  width: 180px;
  transition: all var(--t-mid);
}
.search-toggle:hover { border-color: var(--border-strong); color: var(--ink); }
.search-toggle span { flex: 1; text-align: left; }
.search-toggle kbd {
  font-family: var(--font-mono);
  font-size: 9px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--ink-4);
}

/* Icon buttons */
.nav-icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}
.nav-icon-btn:hover { background: var(--bg-2); color: var(--ink); }

.badge-count {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  background: var(--plasma);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--surface);
}

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  color: var(--ink-2);
  transition: all var(--t-fast);
}
.theme-toggle:hover { background: var(--bg-2); color: var(--ink); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: var(--r-md);
  margin-left: 4px;
}
.mobile-menu-btn:hover { background: var(--bg-2); }
.mobile-menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-mid) var(--ease-out), opacity var(--t-fast), width var(--t-mid);
}
.mobile-menu-btn span:first-child { width: 20px; }
.mobile-menu-btn span:nth-child(2) { width: 14px; }
.mobile-menu-btn span:last-child { width: 20px; }

.mobile-menu-btn.open span:first-child { transform: translateY(6.5px) rotate(45deg); width: 20px; }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:last-child  { transform: translateY(-6.5px) rotate(-45deg); width: 20px; }

/* ─── Mobile Nav Drawer ──────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
}

.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity var(--t-mid);
}

.mobile-nav-drawer {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(340px, 90vw);
  background: var(--surface);
  transform: translateX(-100%);
  transition: transform var(--t-mid) var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-nav.open {
  pointer-events: all;
}
.mobile-nav.open .mobile-nav-overlay { opacity: 1; }
.mobile-nav.open .mobile-nav-drawer  { transform: translateX(0); }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mobile-nav-close {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  color: var(--ink-2);
}
.mobile-nav-close:hover { background: var(--bg-2); }

.mobile-nav-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 0;
}

.mobile-nav-item {
  display: block;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.mobile-nav-link:hover { background: var(--bg-2); color: var(--ink); }
.mobile-nav-link.active { color: var(--ink); font-weight: 600; }

.mobile-nav-link .mn-chevron {
  width: 16px; height: 16px;
  stroke: currentColor;
  transition: transform var(--t-mid);
  flex-shrink: 0;
}
.mobile-nav-item.open .mn-chevron { transform: rotate(180deg); }

/* Mobile accordion sub-links */
.mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}
.mobile-nav-item.open .mobile-sub { max-height: 600px; }

.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 36px;
  font-size: 14px;
  color: var(--ink-3);
  transition: background var(--t-fast), color var(--t-fast);
}
.mobile-sub-link:hover { background: var(--bg-2); color: var(--ink); }

.mobile-sub-label {
  padding: 8px 20px 4px 36px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 20px;
}

.mobile-nav-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-nav-actions {
  display: flex;
  gap: 8px;
}

.mobile-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: var(--r-md);
  color: #1a9e4e;
  font-size: 13px;
  font-weight: 600;
}
[data-theme="dark"] .mobile-wa-btn { color: #25D366; }

/* ─── Search Modal ───────────────────────────────────────── */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  padding-inline: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-mid), visibility var(--t-mid);
}
.search-modal.open { opacity: 1; visibility: visible; pointer-events: all; }

.search-modal-inner {
  width: 100%;
  max-width: 640px;
  transform: translateY(-12px);
  transition: transform var(--t-mid) var(--ease-out);
}
.search-modal.open .search-modal-inner { transform: translateY(0); }

.search-modal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 14px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-lg);
}

.search-modal-bar svg { color: var(--ink-3); flex-shrink: 0; }

.search-modal-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
}
.search-modal-bar input::placeholder { color: var(--ink-4); }

.search-close {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 3px 8px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

.search-suggestions {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--ink-2);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
}
.search-suggestion-item:last-child { border-bottom: none; }
.search-suggestion-item:hover { background: var(--bg-2); color: var(--ink); }

/* ─── Drawers (Cart / Wishlist) ──────────────────────────── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-mid), visibility var(--t-mid);
}
.drawer-overlay.open { opacity: 1; visibility: visible; pointer-events: all; }

.cart-drawer, .wishlist-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: calc(var(--z-drawer) + 1);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-mid) var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open, .wishlist-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.drawer-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  font-size: 16px;
  color: var(--ink-3);
  transition: all var(--t-fast);
}
.drawer-close:hover { background: var(--bg-2); color: var(--ink); }

.cart-items, .wishlist-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  -webkit-overflow-scrolling: touch;
}

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 56px; height: 56px;
  background: var(--bg-2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  width: 24px; height: 24px;
  background: var(--bg-2);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--ink-2);
  transition: background var(--t-fast);
}
.cart-qty-btn:hover { background: var(--bg-3); }
.cart-qty-num { font-size: 13px; font-weight: 600; color: var(--ink); min-width: 16px; text-align: center; }

.cart-item-price { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cart-item-remove { font-size: 12px; color: var(--ink-4); background: none; border: none; cursor: pointer; display: block; margin-top: 4px; text-align: right; transition: color var(--t-fast); }
.cart-item-remove:hover { color: var(--plasma); }

.cart-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cart-total span:first-child { font-size: 14px; color: var(--ink-2); }
.cart-total span:last-child { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-full);
  transition: all var(--t-mid) var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
[data-theme="dark"] .btn-primary { background: var(--acid); color: #0A0A0B; }
[data-theme="dark"] .btn-primary:hover { background: #e8ff40; box-shadow: 0 6px 24px rgba(212,255,0,0.3); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--ink); transform: translateY(-1px); }

.btn-ghost {
  background: var(--bg-2);
  color: var(--ink-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-3); color: var(--ink); }

.btn-plasma {
  background: var(--plasma);
  color: #fff;
}
.btn-plasma:hover { opacity: 0.9; transform: translateY(-1px); }

/* ─── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-full);
}
.badge-new        { background: #dbeafe; color: #1d4ed8; }
.badge-sale       { background: #fee2e2; color: #dc2626; }
.badge-bestseller { background: #fef9c3; color: #854d0e; }
[data-theme="dark"] .badge-new        { background: rgba(29,78,216,.2); color: #93c5fd; }
[data-theme="dark"] .badge-sale       { background: rgba(220,38,38,.2); color: #fca5a5; }
[data-theme="dark"] .badge-bestseller { background: rgba(133,77,14,.25); color: #fde68a; }

/* ─── Section Utilities ──────────────────────────────────── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acid-text, var(--acid));
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}
.section-header-left { flex: 1; }

/* ─── Scroll Reveal ──────────────────────────────────────── */
/* Reveals only animate when JS has loaded; visible by default */
/* Reveal classes - always visible, simple fade-in on scroll */
.reveal { opacity: 1; transform: none; }
.reveal-delay-1 {}
.reveal-delay-2 {}
.reveal-delay-3 {}
.reveal-delay-4 {}
.reveal-delay-5 {}

/* ─── Hero Slider ─────────────────────────────────────────── */
.hero {
  position: relative;
  height: calc(100svh - 104px);
  min-height: 520px;
  max-height: 860px;
  overflow: hidden;
  background: var(--bg-2);
}

.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.75s var(--ease-out);
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6.5s linear;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }

.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(250,250,248,0.96) 0%, rgba(250,250,248,0.75) 45%, rgba(250,250,248,0.1) 75%, transparent 100%);
}
[data-theme="dark"] .hero-slide-overlay {
  background: linear-gradient(100deg, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0.7) 45%, rgba(10,10,11,0.15) 75%, transparent 100%);
}

.hero-slide-content {
  position: relative; z-index: 2;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid-text, var(--acid));
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) 0.1s, transform var(--t-slow) 0.1s var(--ease-out);
}
.hero-slide.active .hero-eyebrow { opacity: 1; transform: translateY(0); }
.hero-eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 640px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) 0.2s, transform var(--t-slow) 0.2s var(--ease-out);
}
.hero-slide.active .hero-headline { opacity: 1; transform: translateY(0); }
.hero-headline span { color: var(--acid-text, var(--acid)); font-style: italic; }

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-2);
  max-width: 400px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) 0.35s, transform var(--t-slow) 0.35s var(--ease-out);
}
.hero-slide.active .hero-sub { opacity: 1; transform: translateY(0); }

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) 0.5s, transform var(--t-slow) 0.5s var(--ease-out);
}
.hero-slide.active .hero-ctas { opacity: 1; transform: translateY(0); }

/* Hero meta badges */
.hero-meta {
  position: absolute;
  right: var(--gutter);
  bottom: 56px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.hero-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  text-align: right;
  box-shadow: var(--shadow-sm);
}
.hero-badge-label { font-family: var(--font-mono); font-size: 9px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.hero-badge-value { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1; }
.hero-badge-value span { color: var(--acid-text, var(--acid)); }

/* Controls */
.hero-controls {
  position: absolute;
  bottom: 28px;
  left: var(--gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 6px; height: 6px;
  background: var(--border-strong);
  border-radius: var(--r-full);
  transition: all var(--t-mid);
}
.hero-dot.active { width: 24px; background: var(--ink); }
[data-theme="dark"] .hero-dot.active { background: var(--acid); }

.hero-arrows {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-arrow {
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-fast);
}
.hero-arrow:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Ticker */
.hero-ticker {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 38px;
  background: var(--ink);
  overflow: hidden;
  display: flex; align-items: center;
}
[data-theme="dark"] .hero-ticker { background: rgba(255,255,255,0.04); border-top: 1px solid var(--border); }

.hero-ticker-track {
  display: flex; gap: 40px;
  animation: ticker 32s linear infinite;
  white-space: nowrap;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-ticker-item {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-ticker-sep { width: 3px; height: 3px; background: rgba(255,255,255,0.3); border-radius: 50%; }

/* ─── Category Grid ──────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.category-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: all var(--t-mid) var(--ease-out);
  text-decoration: none;
}
.category-card:nth-child(1) { grid-column: span 2; aspect-ratio: auto; min-height: 240px; }
.category-card:nth-child(2) { grid-column: span 2; aspect-ratio: auto; min-height: 240px; }
.category-card:nth-child(3) { grid-column: span 2; aspect-ratio: auto; min-height: 240px; }
.category-card:nth-child(4) { grid-column: span 3; min-height: 200px; aspect-ratio: auto; }
.category-card:nth-child(5) { grid-column: span 3; min-height: 200px; aspect-ratio: auto; }

.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }

.category-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: var(--bg-2);
  transition: transform 0.6s var(--ease-out);
}
.category-card:hover .category-bg { transform: scale(1.04); }

.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.category-card-inner { position: relative; z-index: 1; }
.category-emoji { font-size: 2rem; margin-bottom: 10px; }
.category-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}
.category-count { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.6); letter-spacing: 0.08em; }

.category-arrow {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t-mid), transform var(--t-mid);
}
.category-card:hover .category-arrow { opacity: 1; transform: translateY(0); }

/* ─── Product Cards ──────────────────────────────────────── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-mid) var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }

/* Product image wrapper — supports real images + emoji fallback */
.product-img-wrap {
  position: relative;
  background: var(--bg-2);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img-wrap img.product-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.product-card:hover .product-img-wrap img.product-photo { transform: scale(1.05); }

/* Emoji fallback shown when no image */
.product-emoji {
  font-size: 3.5rem;
  transition: transform 0.4s var(--ease-out);
  position: relative; z-index: 1;
  user-select: none;
}
.product-card:hover .product-emoji { transform: scale(1.08) translateY(-4px); }

/* Hide emoji when real image is present */
.product-img-wrap:has(img.product-photo) .product-emoji { display: none; }

/* Image upload overlay (admin/edit mode) */
.product-img-upload {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity var(--t-mid);
  z-index: 10;
}
.product-img-wrap:hover .product-img-upload { opacity: 1; }
.product-img-upload svg { color: #fff; }
.product-img-upload span { font-size: 12px; font-weight: 500; color: #fff; font-family: var(--font-mono); letter-spacing: 0.08em; }
.product-img-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.product-badges {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.product-actions {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity var(--t-mid), transform var(--t-mid);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }

.pa-btn {
  width: 34px; height: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-fast);
  text-decoration: none;
}
.pa-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-brand {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.product-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color var(--t-fast);
}
.product-name:hover { color: var(--acid-text, var(--acid)); }

.product-rating { display: flex; align-items: center; gap: 6px; }
.stars { color: #f59e0b; font-size: 11px; letter-spacing: 1px; }
.rating-count { font-size: 11px; color: var(--ink-4); }

.product-price-row { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.product-price { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.product-orig  { font-size: 0.875rem; color: var(--ink-4); text-decoration: line-through; }

.product-add-btn {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
  padding: 10px 16px;
  font-size: 13px;
  border-radius: var(--r-md);
}

/* ─── Horizontal Scroll Rows ─────────────────────────────── */
.products-row {
  position: relative;
}

.row-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.row-track::-webkit-scrollbar { display: none; }
.row-track .product-card {
  flex: 0 0 clamp(200px, 22vw, 260px);
  scroll-snap-align: start;
}

.row-prev, .row-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  box-shadow: var(--shadow-md);
  z-index: 5;
  transition: all var(--t-fast);
}
.row-prev { left: -16px; }
.row-next { right: -16px; }
.row-prev:hover, .row-next:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.row-prev svg, .row-next svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

/* ─── Featured Product Band ──────────────────────────────── */
.featured-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
}
[data-theme="dark"] .featured-band { background: var(--surface); border: 1px solid var(--border); }

.featured-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.featured-content { padding: 56px; }
.featured-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
[data-theme="dark"] .featured-eyebrow { color: var(--ink-3); }

.featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}
[data-theme="dark"] .featured-title { color: var(--ink); }

.featured-desc { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 32px; }
[data-theme="dark"] .featured-desc { color: var(--ink-2); }

.featured-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 32px;
}
[data-theme="dark"] .featured-specs { background: var(--border); }

.spec-item {
  background: rgba(255,255,255,0.06);
  padding: 14px 10px;
  text-align: center;
}
[data-theme="dark"] .spec-item { background: var(--bg-2); }

.spec-val { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
[data-theme="dark"] .spec-val { color: var(--ink); }
.spec-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
[data-theme="dark"] .spec-label { color: var(--ink-4); }

.featured-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
[data-theme="dark"] .featured-price { color: var(--ink); }

.featured-visual {
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .featured-visual { background: var(--bg-3); }

.featured-emoji {
  font-size: 9rem;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.15));
  transition: transform 0.5s var(--ease-out);
}
.featured-band:hover .featured-emoji { transform: scale(1.06) translateY(-6px); }

/* ─── Brands Strip ───────────────────────────────────────── */
.brands-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.brands-track {
  display: flex;
  gap: 0;
  animation: brandScroll 28s linear infinite;
}
@keyframes brandScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brands-track:hover { animation-play-state: paused; }

.brand-item {
  flex-shrink: 0;
  padding: 18px 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: color var(--t-fast), background var(--t-fast);
}
.brand-item:hover { color: var(--ink); background: var(--bg-2); }

/* ─── Stats Band ─────────────────────────────────────────── */
.stats-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.stat-item {
  background: var(--bg-2);
  padding: 32px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

/* ─── Reviews ────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: box-shadow var(--t-mid), border-color var(--t-mid);
}
.review-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }

.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.review-meta { font-size: 12px; color: var(--ink-4); }
.review-stars { color: #f59e0b; font-size: 12px; letter-spacing: 1px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* ─── Newsletter / Promo Banner ──────────────────────────── */
.promo-banner {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
[data-theme="dark"] .promo-banner { background: var(--surface); border: 1px solid var(--border); }

.promo-title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; color: #fff; margin-bottom: 8px; }
[data-theme="dark"] .promo-title { color: var(--ink); }
.promo-sub { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.6; }
[data-theme="dark"] .promo-sub { color: var(--ink-2); }

.promo-email-form { display: flex; gap: 10px; }
.promo-email-form input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  padding: 12px 20px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color var(--t-fast);
}
.promo-email-form input::placeholder { color: rgba(255,255,255,0.4); }
.promo-email-form input:focus { border-color: rgba(255,255,255,0.4); }
[data-theme="dark"] .promo-email-form input { background: var(--bg-2); border-color: var(--border); color: var(--ink); }
[data-theme="dark"] .promo-email-form input::placeholder { color: var(--ink-4); }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding-top: 64px;
}
[data-theme="dark"] .footer { background: var(--bg-2); border-top: 1px solid var(--border); }

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
[data-theme="dark"] .footer-grid { border-bottom-color: var(--border); }

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .logo-mark { background: rgba(255,255,255,0.1); }
[data-theme="dark"] .footer-logo .logo-mark { background: var(--acid); }
.footer-logo .name { color: #fff; }
[data-theme="dark"] .footer-logo .name { color: var(--ink); }
.footer-logo .tagline { color: rgba(255,255,255,0.4); }
[data-theme="dark"] .footer-logo .tagline { color: var(--ink-4); }

.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
[data-theme="dark"] .footer-tagline { color: var(--ink-3); }

.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  transition: all var(--t-fast);
}
.social-btn:hover { background: rgba(255,255,255,0.16); color: #fff; }
[data-theme="dark"] .social-btn { background: var(--surface); color: var(--ink-3); }
[data-theme="dark"] .social-btn:hover { background: var(--bg-3); color: var(--ink); }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
[data-theme="dark"] .footer-col-title { color: var(--ink); }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link { font-size: 13px; color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.footer-link:hover { color: rgba(255,255,255,0.9); }
[data-theme="dark"] .footer-link { color: var(--ink-3); }
[data-theme="dark"] .footer-link:hover { color: var(--ink); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; stroke: rgba(255,255,255,0.4); }
.footer-contact-item a { color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.footer-contact-item a:hover { color: rgba(255,255,255,0.9); }
[data-theme="dark"] .footer-contact-item { color: var(--ink-3); }
[data-theme="dark"] .footer-contact-item svg { stroke: var(--ink-4); }
[data-theme="dark"] .footer-contact-item a { color: var(--ink-3); }
[data-theme="dark"] .footer-contact-item a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copyright { font-size: 12px; color: rgba(255,255,255,0.3); }
[data-theme="dark"] .footer-copyright { color: var(--ink-4); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.3); transition: color var(--t-fast); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .footer-legal a { color: var(--ink-4); }
[data-theme="dark"] .footer-legal a:hover { color: var(--ink-3); }

/* ─── Toast ──────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}

.toast {
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: all;
  animation: toastIn 0.3s var(--ease-out);
}
[data-theme="dark"] .toast { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }

@keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
.toast.out { animation: toastOut 0.3s var(--ease-out) forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(0.96); } }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  :root { --gutter: 28px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .category-card:nth-child(n) { grid-column: span 1; min-height: 200px; }
  .featured-specs { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .nav-links { gap: 0; }
  .search-toggle { width: 140px; }
  .mega-menu { min-width: 560px; grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-band-inner { grid-template-columns: 1fr; }
  .featured-visual { min-height: 280px; }
  .promo-banner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; }

  /* Nav */
  .nav-links, .nav-search, .theme-toggle { display: none; }
  .mobile-menu-btn { display: flex; }
  .navbar-inner { gap: 8px; }
  .search-toggle { display: none; }

  /* Mobile: show wishlist + cart icons only */
  .nav-actions .nav-search { display: none; }
  .nav-actions .nav-icon-btn { display: flex; }

  /* Hero */
  .hero { height: calc(100svh - 88px); }
  .hero-meta { display: none; }
  .hero-arrows { display: none; }
  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: 14px; }
  .hero-ctas .btn { padding: 11px 20px; font-size: 13px; }

  /* Category */
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .category-card:nth-child(n) { grid-column: span 1; min-height: 160px; }

  /* Products */
  .row-track .product-card { flex: 0 0 72vw; max-width: 280px; }
  .row-prev, .row-next { display: none; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

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

  /* Drawers */
  .cart-drawer, .wishlist-drawer { width: 100%; }

  /* Topbar */
  .topbar-brand { display: none; }
  .topbar-inner { grid-template-columns: 1fr auto; }
}

@media (max-width: 480px) {
  .topbar-inner { grid-template-columns: 1fr; justify-items: center; }
  .topbar-support { display: none; }
  .category-grid { grid-template-columns: 1fr; }
  .row-track .product-card { flex: 0 0 85vw; }
  .promo-banner { padding: 28px 20px; }
  .promo-email-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── Legacy card class compatibility (index.html) ──────── */
.scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
  position: relative;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row .product-card {
  flex: 0 0 clamp(200px, 22vw, 260px);
  scroll-snap-align: start;
}

.product-card-media {
  position: relative;
  background: var(--bg-2);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-media > div:first-child { width: 100%; height: 100%; }
.product-card-media:hover > div:first-child { transform: scale(1.04); transition: transform 0.5s var(--ease-out); }

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

.badge-best     { background: #fef9c3; color: #854d0e; }
.badge-hot      { background: #fee2e2; color: #dc2626; }
.badge-new      { background: #dbeafe; color: #1d4ed8; }
.badge-sale     { background: #fee2e2; color: #dc2626; }
[data-theme="dark"] .badge-best { background: rgba(133,77,14,.25); color: #fde68a; }
[data-theme="dark"] .badge-hot  { background: rgba(220,38,38,.2); color: #fca5a5; }
[data-theme="dark"] .badge-new  { background: rgba(29,78,216,.2); color: #93c5fd; }
[data-theme="dark"] .badge-sale { background: rgba(220,38,38,.2); color: #fca5a5; }

.product-card-actions {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(6px);
  transition: opacity var(--t-mid), transform var(--t-mid);
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }

.product-action-btn {
  width: 34px; height: 34px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); box-shadow: var(--shadow-sm);
  transition: all var(--t-fast); text-decoration: none;
}
.product-action-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Upload overlay on legacy cards */
.product-card-media .img-upload-overlay {
  position: absolute; inset: 0; z-index: 5;
  background: rgba(0,0,0,0.5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; transition: opacity var(--t-mid);
}
.product-card-media:hover .img-upload-overlay { opacity: 1; }
.product-card-media .img-upload-overlay input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.product-card-media .img-upload-overlay svg { color: #fff; }
.product-card-media .img-upload-overlay span { font-size: 11px; color: #fff; font-weight: 500; font-family: var(--font-mono); letter-spacing: .06em; }

.product-card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.product-brand { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); font-weight: 700; }
.product-name  { font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.product-specs { display: flex; gap: 5px; flex-wrap: wrap; }
.product-spec  { font-family: var(--font-mono); font-size: 9px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 4px; padding: 2px 7px; color: var(--ink-3); }

.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.product-pricing { display: flex; align-items: baseline; gap: 6px; }
.product-price     { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); }
.product-price-old { font-size: .8rem; color: var(--ink-4); text-decoration: line-through; }
.star { width: 11px; height: 11px; fill: #f59e0b; display: inline-block; }
.star.empty { fill: var(--bg-3); }
.stars { display: flex; gap: 2px; align-items: center; }
.product-rating { display: flex; align-items: center; gap: 6px; }

.add-to-cart {
  width: 36px; height: 36px;
  background: var(--ink); color: var(--bg);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all var(--t-fast);
}
.add-to-cart:hover { background: var(--ink-2); transform: scale(1.06); }
[data-theme="dark"] .add-to-cart { background: var(--acid); color: #0A0A0B; }

/* section / scroll-row wrappers */
.section-header-v1 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.view-all { font-size: 13px; font-weight: 500; color: var(--ink-2); display: flex; align-items: center; gap: 4px; transition: color .15s; }
.view-all:hover { color: var(--ink); }
