/**
 * @author AdarshAndGarima
 * Brand: Adi and Gari Gift Studio
 * Project: adi-and-gari-gift-studio
 * File Version: 2.67.0
 *
 * PURPOSE:
 * Public storefront styles — Gift Studio packaging palette (plum chrome, gold accent,
 * cream canvas) matched to physical AG sticker.
 *
 * CHANGE LOG:
 * [2026-11-30] v2.67.0 - Removed crossed-out price styles.
 * [2026-11-30] v2.66.0 - Required labels, off-list note; hidden breakdown rows stay hidden.
 * [2026-11-30] v2.65.0 - Basket builder, cart and checkout styles.
 * [2026-11-20] v2.64.0 - Puzzle Book phone/landscape-phone shell: compact left-aligned
 *                        toolbar, side-by-side Focus/Full screen, no scrollbar gutter.
 * [2026-11-20] v2.63.0 - Puzzle Book iframe min-height 720px so the cover poster
 *                        is large on short laptop windows (page scrolls).
 * [2026-11-20] v2.62.1 - Puzzle Book page scrollbar: quieter thumb (gold bar was
 *                        reading like a cut background strip on the right).
 * [2026-11-20] v2.62.0 - Puzzle Book desktop: iframe fills leftover window under
 *                        toolbar so the cover board aligns in one computer view.
 * [2026-11-20] v2.61.3 - Puzzle Book: denser toolbar spacing (copy kept) + iframe
 *                        height so play scales above FitStage floor on desktop.
 * [2026-11-20] v2.61.2 - Puzzle Book iframe uses leftover viewport under full
 *                        toolbar so play fits first screen; page scroll for footer.
 * [2026-11-20] v2.61.1 - Puzzle Book: keep always-on page scrollbar, but size
 *                        iframe to the viewport so play is not below-the-fold.
 * [2026-11-20] v2.61.0 - Puzzle Book: always-on page scrollbar + taller desktop
 *                        iframe so contents/play are not trapped without a scroll.
 * [2026-11-20] v2.60.0 - Puzzle Book: restore page scrollbar; non-sticky chrome;
 *                        tall iframe without locking overflow (no trim / no missing scroll).
 * [2026-11-20] v2.59.1 - Restore Puzzle Book toolbar (Play online eyebrow, lede,
 *                        normal title/CTAs); keep viewport iframe fill only.
 * [2026-11-20] v2.59.0 - Puzzle Book shell: compact chrome + tall iframe min-height
 *                        so desktop play is not phone-cramped / clipped.
 * [2026-11-20] v2.58.0 - Puzzle Book page: viewport-locked flex shell so the
 *                        iframe fills remaining space (no trimmed play edges
 *                        when site chrome is visible / not Focus play).
 * [2026-11-19] v2.57.1 - Revert kinder-book-section illustrated hero styles.
 * [2026-11-19] v2.57.0 - Puzzle Book page: full-bleed illustrated hero shell
 *                        (kinder-book-section) before the play frame.
 * [2026-11-10] v2.56.0 - Hero samples equally spaced on a circle (no overlap).
 * [2026-11-10] v2.55.0 - Hero orbit 5th sample (Festival Puzzle Book mid-right).
 * [2026-11-10] v2.54.0 - Kids hub 3-up grid + festival play card (live).
 * [2026-11-10] v2.53.0 - Festival Puzzle Book page: painted night sky shell background.
 * [2026-11-10] v2.52.0 - Festival Puzzle Book page shell (night frame, not green iframe).
 * [2026-11-08] v2.51.0 - All soap/basket product videos: contain (never stretch).
 * [2026-11-08] v2.50.0 - Product video fullscreen: object-fit contain (no stretch).
 * [2026-11-08] v2.49.0 - Coming-soon media badge on product cards / showcase.
 * [2026-11-07] v2.48.0 - Sale price: now · strikethrough was · (% off).
 * [2026-11-06] v2.47.0 - Product grid auto-fill (single tile stays tile-sized); h2 card padding.
 * [2026-11-06] v2.46.0 - OTP login reference callout on verify page.
 * [2026-11-06] v2.45.0 - Product page item-level reviews list.
 * [2026-11-06] v2.44.0 - Account subnav + header Account logout control.
 * [2026-11-06] v2.43.0 - OTP channel toggle + verify field on account sign-in.
 * [2026-11-06] v2.42.0 - Top-right toast ribbon under sticky purple chrome.
 * [2026-11-06] v2.41.0 - Hero title two-line stack; drop awkward 13ch wrap.
 * [2026-11-06] v2.40.0 - Kids nav accent (warm peach pill) for focus in plum header.
 * [2026-11-06] v2.39.0 - customer-auth-parked body hook (sign-in UI off).
 * [2026-11-06] v2.38.0 - Soap pack pricing hints + custom qty field.
 * [2026-11-05] v2.37.0 - Amazon-style gallery stage + video play badge on last thumb.
 * [2026-11-05] v2.36.0 - Soap product photo cards + detail showcase/gallery/promo video.
 * [2026-11-05] v2.35.2 - Social OAuth parked; keep disabled-btn CSS unused for later.
 * [2026-11-05] v2.35.1 - Disabled social auth buttons + setup hint while keys missing.
 * [2026-11-04] v2.35.0 - Professional auth card + Google/Microsoft/Apple buttons.
 * [2026-11-04] v2.34.0 - Remove Puzzle Book auth ribbon / nav-save styles.
 * [2026-11-04] v2.33.0 - Puzzle Book auth ribbon + header Sign up to save.
 * [2026-11-04] v2.32.0 - Help FAQ page collapsible accordion styles.
 * [2026-11-04] v2.31.0 - Account write-review form + star rating; home review stars.
 * [2026-11-04] v2.30.0 - Auth-page customer review strip under sign-in/register.
 * [2026-11-04] v2.29.0 - Password show/hide eye toggle on account forms.
 * [2026-11-04] v2.28.1 - Account form field-error states.
 * [2026-11-04] v2.28.0 - Home hero orbit: logo core + floating sample gifts.
 * [2026-11-04] v2.27.0 - Home hero logo float + staggered gift-option motion.
 * [2026-11-04] v2.26.1 - Footer Shop/Help links stack vertically.
 * [2026-11-04] v2.26.0 - Contact us channels + home Contact section.
 * [2026-11-04] v2.25.0 - Account sign-in / sign-up / account home styles.
 * [2026-11-04] v2.24.5 - Home About us section spacing.
 * [2026-11-04] v2.24.4 - Puzzle Book page head matches Kids hub pattern.
 * [2026-11-04] v2.24.3 - Revert Kids + Puzzle Book compact page-head rows.
 * [2026-11-04] v2.24.2 - Compact Kids + Puzzle Book page-head rows.
 * [2026-11-04] v2.24.1 - Tighter Puzzle Book outer shell spacing.
 * [2026-11-04] v2.24.0 - Tighter section / page-head spacing site-wide.
 * [2026-11-04] v2.23.3 - Puzzle iframe overflow hidden; site page still scrolls.
 * [2026-11-04] v2.23.2 - Revert Puzzle Book viewport lock / no-scroller page layout.
 * [2026-11-04] v2.23.1 - Puzzle Book page: slim copyright footer; iframe fills rest.
 * [2026-11-04] v2.23.0 - Puzzle Book page locks to viewport (no page scroller).
 * [2026-11-04] v2.22.4 - Tighter site footer padding and column gaps.
 * [2026-11-04] v2.22.3 - Puzzle Book toolbar single compact row.
 * [2026-11-04] v2.22.2 - Tighter Puzzle Book toolbar spacing above the play frame.
 * [2026-11-04] v2.22.1 - Focus bar logo left; Focus play centered.
 * [2026-11-04] v2.22.0 - Focus bar logo + centered Focus play label.
 * [2026-11-04] v2.21.0 - Puzzle Book focus / full-screen play (hide site chrome).
 * [2026-11-04] v2.20.0 - Richer hero/body atmosphere; kids hub showcase; card motion.
 * [2026-11-04] v2.19.0 - Puzzle Book iframe embed under site chrome.
 * [2026-11-04] v2.18.0 - Kids hub grid cards (colouring + puzzle book).
 * [2026-11-03] v2.17.0 - download-actions keeps View details + Preview on one row.
 * [2026-11-03] v2.16.0 - Tighter download-card CTA row (View details + Preview inline).
 * [2026-11-03] v2.15.0 - Per-book colouring detail layout + title links.
 * [2026-11-03] v2.14.0 - Listing panels: Item details / Instant download (Etsy-like).
 * [2026-11-02] v2.13.0 - Colouring thumbs + PDF preview modal.
 * [2026-11-02] v2.12.0 - Free download cards for kids colouring PDFs.
 * [2026-11-02] v2.11.0 - Product back-nav spacing for All offerings link.
 * [2026-11-02] v2.10.0 - Kids colouring product media style.
 * [2026-11-02] v2.9.0 - Tighter header vertical space around logo.
 * [2026-11-02] v2.8.0 - Transparent logo flush on plum chrome; remove brand padding box.
 * [2026-11-02] v2.7.0 - Trust strip, review cards, product media placeholders, final CTA.
 * [2026-11-02] v2.6.0 - Occasions dropdown; Diwali featured nav; drop quick-occasions strip.
 * [2026-10-31] v2.5.0 - Site colors aligned to packaging sticker (plum + gold).
 * [2026-10-31] v2.4.0 - Larger header lockup for gold AG + Gift Studio wordmark.
 * [2026-10-31] v2.3.0 - Brand logo image sizing for AG / Gift Studio header mark.
 * [2026-09-30] v2.2.0 - Unified sticky chrome; clearer header row + Gift Finder CTA.
 * [2026-09-30] v2.1.0 - Header single-row alignment + hamburger; trust bar compact.
 * [2026-09-30] v2.0.0 - Visual restyle: dark header, cream hero, wine accents, pill CTAs.
 * [2026-09-30] v1.1.0 - Trust bar, how-it-works, finder, corporate layouts.
 * [2026-09-30] v1.0.0 - Initial store CSS.
 */

:root {
  /* Packaging sticker: plum + gold foil */
  --plum: #4b245d;
  --plum-deep: #2f1638;
  --plum-soft: #5c2f72;
  --gold: #d4af37;
  --gold-deep: #b8942f;
  --gold-soft: #e8d59a;
  --bg: #f7f2eb;
  --bg-soft: #fffcf8;
  --ink: #2a1a32;
  --muted: #6a5a72;
  --wine: var(--gold);
  --wine-deep: var(--gold-deep);
  --espresso: var(--plum);
  --espresso-soft: var(--plum-soft);
  --card: #ffffff;
  --line: rgba(75, 36, 93, 0.14);
  --line-strong: rgba(75, 36, 93, 0.24);
  --radius: 12px;
  --radius-pill: 999px;
  --shadow: 0 14px 40px rgba(47, 22, 56, 0.1);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(rgba(75, 36, 93, 0.035) 1px, transparent 1.2px),
    linear-gradient(180deg, #fbf7f2 0%, var(--bg) 28%, #f3ebe3 100%);
  background-size: 22px 22px, auto;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--wine-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine); }
.wrap { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(560px, calc(100% - 2rem)); }

/* Unified sticky chrome — trust + logo row + occasions */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--plum);
  box-shadow: 0 8px 24px rgba(47, 22, 56, 0.22);
}

.trust-bar {
  background: var(--plum-deep);
  color: rgba(255, 248, 235, 0.82);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  min-height: 34px;
  padding: 0.4rem 0;
  text-align: center;
  line-height: 1.2;
}
.trust-bar .dot { opacity: 0.45; }

.site-header {
  background: var(--espresso);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  min-height: 0;
  padding: 0.35rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
  line-height: 0;
  padding: 0;
  margin: 0;
}
.brand:hover { opacity: 0.92; }
.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(200px, 58vw);
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  vertical-align: middle;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255,255,255,0.08); }

.nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.15rem 1.2rem;
  min-width: 0;
}
.nav > a,
.nav-menu-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.84);
  white-space: nowrap;
  line-height: 1;
  padding: 0.55rem 0;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav > a:hover,
.nav-menu-btn:hover,
.nav-item.is-open .nav-menu-btn { color: #fff; }
.nav > a.nav-featured {
  color: var(--gold-soft);
  font-weight: 700;
}
.nav > a.nav-featured:hover { color: var(--gold); }
.nav > a.nav-kids {
  color: #ffe0b8;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 196, 140, 0.18);
  border: 1px solid rgba(255, 210, 160, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 196, 140, 0.08);
}
.nav > a.nav-kids:hover {
  color: #fff8ee;
  background: rgba(255, 196, 140, 0.32);
  border-color: rgba(255, 220, 180, 0.75);
}
.nav-item {
  position: relative;
}
.nav-menu-btn::after {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.75;
}
.nav-menu {
  position: absolute;
  top: calc(100% - 0.35rem);
  left: 0;
  min-width: 11.5rem;
  padding: 0.45rem 0;
  background: var(--plum-deep);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(47, 22, 56, 0.35);
  z-index: 40;
}
.nav-menu[hidden] { display: none !important; }
.nav-menu a {
  display: block;
  padding: 0.65rem 1rem;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-menu a:hover { background: rgba(255,255,255,0.06); color: var(--gold-soft); }
.nav-menu a.nav-menu-all {
  margin-top: 0.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.82rem;
}
.nav a.nav-cta {
  margin-left: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--plum-deep);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.nav a.nav-cta:hover {
  background: var(--gold-soft);
  color: var(--plum-deep);
}
.occasion-featured {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.4fr 1fr;
  margin: 1.4rem 0 2rem;
}
@media (max-width: 800px) {
  .occasion-featured { grid-template-columns: 1fr; }
}
.occasion-featured-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(145deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow);
}
.occasion-featured-card:hover { color: #fff; opacity: 0.97; }
.occasion-featured-card .eyebrow { color: var(--gold-soft); }
.occasion-featured-card h2 { color: #fff; margin: 0.2rem 0 0.5rem; }
.occasion-featured-card p { color: rgba(255,255,255,0.78); margin: 0 0 1rem; max-width: 36ch; }
.occasion-side-stack { display: grid; gap: 1rem; }

/* Tablet / mobile: collapse main nav */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .header-inner {
    flex-wrap: wrap;
    min-height: 58px;
  }
  .brand { padding: 0; }
  .brand-logo { height: 34px; max-width: min(180px, 62vw); }
  .header-inner { padding: 0.25rem 0; min-height: 0; }
  .nav {
    display: none;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.15rem 0 0.65rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .site-header.is-open .nav { display: flex; }
  .nav > a,
  .nav-menu-btn {
    padding: 0.75rem 0.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.95rem;
    width: 100%;
    justify-content: flex-start;
  }
  .nav > a.nav-kids {
    width: auto;
    align-self: flex-start;
    margin: 0.35rem 0;
    border-bottom: 0;
  }
  .nav-item { width: 100%; }
  .nav-menu {
    position: static;
    min-width: 0;
    margin: 0.15rem 0 0.35rem;
    box-shadow: none;
    border-radius: 8px;
  }
  .nav a.nav-cta {
    margin: 0.55rem 0 0;
    justify-content: center;
    border-bottom: 0;
    width: auto;
  }
}

@media (max-width: 700px) {
  .cta-row .btn { width: 100%; }
  .trust-bar-inner {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.4rem;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }
  .trust-bar-inner span:nth-child(5),
  .trust-bar-inner span:nth-child(4) {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(68vh, 580px);
  display: grid;
  align-items: center;
  padding: 2.25rem 0 2rem;
  background:
    radial-gradient(920px 460px at 88% 8%, rgba(212, 175, 55, 0.22), transparent 58%),
    radial-gradient(640px 380px at 8% 12%, rgba(75, 36, 93, 0.1), transparent 52%),
    radial-gradient(480px 280px at 70% 90%, rgba(212, 175, 55, 0.08), transparent 60%),
    linear-gradient(165deg, #fffaf4 0%, #f7f2eb 48%, #efe6dc 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(75, 36, 93, 0.045) 1.1px, transparent 1.2px);
  background-size: 26px 26px;
  opacity: 0.7;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: max(-4vw, -48px);
  top: 12%;
  width: min(46vw, 420px);
  height: min(46vw, 420px);
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.42);
  box-shadow:
    inset 0 0 0 28px rgba(212, 175, 55, 0.05),
    0 0 0 1px rgba(75, 36, 93, 0.04);
  pointer-events: none;
  animation: hero-glow 8s ease-in-out infinite alternate;
}
.hero.hero--home {
  min-height: min(78vh, 640px);
  padding: 2rem 0 2.25rem;
}
.hero-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 1.5rem 2rem;
  align-items: center;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  animation: rise 0.75s ease both;
}
.hero-brand-word {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--plum);
}
.hero-orbit {
  position: relative;
  width: min(100%, 420px);
  justify-self: end;
}
.hero-orbit-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  animation: logo-enter 0.85s ease both;
}
.hero-orbit-ring {
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 1.5px dashed rgba(212, 175, 55, 0.5);
  animation: logo-orbit 28s linear infinite;
  pointer-events: none;
}
.hero-orbit-ring--slow {
  inset: 2%;
  border-style: solid;
  border-color: rgba(75, 36, 93, 0.1);
  animation-duration: 40s;
  animation-direction: reverse;
}
.hero-orbit-core {
  position: absolute;
  inset: 30%;
  display: grid;
  place-items: center;
  z-index: 3;
}
.hero-logo {
  width: 100%;
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 14px 28px rgba(47, 22, 56, 0.28));
  animation: logo-float 4.8s ease-in-out infinite;
}
.hero-sample {
  --n: 5;
  --a: calc(-90deg + (360deg / var(--n)) * var(--i, 0));
  --r: 40%;
  position: absolute;
  z-index: 4;
  top: calc(50% + sin(var(--a)) * var(--r));
  left: calc(50% + cos(var(--a)) * var(--r));
  width: min(30%, 118px);
  text-decoration: none;
  color: inherit;
  filter: drop-shadow(0 12px 20px rgba(47, 22, 56, 0.16));
  transform: translate(-50%, -50%);
  animation:
    sample-enter 0.8s ease both,
    sample-float 5.2s ease-in-out infinite;
  animation-delay:
    calc(var(--i, 0) * 0.14s + 0.35s),
    calc(var(--i, 0) * 0.45s + 1.1s);
  transition: transform 0.22s ease, filter 0.22s ease;
}
.hero-sample:hover {
  z-index: 5;
  filter: drop-shadow(0 16px 26px rgba(47, 22, 56, 0.24));
  transform: translate(-50%, calc(-50% - 4px)) scale(1.05);
  animation-play-state: paused;
}
.hero-sample-visual {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(75, 36, 93, 0.08);
}
.hero-sample-visual--photo {
  background: #efe6dc;
}
.hero-sample-visual--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-sample-copy {
  display: grid;
  gap: 0.05rem;
  margin-top: 0.35rem;
  padding: 0 0.15rem;
}
.hero-sample-copy strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--plum-deep);
  line-height: 1.2;
}
.hero-sample-copy em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.72rem; color: var(--plum); font-weight: 700;
  margin: 0 0 0.2rem;
}
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0.1em 0 0.25em;
  font-weight: 600;
  color: var(--ink);
}
.hero h1,
.hero-title {
  font-size: clamp(2.75rem, 7.2vw, 4.6rem);
  max-width: 11.5em;
  letter-spacing: -0.02em;
  color: var(--plum-deep);
  text-wrap: balance;
}
.hero-title-line {
  display: block;
  margin: 0;
  padding: 0;
  text-indent: 0;
}
.hero-accent {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--plum);
  font-weight: 500;
  margin: 0.35rem 0 0.85rem;
}
.lede { font-size: 1.05rem; max-width: 40ch; color: var(--muted); }
.cta-row { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.35rem; }
.hero-pills {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin-top: 1.35rem;
}
.hero-pills a {
  text-decoration: none;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem; font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.hero-pills a:hover {
  border-color: var(--plum);
  color: var(--plum-deep);
  background: #fff;
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .hero.hero--home { min-height: 0; padding: 1.25rem 0 1.6rem; }
  .hero-stage {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.1rem;
  }
  .hero-inner {
    order: 2;
    text-align: center;
    max-width: 36rem;
  }
  .hero-orbit {
    order: 1;
    width: min(92vw, 360px);
    justify-self: center;
  }
  .hero-sample {
    width: min(28%, 104px);
    --r: 39%;
  }
  .hero-sample-copy strong { font-size: 0.68rem; }
  .hero-sample-copy em { font-size: 0.6rem; }
  .cta-row { justify-content: center; }
  .hero h1,
  .hero-title { font-size: clamp(2.15rem, 8vw, 3.2rem); margin-inline: auto; max-width: 12em; }
  .hero-brand-word, .hero-accent, .lede { margin-inline: auto; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.35rem;
  font-weight: 700; font-size: 0.92rem;
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); color: #fff; }
.btn-ghost {
  background: transparent; border-color: var(--plum); color: var(--plum);
}
.btn-ghost:hover { background: var(--plum); color: #fff; }
.btn-wine { background: var(--gold); color: var(--plum-deep); }
.btn-wine:hover { background: var(--gold-deep); color: #fff; }

.section { padding: 1.15rem 0 1.6rem; }
.section-alt { background: var(--bg-soft); }
.section-head { margin-bottom: 0.2rem; }
.section-lede {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 0.35rem;
  line-height: 1.4;
}
.section > .wrap > .muted {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
}
.section > .wrap > .cta-row {
  margin-top: 0.65rem;
  margin-bottom: 0.35rem;
}

.occasion-grid, .product-grid, .stat-grid {
  display: grid; gap: 0.9rem;
  /* auto-fill keeps empty tracks so a single product stays tile-width, not full-bleed */
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-top: 0.75rem;
}
.occasion-tile, .product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.2rem 1.25rem;
  text-decoration: none; color: inherit;
  box-shadow: 0 8px 24px rgba(47, 22, 56, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.occasion-tile:hover, .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(47, 22, 56, 0.12);
  border-color: rgba(212, 175, 55, 0.45);
}
.occasion-tile strong {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 600;
  display: block;
}
.occasion-tile span { display: block; color: var(--muted); margin-top: 0.35rem; font-size: 0.92rem; }
.price { font-weight: 700; color: var(--espresso); letter-spacing: 0.01em; }
.price-prefix { font-weight: 600; color: var(--muted); }
.price-now { font-weight: 700; color: var(--espresso); }
.filter-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.55rem 0 0.75rem; }
.chip {
  display: inline-flex; align-items: center;
  padding: 0.45rem 0.9rem; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--card);
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.86rem;
}
.chip.is-active, .chip:hover {
  background: var(--espresso); color: #fff; border-color: var(--espresso);
}
.badge {
  display: inline-block; margin-bottom: 0.4rem; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(75, 36, 93, 0.08); color: var(--plum);
  padding: 0.25rem 0.55rem; border-radius: var(--radius-pill);
}

.product-back-nav {
  margin: 0 0 0.45rem;
}
.product-detail {
  display: grid; gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
}
@media (max-width: 800px) {
  .product-detail { grid-template-columns: 1fr; }
}
.customizer {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  align-self: start;
  position: sticky; top: 5.5rem;
  box-shadow: var(--shadow);
}
.price-unit {
  font-size: 0.72em;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.soap-pack-hint {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.92rem;
}
.soap-per-bar {
  margin: -0.35rem 0 1rem;
  font-size: 0.9rem;
}
.field { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; font-weight: 600; }
.field input, .field textarea, .field select {
  font: inherit; font-weight: 400; padding: 0.7rem 0.8rem;
  border-radius: 10px; border: 1px solid var(--line); background: #fff;
}
.field-hint {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted);
}
.soap-custom-qty[hidden] { display: none !important; }
.form { margin-top: 1rem; }
.flash { padding: 0.75rem 1rem; border-radius: 10px; }
.flash.ok { background: #e8f3ea; }
.flash.err { background: #f7e4e1; }

/* Fixed toast ribbon — top-right, just under sticky purple chrome */
.toast-ribbon {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  top: 5.75rem; /* JS refines to chrome bottom + gap */
  z-index: 45;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: min(22rem, calc(100vw - 1.7rem));
  padding: 0.85rem 0.95rem 0.85rem 1.05rem;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(47, 22, 56, 0.22);
  border: 1px solid rgba(75, 36, 93, 0.1);
  backdrop-filter: blur(8px);
  animation: toast-in 0.35s ease both;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.toast-ribbon.is-leaving {
  opacity: 0;
  transform: translateY(-8px) translateX(6px);
  pointer-events: none;
}
.toast-ribbon--ok {
  background: rgba(232, 243, 234, 0.96);
  color: #1f4d2a;
  border-color: rgba(46, 125, 50, 0.22);
}
.toast-ribbon--err {
  background: rgba(247, 228, 225, 0.97);
  color: #7a2e24;
  border-color: rgba(160, 60, 48, 0.22);
}
.toast-ribbon-text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}
.toast-ribbon-close {
  flex: none;
  margin: -0.15rem -0.2rem 0 0;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.65;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
}
.toast-ribbon-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06);
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-10px) translateX(8px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .toast-ribbon {
    left: max(0.85rem, env(safe-area-inset-left, 0px));
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    max-width: none;
  }
}
.muted { color: var(--muted); }
.prose { max-width: 65ch; }
.about-home .section-lede { max-width: 58ch; }
.about-home .cta-row { margin-top: 0.75rem; }
.contact-home .section-lede { max-width: 58ch; }
.contact-home .cta-row { margin-top: 0.85rem; }
.contact-channels {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 36rem;
}
.contact-channels li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact-channels a {
  color: var(--plum);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
.contact-channels a:hover { text-decoration: underline; }
.contact-form-head {
  margin: 1.75rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}
.site-footer .footer-contact {
  margin: 0.55rem 0 0;
  line-height: 1.45;
}
.site-footer .footer-contact a { text-decoration: underline; text-underline-offset: 2px; }
.account-auth .auth-card {
  margin: 0 auto;
  padding: 1.5rem 1.35rem 1.35rem;
  background: linear-gradient(165deg, #fffefb 0%, #fff 55%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}
.account-auth .auth-card h1 {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.75rem, 4vw, 2.15rem);
}
.account-auth .auth-card .section-lede {
  margin-bottom: 1.1rem;
}
.account-auth .auth-social {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 0.35rem;
}
.account-auth .auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.account-auth .auth-social-btn:hover {
  border-color: rgba(75, 36, 93, 0.35);
  box-shadow: 0 0 0 3px rgba(75, 36, 93, 0.08);
  background: #fffcf7;
}
.account-auth .auth-social-btn.is-disabled,
.account-auth .auth-social-btn.is-disabled:hover {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  background: #f7f4ef;
  border-color: var(--line);
}
.account-auth .auth-social-btn--apple {
  background: #111;
  border-color: #111;
  color: #fff;
}
.account-auth .auth-social-btn--apple:hover {
  background: #222;
  border-color: #222;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.account-auth .auth-social-btn--apple.is-disabled,
.account-auth .auth-social-btn--apple.is-disabled:hover {
  background: #555;
  border-color: #555;
  color: #eee;
  box-shadow: none;
}
.account-auth .auth-social-icon {
  display: inline-flex;
  line-height: 0;
}
.account-auth .auth-social-setup {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
}
.account-auth .auth-social-setup a {
  color: var(--plum);
  font-weight: 600;
}
.account-auth .auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.account-auth .auth-divider::before,
.account-auth .auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}
.account-auth .auth-submit {
  width: 100%;
  margin-top: 0.25rem;
}
.account-auth .otp-channel {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.account-auth .otp-channel-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  cursor: pointer;
}
.account-auth .otp-channel-option input {
  accent-color: var(--plum);
}
.account-auth #otp-code {
  letter-spacing: 0.35em;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
}
.account-auth .otp-login-ref {
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(75, 36, 93, 0.05);
  text-align: center;
}
.account-auth .otp-login-ref-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.account-auth .otp-login-ref-value {
  margin: 0.25rem 0 0.45rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--plum);
}
.account-auth .otp-login-ref-hint {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.account-auth .auth-switch { margin-top: 1.25rem; }
.account-auth .auth-switch a { color: var(--plum); font-weight: 600; }
.account-auth .field-hint { font-weight: 400; color: var(--muted); font-size: 0.9em; }
.account-auth .field.has-error input {
  border-color: #a33a3a;
  box-shadow: 0 0 0 3px rgba(163, 58, 58, 0.12);
}
.account-auth .field-error {
  display: block;
  margin-top: 0.2rem;
  font-weight: 600;
  font-size: 0.86rem;
  color: #8a2f2f;
}
.account-auth .field-error[hidden] {
  display: none;
}
.account-auth .field.has-error .field-hint {
  color: #8a2f2f;
}
.account-auth .password-wrap {
  position: relative;
  display: block;
}
.account-auth .password-wrap input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 2.85rem;
}
.account-auth .password-toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.account-auth .password-toggle:hover,
.account-auth .password-toggle:focus-visible {
  color: var(--plum);
  background: rgba(75, 36, 93, 0.06);
  outline: none;
}
.account-auth .password-toggle[aria-pressed="true"] {
  color: var(--plum);
}
.account-auth .password-toggle svg[hidden] {
  display: none;
}
.account-auth .auth-reviews {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.account-auth .auth-reviews-head {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--ink);
}
.account-auth .auth-review-grid {
  margin-top: 1rem;
}
.account-auth .auth-review-grid .review-card {
  background: linear-gradient(165deg, #fffefb 0%, var(--bg-soft, #f7f2ea) 100%);
}
.account-auth .auth-review-grid .review-card p {
  font-size: 1.08rem;
}
@media (min-width: 720px) {
  .account-auth .wrap.narrow {
    max-width: 42rem;
  }
}
.account-meta {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.account-meta dt {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.15rem;
}
.account-meta dd { margin: 0; font-weight: 600; }
.account-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}
.account-meta-links a {
  color: var(--plum);
  font-weight: 600;
}
.account-home .cta-row { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.account-logout { margin-top: 1.5rem; }
.account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.35rem;
  margin: 0 0 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.account-nav a,
.account-nav-logout button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}
.account-nav a:hover,
.account-nav-logout button:hover {
  color: var(--plum);
  background: rgba(75, 36, 93, 0.06);
}
.account-nav a.is-active {
  color: var(--plum);
  background: rgba(75, 36, 93, 0.1);
}
.account-nav-logout {
  margin-left: auto;
  display: inline;
}
.account-settings-block {
  margin: 1.5rem 0;
  padding: 1.1rem 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.account-settings-block .section-head {
  margin-top: 0;
}
.product-reviews {
  padding-top: 0.5rem;
}
.product-review-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.product-review-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.product-review-body {
  margin: 0.35rem 0 0.5rem;
  line-height: 1.55;
}
.product-review-meta {
  margin: 0;
  font-size: 0.9rem;
}
.nav-menu-logout {
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.nav-menu-logout button {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
}
.nav-menu-logout button:hover {
  background: rgba(255,255,255,0.06);
  color: var(--gold-soft);
}
.faq-page .section-lede { max-width: 58ch; }
.faq-page-cta { margin-top: 1.75rem; }
.faq-list {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.65rem;
}
.faq-list details,
.faq-list .faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-list summary {
  list-style: none;
  font-weight: 700;
  cursor: pointer;
  padding: 0.95rem 2.75rem 0.95rem 1.05rem;
  position: relative;
  color: var(--ink);
  line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(75, 36, 93, 0.08);
  color: var(--plum);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5rem;
  text-align: center;
}
.faq-list details[open] > summary::after { content: "–"; }
.faq-list details[open] > summary {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffefb 0%, var(--bg-soft, #f7f2ea) 100%);
}
.faq-answer {
  padding: 0.85rem 1.05rem 1.05rem;
}
.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 400;
}

.site-footer {
  background: var(--espresso);
  color: rgba(255,255,255,0.78);
  padding: 1.1rem 0 0.85rem; margin-top: 0;
}
.site-footer a { color: rgba(255,255,255,0.82); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}
.site-footer .muted {
  color: rgba(255,255,255,0.62);
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  max-width: 36ch;
}
.site-footer p { margin: 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  padding-top: 0.55rem;
  font-size: 0.86rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: 0.85rem 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding-bottom: 0.7rem;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.how-grid, .split {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}
.steps { margin: 0; padding-left: 1.2rem; }
.steps li { margin: 0.55rem 0; }
.delivery-card, .check-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}
.check-list { list-style: none; padding-left: 0; }
.check-list li { padding: 0.4rem 0 0.4rem 1.25rem; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--wine); font-weight: 700; }
.group-title { margin-top: 1.9rem; font-size: 1.65rem; }
.finder-step {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.05rem; margin: 0 0 1rem; background: var(--card);
}
.finder-step legend {
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; padding: 0 0.35rem;
}
.chip-choices { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.chip-choices label {
  display: inline-flex; gap: 0.35rem; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 0.5rem 0.85rem; background: #fff; cursor: pointer;
  font-weight: 600; font-size: 0.88rem;
}
.chip-choices input { accent-color: var(--wine); }

.panel-dark {
  background: var(--espresso); color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem 1.5rem;
}
.panel-dark h2, .panel-dark h3 { color: #fff; }
.panel-dark .section-lede { color: rgba(255,255,255,0.72); }
.panel-dark .btn-ghost {
  border-color: rgba(255,255,255,0.55); color: #fff;
}
.panel-dark .btn-ghost:hover { background: #fff; color: var(--espresso); }

@keyframes hero-glow {
  from { transform: scale(1) translate(0, 0); opacity: 0.9; }
  to { transform: scale(1.04) translate(-8px, 10px); opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes logo-enter {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: none; }
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
}
@keyframes logo-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes sample-enter {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.86); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
@keyframes sample-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 8px)); }
}

.trust-strip {
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.95), rgba(247, 242, 235, 0.9));
  border-block: 1px solid var(--line);
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: center;
}
.trust-strip-inner > div {
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.trust-strip-inner > div:hover {
  background: rgba(212, 175, 55, 0.1);
}
.trust-strip-inner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--plum-deep);
}
.trust-strip-inner span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
@media (max-width: 800px) {
  .trust-strip-inner { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero-inner,
  .hero-orbit-stage,
  .hero-logo,
  .hero-orbit-ring,
  .hero-sample,
  .occasion-tile,
  .product-card,
  .kids-hub-card,
  .hero-pills a,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 0 1.15rem;
}
.product-card .badge,
.product-card h2,
.product-card h3,
.product-card > p,
.product-card .price,
.product-card .btn {
  margin-left: 1.15rem;
  margin-right: 1.15rem;
}
.product-card .badge { margin-top: 0.95rem; }
.product-card .btn { align-self: flex-start; margin-top: 0.35rem; padding: 0.55rem 1rem; font-size: 0.82rem; }
.product-media {
  height: 160px;
  border-bottom: 1px solid var(--line);
}
.product-media--photo {
  display: block;
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f3eee6;
  text-decoration: none;
}
.product-media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.product-card:hover .product-media--photo img {
  transform: scale(1.045);
}
.media-soon-badge {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(46, 28, 58, 0.88);
  color: #f5e8d2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.media-soon-note {
  margin: 0.35rem 0 0.85rem;
  max-width: 42ch;
}
.product-media--basket {
  background:
    radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.45), transparent 45%),
    linear-gradient(160deg, #5c2f72 0%, #2f1638 100%);
}
.product-media--soap {
  background:
    radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.35), transparent 40%),
    linear-gradient(160deg, #c4a484 0%, #8a6a52 55%, #4b245d 100%);
}
.product-media--kids {
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 220, 120, 0.55), transparent 42%),
    radial-gradient(circle at 75% 70%, rgba(120, 200, 255, 0.4), transparent 40%),
    linear-gradient(155deg, #5c2f72 0%, #d4af37 48%, #4b245d 100%);
}
.product-showcase {
  margin: 0 0 1.25rem;
  max-width: 560px;
}
.product-showcase-stage {
  position: relative;
  margin: 0 0 0.75rem;
  border-radius: 18px;
  overflow: hidden;
  background: #f7f2ea;
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
}
.product-showcase-hero,
.product-showcase-video {
  margin: 0;
  width: 100%;
  height: 100%;
}
.product-showcase-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #f7f2ea;
}
/* Soap + basket product videos: always keep native aspect ratio (no stretch). */
.product-promo,
video.product-promo,
.product-showcase-video .product-promo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #1a1220;
}
/* Native / vendor fullscreen — same contain behavior on every product page. */
.product-promo:fullscreen,
.product-promo:-webkit-full-screen,
.product-promo:-moz-full-screen,
.product-promo:-ms-fullscreen,
video.product-promo:fullscreen,
video.product-promo:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain !important;
  object-position: center center !important;
  background: #000 !important;
}
.product-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
}
.product-gallery-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-gallery-thumb:hover {
  border-color: rgba(75, 36, 93, 0.45);
}
.product-gallery-thumb.is-active {
  border-color: var(--plum, #4b245d);
  box-shadow: 0 0 0 2px rgba(75, 36, 93, 0.22);
}
.product-gallery-thumb--video .product-gallery-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(20, 12, 28, 0.38);
  color: #fff;
}
.product-gallery-thumb--video .product-gallery-play svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.download-card .btn { margin-top: 0.35rem; }
.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0.35rem 1.15rem 0.85rem;
}
.download-actions-secondary {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
}
.download-actions .btn,
.download-actions-secondary .btn {
  width: auto !important;
  margin: 0 !important;
  flex: 0 0 auto;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
}
.download-thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #f3ebe0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.download-thumb {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
}
.download-thumb-hint {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  background: rgba(47, 22, 56, 0.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
}
.download-thumb-btn:hover .download-thumb { opacity: 0.92; }
.download-thumb-btn:hover .download-thumb-hint { background: var(--plum); }
.download-meta {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.82rem;
}
.download-title-link {
  color: inherit;
  text-decoration: none;
}
.download-title-link:hover {
  color: var(--plum);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.download-thumb-link {
  display: block;
  background: #f3ebe0;
  overflow: hidden;
}
.download-thumb-link:hover .download-thumb { opacity: 0.92; }

.kids-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin: 1.75rem 0 2.5rem;
}
@media (max-width: 960px) {
  .kids-hub-grid { grid-template-columns: 1fr; }
}
.kids-hub-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.55rem 1.5rem 1.65rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.kids-hub-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--plum) 100%);
}
.kids-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(47, 22, 56, 0.14);
}
.kids-hub-card-play {
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(45, 140, 70, 0.12), transparent 60%),
    linear-gradient(165deg, #fff 0%, #f4faf5 100%);
}
.kids-hub-card-festival {
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(180, 40, 70, 0.14), transparent 58%),
    radial-gradient(280px 160px at 0% 100%, rgba(245, 197, 24, 0.18), transparent 55%),
    linear-gradient(165deg, #fff 0%, #fff4f0 100%);
}
.kids-hub-card-print {
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(212, 175, 55, 0.16), transparent 60%),
    linear-gradient(165deg, #fff 0%, #fff8ee 100%);
}
.kids-hub-card h2 {
  margin: 0.25rem 0 0.65rem;
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  color: var(--plum-deep);
}
.kids-hub-card .download-actions {
  margin-top: 1.15rem;
}
.kids-hub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.55rem;
}
@media (max-width: 700px) {
  .kids-hub-grid { grid-template-columns: 1fr; }
}

/* Puzzle Book — SPA lives in a same-origin iframe under storefront chrome */
.puzzle-book-section {
  padding-bottom: 0;
}
.puzzle-book-toolbar {
  margin-bottom: 0.75rem;
}
.puzzle-book-toolbar .product-back-nav.cta-row {
  margin-top: 0;
}
.puzzle-book-view-actions {
  margin-top: 0.65rem;
  margin-bottom: 0;
}
.puzzle-book-frame-shell {
  position: relative;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 0 0.5rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(rgba(75, 36, 93, 0.05) 1px, transparent 1.2px);
  background-size: 18px 18px;
}
.puzzle-book-frame {
  display: block;
  width: 100%;
  min-height: 70vh;
  height: calc(100dvh - 12.5rem);
  border: 0;
  background: #d5edda;
  overflow: hidden;
}

/*
 * Puzzle Book page (site chrome visible):
 * - Keep full toolbar (Kids / Play online / lede / Focus)
 * - Non-sticky header so scroll does not cover the play frame
 * - Always-on page scrollbar (not overlay-only / not locked)
 * - Desktop iframe tall enough that library boards are reachable
 */
html:has(body.puzzle-book-page):not(:has(body.puzzle-book-focus)) {
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
body.puzzle-book-page:not(.puzzle-book-focus) {
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
html:has(body.puzzle-book-page):not(:has(body.puzzle-book-focus))::-webkit-scrollbar,
body.puzzle-book-page:not(.puzzle-book-focus)::-webkit-scrollbar {
  width: 12px;
}
html:has(body.puzzle-book-page):not(:has(body.puzzle-book-focus))::-webkit-scrollbar-track,
body.puzzle-book-page:not(.puzzle-book-focus)::-webkit-scrollbar-track {
  background: transparent;
}
html:has(body.puzzle-book-page):not(:has(body.puzzle-book-focus))::-webkit-scrollbar-thumb,
body.puzzle-book-page:not(.puzzle-book-focus)::-webkit-scrollbar-thumb {
  background: rgba(75, 36, 93, 0.35);
  border-radius: 999px;
  min-height: 40px;
}
body.puzzle-book-page .site-chrome {
  position: relative;
}
body.puzzle-book-page .puzzle-book-section.section {
  padding-top: 0.55rem;
  padding-bottom: 0;
}
body.puzzle-book-page .puzzle-book-toolbar .product-back-nav.cta-row {
  margin-bottom: 0.2rem;
}
body.puzzle-book-page .puzzle-book-toolbar .eyebrow {
  margin-bottom: 0.15rem;
}
body.puzzle-book-page .puzzle-book-toolbar h1 {
  margin: 0 0 0.25rem;
}
body.puzzle-book-page .puzzle-book-toolbar .section-lede {
  margin: 0 0 0.45rem;
  max-width: 54ch;
}
body.puzzle-book-page .puzzle-book-toolbar .puzzle-book-view-actions {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}
body.puzzle-book-page .puzzle-book-frame-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}
body.puzzle-book-page .puzzle-book-frame {
  /*
   * Fill the leftover window under the toolbar, but never shorter than 720px so
   * the cover poster stays large on short laptop windows (page scrolls instead).
   */
  min-height: 720px;
  height: max(calc(100dvh - 16.75rem), 720px);
}
@media (max-width: 900px) {
  body.puzzle-book-page .puzzle-book-frame {
    min-height: 480px;
    height: calc(100dvh - 20rem);
  }
}
/* Phones: compact toolbar, no reserved scrollbar gutter, buttons side by side */
@media (max-width: 700px), (max-width: 900px) and (max-height: 520px) {
  html:has(body.puzzle-book-page):not(:has(body.puzzle-book-focus)),
  body.puzzle-book-page:not(.puzzle-book-focus) {
    overflow-y: auto;
    scrollbar-gutter: auto;
  }
  body.puzzle-book-page .puzzle-book-section.section {
    padding-top: 0.4rem;
  }
  body.puzzle-book-page .puzzle-book-toolbar {
    margin-bottom: 0.4rem;
  }
  body.puzzle-book-page .puzzle-book-toolbar .product-back-nav.cta-row {
    justify-content: flex-start;
  }
  body.puzzle-book-page .puzzle-book-toolbar .product-back-nav .btn {
    width: auto;
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
  }
  body.puzzle-book-page .puzzle-book-toolbar h1 {
    font-size: 1.85rem;
    line-height: 1.1;
  }
  body.puzzle-book-page .puzzle-book-toolbar .section-lede {
    font-size: 0.86rem;
    line-height: 1.35;
    margin-bottom: 0.35rem;
  }
  body.puzzle-book-page .puzzle-book-toolbar .puzzle-book-view-actions {
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
    margin-bottom: 0.1rem;
  }
  body.puzzle-book-page .puzzle-book-toolbar .puzzle-book-view-actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 0.55rem 0.5rem;
    font-size: 0.88rem;
  }
  body.puzzle-book-page .puzzle-book-frame {
    height: calc(100dvh - 13rem);
  }
}
/* Short landscape phones: keep the toolbar to one tidy row */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
  body.puzzle-book-page .puzzle-book-toolbar .section-lede {
    display: none;
  }
  body.puzzle-book-page .puzzle-book-frame {
    min-height: 0;
    height: calc(100dvh - 6rem);
  }
}
body.puzzle-book-page .site-footer {
  margin-top: 0;
  padding: 0.55rem 0;
}
body.puzzle-book-page .site-footer .footer-grid {
  display: none;
}
body.puzzle-book-page .site-footer .footer-inner {
  justify-content: center;
  padding-top: 0;
  font-size: 0.82rem;
}

/* Festival Puzzle Book — night shell (distinct from kindergarten green frame) */
.festival-book-section {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(12, 8, 20, 0.72), rgba(12, 8, 20, 0.88)),
    url("/kids/festival-puzzle-book/atmos/cover-night.jpg") center 20% / cover no-repeat,
    #120814;
  color: #fff6e8;
}
.festival-book-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 40% at 50% -5%, rgba(245, 197, 24, 0.28), transparent 55%),
    radial-gradient(ellipse 45% 35% at 90% 30%, rgba(196, 30, 58, 0.22), transparent 50%);
}
.festival-book-section > * {
  position: relative;
  z-index: 1;
}
.festival-book-section .festival-book-toolbar {
  color: #fff6e8;
}
.festival-book-section .festival-book-toolbar .eyebrow {
  color: #ffd27a;
}
.festival-book-section .festival-book-toolbar h1 {
  color: #ffe8a3;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.festival-book-section .festival-book-toolbar .section-lede {
  color: rgba(255, 246, 232, 0.88);
  max-width: 46rem;
}
.festival-book-section .festival-book-toolbar .btn-ghost {
  color: #fff6e8;
  border-color: rgba(255, 232, 163, 0.45);
  background: rgba(255, 248, 232, 0.08);
}
.festival-book-frame-shell {
  border-top-color: rgba(245, 197, 24, 0.35);
  background:
    radial-gradient(rgba(245, 197, 24, 0.12) 1px, transparent 1.2px),
    linear-gradient(180deg, rgba(27, 16, 32, 0.35), rgba(27, 16, 32, 0.55));
  background-size: 18px 18px, auto;
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.18), 0 18px 40px rgba(0, 0, 0, 0.35);
}
.festival-book-frame {
  background: #120814;
}
.puzzle-book-focus-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.85rem;
  background: rgba(47, 22, 56, 0.94);
  color: #fff8eb;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}
.puzzle-book-focus-bar[hidden] {
  display: none !important;
}
.puzzle-book-focus-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  line-height: 0;
  text-decoration: none;
}
.puzzle-book-focus-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(160px, 38vw);
  object-fit: contain;
}
.puzzle-book-focus-bar-label {
  margin: 0;
  justify-self: center;
  text-align: center;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.puzzle-book-focus-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-self: end;
  justify-content: flex-end;
}
.btn-compact {
  padding: 0.5rem 0.9rem;
  font-size: 0.84rem;
}
.puzzle-book-focus-bar .btn-ghost {
  border-color: rgba(255, 248, 235, 0.45);
  color: #fff8eb;
}
.puzzle-book-focus-bar .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
body.puzzle-book-page .site-footer {
  margin-top: 0;
}

/* Immersive play — banners gone, puzzle fills the viewport */
html:has(body.puzzle-book-focus) {
  overflow: hidden;
  scrollbar-gutter: auto;
  height: 100%;
}
body.puzzle-book-focus {
  background: #d5edda;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body.puzzle-book-focus .site-chrome,
body.puzzle-book-focus .site-footer,
body.puzzle-book-focus .puzzle-book-toolbar {
  display: none !important;
}
body.puzzle-book-focus main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.puzzle-book-focus .puzzle-book-section {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}
body.puzzle-book-focus .puzzle-book-frame-shell {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #d5edda;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
body.puzzle-book-focus .puzzle-book-frame {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: auto;
}
body.puzzle-book-focus .puzzle-book-frame-shell:fullscreen,
body.puzzle-book-focus .puzzle-book-frame-shell:-webkit-full-screen {
  width: 100%;
  height: 100%;
  background: #d5edda;
}
body.puzzle-book-focus .puzzle-book-frame-shell:fullscreen .puzzle-book-frame,
body.puzzle-book-focus .puzzle-book-frame-shell:-webkit-full-screen .puzzle-book-frame {
  height: calc(100% - 52px);
  min-height: calc(100% - 52px);
}

@media print {
  body.puzzle-book-page .site-chrome,
  body.puzzle-book-page .puzzle-book-toolbar,
  body.puzzle-book-page .site-footer,
  body.puzzle-book-page .puzzle-book-focus-bar {
    display: none !important;
  }
  body.puzzle-book-page .puzzle-book-frame-shell {
    padding: 0;
    border: 0;
    background: none;
  }
  body.puzzle-book-page .puzzle-book-frame {
    min-height: 100vh;
    height: 100vh;
  }
}

.colouring-detail {
  align-items: start;
}
.colouring-detail-media {
  position: sticky;
  top: 5.5rem;
}
.colouring-detail-thumb .download-thumb {
  height: auto;
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center top;
  background: #f3ebe0;
}
.colouring-detail-info .badge { margin: 0.35rem 0 0.85rem; }
.colouring-detail-panels {
  margin-top: 1.5rem;
  max-width: none;
}
@media (max-width: 800px) {
  .colouring-detail-media { position: static; }
}

.listing-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}
.listing-highlights li {
  font-size: 0.84rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem;
}
.listing-panels {
  margin-top: 2.25rem;
  max-width: 720px;
}
.listing-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 0.65rem;
  overflow: hidden;
}
.listing-panel > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--plum-deep);
}
.listing-panel > summary::-webkit-details-marker { display: none; }
.listing-panel > summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1;
}
.listing-panel[open] > summary::after { content: "–"; }
.listing-panel-body {
  padding: 0 1.2rem 1.25rem;
  border-top: 1px solid var(--line);
}
.listing-subhead {
  margin: 1.1rem 0 0.45rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
}
.listing-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.listing-meta-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.listing-meta-list li:last-child { border-bottom: 0; }
.listing-prose { margin-top: 0.35rem; }
.listing-prose p { margin: 0.55rem 0; }
.listing-note { margin-top: 1rem; font-size: 0.88rem; }
.instant-download-card {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(75, 36, 93, 0.06));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.instant-download-label {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.instant-download-card p:last-child { margin: 0; }

body.pdf-modal-open { overflow: hidden; }
.pdf-modal[hidden] { display: none !important; }
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 22, 56, 0.72);
}
.pdf-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 24px 60px rgba(47, 22, 56, 0.35);
  overflow: hidden;
}
.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.pdf-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
}
.pdf-modal-close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--plum);
  padding: 0.15rem 0.4rem;
}
.pdf-modal-body {
  flex: 1 1 auto;
  min-height: 50vh;
  background: #2a1a32;
}
.pdf-modal-body iframe {
  width: 100%;
  height: min(68vh, 640px);
  border: 0;
  background: #fff;
}
.pdf-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.product-media--1 { filter: hue-rotate(12deg) saturate(1.05); }
.product-media--2 { filter: hue-rotate(-18deg) brightness(1.05); }

.review-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1.4rem;
}
.review-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.review-card p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 0.85rem;
}
.review-card footer {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.review-stars,
.my-review-stars {
  margin: 0 0 0.55rem;
  letter-spacing: 0.08em;
  font-size: 1rem;
  font-style: normal;
  font-family: var(--font-body, inherit);
  color: rgba(75, 36, 93, 0.28);
}
.review-stars .is-on,
.my-review-stars .is-on {
  color: var(--gold, #D4AF37);
}
.review-write-cta { margin-top: 1.25rem; }

.account-review-block {
  margin: 2rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.account-review-block .section-head {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}
.account-review-block .section-lede {
  margin-bottom: 1rem;
}
.account-review-block .field-label {
  display: block;
  margin-bottom: 0.35rem;
}
.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.15rem;
}
.star-rating input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.star-rating label {
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
  color: rgba(75, 36, 93, 0.22);
  padding: 0.1rem 0.12rem;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label,
.star-rating input:focus-visible + label {
  color: var(--gold, #D4AF37);
}
.star-rating input:focus-visible + label {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
  border-radius: 4px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.review-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  resize: vertical;
  min-height: 6.5rem;
  width: 100%;
  box-sizing: border-box;
}
.account-home .field.has-error textarea {
  border-color: #a33a3a;
  box-shadow: 0 0 0 3px rgba(163, 58, 58, 0.12);
}
.account-home .field-error {
  display: block;
  margin-top: 0.2rem;
  font-weight: 600;
  font-size: 0.86rem;
  color: #8a2f2f;
}
.account-home .field-error[hidden] { display: none; }
.my-reviews { margin-top: 1.75rem; }
.my-reviews-head {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}
.my-reviews-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.my-review-item {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.my-review-body {
  margin: 0 0 0.4rem;
  line-height: 1.4;
}
.my-review-meta { margin: 0; font-size: 0.85rem; }
.account-logout { margin-top: 1.5rem; }

.final-cta {
  background: linear-gradient(145deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: #fff;
  padding: 3rem 0;
}
.final-cta-inner { text-align: center; max-width: 40rem; margin-inline: auto; }
.final-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}
.final-cta p { color: rgba(255,255,255,0.8); }
.final-cta .btn-ghost {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.final-cta .btn-ghost:hover { background: #fff; color: var(--plum-deep); }
.final-cta .cta-row { justify-content: center; }

/* Customer auth parked � keep class for future toggles */
body.customer-auth-parked .publisher-save-hint { display: none !important; }

/* [2026-11-27] Crawlable puzzle description: hidden during Focus play. */
body.puzzle-book-focus .puzzle-book-about { display: none; }

/* Basket builder, cart and checkout */
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}
.cart-count {
  display: inline-block; min-width: 1.35em; padding: 0 0.35em; border-radius: 999px;
  background: var(--gold); color: var(--plum-deep); font-size: 0.78em; font-weight: 700; text-align: center;
}
.basket-builder select, .basket-builder input[type="number"],
.cart-qty-form input {
  font: inherit; padding: 0.5rem 0.55rem; border: 1px solid rgba(75, 36, 93, 0.25);
  border-radius: 8px; background: #fff; width: 100%; min-width: 0;
}
.bb-rows { list-style: none; margin: 0 0 0.75rem; padding: 0; display: grid; gap: 0.7rem; }
.bb-row {
  display: grid;
  grid-template-areas: "item item item" "qty line remove"; gap: 0.4rem; align-items: center;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  padding-bottom: 0.7rem; border-bottom: 1px solid rgba(75, 36, 93, 0.12);
}
.bb-item { grid-area: item; }
.bb-qty { grid-area: qty; }
.bb-line { grid-area: line; justify-self: end; font-weight: 600; }
.bb-remove {
  grid-area: remove; width: 2.25rem; height: 2.25rem; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(75, 36, 93, 0.25); background: #fff; color: var(--plum); font-size: 1.2rem; line-height: 1;
}
.bb-add { width: 100%; justify-content: center; cursor: pointer; }
.bb-reset {
  background: none; border: 0; padding: 0.4rem 0; color: var(--plum);
  font: inherit; text-decoration: underline; cursor: pointer;
}
.bb-badge {
  display: inline-block; margin: 0.4rem 0; padding: 0.2rem 0.65rem; border-radius: 999px;
  background: rgba(212, 175, 55, 0.22); color: var(--plum-deep); font-size: 0.8rem; font-weight: 700;
}
.basket-builder.is-custom .bb-summary .bb-badge { background: var(--plum); color: #fff; }
.bb-note { margin: 0.25rem 0; font-size: 0.92rem; }
.bb-breakdown { margin: 0.35rem 0; }
.bb-breakdown div { display: flex; justify-content: space-between; gap: 0.75rem; }
.bb-breakdown dd { margin: 0; }
.bb-breakdown div[hidden] { display: none; }
.basket-builder button[type="submit"]:disabled { opacity: 0.55; cursor: not-allowed; }
.cart-wrap { max-width: 820px; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid rgba(75, 36, 93, 0.14);
}
.cart-line-main { flex: 1 1 20rem; min-width: 0; }
.cart-line-main h2 { font-size: 1.25rem; margin: 0 0 0.25rem; }
.cart-line-side { display: grid; gap: 0.5rem; justify-items: end; align-content: start; }
.cart-qty-form { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: flex-end; }
.cart-qty-form input { width: 4.5rem; }
.cart-totals { text-align: right; padding-top: 1rem; }
.cart-totals .cta-row { justify-content: flex-end; }
.checkout-form { max-width: 480px; }
.checkout-form textarea, .checkout-form input { font: inherit; }

.bb-required {
  margin-left: 0.35rem; padding: 0.05rem 0.4rem; border-radius: 999px;
  border: 1px solid rgba(75, 36, 93, 0.3); font-size: 0.68rem; font-weight: 600; color: var(--muted);
}
.bb-offlist {
  margin: 0.75rem 0; padding: 0.6rem 0.75rem; border-left: 3px solid var(--gold);
  background: rgba(212, 175, 55, 0.12); font-size: 0.9rem; text-align: left;
}

