/* ==========================================================================
   PEAKR — Design System  ·  "Sport Bold"
   Dark-first, aggressive sports-nutrition energy.
   Barlow Condensed + Barlow + JetBrains Mono · energy orange + green.
   Redesign layer only — no app logic depends on this file.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Russo+One&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600;700&display=swap');

/* ---------- Tokens : LIGHT ------------------------------------------------ */
:root[data-theme="light"] {
  /* Calm — warm paper, muted clay. Soft & quiet, never stark white. */
  --bg: #F1ECE5;
  --bg-sunken: #E7E0D6;
  --surface: #FBF8F3;
  --surface-2: #F0EAE1;
  --surface-3: #E6DED2;
  --border: #E1D8CB;
  --border-strong: #CEC4B5;

  --fg: #2B2620;
  --fg-muted: #6C6257;
  --fg-subtle: #9A8F81;

  --accent: #B06B4F;          /* muted clay */
  --accent-ink: #935640;
  --accent-weak: rgba(176, 107, 79, 0.10);
  --accent-line: rgba(176, 107, 79, 0.26);
  --accent-2: #C88B6F;

  --primary: #B06B4F;         /* clay CTA */
  --primary-fg: #FFFFFF;
  --primary-hover: #995A40;

  --success: #4E8C63;  --success-weak: rgba(78,140,99,.14);
  --warning: #B67A2E;  --warning-weak: rgba(182,122,46,.14);
  --danger:  #C0564B;  --danger-weak: rgba(192,86,75,.12);
  --info:    #4E7BA6;

  --ring: rgba(176, 107, 79, 0.45);
  --shadow-xs: 0 1px 2px rgba(60,45,35,.05);
  --shadow-sm: 0 2px 6px rgba(60,45,35,.08);
  --shadow-md: 0 12px 30px -12px rgba(60,45,35,.16);
  --shadow-lg: 0 30px 60px -20px rgba(60,45,35,.22);
  --header-bg: rgba(241, 236, 229, 0.82);
  color-scheme: light;
}

/* ---------- Tokens : DARK (default — sport) ------------------------------- */
:root {
  --font-display: 'Russo One', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Calm — warm paper, muted clay. Single theme across the whole site. */
  --bg: #F1ECE5;
  --bg-sunken: #E7E0D6;
  --surface: #FBF8F3;
  --surface-2: #F0EAE1;
  --surface-3: #E6DED2;
  --border: #E1D8CB;
  --border-strong: #CEC4B5;

  --fg: #2B2620;
  --fg-muted: #6C6257;
  --fg-subtle: #9A8F81;

  --accent: #B06B4F;          /* muted clay */
  --accent-ink: #935640;
  --accent-weak: rgba(176, 107, 79, 0.10);
  --accent-line: rgba(176, 107, 79, 0.26);
  --accent-2: #C88B6F;

  --primary: #B06B4F;
  --primary-fg: #FFFFFF;
  --primary-hover: #995A40;

  --success: #4E8C63;  --success-weak: rgba(78,140,99,.14);
  --warning: #B67A2E;  --warning-weak: rgba(182,122,46,.14);
  --danger:  #C0564B;  --danger-weak: rgba(192,86,75,.12);
  --info:    #4E7BA6;

  --ring: rgba(176, 107, 79, 0.45);
  --shadow-xs: 0 1px 2px rgba(60,45,35,.05);
  --shadow-sm: 0 2px 6px rgba(60,45,35,.08);
  --shadow-md: 0 12px 30px -12px rgba(60,45,35,.16);
  --shadow-lg: 0 30px 60px -20px rgba(60,45,35,.22);
  --header-bg: rgba(241, 236, 229, 0.82);

  /* geometry — sharper, sportier */
  --r-pill: 999px;
  --r-card: 8px;
  --r-input: 6px;
  --r-sm: 6px;
  --r-xs: 4px;
  --maxw: 1240px;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 72px;

  --ease: cubic-bezier(.2,.7,.3,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);   /* small natural overshoot */
  --ease-snap: cubic-bezier(.2,.9,.25,1);        /* fast responsive settle */
  --dur: .16s;
  --dur-fast: .13s;
  color-scheme: light;
}

/* Dark is the default (:root above). An explicit data-theme="dark" inherits it. */

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv05","ss01";
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--fg); }
strong, b { font-weight: 600; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ring); border-radius: var(--r-xs); }

/* ---------- Layout ------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-5); }
.section { padding-block: var(--space-7); }
.stack > * + * { margin-top: var(--space-4); }
.muted { color: var(--fg-muted); }
.eyebrow {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; font-weight: 500; color: var(--accent-ink);
}
.hr { height: 1px; background: var(--border); border: 0; }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: var(--space-5); height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; white-space: nowrap; min-width: 0; overflow: hidden; }
.brand__mark {
  width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center;
}
.brand__mark img { width: 100%; height: 100%; display: block; }
.brand__name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; }
.header-tools { flex: 0 0 auto; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.navlink {
  position: relative; padding: 8px 12px; border-radius: var(--r-sm);
  color: var(--fg-muted); font-size: .9rem; font-weight: 500;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.navlink::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out);
}
.navlink:hover { color: var(--fg); }
.navlink.is-active { color: var(--fg); }
.navlink.is-active::after { transform: scaleX(1); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: var(--r-pill);
  background: transparent; border: 1px solid var(--border); color: var(--fg);
  cursor: pointer; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform .08s var(--ease);
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.icon-btn:active { transform: scale(.93); }
.cart-count {
  position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center; border-radius: var(--r-pill);
  background: var(--accent); color: #fff; font-family: var(--font-mono);
  font-size: .66rem; font-weight: 600; border: 2px solid var(--bg);
}
.cart-count[hidden] { display: none; }
.cart-count.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 0%{transform:scale(1)} 30%{transform:scale(1.5)} 58%{transform:scale(.88)} 100%{transform:scale(1)} }
.nav-toggle { display: none; }

/* language picker */
.lang-picker { display: inline-flex; align-items: center; gap: 5px; height: 42px; padding: 0 8px 0 11px; border: 1px solid var(--border); border-radius: var(--r-pill); color: var(--fg-muted); transition: border-color var(--dur) var(--ease); }
.lang-picker:hover { border-color: var(--border-strong); color: var(--fg); }
.lang-picker select { appearance: none; background: transparent; border: 0; color: var(--fg); font-size: .82rem; font-weight: 600; cursor: pointer; padding-right: 2px; }
.lang-picker select:focus { outline: none; }
.lang-picker option { color: #111; }

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  --_bg: var(--surface); --_fg: var(--fg); --_bd: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border-radius: var(--r-sm); border: 1px solid var(--_bd);
  background: var(--_bg); color: var(--_fg); cursor: pointer; font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
  transition: transform .1s var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), opacity var(--dur);
}
.btn:hover { border-color: var(--fg-subtle); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn--primary {
  --_bg: var(--primary); --_fg: var(--primary-fg); --_bd: transparent;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { --_bg: var(--primary-hover); border-color: transparent; box-shadow: var(--shadow-md); }
.btn--ghost { --_bg: transparent; --_bd: var(--border); }
.btn--ghost:hover { --_bg: var(--surface-2); }
.btn--danger { --_bg: var(--danger-weak); --_fg: var(--danger); --_bd: transparent; }
.btn--danger:hover { --_bg: var(--danger); --_fg: #fff; border-color: transparent; }
.btn--block { width: 100%; }
.btn--lg { padding: 14px 24px; font-size: .98rem; }
.btn--sm { padding: 8px 13px; font-size: .82rem; }

/* ---------- Badges / status -------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: var(--r-xs); font-size: .72rem; font-weight: 500;
  font-family: var(--font-mono); letter-spacing: .02em;
  background: var(--surface-2); color: var(--fg-muted); border: 1px solid var(--border);
}
.badge--accent { background: var(--accent-weak); color: var(--accent-ink); border-color: var(--accent-line); }
.badge--stock { color: var(--success); background: var(--success-weak); border-color: transparent; }
.badge--low { color: var(--warning); background: var(--warning-weak); border-color: transparent; }
.badge--out { color: var(--danger); background: var(--danger-weak); border-color: transparent; }
.status-dot { width: 7px; height: 7px; border-radius: var(--r-pill); background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }
.status--pending { color: var(--warning); }
.status--paid, .status--processing { color: var(--accent-ink); }
.status--shipped { color: var(--info); }
.status--completed { color: var(--success); }
.status--cancelled { color: var(--danger); }

/* ---------- Alerts ------------------------------------------------------ */
.alert {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--r-input); font-size: .88rem;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--fg-muted);
}
.alert--info { background: var(--accent-weak); border-color: var(--accent-line); color: var(--fg); }

/* ---------- Catalog grid + cards --------------------------------------- */
.grid-products { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--surface-2); display: block; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.045); }
.card__quick { position: absolute; inset-inline: 12px; bottom: 12px; opacity: 0; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease-out); }
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: translateY(0); }
.card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card__cat { font-family: var(--font-mono); font-size: .68rem; color: var(--fg-subtle); text-transform: uppercase; letter-spacing: .12em; }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; line-height: 1.05; letter-spacing: .01em; color: var(--fg); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 10px; }
.price { font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; font-feature-settings: "tnum"; }
.price--sm { font-size: 1.02rem; }
.img-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--fg-subtle);
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3)); }

/* stagger reveal for grid children */
.grid-products .reveal:nth-child(1){transition-delay:.02s}.grid-products .reveal:nth-child(2){transition-delay:.06s}
.grid-products .reveal:nth-child(3){transition-delay:.10s}.grid-products .reveal:nth-child(4){transition-delay:.14s}
.grid-products .reveal:nth-child(5){transition-delay:.18s}.grid-products .reveal:nth-child(6){transition-delay:.22s}
.grid-products .reveal:nth-child(7){transition-delay:.26s}.grid-products .reveal:nth-child(8){transition-delay:.30s}

/* ---------- Hero (sport, performance) ----------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: var(--space-8) var(--space-7); margin-bottom: var(--space-6); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__bg .glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__bg .glow-1 { width: 620px; height: 620px; right: -140px; top: -220px; background: radial-gradient(circle, var(--accent) 0%, transparent 66%); }
.hero__bg .glow-2 { width: 460px; height: 460px; left: -160px; bottom: -220px; background: radial-gradient(circle, var(--accent-2, var(--accent)) 0%, transparent 68%); opacity: .35; }
.hero__bg .photo { position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; object-fit: cover; opacity: .42; filter: grayscale(.15) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 46%); mask-image: linear-gradient(90deg, transparent, #000 46%); }
.hero__scrim { position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 26%, rgba(14,17,22,.35) 62%, transparent 88%), linear-gradient(0deg, var(--bg), transparent 42%); }
.hero__bg .bolt { position: absolute; right: 3%; top: -4%; height: 118%; width: auto; opacity: .42; }
.hero__bg .grid { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .9fr; gap: var(--space-7); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: .005em; line-height: .92; }
.hero h1 .gold, .hero h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--accent), var(--accent-2, var(--accent))); -webkit-background-clip: text; background-clip: text; }
.hero p { color: var(--fg-muted); font-size: 1.08rem; max-width: 44ch; }
.hero__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-5); }

/* social proof (avatar stack + big number) */
.proof { display: flex; align-items: center; gap: 16px; margin-top: var(--space-6); }
.proof__num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--fg); }
.proof__num span { color: var(--accent); }
.proof__meta { display: flex; flex-direction: column; gap: 8px; }
.proof__label { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-subtle); }
.avatars { display: flex; align-items: center; }
.avatars img, .avatars .av { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -12px; object-fit: cover; }
.avatars .av { display: grid; place-items: center; color: #fff; font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .02em; }
.avatars .av:first-child, .avatars img:first-child { margin-left: 0; }
.avatars .more { display: inline-flex; align-items: center; gap: 5px; margin-left: 12px; padding: 7px 12px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); color: var(--fg); font-size: .78rem; font-weight: 600; }
.avatars .more:hover { border-color: var(--accent); color: var(--accent-ink); }

/* benefit pills (right column) */
.hero__side { display: flex; flex-direction: column; gap: var(--space-3); }
.pill { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--border); font-weight: 600; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.pill:hover { transform: translateX(4px); border-color: var(--accent); }
.pill:nth-child(1) { background: linear-gradient(100deg, var(--accent-weak), transparent); border-color: var(--accent-line); }
.pill__ic { width: 26px; height: 26px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--primary-fg); }

/* ---------- Benefits strip --------------------------------------------- */
.bennies { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--space-4); }
.benny { border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--r-card); padding: var(--space-5); background: var(--surface); display: flex; flex-direction: column; gap: 8px; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.benny:hover { transform: translateY(-3px); border-color: var(--accent); }
.benny__ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--accent-weak); color: var(--accent-ink); }
.benny h3 { font-size: 1.25rem; }
.benny p { color: var(--fg-muted); font-size: .9rem; line-height: 1.5; }

/* ---------- Reviews ---------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-4); }
.review { border: 1px solid var(--border); border-radius: var(--r-card); padding: var(--space-5); background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.review__stars { color: var(--accent); letter-spacing: 3px; font-size: .9rem; }
.review__text { font-size: .95rem; line-height: 1.55; }
.review__name { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-subtle); margin-top: auto; }
.section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: var(--space-5); }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head .rule { flex: 1; height: 2px; background: var(--border); }

/* ---------- Reviews page ----------------------------------------------- */
.reviews-hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr .9fr; gap: var(--space-7); align-items: center; }
.reviews-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
.rating-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: var(--space-6); box-shadow: var(--shadow-md); }
.rating-top { display: flex; align-items: center; gap: 16px; }
.rating-big { font-family: var(--font-display); font-weight: 800; font-size: 4.4rem; line-height: 1; color: var(--fg); }
.rating-stars { color: var(--accent); letter-spacing: 3px; font-size: 1.1rem; }
.rating-count { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-subtle); }
.rbars { display: flex; flex-direction: column; gap: 7px; margin-top: var(--space-5); }
.rbar { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.rbar .track { flex: 1; height: 7px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.rbar .fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2, var(--accent))); }
.follow { text-align: center; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); padding: var(--space-7) var(--space-5); }
.follow .socials { justify-content: center; margin-top: var(--space-4); }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .82rem; flex: 0 0 auto; }
.review__who { display: flex; flex-direction: column; }
.review__badge { margin-left: auto; font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .06em; color: var(--success); background: var(--success-weak); padding: 3px 7px; border-radius: var(--r-xs); }
@media (max-width: 900px) { .reviews-hero { grid-template-columns: 1fr; } }

/* ---------- Toolbar / filters ------------------------------------------ */
.toolbar { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; margin-bottom: var(--space-5); }
.field { position: relative; }
.input, .select, .textarea {
  width: 100%; padding: 11px 13px; background: var(--surface); color: var(--fg);
  border: 1px solid var(--border-strong); border-radius: var(--r-input);
  font-size: .95rem; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur);
}
.input::placeholder, .textarea::placeholder { color: var(--fg-subtle); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--fg-subtle); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-weak); }
.textarea { min-height: 104px; resize: vertical; line-height: 1.55; }
.select { appearance: none; cursor: pointer; padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-muted) 50%), linear-gradient(135deg, var(--fg-muted) 50%, transparent 50%);
  background-position: right 16px center, right 11px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.search { min-width: 220px; flex: 1; }
.search .input { padding-left: 40px; }
.search > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--fg-subtle); pointer-events: none; }

/* ---------- Forms ------------------------------------------------------- */
.form-grid { display: grid; gap: var(--space-4); }
.form-row { display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; }
.contacts-grid { display: grid; gap: var(--space-3) var(--space-4); grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .contacts-grid { grid-template-columns: 1fr; } }
.label { display: block; font-size: .8rem; font-weight: 500; margin-bottom: 7px; color: var(--fg); letter-spacing: .01em; }
.label .req { color: var(--danger); }
.hint { font-size: .78rem; color: var(--fg-subtle); margin-top: 6px; }
.error-text { font-size: .78rem; color: var(--danger); margin-top: 6px; min-height: 1em; }
.field--invalid .input, .field--invalid .select, .field--invalid .textarea { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-weak); }

/* ---------- Product detail --------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-7); align-items: start; }
.gallery__main { position: relative; aspect-ratio: 1/1; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
/* swipeable track (drag with momentum) */
.gallery__track { display: flex; height: 100%; touch-action: pan-y; cursor: grab; will-change: transform; }
.gallery__track.dragging { cursor: grabbing; }
.gallery__track > img { min-width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; gap: 6px; justify-content: center; z-index: 2; }
.gallery__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); transition: transform var(--dur) var(--ease-spring), background var(--dur); }
.gallery__dots i.on { background: var(--accent); transform: scale(1.35); }

/* horizontal drag rail (you-may-like) */
.rail { display: flex; gap: var(--space-5); overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding-bottom: 4px; cursor: grab; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail > .card { min-width: 250px; max-width: 250px; scroll-snap-align: start; }
.rail.dragging a { pointer-events: none; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumb { width: 66px; height: 66px; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--border); outline: 2px solid transparent; outline-offset: 1px; cursor: pointer; background: var(--surface-2); transition: outline-color var(--dur) var(--ease); }
.gallery__thumb.is-active { outline-color: var(--accent); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__title { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 600; letter-spacing: -.02em; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-pill); overflow: hidden; background: var(--surface); }
.qty button { width: 42px; height: 46px; background: transparent; border: 0; cursor: pointer; font-size: 1.15rem; color: var(--fg); transition: background .15s; }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 46px; height: 46px; text-align: center; border: 0; background: transparent; font-variant-numeric: tabular-nums; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- Cart -------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--space-6); align-items: start; }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: var(--space-4); align-items: center;
  padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); transition: border-color var(--dur) var(--ease); }
.cart-item:hover { border-color: var(--border-strong); }
.cart-item__img { width: 92px; height: 92px; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.summary { position: sticky; top: 84px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); padding: var(--space-5); box-shadow: var(--shadow-xs); }
.summary__row { display: flex; justify-content: space-between; padding: 7px 0; color: var(--fg-muted); font-size: .92rem; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--space-4); margin-top: var(--space-3); border-top: 1px solid var(--border); }
.summary__total b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; font-feature-settings: "tnum"; }

/* ---------- Checkout / payment ----------------------------------------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-6); align-items: start; }
.panel { border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); padding: var(--space-5); box-shadow: var(--shadow-xs); }
.panel + .panel { margin-top: var(--space-5); }
.panel__title { font-family: var(--font-body); font-weight: 600; font-size: .98rem; margin-bottom: var(--space-4); display: flex; align-items: center; gap: 10px; letter-spacing: -.005em; }
.step-num { width: 25px; height: 25px; border-radius: var(--r-pill); background: var(--primary); color: var(--primary-fg); display: grid; place-items: center; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; }
.coin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: var(--space-3); }
.coin { position: relative; border: 1px solid var(--border-strong); border-radius: var(--r-input); padding: 13px; cursor: pointer;
  display: flex; flex-direction: column; gap: 3px; text-align: left; background: var(--surface);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform .1s; }
.coin:hover { border-color: var(--fg-subtle); }
.coin.is-selected { border-color: var(--accent); background: var(--accent-weak); box-shadow: 0 0 0 1px var(--accent); }
.coin.is-selected::after { content: "✓"; position: absolute; top: 9px; right: 11px; color: var(--accent-ink); font-weight: 700; font-size: .85rem; }
.coin__sym { font-weight: 700; font-size: 1.02rem; }
.coin__net { font-family: var(--font-mono); font-size: .66rem; color: var(--fg-subtle); letter-spacing: .02em; }
.coin__badge { display: inline-block; align-self: flex-start; margin-top: 6px; padding: 2px 8px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: .58rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--success-weak); color: var(--success); }
.pay-box { margin-top: var(--space-5); border-top: 1px dashed var(--border-strong); padding-top: var(--space-5); display: none; }
.pay-box.is-open { display: block; animation: fade .3s var(--ease); }
.pay-grid { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: center; }
.qr-frame { width: 164px; height: 164px; padding: 10px; background: #fff; border-radius: var(--r-input); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.qr-frame svg, .qr-frame img { width: 100%; height: 100%; }
.addr { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-input); padding: 10px 12px; word-break: break-all; font-family: var(--font-mono); font-size: .8rem; }

/* ---------- Certificates / lab reports --------------------------------- */
.cert-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cert { border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; background: var(--surface); cursor: zoom-in; display: flex; flex-direction: column; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.cert:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.cert__img { aspect-ratio: 3/4; overflow: hidden; background: var(--surface-2); position: relative; }
.cert__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cert__pass { position: absolute; top: 10px; right: 10px; font-family: var(--font-mono); font-size: .58rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--success-weak); color: var(--success); padding: 4px 8px; border-radius: var(--r-xs); }
.cert__body { padding: var(--space-4); display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cert__title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.1; }
.cert__meta { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-subtle); margin-top: auto; }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: var(--space-5); background: rgba(6,8,11,.88); backdrop-filter: blur(6px); animation: fade .2s var(--ease); }
.lightbox img { max-width: min(560px, 92vw); max-height: 90vh; border-radius: var(--r-card); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 18px; right: 18px; }

/* ---------- Support channels ------------------------------------------- */
.channel { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-input); background: var(--surface); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.channel:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateX(2px); }
.channel__ic { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--accent-weak); color: var(--accent-ink); }
.channel__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.channel__name { font-weight: 600; font-size: .92rem; }
.channel__val { font-size: .82rem; color: var(--fg-muted); font-family: var(--font-mono); word-break: break-all; }
.channel > svg:last-child { color: var(--fg-subtle); flex: 0 0 auto; }

/* ---------- Order confirmation ----------------------------------------- */
.confirm-hero { text-align: center; padding-block: var(--space-6); }
.confirm-check { width: 72px; height: 72px; border-radius: var(--r-pill); display: grid; place-items: center; margin: 0 auto var(--space-4); background: var(--success-weak); color: var(--success); animation: pop .5s var(--ease-out); }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 9px 16px; }
.kv dt { color: var(--fg-muted); font-size: .86rem; }
.kv dd { word-break: break-word; }

/* ---------- Admin ------------------------------------------------------- */
.tabs { display: inline-flex; gap: 3px; background: var(--surface-2); padding: 4px; border-radius: var(--r-pill); border: 1px solid var(--border); }
.tab { padding: 8px 17px; border-radius: var(--r-pill); cursor: pointer; font-weight: 500; font-size: .87rem; color: var(--fg-muted); background: transparent; border: 0; transition: all var(--dur) var(--ease); }
.tab.is-active { background: var(--surface); color: var(--fg); box-shadow: var(--shadow-sm); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .87rem; min-width: 680px; }
table.data th, table.data td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data th { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-subtle); font-weight: 500; background: var(--surface-2); position: sticky; top: 0; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background var(--dur) var(--ease); }
table.data tbody tr:hover td { background: var(--surface-2); }
.thumb-xs { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; background: var(--surface-2); border: 1px solid var(--border); }
.row-actions { display: flex; gap: 6px; }
.uploader { border: 1.5px dashed var(--border-strong); border-radius: var(--r-input); padding: var(--space-5); text-align: center; cursor: pointer; color: var(--fg-muted); transition: border-color var(--dur), background var(--dur), color var(--dur); }
.uploader:hover { border-color: var(--accent); color: var(--fg); }
.uploader.is-drag { border-color: var(--accent); background: var(--accent-weak); color: var(--fg); }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-4); }
.thumb { position: relative; width: 82px; height: 82px; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); cursor: grab; }
.thumb.dragging { opacity: .4; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__del { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: var(--r-pill); border: 0; background: rgba(0,0,0,.66); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 12px; }
.thumb__main { position: absolute; bottom: 0; inset-inline: 0; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: .56rem; font-weight: 600; letter-spacing: .08em; text-align: center; padding: 2px; }

/* ---------- Modal ------------------------------------------------------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(10,8,6,.5); backdrop-filter: blur(3px); z-index: 100; display: grid; place-items: start center; padding: var(--space-6) var(--space-4); overflow-y: auto; animation: fade .2s var(--ease); }
.modal { width: 100%; max-width: 620px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--r-card); box-shadow: var(--shadow-lg); animation: pop .32s var(--ease-spring); }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-5); border-bottom: 1px solid var(--border); }
.modal__body { padding: var(--space-5); }
.modal__foot { padding: var(--space-5); border-top: 1px solid var(--border); display: flex; gap: var(--space-3); justify-content: flex-end; }

/* ---------- Toasts ------------------------------------------------------ */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 11px 17px; border-radius: var(--r-pill); background: var(--fg); color: var(--bg); box-shadow: var(--shadow-md); font-size: .88rem; font-weight: 500; animation: toastIn .3s var(--ease-out); }
.toast__dot { width: 7px; height: 7px; border-radius: var(--r-pill); background: currentColor; }
.toast--ok .toast__dot { background: var(--success); }
.toast--err .toast__dot { background: var(--danger); }
.toast.hide { animation: toastOut .25s var(--ease) forwards; }

/* ---------- Tactile / spring interactions (TikTok-like feel) ------------ */
.btn, .coin, .pill, .tab, .icon-btn, .card, .cert, .channel, .social,
.thumb, .gallery__thumb, .qty button, .add-btn, .lang-picker {
  transition-timing-function: var(--ease-spring);
}
.btn:active { transform: scale(.955); }
.icon-btn:active { transform: scale(.88); }
.coin:active, .pill:active, .cert:active, .channel:active, .social:active,
.gallery__thumb:active, .tab:active { transform: scale(.96); }
.card:active { transform: scale(.985); }
.qty button:active { transform: scale(.85); }
.navlink:active { transform: scale(.94); }

/* sliding nav active indicator — one physical object that moves */
.site-nav { position: relative; }
.navlink::after { display: none; }              /* replaced by shared indicator */
.nav-underline {
  position: absolute; bottom: 2px; left: 0; height: 2px; width: 0;
  background: var(--accent); border-radius: 2px; opacity: 0; pointer-events: none;
  transform: translateX(0);
  transition: transform .34s var(--ease-spring), width .34s var(--ease-spring), opacity .2s var(--ease-out);
}

/* fly-to-cart clone */
.fly-clone { position: fixed; z-index: 250; border-radius: 10px; object-fit: cover;
  pointer-events: none; box-shadow: var(--shadow-lg); }

/* ---------- Empty state ------------------------------------------------- */
.empty { text-align: center; padding: var(--space-8) var(--space-4); color: var(--fg-muted); }
.empty svg { color: var(--fg-subtle); margin: 0 auto var(--space-4); }
.empty h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--fg); margin-bottom: 6px; }

/* ---------- Skeleton (loading state) ------------------------------------ */
.sk { position: relative; overflow: hidden; background: var(--surface-2); border-radius: var(--r-xs); }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fg) 7%, transparent), transparent);
  animation: shimmer 1.3s infinite; }
.sk-card { border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.sk-card .sk-media { aspect-ratio: 4/5; border-radius: 0; }
.sk-line { height: 12px; margin: 10px var(--space-4); }
.sk-line.sh { width: 45%; } .sk-line.lg { height: 18px; width: 70%; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* ---------- Footer ------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--border); margin-top: var(--space-8); background: var(--bg-sunken); }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: var(--space-5); justify-content: space-between; align-items: center; padding-block: var(--space-6); }
.site-footer small { color: var(--fg-subtle); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-sm); border: 1px solid var(--border); color: var(--fg-muted); background: var(--surface); transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.social:hover { color: var(--accent-ink); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Animations -------------------------------------------------- */
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes pop { from { opacity: 0; transform: scale(.94) } to { opacity: 1; transform: scale(1) } }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: translateY(0) } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px) } }
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-6); align-items: start; }
  .hero__bg .bolt { opacity: .28; right: -20%; }
}
@media (max-width: 560px) {
  .proof__num { font-size: 2.1rem; }
}
@media (max-width: 900px) {
  .pdp, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt { margin-top: 8px; }
}
@media (max-width: 900px) {
  .site-nav {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    padding: var(--space-3) var(--space-5) var(--space-5); margin-left: 0;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .navlink { padding: 13px 14px; }
  .navlink::after { display: none; }
  .nav-toggle { display: inline-grid; }
  .brand__name { font-size: 1.12rem; }
  .site-header__inner { gap: var(--space-3); }
  .coin-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item__ctrl { grid-column: 1 / -1; flex-direction: row !important; justify-content: space-between; }
  .pay-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .container { padding-inline: var(--space-4); }
}
@media (max-width: 420px) {
  .grid-products { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .card__body { padding: var(--space-3); }
  .card__title { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .sk::after { animation: none; }
}

/* ================= TOONHUB-style hero carousel ================= */
body.home { overflow-x: hidden; }
body.home:not(.scrolled) .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
body.home:not(.scrolled) .site-header .brand__name,
body.home:not(.scrolled) .site-header .navlink { color: #fff; }
body.home:not(.scrolled) .site-header .navlink:hover { color: #fff; opacity: .85; }
body.home:not(.scrolled) .site-header .icon-btn { color: #fff; border-color: rgba(255,255,255,.4); }
body.home:not(.scrolled) .site-header .icon-btn:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); }
.site-header { transition: background-color .3s var(--ease), border-color .3s var(--ease); }

.toon {
  position: relative; z-index: 0;
  width: 100vw; left: 50%; margin-left: -50vw; margin-right: -50vw;   /* full-bleed */
  margin-top: -66px;                                                  /* under sticky header */
  height: 100vh; overflow: hidden;
  font-family: 'Inter', sans-serif; color: #fff; user-select: none;
  transition: background-color 820ms cubic-bezier(0.33,1,0.68,1);
}
.toon__stage { position: relative; width: 100%; height: 100vh; overflow: hidden; touch-action: pan-y; }

.toon__grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 50; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 200px 200px; background-repeat: repeat;
}

.toon__ghost {
  position: absolute; inset-inline: 0; top: 18%; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; user-select: none;
  font-family: 'Anton', sans-serif; font-weight: 900;
  font-size: clamp(90px, 28vw, 380px); line-height: 1;
  text-transform: uppercase; letter-spacing: -0.02em; white-space: nowrap;
  color: #fff; opacity: 1;
}

.toon__carousel { position: absolute; inset: 0; z-index: 3; }
.toon__item {
  position: absolute; width: auto;
  transition: transform 820ms cubic-bezier(0.33,1,0.68,1),
              filter 820ms cubic-bezier(0.33,1,0.68,1),
              opacity 820ms cubic-bezier(0.33,1,0.68,1),
              left 820ms cubic-bezier(0.33,1,0.68,1),
              height 820ms cubic-bezier(0.33,1,0.68,1),
              bottom 820ms cubic-bezier(0.33,1,0.68,1);
  will-change: transform, filter, opacity; cursor: pointer;
}
.toon__item img { width: auto; height: 100%; object-fit: contain; object-position: bottom center; pointer-events: none; -webkit-user-drag: none; filter: drop-shadow(0 30px 40px rgba(0,0,0,.28)); }

.toon__info { position: absolute; bottom: 24px; left: 16px; z-index: 60; max-width: 320px; }
.toon__kicker { font-weight: 700; text-transform: uppercase; letter-spacing: .02em; opacity: .95; font-size: 16px; margin: 0 0 6px; }
.toon__name { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 20px; letter-spacing: .01em; text-transform: uppercase; opacity: .9; margin: 0 0 10px; }
.toon__desc { font-size: 12px; line-height: 1.6; opacity: .85; margin: 0 0 16px; }
.toon__nav { display: flex; gap: 12px; }
.toon__btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: 2px solid #fff; color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: transform 150ms, background-color 150ms;
}
.toon__btn:hover { transform: scale(1.08); background: rgba(255,255,255,0.12); }

.toon__discover {
  position: absolute; bottom: 24px; right: 16px; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Anton', sans-serif; font-weight: 400;
  font-size: clamp(20px, 4vw, 56px); line-height: 1;
  letter-spacing: -0.02em; text-transform: uppercase;
  color: #fff; opacity: .95; text-decoration: none;
  transition: opacity 200ms;
}
.toon__discover:hover { opacity: 1; }
.toon__discover svg { width: 20px; height: 20px; }

@media (min-width: 640px) {
  .toon__info { bottom: 80px; left: 96px; }
  .toon__kicker { font-size: 22px; margin-bottom: 12px; }
  .toon__desc { font-size: 14px; margin-bottom: 20px; }
  .toon__btn { width: 64px; height: 64px; }
  .toon__discover { bottom: 80px; right: 40px; }
  .toon__discover svg { width: 32px; height: 32px; }
}
@media (max-width: 639px) {
  .toon__desc { display: none; }
  .toon__name { font-size: 16px; }
}

.toon__dots {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 60; display: flex; gap: 10px;
}
.toon__dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.4); border: 0;
  transition: width .35s cubic-bezier(0.33,1,0.68,1), background .35s ease;
}
.toon__dot.on { width: 26px; border-radius: 6px; background: #fff; }
@media (min-width: 640px) { .toon__dots { bottom: 40px; } }

/* ================= Product page — category colour block ================= */
.pdp-hero {
  position: relative; width: 100vw; left: 50%; margin-left: -50vw; margin-right: -50vw;
  margin-top: 0; margin-bottom: var(--space-7);
  background: #94908c; color: #fff; overflow: hidden;
  padding-block: var(--space-6) var(--space-8);
}
.pdp-hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-5); }
.pdp-hero__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 200px 200px; background-repeat: repeat;
}
.pdp-hero .pdp__title { color: #fff; }
.pdp-hero .card__cat { color: rgba(255,255,255,.82); }
.pdp-hero .muted { color: rgba(255,255,255,.84); }
.pdp-hero .price { color: #fff; }
.pdp-hero .pdp-back { color: rgba(255,255,255,.9); }
.pdp-hero .pdp-back:hover { color: #fff; }
.pdp-hero .hr { background: rgba(255,255,255,.28); }
.pdp-hero .gallery__main { background: transparent; box-shadow: none; border: 0; }
.pdp-hero .gallery__main img { filter: drop-shadow(0 24px 34px rgba(0,0,0,.28)); }
.pdp-hero .gallery__thumb { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.12); }
.pdp-hero .gallery__thumb.is-active { border-color: #fff; }
.pdp-hero .gallery__dots i { background: rgba(255,255,255,.5); }
.pdp-hero .gallery__dots i.on { background: #fff; }
.pdp-hero .btn--primary { background: #fff; color: #20201e; border-color: #fff; }
.pdp-hero .btn--primary:hover { background: rgba(255,255,255,.9); }
.pdp-hero .qty { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.14); }
.pdp-hero .qty input, .pdp-hero .qty button { color: #fff; }
.pdp-hero .qty button:hover { background: rgba(255,255,255,.2); }

/* ================= Reusable colour-block page header ================= */
.page-hero {
  position: relative; width: 100vw; left: 50%; margin-left: -50vw; margin-right: -50vw;
  margin-top: 0; margin-bottom: var(--space-7);
  background: #94908c; color: #fff; overflow: hidden;
  padding-block: var(--space-7) var(--space-8);
}
.page-hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-5); }
.page-hero__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 200px 200px; background-repeat: repeat;
}
.page-hero__eyebrow {
  display: inline-block; font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: .2em; font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.85);
  margin-bottom: 14px;
}
.page-hero__title { color: #fff; font-size: clamp(44px, 8vw, 108px); line-height: .92; letter-spacing: -.01em; }
.page-hero__sub { color: rgba(255,255,255,.9); font-size: 1.05rem; max-width: 54ch; margin-top: 16px; }

/* ================= Extra motion ================= */
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.page-hero__eyebrow { animation: heroRise .55s var(--ease-out) both; }
.page-hero__title   { animation: heroRise .7s  var(--ease-out) both; animation-delay: .07s; }
.page-hero__sub     { animation: heroRise .7s  var(--ease-out) both; animation-delay: .15s; }
.pdp-hero .card__cat { animation: heroRise .55s var(--ease-out) both; }
.pdp-hero .pdp__title { animation: heroRise .7s var(--ease-out) both; animation-delay: .06s; }

/* rating bars grow on load */
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rbar .fill { transform-origin: left; animation: barGrow 1s var(--ease-out) both; }
.rbar:nth-child(1) .fill { animation-delay: .10s; }
.rbar:nth-child(2) .fill { animation-delay: .18s; }
.rbar:nth-child(3) .fill { animation-delay: .26s; }
.rbar:nth-child(4) .fill { animation-delay: .34s; }
.rbar:nth-child(5) .fill { animation-delay: .42s; }

/* the big rating number pops in */
@keyframes popIn { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
.rating-big { animation: popIn .6s var(--ease-spring) both; }

/* subtle lift on review & certificate cards */
.review, .cert { transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out); }
.review:hover, .cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert__img img { transition: transform .5s var(--ease-out); }
.cert:hover .cert__img img { transform: scale(1.05); }

/* summary / panel cards ease in */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.summary, .panel, .rating-card, .confirm-hero { animation: fadeUp .6s var(--ease-out) both; }

/* nav links + footer socials micro-motion */
.social { transition: transform .2s var(--ease-spring), background .2s var(--ease), color .2s var(--ease); }
.social:hover { transform: translateY(-3px) scale(1.06); }

/* ================= Smoother motion, round 2 ================= */
/* gentle page-enter on every navigation */
@keyframes appEnter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
#app { animation: appEnter .55s var(--ease-out) both; }

/* stagger reveals for review & certificate grids */
.reviews .reveal:nth-child(1){transition-delay:.02s}.reviews .reveal:nth-child(2){transition-delay:.06s}
.reviews .reveal:nth-child(3){transition-delay:.10s}.reviews .reveal:nth-child(4){transition-delay:.14s}
.reviews .reveal:nth-child(5){transition-delay:.18s}.reviews .reveal:nth-child(6){transition-delay:.22s}
.reviews .reveal:nth-child(7){transition-delay:.26s}.reviews .reveal:nth-child(8){transition-delay:.30s}
.reviews .reveal:nth-child(9){transition-delay:.34s}
.cert-grid .reveal:nth-child(1){transition-delay:.03s}.cert-grid .reveal:nth-child(2){transition-delay:.09s}
.cert-grid .reveal:nth-child(3){transition-delay:.15s}.cert-grid .reveal:nth-child(4){transition-delay:.21s}
.cert-grid .reveal:nth-child(5){transition-delay:.27s}.cert-grid .reveal:nth-child(6){transition-delay:.33s}

/* ambient drift on the giant ghost word */
@keyframes ghostDrift { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
.toon__ghost { animation: ghostDrift 7s ease-in-out infinite alternate; }

/* pills / benefit chips & category color-block hover polish */
.card__cat { transition: color .2s var(--ease); }

/* smooth focus ring pulse on inputs */
.input:focus, .select:focus, textarea:focus { transition: box-shadow .25s var(--ease-out), border-color .25s var(--ease-out); }

/* buttons get a soft press + hover glide */
.btn { transition: transform .14s var(--ease-spring), background-color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

@media (prefers-reduced-motion: reduce) {
  #app, .toon__ghost { animation: none !important; }
}

/* ================= Smoother motion, round 3 ================= */
/* header settles on scroll: subtle shrink + elevation */
.site-header__inner { transition: height .3s var(--ease-out); }
.hdr-shrink .site-header__inner { height: 56px; }
.hdr-shrink .site-header { box-shadow: 0 8px 22px -14px rgba(60,45,35,.45); }
body.home:not(.scrolled) .site-header { box-shadow: none; }
.page-hero__inner, .page-hero__grain { will-change: transform; }
.toon__carousel { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .site-header__inner { transition: none; }
  .hdr-shrink .site-header__inner { height: 66px; }
}

/* =====================================================================
   POLISH LAYER - sport finish. Visual only; no logic depends on it.
   ===================================================================== */

/* full-bleed heroes sit flush under the header, even inside main.section */
main.section > .page-hero:first-child,
main.section > .pdp-hero:first-child { margin-top: calc(-1 * var(--space-7)); }
.section--tight { padding-block: var(--space-6) 0; }

/* ---- product imagery: tinted stage, whole product, never cropped ---- */
.card__media {
  background:
    radial-gradient(80% 60% at 50% 32%, color-mix(in srgb, #fff 55%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--cat, var(--accent)) 16%, var(--surface)) 0%, color-mix(in srgb, var(--cat, var(--accent)) 34%, var(--surface-2)) 100%);
}
.card__media::before {                      /* speed lines, top-right, very faint */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.3) 0 1px, transparent 1px 15px);
  -webkit-mask-image: linear-gradient(210deg, #000 0%, transparent 48%); mask-image: linear-gradient(210deg, #000 0%, transparent 48%);
}
.card__media img {
  position: relative; z-index: 1; object-fit: contain; padding: 9% 13% 11%;
  filter: drop-shadow(0 14px 16px rgba(45,30,20,.22));
  transition: transform .6s var(--ease-out), filter .6s var(--ease-out);
}
.card:hover .card__media img { transform: translateY(-7px) scale(1.035); filter: drop-shadow(0 26px 22px rgba(45,30,20,.28)); }
.card__media > span[style] { z-index: 2; }
.card__quick { z-index: 2; }
.card .card__cat { display: inline-flex; align-items: center; gap: 7px; }
.card .card__cat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cat, var(--accent)); flex: 0 0 auto; }
.card__title { transition: color .2s var(--ease); }
.card:hover .card__title { color: var(--accent-ink); }
.card .price { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; letter-spacing: .01em; }
.card__foot .navlink {
  width: 38px; height: 38px; padding: 0; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border-strong); color: var(--fg);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease-spring);
}
.card:hover .card__foot .navlink { background: var(--fg); color: var(--bg); border-color: var(--fg); transform: rotate(-45deg); }

/* product page gallery + small thumbs: show the whole product */
.gallery__main img, .gallery__track > img { object-fit: contain; padding: 3%; }
.gallery__thumb img { object-fit: contain; padding: 6%; }
.cart-item__img { background: linear-gradient(180deg, var(--surface-2), var(--surface-3)); }
.cart-item__img img { object-fit: contain; padding: 7%; }
img.thumb-xs { object-fit: contain; padding: 2px; }
.pdp-hero .badge { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.28); }
.pdp-hero .gallery__thumb { background: rgba(255,255,255,.16); }

/* ---- catalog head, search/sort row, category chips ---- */
.catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: var(--space-5); }
.catalog-head .eyebrow { display: block; margin-bottom: 10px; }
.catalog-head h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: .9; }
.catalog-count { font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-subtle); padding-bottom: 6px; }
.toolbar { flex-wrap: nowrap; margin-bottom: var(--space-4); }
.toolbar .search { flex: 1; min-width: 0; }
.toolbar .select { width: auto; min-width: 200px; flex: 0 0 auto; }
.toolbar .search .input, .toolbar .select { height: 50px; border-radius: var(--r-pill); }
.toolbar .search .input { padding-left: 46px; }
.toolbar .search > svg { left: 18px; }
.toolbar .select { padding-left: 18px; background-position: right 20px center, right 15px center; }
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: var(--space-5);
  scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--fg-muted); font-size: .84rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .16s var(--ease-spring);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--cat, var(--fg-subtle)); transition: transform .3s var(--ease-spring); }
.chip:hover { color: var(--fg); border-color: var(--fg-subtle); }
.chip:hover i { transform: scale(1.3); }
.chip:active { transform: scale(.95); }
.chip.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip:focus-visible { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ring); }

/* ---- benefits strip under the hero ---- */
.bennies { grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: calc(var(--r-card) + 4px); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-xs); }
.benny { flex-direction: row; align-items: flex-start; gap: 14px; border: 0; border-left: 1px solid var(--border); border-radius: 0; background: transparent; padding: var(--space-5); transition: background .25s var(--ease); }
.benny:first-child { border-left: 0; }
.benny:hover { transform: none; border-color: var(--border); background: var(--surface-2); }
.benny__ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; transition: transform .4s var(--ease-spring), background .25s var(--ease), color .25s var(--ease); }
.benny:hover .benny__ic { transform: rotate(-10deg) scale(1.08); background: var(--accent); color: #fff; }
.benny h3 { font-size: 1.15rem; margin-bottom: 5px; }
.benny p { font-size: .86rem; }

/* ---- photo promo block ---- */
.promo { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 460px; border-radius: calc(var(--r-card) + 8px); background: #16110d; color: #fff; box-shadow: var(--shadow-lg); }
.promo__img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 72% 42%; z-index: -2; will-change: transform; }
.promo__scrim { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,14,10,.95) 0%, rgba(20,14,10,.8) 36%, rgba(20,14,10,.2) 70%, rgba(20,14,10,.05) 100%),
    radial-gradient(55% 90% at 0% 100%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 70%); }
.promo::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 18px);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 58%); mask-image: linear-gradient(90deg, #000, transparent 58%); }
.promo__body { position: relative; max-width: 580px; padding: clamp(28px, 5vw, 64px); }
.promo__eyebrow { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); }
.promo__title { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: .9; margin-top: 14px; }
.promo__title em { font-style: normal; color: var(--accent-2); }
.promo__desc { color: rgba(255,255,255,.8); margin-top: 16px; max-width: 46ch; }
.promo__stats { display: flex; gap: clamp(18px, 4vw, 36px); flex-wrap: wrap; margin-top: 26px; }
.promo__stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.1rem; line-height: 1; color: #fff; }
.promo__stat span { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.promo__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn--light { --_bg: #fff; --_fg: #1c1612; --_bd: #fff; }
.btn--light:hover { --_bg: #f1ece5; border-color: #f1ece5; }
.btn--outline-light { --_bg: transparent; --_fg: #fff; --_bd: rgba(255,255,255,.45); }
.btn--outline-light:hover { --_bg: rgba(255,255,255,.1); border-color: #fff; }

/* ---- section head "view all" link ---- */
.section-head__link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.section-head__link svg { transition: transform .25s var(--ease-spring); }
.section-head__link:hover svg { transform: translateX(4px); }

/* ---- colour-block page headers: speed lines + optional duotone photo ---- */
.page-hero { isolation: isolate; }
.page-hero::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 55%; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.075) 0 2px, transparent 2px 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 75%); mask-image: linear-gradient(90deg, transparent, #000 75%); }
.page-hero--photo { min-height: clamp(360px, 48vh, 540px); display: flex; align-items: center; }
.page-hero--photo .page-hero__inner { width: 100%; }
.page-hero__photo { position: absolute; top: 0; right: 0; width: min(60%, 860px); height: 100%; z-index: 0; object-fit: cover; object-position: 78% 28%;
  mix-blend-mode: luminosity; opacity: .56; will-change: transform;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%); mask-image: linear-gradient(90deg, transparent 0%, #000 46%); }
[data-parallax] { transform: scale(1.08); }

/* ---- footer accent line ---- */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2) 40%, transparent 85%); }

/* ---- responsive for the polish layer ---- */
@media (max-width: 960px) {
  .bennies { grid-template-columns: 1fr 1fr; }
  .benny:nth-child(3) { border-left: 0; }
  .benny:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 720px) {
  .promo { min-height: 560px; align-items: flex-end; }
  .promo__img { object-position: 60% 30%; }
  .promo__scrim { background: linear-gradient(0deg, rgba(20,14,10,.96) 0%, rgba(20,14,10,.78) 46%, rgba(20,14,10,.12) 100%); }
  .promo::after { -webkit-mask-image: linear-gradient(0deg, #000, transparent 60%); mask-image: linear-gradient(0deg, #000, transparent 60%); }
  .page-hero__photo { width: 100%; opacity: .32; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%); mask-image: linear-gradient(90deg, transparent 0%, #000 70%); }
  .page-hero::after { width: 100%; opacity: .55; }
  .section-head { flex-wrap: wrap; }
  .section-head .rule { display: none; }
  .section-head__link { margin-left: auto; }
}
@media (max-width: 560px) {
  .bennies { grid-template-columns: 1fr; }
  .benny { border-left: 0 !important; }
  .benny + .benny { border-top: 1px solid var(--border); }
  .toolbar { flex-wrap: wrap; }
  .toolbar .select { width: 100%; }
  .card .price { font-size: 1.2rem; }
  .card__foot .navlink { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover .card__media img, .card:hover .card__foot .navlink, .benny:hover .benny__ic { transform: none; }
}

/* promo: photo anchored right, blends into the dark panel; title on 2 lines */
.promo__body { max-width: 680px; }
.promo__title { font-size: clamp(2.4rem, 5vw, 4.2rem); }
@media (min-width: 721px) {
  .promo__img { left: auto; right: 0; width: 64%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 36%); mask-image: linear-gradient(90deg, transparent 0%, #000 36%); }
}

/* reviews: rating card spans the row - score | bars | channel CTA */
.rating-card--wide { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 4vw, 52px); }
.rating-card--wide .rbars { margin-top: 0; }
.rating-card__cta .btn { white-space: nowrap; }
@media (max-width: 900px) {
  .rating-card--wide { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* display headings: Oswald (Cyrillic) needs a touch more leading than Anton */
.page-hero__title, .promo__title, .catalog-head h2 { line-height: 1; }

@media (max-width: 720px) {
  /* promo on phones: photo on top, text panel below - photo stays visible */
  .promo { flex-direction: column; align-items: stretch; min-height: 0; }
  .promo__img { position: relative; inset: auto; width: 100%; height: 290px; object-position: 56% 32%;
    transform: none !important; -webkit-mask-image: none; mask-image: none; }
  .promo__scrim { background: linear-gradient(180deg, rgba(20,14,10,0) 0, rgba(20,14,10,.1) 140px, rgba(20,14,10,.92) 270px, #16110d 310px); }
  .promo::after { -webkit-mask-image: linear-gradient(0deg, #000 30%, transparent 70%); mask-image: linear-gradient(0deg, #000 30%, transparent 70%); }
  .promo__body { margin-top: -84px; padding-top: 0; }
  .promo__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 560px) {
  /* benefits on phones: compact 2x2 trust badges (icon + title) */
  .bennies { grid-template-columns: 1fr 1fr; }
  .benny { flex-direction: column; gap: 10px; padding: 16px; border-left: 0 !important; }
  .benny + .benny { border-top: 0; }
  .benny:nth-child(even) { border-left: 1px solid var(--border) !important; }
  .benny:nth-child(n+3) { border-top: 1px solid var(--border); }
  .benny p { display: none; }
  .benny h3 { font-size: 1rem; margin: 0; }
  .benny__ic { width: 38px; height: 38px; }
}

/* ---------- Checkout: payment method tiles ---------- */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.method {
  position: relative; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 14px; border: 1px solid var(--border-strong); border-radius: var(--r-input);
  background: var(--surface); cursor: pointer; color: var(--fg);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), transform .14s var(--ease-spring);
}
.method:hover { border-color: var(--fg-subtle); }
.method:active { transform: scale(.97); }
.method:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ring); }
.method__ic { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-weak); color: var(--accent-ink); transition: background .25s var(--ease), color .25s var(--ease), transform .4s var(--ease-spring); }
.method:hover .method__ic { transform: rotate(-8deg); }
.method__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.method__title { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.method__sub { font-family: var(--font-mono); font-size: .64rem; color: var(--fg-subtle); letter-spacing: .02em; line-height: 1.35; }
.method__chev { flex: 0 0 auto; color: var(--fg-subtle); transition: transform .35s var(--ease-spring), color .2s var(--ease); }
.method.is-selected { border-color: var(--accent); background: var(--accent-weak); box-shadow: 0 0 0 1px var(--accent); }
.method.is-selected .method__ic { background: var(--accent); color: #fff; }
.method.is-selected .method__chev { transform: rotate(90deg); color: var(--accent-ink); }
.method.is-soon { cursor: not-allowed; background: var(--surface-2); border-style: dashed; }
.method.is-soon:hover { border-color: var(--border-strong); }
.method.is-soon:hover .method__ic { transform: none; }
.method.is-soon .method__ic { background: var(--surface-3); color: var(--fg-subtle); }
.method.is-soon .method__title { color: var(--fg-muted); }
.method__soon { position: absolute; top: -9px; right: 10px; padding: 3px 8px; border-radius: var(--r-pill);
  background: var(--fg); color: var(--bg); font-family: var(--font-mono); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.method.nope { animation: methodNope .38s var(--ease); }
@keyframes methodNope { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.crypto-area.is-in { animation: cryptoIn .45s var(--ease-out); }
@keyframes cryptoIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) and (min-width: 901px) { .method-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .method-grid { grid-template-columns: 1fr; } }

/* mobile nav panel is a solid light sheet — keep its links readable on the home hero */
@media (max-width: 900px) {
  body.home:not(.scrolled) .site-nav .navlink { color: var(--fg-muted); }
  body.home:not(.scrolled) .site-nav .navlink:hover,
  body.home:not(.scrolled) .site-nav .navlink.is-active { color: var(--fg); opacity: 1; }
}

/* admin: tabs scroll horizontally instead of overflowing the page on small screens */
.tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }

/* category chips: draggable affordance */
.chips { cursor: grab; }
.chips.dragging { cursor: grabbing; scroll-snap-type: none; }
.chips.dragging .chip { pointer-events: none; }

/* admin: category / subcategory manager */
.tax-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.tax-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 7px 7px 13px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); font-size: .85rem; font-weight: 600; }
.tax-chip em { font-style: normal; font-family: var(--font-mono); font-size: .62rem; color: var(--fg-subtle); background: var(--bg); padding: 1px 6px; border-radius: var(--r-pill); }
.tax-del { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 0; background: transparent; color: var(--fg-subtle); cursor: pointer; transition: background .15s var(--ease), color .15s var(--ease); }
.tax-del:hover { background: var(--danger-weak); color: var(--danger); }
