/* ==========================================================================
   Laybyshop — shared design system, Version 6 "Pastel Gradient" (owner's final reference image)
   One stylesheet for every customer-facing page; account.css only adds portal layout.

   Colour roles
     Navy        #193456  logo text, headings, navigation, body text, footer
     Orange      #F16C42  brand accent: logo mark, icons, large prices (large text only)
     Orange (hl) #DC5528  headline accent on pastel backgrounds (large text, AA 3:1)
     Orange ink  #C8471E  small orange text and links (AA 4.5:1 on white)
     Orange btn  #CA4A1F  button backgrounds with white text (AA 4.5:1)
     Sky / powder / lavender / peach / cream  pastel gradients and soft highlights
     White       cards, header, forms, checkout
   Gradients are used on purpose only: hero, category images, promo banner, sign-in panel.
   Tokens live in :root so they can become Shopify theme settings later.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #193456;
  --navy-2: #24476f;
  --sky: #d6ebf5;
  --powder: #bfe5fa;
  --cream: #fff8ee;
  --lavender: #e9e3f8;
  --peach: #ffe3d4;
  --white: #ffffff;
  --orange: #f16c42;
  --orange-hl: #dc5528;
  --orange-ink: #c8471e;
  --orange-btn: #ca4a1f;
  --orange-btn-2: #b13f19;
  --page: #fffcf8;

  --text: #2e4460;
  --muted: #5e6b7e;
  --line: #e6eaf0;
  --line-strong: #cdd5df;
  --success: #1d7a52;
  --success-soft: #e5f4ec;
  --danger: #b42e22;
  --danger-soft: #fcecea;
  --focus: #3c73b8;

  /* Pastel gradients */
  --grad-hero: linear-gradient(120deg, #d6ebf5 0%, #bfe5fa 40%, #e9e3f8 72%, #ffe3d4 100%);
  --grad-phones: linear-gradient(135deg, #d6ebf5, #e9e3f8);
  --grad-tablets: linear-gradient(135deg, #fff8ee, #ffe3d4);
  --grad-laptops: linear-gradient(135deg, #e9e3f8, #d6ebf5);
  --grad-tvs: linear-gradient(135deg, #fff8ee, #f5d9db);
  --grad-promo: linear-gradient(120deg, #fff8ee 0%, #ffe3d4 45%, #e9e3f8 100%);

  /* Names used by account.css, checkout.html and older markup, mapped to Version 6 roles */
  --charcoal: var(--navy);
  --charcoal-2: var(--navy-2);
  --coral: var(--orange);
  --coral-ink: var(--orange-ink);
  --coral-ink-2: var(--orange-btn-2);
  --coral-dark: var(--orange-ink);
  --coral-soft: var(--peach);
  --violet: #5b4a8a;
  --lilac: var(--lavender);
  --ivory: var(--page);
  --peach-2: #fff3eb;
  --teal: var(--orange-ink);
  --teal-dark: var(--orange-btn-2);
  --mint: var(--peach-2);
  --cloud: var(--page);
  --sand: #f3f6f9;
  --blue: var(--orange-btn);
  --blue-dark: var(--orange-btn-2);
  --blue-soft: var(--peach-2);
  --yellow: var(--peach);
  --yellow-soft: var(--peach-2);
  --warn-soft: var(--peach-2);

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(25, 52, 86, .05), 0 6px 20px rgba(25, 52, 86, .07);
  --shadow-hover: 0 2px 4px rgba(25, 52, 86, .06), 0 14px 32px rgba(25, 52, 86, .12);
  --gutter: 16px;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-md); line-height: 1.55; color: var(--text); background: var(--page); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--orange-ink); }
h1, h2, h3 { color: var(--charcoal); line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.025em; }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--charcoal); color: #fff; padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 700px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.xsmall { font-size: var(--fs-xs); }
@media (max-width: 599px) { .hide-sm { display: none !important; } }

/* ---------- Product photos on pastel backgrounds (see LS.cutoutImg in ui.js) ----------
   Shown straight away with multiply blending (white disappears on light colours), then
   swapped for a transparent version when ready, so there is no loading delay. */
img[data-cutout] { mix-blend-mode: multiply; }
img[data-cutout].is-cut { mix-blend-mode: normal; }

/* ---------- Prototype label (checkout only) ---------- */
.proto-bar { background: var(--cream); color: var(--navy); font-size: 0.75rem; text-align: center; padding: 5px var(--gutter); border-bottom: 1px solid #f6e7d6; }

/* ---------- Announcement strip ---------- */
.announce { background: linear-gradient(90deg, #fff8ee 0%, #ffe9dc 50%, #fff8ee 100%); color: var(--navy); font-size: var(--fs-xs); font-weight: 600; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 38px; flex-wrap: wrap; text-align: center; }
.announce .sep { color: rgba(25, 52, 86, .35); font-weight: 400; }
.announce svg { width: 18px; height: 18px; color: var(--navy); margin-right: -6px; }

/* ---------- Header (white) ---------- */
.site-header { background: #fff; color: var(--navy); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--line); }
.header-row { display: grid; grid-template-columns: 44px 1fr 44px; grid-template-areas: "menu logo actions" "search search search"; align-items: center; gap: 8px 10px; padding-top: 10px; padding-bottom: 12px; }
.menu-toggle { grid-area: menu; }
.logo { grid-area: logo; justify-self: center; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.035em; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-word span { color: var(--orange); }
.header-search { grid-area: search; position: relative; }
.header-search input { width: 100%; height: 46px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 46px 0 46px; background: #fff; font-size: var(--fs-sm); color: var(--navy); transition: border-color .15s, box-shadow .15s; }
.header-search input::placeholder { color: #7a8597; }
.header-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(60, 115, 184, .18); }
.header-search .search-ic { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--navy); pointer-events: none; }
.header-search button { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.header-search button svg { width: 18px; height: 18px; }
.header-search button:hover { background: var(--sand); }
.header-actions { grid-area: actions; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.acct-link { display: none; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.acct-link svg { width: 24px; height: 24px; }
.acct-link:hover, .acct-link[aria-current="page"] { background: var(--sand); }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px; border: 0; background: none; border-radius: 8px; cursor: pointer; color: var(--navy); text-decoration: none; }
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 26px; height: 26px; }
.cart-count { position: absolute; top: 1px; right: -1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--orange-btn); color: #fff; font-size: 0.6875rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.cart-count[data-zero] { display: none; }
.main-nav { display: none; background: #fff; border-top: 1px solid var(--line); }
.main-nav ul { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 13px 12px; text-decoration: none; font-size: var(--fs-sm); font-weight: 700; color: var(--navy); border-bottom: 3px solid transparent; }
.main-nav li:first-child a { padding-left: 0; }
.main-nav a:hover { color: var(--orange-ink); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.main-nav .nav-help { margin-left: auto; }
.main-nav .nav-help ~ li a { padding-right: 0; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 6px 0 12px; }
.mobile-menu a { display: block; padding: 13px var(--gutter); text-decoration: none; color: var(--navy); font-size: var(--fs-md); font-weight: 700; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: var(--cream); color: var(--orange-ink); }
@media (min-width: 900px) {
  .header-row { grid-template-columns: auto minmax(280px, 520px) auto; grid-template-areas: "logo search actions"; justify-content: space-between; gap: 32px; padding-top: 16px; padding-bottom: 16px; }
  .logo { justify-self: start; font-size: 1.75rem; }
  .logo-mark { width: 38px; height: 38px; }
  .header-search { width: 100%; }
  .header-search input { padding-right: 46px; }
  .acct-link { display: inline-flex; }
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 26px; border-radius: var(--radius-sm); border: 2px solid transparent; font-weight: 700; font-size: var(--fs-md); text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange-btn); color: #fff; box-shadow: 0 6px 16px rgba(202, 74, 31, .22); }
.btn-primary:hover { background: var(--orange-btn-2); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-outline { background: rgba(255, 255, 255, .7); color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--line-strong); color: var(--muted); cursor: not-allowed; box-shadow: none; border-color: transparent; }
.link-btn { background: none; border: 0; padding: 0; color: var(--orange-ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-size: inherit; font-weight: 600; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: var(--fs-sm); color: var(--orange-ink); text-decoration: none; }
.arrow-link svg { width: 16px; height: 16px; transition: transform .15s; }
.arrow-link:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Sections ---------- */
.section { padding: 32px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: clamp(1.375rem, 1.15rem + .9vw, 1.875rem); }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.section-head a { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; text-decoration: none; color: var(--coral-ink); }
.section-head a svg { width: 16px; height: 16px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
@media (min-width: 700px) { .panel { padding: 24px; } .section { padding: 44px 0; } }

/* ---------- Hero (pastel gradient, from the reference) ----------
   Layers: the base gradient, two soft radial glows, and two large curved light bands
   (pseudo-elements). All static CSS, so it costs nothing at runtime. */
.hero { padding: 20px 0 0; }
.hero-card { position: relative; overflow: hidden; border-radius: 18px; color: var(--navy); display: grid; isolation: isolate;
  background:
    radial-gradient(60% 80% at 62% 115%, rgba(255, 227, 212, .95) 0%, rgba(255, 227, 212, 0) 70%),
    radial-gradient(45% 70% at 100% 0%, rgba(233, 227, 248, .9) 0%, rgba(233, 227, 248, 0) 75%),
    radial-gradient(40% 60% at 0% 0%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 70%),
    var(--grad-hero); }
.hero-card::before, .hero-card::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero-card::before { width: 135%; height: 190%; left: 38%; top: -55%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0) 74%, rgba(255, 255, 255, .55) 87%, rgba(255, 255, 255, .15) 95%, rgba(255, 255, 255, 0) 100%); }
.hero-card::after { width: 110%; height: 150%; left: 58%; top: 18%;
  background: radial-gradient(closest-side, rgba(255, 210, 186, 0) 66%, rgba(255, 196, 168, .8) 84%, rgba(255, 227, 212, 0) 100%); }
.hero-copy { position: relative; z-index: 1; padding: 28px 22px 4px; }
.hero-copy .eyebrow { color: var(--navy); font-weight: 800; letter-spacing: .1em; }
.hero-copy .eyebrow::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--orange); margin-top: 12px; }
.hero-card h1 { color: var(--navy); font-size: clamp(2.125rem, 1.45rem + 2.6vw, 3.5rem); line-height: 1.04; letter-spacing: -0.035em; margin: 16px 0 14px; font-weight: 800; }
.hero-card h1 span { color: var(--orange-hl); display: block; }
.hero-card p { color: var(--text); font-size: clamp(1rem, .95rem + .35vw, 1.1875rem); max-width: 36ch; margin: 0 0 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { min-height: 52px; }
.hero-media { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; padding: 0 16px; }
.hero-media img { width: min(300px, 74%); height: auto; filter: drop-shadow(0 26px 30px rgba(25, 52, 86, .28)); }
@media (min-width: 900px) {
  .hero { padding-top: 24px; }
  .hero-card { grid-template-columns: 1.4fr 1fr; min-height: 380px; }
  .hero-copy { padding: 44px 0 44px 64px; align-self: center; }
  .hero-media { align-items: flex-end; padding: 22px 28px 0 0; }
  .hero-media img { width: min(520px, 112%); margin-bottom: -90px; }
}

/* ---------- Trust strip ---------- */
.trust { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.trust li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 0.6875rem; line-height: 1.25; color: var(--charcoal); font-weight: 700; }
.trust li > span { display: flex; flex-direction: column; }
.trust small { display: none; font-weight: 400; color: var(--muted); font-size: var(--fs-xs); margin-top: 2px; }
.trust svg { width: 26px; height: 26px; color: var(--coral); flex: none; }
@media (min-width: 900px) {
  .trust { padding: 26px 0; gap: 0; }
  .trust li { flex-direction: row; text-align: left; gap: 14px; font-size: var(--fs-md); padding: 0 24px; border-left: 1px solid var(--line); justify-content: center; }
  .trust li:first-child { border-left: 0; padding-left: 0; justify-content: flex-start; }
  .trust small { display: block; }
  .trust svg { width: 34px; height: 34px; }
}

/* ---------- Category cards (pastel gradient image areas) ---------- */
.cat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--navy); transition: box-shadow .2s, transform .2s; }
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.cat-card-img { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 12%; background: var(--grad-phones); }
.cat-card:nth-child(2) .cat-card-img { background: var(--grad-tablets); }
.cat-card:nth-child(3) .cat-card-img { background: var(--grad-laptops); }
.cat-card:nth-child(4) .cat-card-img { background: var(--grad-tvs); }
.cat-card-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(25, 52, 86, .16)); }
.cat-card-txt { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 6px 12px; font-weight: 700; font-size: var(--fs-xs); text-align: center; line-height: 1.2; }
.cat-card-txt > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.cat-card-txt small { display: none; font-size: var(--fs-sm); font-weight: 700; color: var(--orange-ink); }
.cat-card-txt .go { display: none; }
@media (min-width: 700px) {
  .cat-cards { gap: 20px; }
  .cat-card-img { aspect-ratio: 16 / 10; padding: 6% 16%; }
  .cat-card-txt { justify-content: space-between; padding: 14px 18px 16px; font-size: var(--fs-lg); text-align: left; }
  .cat-card-txt small { display: block; }
  .cat-card-txt .go { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; align-items: center; justify-content: center; flex: none; transition: background .15s; }
  .cat-card-txt .go svg { width: 15px; height: 15px; }
  .cat-card:hover .go { background: var(--orange-btn); }
}

/* ---------- Category chips (collection page) ---------- */
.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 4px 16px 4px 4px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--charcoal); font-size: var(--fs-sm); font-weight: 600; background: var(--white); }
.cat:hover { border-color: var(--charcoal); }
.cat[aria-current="page"] { border-color: var(--charcoal); background: var(--charcoal); color: #fff; }
.cat .art { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: #fff; }
.cat .art img { width: 100%; height: 100%; object-fit: contain; }
.cat-plain { padding-left: 16px; }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.product-row { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 12px; margin: -4px -4px 0; }
.product-row::-webkit-scrollbar { display: none; }
.product-row > * { scroll-snap-align: start; }
@media (min-width: 900px) { .product-row { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; } }
@media (min-width: 1100px) { .product-row { grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; } }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 10%; }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card.is-out .card-media img { opacity: .45; }
.card-body { display: flex; flex-direction: column; gap: 2px; padding: 2px 14px 16px; flex: 1; }
.card-name { font-size: var(--fs-sm); font-weight: 700; color: var(--navy); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-weekly { margin-top: 6px; display: inline-flex; align-items: baseline; gap: 4px; color: var(--orange); }
.card-weekly b { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.625rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.card-weekly small { font-size: var(--fs-xs); font-weight: 600; color: var(--coral-ink); }
.card-total { font-size: var(--fs-xs); color: var(--muted); }
.badge { position: absolute; left: 10px; top: 10px; font-size: 0.6875rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; line-height: 1.4; }
.badge-refurb { background: var(--lilac); color: var(--violet); }
.badge-out { background: var(--sand); color: var(--muted); }
/* Wide screens: horizontal product cards, as in the reference */
@media (min-width: 900px) {
  .product-grid .card, .product-row .card { display: grid; grid-template-columns: 44% 1fr; align-items: center; min-height: 168px; }
  .product-grid .card-media, .product-row .card-media { aspect-ratio: auto; height: 100%; padding: 14px 4px 14px 14px; }
  .product-grid .card-body, .product-row .card-body { padding: 16px 16px 16px 10px; justify-content: center; }
  .product-grid .card-name, .product-row .card-name { font-size: 0.9375rem; -webkit-line-clamp: 3; }
}

/* ---------- Promo band (subtle pastel gradient) ---------- */
.promo-band { position: relative; overflow: hidden; display: grid; align-items: center; border-radius: 18px; color: var(--navy); text-decoration: none; isolation: isolate; background: radial-gradient(70% 90% at 90% 100%, rgba(214, 235, 245, .9), rgba(214, 235, 245, 0) 70%), var(--grad-promo); }
.promo-band > div:first-child { padding: 28px 22px 4px; position: relative; z-index: 1; }
.promo-band .eyebrow { color: var(--orange-ink); }
.promo-band h2 { color: var(--navy); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.375rem); margin: 10px 0 8px; max-width: 18ch; }
.promo-band p { color: var(--text); margin: 0 0 20px; }
.promo-band-media { display: flex; justify-content: center; padding: 0 20px; }
.promo-band-media img { width: min(420px, 84%); height: auto; filter: drop-shadow(0 22px 26px rgba(25, 52, 86, .22)); }
@media (min-width: 800px) { .promo-band { grid-template-columns: 1fr 1fr; } .promo-band > div:first-child { padding: 44px 0 44px 56px; } .promo-band-media { padding: 24px 32px; } }

/* ---------- How it works ---------- */
.how { display: grid; gap: 22px; background: #fff; border-radius: 16px; padding: 28px 22px; box-shadow: var(--shadow); }
.how h2 { margin: 6px 0 0; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); }
.how .eyebrow { color: var(--coral-ink); }
.how > div > p { color: var(--muted); margin: 10px 0 0; font-size: var(--fs-sm); max-width: 38ch; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.how-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; }
.how-steps li::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--peach); color: var(--coral-ink); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.how-steps b { color: var(--charcoal); }
.how-steps span { font-size: var(--fs-sm); color: var(--muted); }
@media (min-width: 700px) { .how { padding: 36px 40px; } .how-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } .how-steps li { grid-template-columns: 1fr; } .how-steps li::before { grid-row: auto; margin-bottom: 6px; } }
@media (min-width: 1200px) { .how { grid-template-columns: 1fr 2.2fr; align-items: center; padding: 40px 44px; gap: 40px; } }
@media (min-width: 900px) and (max-width: 1099px) { #popular .product-grid > :nth-child(n+7) { display: none; } }

/* ---------- Page heads & toolbar ---------- */
.page-head { padding: 24px 0 6px; }
.page-head h1 { margin: 0 0 4px; }
.page-head p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.toolbar .grow { flex: 1 1 200px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-size: var(--fs-sm); font-weight: 700; color: var(--charcoal); }
.hint { font-size: var(--fs-xs); color: var(--muted); }
.input, .select { width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); font-size: 16px; color: var(--charcoal); transition: border-color .15s, box-shadow .15s; }
.input:hover, .select:hover { border-color: #bdb8ac; }
.input:focus, .select:focus { border-color: var(--charcoal); outline: none; box-shadow: 0 0 0 3px rgba(105, 85, 134, .18); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }
.input[readonly] { background: var(--sand); color: var(--muted); }
.error-text { color: var(--danger); font-size: var(--fs-xs); font-weight: 600; }
.error-text:empty { display: none; }
.row-2 { display: grid; gap: 0 12px; }
@media (min-width: 520px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); margin: 10px 0 4px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--coral-ink); }

/* ---------- Product page ---------- */
.breadcrumb { font-size: var(--fs-xs); color: var(--muted); padding: 16px 0 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--charcoal); }
.pdp { display: grid; gap: 22px; padding: 12px 0 32px; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 7%; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main .badge { left: 16px; top: 16px; font-size: var(--fs-xs); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: none; width: 72px; height: 72px; padding: 4px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--coral); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-brand { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); text-decoration: none; }
.pdp-info h1 { margin: 8px 0 16px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); letter-spacing: -0.03em; }
.price-box { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.pdp-weekly { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; color: var(--charcoal); line-height: 1.1; }
.pdp-weekly small { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.pdp-weekly b { font-size: clamp(2.125rem, 1.7rem + 1.6vw, 2.875rem); font-weight: 800; letter-spacing: -0.04em; color: var(--coral); }
.pdp-total { font-size: var(--fs-sm); color: var(--text); margin: 8px 0 0; }
.pdp-total strong { color: var(--charcoal); }
.pdp-short { font-size: var(--fs-sm); color: var(--text); margin: 6px 0 0; } /* V8.1: optional short description */
.pdp-basis { font-size: var(--fs-xs); color: var(--muted); margin: 6px 0 0; }
.pill-today { display: inline-block; background: var(--peach); color: var(--coral-ink); font-size: var(--fs-xs); font-weight: 700; border-radius: 4px; padding: 3px 8px; vertical-align: middle; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; margin: 16px 0 0; color: var(--success); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.low { color: var(--success); }
.stock.out { color: var(--muted); }
.buy { margin-top: 14px; display: grid; gap: 8px; }
.buy .btn { min-height: 56px; font-size: var(--fs-lg); }
.buy .note { font-size: var(--fs-sm); color: var(--muted); text-align: center; margin: 2px 0 0; }
.points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: var(--fs-sm); }
.points li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.35; font-weight: 500; }
.points svg { width: 18px; height: 18px; flex: none; color: var(--coral); margin-top: 1px; }
.pdp-section { margin-top: 28px; }
.pdp-section h2 { font-size: var(--fs-lg); margin-bottom: 10px; }
.specs { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-top: 8px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.specs th, .specs td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 40%; color: var(--muted); font-weight: 500; }
.specs td { color: var(--charcoal); font-weight: 600; }
.variants-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.variants-links a { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; color: var(--charcoal); font-size: var(--fs-xs); font-weight: 600; line-height: 1.3; }
.variants-links a:hover { border-color: var(--charcoal); }
.variants-links img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.mini-faq { margin-top: 28px; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.1fr 1fr; gap: 56px; padding-top: 22px; }
  .pdp-media { position: sticky; top: 140px; align-self: start; }
}
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(37, 41, 54, .08); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; }
.sticky-buy strong { color: var(--charcoal); font-weight: 800; }
.sticky-buy small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.sticky-buy .btn { margin-left: auto; min-height: 46px; padding: 10px 18px; white-space: nowrap; flex: none; }
body.has-sticky-buy { padding-bottom: 74px; }
@media (min-width: 900px) { .sticky-buy { display: none; } body.has-sticky-buy { padding-bottom: 0; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 8px 40px; }
.faq-wrap .eyebrow { color: var(--coral-ink); margin-bottom: 8px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 1fr 1.6fr; } }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--charcoal); list-style: none; position: relative; font-size: var(--fs-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); text-align: center; line-height: 23px; font-size: 1.125rem; color: var(--charcoal); }
.faq details[open] summary::after { content: "\2212"; background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.faq details p { margin: 0; padding: 0 18px 16px; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Cart ---------- */
.cart-layout { display: grid; gap: 20px; padding: 8px 0 40px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; } .cart-layout aside { position: sticky; top: 140px; } }
.lines { list-style: none; margin: 0; padding: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px; border-bottom: 1px solid var(--line); align-items: start; }
.line:last-child { border-bottom: 0; }
.line .art { width: 84px; height: 84px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); overflow: hidden; padding: 4px; }
.line .name { color: var(--charcoal); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; }
.line .weekly-note { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.line .price { font-weight: 800; color: var(--charcoal); font-size: var(--fs-sm); white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); margin-top: 8px; }
.qty button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; color: var(--charcoal); font-weight: 700; }
.qty button:disabled { color: var(--line-strong); cursor: default; }
.qty output { min-width: 22px; text-align: center; font-size: var(--fs-sm); font-weight: 700; }
.rows { margin: 0; display: grid; gap: 9px; font-size: var(--fs-sm); }
.rows div { display: flex; justify-content: space-between; gap: 12px; }
.rows dt { color: var(--muted); }
.rows dd { margin: 0; text-align: right; color: var(--charcoal); font-weight: 600; }
.rows .total { border-top: 1px solid var(--line); padding-top: 11px; font-size: var(--fs-md); }
.rows .total dt, .rows .total dd { color: var(--charcoal); font-weight: 800; }
.cart-weekly { margin: 14px 0 0; background: var(--peach-2); border-radius: var(--radius-sm); padding: 10px 12px; font-size: var(--fs-sm); }
.cart-weekly b { font-size: var(--fs-lg); font-weight: 800; color: var(--coral-ink); }
.empty { text-align: center; padding: 48px 16px; }
.empty p { color: var(--muted); }

/* ---------- Checkout ---------- */
.co-header { background: #fff; color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.co-header .header-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.co-header .logo { color: var(--navy); font-size: 1.5rem; }
.secure { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.secure svg { width: 15px; height: 15px; color: var(--orange-ink); }
.steps-bar { list-style: none; margin: 22px 0 6px; padding: 0; display: flex; gap: 8px; counter-reset: st; }
.steps-bar li { counter-increment: st; flex: 1; display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); position: relative; }
.steps-bar li::before { content: counter(st); flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; color: var(--muted); }
.steps-bar li::after { content: ""; flex: 1; height: 2px; background: var(--line); border-radius: 1px; }
.steps-bar li:last-child::after { display: none; }
.steps-bar li:last-child { flex: none; }
.steps-bar li[data-state="done"]::before { content: "\2713"; background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.steps-bar li[data-state="done"]::after { background: var(--charcoal); }
.steps-bar li[data-state="current"] { color: var(--charcoal); font-weight: 800; }
.steps-bar li[data-state="current"]::before { background: var(--coral-ink); border-color: var(--coral-ink); color: #fff; }
@media (max-width: 599px) { .steps-bar li:not([data-state="current"]) { font-size: 0; gap: 4px; } }
.co-layout { display: grid; gap: 16px; padding-bottom: 48px; }
@media (min-width: 900px) { .co-layout { grid-template-columns: 1.45fr 1fr; gap: 48px; align-items: start; } .co-aside { position: sticky; top: 20px; } }
.co-step { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 18px; margin-top: 8px; }
@media (min-width: 700px) { .co-step { padding: 28px 32px; } }
.co-step h1 { font-size: var(--fs-xl); margin: 4px 0 16px; }
.co-step h2 { font-size: var(--fs-md); margin: 20px 0 12px; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; color: var(--charcoal); background: var(--peach); border-radius: 6px; padding: 5px 10px; margin: 0 0 12px; }
.status-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; padding: 13px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; color: var(--charcoal); background: #fff; }
.seg input:checked + span { border-color: var(--coral-ink); box-shadow: inset 0 0 0 1px var(--coral-ink); background: var(--peach-2); color: var(--charcoal); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.options { display: grid; gap: 8px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt .box { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; }
.opt .amt { font-weight: 800; color: var(--charcoal); white-space: nowrap; font-size: var(--fs-lg); letter-spacing: -0.02em; }
.opt .amt small { font-weight: 500; color: var(--muted); font-size: var(--fs-xs); letter-spacing: 0; }
.opt .meta { font-size: var(--fs-xs); color: var(--muted); text-align: right; }
.opt input:checked + .box { border-color: var(--coral-ink); box-shadow: inset 0 0 0 1px var(--coral-ink); background: var(--peach-2); }
.opt input:checked + .box .amt { color: var(--coral-ink); }
.opt input:focus-visible + .box { outline: 3px solid var(--focus); outline-offset: 2px; }
.recap { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: var(--fs-sm); margin-top: 16px; }
.recap dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
.recap dt { color: var(--muted); }
.recap dd { margin: 0; color: var(--charcoal); text-align: right; font-weight: 600; }
.bank { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 16px; background: var(--ivory); }
.bank-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 12px; }
.bank-head strong { color: var(--charcoal); font-size: var(--fs-sm); }
.ddr-text { font-size: var(--fs-xs); color: var(--muted); border-left: 3px solid var(--coral); padding-left: 10px; margin: 14px 0; }
.alert { padding: 11px 13px; border-radius: var(--radius-sm); font-size: var(--fs-sm); margin: 12px 0; }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-info { background: var(--ivory); color: var(--text); }
.proto-note { margin-top: 20px; font-size: var(--fs-xs); color: var(--muted); }
.proto-note summary { cursor: pointer; color: var(--muted); }
.proto-note p { margin: 6px 0 0; }
.summary-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; color: var(--coral-ink); font-size: var(--fs-sm); font-weight: 700; }
.summary-toggle strong { color: var(--charcoal); }
@media (min-width: 900px) { .summary-toggle { display: none; } }
.co-aside h2 { font-size: var(--fs-md); margin: 0 0 12px; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 14px; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 6px 0; font-size: var(--fs-sm); color: var(--charcoal); }
.mini-lines .art { width: 56px; height: 56px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); overflow: hidden; padding: 3px; }
.schedule { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-top: 8px; }
.schedule th, .schedule td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; }
.schedule td:last-child, .schedule th:last-child { text-align: right; }

/* ---------- Confirmation ---------- */
.done-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--peach); color: var(--coral-ink); display: inline-flex; align-items: center; justify-content: center; }
.done-icon svg { width: 26px; height: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c9d3e0; padding: 44px 0 24px; margin-top: 48px; font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.footer-grid h3 { font-size: var(--fs-sm); margin-bottom: 10px; color: #fff; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-grid a { color: #c9d3e0; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .logo { color: #fff; }
.footer-brand p { margin: 14px 0 0; max-width: 36ch; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 30px; padding-top: 16px; color: #a9b6c8; font-size: var(--fs-xs); display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }

.art svg { width: 100%; height: 100%; }
.art img { width: 100%; height: 100%; object-fit: contain; }
.buy .note .link-btn { display: inline-block; padding: 8px 6px; }
@media (max-width: 599px) {
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; min-height: 48px; }
  .hero-media { margin-top: 14px; }
  .hero-media img { width: min(240px, 64%); margin-bottom: -40px; }
  .hero-card p { margin-bottom: 18px; }
}
@media (max-width: 599px) {
  .gallery-main { aspect-ratio: 5 / 4; }
  .thumbs button { width: 60px; height: 60px; }
}
.steps-bar li { white-space: nowrap; }
.bank-head { flex-wrap: wrap; }
@media (max-width: 699px) { #cat-h { position: static !important; width: auto; height: auto; clip: auto; overflow: visible; white-space: normal; margin: 22px 0 12px; font-size: 1.25rem; } }

/* ==========================================================================
   Version 7 additions (shared components; Version 6 look unchanged)
   ========================================================================== */
/* ---------- Money input ($ prefix) ---------- */
.money-input { position: relative; }
.money-input > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--navy); pointer-events: none; }
.money-input .input { padding-left: 30px; font-weight: 700; }
.custom-amt { margin: 10px 0 0; }
.custom-amt[hidden] { display: none; }
.opt input:disabled + .box { opacity: .5; cursor: not-allowed; }
.alert-info.long-note { background: var(--peach-2); border: 1px solid #f7d6c4; color: var(--text); }
.alert-info.long-note strong { color: var(--navy); }
/* ---------- Product page: compact pace list ---------- */
.pace-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.pace-list li { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--text); padding: 8px 12px; background: var(--page); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.pace-list b { color: var(--navy); font-size: var(--fs-md); }
.pace-list span { margin-left: auto; color: var(--muted); font-size: var(--fs-xs); }
.card-weekly .from { color: var(--muted); font-weight: 600; margin-right: 2px; }

/* ---------- Version 7: page hero (inner pages), reusing the Version 6 hero gradient ---------- */
.page-hero { padding: 20px 0 0; }
.page-hero-card { position: relative; overflow: hidden; border-radius: 18px; display: grid; isolation: isolate; color: var(--navy);
  background: radial-gradient(60% 80% at 62% 115%, rgba(255, 227, 212, .95) 0%, rgba(255, 227, 212, 0) 70%), radial-gradient(45% 70% at 100% 0%, rgba(233, 227, 248, .9) 0%, rgba(233, 227, 248, 0) 75%), var(--grad-hero); }
.page-hero-card::before { content: ""; position: absolute; z-index: -1; width: 135%; height: 190%; left: 38%; top: -55%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0) 74%, rgba(255, 255, 255, .5) 87%, rgba(255, 255, 255, 0) 100%); }
.page-hero-copy { padding: 28px 22px; }
.page-hero-copy .eyebrow { color: var(--navy); font-weight: 800; letter-spacing: .1em; }
.page-hero-copy .eyebrow::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--orange); margin-top: 12px; }
.page-hero-copy h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.125rem); line-height: 1.06; letter-spacing: -0.035em; margin: 16px 0 12px; }
.page-hero-copy h1 span { color: var(--orange-hl); }
.page-hero-copy p { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); max-width: 44ch; margin: 0 0 20px; }
.page-hero-media { position: relative; min-height: 220px; }
.page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .page-hero-card { grid-template-columns: 1.1fr 1fr; min-height: 380px; }
  .page-hero-copy { padding: 48px 0 48px 56px; align-self: center; }
  .page-hero-media { min-height: 0; margin: 18px 18px 18px 0; border-radius: 14px; overflow: hidden; }
}

/* ---------- Version 7: section intro, cards, photo splits ---------- */
.sec-intro { max-width: 640px; margin: 0 0 22px; }
.sec-intro .eyebrow { color: var(--orange-ink); margin-bottom: 8px; }
.sec-intro h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); margin: 0 0 8px; }
.sec-intro p { color: var(--muted); margin: 0; }
.split { display: grid; gap: 22px; align-items: center; background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.split-media { min-height: 240px; position: relative; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-copy { padding: 4px 22px 26px; }
.split-copy h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); margin: 8px 0 10px; }
.split-copy .eyebrow { color: var(--orange-ink); }
.split-copy p { color: var(--text); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 0; } .split-media { min-height: 380px; } .split-copy { padding: 44px 48px; } .split.flip .split-media { order: 2; } }
.ticks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 3px; }
.photo-credit { font-size: 0.75rem; color: var(--muted); margin: 18px 0 0; }
.photo-credit a { color: var(--muted); }
.to-confirm { display: inline-block; background: #fff4d6; color: #7a4f00; border: 1px dashed #e0b44c; border-radius: 6px; padding: 1px 7px; font-size: 0.8125rem; font-weight: 700; }

.ex-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ex-chips button { min-height: 50px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: #fff; font-weight: 800; color: var(--navy); cursor: pointer; font-size: var(--fs-md); }
.ex-chips button[aria-pressed="true"] { border-color: var(--orange-btn); box-shadow: inset 0 0 0 1px var(--orange-btn); background: var(--peach-2); color: var(--orange-ink); }
/* ---------- Version 7.1: editorial line illustrations ---------- */
.line-ill { width: 100%; height: auto; display: block; overflow: visible; }
.line-ill .s, .line-ill .a { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.line-ill .s { stroke: var(--navy); }
.line-ill .a { stroke: var(--orange); }
.line-ill .dash { stroke-dasharray: 2 5; }
.line-ill .b { opacity: .75; }
.line-ill .tx { fill: var(--navy); font-family: var(--font); font-weight: 700; }
.line-ill .tx-a { fill: var(--orange-ink); }
.line-icon { width: 26px; height: 26px; flex: none; }
.line-icon .s, .line-icon .a { fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.line-icon .s { stroke: var(--navy); } .line-icon .a { stroke: var(--orange); }
/* draw-on-scroll (only added by JS when motion is allowed) */
.will-draw .line-ill .s:not(.dash), .will-draw .line-ill .a { stroke-dasharray: 1; stroke-dashoffset: 1; }
.will-draw .line-ill .tx, .will-draw .line-ill .b { opacity: 0; }
.will-draw.drawn .line-ill .s:not(.dash), .will-draw.drawn .line-ill .a { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1); }
.will-draw.drawn .line-ill .a { transition-delay: .5s; }
.will-draw.drawn .line-ill .tx { opacity: 1; transition: opacity .6s .9s; }
.will-draw.drawn .line-ill .b { opacity: .75; transition: opacity .8s; }

/* ---------- Version 7.1: four connected stages (How lay-by works, section A) ---------- */
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: st; position: relative; }
.stages li { counter-increment: st; display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; }
.stages .ill-frame { width: 110px; }
.stages h3 { font-size: var(--fs-lg); margin: 0 0 4px; }
.stages h3::before { content: counter(st) "  "; color: var(--orange-ink); font-weight: 800; }
.stages p { margin: 0; font-size: var(--fs-sm); color: var(--text); }
@media (min-width: 900px) {
  .stages { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .stages::before { content: ""; position: absolute; left: 12%; right: 12%; top: 74px; border-top: 1.5px dashed var(--line-strong); z-index: 0; }
  .stages li { grid-template-columns: 1fr; text-align: center; align-items: start; align-content: start; position: relative; z-index: 1; }
  .stages .ill-frame { width: 100%; max-width: 190px; margin: 0 auto 10px; background: var(--page); }
  .stages p { max-width: 30ch; margin: 0 auto; }
}

/* ---------- Version 7.1: homepage three-step strip (understated) ---------- */
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.mini-steps li { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; }
.mini-steps .ill-frame { width: 84px; }
.mini-steps b { display: block; color: var(--navy); font-size: var(--fs-md); margin-bottom: 2px; }
.mini-steps span { font-size: var(--fs-sm); color: var(--muted); }
@media (min-width: 800px) { .mini-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } .mini-steps li { grid-template-columns: 96px 1fr; } .mini-steps .ill-frame { width: 96px; } }

/* ---------- Version 7.1: interactive lay-by journey (section B) ---------- */
.jr { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 20px 18px; }
@media (min-width: 900px) { .jr { padding: 30px 36px 34px; } }
.jr-top { display: grid; gap: 14px; }
@media (min-width: 1000px) { .jr-top { grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; } }
.jr-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--violet); background: var(--lavender); border-radius: 6px; padding: 3px 9px; }
.jr-controls { display: grid; gap: 12px; }
.jr-row { display: grid; gap: 6px; }
.jr-row > span { font-size: var(--fs-xs); font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .06em; }
.seg-sm { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-sm button { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--navy); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; }
.seg-sm button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg-sm button:disabled { opacity: .4; cursor: not-allowed; }
.jr-own { display: flex; align-items: center; gap: 6px; }
.jr-own .input { min-height: 40px; width: 110px; padding: 6px 10px 6px 26px; }
.jr-own .money-input > span { left: 10px; }
.jr-sum { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0; }
.jr-sum div { border-left: 2px solid var(--line); padding: 2px 0 2px 12px; }
.jr-sum dt { font-size: var(--fs-xs); color: var(--muted); }
.jr-sum dd { margin: 2px 0 0; font-weight: 800; color: var(--navy); font-size: var(--fs-md); transition: color .3s; }
.jr-sum dd small { display: block; font-weight: 500; color: var(--muted); font-size: var(--fs-xs); }
.jr-sum .hl dd { color: var(--orange-ink); }
/* the timeline: centrepiece */
.tl { position: relative; margin: 26px 0 8px; padding: 98px 0 98px; }
.tl-track { position: relative; height: 2px; background: var(--line); border-radius: 2px; }
.tl-fill { position: absolute; left: 0; top: -1px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--navy), var(--orange)); transform-origin: 0 50%; transition: width .9s cubic-bezier(.4, 0, .2, 1); }
.tl-ticks { position: absolute; left: 0; right: 0; top: -5px; height: 12px; }
.tl-ticks i { position: absolute; top: 2px; width: 1.5px; height: 8px; margin-left: -.75px; border-radius: 1px; background: var(--navy); opacity: .55; transition: left .9s cubic-bezier(.4, 0, .2, 1), opacity .3s; }
.tl-ticks i.inc { background: var(--orange); opacity: .9; }
.tl-ticks i.skip { background: transparent; border: 1.5px solid var(--orange); width: 7px; height: 7px; border-radius: 50%; top: 2.5px; margin-left: -3.5px; }
.tl-ghost { position: absolute; top: -8px; width: 1.5px; height: 18px; background: var(--muted); opacity: .5; transition: left .9s cubic-bezier(.4, 0, .2, 1); }
.tl-ghost span { position: absolute; top: 22px; right: 4px; white-space: nowrap; font-size: 0.6875rem; color: var(--muted); }
.tl-pin { position: absolute; top: 98px; transform: translateX(-50%); transition: left .9s cubic-bezier(.4, 0, .2, 1); text-align: center; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; color: inherit; }
.tl-pin::before { content: ""; position: absolute; left: 50%; width: 1px; background: var(--line-strong); }
.tl-pin .dot { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); transition: transform .25s, background .25s; }
.tl-pin .lbl { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.75rem; line-height: 1.25; }
.tl-pin .lbl b { display: block; color: var(--navy); font-size: 0.75rem; }
.tl-pin .lbl span { color: var(--muted); }
.tl-pin.up::before { bottom: 6px; height: 22px; } .tl-pin.up .lbl { bottom: 30px; }
.tl-pin.down::before { top: 6px; height: 22px; } .tl-pin.down .lbl { top: 30px; }
.tl-pin.up.far::before { height: 56px; } .tl-pin.up.far .lbl { bottom: 64px; }
.tl-pin.down.far::before { height: 56px; } .tl-pin.down.far .lbl { top: 64px; }
.tl-pin.edge-l .lbl { left: 0; transform: none; text-align: left; } .tl-pin.edge-r .lbl { left: auto; right: 0; transform: none; text-align: right; }
.tl-pin.k-final .dot, .tl-pin.k-dispatch .dot { background: var(--orange); border-color: var(--orange); }
.tl-pin.k-skip .dot { border-color: var(--orange); }
.tl-pin.k-increase .dot { border-color: var(--orange); }
.tl-pin.active .dot { transform: scale(1.35); background: var(--orange); border-color: var(--orange); }
.tl-pin:focus-visible { outline: none; } .tl-pin:focus-visible .dot { outline: 3px solid var(--focus); outline-offset: 2px; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--fs-xs); color: var(--muted); }
.tl-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 899px) { .tl-pin .lbl { display: none; } .tl { padding: 26px 0 30px; } .tl-pin { top: 26px; } .tl-pin::before { display: none; } .tl-ghost span { display: none; } }
/* the story beside/below the timeline */
.jr-story { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .jr-story { grid-template-columns: repeat(2, 1fr); column-gap: 36px; } }
.jr-story li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .2s; }
.jr-story li:hover, .jr-story li.active { background: linear-gradient(90deg, var(--peach-2), rgba(255, 243, 235, 0)); }
.jr-story time { font-size: var(--fs-xs); font-weight: 700; color: var(--orange-ink); text-transform: uppercase; letter-spacing: .05em; padding-left: 4px; }
.jr-story b { display: block; color: var(--navy); margin-bottom: 2px; }
.jr-story p { margin: 0; font-size: var(--fs-sm); color: var(--text); }
.jr-story .needs-note { display: block; margin-top: 4px; font-size: var(--fs-xs); color: var(--muted); }
.jr-play { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.jr-foot { font-size: var(--fs-xs); color: var(--muted); margin: 14px 0 0; }

/* ---------- Version 7.1: understanding the agreement (section C) ---------- */
.agree { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .agree { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
.agree > div { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.agree h3 { font-size: var(--fs-md); margin: 0 0 4px; }
.agree p { margin: 0; font-size: var(--fs-sm); color: var(--text); }
.agree .line-icon { margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .tl-fill, .tl-ticks i, .tl-pin, .tl-ghost, .jr-sum dd { transition: none !important; } }

/* ---------- Version 7: life moments + intro cards ---------- */
.moments { display: grid; gap: 14px; }
@media (min-width: 700px) { .moments { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .moments { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.moment { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.moment:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.moment-img { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.moment-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.moment-body { padding: 14px 16px 18px; }
.moment-body b { display: block; color: var(--navy); font-size: var(--fs-lg); margin-bottom: 4px; }
.moment-body span { font-size: var(--fs-sm); color: var(--muted); }
.moment-body small { display: block; margin-top: 8px; font-weight: 700; color: var(--orange-ink); font-size: var(--fs-sm); }
.intro-cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .intro-cards { grid-template-columns: 1fr 1fr; gap: 20px; } }
.intro-card { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
@media (min-width: 600px) { .intro-card { grid-template-columns: 0.9fr 1.1fr; } }
.intro-card .ic-media { min-height: 200px; position: relative; }
.intro-card .ic-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-card .ic-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.intro-card .eyebrow { color: var(--orange-ink); }
.intro-card h3 { font-size: var(--fs-xl); margin: 0; }
.intro-card p { margin: 0; font-size: var(--fs-sm); }
.intro-card .arrow-link { margin-top: auto; }

/* ---------- Version 7: pay-your-way band ---------- */
.payway { display: grid; gap: 20px; align-items: center; border-radius: 18px; padding: 26px 22px; background: radial-gradient(60% 90% at 100% 100%, rgba(255, 227, 212, .9), rgba(255, 227, 212, 0) 70%), var(--grad-promo); }
@media (min-width: 900px) { .payway { grid-template-columns: 1fr 1.25fr; padding: 36px 44px; gap: 36px; } }
.payway h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); margin: 8px 0 8px; }
.payway h2 span { color: var(--orange-hl); }
.payway .eyebrow { color: var(--orange-ink); }
.payway-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.payway-opts div { background: #fff; border-radius: var(--radius); padding: 14px 12px; box-shadow: var(--shadow); text-align: center; }
.payway-opts b { display: block; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); color: var(--orange); letter-spacing: -0.03em; }
.payway-opts small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.payway-opts span { display: block; color: var(--navy); font-weight: 700; font-size: var(--fs-sm); margin-top: 6px; }
.payway-note { font-size: var(--fs-xs); color: var(--muted); margin: 10px 0 0; }

/* ---------- Version 7: comparison table (About) ---------- */
.compare-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--page); color: var(--navy); font-size: var(--fs-sm); }
.compare thead th:nth-child(2) { background: var(--peach-2); color: var(--orange-ink); }
.compare tbody th { color: var(--muted); font-weight: 600; width: 26%; }
.compare td:nth-child(2) { background: #fffaf6; color: var(--navy); font-weight: 600; }
[hidden] { display: none !important; }
@media (min-width: 900px) { .split { align-items: stretch; } .split-copy { align-self: center; } }
@media (max-width: 599px) { .payway-opts { gap: 6px; } .payway-opts div { padding: 12px 6px; } .payway-opts span { font-size: var(--fs-xs); } .payway-opts small { font-size: 0.6875rem; } }

/* ==========================================================================
   Version 7.2 — checkout payment selection (amount → frequency → date),
   calendar, concise summary, and the product page "Want it sooner?" section.
   Uses the Version 6 tokens only.
   ========================================================================== */
.pay-area { display: grid; gap: 22px; }
.pay-q { border: 0; padding: 0; margin: 0; min-width: 0; }
.pay-q legend, .pay-legend { display: flex; align-items: center; gap: 10px; padding: 0; margin: 0 0 12px; font-weight: 800; color: var(--navy); font-size: var(--fs-md); }
.q-num { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--peach); color: var(--orange-ink); font-size: 0.75rem; font-weight: 800; }
.amt-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.freq-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.amt-tile, .freq-tile { position: relative; display: block; cursor: pointer; }
.amt-tile input, .freq-tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.amt-tile > span, .freq-tile > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 6px; text-align: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
.amt-tile b { font-size: 1.25rem; letter-spacing: -0.02em; color: var(--navy); font-weight: 800; line-height: 1.1; }
.freq-tile b { font-size: var(--fs-md); color: var(--navy); font-weight: 800; }
.amt-tile small, .freq-tile small { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.amt-tile:hover > span, .freq-tile:hover > span { border-color: var(--navy-2); }
.amt-tile input:checked + span, .freq-tile input:checked + span { border-color: var(--orange-ink); box-shadow: inset 0 0 0 1px var(--orange-ink); background: var(--peach-2); }
.amt-tile input:checked + span b, .freq-tile input:checked + span b { color: var(--orange-ink); }
.amt-tile input:checked + span small, .freq-tile input:checked + span small { color: var(--navy); }
.amt-tile input:focus-visible + span, .freq-tile input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.amt-tile input:disabled + span { opacity: .45; cursor: not-allowed; }
@media (max-width: 420px) { .amt-tiles { grid-template-columns: repeat(2, 1fr); } }

/* calendar */
.cal { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 12px 12px 10px; max-width: 380px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal-title { margin: 0; font-size: var(--fs-md); color: var(--navy); font-weight: 800; }
.cal-nav { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.cal-nav svg { width: 16px; height: 16px; }
.cal-nav[data-nav="-1"] svg { transform: scaleX(-1); }
.cal-nav:hover:not(:disabled) { background: var(--sand); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-nav:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; }
.cal-grid th { font-size: 0.6875rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 4px 0 6px; }
.cal-grid th.we { color: var(--line-strong); }
.cal-grid td { padding: 0; text-align: center; }
.cal-day { width: 100%; max-width: 46px; aspect-ratio: 1; min-height: 40px; border-radius: 50%; border: 1px solid transparent; background: none; font: inherit; font-weight: 700; font-size: var(--fs-sm); color: var(--navy); cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent; }
.cal-day:hover:not(.is-off):not(.is-sel) { background: var(--sky); }
.cal-day.is-off { color: #b3bcc8; font-weight: 500; cursor: default; }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.cal-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--muted); }
.cal-day.is-sel { background: var(--orange-btn); color: #fff; box-shadow: 0 2px 6px rgba(202, 74, 31, .3); }
.cal-day.is-sel::after { background: #fff; }
.cal-day:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.cal-note { margin: 8px 2px 0; font-size: var(--fs-xs); color: var(--muted); }
/* V7.3: phone-width touch targets of at least 44 × 44 CSS px (Apple HIG). The calendar uses 12px of the
   card's side padding and drops the 2px cell gaps so 7 × 44px columns fit from 360px-wide screens up. */
@media (max-width: 479px) {
  .cal { margin-left: -12px; margin-right: -12px; padding: 10px 3px 8px; max-width: none; }
  .cal-grid { border-spacing: 0; }
  .cal-day { min-width: 44px; min-height: 44px; max-width: 48px; }
  .cal-nav { width: 44px; height: 44px; }
  .cal-note { margin-left: 9px; margin-right: 9px; }
}
@media (max-width: 340px) { .cal { margin-left: -16px; margin-right: -16px; padding-left: 1px; padding-right: 1px; } }

/* concise payment summary */
.pay-sum { margin-top: 20px; border-radius: var(--radius-sm); background: var(--grad-promo); border: 1px solid #f3dccd; padding: 16px 18px; }
.pay-sum-head { margin: 0; color: var(--navy); font-size: var(--fs-md); font-weight: 600; }
.pay-sum-head b { font-size: 1.75rem; letter-spacing: -0.02em; font-weight: 800; margin-right: 2px; }
.pay-sum-sub { margin: 2px 0 0; font-size: var(--fs-xs); color: var(--muted); }
.pay-sum dl { margin: 12px 0 0; display: grid; gap: 0; }
.pay-sum dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(25, 52, 86, .08); font-size: var(--fs-sm); }
.pay-sum dt { color: var(--muted); }
.pay-sum dd { margin: 0; color: var(--navy); font-weight: 700; text-align: right; }
.pay-sum dd small { display: block; font-weight: 500; color: var(--muted); font-size: var(--fs-xs); }
.pay-sum .choose-date { color: var(--orange-ink); font-weight: 700; }
.pay-sum-foot { margin: 8px 0 0; font-size: var(--fs-xs); color: var(--muted); }

/* product page: "Want it sooner? You're in control." */
.sooner { display: grid; gap: 0; margin: 40px 0 8px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.sooner-media { position: relative; display: flex; align-items: center; justify-content: center; padding: 28px; min-height: 260px; }
.sooner-media img { width: 100%; max-width: 380px; max-height: 340px; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(25, 52, 86, .16)); }
.sooner-media img:not(.is-cut) { mix-blend-mode: multiply; }
.sooner-copy { padding: 24px 22px 28px; }
.sooner-copy .eyebrow { color: var(--orange-ink); }
.sooner-copy h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); margin: 8px 0 12px; letter-spacing: -0.02em; }
.sooner-copy p { color: var(--text); margin: 0 0 12px; }
.sooner-eg { background: var(--peach-2); border-radius: var(--radius-sm); padding: 12px 14px; font-size: var(--fs-sm); }
.sooner-eg b { color: var(--navy); }
.sooner-eg-tag { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 4px; }
.sooner-ticks { margin: 16px 0 18px; font-size: var(--fs-sm); }
.sooner-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.sooner-acct { font-size: var(--fs-xs); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sooner-acct:hover { color: var(--navy); }
@media (min-width: 900px) {
  .sooner { grid-template-columns: 1fr 1fr; align-items: stretch; margin-top: 56px; }
  .sooner-media { min-height: 460px; padding: 48px; }
  .sooner-media img { max-height: 400px; }
  .sooner-copy { padding: 48px 52px; align-self: center; }
}

/* Compact department navigation for the expanded catalogue. */
.main-nav > .container { position: relative; }
.main-nav > .container > ul { align-items: center; gap: 6px; }
.main-nav > .container > ul > li { flex-shrink: 0; }
.department-menu summary { cursor: pointer; padding: 14px 12px; font-size: var(--fs-sm); font-weight: 700; min-height: 48px; }
.department-menu summary::marker { color: var(--orange-ink); }
.department-menu[open] > summary { color: var(--orange-ink); background: var(--cream); border-radius: 8px; }
.department-panel { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; position: absolute; left: var(--gutter); right: var(--gutter); top: 100%; padding: 26px; border: 1px solid var(--line); border-radius: 0 0 16px 16px; background: white; box-shadow: 0 16px 30px #19345620; max-height: 70vh; overflow-y: auto; }
.department-group h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; color: var(--muted); }
.main-nav .department-group a { border: 0; padding: 8px 10px; min-height: 40px; font-weight: 500; border-radius: 6px; }
.main-nav .department-group a:hover, .main-nav .department-group a[aria-current] { background: var(--cream); color: var(--orange-ink); }
.category-filter { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.category-filter label { font-weight: 600; font-size: var(--fs-sm); }
.category-filter select { min-width: 240px; max-width: 100%; }
@media (min-width: 900px) and (max-width: 1150px) { .main-nav .quick-category { display: none; } }
@media (max-width: 899px) {
  .mobile-menu { max-height: calc(100dvh - 165px); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-menu .department-menu summary { padding: 14px var(--gutter); font-size: var(--fs-md); }
  .mobile-menu .department-panel { position: static; display: grid; grid-template-columns: 1fr; padding: 16px var(--gutter); box-shadow: none; border: 0; background: #faf9f6; max-height: none; gap: 20px; }
  .mobile-menu .department-group a { padding: 10px 8px; font-size: var(--fs-sm); font-weight: 500; min-height: 44px; }
  .category-filter { flex-direction: column; align-items: stretch; gap: 6px; }
  .category-filter select { width: 100%; min-width: 0; }
}

/* Department view on collection.html?d=<key> (homepage redesign, 16 Nov 2026) */
.dept-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; font-size: var(--fs-sm); }
.dept-cats[hidden] { display: none; }
.dept-cats-label { color: var(--muted); font-weight: 600; }
.dept-cats a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; text-decoration: none; }
.dept-cats a:hover { border-color: var(--navy); }

/* Product page fix (16 Nov 2026): long imported specification values could widen the grid column past
   the phone screen (e.g. CORBIN Queen Bed, 636px at 375px). Let the columns shrink and long values wrap. */
.pdp > * { min-width: 0; }
.specs th, .specs td { overflow-wrap: anywhere; }
@media (max-width: 599px) { .dept-cats { gap: 6px; } .dept-cats-label { flex-basis: 100%; } .dept-cats a { padding: 6px 12px; font-size: var(--fs-xs); } }

/* Mobile benefits: four illustrated pastel tiles, matching the homepage artwork. */
@media (max-width: 699px) {
  .trust[data-trust] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 24px; padding: 0; }
  .trust[data-trust] li { position: relative; isolation: isolate; overflow: hidden; flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: left; gap: 10px; min-height: 132px; padding: 15px; border: 1px solid rgba(255,255,255,.9); border-radius: 17px; font-size: 13px; line-height: 1.3; background: linear-gradient(135deg,#fff4e6,#ffe6dc); box-shadow: 0 4px 12px rgba(25,52,86,.045); }
  .trust[data-trust] li:nth-child(2) { background: linear-gradient(135deg,#ecf7fc,#dcecf8); }
  .trust[data-trust] li:nth-child(3) { background: linear-gradient(135deg,#f4effc,#e9e3f7); }
  .trust[data-trust] li:nth-child(4) { background: linear-gradient(135deg,#edf7f0,#e0f0ec); }
  .trust[data-trust] li::after { content: ''; position: absolute; z-index: -1; width: 90px; height: 90px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; right: -28px; top: -28px; box-shadow: 0 0 0 15px rgba(255,255,255,.18); pointer-events: none; }
  .trust[data-trust] svg { width: 38px; height: 38px; padding: 7px; box-sizing: border-box; border-radius: 12px; background: rgba(255,255,255,.8); color: var(--orange-ink); box-shadow: 0 2px 5px rgba(25,52,86,.04); }
  .trust[data-trust] li > span { min-width: 0; }
  .trust[data-trust] small { display: block; margin-top: 4px; font-size: 10.5px; line-height: 1.35; color: #465b70; }
}

/* Official logo image (16 Nov 2026). The image includes the price tag, which rises above the wordmark. */
.logo-img { display: block; height: 42px; width: auto; max-width: none; }
@media (min-width: 900px) { .site-header .logo-img { height: 50px; } }
.co-header .logo-img { height: 42px; }
.footer-brand .logo-img { height: 46px; }
/* Approved branded product bundle artwork. */
.hero-assortment { display: block; position: relative; min-width: 0; align-self: center; margin: 20px; border-radius: 24px; overflow: hidden; }
.hero-bundle-art { display: block; width: 100%; height: auto; }
.hero-assortment:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
@media(min-width:900px) {
 .hero-card { grid-template-columns: 0.9fr 1.1fr; }
 .hero-copy { padding-left: 40px; padding-right: 10px; }
 .hero-assortment { margin: 24px 24px 24px 0; }
}
@media(max-width:899px) {
 .hero-assortment { margin: 20px 14px 14px; }
 .hero-copy { padding-bottom: 0; }
}

/* r4 (17 Nov 2026): line illustration for a department card until an approved product photo exists. */
.cat-card-img .cat-card-ill { display: block; width: 100%; height: 100%; padding: 12%; box-sizing: border-box; color: var(--navy); overflow: visible; }

/* r6 (17 Nov 2026): note under refurbished product photos (stock image, not the actual unit). */
.pdp-photo-note { margin: 10px 2px 0; font-size: var(--fs-xs); color: var(--muted); }

/* ---------- 19 Nov 2026: one card per model + category filters (collection.html) ---------- */
.card-opts { font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; margin-top: 2px; }
.filter-toggle { min-height: 46px; padding: 10px 18px; }
.filter-badge { margin-left: 2px; }
.plp { display: block; }
.filters { background: #fff; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.filters-head h2 { margin: 0; font-size: var(--fs-lg); }
.filters-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sand); cursor: pointer; position: relative; flex: none; }
.filters-close::before, .filters-close::after { content: ""; position: absolute; left: 13px; right: 13px; top: 21px; height: 2px; background: var(--navy); transform: rotate(45deg); }
.filters-close::after { transform: rotate(-45deg); }
.facet { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 14px 0 12px; min-width: 0; }
.facet:first-child { border-top: 0; }
.facet legend { font-weight: 800; color: var(--navy); font-size: var(--fs-sm); padding: 0; margin-bottom: 6px; float: left; width: 100%; }
.facet ul { list-style: none; margin: 0; padding: 0; clear: both; }
.facet li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; }
.facet li[hidden] { display: none; }
.facet input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--orange-btn); }
.facet label { font-size: var(--fs-sm); line-height: 1.35; cursor: pointer; overflow-wrap: anywhere; }
.facet input:disabled + label { color: #9aa5b4; cursor: default; }
.facet-n { color: var(--muted); font-size: var(--fs-xs); }
.facet-more { margin-top: 4px; font-size: var(--fs-sm); padding: 6px 0; }
.filters-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.applied { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.applied-label { font-size: var(--fs-sm); font-weight: 700; color: var(--navy); }
.chip-x { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; max-width: 100%; }
.chip-x:hover { border-color: var(--navy); }
.chip-x span { font-size: 1.1rem; line-height: 1; color: var(--muted); }
@media (max-width: 959px) {
  .filters.is-open { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; }
  .filters-head { padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
  .filters-body { flex: 1; overflow-y: auto; padding: 4px var(--gutter) 16px; -webkit-overflow-scrolling: touch; }
  .filters-foot { padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(25, 52, 86, .06); }
  .filters-foot .btn { flex: 1; min-height: 50px; }
  body.filters-open { overflow: hidden; }
}
@media (min-width: 960px) {
  .filter-toggle { display: none !important; }
  .plp.has-filters { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
  .filters { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 4px 4px 4px 0; background: transparent; }
  .filters-close, .filters-foot .btn { display: none; }
  .filters-head { padding-bottom: 4px; }
  .filters-foot { padding-top: 8px; }
  .plp.has-filters .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1240px) { .plp.has-filters .product-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 19 Nov 2026: variant picker (product.html) ---------- */
.variant-picker { display: grid; gap: 14px; margin: 18px 0 6px; }
.vp-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.vp-group legend { font-size: var(--fs-sm); color: var(--muted); padding: 0; margin-bottom: 8px; }
.vp-group legend b { color: var(--navy); }
.vp-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-opt { min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--navy); font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; max-width: 100%; text-align: center; }
.vp-opt:hover:not(:disabled) { border-color: var(--navy); }
.vp-opt[aria-pressed="true"] { border-color: var(--orange-btn); box-shadow: inset 0 0 0 1px var(--orange-btn); background: #fff7f3; }
.vp-opt:disabled { color: #9aa5b4; border-style: dashed; background: var(--sand); cursor: not-allowed; text-decoration: line-through; }

/* ---------- 19 Nov 2026: structured product descriptions (product.html → LS.descriptionHTML) ---------- */
.pdp-about { overflow-wrap: anywhere; }
.pdp-about h3 { font-size: var(--fs-md); color: var(--navy); margin: 22px 0 10px; }
.pdp-about .desc-overview { font-size: var(--fs-sm); line-height: 1.6; margin: 0 0 10px; color: var(--text); }
.feature-list { margin: 0; padding: 0 0 0 1.25em; display: grid; gap: 10px; font-size: var(--fs-sm); line-height: 1.55; }
.feature-list li { padding-left: 2px; }
.feature-list li::marker { color: var(--orange); }
.feature-list strong { color: var(--navy); }
.spec-list { margin: 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.5; }
.spec-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { font-weight: 700; color: var(--navy); }
.spec-row dd { margin: 0; color: var(--text); min-width: 0; }
@media (min-width: 560px) { .spec-row { grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); gap: 16px; } }
.pdp-about .desc-note { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; margin: 12px 0 0; }
