/* ============================================================
   Proto41 — Design System (light / warm ivory + soft clay)
   Typography: Archivo (display) · Inter (body) · Space Grotesk (data)
   ============================================================ */

/* ── Structural tokens (theme-independent) ───────────────── */
:root {
  --f-display: 'Archivo', 'Inter', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;
  --f-data:    'Space Grotesk', 'DM Mono', monospace;

  --max-w:        1240px;
  --max-w-narrow: 720px;
  --pad-x:        clamp(1.25rem, 4vw, 3rem);
  --section-y:    clamp(4rem, 8vw, 6.5rem);

  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-full: 9999px;

  --t-fast: 150ms cubic-bezier(.4,0,.2,1);
  --t-base: 260ms cubic-bezier(.4,0,.2,1);
  --t-slow: 420ms cubic-bezier(.4,0,.2,1);

  --z-bar:   100;
  --z-nav:   200;
  --z-cart:  300;
  --z-toast: 400;

  --bar-h: 40px;
  --nav-h: 72px;
}

/* ============================================================
   COLOR THEMES — each theme is one self-contained block of
   variables. To add a theme: copy a block, rename the selector,
   add the value to the switcher in header.php + lang strings.
   `--c-white` stays literally white everywhere (text on accent).
   ============================================================ */

/* ── Theme: Ivory (light, default) ───────────────────────── */
:root,
[data-theme="light"] {
  --c-bg:          #FBFAF7;
  --c-surface:     #F3EFE9;
  --c-surface-2:   #EBE5DB;
  --c-card:        #FFFFFF;
  --c-ink:         #2B2926;
  --c-ink-soft:    #4A453F;
  --c-muted:       #7C736A;
  --c-border:      #E6E0D7;
  --c-border-2:    #DAD2C6;
  --c-accent:      #C06E52;
  --c-accent-hover:#A85B41;
  --c-accent-soft: #F0DDD5;
  --c-white:       #FFFFFF;
  --c-success:     #4E7A5A;
  --c-error:       #B5493B;
  --shadow-sm: 0 1px 2px rgba(43,41,38,.04), 0 2px 8px rgba(43,41,38,.05);
  --shadow-md: 0 8px 30px rgba(43,41,38,.08);
  color-scheme: light;
}

/* ── Theme: Espresso (dark, warm) ────────────────────────── */
[data-theme="dark"] {
  --c-bg:          #1A1613;
  --c-surface:     #221C18;
  --c-surface-2:   #2C241E;
  --c-card:        #262019;
  --c-ink:         #F2EAE1;
  --c-ink-soft:    #DACDC1;
  --c-muted:       #A2968B;
  --c-border:      #372E27;
  --c-border-2:    #473A31;
  --c-accent:      #D68A66;
  --c-accent-hover:#E39C7B;
  --c-accent-soft: #38271F;
  --c-white:       #FFFFFF;
  --c-success:     #7FB08C;
  --c-error:       #E4917F;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.35);
  --shadow-md: 0 10px 34px rgba(0,0,0,.45);
  color-scheme: dark;
}

/* ── Theme: Mint (cool, fresh light) ─────────────────────── */
[data-theme="fresh"] {
  --c-bg:          #F5F7F6;
  --c-surface:     #E8EEEC;
  --c-surface-2:   #DDE6E2;
  --c-card:        #FFFFFF;
  --c-ink:         #1F2926;
  --c-ink-soft:    #38453F;
  --c-muted:       #667571;
  --c-border:      #DBE4E0;
  --c-border-2:    #C8D4CF;
  --c-accent:      #2E9184;
  --c-accent-hover:#247A6E;
  --c-accent-soft: #D6EBE6;
  --c-white:       #FFFFFF;
  --c-success:     #3E8E5E;
  --c-error:       #C0564A;
  --shadow-sm: 0 1px 2px rgba(31,41,38,.04), 0 2px 8px rgba(31,41,38,.06);
  --shadow-md: 0 8px 30px rgba(31,41,38,.1);
  color-scheme: light;
}

/* ── Theme: Azur (clean white + professional blue) ───────── */
[data-theme="azur"] {
  --c-bg:          #FBFCFE;
  --c-surface:     #F0F4FA;
  --c-surface-2:   #E5EDF7;
  --c-card:        #FFFFFF;
  --c-ink:         #1B2430;
  --c-ink-soft:    #3A4653;
  --c-muted:       #6A7684;
  --c-border:      #E3E9F2;
  --c-border-2:    #CFD9E7;
  --c-accent:      #2563C9;
  --c-accent-hover:#1D4EA5;
  --c-accent-soft: #E2ECFB;
  --c-white:       #FFFFFF;
  --c-success:     #2E7D5B;
  --c-error:       #C63B3B;
  --shadow-sm: 0 1px 2px rgba(27,36,48,.04), 0 2px 8px rgba(27,36,48,.06);
  --shadow-md: 0 8px 30px rgba(27,36,48,.1);
  color-scheme: light;
}

/* ── Theme: Roz (clean white + dark pink) ────────────────── */
[data-theme="rose"] {
  --c-bg:          #FEFAFB;
  --c-surface:     #FBEFF4;
  --c-surface-2:   #F6E3EC;
  --c-card:        #FFFFFF;
  --c-ink:         #2A1E24;
  --c-ink-soft:    #4A3A42;
  --c-muted:       #8A7580;
  --c-border:      #F1DDE6;
  --c-border-2:    #E6C9D7;
  --c-accent:      #C2185B;
  --c-accent-hover:#A0134A;
  --c-accent-soft: #FBE2EC;
  --c-white:       #FFFFFF;
  --c-success:     #3E8E5E;
  --c-error:       #C0433B;
  --shadow-sm: 0 1px 2px rgba(42,30,36,.04), 0 2px 8px rgba(42,30,36,.06);
  --shadow-md: 0 8px 30px rgba(42,30,36,.1);
  color-scheme: light;
}

/* ── Theme: Ardezie (cool slate + steel blue) ────────────── */
[data-theme="slate"] {
  --c-bg:          #FAFBFC;
  --c-surface:     #EEF1F5;
  --c-surface-2:   #E2E7ED;
  --c-card:        #FFFFFF;
  --c-ink:         #1F2A33;
  --c-ink-soft:    #3C4954;
  --c-muted:       #6C7883;
  --c-border:      #E1E6EC;
  --c-border-2:    #CDD6DF;
  --c-accent:      #47617A;
  --c-accent-hover:#374E63;
  --c-accent-soft: #E4EAF0;
  --c-white:       #FFFFFF;
  --c-success:     #2E7D5B;
  --c-error:       #C0504A;
  --shadow-sm: 0 1px 2px rgba(31,42,51,.04), 0 2px 8px rgba(31,42,51,.06);
  --shadow-md: 0 8px 30px rgba(31,42,51,.1);
  color-scheme: light;
}

/* ── Theme: Chihlimbar (white + energetic amber) ─────────── */
[data-theme="amber"] {
  --c-bg:          #FFFDF9;
  --c-surface:     #FBF3E7;
  --c-surface-2:   #F6E9D4;
  --c-card:        #FFFFFF;
  --c-ink:         #2A2318;
  --c-ink-soft:    #4A4033;
  --c-muted:       #8A7C66;
  --c-border:      #F0E6D4;
  --c-border-2:    #E6D5BB;
  --c-accent:      #D97A1E;
  --c-accent-hover:#B8620F;
  --c-accent-soft: #FBEAD2;
  --c-white:       #FFFFFF;
  --c-success:     #4E7A5A;
  --c-error:       #C0433B;
  --shadow-sm: 0 1px 2px rgba(42,35,24,.04), 0 2px 8px rgba(42,35,24,.06);
  --shadow-md: 0 8px 30px rgba(42,35,24,.1);
  color-scheme: light;
}

/* ── Theme: Violet (white + premium purple) ──────────────── */
[data-theme="violet"] {
  --c-bg:          #FDFCFE;
  --c-surface:     #F3F0FA;
  --c-surface-2:   #E9E3F5;
  --c-card:        #FFFFFF;
  --c-ink:         #241E2E;
  --c-ink-soft:    #423A50;
  --c-muted:       #7A7189;
  --c-border:      #E8E2F2;
  --c-border-2:    #D6CBE6;
  --c-accent:      #6D3FC4;
  --c-accent-hover:#582FA6;
  --c-accent-soft: #ECE4FB;
  --c-white:       #FFFFFF;
  --c-success:     #3E8E5E;
  --c-error:       #C0433B;
  --shadow-sm: 0 1px 2px rgba(36,30,46,.04), 0 2px 8px rgba(36,30,46,.06);
  --shadow-md: 0 8px 30px rgba(36,30,46,.1);
  color-scheme: light;
}

/* ── Theme: Pădure (white + deep emerald) ────────────────── */
[data-theme="forest"] {
  --c-bg:          #FAFCFA;
  --c-surface:     #EAF2ED;
  --c-surface-2:   #DEE9E1;
  --c-card:        #FFFFFF;
  --c-ink:         #1B2620;
  --c-ink-soft:    #384740;
  --c-muted:       #66756C;
  --c-border:      #DCE6DF;
  --c-border-2:    #C8D6CC;
  --c-accent:      #1E7A4D;
  --c-accent-hover:#17603C;
  --c-accent-soft: #DBEFE3;
  --c-white:       #FFFFFF;
  --c-success:     #2E7D5B;
  --c-error:       #C0433B;
  --shadow-sm: 0 1px 2px rgba(27,38,32,.04), 0 2px 8px rgba(27,38,32,.06);
  --shadow-md: 0 8px 30px rgba(27,38,32,.1);
  color-scheme: light;
}

/* ── Theme: Nocturn (deep navy + electric blue) ──────────── */
[data-theme="midnight"] {
  --c-bg:          #121829;
  --c-surface:     #1A2137;
  --c-surface-2:   #232D46;
  --c-card:        #1C2640;
  --c-ink:         #E9ECF5;
  --c-ink-soft:    #C6CEDE;
  --c-muted:       #8B95A8;
  --c-border:      #2C374F;
  --c-border-2:    #3A4763;
  --c-accent:      #4C8DFF;
  --c-accent-hover:#6BA0FF;
  --c-accent-soft: #22304C;
  --c-white:       #FFFFFF;
  --c-success:     #6FB894;
  --c-error:       #E48B8B;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.35);
  --shadow-md: 0 10px 34px rgba(0,0,0,.45);
  color-scheme: dark;
}

/* ── Theme: Marin (white + deep navy blue) ───────────────── */
[data-theme="marin"] {
  --c-bg:          #FAFBFD;
  --c-surface:     #EEF1F7;
  --c-surface-2:   #E2E7F1;
  --c-card:        #FFFFFF;
  --c-ink:         #172233;
  --c-ink-soft:    #34415A;
  --c-muted:       #64708A;
  --c-border:      #E0E5EF;
  --c-border-2:    #CBD3E3;
  --c-accent:      #2692C6;
  --c-accent-hover:#1e7099;
  --c-accent-soft: #E1E8F6;
  --c-white:       #FFFFFF;
  --c-success:     #2E7D5B;
  --c-error:       #C63B3B;
  --shadow-sm: 0 1px 2px rgba(23,34,51,.04), 0 2px 8px rgba(23,34,51,.06);
  --shadow-md: 0 8px 30px rgba(23,34,51,.1);
  color-scheme: light;
}

/* ── Theme: Rubin (white + deep ruby red) ────────────────── */
[data-theme="ruby"] {
  --c-bg:          #FEFAFA;
  --c-surface:     #F9EEF0;
  --c-surface-2:   #F4E2E5;
  --c-card:        #FFFFFF;
  --c-ink:         #2C1B1F;
  --c-ink-soft:    #4C383D;
  --c-muted:       #8A7378;
  --c-border:      #F0DCE0;
  --c-border-2:    #E4C7CD;
  --c-accent:      #A31D3C;
  --c-accent-hover:#85152F;
  --c-accent-soft: #F9E1E7;
  --c-white:       #FFFFFF;
  --c-success:     #3E8E5E;
  --c-error:       #C0433B;
  --shadow-sm: 0 1px 2px rgba(44,27,31,.04), 0 2px 8px rgba(44,27,31,.06);
  --shadow-md: 0 8px 30px rgba(44,27,31,.1);
  color-scheme: light;
}

/* ── Theme: Mocha (creamy latte + rich coffee) ───────────── */
[data-theme="mocha"] {
  --c-bg:          #FAF6F1;
  --c-surface:     #F1E9DF;
  --c-surface-2:   #E8DCCC;
  --c-card:        #FFFFFF;
  --c-ink:         #2E241C;
  --c-ink-soft:    #4E4136;
  --c-muted:       #86776A;
  --c-border:      #E9DFD1;
  --c-border-2:    #DACBB6;
  --c-accent:      #7B4A28;
  --c-accent-hover:#623A1E;
  --c-accent-soft: #F0E2D3;
  --c-white:       #FFFFFF;
  --c-success:     #4E7A5A;
  --c-error:       #B5493B;
  --shadow-sm: 0 1px 2px rgba(46,36,28,.04), 0 2px 8px rgba(46,36,28,.06);
  --shadow-md: 0 8px 30px rgba(46,36,28,.09);
  color-scheme: light;
}

/* ── Theme: Oliv (white + olive green) ───────────────────── */
[data-theme="olive"] {
  --c-bg:          #FBFCF8;
  --c-surface:     #F0F2E7;
  --c-surface-2:   #E6E9D8;
  --c-card:        #FFFFFF;
  --c-ink:         #232619;
  --c-ink-soft:    #414635;
  --c-muted:       #737866;
  --c-border:      #E4E7D6;
  --c-border-2:    #D2D7BE;
  --c-accent:      #5E6B1F;
  --c-accent-hover:#4A5517;
  --c-accent-soft: #EAEDD6;
  --c-white:       #FFFFFF;
  --c-success:     #4E7A5A;
  --c-error:       #C0433B;
  --shadow-sm: 0 1px 2px rgba(35,38,25,.04), 0 2px 8px rgba(35,38,25,.06);
  --shadow-md: 0 8px 30px rgba(35,38,25,.09);
  color-scheme: light;
}

/* ── Theme: Grafit (cool graphite dark + warm gold) ──────── */
[data-theme="graphite"] {
  --c-bg:          #16181B;
  --c-surface:     #1D2024;
  --c-surface-2:   #26292E;
  --c-card:        #202327;
  --c-ink:         #EDEDEA;
  --c-ink-soft:    #CFCFC9;
  --c-muted:       #94958F;
  --c-border:      #2E3136;
  --c-border-2:    #3C4046;
  --c-accent:      #D9A441;
  --c-accent-hover:#E5B65E;
  --c-accent-soft: #322A1B;
  --c-white:       #FFFFFF;
  --c-success:     #7FB08C;
  --c-error:       #E4917F;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.35);
  --shadow-md: 0 10px 34px rgba(0,0,0,.45);
  color-scheme: dark;
}

/* Smooth cross-fade when switching themes */
body, .site-header, .hero, .product-card, .why-card, .testimonial-card,
.site-footer, .cart-sidebar__panel, .form-input, .btn {
  transition: background-color var(--t-base), border-color var(--t-base), color var(--t-base);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + var(--nav-h) + 1rem); }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html, body { overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
fieldset { border: none; }
[hidden] { display: none !important; }
::selection { background: var(--c-accent-soft); color: var(--c-ink); }

/* ── Layout helpers ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container--narrow { max-width: var(--max-w-narrow); }
.section { padding-block: var(--section-y); }
.section--surface { background: var(--c-surface); }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

.section-eyebrow {
  font-family: var(--f-data);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.75rem;
}
.section-title { font-family: var(--f-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.0625rem; color: var(--c-muted); max-width: 58ch; line-height: 1.75; }
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin-inline: auto; }
.section-footer { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }
.c-warm, .c-accent { color: var(--c-accent); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--f-data);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.8rem 1.75rem;
  border-radius: var(--r-md);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  border: 1.5px solid transparent;
}
.btn:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--c-accent); color: var(--c-white); }
.btn--primary:hover { background: var(--c-accent-hover); box-shadow: 0 6px 18px rgba(192,110,82,.28); }

.btn--secondary { background: var(--c-ink); color: var(--c-bg); }
.btn--secondary:hover { opacity: 0.85; }

.btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-border-2); }
.btn--outline:hover { border-color: var(--c-ink); background: var(--c-ink); color: var(--c-bg); }

/* Legacy variants (kept for safety) now resolve to light-friendly styles */
.btn--outline-light,
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-border-2); }
.btn--outline-light:hover,
.btn--ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }

.btn--sm { padding: 0.5rem 1rem; font-size: 0.75rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 0.9375rem; }
.btn--full { width: 100%; }

.btn__spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--c-white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Announcement bar ────────────────────────────────────── */
.announcement-bar {
  position: sticky;
  top: 0;
  z-index: var(--z-bar);
  background: var(--c-accent);
  color: var(--c-white);
  height: var(--bar-h);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.announcement-bar__viewport {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5rem, #000 calc(100% - 2.5rem), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 2.5rem, #000 calc(100% - 2.5rem), transparent 100%);
}
.announcement-bar__track {
  display: inline-flex;
  width: max-content;
  animation: announcement-scroll var(--marquee-duration, 30s) linear infinite;
}
.announcement-bar__group { display: inline-flex; align-items: center; flex-shrink: 0; }
.announcement-bar__item {
  display: inline-block;
  padding-inline: 1.5rem;
  font-family: var(--f-data);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.announcement-bar__item:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.3); }
@keyframes announcement-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.announcement-bar__pinned {
  flex: 1;
  text-align: center;
  font-family: var(--f-data);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding-inline: 1rem;
}
@media (prefers-reduced-motion: reduce) {
  .announcement-bar__track { animation: none; }
}
@media (max-width: 560px) {
  .announcement-bar__item,
  .announcement-bar__pinned { font-size: 0.72rem; letter-spacing: 0.02em; }
  .announcement-bar__item { padding-inline: 1rem; }
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: var(--bar-h);
  z-index: var(--z-nav);
  height: var(--nav-h);
  background: color-mix(in srgb, var(--c-bg) 90%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  color: var(--c-ink);
  transition: box-shadow var(--t-base);
}
.site-header--scrolled { box-shadow: var(--shadow-sm); }

.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.site-header__logo { display: flex; align-items: center; transition: opacity var(--t-fast); }
.site-header__logo:hover { opacity: 0.75; }
.site-header__logo-text { font-family: var(--f-data); font-size: 1.125rem; font-weight: 700; letter-spacing: 0.08em; color: var(--c-ink); }
.site-header__logo-num { color: var(--c-accent); }

/* Nav */
.site-header__nav { display: flex; justify-content: center; }
.site-header__nav-list { display: flex; gap: 0.25rem; }
.site-header__nav-link {
  font-family: var(--f-data);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  color: var(--c-ink);
  position: relative;
  transition: color var(--t-fast);
}
.site-header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 1.75rem);
  height: 1.5px;
  background: var(--c-accent);
  transition: transform var(--t-base);
}
.site-header__nav-link:hover { color: var(--c-accent); }
.site-header__nav-link:hover::after,
.site-header__nav-link.is-active::after { transform: translateX(-50%) scaleX(1); }
.site-header__nav-link.is-active { color: var(--c-accent); }
.site-header__nav-link:focus-visible { outline: 2px solid var(--c-accent); }

/* Actions */
/* Pinned to the last grid column explicitly: on mobile .site-header__nav
   becomes position:absolute and drops out of grid auto-placement, which
   would otherwise shift this into the middle (nav's) column instead of
   the right-hand one. */
.site-header__actions { grid-column: 3; display: flex; align-items: center; gap: 0.5rem; }

.site-header__cart {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  color: var(--c-ink);
  transition: background var(--t-fast), color var(--t-fast);
}
.site-header__cart:hover { background: var(--c-accent-soft); color: var(--c-accent); }
.site-header__cart:focus-visible { outline: 2px solid var(--c-accent); }
.site-header__cart-count {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--c-accent); color: var(--c-white);
  font-family: var(--f-data); font-size: 0.6875rem; font-weight: 700;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.site-header__cart-count:empty,
.site-header__cart-count[data-count="0"] { display: none; }

.site-header__hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: var(--r-md); transition: background var(--t-fast);
}
.site-header__hamburger:hover { background: var(--c-surface); }
.site-header__hamburger span { display: block; width: 22px; height: 1.5px; background: var(--c-ink); border-radius: 2px; transition: transform var(--t-base), opacity var(--t-fast); }
.site-header__hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-header__hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero (light) ────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--c-bg) 0%, var(--c-surface) 100%);
  color: var(--c-ink);
  overflow: hidden;
  border-bottom: 1px solid var(--c-border);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__ghost-num {
  position: absolute;
  right: -2%; top: 50%;
  transform: translateY(-52%);
  font-family: var(--f-data);
  font-weight: 700;
  font-size: clamp(18rem, 40vw, 32rem);
  line-height: 1;
  /* tints with the active theme's accent instead of a fixed clay */
  color: color-mix(in srgb, var(--c-accent) 9%, transparent);
  letter-spacing: -0.04em;
  white-space: nowrap;
  user-select: none;
}
.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-block: clamp(3.5rem, 7vh, 6rem);
}
.hero__text { max-width: 520px; }
.hero__eyebrow {
  font-family: var(--f-data); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent);
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--c-ink);
}
.hero__title em { font-style: italic; color: var(--c-accent); }
.hero__subtitle {
  font-family: var(--f-data); font-size: 0.9375rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--c-muted); margin-bottom: 2.5rem;
}
.hero__ctas { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; max-width: 320px; }

.hero__visual { display: flex; align-items: center; justify-content: center; position: relative; min-width: 0; }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Hero product carousel — product sits on a warm spotlight, editorial controls */
.hero-carousel { width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; }
.hero-carousel__viewport {
  position: relative; width: 100%; overflow: hidden;
  display: flex; align-items: center;
}
.hero-carousel__track { display: flex; transition: transform var(--t-slow); will-change: transform; position: relative; z-index: 1; width: 100%; }
.hero-carousel__slide { flex: 0 0 100%; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 0.5rem; }
.hero-carousel__link { display: block; }
.hero-carousel__img {
  max-height: min(58vh, 520px);
  width: auto; margin-inline: auto; object-fit: contain;
  /* photos are white-background JPGs — multiply melts the white into the page
     so the product sits cleanly with no visible box */
  mix-blend-mode: multiply;
}
/* multiply would darken the product on the dark theme — keep it as-is there */
[data-theme="dark"] .hero-carousel__img,
[data-theme="midnight"] .hero-carousel__img,
[data-theme="graphite"] .hero-carousel__img { mix-blend-mode: normal; }
.hero-carousel__caption {
  margin-top: 0.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.1rem; text-align: center;
}
.hero-carousel__name { font-family: var(--f-display); font-size: 1.2rem; font-style: italic; color: var(--c-ink); }
.hero-carousel__price { font-family: var(--f-data); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; color: var(--c-accent); }

/* one editorial control row: ‹  • • • •  › */
.hero-carousel__controls { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.hero-carousel__arrow {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  color: var(--c-muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.hero-carousel__arrow:hover { color: var(--c-accent); background: var(--c-accent-soft); }
.hero-carousel__arrow:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.hero-carousel__dots { display: flex; align-items: center; gap: 0.5rem; }
.hero-carousel__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-border-2); transition: background var(--t-fast), transform var(--t-fast); }
.hero-carousel__dot:hover { background: var(--c-muted); }
.hero-carousel__dot.is-active { background: var(--c-accent); transform: scale(1.35); }
.hero-carousel__dot:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.hero__product-placeholder {
  width: 300px; height: 380px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.hero__product-placeholder-inner { text-align: center; }
.hero__product-placeholder-text { display: block; font-family: var(--f-data); font-size: 2rem; font-weight: 700; letter-spacing: 0.08em; color: var(--c-accent); }
.hero__product-placeholder-sub { display: block; font-family: var(--f-data); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--c-muted); margin-top: 0.5rem; }

/* Stats strip */
.hero__stats {
  position: relative;
  background: var(--c-card);
  border-top: 1px solid var(--c-border);
  display: flex; justify-content: center; align-items: center;
  padding: 1.5rem var(--pad-x);
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
}
.hero__stat { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; text-align: center; }
.hero__stat-value { font-family: var(--f-data); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--c-accent); line-height: 1; }
.hero__stat-label { font-family: var(--f-data); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.hero__stat-divider { width: 1px; height: 40px; background: var(--c-border); }

/* ── Why section ─────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-card);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.why-card:hover { border-color: var(--c-accent); box-shadow: var(--shadow-md); }
.why-card__icon {
  width: 52px; height: 52px;
  background: var(--c-accent-soft);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent); margin-bottom: 1.25rem;
}
.why-card__title { font-family: var(--f-display); font-size: 1.1875rem; font-weight: 500; margin-bottom: 0.625rem; }
.why-card__text { font-size: 0.9375rem; color: var(--c-muted); line-height: 1.7; }

/* ── Nutrition strip (light) ─────────────────────────────── */
.nutrition-strip {
  display: flex;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-block: 1.75rem;
  background: var(--c-bg);
}
.nutrition-strip__item { flex: 1; padding: 1rem 0.75rem; text-align: center; border-right: 1px solid var(--c-border); }
.nutrition-strip__item:last-child { border-right: none; }
.nutrition-strip__val { display: block; font-family: var(--f-data); font-size: 1.375rem; font-weight: 700; color: var(--c-accent); line-height: 1.1; }
.nutrition-strip__key { display: block; font-family: var(--f-data); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); margin-top: 0.25rem; }

/* ── Product grid & cards ────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.product-grid--shop { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }

.product-card {
  background: var(--c-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
  display: flex; flex-direction: column;
  min-width: 0;
}
/* No translateY lift on hover: moving the card under the cursor causes a
   hover/un-hover flicker loop at the card edges. */
.product-card:hover { border-color: var(--c-accent); box-shadow: var(--shadow-md); }
.product-card__image-link { display: block; overflow: hidden; }
.product-card__image-wrap { position: relative; aspect-ratio: 4/4.5; background: var(--c-surface); overflow: hidden; }
.product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.product-card__img--hover { position: absolute; inset: 0; opacity: 0; transition: opacity var(--t-slow); }
/* Hover swap: ONLY fade the top (alternate) image in — the opaque base image
   stays put underneath. Fading both at once makes the background flash through
   mid-transition (flicker), and fading the base breaks single-image cards. */
.product-card:hover .product-card__img--hover { opacity: 1; }
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-surface-2) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-data); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.08em; color: var(--c-muted);
}
.product-card__badge { position: absolute; top: 12px; left: 12px; font-family: var(--f-data); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.625rem; border-radius: var(--r-sm); }
.product-card__badge--sale { background: var(--c-accent); color: var(--c-white); }
.product-card__badge--sold-out { background: var(--c-ink); color: var(--c-bg); }
.product-card__body { padding: 1.125rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.product-card__name { font-family: var(--f-display); font-size: 1.0625rem; font-weight: 500; line-height: 1.35; }
.product-card__name a:hover { color: var(--c-accent); }
.product-card__desc { font-size: 0.875rem; color: var(--c-muted); line-height: 1.55; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__footer { display: flex; flex-direction: column; align-items: stretch; gap: 0.7rem; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--c-border); }
.product-card__pricing { display: flex; align-items: baseline; gap: 0.375rem; justify-content: center; }
.product-card__price { font-family: var(--f-data); font-size: 1.125rem; font-weight: 700; color: var(--c-ink); }
.product-card__price-old { font-size: 0.875rem; color: var(--c-muted); text-decoration: line-through; }
.product-card__out-of-stock { font-size: 0.8125rem; color: var(--c-muted); font-family: var(--f-data); }

/* buy group: quantity stepper + add button */
.product-card__buy { display: flex; align-items: stretch; gap: 0.5rem; flex-wrap: wrap; }
.product-card__buy .product-card__add { flex: 1 1 auto; min-width: 108px; }

/* small stepper variant (reuses .qty-control) */
.qty-control--sm { flex: 0 0 auto; }
.qty-control--sm .qty-control__btn { width: 30px; height: 36px; }
.qty-control--sm .qty-control__input { width: 34px; height: 36px; font-size: 0.875rem; }

/* loading state that preserves the button icon/label */
.btn.is-loading { opacity: 0.6; pointer-events: none; }

.hero__shop-link { width: 100%; }

/* ── Shop hero (light) ───────────────────────────────────── */
.shop-hero {
  background: var(--c-surface);
  color: var(--c-ink);
  padding: clamp(1.5rem, 3vw, 2.25rem) var(--pad-x);
  text-align: center;
  border-bottom: 1px solid var(--c-border);
}
.shop-hero__title { font-family: var(--f-display); font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 400; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.shop-hero__subtitle { color: var(--c-muted); font-size: 1rem; }
.shop-empty { text-align: center; padding: 4rem 1rem; color: var(--c-muted); }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: var(--c-card); border-radius: var(--r-lg); padding: 1.75rem; border: 1px solid var(--c-border); display: flex; flex-direction: column; gap: 1.25rem; }
.testimonial-card__stars { display: flex; gap: 2px; color: var(--c-accent); }
.testimonial-card__text { font-size: 1.0625rem; line-height: 1.7; color: var(--c-ink-soft); font-style: italic; font-family: var(--f-display); }
.testimonial-card__author { display: flex; flex-direction: column; gap: 0.125rem; margin-top: auto; }
.testimonial-card__name { font-family: var(--f-data); font-size: 0.875rem; font-weight: 600; color: var(--c-accent); }
.testimonial-card__detail { font-size: 0.8125rem; color: var(--c-muted); }

/* ── Partners ────────────────────────────────────────────── */
.partners-section { padding-block: clamp(2rem, 4vw, 3.5rem); }
.partners-section__label { font-family: var(--f-data); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); text-align: center; margin-bottom: 2rem; }
.partners-grid { display: flex; justify-content: center; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; }
.partner {
  display: flex; align-items: center; justify-content: center;
  height: 64px; min-width: 120px;
  transition: opacity var(--t-base), transform var(--t-base);
}
.partner:hover { opacity: 0.85; }
.partner__img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter var(--t-base), opacity var(--t-base); }
.partner:hover .partner__img { filter: grayscale(0); opacity: 1; }
.partner__stub {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem;
  border: 1px dashed var(--c-border-2);
  border-radius: var(--r-md);
  background: var(--c-surface);
  color: var(--c-muted);
  min-width: 130px; height: 64px;
}
.partner__stub svg { opacity: 0.5; }
.partner__stub-name { font-family: var(--f-data); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb { padding-block: 1rem; border-bottom: 1px solid var(--c-border); }
.breadcrumb__list { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--c-muted); }
.breadcrumb__item a:hover { color: var(--c-accent); }
.breadcrumb__sep { opacity: 0.4; }
.breadcrumb__item--current { color: var(--c-ink); font-weight: 500; }

/* ── Product detail ──────────────────────────────────────── */
.product-detail__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; padding-block: clamp(3rem, 6vw, 5rem); }
.product-gallery__main { border-radius: var(--r-lg); overflow: hidden; background: var(--c-surface); aspect-ratio: 4/4.5; border: 1px solid var(--c-border); }
.product-gallery__main-img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--f-data); font-size: 2rem; font-weight: 700; letter-spacing: 0.1em; color: var(--c-accent); }
.product-gallery__thumbs { display: flex; gap: 0.625rem; margin-top: 0.75rem; flex-wrap: wrap; }
.product-gallery__thumb { width: 72px; height: 80px; border-radius: var(--r-md); overflow: hidden; background: var(--c-surface); border: 2px solid transparent; transition: border-color var(--t-fast); cursor: pointer; padding: 0; }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumb.is-active, .product-gallery__thumb:hover { border-color: var(--c-accent); }

.product-info__name { font-family: var(--f-display); font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; line-height: 1.15; }
.product-info__pricing { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1rem; }
.product-info__price { font-family: var(--f-data); font-size: 2rem; font-weight: 700; color: var(--c-accent); }
.product-info__price--old { font-size: 1.125rem; color: var(--c-muted); text-decoration: line-through; }
.product-info__stock { display: flex; align-items: center; gap: 0.375rem; font-family: var(--f-data); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1.25rem; }
.product-info__stock-dot { width: 7px; height: 7px; border-radius: 50%; }
.product-info__stock--in { color: var(--c-success); }
.product-info__stock--in .product-info__stock-dot { background: var(--c-success); }
.product-info__stock--out { color: var(--c-muted); }
.product-info__stock--out .product-info__stock-dot { background: var(--c-muted); }
.product-info__short-desc { color: var(--c-muted); font-size: 0.9375rem; line-height: 1.75; margin-bottom: 1.5rem; }
.product-info__qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.product-info__qty-label { font-family: var(--f-data); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-muted); }
.qty-control { display: flex; align-items: center; border: 1.5px solid var(--c-border-2); border-radius: var(--r-md); overflow: hidden; }
.qty-control__btn { width: 38px; height: 42px; display: flex; align-items: center; justify-content: center; color: var(--c-muted); transition: background var(--t-fast), color var(--t-fast); }
.qty-control__btn:hover { background: var(--c-surface); color: var(--c-ink); }
.qty-control__input { width: 50px; height: 42px; text-align: center; border: none; border-inline: 1.5px solid var(--c-border-2); font-family: var(--f-data); font-size: 0.9375rem; font-weight: 600; color: var(--c-ink); appearance: none; -moz-appearance: textfield; background: var(--c-card); }
.qty-control__input::-webkit-outer-spin-button, .qty-control__input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product-info__ctas { margin-bottom: 1rem; }
.product-info__shipping-notice { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--c-muted); }

.product-description { border-top: 1px solid var(--c-border); padding-block: clamp(3rem, 5vw, 4rem); }
.product-description__title { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: 1.5rem; }
.product-description__body { color: var(--c-muted); font-size: 1rem; line-height: 1.75; max-width: 68ch; }
.product-description__body p + p { margin-top: 1rem; }
.related-section__title { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ── Product nutrition (ingredients + facts table) ────────── */
.product-nutrition { border-top: 1px solid var(--c-border); padding-block: clamp(3rem, 5vw, 4rem); }
.product-nutrition__title { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: 1.5rem; }
.product-nutrition__ingredients + .product-nutrition__title,
.product-nutrition__allergens + .product-nutrition__title { margin-top: 2.5rem; }
.product-nutrition__ingredients { color: var(--c-muted); font-size: 1rem; line-height: 1.75; max-width: 68ch; }
.product-nutrition__allergens { margin-top: 1rem; font-size: 0.9375rem; color: var(--c-ink-soft); max-width: 68ch; }
.product-nutrition__allergens strong { color: var(--c-ink); }

.nutrition-table__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nutrition-table { width: 100%; max-width: 720px; border-collapse: collapse; font-size: 0.9375rem; }
.nutrition-table th,
.nutrition-table td { padding: 0.625rem 0.875rem; text-align: right; border-bottom: 1px solid var(--c-border); white-space: nowrap; }
.nutrition-table th[scope="row"],
.nutrition-table thead th:first-child { text-align: left; font-weight: 500; color: var(--c-ink); }
.nutrition-table thead th { font-family: var(--f-data); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); border-bottom: 2px solid var(--c-ink); }
.nutrition-table td { font-family: var(--f-data); color: var(--c-ink-soft); }
.nutrition-table__sub th[scope="row"] { padding-left: 2rem; font-weight: 400; color: var(--c-muted); font-size: 0.875rem; }
.nutrition-table__sub td { color: var(--c-muted); font-size: 0.875rem; }

/* ── Subscriptions ────────────────────────────────────────── */
.product-info__price-period,
.product-card__price-period { font-size: 0.55em; font-weight: 500; color: var(--c-muted); margin-left: 0.15em; }
.product-info__sub-badge { display: inline-block; margin-left: 0.75rem; padding: 0.25rem 0.65rem; border-radius: 999px; background: color-mix(in srgb, var(--c-accent) 12%, transparent); color: var(--c-accent); font-family: var(--f-data); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle; }

.sub-benefits { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.25rem; }
.sub-benefits li { position: relative; padding-left: 1.5rem; font-size: 0.9375rem; color: var(--c-ink-soft); line-height: 1.5; }
.sub-benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--c-accent); font-weight: 700; }
.sub-benefits--product { margin-bottom: 1.5rem; }

/* Subscription pricing on product cards: struck gross → discounted + badge + savings */
.product-card__pricing--sub { flex-wrap: wrap; }
.product-card__sub-badge { align-self: center; padding: 0.25rem 0.65rem; border-radius: 999px; background: color-mix(in srgb, var(--c-accent) 12%, transparent); color: var(--c-accent); font-family: var(--f-data); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.product-card__sub-savings { text-align: center; font-size: 0.8125rem; color: var(--c-muted); }

/* Box builder (subscribe page summary column) */
.sub-builder__note { font-size: 0.875rem; color: var(--c-muted); line-height: 1.55; margin: -0.5rem 0 1rem; }
.sub-builder__list { display: flex; flex-direction: column; gap: 0.75rem; }
.sub-builder__row { display: flex; align-items: center; gap: 0.75rem; }
.sub-builder__info { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.125rem; min-width: 0; }
.sub-builder__name { font-size: 0.9rem; font-weight: 600; color: var(--c-ink); line-height: 1.35; }
.sub-builder__price { font-size: 0.8125rem; color: var(--c-muted); font-family: var(--f-data); }
.sub-builder__qty { display: flex; align-items: center; border: 1.5px solid var(--c-border-2); border-radius: var(--r-md); overflow: hidden; flex: 0 0 auto; }
.sub-builder__qty .qty-control__btn { width: 30px; height: 36px; }
.sub-builder__input { width: 38px; height: 36px; text-align: center; border: none; border-inline: 1.5px solid var(--c-border-2); font-family: var(--f-data); font-size: 0.875rem; font-weight: 600; color: var(--c-ink); appearance: none; -moz-appearance: textfield; background: var(--c-card); }
.sub-builder__input::-webkit-outer-spin-button,
.sub-builder__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sub-builder__count { margin: 0.875rem 0 0; font-family: var(--f-data); font-size: 0.875rem; font-weight: 600; color: var(--c-ink); }
.sub-builder__min-error[hidden] { display: none; }
.sub-builder__savings { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--c-accent); }

.sub-freq { margin: 1.25rem 0; padding: 0; border: none; }
.sub-freq__legend { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 0.625rem; }
.sub-freq__option { display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.875rem; border: 1.5px solid var(--c-border-2); border-radius: var(--r-md); cursor: pointer; font-size: 0.9375rem; color: var(--c-ink-soft); transition: border-color var(--t-fast), background var(--t-fast); }
.sub-freq__option + .sub-freq__option { margin-top: 0.5rem; }
.sub-freq__option:has(input:checked) { border-color: var(--c-accent); background: color-mix(in srgb, var(--c-accent) 7%, transparent); color: var(--c-ink); }
.sub-freq__option input { accent-color: var(--c-accent); }

.checkout-summary__row--discount { color: var(--c-accent); }

/* Protein-in-order display (grams_protein WC attribute) */
.cart-item__protein,
.summary-item__protein { font-size: 0.78rem; font-family: var(--f-data); font-weight: 600; color: var(--c-accent); }
.cart-sidebar__total-row--protein,
.checkout-summary__row--protein { color: var(--c-accent); font-weight: 600; }

/* Subscription manage/cancel page */
.sub-manage-section { padding-top: 3rem; }
.sub-manage__title { font-family: var(--f-display); font-size: 2rem; margin-bottom: 1.5rem; text-align: center; }
.sub-manage__card { max-width: 520px; margin: 0 auto 1rem; padding: 1.5rem 1.75rem; background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 1rem; }
.sub-manage__section-title { font-family: var(--f-display); font-size: 1.25rem; }
.sub-manage__section-title--gap { margin-top: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--c-border); }
.sub-manage__saved { font-size: 0.9375rem; font-weight: 600; color: var(--c-accent); }
.sub-manage__saved[hidden] { display: none; }
.sub-manage__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.sub-manage__row--items { flex-direction: column; gap: 0.375rem; }
.sub-manage__label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.sub-manage__value { font-family: var(--f-data); font-size: 0.9375rem; font-weight: 600; color: var(--c-ink); }
.sub-manage__items { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.9375rem; color: var(--c-ink-soft); }
.sub-manage__status--active { color: var(--c-accent); }
.sub-manage__status--cancelled, .sub-manage__status--past_due { color: #B52A2A; }
.sub-manage__cancelled-note { font-size: 0.9375rem; color: var(--c-ink-soft); line-height: 1.6; }
.sub-manage__cancel-btn { margin-top: 0.5rem; }
.sub-manage__help { margin-top: 1.25rem; text-align: center; font-size: 0.875rem; color: var(--c-muted); }
.success-subscription__manage { margin-top: 1rem; }

.success-subscription { margin: 1.5rem auto; max-width: 480px; padding: 1.25rem 1.5rem; background: color-mix(in srgb, var(--c-accent) 8%, transparent); border: 1px solid color-mix(in srgb, var(--c-accent) 30%, transparent); border-radius: var(--r-lg); text-align: left; }
.success-subscription__title { font-family: var(--f-display); font-size: 1.15rem; margin-bottom: 0.5rem; }
.success-subscription__note { font-size: 0.9375rem; color: var(--c-ink-soft); line-height: 1.6; }

/* ── Star ratings ─────────────────────────────────────────── */
.stars { display: inline-flex; gap: 1px; }
.stars__star { color: var(--c-border); }
.stars__star--filled { color: var(--c-accent); }

.product-info__rating { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.product-info__rating-text { font-family: var(--f-data); font-size: 0.8125rem; color: var(--c-muted); }
.product-info__rating:hover .product-info__rating-text { color: var(--c-accent); }

.product-card__rating { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.5rem; }
.product-card__rating-count { font-family: var(--f-data); font-size: 0.75rem; color: var(--c-muted); }

/* ── Product reviews ──────────────────────────────────────── */
.product-reviews { border-top: 1px solid var(--c-border); padding-block: clamp(3rem, 5vw, 4rem); }
.product-reviews__title { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: 1.5rem; }
.product-reviews__count { color: var(--c-muted); font-size: 1.1rem; }
.product-reviews__empty { color: var(--c-muted); }

.review-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.review-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 1.25rem 1.5rem; }
.review-card__head { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.review-card__name { font-weight: 600; font-size: 0.9375rem; color: var(--c-ink); }
.review-card__date { font-family: var(--f-data); font-size: 0.75rem; color: var(--c-muted); margin-left: auto; }
.review-card__text { color: var(--c-ink-soft); font-size: 0.9375rem; line-height: 1.7; }

.review-form-wrap { max-width: 480px; margin-top: 1rem; }
.review-form-wrap__title { font-family: var(--f-display); font-size: 1.25rem; margin-bottom: 1.25rem; }
.review-form-wrap__note { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--c-muted); }

/* 5-star radio input: DOM order is 5→1, row-reverse displays 1→5, so
   label:hover ~ label / input:checked ~ label highlight the stars "before" it */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 0.15rem; }
.star-input__radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input__label { cursor: pointer; color: var(--c-border); transition: color 0.15s, transform 0.15s; }
.star-input__label:hover { transform: scale(1.12); }
.star-input__label:hover,
.star-input__label:hover ~ .star-input__label,
.star-input__radio:checked ~ .star-input__label { color: var(--c-accent); }
.star-input__radio:focus-visible + .star-input__label { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }

/* ── Content page (privacy / terms) ──────────────────────── */
.content-page__header { margin-bottom: 2.5rem; }
.content-page__title { font-family: var(--f-display); font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 0.5rem; }
.content-page__updated { font-family: var(--f-data); font-size: 0.8125rem; color: var(--c-muted); }
.content-page__intro { font-size: 1.0625rem; color: var(--c-ink-soft); line-height: 1.8; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--c-border); }
.content-page__section { margin-bottom: 2rem; }
.content-page__heading { font-family: var(--f-display); font-size: 1.35rem; margin-bottom: 0.75rem; color: var(--c-ink); }
.content-page__body { color: var(--c-ink-soft); font-size: 1rem; line-height: 1.8; }
.content-page__body p { margin-bottom: 0.75rem; }
.content-page__body ul { list-style: disc; padding-left: 1.35rem; margin-bottom: 0.75rem; }
.content-page__body li { margin-bottom: 0.35rem; }
.content-page__body a { color: var(--c-accent); text-decoration: underline; }

/* ── Contact page ────────────────────────────────────────── */
.contact-page__header { text-align: center; }
.contact-page__header .section-subtitle { margin-inline: auto; }
.contact-page__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: start; }
.contact-details { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-details__item { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-details__label { font-family: var(--f-data); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.contact-details__value { font-size: 1rem; color: var(--c-ink); }
a.contact-details__value:hover { color: var(--c-accent); }
.contact-details__powered { font-family: var(--f-data); font-size: 0.8125rem; color: var(--c-muted); }
.contact-details__social { display: flex; gap: 1rem; flex-wrap: wrap; padding-top: 0.5rem; border-top: 1px solid var(--c-border); }
.contact-details__social-link { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--f-data); font-size: 0.8125rem; font-weight: 600; color: var(--c-accent); }
.contact-details__social-link:hover { color: var(--c-accent-hover); }
.contact-details__social-link svg { flex-shrink: 0; }

/* WhatsApp CTA — brand green, works as tap-to-chat on mobile and WhatsApp Web on desktop */
.btn--whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1da851; color: #fff; }

.contact-form-wrap__title { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-form__status { padding: 0.875rem 1rem; border-radius: var(--r-md); font-size: 0.9375rem; margin-bottom: 1rem; }
.contact-form__status--success { background: rgba(78,122,90,0.1); color: var(--c-success); border: 1px solid rgba(78,122,90,0.25); }
.contact-form__status--error { background: rgba(181,73,59,0.08); color: var(--c-error); border: 1px solid rgba(181,73,59,0.25); }
.form-textarea { height: auto; padding: 0.75rem 0.875rem; line-height: 1.6; resize: vertical; min-height: 140px; }

/* ── Cart sidebar ────────────────────────────────────────── */
.cart-sidebar { position: fixed; inset: 0; z-index: var(--z-cart); visibility: hidden; pointer-events: none; }
.cart-sidebar.is-open { visibility: visible; pointer-events: auto; }
.cart-sidebar__overlay { position: absolute; inset: 0; background: rgba(43,41,38,0); transition: background var(--t-slow); cursor: pointer; }
.cart-sidebar.is-open .cart-sidebar__overlay { background: rgba(43,41,38,0.4); }
.cart-sidebar__panel { position: absolute; inset-block: 0; right: 0; width: min(420px, 100vw); background: var(--c-bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--t-slow); box-shadow: -4px 0 40px rgba(43,41,38,0.12); }
.cart-sidebar.is-open .cart-sidebar__panel { transform: translateX(0); }
.cart-sidebar__header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--c-border); }
.cart-sidebar__title { font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; }
.cart-sidebar__close { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); color: var(--c-muted); transition: background var(--t-fast), color var(--t-fast); }
.cart-sidebar__close:hover { background: var(--c-surface); color: var(--c-ink); }
.cart-sidebar__body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-sidebar__empty { text-align: center; padding: 3rem 1rem; color: var(--c-muted); display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.cart-sidebar__empty p { font-size: 0.9375rem; }
.cart-sidebar__items { display: flex; flex-direction: column; gap: 1rem; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 0.875rem; align-items: start; }
.cart-item__img-wrap { width: 72px; height: 80px; border-radius: var(--r-md); overflow: hidden; background: var(--c-surface); flex-shrink: 0; }
.cart-item__img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--f-data); font-size: 0.75rem; font-weight: 700; color: var(--c-accent); }
.cart-item__info { display: flex; flex-direction: column; gap: 0.375rem; }
.cart-item__name { font-size: 0.9375rem; font-weight: 500; line-height: 1.3; }
.cart-item__price { font-family: var(--f-data); font-size: 0.875rem; font-weight: 600; color: var(--c-accent); }
.cart-item__qty-ctrl { display: flex; align-items: center; gap: 0.375rem; }
.cart-item__qty-btn { width: 24px; height: 24px; border-radius: var(--r-sm); border: 1px solid var(--c-border-2); display: flex; align-items: center; justify-content: center; font-size: 0.875rem; color: var(--c-muted); transition: border-color var(--t-fast), color var(--t-fast); }
.cart-item__qty-btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
.cart-item__qty-val { font-family: var(--f-data); font-size: 0.875rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item__remove { font-size: 0.75rem; color: var(--c-muted); text-decoration: underline; margin-top: 0.25rem; transition: color var(--t-fast); }
.cart-item__remove:hover { color: var(--c-error); }
.cart-sidebar__footer { border-top: 1px solid var(--c-border); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; background: var(--c-surface); }
.coupon-form { display: flex; gap: 0.5rem; }
.coupon-form__input { flex: 1; height: 42px; border: 1.5px solid var(--c-border-2); border-radius: var(--r-md); padding: 0 0.875rem; font-size: 0.875rem; transition: border-color var(--t-fast); background: var(--c-card); }
.coupon-form__input:focus { outline: none; border-color: var(--c-accent); }
.coupon-form__btn { flex-shrink: 0; padding: 0 1rem; height: 42px; }
.coupon-form__applied { font-size: 0.8125rem; color: var(--c-success); font-family: var(--f-data); font-weight: 500; }
.cart-sidebar__totals { display: flex; flex-direction: column; gap: 0.5rem; }
.cart-sidebar__total-row { display: flex; justify-content: space-between; font-size: 0.9375rem; color: var(--c-muted); }
.cart-sidebar__total-row--total { color: var(--c-ink); font-size: 1.0625rem; padding-top: 0.5rem; border-top: 1px solid var(--c-border); margin-top: 0.25rem; }
.cart-sidebar__checkout { margin-top: 0.25rem; }

/* ── Checkout ────────────────────────────────────────────── */
.checkout-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 4rem; align-items: start; }
.checkout-title { font-family: var(--f-display); font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 2rem; }
.checkout-fieldset { margin-bottom: 2rem; }
.checkout-fieldset__legend { font-family: var(--f-data); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 1.25rem; padding-bottom: 0.625rem; border-bottom: 1px solid var(--c-border); width: 100%; display: block; }
.form-row { display: grid; gap: 1rem; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.form-field--half { max-width: 200px; }
.form-label { font-family: var(--f-data); font-size: 0.8125rem; font-weight: 600; color: var(--c-ink); letter-spacing: 0.01em; }
.form-label span { color: var(--c-accent); }
.form-input { height: 48px; border: 1.5px solid var(--c-border-2); border-radius: var(--r-md); padding: 0 0.875rem; font-size: 1rem; color: var(--c-ink); background: var(--c-card); transition: border-color var(--t-fast), box-shadow var(--t-fast); appearance: none; }
.form-input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(192,110,82,0.12); }
.form-input.is-error { border-color: var(--c-error); }
.form-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237C736A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.875rem center; padding-right: 2.25rem; }
.form-error { font-family: var(--f-data); font-size: 0.75rem; color: var(--c-error); min-height: 1.1rem; }
.checkout-coupon { margin-bottom: 1.75rem; padding: 1.25rem; background: var(--c-surface); border-radius: var(--r-md); }
.checkout-coupon__label { font-family: var(--f-data); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 0.75rem; color: var(--c-muted); }
.stripe-element-wrap { border: 1.5px solid var(--c-border-2); border-radius: var(--r-md); padding: 0.875rem; background: var(--c-card); transition: border-color var(--t-fast), box-shadow var(--t-fast); margin-bottom: 0.75rem; }
.stripe-element-wrap:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(192,110,82,0.12); }
.stripe-element { min-height: 24px; }
.checkout-secure { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; color: var(--c-muted); }
.checkout-gdpr { margin-block: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.gdpr-checkbox { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.gdpr-checkbox input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.gdpr-checkbox__mark { flex-shrink: 0; width: 20px; height: 20px; border: 1.5px solid var(--c-border-2); border-radius: var(--r-sm); margin-top: 1px; transition: border-color var(--t-fast), background var(--t-fast); display: flex; align-items: center; justify-content: center; }
.gdpr-checkbox input:checked + .gdpr-checkbox__mark { background: var(--c-accent); border-color: var(--c-accent); }
.gdpr-checkbox input:checked + .gdpr-checkbox__mark::after { content: ''; width: 5px; height: 9px; border: 2px solid white; border-top: none; border-left: none; transform: rotate(45deg); margin-top: -2px; }
.gdpr-checkbox input:focus-visible + .gdpr-checkbox__mark { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.gdpr-checkbox__label { font-size: 0.875rem; line-height: 1.5; color: var(--c-muted); }
.gdpr-checkbox__label a { color: var(--c-accent); text-decoration: underline; }
.checkout-error-summary { background: rgba(181,73,59,0.06); border: 1px solid rgba(181,73,59,0.2); border-radius: var(--r-md); padding: 0.875rem 1rem; font-size: 0.875rem; color: var(--c-error); margin-bottom: 1rem; }
.checkout-summary-col { position: sticky; top: calc(var(--bar-h) + var(--nav-h) + 1.5rem); }
.checkout-summary { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 1.75rem; }
.checkout-summary__title { font-family: var(--f-display); font-size: 1.125rem; font-weight: 500; margin-bottom: 1.25rem; }
.checkout-summary__items { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--c-border); }
.summary-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 0.75rem; align-items: center; }
.summary-item__img { width: 56px; height: 62px; border-radius: var(--r-sm); object-fit: cover; background: var(--c-card); }
.summary-item__name { font-size: 0.875rem; font-weight: 500; }
.summary-item__qty { font-size: 0.8125rem; color: var(--c-muted); }
.summary-item__price { font-family: var(--f-data); font-size: 0.9375rem; font-weight: 600; color: var(--c-ink); }
.checkout-summary__totals { display: flex; flex-direction: column; gap: 0.5rem; }
.checkout-summary__row { display: flex; justify-content: space-between; font-size: 0.9375rem; color: var(--c-muted); }
.checkout-summary__row--total { color: var(--c-ink); font-size: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--c-border); margin-top: 0.25rem; }
.checkout-shipping-nudge { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; background: var(--c-accent-soft); border-radius: var(--r-lg); padding: 1.25rem 1.5rem; margin-top: 1rem; }
.checkout-shipping-nudge__text { font-size: 0.9375rem; font-weight: 500; color: var(--c-accent); }

/* ── Success page ────────────────────────────────────────── */
.success-section { padding-block: clamp(4rem, 8vw, 7rem); text-align: center; }
.success-icon { width: 100px; height: 100px; background: rgba(78,122,90,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem; color: var(--c-success); }
.success-title { font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.success-subtitle { color: var(--c-muted); font-size: 1.0625rem; max-width: 48ch; margin: 0 auto 1.5rem; line-height: 1.75; }
.success-order-no { font-family: var(--f-data); font-size: 1.0625rem; margin-bottom: 2rem; color: var(--c-muted); }
.success-order-no strong { color: var(--c-ink); }
.success-order-detail { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 1.5rem; text-align: left; margin-bottom: 2rem; }
.success-order-detail__title { font-family: var(--f-display); font-size: 1.125rem; margin-bottom: 1rem; }
.success-order-detail__items { display: flex; flex-direction: column; gap: 0.625rem; }
.success-order-detail__item { display: flex; justify-content: space-between; font-size: 0.9375rem; padding-bottom: 0.625rem; border-bottom: 1px solid var(--c-border); }
.success-order-detail__item:last-child { border-bottom: none; }
.success-order-detail__name { font-weight: 500; }
.success-order-detail__qty { color: var(--c-muted); }
.success-order-detail__price { font-family: var(--f-data); font-weight: 600; color: var(--c-accent); }
.success-order-detail__total { text-align: right; font-family: var(--f-data); font-size: 1.0625rem; padding-top: 0.75rem; color: var(--c-ink); }
.success-email-note { font-size: 0.9375rem; color: var(--c-muted); margin-bottom: 2rem; }
.success-cta { margin-top: 0.5rem; }

/* ── Toast ───────────────────────────────────────────────── */
#toast-container { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: var(--z-toast); display: flex; flex-direction: column-reverse; gap: 0.5rem; pointer-events: none; }
.toast { background: var(--c-ink); color: var(--c-bg); padding: 0.875rem 1.5rem; border-radius: var(--r-full); font-family: var(--f-data); font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-md); pointer-events: auto; animation: toastIn 0.3s ease forwards; white-space: nowrap; }
.toast--success { background: var(--c-success); color: #fff; }
.toast--error { background: var(--c-error); color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.toast--out { animation: toastOut 0.3s ease forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }

/* ── Footer (light warm sand) ────────────────────────────── */
.site-footer { background: var(--c-surface-2); color: var(--c-ink-soft); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--c-border-2); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--c-border-2); }
.site-footer__brand { max-width: 280px; }
.site-footer__logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; color: var(--c-ink); }
.site-footer__logo:hover { opacity: 0.8; }
.site-footer__logo-text { font-family: var(--f-data); font-size: 1.125rem; font-weight: 700; letter-spacing: 0.08em; }
.site-footer__tagline { font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.5rem; color: var(--c-muted); }
.site-footer__powered { font-size: 0.8125rem; color: var(--c-muted); font-family: var(--f-data); }
.site-footer__col-title { font-family: var(--f-data); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink); margin-bottom: 1rem; }
.site-footer__links { display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__links a { font-size: 0.9rem; color: var(--c-muted); transition: color var(--t-fast); }
.site-footer__links a:hover { color: var(--c-accent); }
.site-footer__contact a { display: flex; align-items: center; gap: 0.5rem; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 1.25rem; flex-wrap: wrap; gap: 1rem; }
.site-footer__copy { font-size: 0.8125rem; color: var(--c-muted); font-family: var(--f-data); }
.site-footer__payment-icons { display: flex; gap: 0.5rem; align-items: center; }
.payment-badge { font-family: var(--f-data); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; padding: 0.25rem 0.625rem; border: 1px solid var(--c-border-2); border-radius: var(--r-sm); color: var(--c-muted); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero-carousel { max-width: 440px; }
  .hero-carousel__img { max-height: 360px; }
  .hero__ghost-num { font-size: 40vw; }
  .product-detail__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-gallery__main { max-width: 480px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-col { position: static; }
  .contact-page__grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  /* Anchor the dropdown directly under the header (sticky = positioned ancestor),
     so it stays flush regardless of the announcement bar height. */
  .site-header__nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--c-bg); border-bottom: 1px solid var(--c-border);
    padding: 0.5rem var(--pad-x) 1rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform var(--t-base), opacity var(--t-base), visibility var(--t-base);
    z-index: var(--z-nav); box-shadow: var(--shadow-md);
  }
  .site-header__nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-header__nav-list { flex-direction: column; gap: 0; }
  .site-header__nav-link { padding: 1rem 0.25rem; font-size: 1.0625rem; display: block; border-bottom: 1px solid var(--c-border); }
  .site-header__nav-link::after { display: none; }
  .site-header__nav-list li:last-child .site-header__nav-link { border-bottom: none; }
  .site-header__hamburger { display: flex; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.5rem; padding: 1.25rem var(--pad-x); }
  .hero__stat-divider { display: none; }
  .form-row--2 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .checkout-layout { gap: 2rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .hero__ctas { align-items: stretch; max-width: none; }
  .hero__shop-link { width: 100%; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
}
/* Compact horizontal product cards on phones */
@media (max-width: 560px) {
  .product-grid,
  .product-grid--shop { grid-template-columns: minmax(0, 1fr); gap: 0.875rem; }

  .product-card { flex-direction: row; align-items: stretch; }
  .product-card__image-link { flex: 0 0 112px; }
  .product-card__image-wrap { aspect-ratio: auto; height: 100%; min-height: 132px; }
  .product-card__body { padding: 0.75rem 0.875rem; gap: 0.35rem; min-width: 0; }
  .product-card__name { font-size: 0.9375rem; }
  .product-card__desc { display: none; }
  /* stack price above a full-width button so the nowrap label never overflows */
  .product-card__footer { border-top: none; padding-top: 0.4rem; flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .product-card__pricing { justify-content: center; }
  .product-card__add { width: 100%; padding: 0.55rem 0.75rem; }
  /* keep the hover-swap image from covering the primary image on touch */
  .product-card__img--hover { display: none; }
}

@media (max-width: 480px) {
  .hero-carousel { max-width: 100%; }
  .hero-carousel__img { max-height: 300px; }
  .hero__ghost-num { font-size: 70vw; }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
