/* =============================================================
   SHUBH SUPPLIES · v4 · Dark Ayurvedic + Glass + Glow
   ============================================================= */

:root {
  --ff-display: 'Cormorant Garamond', 'Georgia', serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ff-accent: 'Caveat', cursive;

  --radius-xs: 4px; --radius-sm: 8px; --radius: 14px;
  --radius-lg: 22px; --radius-xl: 32px; --radius-full: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 200ms; --t-base: 380ms; --t-slow: 720ms;

  --nav-h: 76px;
  --container-w: 1320px;
}

/* ── DARK THEME (default) ──────────────────────────────────── */
:root,
:root[data-theme="dark"] {
  --bg: #0b1310;
  --bg-soft: #121b16;
  --bg-elev: #1a2620;
  --bg-card: #1d2a23;
  --bg-glass: rgba(26, 38, 32, 0.6);
  --bg-glass-strong: rgba(26, 38, 32, 0.85);

  --text: #f5efe1;
  --text-soft: #d4ccba;
  --text-mute: #8a9286;
  --text-faint: #5d655c;

  --sage: #7a9665;
  --sage-l: #9eb789;
  --sage-d: #5a7547;
  --sage-pale: rgba(122, 150, 101, 0.12);

  --moss: #3f5d3a;
  --moss-d: #2a3f27;

  --gold: #d4ac5e;
  --gold-l: #e8c577;
  --gold-d: #a88840;
  --gold-pale: rgba(212, 172, 94, 0.15);
  --gold-glow: rgba(212, 172, 94, 0.5);

  --terracotta: #d97f56;
  --terracotta-l: #e89971;
  --terracotta-d: #b56a44;

  --cream: #f5efe1;

  --border: rgba(245, 239, 225, 0.08);
  --border-soft: rgba(245, 239, 225, 0.04);
  --border-strong: rgba(212, 172, 94, 0.28);

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(212, 172, 94, 0.18);
  --shadow-glow-strong: 0 0 60px rgba(212, 172, 94, 0.35);

  --grad-hero:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(122, 150, 101, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(212, 172, 94, 0.14), transparent 60%),
    linear-gradient(135deg, #0b1310 0%, #131c17 100%);
  --grad-gold: linear-gradient(135deg, #d4ac5e 0%, #e8c577 50%, #a88840 100%);
  --grad-sage: linear-gradient(135deg, #5a7547 0%, #7a9665 50%, #9eb789 100%);
  --grad-card: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

/* ── LIGHT THEME (toggle) ──────────────────────────────────── */
:root[data-theme="light"] {
  --bg: #f9f3e6;
  --bg-soft: #f1ebd9;
  --bg-elev: #ffffff;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.6);
  --bg-glass-strong: rgba(255, 255, 255, 0.85);

  --text: #2a2620;
  --text-soft: #4a463f;
  --text-mute: #777269;
  --text-faint: #a8a299;

  --sage: #5a7547;
  --sage-l: #7a9665;
  --sage-d: #3f5d3a;
  --sage-pale: rgba(122, 150, 101, 0.12);

  --moss: #3f5d3a;
  --moss-d: #2a3f27;

  --gold: #b8923e;
  --gold-l: #c9a14a;
  --gold-d: #8a6b29;
  --gold-pale: rgba(184, 146, 62, 0.18);
  --gold-glow: rgba(184, 146, 62, 0.4);

  --terracotta: #b85530;
  --terracotta-l: #c46a3a;
  --terracotta-d: #913f1f;

  --cream: #f5efe1;

  --border: rgba(42, 38, 32, 0.1);
  --border-soft: rgba(42, 38, 32, 0.05);
  --border-strong: rgba(184, 85, 48, 0.3);

  --shadow-sm: 0 2px 12px rgba(42, 38, 32, 0.06);
  --shadow: 0 8px 28px rgba(42, 38, 32, 0.1);
  --shadow-lg: 0 18px 48px rgba(42, 38, 32, 0.16);
  --shadow-glow: 0 0 40px rgba(184, 146, 62, 0.18);
  --shadow-glow-strong: 0 0 60px rgba(184, 146, 62, 0.3);

  --grad-hero:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(122, 150, 101, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(184, 85, 48, 0.12), transparent 60%),
    linear-gradient(135deg, #f9f3e6 0%, #f1ebd9 100%);
  --grad-gold: linear-gradient(135deg, #b8923e 0%, #c9a14a 50%, #8a6b29 100%);
  --grad-sage: linear-gradient(135deg, #3f5d3a 0%, #5a7547 50%, #7a9665 100%);
  --grad-card: linear-gradient(145deg, rgba(255,255,255,0.6), rgba(255,255,255,0.3));
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;  /* no flash on tap (mobile) */
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;   /* iOS momentum scroll */
}
body {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  transition: background var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out);
}
/* UI chrome elements — no text selection (cleaner feel) */
header, nav, button, .btn, .nav-link, .logo-wrap, .cart-btn,
.theme-toggle, .hamburger, .mobile-nav, .product-badge,
.section-label, .scroll-indicator, .scroll-progress {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Custom cursor activates via JS; default cursor stays as fallback */

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #1a1a1a; }

/* ── SEAMLESS SCROLL (Apple-style — scroll works, no visual bar) ── */
html {
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE / old Edge */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track { display: none !important; }
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb { display: none !important; }

/* But — for inner scrollable areas (cart panel, admin tables, dropdowns),
   show a thin, subtle bar so users can see them scroll. */
.cart-panel-body, .admin-main, .dropdown-menu, .search-autocomplete,
.mobile-nav, .accordion-body, [data-scrollable] {
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 172, 94, 0.25) transparent;
}
.cart-panel-body::-webkit-scrollbar,
.admin-main::-webkit-scrollbar,
.dropdown-menu::-webkit-scrollbar,
.search-autocomplete::-webkit-scrollbar,
.mobile-nav::-webkit-scrollbar,
.accordion-body::-webkit-scrollbar,
[data-scrollable]::-webkit-scrollbar {
  width: 4px !important;
  height: 4px !important;
  display: block !important;
}
.cart-panel-body::-webkit-scrollbar-track,
.admin-main::-webkit-scrollbar-track,
.dropdown-menu::-webkit-scrollbar-track,
.search-autocomplete::-webkit-scrollbar-track,
.mobile-nav::-webkit-scrollbar-track,
.accordion-body::-webkit-scrollbar-track,
[data-scrollable]::-webkit-scrollbar-track { background: transparent !important; display: block !important; }
.cart-panel-body::-webkit-scrollbar-thumb,
.admin-main::-webkit-scrollbar-thumb,
.dropdown-menu::-webkit-scrollbar-thumb,
.search-autocomplete::-webkit-scrollbar-thumb,
.mobile-nav::-webkit-scrollbar-thumb,
.accordion-body::-webkit-scrollbar-thumb,
[data-scrollable]::-webkit-scrollbar-thumb {
  background: rgba(212, 172, 94, 0.25) !important;
  border-radius: 4px !important;
  border: 0 !important;
  display: block !important;
}
.cart-panel-body::-webkit-scrollbar-thumb:hover,
.admin-main::-webkit-scrollbar-thumb:hover,
.mobile-nav::-webkit-scrollbar-thumb:hover { background: var(--gold) !important; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
p { color: var(--text-soft); }

.accent { color: var(--terracotta); font-style: italic; }

.section-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sage-l); margin-bottom: 1rem;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--sage-l); }
.divider { width: 60px; height: 2px; background: var(--grad-gold); margin: 1.2rem 0; border-radius: 2px; }

/* ── LAYOUT ────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
section { padding: clamp(3rem, 8vw, 6rem) 0; position: relative; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* ── CUSTOM CURSOR ─────────────────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none !important;  /* never intercept clicks — fixes "dead" buttons */
  transform: translate(-50%, -50%);
  z-index: 9999;
  will-change: transform;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transition: width 0.2s, height 0.2s, background 0.2s;
  opacity: 0.85;
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  transition: width 0.35s var(--ease-spring), height 0.35s var(--ease-spring),
              background 0.25s, border-color 0.25s;
  opacity: 0.7;
}
.cursor-ring.hover { width: 64px; height: 64px; background: rgba(217, 127, 86, 0.1); border-color: var(--terracotta); }
.cursor-ring.click { width: 28px; height: 28px; }
.cursor-ring.text {
  width: 4px; height: 28px;
  border-radius: 2px;
  background: var(--gold);
  border-color: transparent;
}
@media (pointer: coarse), (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── PAGE LOADER — main behavior is inline in header.php for reliability ── */
.loader-inner { text-align: center; max-width: 280px; padding: 0 1rem; }
.loader-bar {
  width: 200px;
  max-width: 70vw;
  height: 2px;
  background: rgba(212, 172, 94, 0.15);
  border-radius: 2px;
  margin: 1.5rem auto 1rem;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, transparent, #d4ac5e, transparent);
  animation: loaderShimmer 1.4s ease-in-out infinite;
}
@keyframes loaderShimmer {
  0% { width: 0; margin-left: 0; }
  50% { width: 100%; margin-left: 0; }
  100% { width: 0; margin-left: 100%; }
}
.loader-tagline {
  font-family: var(--ff-display);
  font-style: italic;
  color: #9eb789;
  font-size: 0.95rem;
}

/* ── PAGE TRANSITION OVERLAY ──────────────────────────────── */
.page-transition {
  position: fixed; inset: 0;
  z-index: 9990;
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: bottom;
}
.page-transition::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #0b1310 0%, #1a2620 100%);
}
.page-transition::after {
  content: '🌿';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 4rem;
  filter: drop-shadow(0 0 20px var(--gold-glow));
}
.page-transition.exit { animation: pageExit 0.7s var(--ease-out) forwards; }
.page-transition.enter { animation: pageEnter 0.7s var(--ease-out) forwards; }
@keyframes pageExit {
  0% { transform: scaleY(0); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: bottom; }
}
@keyframes pageEnter {
  0% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* ── GLASS HEADER ──────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: height var(--t-base), background var(--t-base), box-shadow var(--t-base);
  transform: translateZ(0); /* GPU layer to isolate scroll repaints */
  will-change: background;
}
#site-header.scrolled {
  height: 62px;
  background: var(--bg-glass-strong);
  box-shadow: var(--shadow);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.logo-wrap { display: flex; align-items: center; gap: 0.7rem; transition: transform var(--t-base) var(--ease-spring); }
.logo-wrap:hover { transform: scale(1.03); }
.logo-wrap img {
  height: 48px; width: auto;
  /* No filter — display logo as-is so it works on both themes.
     Logo PNG should be designed with transparency so it works on any background. */
  transition: filter var(--t-base);
}
.logo-text-block { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.logo-name { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.logo-sub { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 2px; white-space: nowrap; }

.main-nav { display: flex; gap: 2rem; align-items: center; }
.nav-link {
  position: relative;
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-soft);
  padding: 0.4rem 0; letter-spacing: 0.04em;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width var(--t-base) var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-glass-strong);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem;
  min-width: 220px;
  opacity: 0; visibility: hidden;
  transition: all var(--t-base) var(--ease-spring);
  box-shadow: var(--shadow-lg);
  margin-top: 0.5rem;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-link {
  display: block; padding: 0.7rem 1rem;
  font-size: 0.85rem; border-radius: var(--radius-sm);
  color: var(--text-soft);
  transition: all var(--t-fast);
}
.dropdown-link:hover { background: var(--sage-pale); color: var(--gold); padding-left: 1.3rem; }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--t-base) var(--ease-out);
  position: relative; overflow: hidden;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.7rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 0.85rem; }
.btn-primary {
  background: var(--grad-gold);
  color: #1a1a1a;
  box-shadow: 0 4px 20px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 28px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--gold-pale); border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-soft); border-color: transparent; }
.btn-ghost:hover { color: var(--gold); }
.btn-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border-color: var(--border);
  color: var(--text);
}
.btn-glass:hover { background: var(--bg-glass-strong); border-color: var(--gold); box-shadow: var(--shadow-glow); }
.btn::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s var(--ease-out);
}
.btn:hover::before { left: 100%; }

/* ── THEME TOGGLE ─────────────────────────────────────────── */
.theme-toggle, .cart-btn, .hamburger {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  position: relative;
  cursor: pointer;
  transition: border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.theme-toggle:hover { border-color: var(--gold); box-shadow: var(--shadow-glow); }
.theme-toggle:active { transform: scale(0.92); }
.theme-toggle svg { width: 18px; height: 18px; position: absolute; transition: opacity 0.3s, transform 0.3s; }
/* Light theme = moon visible (click to switch to dark) */
.theme-toggle .ico-sun  { opacity: 0; transform: rotate(90deg) scale(0); color: var(--gold); }
.theme-toggle .ico-moon { opacity: 1; transform: rotate(0) scale(1); color: var(--gold-l); }
/* Dark theme = sun visible (click to switch to light) */
:root[data-theme="dark"] .theme-toggle .ico-sun  { opacity: 1; transform: rotate(0) scale(1); }
:root[data-theme="dark"] .theme-toggle .ico-moon { opacity: 0; transform: rotate(-90deg) scale(0); }

.cart-btn:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.cart-btn svg { width: 18px; height: 18px; color: var(--text-soft); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--terracotta); color: white;
  font-size: 0.65rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 5px;
  border: 2px solid var(--bg);
}

/* ── HAMBURGER ────────────────────────────────────────────── */
.hamburger { display: none; }
.hamburger span {
  position: absolute; left: 50%;
  width: 16px; height: 1.5px;
  background: var(--text);
  transform: translateX(-50%);
  transition: all var(--t-base);
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger.is-open span:nth-child(1) { top: 20px; transform: translateX(-50%) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 20px; transform: translateX(-50%) rotate(-45deg); }
@media (max-width: 960px) {
  .main-nav, .header-actions .btn-outline { display: none; }
  .hamburger { display: grid; }
  /* theme-toggle stays visible on mobile — users want one-tap dark/light switch */
  .logo-sub { display: none; }
}

/* ── MOBILE: compact header ─────────────────────────────────── */
@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  .header-inner { gap: 0.6rem; padding: 0 0.7rem; }
  .logo-wrap { gap: 0.5rem; min-width: 0; flex: 1; overflow: hidden; }
  .logo-wrap img { height: 34px; flex-shrink: 0; }
  .logo-name { font-size: 1rem; line-height: 1.1; }
  .header-actions { gap: 0.35rem; flex-shrink: 0; }
  .cart-btn, .hamburger, .theme-toggle { width: 36px; height: 36px; }
  .theme-toggle svg { width: 14px; height: 14px; }
  .cart-count {
    width: 16px; height: 16px; min-width: 16px;
    font-size: 0.6rem; top: -2px; right: -2px;
  }
}

@media (max-width: 420px) {
  .logo-name { font-size: 0.92rem; }
  .logo-wrap img { height: 30px; }
  .logo-wrap { gap: 0.4rem; }
  .header-inner { gap: 0.4rem; padding: 0 0.55rem; }
  .cart-btn, .hamburger, .theme-toggle { width: 34px; height: 34px; }
}

@media (max-width: 360px) {
  .logo-wrap img { display: none; }   /* if screen super tiny, drop image, keep name */
}

/* ── MOBILE NAV — slide-in sidebar from right ─────────────── */
.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg-elev);
  border-left: 1px solid var(--border-strong);
  z-index: 1199;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease-out);
  padding: calc(var(--nav-h) + 1rem) 0 1.5rem;
  overflow-y: auto;
  visibility: hidden;        /* hidden until opened — no shadow leak */
  pointer-events: none;
}
.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  box-shadow: -16px 0 48px rgba(0,0,0,0.5);   /* shadow only when open */
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 0;
}
.mobile-link {
  display: flex; align-items: center;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 0.95rem 1.6rem;
  border-left: 3px solid transparent;
  transition: all var(--t-fast);
  letter-spacing: 0.02em;
}
.mobile-link:hover, .mobile-link.active {
  color: var(--gold);
  background: var(--gold-pale);
  border-left-color: var(--gold);
  padding-left: 1.8rem;
}
.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 1.6rem;
}
.mobile-nav-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 1.6rem 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
}
.mobile-nav-footer {
  margin-top: auto;
  padding: 1.5rem 1.6rem 0;
  border-top: 1px solid var(--border);
}
.mobile-theme-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  width: 100%;
  border: 0; background: transparent; text-align: left;
}
.mobile-theme-toggle:hover { color: var(--gold); }
.mobile-contact {
  padding: 0 1.6rem;
  font-size: 0.82rem;
  color: var(--text-mute);
  line-height: 1.7;
}
.mobile-contact a { color: var(--text-soft); }
.mobile-contact a:hover { color: var(--gold); }

/* ── SCROLL PROGRESS ──────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--grad-gold);
  z-index: 1001;
  box-shadow: 0 0 8px var(--gold-glow);
}

/* ═══ HERO ═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 4rem;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--grad-hero);
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 18s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; top: -100px; left: -100px; background: rgba(122, 150, 101, 0.28); }
.orb-2 { width: 600px; height: 600px; bottom: -200px; right: -150px; background: rgba(212, 172, 94, 0.2); animation-delay: -6s; }
.orb-3 { width: 400px; height: 400px; top: 30%; right: 20%; background: rgba(217, 127, 86, 0.14); animation-delay: -12s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 0.55rem 1.3rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-glow);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 720px) {
  .hero-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    padding: 0.45rem 1rem;
    margin-bottom: 1.4rem;
  }
}
.hero-eyebrow-line { width: 24px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 8.5vw, 6.5rem);
  line-height: 0.98; font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--terracotta); font-style: italic; font-family: var(--ff-display); }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 56ch; color: var(--text-soft);
  margin-bottom: 3rem; line-height: 1.7;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-big-text {
  position: absolute; bottom: -2vw; right: -2vw;
  font-family: var(--ff-display);
  font-size: clamp(8rem, 22vw, 32rem);
  font-weight: 600;
  color: rgba(245, 239, 225, 0.025);
  line-height: 0.85;
  pointer-events: none; user-select: none;
  letter-spacing: -0.04em;
  z-index: 0;
  overflow: hidden;
  max-width: 100vw;
}
@media (max-width: 720px) {
  .hero-big-text { font-size: clamp(6rem, 28vw, 12rem); bottom: -1vw; right: -4vw; }
}
:root[data-theme="light"] .hero-big-text { color: rgba(42, 38, 32, 0.04); }

.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  z-index: 5;
  pointer-events: none;  /* never block buttons behind it */
}
@media (max-width: 1024px) {
  .scroll-indicator { display: none !important; }  /* hide on tablets+phones */
}
.scroll-mouse {
  width: 20px; height: 32px;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  position: relative;
}
.scroll-mouse::after {
  content: ''; position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 6px;
  background: var(--gold); border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0%, 100% { top: 6px; opacity: 1; } 50% { top: 16px; opacity: 0; } }
.scroll-text { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ── MORPH TEXT (FIXED) ───────────────────────────────────── */
.morph-container {
  display: inline-block;
  position: relative;
  color: var(--gold);
  min-height: 1.1em;
  vertical-align: baseline;
}
.morph-word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), filter 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.morph-word.is-active { opacity: 1; filter: blur(0); transform: translateY(0); }
.morph-word.is-leaving { opacity: 0; filter: blur(8px); transform: translateY(-20px); }

/* ═══ MARQUEE ═══════════════════════════════════════════════ */
.marquee-section {
  background: var(--bg-soft);
  padding: 1.8rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; animation: marquee 50s linear infinite; }
.marquee-item {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 3rem;
}
.marquee-item::after { content: '✦'; color: var(--gold); font-size: 1rem; font-style: normal; margin-left: 3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══ GLASS CARDS ════════════════════════════════════════════ */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-pale), transparent);
}

/* ═══ CATEGORY GRID ════════════════════════════════════════ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.category-grid.single {
  grid-template-columns: minmax(280px, 540px);
  justify-content: center;
}
.category-grid.single .cat-card {
  aspect-ratio: 16 / 11;
}
@media (max-width: 600px) {
  .category-grid.single { grid-template-columns: 1fr; }
  .category-grid.single .cat-card { aspect-ratio: 4 / 5; }
}
.cat-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.cat-card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.cat-card:hover .cat-card-img { transform: scale(1.08); }
.cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 19, 16, 0.95) 0%, rgba(11, 19, 16, 0.4) 50%, transparent 100%);
}
.cat-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; color: var(--cream); z-index: 2; }
.cat-tag { display: inline-block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 0.6rem; }
.cat-title { font-family: var(--ff-display); font-size: 1.8rem; color: var(--cream); margin-bottom: 0.4rem; }
.cat-desc { font-size: 0.88rem; color: rgba(245, 239, 225, 0.75); margin-bottom: 1rem; }
.cat-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  transition: gap var(--t-base);
}
.cat-link:hover { gap: 0.9rem; }

/* ═══ PRODUCT CARDS w/ 3D TILT + Multi-Image ═══════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card:hover { border-color: var(--gold-pale); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.product-card-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-soft);
}
.product-card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.4s var(--ease-out), transform 1s var(--ease-out);
}
.product-card-img.is-fading { opacity: 0.4; }
.product-card:hover .product-card-img { transform: scale(1.06); }

.product-card-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 19, 16, 0.4), transparent 50%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.product-card:hover .product-card-img-wrap::after { opacity: 1; }

.product-img-dots {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 3;
}
.product-img-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(245, 239, 225, 0.4);
  transition: all var(--t-base);
}
.product-img-dot.active {
  background: var(--gold);
  width: 18px;
  border-radius: 3px;
}

.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--terracotta);
  color: white;
  padding: 0.3rem 0.8rem;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.product-badge.new { background: var(--sage); }
.product-badge.bestseller { background: var(--gold); color: #1a1a1a; }
.product-badge.sale { background: var(--terracotta); }
.product-badge.combo { background: var(--moss); }

.wishlist-btn {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  font-size: 1.1rem;
  color: var(--cream);
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all var(--t-base);
}
.wishlist-btn:hover { background: var(--terracotta); transform: scale(1.1); }
.wishlist-btn.active { color: white; background: var(--terracotta); }

.product-card-body { padding: 1.3rem 1.4rem 1.5rem; }
.product-category { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage-l); margin-bottom: 0.55rem; }
.product-name { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 500; margin-bottom: 0.5rem; line-height: 1.3; }
.product-name a { color: var(--text); transition: color var(--t-fast); }
.product-name a:hover { color: var(--gold); }
.product-desc {
  font-size: 0.82rem; color: var(--text-mute);
  line-height: 1.55; margin-bottom: 0.8rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--text-mute); margin-bottom: 0.7rem; }
.product-rating .stars { color: var(--gold); letter-spacing: 1px; }

.product-cpg { font-size: 0.72rem; color: var(--sage-l); font-weight: 600; margin-bottom: 0.6rem; }

.product-footer {
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.8rem; padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.product-price { font-family: var(--ff-display); font-weight: 600; font-size: 1.4rem; color: var(--gold); }
.product-price small { font-family: var(--ff-body); font-weight: 400; font-size: 0.7rem; color: var(--text-mute); }
.product-price .strike { font-size: 0.85rem; color: var(--text-faint); text-decoration: line-through; margin-right: 0.4rem; font-weight: 400; }
/* Round + button inside product cards only */
.product-card .add-cart-btn,
.product-footer .add-cart-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #1a1a1a;
  font-size: 1.3rem; font-weight: 300;
  display: grid; place-items: center;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base);
  box-shadow: 0 4px 16px var(--gold-glow);
  border: 0;
}
.product-card .add-cart-btn:hover,
.product-footer .add-cart-btn:hover {
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 24px var(--gold-glow);
}
/* Main product-page add-to-cart button — full pill, no rotation */
.btn.add-cart-btn {
  width: auto; height: auto;
  border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em;
}
.btn.add-cart-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--gold-glow);
}

/* ═══ STATS / USP ═══════════════════════════════════════════ */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; padding: 3rem 2rem;
  background: var(--grad-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative; overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, var(--sage-pale), transparent 50%);
  pointer-events: none;
}
.stat-item { position: relative; z-index: 1; }
.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1; margin-bottom: 0.4rem;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mute); }

.usp-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.usp-item {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.usp-item:hover { transform: translateY(-6px); border-color: var(--gold-pale); box-shadow: var(--shadow-glow); }
.usp-icon { font-size: 2.6rem; margin-bottom: 1rem; display: inline-block; transition: transform var(--t-base) var(--ease-spring); }
.usp-item:hover .usp-icon { transform: scale(1.2) rotate(-5deg); }
.usp-title { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 500; margin-bottom: 0.5rem; }
.usp-desc { font-size: 0.85rem; color: var(--text-mute); }

/* ═══ ABOUT / FOUNDER ══════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }
.about-img-wrap {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.media-hover-wrap { position: relative; }
.media-hover-btn {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(212, 172, 94, 0.95);
  color: #1a1a1a;
  font-family: var(--ff-display);
  font-size: 0.85rem; font-style: italic;
  transition: transform var(--t-base) var(--ease-spring);
  border: 2px solid rgba(255,255,255,0.3);
}
.media-hover-wrap:hover .media-hover-btn { transform: translate(-50%, -50%) scale(1.1); }

.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 768px) { .founders-grid { grid-template-columns: 1fr; } }
.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base);
}
.founder-card:hover { transform: translateY(-6px); border-color: var(--gold-pale); }
.founder-img { aspect-ratio: 4 / 5; overflow: hidden; }
.founder-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.founder-card:hover .founder-img img { transform: scale(1.05); }
.founder-body { padding: 2rem; }
.founder-role { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }

/* ═══ BLOG ═════════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.blog-card:hover { transform: translateY(-6px); border-color: var(--gold-pale); box-shadow: var(--shadow-glow); }
.blog-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 1.5rem 1.6rem 1.6rem; }
.blog-tag {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  padding: 0.3rem 0.8rem;
  background: var(--gold-pale);
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
}
.blog-title { font-size: 1.3rem; font-weight: 500; margin-bottom: 0.7rem; line-height: 1.3; transition: color var(--t-fast); }
.blog-card:hover .blog-title { color: var(--gold); }
.blog-excerpt {
  font-size: 0.86rem; color: var(--text-mute);
  line-height: 1.6; margin-bottom: 1.2rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--text-mute); padding-top: 0.9rem; border-top: 1px solid var(--border); }
.blog-read-more { color: var(--gold); font-weight: 600; letter-spacing: 0.04em; }

/* ═══ NEWSLETTER ═══════════════════════════════════════════ */
.newsletter-band {
  background: var(--grad-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.newsletter-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, var(--gold-pale), transparent 60%);
  pointer-events: none;
}
.newsletter-form {
  margin-top: 2rem;
  display: flex; gap: 0.6rem;
  max-width: 480px; margin-inline: auto;
  position: relative; z-index: 1;
}
.newsletter-form input {
  flex: 1; padding: 1rem 1.4rem;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  color: var(--text);
  font-size: 0.9rem;
}
.newsletter-form input:focus { border-color: var(--gold); outline: none; }
@media (max-width: 600px) { .newsletter-form { flex-direction: column; } }

/* ═══ FOOTER ═══════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad-gold);
  opacity: 0.5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 3rem; margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img {
  height: 56px; margin-bottom: 1.2rem;
}
.footer-tagline { color: var(--text-mute); font-size: 0.88rem; line-height: 1.7; max-width: 30ch; }
.footer-heading { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 500; color: var(--gold); margin-bottom: 1.2rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { font-size: 0.88rem; color: var(--text-soft); transition: all var(--t-fast); }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact-item { display: flex; gap: 0.8rem; margin-bottom: 1rem; font-size: 0.86rem; color: var(--text-soft); line-height: 1.6; }
.footer-contact-item > span:first-child { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.footer-contact-item a { color: var(--text-soft); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 0.6rem; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-size: 1rem;
  transition: all var(--t-base) var(--ease-spring);
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px) rotate(-8deg); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--text-mute);
  flex-wrap: wrap; gap: 1rem;
}

/* ═══ CART PANEL ═══════════════════════════════════════════ */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0; visibility: hidden;
  transition: all var(--t-base);
}
.overlay.is-open { opacity: 1; visibility: visible; }
.cart-panel {
  position: fixed; top: 0; right: 0;
  width: min(420px, 100vw); height: 100vh;
  background: var(--bg-elev);
  z-index: 1200;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease-out);
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(0,0,0,0.4);
}
.cart-panel.is-open { transform: translateX(0); }
.cart-panel-header {
  padding: 1.6rem;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-close { font-size: 1.3rem; color: var(--text-mute); transition: color var(--t-fast); }
.cart-close:hover { color: var(--gold); }
.cart-panel-body { flex: 1; overflow-y: auto; padding: 1rem 1.6rem; }
.cart-empty { text-align: center; padding: 4rem 1rem; color: var(--text-mute); }
.cart-empty .empty-icon { font-size: 4rem; display: block; margin-bottom: 1rem; }
.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item img { width: 70px; height: 70px; border-radius: var(--radius-sm); object-fit: cover; }
.cart-item h4 { font-family: var(--ff-display); font-size: 1rem; margin-bottom: 0.3rem; }
.cart-item .qty {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 0.4rem;
  background: var(--bg-soft);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}
.cart-item .qty button {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text);
  transition: background var(--t-fast);
}
.cart-item .qty button:hover { background: var(--gold-pale); color: var(--gold); }
.cart-item .remove { color: var(--text-mute); font-size: 0.9rem; }
.cart-item .remove:hover { color: var(--terracotta); }
.cart-panel-footer { padding: 1.6rem; border-top: 1px solid var(--border); background: var(--bg-soft); }
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1.2rem;
  font-family: var(--ff-display);
  font-size: 1.4rem; font-weight: 600;
}
.cart-total span { color: var(--gold); font-size: 1.7rem; }

/* ═══ PAGE HERO ═══════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 4rem;
  position: relative;
  background: var(--grad-hero);
  overflow: hidden;
}
.breadcrumb { display: flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; color: var(--text-mute); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--text-mute); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-faint); }

/* ═══ SHOP ═══════════════════════════════════════════════ */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } }
.filter-sidebar {
  position: sticky; top: calc(var(--nav-h) + 1rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.filter-heading { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 0.8rem; }
.shop-cat-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0.8rem; margin-bottom: 0.3rem;
  font-size: 0.88rem; color: var(--text-soft);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}
.shop-cat-link:hover { background: var(--sage-pale); color: var(--gold); }
.shop-cat-link.active { background: var(--gold-pale); color: var(--gold); font-weight: 600; }
.shop-cat-link .count {
  font-size: 0.72rem; color: var(--text-mute);
  background: var(--bg-soft);
  padding: 0.1rem 0.6rem;
  border-radius: var(--radius-full);
}
.shop-cat-link.active .count { background: var(--gold); color: #1a1a1a; }
.shop-topbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem; padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap; gap: 1rem;
}
.shop-count { font-size: 0.88rem; color: var(--text-mute); }

input[type="search"], input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="url"], select, textarea {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--t-base);
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
input[type="range"] { width: 100%; accent-color: var(--gold); padding: 0; background: transparent; border: 0; }

/* ═══ PRODUCT DETAIL PAGE ═════════════════════════════════ */
.product-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .product-detail-grid { grid-template-columns: 1fr; } }
.product-gallery {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.product-main-img {
  aspect-ratio: 1;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.product-main-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.4s var(--ease-out);
}
.product-main-img img.is-loading { opacity: 0.4; }
.product-thumbs {
  display: flex; gap: 0.6rem; padding: 1rem;
  border-top: 1px solid var(--border);
  overflow-x: auto;
}
.product-thumb {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--t-fast);
}
.product-thumb.active { border-color: var(--gold); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Variant selector */
/* ── Variant dropdown (used on product page) ─────────────── */
.variant-dropdown-wrap {
  position: relative;
  max-width: 360px;
}
.variant-dropdown {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 0.95rem 3rem 0.95rem 1.2rem;
  background: var(--bg-elev);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.variant-dropdown:hover { border-color: var(--gold-pale); }
.variant-dropdown:focus { border-color: var(--gold); background: var(--bg-card); }
.variant-dropdown option {
  background: var(--bg-elev);
  color: var(--text);
  padding: 0.6rem;
}
.variant-dropdown-caret {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.1rem;
  pointer-events: none;
  transition: transform var(--t-fast);
}
.variant-dropdown:focus + .variant-dropdown-caret { transform: translateY(-50%) rotate(180deg); }

/* Big product-detail add-to-cart button */
.product-add-btn {
  flex: 1;
  justify-content: center;
  min-width: 200px;
  padding: 1.1rem 1.6rem;
  font-size: 0.85rem;
}

/* Legacy variant-pill (used elsewhere) */
.variants-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.variant-pill {
  padding: 0.7rem 1.2rem;
  border: 1.5px solid var(--border);
  background: var(--bg-elev);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--t-base);
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem;
  min-width: 100px;
}
.variant-pill:hover { border-color: var(--gold-pale); }
.variant-pill.active { border-color: var(--gold); background: var(--gold-pale); }
.variant-pill .v-size { font-weight: 600; }
.variant-pill .v-price { font-size: 0.75rem; color: var(--text-mute); }
.variant-pill.out-of-stock { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

/* Amazon-style accordion */
.accordion {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item:last-child { border-bottom: 0; }
.acc-trigger {
  width: 100%;
  padding: 1.2rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left;
  font-family: var(--ff-display);
  font-size: 1.1rem; font-weight: 600;
  color: var(--text);
  transition: background var(--t-fast);
}
.acc-trigger:hover { background: var(--sage-pale); }
.acc-trigger .chev { transition: transform var(--t-base); color: var(--gold); }
.acc-item.is-open .acc-trigger .chev { transform: rotate(180deg); }
.acc-content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.acc-item.is-open .acc-content { max-height: 1200px; }
.acc-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9rem; line-height: 1.7;
  color: var(--text-soft);
}
.acc-inner ul { padding-left: 1.2rem; margin: 0.6rem 0; }
.acc-inner li { margin-bottom: 0.4rem; }
.acc-inner table { width: 100%; border-collapse: collapse; }
.acc-inner table td { padding: 0.5rem 0.8rem; border-bottom: 1px solid var(--border); font-size: 0.86rem; }
.acc-inner table td:first-child { font-weight: 600; color: var(--text); width: 40%; }

/* ═══ REVIEWS ═══════════════════════════════════════════════ */
.reviews-summary {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 700px) { .reviews-summary { grid-template-columns: 1fr; } }
.rs-score {
  font-family: var(--ff-display);
  font-size: 3.5rem; font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.rs-stars { color: var(--gold); letter-spacing: 2px; font-size: 1.2rem; margin: 0.4rem 0; }
.rs-count { font-size: 0.85rem; color: var(--text-mute); }
.rs-bars { display: flex; flex-direction: column; gap: 0.5rem; }
.rs-bar-row { display: grid; grid-template-columns: 30px 1fr 40px; gap: 0.8rem; align-items: center; font-size: 0.82rem; }
.rs-bar { height: 8px; background: var(--bg-soft); border-radius: 4px; overflow: hidden; }
.rs-bar-fill { height: 100%; background: var(--grad-gold); border-radius: 4px; }
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.rev-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.8rem; }
.rev-author { font-weight: 600; }
.rev-meta { font-size: 0.75rem; color: var(--text-mute); }
.rev-stars { color: var(--gold); letter-spacing: 1px; font-size: 0.95rem; margin-bottom: 0.4rem; }
.rev-title { font-family: var(--ff-display); font-size: 1.1rem; margin-bottom: 0.5rem; }
.rev-body { font-size: 0.9rem; line-height: 1.65; color: var(--text-soft); }
.rev-verified {
  display: inline-block;
  background: var(--sage-pale);
  color: var(--sage-l);
  padding: 0.1rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem; font-weight: 600;
  margin-left: 0.5rem;
}

/* Star rating input */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 0.3rem; }
.star-input input { display: none; }
.star-input label { font-size: 1.6rem; color: var(--text-faint); cursor: pointer; transition: color var(--t-fast); }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }

/* ═══ FORMS ════════════════════════════════════════════════ */
.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; margin-bottom: 0.4rem;
  color: var(--text-soft);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-box {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.contact-row { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-row .ico {
  width: 40px; height: 40px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-row a { color: var(--text); transition: color var(--t-fast); }
.contact-row a:hover { color: var(--gold); }
.flash {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
}
.flash.ok { background: var(--sage-pale); color: var(--sage-l); border: 1px solid var(--sage); }
.flash.err { background: rgba(217, 127, 86, 0.1); color: var(--terracotta-l); border: 1px solid var(--terracotta); }
.flash.info { background: var(--gold-pale); color: var(--gold); border: 1px solid var(--gold); }

.map-wrap { aspect-ratio: 16 / 7; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: hue-rotate(20deg) saturate(0.9); }

/* ═══ CHECKOUT ═════════════════════════════════════════════ */
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }

.payment-options { display: flex; flex-direction: column; gap: 0.8rem; margin: 1rem 0 1.5rem; }
.payment-option {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.2rem 1.4rem;
  border: 1.5px solid var(--border);
  background: var(--bg-elev);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--t-base);
}
.payment-option:hover { border-color: var(--gold-pale); }
.payment-option.active { border-color: var(--gold); background: var(--gold-pale); }
.payment-option .ico { font-size: 1.8rem; }
.payment-option .label { font-weight: 600; font-size: 0.95rem; }
.payment-option .sub { font-size: 0.78rem; color: var(--text-mute); }
.payment-option input { width: 20px; height: 20px; accent-color: var(--gold); margin-left: auto; }

/* ═══ MAINTENANCE ══════════════════════════════════════════ */
.maintenance-wrap {
  min-height: 100vh;
  display: grid; place-items: center;
  background: var(--grad-hero);
  padding: 2rem;
}
.maintenance-inner { text-align: center; max-width: 560px; }
.maintenance-icon { font-size: 4rem; margin-bottom: 1rem; animation: orbFloat 4s ease-in-out infinite; }

/* ═══ ADMIN PANEL ══════════════════════════════════════════ */
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
@media (max-width: 768px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-side {
  background: linear-gradient(180deg, #0b1310, #1a2620);
  color: var(--cream);
  padding: 2rem 1.5rem;
}
.admin-side h1 { font-family: var(--ff-display); font-size: 1.4rem; color: var(--cream); margin-bottom: 0.4rem; }
.admin-side a {
  display: block; padding: 0.75rem 1rem;
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
  color: rgba(245, 239, 225, 0.7);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}
.admin-side a:hover, .admin-side a.active { background: rgba(212, 172, 94, 0.12); color: var(--gold); }
.admin-main { padding: 2.5rem; background: var(--bg); }
.admin-table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.admin-table th {
  background: var(--bg-soft);
  text-align: left;
  padding: 1rem 1.2rem;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute);
  border-bottom: 1px solid var(--border);
}
.admin-table td { padding: 1rem 1.2rem; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: var(--sage-pale); }
.admin-table .thumb { width: 50px; height: 50px; object-fit: cover; border-radius: var(--radius-sm); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.admin-stat {
  background: var(--bg-card);
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.admin-stat .label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 0.3rem; }
.admin-stat .value { font-family: var(--ff-display); font-size: 2.2rem; font-weight: 600; color: var(--gold); }

.variant-editor { border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 1rem; margin-bottom: 0.8rem; background: var(--bg-soft); position: relative; }
.variant-editor .remove-variant { position: absolute; top: 0.5rem; right: 0.5rem; color: var(--terracotta); font-size: 1.2rem; }
.variant-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 0.8rem; }
@media (max-width: 700px) { .variant-row { grid-template-columns: 1fr 1fr; } }

/* ═══ REVEAL ANIMATIONS (safety: visible by default, animate only when JS attaches .anim) ═══ */
/* Content is ALWAYS visible unless JS explicitly applies .anim, then it opacity:0 until .in */
.anim-reveal, .anim-reveal-left, .anim-reveal-right, .anim-reveal-zoom {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  will-change: opacity, transform;
}
.anim-reveal { transform: translateY(30px); }
.anim-reveal-left { transform: translateX(-40px); }
.anim-reveal-right { transform: translateX(40px); }
.anim-reveal-zoom { transform: scale(0.94); filter: blur(4px); }
.anim-reveal.in, .anim-reveal-left.in, .anim-reveal-right.in, .anim-reveal-zoom.in {
  opacity: 1; transform: none; filter: blur(0);
}

/* Legacy classes — kept visible by default. JS upgrades them to .anim-reveal */
.reveal, .reveal-left, .reveal-right, .reveal-zoom, .stagger > * {
  opacity: 1;  /* visible by default — JS adds animation only if it runs */
}
.stagger.anim > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  will-change: opacity, transform;
}
.stagger.anim.in > * { opacity: 1; transform: none; }
.stagger.anim.in > *:nth-child(1) { transition-delay: 0s; }
.stagger.anim.in > *:nth-child(2) { transition-delay: 0.06s; }
.stagger.anim.in > *:nth-child(3) { transition-delay: 0.12s; }
.stagger.anim.in > *:nth-child(4) { transition-delay: 0.18s; }
.stagger.anim.in > *:nth-child(5) { transition-delay: 0.24s; }
.stagger.anim.in > *:nth-child(6) { transition-delay: 0.30s; }
.stagger.anim.in > *:nth-child(7) { transition-delay: 0.36s; }
.stagger.anim.in > *:nth-child(8) { transition-delay: 0.42s; }

.gsap-title .word { display: inline-block; overflow: hidden; vertical-align: top; }
.gsap-title .word .inner { display: inline-block; }

/* Floating action button (WhatsApp) */
.fab-whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  font-size: 1.8rem;
  z-index: 900;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--t-base) var(--ease-spring);
  animation: fabPulse 2.5s infinite;
}
.fab-whatsapp:hover { transform: scale(1.1); }
@keyframes fabPulse {
  0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.gold { color: var(--gold); }
.sage { color: var(--sage-l); }
.terracotta { color: var(--terracotta-l); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   v4.2 — NEW FEATURES
   ═══════════════════════════════════════════════════════════ */

/* ── Floating WhatsApp button ───────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid; place-items: center;
  font-size: 28px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 900;
  text-decoration: none;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base);
  animation: whatsappPulse 2.6s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.65);
}
.whatsapp-float::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  z-index: -1;
  animation: whatsappRing 2s ease-out infinite;
}
@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes whatsappRing {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 16px; right: 16px;
    width: 52px; height: 52px;
    font-size: 24px;
  }
}

/* ── Free shipping progress bar (in cart) ──────────────── */
.ship-progress {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}
.ship-progress-text {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ship-progress-text strong { color: var(--gold); font-family: var(--ff-display); font-size: 0.95rem; font-weight: 600; }
.ship-progress-track {
  height: 6px;
  background: var(--bg-elev);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.ship-progress-fill {
  height: 100%;
  background: var(--grad-gold);
  border-radius: 6px;
  width: 0%;
  transition: width 0.6s var(--ease-out);
  box-shadow: 0 0 12px var(--gold-glow);
}
.ship-progress.is-unlocked .ship-progress-fill { background: var(--grad-sage); box-shadow: 0 0 12px var(--shadow-glow-sage); }

/* ── Sticky mobile add-to-cart bar (product page) ──────── */
.sticky-buy {
  display: none;
}
@media (max-width: 720px) {
  .sticky-buy {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 800;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-strong);
    padding: 0.7rem 0.9rem;
    gap: 0.7rem;
    align-items: center;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
  }
  .sticky-buy.is-visible { transform: translateY(0); }
  .sticky-buy-price {
    font-family: var(--ff-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
  }
  .sticky-buy-price small {
    display: block;
    font-family: var(--ff-body);
    font-size: 0.7rem;
    color: var(--text-mute);
    font-weight: 400;
    margin-top: 2px;
  }
  .sticky-buy-btn {
    flex: 1;
    padding: 0.85rem;
    background: var(--grad-gold);
    color: #1a1a1a;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
    box-shadow: 0 4px 16px var(--gold-glow);
    text-decoration: none;
    display: flex; align-items: center; justify-content: center;
    border: 0;
  }
  /* Add bottom padding to body on product page to avoid sticky overlap */
  body.has-sticky-buy { padding-bottom: 80px; }
}

/* ── Search autocomplete dropdown ──────────────────────── */
.search-wrap { position: relative; }
.search-results {
  position: absolute;
  top: calc(100% + 6px); left: 0; right: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 420px; overflow-y: auto;
  z-index: 100;
  display: none;
  padding: 0.4rem;
}
.search-results.is-open { display: block; }
.search-result {
  display: flex; gap: 0.8rem; align-items: center;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: background var(--t-fast);
}
.search-result:hover { background: var(--gold-pale); }
.search-result img {
  width: 42px; height: 42px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-name {
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-meta {
  font-size: 0.72rem;
  color: var(--text-mute);
  margin-top: 2px;
}
.search-result-price {
  font-family: var(--ff-display);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}
.search-empty { padding: 1rem; text-align: center; color: var(--text-mute); font-size: 0.85rem; }

/* ── Trust badges row ───────────────────────────────────── */
.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}
.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem;
}
.trust-item-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: grid; place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.trust-item-text strong { display: block; font-size: 0.88rem; color: var(--text); }
.trust-item-text small { color: var(--text-mute); font-size: 0.72rem; }

/* ── Wishlist heart (product card) ─────────────────────── */
.wishlist-heart {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(13, 20, 16, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid; place-items: center;
  font-size: 1.1rem;
  color: rgba(245, 239, 225, 0.8);
  z-index: 3;
  cursor: pointer;
  transition: all var(--t-base) var(--ease-spring);
}
.wishlist-heart:hover { background: var(--terracotta); color: white; transform: scale(1.12); }
.wishlist-heart.is-active { background: var(--terracotta); color: white; }
.wishlist-heart.is-active::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%;
  animation: heartBurst 0.5s ease-out;
}
@keyframes heartBurst {
  0% { box-shadow: 0 0 0 0 rgba(217, 127, 86, 0.6); }
  100% { box-shadow: 0 0 0 16px rgba(217, 127, 86, 0); }
}

/* ── Stock urgency badge ────────────────────────────────── */
.stock-urgent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(217, 127, 86, 0.15);
  color: var(--terracotta-l);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.stock-urgent::before {
  content: '🔥';
  font-size: 0.85rem;
}
.stock-urgent.is-low {
  background: rgba(217, 127, 86, 0.25);
  color: var(--terracotta);
  animation: pulseUrgent 1.8s ease-in-out infinite;
}
@keyframes pulseUrgent {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* ── Recently viewed strip ──────────────────────────────── */
.recently-viewed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.recent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.recent-card:hover { transform: translateY(-3px); border-color: var(--gold-pale); }
.recent-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
}
.recent-card-body { padding: 0.6rem 0.8rem 0.8rem; }
.recent-card-name {
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}
.recent-card-price {
  font-family: var(--ff-display);
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ── Coupon input (checkout) ────────────────────────────── */
.coupon-block {
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin: 1rem 0;
}
.coupon-block-title {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.7rem;
}
.coupon-input-row { display: flex; gap: 0.5rem; }
.coupon-input-row input {
  flex: 1;
  padding: 0.7rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}
.coupon-input-row button {
  padding: 0.7rem 1.2rem;
  background: var(--gold);
  color: #1a1a1a;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.coupon-input-row button:hover { background: var(--gold-l); }
.coupon-applied {
  background: rgba(122, 150, 101, 0.15);
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.88rem;
  color: var(--sage-l);
}
.coupon-applied .remove-coupon {
  background: none; border: 0;
  color: var(--sage-l);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 0.3rem;
}
.coupon-msg { font-size: 0.78rem; margin-top: 0.5rem; }
.coupon-msg.err { color: var(--terracotta-l); }
.coupon-msg.ok { color: var(--sage-l); }

/* ═══ 3D MODEL VIEWER (gems only) ═══════════════════════════ */
.gallery-mode-toggle {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 1rem;
  gap: 4px;
}
.gallery-mode-toggle .mode-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: all var(--t-fast);
}
.gallery-mode-toggle .mode-btn:hover { color: var(--gold); }
.gallery-mode-toggle .mode-btn.active {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 2px 12px var(--gold-glow);
}

.gallery-main { position: relative; }
.gallery-3d-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #1a2620, #0d1410);
}
.gallery-3d-wrap model-viewer {
  width: 100%;
  height: 100%;
  display: block;
}

.ar-btn {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  padding: 0.7rem 1.4rem;
  background: var(--grad-gold);
  color: #1a1a1a;
  border: 0;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px var(--gold-glow);
  cursor: pointer;
  z-index: 5;
}
.ar-btn:hover { transform: translateX(-50%) translateY(-2px); }

.model-progress-bar {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  height: 3px;
  background: rgba(212, 172, 94, 0.2);
  border-radius: 3px;
  overflow: hidden;
}
.model-progress-fill {
  height: 100%;
  background: var(--grad-gold);
  width: 0%;
  transition: width 0.3s var(--ease-out);
}

.model-3d-hint {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(13, 20, 16, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0.85;
  pointer-events: none;
}
@media (max-width: 540px) {
  .model-3d-hint span { display: none; }
  .model-3d-hint::before { content: '🖱 Drag · 🔍 Zoom'; font-size: 0.7rem; }
}

/* 3D model availability badge on shop cards */
.product-badge.model-3d-badge {
  bottom: 12px; top: auto; left: 12px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: white;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.35);
}

/* Loading state shown while model-viewer downloads */
.model-loading-state {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  color: var(--cream);
  background: linear-gradient(135deg, #1a2620, #0d1410);
  border-radius: var(--radius-lg);
}
.model-loading-state p {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--gold-l);
  font-size: 1rem;
}
.model-loading-spinner {
  width: 40px; height: 40px;
  border: 2px solid rgba(212, 172, 94, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hint fades out after 4s */
.model-3d-hint {
  transition: opacity 0.6s ease-out;
}

/* Performance: tell the browser to use GPU compositing for the model wrapper */
.gallery-3d-wrap {
  contain: layout paint;
  will-change: transform;
  transform: translateZ(0);
}
.gallery-3d-wrap model-viewer {
  --poster-color: transparent;
}
