/* ==========================================================================
   PackPrep — storefront stylesheet
   1. Tokens          5. Hero            9. Reviews
   2. Reset/base      6. Trust bar      10. FAQ / newsletter
   3. Utilities       7. Categories     11. Footer
   4. Header/nav      8. Products       12. Cart drawer / toast / pages
   ========================================================================== */

/* 1. Tokens ============================================================== */
:root {
  color-scheme: light;

  --navy-900: #0b2545;
  --navy-800: #12305c;
  --navy-700: #1b4079;
  --navy-600: #27579e;
  --navy-050: #eef3fa;

  --yellow-500: #ffc531;
  --yellow-600: #e0a413;
  --yellow-100: #fff4d6;

  --white: #fff;
  --paper: #f7f9fc;
  --ink: #0f1b2d;
  --text-muted: #556580;
  --line: #e2e8f2;
  --success: #12855c;
  --success-bg: #e7f6ef;
  --star: #ffb020;
  --sale: #d92d20;
  --sale-bg: #fdecea;

  --font-head: "Rubik", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px rgba(11, 37, 69, .05);
  --sh-2: 0 4px 12px rgba(11, 37, 69, .08), 0 12px 28px rgba(11, 37, 69, .07);
  --sh-3: 0 8px 20px rgba(11, 37, 69, .1), 0 24px 56px rgba(11, 37, 69, .12);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;

  --t-fast: 150ms;
  --t: 220ms;
  --ease: cubic-bezier(.32, .72, .28, 1);

  --z-header: 100;
  --z-overlay: 200;
  --z-drawer: 210;
  --z-toast: 300;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

/* 2. Reset / base ======================================================== */
*, *::before, *::after { box-sizing: border-box; }

/* Author `display` rules beat the UA stylesheet's [hidden] { display: none },
   so the attribute needs to be enforced explicitly. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  color: var(--navy-900);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3.3vw, 3.85rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-600); }

img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li + li { margin-top: .35em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

:focus-visible {
  outline: 3px solid var(--navy-600);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .footer :focus-visible, .hero :focus-visible {
  outline-color: var(--yellow-500);
}

::selection { background: var(--yellow-500); color: var(--navy-900); }

/* 3. Utilities =========================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(48px, 6vw, 88px); }
.section--tight { padding-block: clamp(36px, 4vw, 56px); }
.section--paper { background: var(--paper); }

.section-head { max-width: 640px; margin: 0 auto clamp(28px, 3vw, 44px); text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin-bottom: .6em;
}
.eyebrow--light { color: var(--yellow-500); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  z-index: 400; padding: 12px 20px;
  background: var(--navy-900); color: var(--white);
  border-radius: var(--r-sm); font-weight: 700; text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 12px; color: var(--white); }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor;
        stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }
.icon--fill { fill: currentColor; stroke: none; }

/* Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-700);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px;
  padding: 12px 26px;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  line-height: 1.2; text-align: center; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid transparent; border-radius: var(--r-pill);
  cursor: pointer;
  touch-action: manipulation;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); color: var(--btn-fg); }
.btn:active { transform: translateY(0); box-shadow: var(--sh-1); }

.btn--primary { --btn-bg: var(--yellow-500); --btn-fg: var(--navy-900); }
.btn--primary:hover { --btn-bg: var(--yellow-600); }

.btn--dark { --btn-bg: var(--navy-700); --btn-fg: var(--white); }
.btn--dark:hover { --btn-bg: var(--navy-800); }

.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--navy-900);
  border-color: var(--line);
}
.btn--outline:hover { --btn-bg: var(--navy-050); border-color: var(--navy-600); }

.btn--ghost-light {
  --btn-bg: rgba(255, 255, 255, .12); --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, .38);
}
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .22); }

.btn--lg { min-height: 56px; padding: 15px 34px; font-size: 1.06rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .5; pointer-events: none;
}

/* Stars ---------------------------------------------------------------- */
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.stars--lg svg { width: 22px; height: 22px; }

/* Reveal on scroll ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

/* 4. Announcement + header ============================================== */
.announce {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  font-size: .875rem;
  text-align: center;
}
.announce__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 18px; padding: 9px 44px 9px var(--gutter); min-height: 40px;
}
.announce b { color: var(--yellow-500); }
.announce__timer {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.announce__timer [data-countdown] { display: inline-flex; gap: 4px; }
.announce__timer .unit {
  background: rgba(255, 255, 255, .14);
  border-radius: 6px; padding: 2px 7px; min-width: 32px;
  display: inline-block; text-align: center;
}
.announce__close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: grid; place-items: center;
  color: rgba(255, 255, 255, .7); border-radius: 50%;
}
.announce__close:hover { color: var(--white); background: rgba(255, 255, 255, .12); }
.announce[hidden] { display: none; }

.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t) var(--ease);
}
.header.is-stuck { box-shadow: var(--sh-1); }
.header__inner {
  display: flex; align-items: center; gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 1.32rem; font-weight: 700;
  letter-spacing: -.03em; color: var(--navy-900); text-decoration: none;
  margin-right: auto; padding-block: 6px;
}
.brand img { width: 36px; height: 36px; }
.brand__name { display: inline-flex; }        /* one flex item -> no gap between letters */
.brand__to { color: var(--navy-700); }
.brand:hover { color: var(--navy-900); }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a {
  display: block; padding: 10px 14px; border-radius: var(--r-sm);
  font-weight: 600; font-size: .97rem; color: var(--navy-900); text-decoration: none;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav a:hover { background: var(--navy-050); color: var(--navy-700); }
.nav a[aria-current="page"] {
  color: var(--navy-700);
  box-shadow: inset 0 -3px 0 var(--yellow-500);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}

.header__actions { display: flex; align-items: center; gap: 4px; }

.icon-btn {
  position: relative;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%; color: var(--navy-900);
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.icon-btn:hover { background: var(--navy-050); }
.icon-btn:active { transform: scale(.94); }

.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 21px; height: 21px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--sale); color: var(--white);
  font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  border-radius: var(--r-pill); border: 2px solid var(--white);
  font-variant-numeric: tabular-nums;
  transition: transform var(--t) var(--ease);
}
.cart-count[hidden] { display: none; }
.cart-count.is-bump { transform: scale(1.35); }

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
}

/* Mobile nav panel ------------------------------------------------------ */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; z-index: var(--z-drawer);
  width: min(88vw, 360px);
  background: var(--white);
  transform: translateX(100%);
  display: flex; flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
  /* Visibility flips instantly on open so the panel is focusable right away,
     and is deferred to the end of the slide-out on close. */
  visibility: hidden;
  transition: transform var(--t) var(--ease), visibility 0s linear var(--t);
}
.mobile-nav.is-open {
  transform: none; visibility: visible;
  transition: transform var(--t) var(--ease), visibility 0s;
}
.mobile-nav__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 12px 14px 20px; border-bottom: 1px solid var(--line);
}
.mobile-nav ul { list-style: none; margin: 0; padding: 12px; overflow-y: auto; flex: 1; }
.mobile-nav li { margin: 0; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 14px; border-radius: var(--r);
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--navy-900); text-decoration: none;
}
.mobile-nav a:hover { background: var(--navy-050); }
.mobile-nav__foot { padding: 16px 20px 24px; border-top: 1px solid var(--line); }

.overlay {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: rgba(11, 37, 69, .5);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t) var(--ease), visibility var(--t) var(--ease);
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* 5. Hero =============================================================== */
.hero {
  position: relative;
  background: linear-gradient(168deg, var(--navy-900) 0%, var(--navy-700) 62%, #24559b 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px; top: -220px; right: -140px;
  background: radial-gradient(circle, rgba(255, 197, 49, .26), transparent 68%);
}
.hero::after {
  width: 380px; height: 380px; bottom: -190px; left: -130px;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 68%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(32px, 5vw, 56px);
  padding-block: clamp(40px, 5vw, 76px);
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--yellow-500); }
.hero__lead {
  font-size: clamp(1.02rem, .96rem + .4vw, 1.2rem);
  color: rgba(255, 255, 255, .85);
  max-width: 52ch; margin-bottom: 1.7em;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.hero__proof {
  display: grid; gap: 10px; list-style: none; padding: 0; margin: 0;
  font-size: .95rem; color: rgba(255, 255, 255, .86);
}
.hero__proof li {
  display: flex; align-items: flex-start; gap: 10px; margin: 0;
}
.hero__proof li > span:not(.icon) { display: block; }
.hero__proof .icon { color: var(--yellow-500); flex: none; }
.hero__proof strong { color: var(--white); }
@media (min-width: 480px) {
  .hero__proof { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
}
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--navy-800);
  margin-left: -10px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: .74rem; font-weight: 600; color: var(--navy-900);
}
.avatars span:first-child { margin-left: 0; }

.hero__media { position: relative; }
/* Scoped to the illustration fallback so it can't tint real product photos. */
.hero__media > img[data-hero-fallback] {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  background: #fff7e8;
}
.hero__badge {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  background: var(--white); color: var(--navy-900);
  border-radius: var(--r-pill); box-shadow: var(--sh-2);
  font-size: .86rem; font-weight: 700; line-height: 1.25;
  white-space: nowrap;
}
.hero__badge small { display: block; font-weight: 400; color: var(--text-muted); font-size: .78rem; }
.hero__badge .icon { color: var(--success); }
.hero__badge--a { left: -6px; bottom: 30px; }
.hero__badge--b { right: -6px; top: 26px; }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.02fr .98fr; }
  .hero__badge--a { left: -28px; }
  .hero__badge--b { right: -24px; }
}

/* Hero collage — real product photography, not a stock drawing ---------- */
.hero__collage {
  display: grid; gap: 12px;
  aspect-ratio: 4 / 3;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  /* Explicit areas: one tall feature tile beside two stacked ones, then a
     wide tile underneath. Named areas keep it stable when tiles are missing. */
  grid-template-areas:
    "feature second"
    "feature third";
}
.hero__tile {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-2);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.hero__tile:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
/* Products are shot on assorted backgrounds — contain keeps every one whole
   rather than cropping the top off a whiteboard. */
.hero__tile img { width: 100%; height: 100%; object-fit: contain; padding: 9%; }
.hero__tile--1 { grid-area: feature; }
.hero__tile--1 img { padding: 11%; }
.hero__tile--2 { grid-area: second; }
.hero__tile--3 { grid-area: third; }
.hero__tile--4 { display: none; }

@media (max-width: 640px) {
  .hero__collage {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "feature feature" "second third";
    gap: 10px;
  }
}

/* 6. Trust bar ========================================================== */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; background: var(--line);
  border-inline: 1px solid var(--line);
  list-style: none; margin: 0; padding: 0;
}
.trust__grid li { margin: 0; }
.trust__item {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 16px;
  background: var(--white);
}
.trust__item .icon { color: var(--navy-700); width: 27px; height: 27px; }
.trust__item strong {
  display: block; font-family: var(--font-head); font-size: .95rem;
  font-weight: 600; color: var(--navy-900); line-height: 1.25;
}
.trust__item small { color: var(--text-muted); font-size: .8rem; }

@media (min-width: 768px) {
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .trust__item { padding: 24px 20px; }
}

.pay-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; padding: 16px 0 20px;
}
.pay-row .pay-label {
  font-size: .82rem; color: var(--text-muted); margin-right: 4px;
}
.pay-badge {
  display: inline-flex; align-items: center; gap: 5px;
  height: 30px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white);
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  color: var(--navy-800); letter-spacing: .01em;
}
.pay-badge .icon { width: 14px; height: 14px; color: var(--success); }

/* 7. Category tiles ===================================================== */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .cats { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.cat {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 148px; padding: 18px;
  border-radius: var(--r-lg);
  background: var(--navy-050); color: var(--navy-900);
  text-decoration: none;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--sh-2); color: var(--navy-900); }
.cat::after {
  content: ""; position: absolute; inset: 0;
  border: 2px solid transparent; border-radius: inherit;
  transition: border-color var(--t) var(--ease);
}
.cat:hover::after { border-color: var(--yellow-500); }
.cat img {
  position: absolute; right: -14px; top: 8px;
  width: 96px; opacity: .95;
  transition: transform var(--t) var(--ease);
}
/* Real product photos read better as a rounded inset than a floating cut-out. */
.cat img.cat__photo {
  right: 12px; top: 12px; width: 78px; height: 78px;
  object-fit: cover; border-radius: var(--r); box-shadow: var(--sh-1);
}
@media (min-width: 768px) {
  .cat img.cat__photo { width: 96px; height: 96px; }
}
.cat:hover img { transform: translateY(-4px) rotate(-4deg); }
.cat strong { font-family: var(--font-head); font-size: 1.02rem; position: relative; }
.cat small { color: var(--text-muted); font-size: .82rem; position: relative; }
.cat:nth-child(2) { background: var(--yellow-100); }
.cat:nth-child(3) { background: #e8f6f4; }
.cat:nth-child(4) { background: #fdeee9; }

@media (min-width: 768px) {
  .cat { min-height: 190px; padding: 22px; }
  .cat img { width: 126px; }
}

/* 8. Products =========================================================== */
.filters {
  display: flex; gap: 8px; flex-wrap: nowrap;
  overflow-x: auto; scrollbar-width: none;
  padding: 4px 0 14px; margin-bottom: 18px;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
}
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .filters { flex-wrap: wrap; justify-content: center; } }

.chip {
  flex: none;
  min-height: 44px; padding: 10px 20px;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: var(--white);
  font-family: var(--font-head); font-size: .93rem; font-weight: 600;
  color: var(--navy-800); white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--navy-600); background: var(--navy-050); }
.chip[aria-pressed="true"] {
  background: var(--navy-900); border-color: var(--navy-900); color: var(--white);
}

.products {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .products { gap: 20px; } }
@media (min-width: 900px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .products { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.card:hover, .card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--sh-2);
  border-color: #cfdaeb;
}
.card[hidden] { display: none; }

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: var(--paper);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 380ms var(--ease);
}
/* Our own line-art placeholders need breathing room; photos should bleed. */
.card__media img[src$=".svg"] { object-fit: contain; padding: 12%; }
.card:hover .card__media img { transform: scale(1.07) rotate(-2deg); }

.card__flags {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.flag {
  padding: 4px 10px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-size: .69rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--navy-900); color: var(--white);
}
.flag--sale { background: var(--sale-bg); color: var(--sale); }
.flag--best { background: var(--yellow-500); color: var(--navy-900); }
.flag--low { background: var(--sale); color: var(--white); }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 14px; }
@media (min-width: 640px) { .card__body { padding: 18px; } }

.card__rating {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; color: var(--text-muted); margin-bottom: 8px;
  min-height: 20px;
}
/* Shown instead of "0 (0)" on items that haven't been reviewed yet. */
.card__rating--new { color: var(--success); font-weight: 700; }
.card__rating--new .icon { color: var(--success); }

.card__title {
  font-family: var(--font-head); font-size: .97rem; font-weight: 600;
  line-height: 1.35; margin: 0 0 10px; color: var(--navy-900);
  /* CJ titles run to 20+ words; clamp so every card keeps the same rhythm. */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  line-clamp: 2; overflow: hidden;
  min-height: 2.7em;
}
.card__options {
  font-size: .72rem; font-weight: 700; color: var(--navy-700);
  background: var(--navy-050); padding: 3px 9px; border-radius: var(--r-pill);
  margin-left: auto; white-space: nowrap; align-self: center;
}
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--navy-700); text-decoration: underline;
                       text-underline-offset: 2px; }
.card__price {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin-top: auto; margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.card__price b { font-family: var(--font-head); font-size: 1.22rem; color: var(--navy-900); }
.card__price s { color: var(--text-muted); font-size: .9rem; }
.card__price .save {
  font-size: .74rem; font-weight: 700; color: var(--sale);
  background: var(--sale-bg); padding: 2px 7px; border-radius: var(--r-pill);
}
.card .btn { position: relative; z-index: 1; }
.card__add { width: 100%; min-height: 46px; padding-inline: 16px; font-size: .95rem; }
.card__add.is-added { --btn-bg: var(--success); --btn-fg: var(--white); }

.empty-state {
  grid-column: 1 / -1; text-align: center;
  padding: 48px 20px; color: var(--text-muted);
}
.empty-state .icon { width: 40px; height: 40px; margin: 0 auto 12px; color: #b9c5d8; }

/* Feature strip -------------------------------------------------------- */
.features { display: grid; gap: 16px; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.feature {
  padding: 26px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.feature__icon {
  width: 52px; height: 52px; border-radius: var(--r);
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--navy-050); color: var(--navy-700);
}
.feature h3 { margin-bottom: .35em; }
.feature p { color: var(--text-muted); font-size: .93rem; margin: 0; }

/* 9. Reviews ============================================================ */
.reviews-summary {
  display: grid; gap: 24px; align-items: center;
  padding: 26px; margin-bottom: 32px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
}
@media (min-width: 768px) {
  .reviews-summary { grid-template-columns: 260px 1fr; gap: 40px; padding: 32px 36px; }
}
.score { text-align: center; }
.score b {
  display: block; font-family: var(--font-head); font-size: 3.4rem;
  font-weight: 700; line-height: 1; color: var(--navy-900);
}
.score small { display: block; color: var(--text-muted); font-size: .88rem; margin-top: 8px; }
.score .stars { margin-top: 10px; }

.bars { display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 52px 1fr 42px; align-items: center; gap: 12px;
       font-size: .84rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.bar__track {
  display: block; height: 9px; background: var(--navy-050);
  border-radius: var(--r-pill); overflow: hidden;
}
.bar__fill {
  display: block; height: 100%; background: var(--star); border-radius: inherit;
  width: var(--pct, 0%); transition: width 900ms var(--ease);
}

.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none;
  padding: 4px 0 8px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.carousel__track::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
  .carousel__track { margin-inline: 0; padding-inline: 0; }
}

.review {
  flex: 0 0 min(84vw, 372px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.review__quote { font-size: .97rem; color: #33455f; margin: 12px 0 18px; }
.review__quote::before { content: "\201C"; }
.review__quote::after { content: "\201D"; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__av {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  background: var(--navy-050); color: var(--navy-700);
}
.review__who strong { display: block; font-size: .92rem; color: var(--navy-900); }
.review__who small { color: var(--text-muted); font-size: .8rem; }
.verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .74rem; font-weight: 700; color: var(--success);
  background: var(--success-bg); padding: 3px 9px; border-radius: var(--r-pill);
}
.verified .icon { width: 12px; height: 12px; stroke-width: 3; }

.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; }
.carousel__btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--white);
  display: grid; place-items: center; color: var(--navy-900);
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.carousel__btn:hover { background: var(--navy-050); border-color: var(--navy-600); }
.carousel__btn:active { transform: scale(.94); }
.carousel__dots { display: flex; }
.carousel__dots button {
  /* Visual dot is 8px, but the hit area stays a comfortable 36x44. */
  width: 36px; height: 44px; display: grid; place-items: center;
}
.carousel__dots button::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #c6d1e2; transition: background-color var(--t-fast) var(--ease),
                                    width var(--t-fast) var(--ease);
}
.carousel__dots button[aria-current="true"]::before {
  background: var(--navy-700); width: 22px; border-radius: var(--r-pill);
}

.honest-note {
  display: flex; gap: 14px; align-items: flex-start;
  max-width: 760px; margin: clamp(28px, 4vw, 44px) auto 0;
  padding: 20px 24px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.honest-note .icon { color: var(--navy-600); flex: none; margin-top: 2px; }
.honest-note p { margin: 0; font-size: .95rem; color: var(--text-muted); }
.honest-note strong { color: var(--navy-900); }

/* Bundle band ---------------------------------------------------------- */
.band {
  background: var(--navy-900); color: var(--white);
  border-radius: var(--r-xl); overflow: hidden;
  display: grid; gap: 0; align-items: center;
}
@media (min-width: 860px) { .band { grid-template-columns: 1.15fr .85fr; } }
.band__text { padding: clamp(30px, 4vw, 52px); }
.band h2 { color: var(--white); }
.band p { color: rgba(255, 255, 255, .8); margin-bottom: 1.6em; }
.band__art {
  align-self: stretch; min-height: 200px;
  background: linear-gradient(150deg, #1b4079, #27579e);
  display: grid; place-items: center; padding: 24px;
  position: relative;
}
.band__art img { width: min(58%, 220px); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .3)); }
.band__save {
  position: absolute; top: 20px; right: 20px;
  background: var(--yellow-500); color: var(--navy-900);
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  padding: 9px 15px; border-radius: var(--r-pill);
  transform: rotate(6deg);
}

/* 10. FAQ + newsletter ================================================== */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white); margin-bottom: 10px;
  transition: border-color var(--t-fast) var(--ease);
}
.faq details[open] { border-color: #cfdaeb; box-shadow: var(--sh-1); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; min-height: 56px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: var(--navy-900); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--t) var(--ease); color: var(--navy-600); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq__body { padding: 0 20px 20px; color: var(--text-muted); font-size: .95rem; }

.newsletter {
  background: var(--yellow-100);
  border-radius: var(--r-xl);
  padding: clamp(30px, 4vw, 56px);
  text-align: center;
}
.newsletter p { color: #6b5a2a; max-width: 46ch; margin-inline: auto; }
.form-inline {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 480px; margin: 22px auto 12px;
}
@media (min-width: 560px) { .form-inline { flex-direction: row; } }
.form-inline .field { flex: 1; text-align: left; margin-bottom: 0; }

.input {
  width: 100%; min-height: 52px;
  padding: 13px 18px;
  background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.input::placeholder { color: #8695ab; }
.input:focus {
  outline: none; border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(39, 87, 158, .16);
}
.input[aria-invalid="true"] { border-color: var(--sale); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(217, 45, 32, .16); }
textarea.input { border-radius: var(--r); min-height: 132px; resize: vertical; }

select.input {
  appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1b2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  cursor: pointer;
}

.field { display: block; margin-bottom: 16px; text-align: left; }
.field > label {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: .9rem; margin-bottom: 6px; color: var(--navy-900);
}
.field .req { color: var(--sale); }
.hint { display: block; font-size: .8rem; color: var(--text-muted); margin-top: 6px; }
.error {
  display: none; align-items: center; gap: 5px;
  font-size: .82rem; font-weight: 600; color: var(--sale); margin-top: 6px;
}
.error.is-shown { display: flex; }
.error .icon { width: 14px; height: 14px; }
.fineprint { font-size: .8rem; color: var(--text-muted); }

.form-note {
  display: none; align-items: flex-start; gap: 10px;
  padding: 14px 18px; margin-top: 18px;
  background: var(--success-bg); color: #0d5f43;
  border-radius: var(--r); font-size: .92rem; text-align: left;
}
.form-note.is-shown { display: flex; }
.form-note .icon { color: var(--success); flex: none; margin-top: 2px; }

/* 11. Footer ============================================================ */
.footer {
  background: var(--navy-900); color: rgba(255, 255, 255, .74);
  padding-top: clamp(44px, 5vw, 72px);
  margin-bottom: env(safe-area-inset-bottom);
}
.footer__grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  padding-bottom: 40px;
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; } }

.footer h3 {
  font-size: .82rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1.2em;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0; }
.footer li + li { margin-top: 2px; }
.footer__grid a {
  display: inline-block; padding: 7px 0;
  color: rgba(255, 255, 255, .74); text-decoration: none; font-size: .94rem;
  transition: color var(--t-fast) var(--ease);
}
.footer__grid a:hover { color: var(--yellow-500); }
.footer .brand { color: var(--white); margin-bottom: 14px; }
.footer .brand__to { color: var(--yellow-500); }
.footer .brand:hover { color: var(--white); }
.footer__about { font-size: .93rem; max-width: 34ch; }

.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a {
  width: 42px; height: 42px; padding: 0;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: var(--white);
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.socials a:hover { background: var(--yellow-500); color: var(--navy-900); transform: translateY(-2px); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .13);
  padding-block: 22px;
  display: flex; flex-direction: column; gap: 14px;
  align-items: center; text-align: center;
  font-size: .85rem;
}
@media (min-width: 860px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer__bottom .pay-row { padding: 0; gap: 6px; }
.footer__bottom .pay-badge {
  background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .88);
}
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer__credit {
  display: inline-block; margin-top: 4px;
  color: rgba(255, 255, 255, .55); font-size: .82rem;
}
.footer__legal a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.footer__legal a:hover { color: var(--yellow-500); }

/* Keep the last row clear of the mobile sticky CTA. */
@media (max-width: 899px) {
  .footer__bottom { padding-bottom: 92px; }
}
.footer__note { font-size: .93rem; }

/* 12. Cart drawer ======================================================= */
.cart {
  position: fixed; inset: 0 0 0 auto; z-index: var(--z-drawer);
  width: min(94vw, 430px);
  background: var(--white);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform var(--t) var(--ease), visibility 0s linear var(--t);
  box-shadow: var(--sh-3);
}
.cart.is-open {
  transform: none; visibility: visible;
  transition: transform var(--t) var(--ease), visibility 0s;
}
.cart__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 12px 16px 20px;
  border-bottom: 1px solid var(--line);
}
.cart__head h2 { font-size: 1.2rem; margin: 0; }

.ship-meter { padding: 16px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.ship-meter p { font-size: .87rem; margin: 0 0 9px; color: var(--navy-800); }
.ship-meter b { color: var(--success); }
.ship-meter__track { height: 8px; background: #dde5f0; border-radius: var(--r-pill); overflow: hidden; }
.ship-meter__fill {
  height: 100%; width: var(--pct, 0%);
  background: linear-gradient(90deg, var(--yellow-500), var(--success));
  border-radius: inherit; transition: width 420ms var(--ease);
}

.cart__items { flex: 1; overflow-y: auto; padding: 8px 20px; margin: 0; list-style: none; }
.cart__items li { margin: 0; }
.cart-line {
  display: grid; grid-template-columns: 72px 1fr; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.cart-line__img {
  width: 72px; height: 72px; border-radius: var(--r-sm);
  background: var(--paper); padding: 6px; object-fit: contain;
}
.cart-line strong { display: block; font-family: var(--font-head); font-size: .93rem; line-height: 1.3; }
.cart-line small { color: var(--text-muted); font-size: .8rem; }
.cart-line__row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px;
}
.qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
}
.qty button {
  width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--navy-800); border-radius: 50%;
}
.qty button:hover { background: var(--navy-050); }
.qty span {
  min-width: 26px; text-align: center; font-weight: 700; font-size: .9rem;
  font-variant-numeric: tabular-nums;
}
.cart-line__price { font-family: var(--font-head); font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-line__remove {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .8rem; color: var(--text-muted); text-decoration: underline;
  padding: 4px 2px;
}
.cart-line__remove:hover { color: var(--sale); }

.cart__empty { padding: 56px 24px; text-align: center; color: var(--text-muted); }
.cart__empty .icon { width: 46px; height: 46px; margin: 0 auto 14px; color: #b9c5d8; }

.cart__foot {
  border-top: 1px solid var(--line);
  padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
  background: var(--white);
}
.cart__totals { display: grid; gap: 7px; margin-bottom: 14px; font-size: .93rem; }
.cart__totals div { display: flex; justify-content: space-between; gap: 12px; }
.cart__totals .total {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--navy-900);
  padding-top: 9px; border-top: 1px solid var(--line);
}
.cart__totals span { font-variant-numeric: tabular-nums; }
.cart__secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; font-size: .8rem; color: var(--text-muted);
}
.cart__secure .icon { width: 14px; height: 14px; color: var(--success); }

/* Checkout sheet ------------------------------------------------------- */
.sheet {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  display: grid; place-items: center; padding: 16px;
}
.sheet__scrim { position: absolute; inset: 0; background: rgba(11, 37, 69, .55); }
.sheet__panel {
  position: relative; width: min(100%, 540px); max-height: 92dvh;
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--r-xl);
  box-shadow: var(--sh-3); overflow: hidden;
  animation: sheet-in 240ms var(--ease);
}
.sheet__panel--narrow { width: min(100%, 420px); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }

.sheet__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 12px 16px 24px; border-bottom: 1px solid var(--line); flex: none;
}
.sheet__head h2 { margin: 0; font-size: 1.25rem; }
.sheet__body { padding: 22px 24px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
.sheet__summary {
  padding: 12px 16px; margin-bottom: 18px;
  background: var(--paper); border-radius: var(--r); font-size: .93rem;
}
.sheet__row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .sheet__row { grid-template-columns: 1fr; } }
.sheet__error {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 12px 15px; margin-bottom: 16px;
  background: var(--sale-bg); color: var(--sale);
  border-radius: var(--r); font-size: .9rem; font-weight: 600;
}
.sheet__error[hidden] { display: none; }
.sheet .req { color: var(--sale); }

.sheet__done { text-align: center; padding: 34px 28px; }
.sheet__tick {
  width: 62px; height: 62px; margin: 0 auto 18px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--success-bg); color: var(--success);
}
.sheet__tick .icon { width: 30px; height: 30px; stroke-width: 2.6; }
.sheet__ordernum {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: var(--navy-900); letter-spacing: .02em; margin: 6px 0 14px;
}
.sheet__done .btn { margin-top: 12px; }

/* Product detail page --------------------------------------------------- */
.pdp { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
/* Grid items default to min-width:auto, which stops them shrinking below their
   content — the thumbnail strip then forced the whole page wider than the
   phone. min-width:0 lets the column shrink and the strip scroll on its own. */
.pdp > * { min-width: 0; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1140px) { .pdp { grid-template-columns: 1.05fr .95fr; } }

.pdp__stage {
  position: relative; aspect-ratio: 1; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
}
.pdp__stage img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.skeleton-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); }

.pdp__flags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }

.pdp__thumbs {
  display: flex; gap: 10px; margin-top: 12px;
  overflow-x: auto; scrollbar-width: none; padding-bottom: 4px;
}
.pdp__thumbs::-webkit-scrollbar { display: none; }
.pdp__thumbs button {
  flex: none; width: 74px; height: 74px; padding: 5px;
  background: var(--white); border: 2px solid var(--line); border-radius: var(--r);
  transition: border-color var(--t-fast) var(--ease);
}
.pdp__thumbs button:hover { border-color: #c6d3e6; }
.pdp__thumbs button[aria-current="true"] { border-color: var(--navy-700); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: contain; }

.pdp__info h1 {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.15rem);
  margin-bottom: .45em; text-wrap: pretty;
}
.pdp__rating { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.pdp__reviewcount { font-size: .88rem; color: var(--text-muted); }

.pdp__price {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.pdp__price b { font-family: var(--font-head); font-size: 2rem; color: var(--navy-900); }
.pdp__price s { color: var(--text-muted); font-size: 1.05rem; }

.pdp__stock { font-size: .92rem; font-weight: 600; margin-bottom: 22px; }
.pdp__stock--in { color: var(--success); }
.pdp__stock--low { color: var(--warn, #b45309); }
.pdp__stock--out { color: var(--sale); }

.pdp__label {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: .92rem; margin-bottom: 9px;
}
.pdp__options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pdp__option {
  min-height: 46px; padding: 10px 18px;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: var(--white); font-family: var(--font-head);
  font-size: .92rem; font-weight: 600; color: var(--navy-900);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.pdp__option:hover:not([disabled]) { border-color: var(--navy-600); background: var(--navy-050); }
.pdp__option[aria-checked="true"] {
  background: var(--navy-900); border-color: var(--navy-900); color: var(--white);
}
.pdp__option[disabled] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

.pdp__buy { display: flex; gap: 12px; align-items: stretch; margin-bottom: 24px; flex-wrap: wrap; }
.qty--lg { border-radius: var(--r-pill); }
.qty--lg button { width: 50px; height: 54px; }
.qty--lg span { min-width: 34px; font-size: 1rem; }
.pdp__add { flex: 1; min-width: 190px; }

.pdp__assurances { list-style: none; padding: 0; margin: 0 0 26px; }
.pdp__assurances li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .9rem; color: var(--text-muted); margin-bottom: 10px;
}
.pdp__assurances .icon { color: var(--success); flex: none; margin-top: 2px; }

.pdp__details details {
  border-top: 1px solid var(--line); background: none; margin: 0; border-radius: 0;
}
.pdp__details details:last-child { border-bottom: 1px solid var(--line); }
.pdp__details summary { padding: 16px 2px; min-height: 56px; }
.pdp__details .faq__body { padding: 0 2px 18px; }
.pdp__details details[open] { box-shadow: none; }

.crumbs--light { color: var(--text-muted); padding-top: 20px; }
.crumbs--light a { color: var(--navy-700); }
.crumbs--light li + li::before { color: #b9c5d8; }

.card__media--link { display: block; cursor: pointer; }

/* Order confirmation page ---------------------------------------------- */
.confirm {
  max-width: 620px; margin-inline: auto; text-align: center;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 44px);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-1);
}
.confirm h1 { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.1rem); margin-bottom: .5em; }
.confirm p { color: var(--text-muted); }
.confirm__state[hidden] { display: none; }

.confirm__tick {
  width: 68px; height: 68px; margin: 0 auto 20px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--success-bg); color: var(--success);
}
.confirm__tick--wait { background: var(--yellow-100); color: var(--yellow-600); }
.confirm__tick .icon { width: 32px; height: 32px; stroke-width: 2.6; }

.confirm__spinner {
  width: 44px; height: 44px; margin: 0 auto 20px; display: block;
  border: 4px solid var(--navy-050); border-top-color: var(--navy-700);
  border-radius: 50%; animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.confirm__ordernum {
  font-family: var(--font-head); font-size: 1.45rem; font-weight: 700;
  color: var(--navy-900); letter-spacing: .02em; margin: 4px 0 18px;
}
.confirm__actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 26px;
}

/* Toast ---------------------------------------------------------------- */
/* On mobile the bottom edge is crowded by the sticky CTA and the cart's checkout
   button, so toasts drop in from the top instead. */
.toasts {
  position: fixed; z-index: var(--z-toast);
  left: 50%; transform: translateX(-50%);
  top: calc(12px + env(safe-area-inset-top));
  display: flex; flex-direction: column; gap: 8px;
  width: min(92vw, 400px); pointer-events: none;
}
@media (min-width: 768px) {
  .toasts {
    left: auto; right: 24px; transform: none;
    top: auto; bottom: 24px; flex-direction: column-reverse;
  }
}
.toast {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 16px;
  background: var(--navy-900); color: var(--white);
  border-radius: var(--r); box-shadow: var(--sh-3);
  font-size: .92rem; pointer-events: auto;
  animation: toast-in 260ms var(--ease);
}
.toast .icon { color: var(--yellow-500); flex: none; }
.toast.is-out { animation: toast-out 200ms var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-8px) scale(.97); } }

@media (min-width: 768px) {
  @keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
  @keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }
}

/* Mobile sticky CTA ---------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; z-index: 90;
  bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  transform: translateY(110%);
  transition: transform var(--t) var(--ease);
}
.sticky-cta.is-shown { transform: none; }
.sticky-cta__meta { font-size: .8rem; line-height: 1.3; color: var(--text-muted); }
.sticky-cta__meta strong { display: block; color: var(--navy-900); font-size: .92rem; }
.sticky-cta .btn { margin-left: auto; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* Inner pages ---------------------------------------------------------- */
.page-hero {
  background: var(--navy-900); color: var(--white);
  padding-block: clamp(34px, 4vw, 60px);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); margin-bottom: .3em; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 60ch; margin: 0; }

.crumbs { font-size: .84rem; color: rgba(255, 255, 255, .62); margin-bottom: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .35); }
.crumbs a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.crumbs a:hover { color: var(--yellow-500); }

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); margin-top: 1.9em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #3a4a63; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-head); color: var(--navy-900); background: var(--paper); }
.prose td { color: #3a4a63; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.callout {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; margin: 1.6em 0;
  background: var(--navy-050); border-left: 4px solid var(--navy-700);
  border-radius: 0 var(--r) var(--r) 0;
}
.callout .icon { color: var(--navy-700); flex: none; margin-top: 2px; }
.callout p { margin: 0; font-size: .93rem; }

.split { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.5fr 1fr; } }

.side-card {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--paper);
}
.side-card h3 { margin-bottom: .6em; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
/* Icon is positioned rather than a flex item, so inline <strong>/<a> inside the
   copy stay in normal text flow instead of becoming separate columns. */
.side-card li {
  position: relative; padding-left: 34px; margin-bottom: 12px;
  font-size: .93rem; color: #3a4a63;
}
.side-card li > .icon { position: absolute; left: 0; top: 1px; color: var(--navy-700); }
.side-card .btn { margin-top: 8px; }
/* List items that are nothing but a link get a full-height tap area. */
.side-card li.link-row { margin-bottom: 0; }
.side-card li.link-row > .icon { top: 12px; }
.side-card li.link-row a { display: block; padding: 11px 0; font-weight: 600; }
.side-card + .side-card { margin-top: 20px; }
.side-card__meta { color: var(--text-muted); font-size: .93rem; margin-bottom: 0; }
.side-card__meta strong { color: var(--navy-900); }
.fineprint--block { display: block; margin-top: 16px; }

.status-track { list-style: none; padding: 0; margin: 24px 0 0; }
.status-track li {
  position: relative; padding: 0 0 26px 40px; margin: 0;
  color: var(--text-muted); font-size: .93rem;
}
.status-track li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--line);
}
.status-track li::after {
  content: ""; position: absolute; left: 10px; top: 24px; bottom: 0;
  width: 2px; background: var(--line);
}
.status-track li:last-child { padding-bottom: 0; }
.status-track li:last-child::after { display: none; }
.status-track li.is-done { color: var(--navy-900); }
.status-track li.is-done::before { background: var(--success); border-color: var(--success); }
.status-track li.is-done::after { background: var(--success); }
.status-track li.is-current::before { border-color: var(--navy-700); border-width: 6px; }
.status-track strong { display: block; font-family: var(--font-head); color: var(--navy-900); }

.result-panel { display: none; margin-top: 28px; }
.result-panel.is-shown { display: block; }

/* Motion preferences ==================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .carousel__track { scroll-behavior: auto; }
}

@media print {
  .header, .footer, .announce, .sticky-cta, .cart, .overlay, .toasts { display: none !important; }
}
