/* ============================================================================
   PUPTIDES GLASS — "Puptides Glass" design system
   A premium pet-wellness brand made of frosted glass and warm fur:
   one warm cream world, soft club-colour light-washes glowing behind
   translucent frosted panels, transparent vials floating in club glow.
   Kept: Bricolage's chunky confidence, springy motion, sticker moments,
   marquees, "Hey Buddy", solid tangerine CTAs. Retired: flat colour slabs,
   3px ink borders, hard offset-block shadows. One material, one light
   (top-left source + specular top edge), one feeling: warm, glowing,
   trustworthy. The paw is the quiet recurring motif — never kitsch.
   ----------------------------------------------------------------------------
   TABLE OF CONTENTS
   01 Fonts
   02 Tokens (color, type, space, radius, glass surfaces, light model,
      wash palette, motion, focus, z)
   03 Reset + base
   04 Typography classes
   05 Section utilities + light washes (.wash / .wash--paw)
   06 Container / grid / layout utilities
   07 Buttons
   08 Header / nav (sticky + mobile panel)
   09 Footer (marquee, trust row, compliance)
   10 Badges / chips / bursts / stickers / species chips / paw motif / PepCode dot
   11 Price display
   12 Glass utilities (.glass family) + card system + product card
   13 TikTok rail + 9:16 card
   14 Forms (inputs, segmented control, switch, qty stepper, progress)
   15 Accordion
   16 Modal
   17 Table
   18 Scroll-reveal states
   19 Voice orb ("Hey Buddy") + transcript chip
   20 Cart count badge + confetti bits
   21 Marquee strip
   22 Action bar (sticky add-to-cart) + stat block
   23 Keyframes
   24 Breakpoints (1100 / 768 / 390)
   25 Reduced motion + print
   26 Backdrop-filter fallback (@supports)
   ========================================================================== */

/* == 01 FONTS ============================================================= */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=DM+Sans:opsz,wght@9..40,400..800&display=swap');

/* == 02 TOKENS ============================================================ */
:root {
  /* Palette — the five blocks. Sections alternate these full-bleed. */
  --tangerine: #FF5C1F;
  --bubblegum: #FFB3D9;
  --lime:      #C6F25A;
  --cobalt:    #2440F0;
  --cream:     #FFF6E9;
  --ink:       #1A1208;   /* warm near-black: every border, every shadow */
  --white:     #FFFFFF;

  /* Working tints (UI chrome only — NEVER for PepCode rings) */
  --tangerine-deep: #D6440D;
  --cobalt-deep:    #1A2FB8;
  --bubblegum-soft: #FFD9EC;
  --lime-soft:      #E6FBA4;
  --cream-deep:     #F7E8CF;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --fs-mega:    clamp(2.75rem, 7.5vw, 5.75rem); /* one per page, hero only — 3 lines max */
  --fs-display: clamp(2.5rem, 6vw, 4.5rem);
  --fs-h1:      clamp(2.125rem, 4.5vw, 3.25rem);
  --fs-h2:      clamp(1.625rem, 3.2vw, 2.375rem);
  --fs-h3:      clamp(1.25rem, 2.2vw, 1.5rem);
  --fs-h4:      1.125rem;
  --fs-lg:      1.125rem;
  --fs-body:    1rem;
  --fs-sm:      0.875rem;
  --fs-xs:      0.75rem;

  /* Space — strict 8px rhythm */
  --s-half: 4px;
  --s-1:  8px;
  --s-2:  16px;
  --s-3:  24px;
  --s-4:  32px;
  --s-5:  40px;
  --s-6:  48px;
  --s-8:  64px;
  --s-10: 80px;
  --s-12: 96px;
  --s-16: 128px;

  /* Radius — pills and soft slabs */
  --r-pill: 999px;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 8px;

  /* Borders + legacy shadow names — RE-POINTED to the Glass soft-shadow
     model below (converts every consumer site-wide; names never change) */
  --bw:  2px;
  --bw-2: 3px;
  --shadow-1: var(--shadow-soft-1);
  --shadow-2: var(--shadow-soft-2);
  --shadow-pressed: 0 1px 2px rgba(26,18,8,0.10);
  --shadow-cobalt: 0 0 0 2px rgba(36,64,240,0.55), 0 20px 48px rgba(36,64,240,0.22);

  /* Motion — springy, never floaty */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-snap: 0.18s;
  --dur-pop: 0.32s;

  /* Layout */
  --container-w: 1200px;
  --container-narrow: 820px;
  --header-h: 76px;

  /* Z scale */
  --z-header: 60;
  --z-peppy: 80;
  --z-modal: 90;
  --z-confetti: 100;

  /* Contextual (overridden by .bg-* utilities) */
  --surface: var(--cream);
  --on-surface: var(--ink);
  --focus-ring: var(--cobalt);

  /* — GLASS SURFACES (3 light elevations + 1 dark) — */
  --glass-1-bg: rgba(255,255,255,0.42);   /* chips, pills, thumbs, mini-rows */
  --glass-2-bg: rgba(255,255,255,0.55);   /* cards, panels — the workhorse */
  --glass-3-bg: rgba(255,246,233,0.72);   /* nav, sticky bars, modals */
  --glass-ink-bg: rgba(255,255,255,0.10); /* dark glass on cobalt/ink sections */
  --glass-1-blur: blur(10px) saturate(1.3);
  --glass-2-blur: blur(18px) saturate(1.4);
  --glass-3-blur: blur(22px) saturate(1.5);
  --glass-ink-blur: blur(16px) saturate(1.2);
  --glass-1-brd: 1px solid rgba(255,255,255,0.55);
  --glass-2-brd: 1px solid rgba(255,255,255,0.65);
  --glass-3-brd: 1px solid rgba(255,255,255,0.70);
  --glass-ink-brd: 1px solid rgba(255,255,255,0.22);

  /* — LIGHT MODEL: one top-left source, specular top edge — */
  --specular: inset 0 1px 0 rgba(255,255,255,0.70);
  --shadow-soft-1: 0 1px 2px rgba(26,18,8,0.06), 0 8px 20px rgba(26,18,8,0.10);
  --shadow-soft-2: 0 1px 2px rgba(26,18,8,0.08), 0 16px 40px rgba(26,18,8,0.14);
  --shadow-hover:  0 2px 4px rgba(26,18,8,0.08), 0 24px 56px rgba(26,18,8,0.16);
  --shadow-ink-glass: 0 16px 40px rgba(10,14,60,0.35); /* glass on cobalt */

  /* — WASH PALETTE (blob colours derived from club hues) — */
  --wash-tangerine: rgba(255,92,31,0.22);
  --wash-bubblegum: rgba(255,179,217,0.30);
  --wash-lime:      rgba(198,242,90,0.26);
  --wash-cobalt:    rgba(36,64,240,0.14);
  --wash-cream:     rgba(247,232,207,0.55);
  --tier-yellow: #FFD84D;  /* Emerging tier — no longer camouflaged bubblegum */

  /* — RADII (existing scale + organic additions) — */
  --r-card: 24px;
  --r-squircle: 46% 46% 52% 52% / 50% 50% 46% 46%; /* paw-pad shape */

  /* — MOTION — bouncy-but-fast; reveals never ghost a viewport — */
  --ease-pet: cubic-bezier(0.34, 1.56, 0.64, 1);  /* alias of --ease-spring */
  --dur-reveal: 0.45s;        /* was 0.65s */
  --reveal-travel: 12px;      /* was 24–36px */

  /* — FOCUS on glass — */
  --focus-ring-glass: 0 0 0 3px rgba(36,64,240,0.60);
}

/* == 03 RESET + BASE ====================================================== */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: none; cursor: pointer; }

a { color: inherit; }

ul[class], ol[class] { list-style: none; padding: 0; }

::selection { background: var(--cobalt); color: var(--cream); }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s-2);
  z-index: calc(var(--z-header) + 1);
  padding: var(--s-1) var(--s-2);
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 700;
  transition: top var(--dur-snap) var(--ease-out);
}
.skip-link:focus { top: var(--s-2); }

/* == 04 TYPOGRAPHY ======================================================== */
h1, h2, h3, h4, .display, .mega {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.mega    { font-size: var(--fs-mega); text-transform: uppercase; letter-spacing: -0.03em; }
.display { font-size: var(--fs-display); }
h1, .h1  { font-size: var(--fs-h1); }
h2, .h2  { font-size: var(--fs-h2); }
h3, .h3  { font-size: var(--fs-h3); line-height: 1.2; }
h4, .h4  { font-size: var(--fs-h4); line-height: 1.3; }

.lead {
  font-size: var(--fs-lg);
  line-height: 1.55;
  max-width: 56ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--s-2);
}

.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.text-center { text-align: center; }
.measure { max-width: 62ch; }
.strong { font-weight: 700; }

/* Marker highlight — wrap a word in the hero */
.hl {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.hl::after {
  content: "";
  position: absolute;
  inset: 58% -0.12em 2% -0.12em;
  background: var(--hl-color, var(--lime));
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}
.hl--bubblegum { --hl-color: var(--bubblegum); }
.hl--tangerine { --hl-color: var(--tangerine); }

.prose a, .link {
  color: var(--cobalt);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose a:hover, .link:hover { color: var(--tangerine-deep); }

/* == 05 SECTIONS + LIGHT WASHES =========================================== */
/* Flat slabs are retired: sections sit on cream with soft radial washes.
   The .bg-* utilities remain valid (legacy pages), but new/converted
   sections use .wash + per-section --wash-a/b/c club accents.             */
.section { padding-block: var(--s-12); }
.section--tight { padding-block: var(--s-8); }
.section--hero { padding-block: var(--s-10) var(--s-12); }

.bg-cream     { background: var(--cream);     color: var(--ink); --surface: var(--cream); }
.bg-tangerine { background: var(--tangerine); color: var(--cream); --surface: var(--tangerine); --focus-ring: var(--lime); }
/* Body copy on tangerine needs dark ink for legibility (cream-on-orange is only 2.88:1).
   Display type (.mega/.display/.eyebrow) stays cream as the large-type brand treatment. */
.bg-tangerine .lead { color: var(--ink); }
/* Small kickers/labels/stats on tangerine need dark ink (cream-on-orange is 2.88:1).
   Stat numbers under 40px also flip to ink; giant display headlines stay cream. */
.bg-tangerine .eyebrow,
.bg-tangerine .stat__label,
.bg-tangerine .stat__num,
.bg-tangerine .rail-note { color: var(--ink); }
.bg-bubblegum { background: var(--bubblegum); color: var(--ink); --surface: var(--bubblegum); }
.bg-lime      { background: var(--lime);      color: var(--ink); --surface: var(--lime); }
.bg-cobalt    { background: var(--cobalt);    color: var(--cream); --surface: var(--cobalt); --focus-ring: var(--lime); }
.bg-ink       { background: var(--ink);       color: var(--cream); --surface: var(--ink); --focus-ring: var(--lime); }
.bg-white     { background: var(--white);     color: var(--ink); --surface: var(--white); }

/* Seam between sections — softened to a hairline; a paw-trail divider or a
   continuous wash replaces the old 3px ink rules. */
.section--seam { border-top: 1px solid rgba(26,18,8,0.12); border-bottom: 1px solid rgba(26,18,8,0.12); }

/* Light washes — glass must blur something real. 2–3 absolutely-positioned
   radial blobs INSIDE the section (never position:fixed — mobile perf trap +
   containing-block bugs). Max 3 blobs; ONE dominant accent per section (set
   --wash-a to that section's club colour); sizes 480–720px; opacity is baked
   into the wash tokens; no filter:blur() on the blob layer — the radial
   falloff IS the softness. */
.wash { position: relative; isolation: isolate; }
.wash::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(560px 420px at 12% 8%,  var(--wash-a, var(--wash-tangerine)) 0%, transparent 70%),
    radial-gradient(640px 520px at 88% 28%, var(--wash-b, var(--wash-bubblegum)) 0%, transparent 70%),
    radial-gradient(720px 560px at 40% 96%, var(--wash-c, var(--wash-lime))      0%, transparent 72%);
}

/* Paw watermark (also blur fodder) — one per section max.
   Dark-section fill variant: swap fill='%231A1208' for
   fill='%23FFF6E9' fill-opacity='0.06'. */
.wash--paw::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='%231A1208' fill-opacity='0.04' transform='rotate(-14 70 70)'%3E%3Cellipse cx='70' cy='86' rx='15' ry='12'/%3E%3Ccircle cx='51' cy='63' r='7'/%3E%3Ccircle cx='65' cy='55' r='7'/%3E%3Ccircle cx='80' cy='56' r='7'/%3E%3Ccircle cx='93' cy='66' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* == 06 CONTAINER / GRID / LAYOUT ========================================= */
.container {
  width: min(var(--container-w), 100% - (2 * var(--s-3)));
  margin-inline: auto;
}
.container--narrow { width: min(var(--container-narrow), 100% - (2 * var(--s-3))); }

.grid { display: grid; gap: var(--s-3); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--gap-lg { gap: var(--s-4); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  align-items: center;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  align-items: center;
}
.cluster--center { justify-content: center; }
.cluster--between { justify-content: space-between; }

.stack { display: flex; flex-direction: column; gap: var(--s-2); }
.stack--lg { gap: var(--s-4); }

.flow > * + * { margin-top: var(--s-2); }
.flow--lg > * + * { margin-top: var(--s-4); }

/* == 07 BUTTONS =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.01em;
  padding: 16px 32px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(26,18,8,0.20);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 8px 20px rgba(26,18,8,0.18);
  transition:
    transform var(--dur-snap) var(--ease-pet),
    box-shadow var(--dur-snap) var(--ease-pet),
    background var(--dur-snap) ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 14px 32px rgba(26,18,8,0.24);
}
.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-pressed);
}

/* Primary STAYS solid tangerine with ink text — the one loud candy accent
   anchoring every glass field — with coloured elevation. */
.btn--primary {
  background: var(--tangerine); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 10px 28px rgba(255,92,31,0.35);
}
.btn--primary:hover {
  background: var(--tangerine-deep);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 14px 34px rgba(255,92,31,0.42);
}
.btn--secondary {
  background: rgba(198,242,90,0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-color: rgba(255,255,255,0.55);
}
.btn--secondary:hover { background: rgba(198,242,90,0.62); }
.btn--cobalt    { background: var(--cobalt); color: var(--cream); box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 10px 28px rgba(36,64,240,0.35); }
.btn--cobalt:hover { background: var(--cobalt-deep); }
.btn--ghost {
  background: var(--glass-1-bg);
  -webkit-backdrop-filter: var(--glass-1-blur);
  backdrop-filter: var(--glass-1-blur);
  border: var(--glass-1-brd);
  box-shadow: var(--specular), var(--shadow-soft-1);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  box-shadow: var(--specular), var(--shadow-hover);
  border-color: rgba(255,255,255,0.90);
}
.btn--ghost:active { box-shadow: var(--shadow-pressed); transform: translateY(0) scale(0.98); }
/* Ghost buttons on dark sections: dark glass + light text (dark ghost text on cobalt/ink is invisible) */
.bg-cobalt .btn--ghost, .bg-ink .btn--ghost {
  color: var(--cream);
  background: var(--glass-ink-bg);
  border: var(--glass-ink-brd);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), var(--shadow-ink-glass);
}

.btn--sm { padding: 10px 20px; font-size: var(--fs-sm); }
.btn--lg { padding: 20px 44px; font-size: var(--fs-lg); }
.btn--block { display: flex; width: 100%; }

.btn[disabled], .btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
}

/* Icon-only round button */
.btn--icon {
  padding: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

/* == 08 HEADER / NAV ====================================================== */
/* Glass-3 nav. backdrop-filter goes ON the header only — never on body or
   wrappers (it would re-parent fixed .peppy/.modal via containing blocks). */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--glass-3-bg);
  -webkit-backdrop-filter: var(--glass-3-blur);
  backdrop-filter: var(--glass-3-blur);
  border-bottom: 1px solid rgba(26,18,8,0.12);
  color: var(--ink);
  transition: box-shadow var(--dur-snap) ease;
}
.site-header.is-stuck { box-shadow: 0 8px 24px rgba(26,18,8,0.10); }

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  text-decoration: none;
  transition: transform var(--dur-snap) var(--ease-spring);
}
.logo:hover { transform: rotate(-2deg) scale(1.04); }
.logo__pep { width: 28px; height: 28px; }
.logo__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.625rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s-half);
}
.site-nav__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition:
    transform var(--dur-snap) var(--ease-spring),
    background var(--dur-snap) ease,
    border-color var(--dur-snap) ease;
}
.site-nav__link:hover {
  background: rgba(255,179,217,0.45);
  border-color: rgba(255,255,255,0.55);
  transform: rotate(-2deg) scale(1.05);
}
.site-nav__link[aria-current="page"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

/* Account control (login state) — injected by shared.js mountAccount() on every page */
.site-account-host { display: inline-flex; align-items: center; }
.site-account {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  text-decoration: none; color: var(--ink);
  background: var(--glass-1-bg); border: var(--glass-1-brd);
  -webkit-backdrop-filter: var(--glass-1-blur); backdrop-filter: var(--glass-1-blur);
  box-shadow: var(--specular), var(--shadow-soft-1);
  transition: transform var(--dur-snap) var(--ease-spring), box-shadow var(--dur-snap) var(--ease-spring);
  max-width: 180px;
}
.site-account:hover { transform: translateY(-2px); box-shadow: var(--specular), var(--shadow-hover); }
.site-account:active { transform: translate(1px, 1px); box-shadow: var(--shadow-pressed); }
.site-account--out { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.site-account__dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(26,18,8,0.25); flex: none; }
.site-account__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) { .site-account__name { display: none; } .site-account { padding: 9px 12px; } .site-account--out .site-account__name { display: inline; } }

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(198,242,90,0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-decoration: none;
  box-shadow: var(--specular), var(--shadow-soft-1);
  transition: transform var(--dur-snap) var(--ease-spring), box-shadow var(--dur-snap) var(--ease-spring);
}
.cart-button:hover {
  transform: translateY(-2px) rotate(6deg);
  box-shadow: var(--specular), var(--shadow-hover);
}
.cart-button:active { transform: translate(2px, 2px); box-shadow: var(--shadow-pressed); }
.cart-button svg { width: 22px; height: 22px; }

/* Hamburger (hidden ≥768px) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,179,217,0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--specular), var(--shadow-soft-1);
  align-items: center;
}
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--dur-pop) var(--ease-spring), opacity var(--dur-snap) ease;
}
.nav-open .nav-toggle__bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-open .nav-toggle__bar:last-child  { transform: translateY(-4.5px) rotate(-45deg); }

/* == 09 FOOTER ============================================================ */
/* Ink footer as a lit gradient + cream paw watermark at 5% (dark-section
   fill variant of the .wash--paw tile). Compliance text untouched. */
.site-footer {
  background-color: var(--ink);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='%23FFF6E9' fill-opacity='0.05' transform='rotate(-14 70 70)'%3E%3Cellipse cx='70' cy='86' rx='15' ry='12'/%3E%3Ccircle cx='51' cy='63' r='7'/%3E%3Ccircle cx='65' cy='55' r='7'/%3E%3Ccircle cx='80' cy='56' r='7'/%3E%3Ccircle cx='93' cy='66' r='6'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(120% 100% at 15% 0%, #241A0C 0%, var(--ink) 70%);
  background-size: 140px 140px, auto;
  color: var(--cream);
  --surface: var(--ink);
  --focus-ring: var(--lime);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-block: var(--s-8) var(--s-6);
}

.site-footer__tag {
  margin-top: var(--s-2);
  max-width: 30ch;
  color: var(--bubblegum);
  font-weight: 500;
}

.logo--footer { color: var(--cream); }
.logo--footer .logo__word { font-size: 2rem; }

.site-footer__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lime);
  margin-bottom: var(--s-2);
}
.site-footer__links { display: flex; flex-direction: column; gap: var(--s-1); }
.site-footer__links a {
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  opacity: 0.85;
  width: fit-content;
  transition: opacity var(--dur-snap) ease, transform var(--dur-snap) var(--ease-spring);
}
.site-footer__links a:hover { opacity: 1; transform: translateX(4px) rotate(-1deg); color: var(--bubblegum); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  padding-block: var(--s-3);
  border-top: 1px solid rgba(255, 246, 233, 0.18);
}
/* Trust badges = dark glass (--glass-ink) chips on the ink footer */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: 8px 16px;
  background: var(--glass-ink-bg);
  -webkit-backdrop-filter: var(--glass-ink-blur);
  backdrop-filter: var(--glass-ink-blur);
  border: var(--glass-ink-brd);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-badge::before {
  content: "✦";
  color: var(--lime);
}

.compliance {
  font-size: var(--fs-xs);
  line-height: 1.7;
  opacity: 0.75;
  max-width: 90ch;
  padding-block: var(--s-2) var(--s-3);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2);
  font-size: var(--fs-xs);
  opacity: 0.6;
  padding-block: var(--s-2) var(--s-4);
  border-top: 1px solid rgba(255, 246, 233, 0.18);
}

/* == 10 BADGES / CHIPS / BURSTS / STICKERS / SPECIES / PAW MOTIF ========== */
/* Chips = glass-1 with a luminous hairline; colour variants are translucent
   tints, always ink text (colour-on-colour is retired). */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-half);
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--r-pill);
  background: var(--glass-1-bg);
  -webkit-backdrop-filter: var(--glass-1-blur);
  backdrop-filter: var(--glass-1-blur);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  white-space: nowrap;
}
.chip--lime      { background: rgba(198,242,90,0.40); }
.chip--bubblegum { background: rgba(255,179,217,0.45); }
.chip--tangerine { background: rgba(255,92,31,0.22); color: var(--ink); }
.chip--cobalt    { background: rgba(36,64,240,0.14); color: var(--ink); }
.chip--ink       { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Interactive chip (filters) — glass-1; .is-active stays SOLID ink/cream:
   the one opaque state means "pressed". */
.chip--filter { cursor: pointer; transition: transform var(--dur-snap) var(--ease-spring), background var(--dur-snap) ease, border-color var(--dur-snap) ease; }
.chip--filter:hover { transform: rotate(-2deg) scale(1.06); border-color: rgba(255,255,255,0.90); }
.chip--filter.is-active, .chip--filter[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Species chips — glass chips carrying a 12px inline ear-silhouette SVG
   (2px ink stroke, supplied in markup). Always ink text. */
.chip--species     { background: var(--glass-1-bg); color: var(--ink); }
.chip--species svg { width: 12px; height: 12px; flex: none; }
.chip--species-dog { background: rgba(255,92,31,0.18); color: var(--ink); }
.chip--species-cat { background: rgba(36,64,240,0.12); color: var(--ink); }

/* Paw list marker — apply on the <li>. CSS mask, paints with currentColor.
   Never inside a surface that already carries the watermark. */
.paw-bullet {
  position: relative;
  list-style: none;
  padding-left: 24px;
}
.paw-bullet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 14px;
  height: 14px;
  background: currentColor;
  opacity: 0.8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cellipse cx='70' cy='86' rx='15' ry='12'/%3E%3Ccircle cx='51' cy='63' r='7'/%3E%3Ccircle cx='65' cy='55' r='7'/%3E%3Ccircle cx='80' cy='56' r='7'/%3E%3Ccircle cx='93' cy='66' r='6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cellipse cx='70' cy='86' rx='15' ry='12'/%3E%3Ccircle cx='51' cy='63' r='7'/%3E%3Ccircle cx='65' cy='55' r='7'/%3E%3Ccircle cx='80' cy='56' r='7'/%3E%3Ccircle cx='93' cy='66' r='6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Paw section divider — a centered row of 3 paws at 12/8/4% ink opacity;
   replaces hard seams between sections. */
.paw-divider {
  height: 18px;
  margin-block: var(--s-4);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cg fill='%231A1208' fill-opacity='0.12'%3E%3Cellipse cx='70' cy='86' rx='15' ry='12'/%3E%3Ccircle cx='51' cy='63' r='7'/%3E%3Ccircle cx='65' cy='55' r='7'/%3E%3Ccircle cx='80' cy='56' r='7'/%3E%3Ccircle cx='93' cy='66' r='6'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cg fill='%231A1208' fill-opacity='0.08'%3E%3Cellipse cx='70' cy='86' rx='15' ry='12'/%3E%3Ccircle cx='51' cy='63' r='7'/%3E%3Ccircle cx='65' cy='55' r='7'/%3E%3Ccircle cx='80' cy='56' r='7'/%3E%3Ccircle cx='93' cy='66' r='6'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cg fill='%231A1208' fill-opacity='0.04'%3E%3Cellipse cx='70' cy='86' rx='15' ry='12'/%3E%3Ccircle cx='51' cy='63' r='7'/%3E%3Ccircle cx='65' cy='55' r='7'/%3E%3Ccircle cx='80' cy='56' r='7'/%3E%3Ccircle cx='93' cy='66' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: calc(50% - 32px) center, center center, calc(50% + 32px) center;
}

/* Organic paw-pad squircle — glyph holders, step numbers, avatars, medals.
   Cards stay --r-card/--r-xl rounded rects; squircles are for small pads. */
.squircle { border-radius: var(--r-squircle); }

/* Starburst badge — "15% OFF FOREVER" energy. 12-point star.
   Glassified: translucent tint + blur (the clip-path clips the blur layer
   into the star). Max ONE burst per section. */
.burst {
  display: grid;
  place-items: center;
  width: 104px;
  aspect-ratio: 1;
  padding: var(--s-2);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.68rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: rgba(198,242,90,0.60);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  rotate: -4deg;
  clip-path: polygon(
    50% 0%, 59.8% 13.3%, 75% 6.7%, 76.9% 23.1%, 93.3% 25%, 86.7% 40.2%,
    100% 50%, 86.7% 59.8%, 93.3% 75%, 76.9% 76.9%, 75% 93.3%, 59.8% 86.7%,
    50% 100%, 40.2% 86.7%, 25% 93.3%, 23.1% 76.9%, 6.7% 75%, 13.3% 59.8%,
    0% 50%, 13.3% 40.2%, 6.7% 25%, 23.1% 23.1%, 25% 6.7%, 40.2% 13.3%
  );
}
.burst--tangerine { background: rgba(255,92,31,0.55); color: var(--ink); }
.burst--bubblegum { background: rgba(255,179,217,0.60); color: var(--ink); }
.burst--cobalt    { background: rgba(36,64,240,0.55); color: var(--cream); }
.burst--lg { width: 140px; font-size: 0.8rem; }

/* Sticker — rotated glass slab that wiggles on hover (rotation kept, ≤4deg) */
.sticker {
  display: inline-block;
  padding: var(--s-1) var(--s-2);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-sm);
  rotate: -3deg;
  transition: rotate var(--dur-snap) var(--ease-spring), scale var(--dur-snap) var(--ease-spring);
}
.sticker:hover { animation: wiggle 0.45s var(--ease-spring); scale: 1.06; }
.sticker--right { rotate: 3deg; }

/* PepCode micro dot — two concentric rings, set per-SKU hexes via vars:
   <span class="pepcode-dot" style="--pc-core:#B87333; --pc-outer:#F7C8D0"></span> */
.pepcode-dot {
  display: inline-block;
  width: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: var(--bw) solid var(--ink);
  background: radial-gradient(circle at 50% 50%,
    var(--pc-core, var(--tangerine)) 0 36%,
    var(--pc-outer, var(--cream)) 36% 100%);
  flex: none;
}
.pepcode-dot--lg { width: 32px; }

/* == 11 PRICE DISPLAY ===================================================== */
.price {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-1);
  font-family: var(--font-display);
}
.price__now {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.price__was {
  font-weight: 600;
  font-size: 1rem;
  text-decoration: line-through;
  text-decoration-thickness: 2.5px;
  text-decoration-color: var(--tangerine);
  opacity: 0.55;
}
.price__cadence {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  opacity: 0.7;
}
.price--lg .price__now { font-size: 2.25rem; }
.price--sm .price__now { font-size: 1.125rem; }

.save-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(198,242,90,0.45);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  rotate: -2deg;
}

/* == 12 GLASS UTILITIES + CARDS + PRODUCT CARD ============================ */
/* The material. One glass, three light elevations + one dark. */
.glass {
  background: var(--glass-2-bg);
  -webkit-backdrop-filter: var(--glass-2-blur);
  backdrop-filter: var(--glass-2-blur);
  border: var(--glass-2-brd);
  border-radius: var(--r-card);
  box-shadow: var(--specular), var(--shadow-soft-2);
}
.glass--1 { background: var(--glass-1-bg); -webkit-backdrop-filter: var(--glass-1-blur); backdrop-filter: var(--glass-1-blur); border: var(--glass-1-brd); box-shadow: var(--specular), var(--shadow-soft-1); }
.glass--3 { background: var(--glass-3-bg); -webkit-backdrop-filter: var(--glass-3-blur); backdrop-filter: var(--glass-3-blur); border: var(--glass-3-brd); }
.glass--ink { background: var(--glass-ink-bg); -webkit-backdrop-filter: var(--glass-ink-blur); backdrop-filter: var(--glass-ink-blur); border: var(--glass-ink-brd); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), var(--shadow-ink-glass); }
.glass--raise { transition: transform var(--dur-snap) var(--ease-pet), box-shadow var(--dur-snap) var(--ease-pet), border-color var(--dur-snap) ease; }
.glass--raise:hover { transform: translateY(-4px); box-shadow: var(--specular), var(--shadow-hover); border-color: rgba(255,255,255,0.90); }
.glass--raise:active { transform: translateY(-1px) scale(0.99); box-shadow: var(--specular), var(--shadow-soft-1); }

/* Focus on glass — box-shadow ring survives translucent fills */
.glass:focus-visible, .glass--1:focus-visible, .glass--3:focus-visible,
.glass--ink:focus-visible, .btn--ghost:focus-visible, .chip--filter:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring-glass), var(--specular), var(--shadow-soft-1);
}

/* Generic card = glass panel; colour variants are translucent tints. */
.card {
  background: var(--glass-2-bg);
  -webkit-backdrop-filter: var(--glass-2-blur);
  backdrop-filter: var(--glass-2-blur);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  box-shadow: var(--specular), var(--shadow-soft-1);
}
.card--punch { box-shadow: var(--specular), var(--shadow-soft-2); }
.card--flat { box-shadow: none; }
.card--cream     { background: rgba(255,246,233,0.72); }
.card--bubblegum { background: rgba(255,179,217,0.45); }
.card--lime      { background: rgba(198,242,90,0.40); }
.card--cobalt    { background: rgba(36,64,240,0.14); color: var(--ink); --focus-ring: var(--cobalt); }
.card--ink       { background: rgba(26,18,8,0.82); color: var(--cream); border-color: rgba(255,255,255,0.22); --focus-ring: var(--lime); }

.card--hover {
  transition: transform var(--dur-pop) var(--ease-pet), box-shadow var(--dur-pop) var(--ease-pet), border-color var(--dur-pop) ease;
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--specular), var(--shadow-hover);
  border-color: rgba(255,255,255,0.90);
}

/* Product card — one frosted glass panel; the club-colour radial glow lives
   inside the art zone (colour fed by the inline --art-bg custom property,
   kept as the JS injection point); the transparent vial floats over it. */
.product-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-xl);
  color: var(--ink); /* §9: ink stays ink on light glass, even in dark sections */
  background: var(--glass-2-bg);
  -webkit-backdrop-filter: var(--glass-2-blur); backdrop-filter: var(--glass-2-blur);
  border: var(--glass-2-brd);
  box-shadow: var(--specular), var(--shadow-soft-2);
  transition: transform var(--dur-snap) var(--ease-pet), box-shadow var(--dur-snap) var(--ease-pet), border-color var(--dur-snap) ease;
}
.product-card__art {
  position: relative; aspect-ratio: 4 / 3;
  display: grid; place-items: center; overflow: hidden;
  border-radius: var(--r-xl) var(--r-xl) 0 0; border-bottom: none; background: none; /* kill the beige box + seam */
}
.product-card__art::before {
  content: ""; position: absolute; inset: 12% 18% 8% 18%;
  background: radial-gradient(closest-side, var(--art-bg, var(--tangerine)) 0%, transparent 70%);
  opacity: 0.55; filter: blur(24px);
  transition: opacity var(--dur-snap) ease;
}
.product-card__art svg { position: relative; width: 52%; height: auto; filter: drop-shadow(0 14px 22px rgba(26,18,8,0.25)); transition: transform var(--dur-snap) var(--ease-pet); }
.product-card::after { /* paw stamp */
  content: ""; position: absolute; right: 14px; bottom: 14px; width: 24px; height: 24px;
  background: currentColor; opacity: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cellipse cx='70' cy='86' rx='15' ry='12'/%3E%3Ccircle cx='51' cy='63' r='7'/%3E%3Ccircle cx='65' cy='55' r='7'/%3E%3Ccircle cx='80' cy='56' r='7'/%3E%3Ccircle cx='93' cy='66' r='6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cellipse cx='70' cy='86' rx='15' ry='12'/%3E%3Ccircle cx='51' cy='63' r='7'/%3E%3Ccircle cx='65' cy='55' r='7'/%3E%3Ccircle cx='80' cy='56' r='7'/%3E%3Ccircle cx='93' cy='66' r='6'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: scale(0.8); transition: opacity var(--dur-snap) ease, transform var(--dur-snap) var(--ease-pet);
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.90); box-shadow: var(--specular), var(--shadow-hover); }
.product-card:hover .product-card__art::before { opacity: 1; }
.product-card:hover .product-card__art svg { transform: translateY(-4px); }
.product-card:hover::after { opacity: 0.20; transform: scale(1); }
.product-card:active { transform: translateY(-2px) scale(0.99); }
.product-card__body { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-2) var(--s-3) var(--s-3); flex: 1; /* flex:1 kept so __foot's margin-top:auto still pins the price row */ }

.product-card__sticker {
  position: absolute;
  top: var(--s-2);
  right: var(--s-2);
  z-index: 1;
  pointer-events: none;
}
.product-card:hover .product-card__sticker .burst { animation: wiggle 0.5s var(--ease-spring); }
.product-card__name { font-size: var(--fs-h4); }
.product-card__blurb {
  font-size: var(--fs-sm);
  line-height: 1.5;
  opacity: 0.8;
}
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-2);
}

/* == 13 TIKTOK RAIL + 9:16 CARD =========================================== */
.rail {
  display: flex;
  gap: var(--s-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--s-1) var(--s-1) var(--s-3);
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--tangerine) transparent;
}
.rail > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.rail::-webkit-scrollbar { height: 10px; }
.rail::-webkit-scrollbar-track {
  background: rgba(26,18,8,0.08);
  border-radius: var(--r-pill);
}
.rail::-webkit-scrollbar-thumb {
  background: var(--tangerine);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--r-pill);
}

.tiktok-card {
  position: relative;
  width: min(248px, 66vw);
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cobalt);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  box-shadow: var(--shadow-ink-glass);
  transition: transform var(--dur-pop) var(--ease-pet), box-shadow var(--dur-pop) var(--ease-pet);
}
.tiktok-card:hover {
  transform: translateY(-6px) rotate(-1.2deg);
  box-shadow: 0 24px 56px rgba(10,14,60,0.45);
}

.tiktok-card__thumb {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.tiktok-card__thumb svg { width: 100%; height: 100%; object-fit: cover; }

.tiktok-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -62%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,246,233,0.85);
  color: var(--ink);
  box-shadow: var(--specular), var(--shadow-soft-1);
  transition: transform var(--dur-snap) var(--ease-spring);
}
.tiktok-card:hover .tiktok-card__play { transform: scale(1.15) rotate(8deg); }
.tiktok-card__play svg { width: 20px; height: 20px; }

.tiktok-card__meta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-half);
  padding: var(--s-2);
  background: rgba(26,18,8,0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,246,233,0.25);
}
.tiktok-card__handle {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-sm);
  color: var(--lime);
}
.tiktok-card__caption {
  font-size: var(--fs-xs);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tiktok-card__views {
  font-size: var(--fs-xs);
  font-weight: 700;
  opacity: 0.7;
}
.tiktok-card__tag {
  position: absolute;
  top: var(--s-2);
  left: var(--s-2);
}

.rail-note {
  font-size: var(--fs-xs);
  font-weight: 600;
  opacity: 0.7;
  margin-top: var(--s-1);
}

/* == 14 FORMS ============================================================= */
.field { display: flex; flex-direction: column; gap: var(--s-half); }
.field + .field { margin-top: var(--s-2); }

.label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
}
.label small { font-weight: 500; opacity: 0.65; font-family: var(--font-body); }

/* Fields = light glass wells with a soft inset (paper became frosted glass) */
.input, .select, .textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.60);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.50);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: var(--fs-body);
  box-shadow: inset 0 2px 4px rgba(26,18,8,0.06);
  transition: box-shadow var(--dur-snap) var(--ease-spring), border-color var(--dur-snap) ease;
}
.input::placeholder, .textarea::placeholder { color: rgba(26, 18, 8, 0.4); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring-glass), inset 0 2px 4px rgba(26,18,8,0.06);
  border-color: rgba(255,255,255,0.90);
}
.textarea { min-height: 120px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%231A1208' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.field--error .input { border-color: var(--tangerine-deep); box-shadow: 0 0 0 3px rgba(214,68,13,0.35), inset 0 2px 4px rgba(26,18,8,0.06); }
.field__hint { font-size: var(--fs-xs); opacity: 0.65; }
.field__error { font-size: var(--fs-xs); font-weight: 700; color: var(--tangerine-deep); }

/* Segmented control — one-time vs subscribe toggle. Rail = glass-1; the
   checked tile uses THE single checked-state grammar (club tint + inset
   white ring + soft lift). */
.seg {
  display: inline-flex;
  border: var(--glass-1-brd);
  border-radius: var(--r-pill);
  background: var(--glass-1-bg);
  -webkit-backdrop-filter: var(--glass-1-blur);
  backdrop-filter: var(--glass-1-blur);
  padding: 4px;
  gap: 4px;
}
.seg__opt { position: relative; }
.seg__opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.seg__opt label, .seg__opt span {
  display: inline-block;
  padding: 9px 20px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background var(--dur-snap) ease, color var(--dur-snap) ease, box-shadow var(--dur-snap) ease, transform var(--dur-snap) var(--ease-spring);
}
.seg__opt input:checked + label,
.seg__opt input:checked + span {
  background: color-mix(in srgb, var(--club, var(--tangerine)) 30%, transparent);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.70), var(--shadow-soft-1);
  transform: scale(1.02);
}
.seg__opt input:focus-visible + label,
.seg__opt input:focus-visible + span {
  outline: none;
  box-shadow: var(--focus-ring-glass);
}

/* Switch — discreet packaging, etc. */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  cursor: pointer;
}
.switch input { position: absolute; opacity: 0; }
.switch__track {
  width: 56px;
  height: 32px;
  border: none;
  border-radius: var(--r-pill);
  background: rgba(26,18,8,0.12);
  transition: background var(--dur-snap) ease;
  flex: none;
}
.switch__track::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin: 4px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(26,18,8,0.25), 0 4px 10px rgba(26,18,8,0.15);
  transition: translate var(--dur-pop) var(--ease-spring);
}
.switch input:checked ~ .switch__track { background: rgba(198,242,90,0.70); }
.switch input:checked ~ .switch__track::after { translate: 24px 0; }
.switch input:focus-visible ~ .switch__track { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

/* Quantity stepper — glass capsule */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.60);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.50);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 2px 4px rgba(26,18,8,0.06);
  overflow: hidden;
}
.qty__btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  transition: background var(--dur-snap) ease;
}
.qty__btn:hover { background: rgba(255,179,217,0.45); }
.qty__num {
  min-width: 36px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
}

/* Progress bar — glass tube + glossy fill (barber pole retired) */
.progress {
  height: 16px;
  border: 1px solid rgba(255,255,255,0.60);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.50);
  box-shadow: inset 0 2px 4px rgba(26,18,8,0.06);
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  width: var(--progress, 20%);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.45) 0%, transparent 45%),
    var(--tangerine);
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  transition: width var(--dur-pop) var(--ease-spring);
}

/* == 15 ACCORDION ========================================================= */
.accordion {
  border: var(--glass-2-brd);
  border-radius: var(--r-md);
  background: var(--glass-2-bg);
  -webkit-backdrop-filter: var(--glass-2-blur);
  backdrop-filter: var(--glass-2-blur);
  color: var(--ink);
  overflow: hidden;
  transition: box-shadow var(--dur-snap) var(--ease-spring), transform var(--dur-snap) var(--ease-spring);
}
.accordion + .accordion { margin-top: var(--s-2); }
.accordion[open] { box-shadow: var(--specular), var(--shadow-soft-2); transform: translateY(-2px); }

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-body);
  list-style: none;
  user-select: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  background: rgba(198,242,90,0.55);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  transition: transform var(--dur-pop) var(--ease-spring), background var(--dur-snap) ease;
}
.accordion[open] summary::after {
  content: "–";
  transform: rotate(180deg);
  background: rgba(255,179,217,0.55);
}
.accordion summary:hover::after { transform: rotate(90deg) scale(1.1); }

.accordion__body {
  padding: 0 var(--s-3) var(--s-3);
  font-size: var(--fs-sm);
  line-height: 1.65;
}

/* == 16 MODAL ============================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--s-3);
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 18, 8, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Panel = the deepest glass on the site (24px blur cap lives here) */
.modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(82vh, 720px);
  overflow-y: auto;
  background: rgba(255,246,233,0.82);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.70);
  border-radius: var(--r-xl);
  box-shadow: var(--specular), var(--shadow-hover);
  padding: var(--s-5);
  animation: modal-pop var(--dur-pop) var(--ease-spring) both;
}

.modal__close {
  position: absolute;
  top: var(--s-2);
  right: var(--s-2);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  background: rgba(255,179,217,0.55);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1;
  transition: transform var(--dur-snap) var(--ease-spring);
}
.modal__close:hover { transform: rotate(90deg) scale(1.1); }

/* == 17 TABLE ============================================================= */
.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.72);
  color: var(--ink);
  box-shadow: var(--specular), var(--shadow-soft-2);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.table th, .table td {
  padding: var(--s-2) var(--s-3);
  text-align: left;
  border-bottom: 1px solid rgba(26,18,8,0.12);
  vertical-align: top;
}
.table th {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--cream);
  position: sticky;
  top: 0;
}
.table tr:last-child td { border-bottom: none; }
.table tbody tr:nth-child(even) { background: var(--cream); }
.table td.is-hero { background: var(--lime-soft); font-weight: 700; }

/* == 18 SCROLL REVEAL ===================================================== */
/* Retuned: 0.45s / 12px travel — reveals never ghost a viewport. The
   .revealed + observer contract is untouched. Legacy direction values
   (left/right/pop) keep working at the small travel. */
[data-reveal] { opacity: 0; transform: translateY(var(--reveal-travel)); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
[data-reveal="left"]  { transform: translateX(calc(-1 * var(--reveal-travel))); }
[data-reveal="right"] { transform: translateX(var(--reveal-travel)); }
[data-reveal="pop"]   { transform: translateY(var(--reveal-travel)) scale(0.96); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.04s; }
[data-reveal-delay="2"] { transition-delay: 0.08s; }
[data-reveal-delay="3"], [data-reveal-delay="4"], [data-reveal-delay="5"], [data-reveal-delay="6"] { transition-delay: 0.12s; } /* hard cap */

/* == 19 VOICE ORB — "HEY BUDDY" =========================================== */
.peppy {
  position: fixed;
  right: var(--s-3);
  bottom: var(--s-3);
  z-index: var(--z-peppy);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s-1);
}

/* Glass sphere — tangerine core lit by a specular highlight, coloured glow */
.peppy-orb {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.70), transparent 45%),
    var(--tangerine);
  box-shadow: 0 12px 28px rgba(255,92,31,0.40);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform var(--dur-snap) var(--ease-spring), box-shadow var(--dur-snap) var(--ease-spring);
}
.peppy-orb:hover {
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 16px 36px rgba(255,92,31,0.48);
}
.peppy-orb:active { transform: scale(0.94); box-shadow: 0 6px 14px rgba(255,92,31,0.35); }
.peppy-orb svg { width: 28px; height: 28px; }

.peppy-orb.is-listening {
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.70), transparent 45%),
    radial-gradient(circle at 32% 26%, var(--lime) 0%, var(--cobalt) 66%);
  animation: peppy-pulse 1.2s ease-in-out infinite;
}
.peppy-orb.is-speaking { animation: wiggle 0.6s var(--ease-spring) infinite; }

.peppy-orb__label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.peppy-chip {
  max-width: min(300px, 78vw);
  padding: 12px 16px;
  background: rgba(26,18,8,0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--cream);
  border: 1px solid rgba(255,246,233,0.35);
  border-radius: var(--r-md) var(--r-md) var(--r-sm) var(--r-md);
  box-shadow: var(--shadow-soft-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.45;
  animation: chip-pop var(--dur-pop) var(--ease-spring) both;
}
.peppy-chip[hidden] { display: none; }
.peppy-chip strong { color: var(--lime); }

/* == 20 CART COUNT + CONFETTI ============================================ */
[data-cart-count] {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--r-pill);
  background: var(--cobalt);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  line-height: 1;
}
[data-cart-count][hidden] { display: none; }
.cart-button [data-cart-count] {
  position: absolute;
  top: -8px;
  right: -8px;
}
[data-cart-count].is-bumped { animation: badge-bump 0.45s var(--ease-spring); }

.confetti-bit {
  position: fixed;
  z-index: var(--z-confetti);
  width: 11px;
  height: 11px;
  border: 2px solid var(--ink);
  pointer-events: none;
}

/* == 21 MARQUEE =========================================================== */
/* Glass ribbon — the section wash flows through it. Structure untouched
   (JS-duplicated .marquee__track contract intact). */
.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(26,18,8,0.12);
  background: rgba(255,179,217,0.45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  padding-block: var(--s-1);
}
.marquee--tangerine { background: rgba(255,92,31,0.30); color: var(--ink); }
.marquee--bubblegum { background: rgba(255,179,217,0.45); color: var(--ink); }
.marquee--footer { background: rgba(198,242,90,0.18); color: var(--cream); border-bottom: none; }

.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-body);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
/* Separator = 12px paw (the legacy ✺ glyph is collapsed via font-size:0 and
   replaced by a currentColor paw mask — markup untouched). */
.marquee__star {
  font-size: 0;
  width: 12px;
  height: 12px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cellipse cx='70' cy='86' rx='15' ry='12'/%3E%3Ccircle cx='51' cy='63' r='7'/%3E%3Ccircle cx='65' cy='55' r='7'/%3E%3Ccircle cx='80' cy='56' r='7'/%3E%3Ccircle cx='93' cy='66' r='6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cellipse cx='70' cy='86' rx='15' ry='12'/%3E%3Ccircle cx='51' cy='63' r='7'/%3E%3Ccircle cx='65' cy='55' r='7'/%3E%3Ccircle cx='80' cy='56' r='7'/%3E%3Ccircle cx='93' cy='66' r='6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* == 22 ACTION BAR + STAT ================================================= */
/* Sticky add-to-cart bar for the PDP. Hidden until .is-visible (page JS). */
.actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: calc(var(--z-peppy) - 10);
  background: var(--ink);
  color: var(--cream);
  border-top: 1px solid rgba(255,246,233,0.25);
  padding: var(--s-2) 0;
  transform: translateY(110%);
  transition: transform var(--dur-pop) var(--ease-spring);
}
.actionbar.is-visible { transform: none; }
.actionbar__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--s-half);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  opacity: 0.75;
}

/* == 23 KEYFRAMES ========================================================= */
@keyframes wiggle {
  0%   { rotate: 0deg; }
  25%  { rotate: -4deg; }
  50%  { rotate: 4deg; }
  75%  { rotate: -2deg; }
  100% { rotate: 0deg; }
}

@keyframes peppy-pulse {
  0%   { box-shadow: 0 12px 28px rgba(36,64,240,0.40), 0 0 0 0 rgba(36, 64, 240, 0.45); }
  70%  { box-shadow: 0 12px 28px rgba(36,64,240,0.40), 0 0 0 20px rgba(36, 64, 240, 0); }
  100% { box-shadow: 0 12px 28px rgba(36,64,240,0.40), 0 0 0 0 rgba(36, 64, 240, 0); }
}

@keyframes chip-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.9); }
  to   { opacity: 1; transform: none; }
}

@keyframes badge-bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.6) rotate(8deg); }
  100% { transform: scale(1); }
}

@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.86) translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes float-bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}
.float { animation: float-bob 3.4s ease-in-out infinite; }

@keyframes spin-slow {
  to { rotate: 360deg; }
}
.spin-slow { animation: spin-slow 14s linear infinite; }

/* == 24 BREAKPOINTS ======================================================= */
@media (max-width: 1100px) {
  :root { --container-w: 960px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .site-footer__grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }

  .section { padding-block: var(--s-8); }
  .section--tight { padding-block: var(--s-6); }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--s-4); }

  /* Mobile nav: panel drops below header. Near-opaque glass-3 fill — it
     must never be transparent over page content. */
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: var(--z-header);
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-1);
    padding: var(--s-3);
    background: rgba(255,246,233,0.94);
    -webkit-backdrop-filter: var(--glass-3-blur);
    backdrop-filter: var(--glass-3-blur);
    border-bottom: 1px solid rgba(26,18,8,0.12);
    box-shadow: 0 16px 40px rgba(26, 18, 8, 0.14);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform var(--dur-pop) var(--ease-spring),
      opacity var(--dur-snap) ease,
      visibility 0s linear var(--dur-pop);
  }
  .nav-open .site-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform var(--dur-pop) var(--ease-spring),
      opacity var(--dur-snap) ease;
  }
  .site-nav__link {
    font-size: var(--fs-lg);
    padding: var(--s-2) var(--s-3);
    border: 1px solid rgba(255,255,255,0.65);
    background: rgba(255,255,255,0.55);
    text-align: center;
  }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
  .site-footer__grid > :last-child { grid-column: auto; }

  .actionbar__bar { flex-wrap: wrap; gap: var(--s-2); }
  .burst { width: 88px; font-size: 0.6rem; }
  .modal__panel { padding: var(--s-4); }

  /* Washes on mobile: halve blob sizes, drop the third blob (perf) */
  .wash::before {
    background:
      radial-gradient(280px 210px at 12% 8%,  var(--wash-a, var(--wash-tangerine)) 0%, transparent 70%),
      radial-gradient(320px 260px at 88% 28%, var(--wash-b, var(--wash-bubblegum)) 0%, transparent 70%);
  }
}

@media (max-width: 390px) {
  .container, .container--narrow { width: calc(100% - (2 * var(--s-2))); }
  .btn { padding: 14px 24px; }
  .btn--lg { padding: 16px 28px; font-size: 1rem; }
  .tiktok-card { width: 74vw; }
  .price--lg .price__now { font-size: 1.75rem; }
  .peppy { right: var(--s-2); bottom: var(--s-2); }
  .peppy-orb { width: 60px; height: 60px; }
}

/* == 25 REDUCED MOTION + PRINT =========================================== */
/* The universal duration nuke below covers every Glass transition/animation
   (glass raises, paw stamps, glow fades, sheens, pulses, wiggles). The
   explicit lines pin the looping/positional ones to a fully static state.
   backdrop-filter is never animated anywhere in this system. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .float, .spin-slow { animation: none; }
  .peppy-orb.is-listening, .peppy-orb.is-speaking { animation: none; }
  .sticker:hover, .product-card:hover .product-card__sticker .burst { animation: none; }
  .glass--raise:hover, .card--hover:hover, .product-card:hover,
  .btn:hover, .btn--ghost:hover { transform: none; }
  .product-card:hover .product-card__art svg { transform: none; }
  .product-card::after { transition: none; }
  .product-card:hover::after { transform: scale(1); }
}

@media print {
  .site-header, .site-footer, .peppy, .actionbar, .marquee { display: none; }
  body { background: #fff; color: #000; }
}

/* == 26 BACKDROP-FILTER FALLBACK (@supports) ============================== */
/* Browsers without backdrop-filter get near-opaque fills so text never sits
   on unblurred content. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass--1, .glass--3 { background: rgba(255,252,246,0.92); }
  .glass--ink { background: rgba(38,30,18,0.88); }
  .site-header, .modal__panel { background: rgba(255,246,233,0.97); }
  .site-nav { background: var(--cream); }
  .card, .product-card, .accordion { background: rgba(255,252,246,0.92); }
  .card--cream     { background: rgba(255,246,233,0.95); }
  .card--bubblegum { background: rgba(255,217,236,0.95); }
  .card--lime      { background: rgba(230,251,164,0.95); }
  .card--cobalt    { background: rgba(222,227,253,0.95); }
  .chip, .chip--species, .btn--ghost, .seg, .input, .select, .textarea,
  .qty, .progress { background: rgba(255,252,246,0.92); }
  .btn--secondary { background: var(--lime); }
  .cart-button { background: var(--lime); }
  .nav-toggle { background: var(--bubblegum); }
  .sticker { background: rgba(255,252,246,0.92); }
  .burst { background: var(--lime); }
  .burst--tangerine { background: var(--tangerine); }
  .burst--bubblegum { background: var(--bubblegum); }
  .burst--cobalt    { background: var(--cobalt); }
  .marquee { background: rgba(255,217,236,0.95); }
  .marquee--tangerine { background: rgba(255,214,196,0.95); }
  .marquee--footer { background: rgba(26,18,8,0.92); }
  .trust-badge, .modal__backdrop ~ * .glass--ink { background: rgba(38,30,18,0.88); }
  .tiktok-card__meta { background: rgba(26,18,8,0.92); }
  .peppy-chip { background: var(--ink); }
  .pup-tier, .pup-tier--grey { background: rgba(255,252,246,0.92); }
  .pup-tier--green  { background: var(--lime-soft); }
  .pup-tier--yellow { background: color-mix(in srgb, var(--tier-yellow) 55%, var(--white)); }
}

/* ============================================================================
   PUPTIDES — Research disclosure (window.PUP.researchHTML)
   Used on the shop research modal, the PDP, and the science evidence hub.
   New component classes only; consumes system tokens, overrides nothing.
   ========================================================================== */
.pup-research { display: grid; gap: var(--s-4); }
.pup-research__block { display: grid; gap: var(--s-2); }
.pup-research .eyebrow { margin: 0; }
.pup-studies { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.pup-study__link {
  display: grid; gap: 2px; text-decoration: none; color: var(--ink);
  background: var(--glass-1-bg); border: var(--glass-1-brd); border-radius: var(--r-md);
  padding: var(--s-2) var(--s-3); box-shadow: var(--specular), var(--shadow-soft-1);
  transition: transform var(--dur-pop) var(--ease-pet), box-shadow var(--dur-pop) var(--ease-pet), border-color var(--dur-pop) ease;
}
.pup-study__link:hover { transform: translateY(-2px); box-shadow: var(--specular), var(--shadow-hover); border-color: rgba(255,255,255,0.90); }
.pup-study__link:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.pup-study__ref {
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xs);
  letter-spacing: .08em; color: var(--cobalt); text-transform: uppercase;
}
.pup-study__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-body); line-height: 1.2; }
.pup-study__venue { font-size: var(--fs-xs); font-weight: 700; color: var(--tangerine-deep); }
.pup-study__finding { font-size: var(--fs-sm); line-height: 1.5; color: var(--ink); opacity: .85; margin-top: 4px; }
.pup-threads { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); }
.pup-thread {
  font-size: var(--fs-sm); line-height: 1.5; padding-left: var(--s-3); position: relative;
}
/* Thread bullets = paw markers (CSS mask, paints with the tangerine accent) */
.pup-thread::before {
  content: ""; position: absolute; left: 0; top: 0.28em;
  width: 13px; height: 13px; background: var(--tangerine);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cellipse cx='70' cy='86' rx='15' ry='12'/%3E%3Ccircle cx='51' cy='63' r='7'/%3E%3Ccircle cx='65' cy='55' r='7'/%3E%3Ccircle cx='80' cy='56' r='7'/%3E%3Ccircle cx='93' cy='66' r='6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cellipse cx='70' cy='86' rx='15' ry='12'/%3E%3Ccircle cx='51' cy='63' r='7'/%3E%3Ccircle cx='65' cy='55' r='7'/%3E%3Ccircle cx='80' cy='56' r='7'/%3E%3Ccircle cx='93' cy='66' r='6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pup-research__safety {
  background: rgba(247,232,207,0.60); border: 1px solid rgba(255,255,255,0.60);
  border-radius: var(--r-md); padding: var(--s-3); box-shadow: var(--specular), var(--shadow-soft-1);
}
.pup-research__warn { font-weight: 700; }
.pup-research__warn::before { content: "⚠ "; }
/* Rx badge used across cards/PDP for veterinary-prescription items */
.pup-rx {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: .06em;
  background: var(--ink); color: var(--cream); border-radius: var(--r-pill);
  padding: 4px 10px; line-height: 1;
}
.pup-rx--otc { background: var(--lime); color: var(--ink); }

/* ---- Evidence-tier badge (green=Best evidence, yellow=Emerging, grey=Experimental) ----
   Translucent glass tints; meaning reads by the glowing dot + label, never by
   fill alone. Emerging uses --tier-yellow (no longer camouflaged bubblegum). */
.pup-tier {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: .05em;
  background: var(--glass-1-bg);
  -webkit-backdrop-filter: var(--glass-1-blur); backdrop-filter: var(--glass-1-blur);
  border: 1px solid rgba(255,255,255,0.55); border-radius: var(--r-pill);
  color: var(--ink);
  padding: 3px 9px; line-height: 1;
}
.pup-tier::before { content: "●"; font-size: .8em; text-shadow: 0 0 6px currentColor; }
.pup-tier--green  { background: rgba(198,242,90,0.35); color: var(--ink); }
.pup-tier--yellow { background: rgba(255,216,77,0.40); color: var(--ink); }
.pup-tier--grey   { background: var(--glass-1-bg);     color: var(--ink); }
/* ---- Bundle / stack card accent ---- */
.pup-stack-price { display: flex; align-items: baseline; gap: var(--s-1); flex-wrap: wrap; }
.pup-stack-price__now { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h3); }
.pup-stack-price__was { text-decoration: line-through; opacity: .55; font-weight: 700; }
.pup-stack-price__save { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xs);
  background: rgba(198,242,90,0.40); color: var(--ink); border: 1px solid rgba(255,255,255,0.55); border-radius: var(--r-pill); padding: 2px 8px; }

/* == 27 DISPATCH TRUST LINE + ADD-TO-WISHLIST (additive — order-comms law) ==
   Purely additive components for "Dispatched in 24 hours." (verbatim, sentence
   case, NEVER uppercased) and the dormant-honest wishlist heart. Nothing above
   is modified. See DESIGN_PUPTIDES_COMMS.md §4 (trust line) and §5 (wishlist). */

/* ---- "Dispatched in 24 hours." trust chip ------------------------------- */
/* Lime "save/promise" glass pill at chip scale — the .btn--secondary recipe,
   deliberately WITHOUT the uppercase/rotate of .chip and .save-pill. */
.dispatch-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-half);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: rgba(198,242,90,0.45);
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: var(--specular);
  text-transform: none;           /* the string stays sentence case, always */
}
.dispatch-chip__icon { width: 14px; height: 14px; flex: none; display: block; }
.dispatch-chip__icon path,
.dispatch-chip__icon rect,
.dispatch-chip__icon line { stroke: var(--ink); stroke-width: 2; fill: none; }

/* Micro variant — plain inline text for dense cards/rows (meta register). */
.dispatch-chip--micro {
  display: block;
  margin-top: 8px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  opacity: 0.72;
  color: var(--ink);
  white-space: normal;
  text-transform: none;
}

/* Footer badge — reuse .trust-badge grammar but STRIP its uppercase so the
   verbatim sentence-case string is preserved (honesty rule 1). */
.trust-badge--dispatch { text-transform: none; letter-spacing: 0.01em; }

/* Marquee item exemption — the marquee runs .marquee__item uppercase (§21), but
   the verbatim trust line MUST stay sentence case (honesty rule 1). Page-local
   marquee injectors add this modifier only when the item is exactly the fixed
   "Dispatched in 24 hours." string; every other marquee item is untouched. */
.marquee__item--dispatch { text-transform: none; }

/* ---- Add-to-wishlist heart --------------------------------------------- */
.wish-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--glass-1-bg);
  -webkit-backdrop-filter: var(--glass-1-blur);
  backdrop-filter: var(--glass-1-blur);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: var(--specular), var(--shadow-soft-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  flex: none;
  transition: transform var(--dur-snap) var(--ease-spring),
              box-shadow var(--dur-snap) var(--ease-spring);
}
.wish-btn:hover { transform: translateY(-2px); box-shadow: var(--specular), var(--shadow-hover); }
.wish-btn:active { transform: scale(0.98); }
.wish-btn:focus-visible { outline: none; box-shadow: var(--focus-ring-glass); }
.wish-btn__glyph { width: 20px; height: 20px; display: block; pointer-events: none; }
.wish-btn__glyph path { stroke: var(--ink); stroke-width: 2.2; fill: none; transition: fill var(--dur-snap) ease; }

.wish-btn--card { position: absolute; top: 12px; right: 12px; z-index: 2; }
.wish-btn--lg { width: 48px; height: 48px; }
.wish-btn--lg .wish-btn__glyph { width: 22px; height: 22px; }

.wish-btn.is-adding { pointer-events: none; }
.wish-btn.is-adding .wish-btn__glyph { animation: wish-pulse 0.32s var(--ease-spring) infinite alternate; }
.wish-btn.is-on .wish-btn__glyph path { fill: var(--bubblegum); stroke: var(--ink); }
.wish-btn.is-wiggling .wish-btn__glyph { animation: wiggle 0.45s var(--ease-spring); }

@keyframes wish-pulse { from { transform: scale(0.9); } to { transform: scale(1); } }

/* Honest wishlist toast — .chip grammar on glass-3, bottom-center. */
.pup-wish-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(10px);
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: var(--s-half);
  max-width: min(92vw, 30rem);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--glass-3-bg);
  -webkit-backdrop-filter: var(--glass-3-blur);
  backdrop-filter: var(--glass-3-blur);
  border: var(--glass-3-brd);
  box-shadow: var(--specular), var(--shadow-soft-1);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-snap) ease, transform var(--dur-snap) var(--ease-spring);
}
.pup-wish-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .wish-btn.is-adding .wish-btn__glyph,
  .wish-btn.is-wiggling .wish-btn__glyph { animation: none; }
  .pup-wish-toast { transition: opacity var(--dur-snap) ease; }
}

/* Backdrop-filter fallback for the new glass surfaces. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .dispatch-chip { background: rgba(230,251,164,0.95); }
  .wish-btn { background: rgba(255,252,246,0.92); }
  .pup-wish-toast { background: rgba(255,246,233,0.97); }
}

/* == 27 BEACON: analytics notice + footer email opt-in ====================
   Injected by shared.js. The notice is a glass-3 bar (first visit only,
   dismissable, links privacy.html). The opt-in is a dark-glass row that sits
   above every inline footer's legal line. */
.pa-notice {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  max-width: min(92vw, 26rem);
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--glass-3-bg);
  -webkit-backdrop-filter: var(--glass-3-blur);
  backdrop-filter: var(--glass-3-blur);
  border: var(--glass-3-brd);
  box-shadow: var(--specular), var(--shadow-soft-1);
  color: var(--ink);
  font-size: var(--fs-xs);
  line-height: 1.5;
}
.pa-notice a { color: var(--cobalt); font-weight: 700; }
.pa-notice__ok {
  flex: none;
  padding: 6px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xs);
  cursor: pointer;
}

.pa-optin {
  margin-block: var(--s-2) var(--s-3);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-md);
  background: var(--glass-ink-bg);
  -webkit-backdrop-filter: var(--glass-ink-blur);
  backdrop-filter: var(--glass-ink-blur);
  border: var(--glass-ink-brd);
}
.pa-optin__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  margin-bottom: var(--s-1);
}
.pa-optin__row { display: flex; gap: var(--s-1); flex-wrap: wrap; }
.pa-optin__input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 246, 233, 0.35);
  background: rgba(255, 246, 233, 0.10);
  color: var(--cream);
  font: inherit;
  font-size: var(--fs-sm);
}
.pa-optin__input::placeholder { color: rgba(255, 246, 233, 0.55); }
.pa-optin__btn {
  flex: none;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  cursor: pointer;
}
.pa-optin__note { margin-top: var(--s-1); font-size: var(--fs-xs); opacity: 0.7; }
.pa-optin__note a { color: inherit; text-decoration: underline; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pa-notice { background: rgba(255, 246, 233, 0.97); }
  .pa-optin { background: rgba(255, 255, 255, 0.08); }
}
