
/* assets/theme.css */
/* ============================================================
   Curious Cub — theme (approved 2026-10-25, docs/demos/storefront-theme.html)
   "Storybook nursery": warm paper, Fraunces Soft, Montessori arches,
   a cub who peeks over edges. Shared by every public page; page-specific
   layout belongs in its own stylesheet.
   Fonts: Fraunces (display) + Figtree (body) + Hind Siliguri (Bangla).
   ============================================================ */
:root {
  --paper: #FBF4E8;
  --paper-2: #F5EAD7;
  --card: #FFFDF8;
  --ink: #2F2620;
  --ink-soft: #6B5D52;
  --line: rgba(47, 38, 32, .12);

  --honey: #E9A44C;
  --honey-deep: #D98B3A;
  --honey-soft: #F8E2C2;
  --clay: #B9532F;          /* primary action; 5.3:1 against white */
  --clay-soft: #F6DCCF;

  --toys: #D0663F;       --toys-bg: #F8DFD2;
  --clothes: #5E8DB8;    --clothes-bg: #DCE7F2;
  --books: #6F9A74;      --books-bg: #DFEADF;
  --montessori: #C25A77; --montessori-bg: #F4DAE2;
  --sky: #5E8DB8;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bangla: "Hind Siliguri", "Noto Sans Bengali", sans-serif;

  --arch: 999px 999px 20px 20px;
  --r: 20px;
  --shadow: 0 18px 40px -22px rgba(110, 70, 30, .35);
  --shadow-sm: 0 8px 18px -12px rgba(110, 70, 30, .4);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  font-family: var(--body);
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(47, 38, 32, .045) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="bn"] body { font-family: var(--bangla), var(--body); }

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.05;
  margin: 0;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.bn { font-family: var(--bangla); }

/* Brand lockup: cub + wordmark */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand span {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 750;
  font-size: 24px;
  letter-spacing: -.02em;
}

/* Eyebrow: small caps label with a leading dash */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px var(--body);
  text-decoration: none; border: 0; border-radius: 999px; padding: 14px 26px; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .chip:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 10px 20px -10px rgba(185, 83, 47, .8); }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }

/* Stamp chips (collections, filters, status) */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--paper); border: 1.5px dashed rgba(47, 38, 32, .25);
}
a.chip:hover { border-style: solid; border-color: var(--honey-deep); background: var(--honey-soft); }
.chip--solid { background: var(--card); border: 0; box-shadow: var(--shadow-sm); }

/* Arch frame: product photos and category doors */
.arch { border-radius: var(--arch); overflow: hidden; position: relative; }
.arch--dashed::after {
  content: ""; position: absolute; inset: 10px; border-radius: inherit;
  border: 2px dashed rgba(255, 255, 255, .7); pointer-events: none;
}
.tint-toys       { background: var(--toys-bg);       color: var(--toys); }
.tint-clothes    { background: var(--clothes-bg);    color: var(--clothes); }
.tint-books      { background: var(--books-bg);      color: var(--books); }
.tint-montessori { background: var(--montessori-bg); color: var(--montessori); }

/* Scalloped edge between paper and card bands. Add .wave--up below a band. */
.wave {
  height: 28px; background: var(--card);
  -webkit-mask: radial-gradient(14px 14px at 50% 0, transparent 98%, #000) 0 0 / 28px 28px repeat-x;
          mask: radial-gradient(14px 14px at 50% 0, transparent 98%, #000) 0 0 / 28px 28px repeat-x;
}
.wave--up { transform: scaleY(-1); }
.band { background: var(--card); }

/* The cub's curious peek; apply to an element whose transform-origin suits it */
@keyframes cub-peek {
  0%, 70%, 100% { transform: translateY(0) rotate(0); }
  78% { transform: translateY(-6px) rotate(-6deg); }
  88% { transform: translateY(-3px) rotate(4deg); }
}
.peeking { animation: cub-peek 6s ease-in-out infinite; transform-origin: 50% 90%; }

@media (prefers-reduced-motion: reduce) {
  .peeking { animation: none; }
  .btn { transition: none; }
}

/* assets/store.css */
/* ============================================================
   Curious Cub — storefront layout (loads after theme.css)
   Class names follow store.js and the server-rendered pages,
   which were forked from Tinkers & Tots; the look is the
   approved "storybook nursery" theme.
   ============================================================ */

html { scroll-behavior: smooth; }
body { min-height: 100vh; }
main { display: block; }
.sky { display: none; }                       /* legacy decorative layer from the fork */
.section { padding: 48px 0; }
.lang-copy { display: none; }
html[lang="en"] .lang-en, html[lang="bn"] .lang-bn { display: block; }

/* ---------- buttons (extends theme.css) ---------- */
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-buy { background: var(--honey); color: var(--ink); box-shadow: 0 10px 20px -12px rgba(217, 139, 58, .9); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.link { font-weight: 700; color: var(--clay); text-decoration: none; white-space: nowrap; }
.link:hover { text-decoration: underline; }

/* ---------- preview bar ---------- */
.preview-bar { background: var(--ink); color: var(--paper-2); text-align: center; font-size: 14px; padding: 9px 44px; position: relative; }
.preview-bar b { color: var(--honey); }
.preview-bar .x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; font-size: 22px; cursor: pointer; }

/* ---------- header ---------- */
.site-header .brand span { white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251, 244, 232, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 14px; height: 68px; }
.nav { display: flex; gap: 2px; margin-left: 10px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-soft); padding: 8px 14px; border-radius: 999px; }
.nav a:hover, .nav a.active { color: var(--ink); background: var(--honey-soft); }
.spacer { flex: 1; }
.lang-switch { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button { font: 700 13px var(--body); border: 0; background: none; color: var(--ink-soft); padding: 6px 11px; border-radius: 999px; cursor: pointer; }
.lang-switch button:last-child { font-family: var(--bangla); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--clay); color: #fff; font: 800 11px/20px var(--body); text-align: center; border: 2px solid var(--paper); display: none; }
.cart-count.show { display: block; }

/* ---------- headings shared by sections ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { margin: 8px 0 0; color: var(--ink-soft); }
.eyebrow .dot { display: none; }

/* ---------- home: hero ---------- */
.hero-sec { padding: 40px 0 32px; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 74px); margin: 16px 0 18px; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--honey-deep); padding-right: .08em; }
.lead { font-size: clamp(17px, 2.1vw, 19px); line-height: 1.6; color: var(--ink-soft); max-width: 31em; margin: 0 0 26px; }
.hero-trust { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 26px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.hero-trust > span { display: inline-flex; align-items: center; gap: 8px; }
.tk { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--books-bg); color: var(--books); font-size: 12px; font-weight: 900; }
.hero-art { justify-self: center; width: 100%; max-width: 440px; }
.scene { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.scene-rainbow { position: absolute; inset: 18% 0 0 0; width: 100%; z-index: 1; }
.scene-cub { position: absolute; width: 38%; left: 31%; top: 22%; z-index: 0; }
.home-fallback-art svg { width: 100%; }
.home-fallback-links nav { display: flex; gap: 10px; flex-wrap: wrap; }
.home-fallback-links nav a { text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1.5px dashed rgba(47, 38, 32, .25); }
/* layout B: copy + product preview */
.hero-b { grid-template-columns: 1fr 1fr; align-items: start; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.hero-chips a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); }
.hero-chips .sw { width: 10px; height: 10px; border-radius: 50%; }
.hero-preview { background: var(--card); border-radius: 28px; padding: 18px; box-shadow: var(--shadow); }
.ph-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.ph-head h2 { font-size: 24px; }
.preview-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }

/* ---------- home: category doors + collection chips ---------- */
.doors-sec { padding: 32px 0 40px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-door { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; text-decoration: none; }
.cat-door .door { width: 100%; aspect-ratio: 4 / 5; display: grid; place-items: center; margin-bottom: 10px; transition: transform .2s; }
.cat-door:hover .door { transform: translateY(-6px); }
.cat-door .door svg { width: 42%; height: auto; }
.ct-name { font-family: var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; font-weight: 650; font-size: 22px; }
.ct-blurb { font-size: 14px; color: var(--ink-soft); }
.tint-default { background: var(--honey-soft); color: var(--honey-deep); }
.collection-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.collection-chips .chip i { font-style: normal; }

/* ---------- browse: search, filter chips, grid, pager ---------- */
.toolbar { display: flex; gap: 12px; margin-bottom: 14px; }
.search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; }
.search:focus-within { border-color: var(--honey-deep); }
.search svg { width: 18px; height: 18px; color: var(--ink-soft); flex: none; }
.search input { flex: 1; border: 0; background: none; font: 500 15px var(--body); padding: 12px 0; outline: none; color: var(--ink); min-width: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips .chip { font-size: 14px; padding: 8px 15px; }
.chips .chip.active { background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 34px; }
.pager button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font: 700 15px var(--body); color: var(--ink); cursor: pointer; }
.pager button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager button:disabled { opacity: .35; cursor: default; }
.pager-gap { color: var(--ink-soft); }

/* ---------- product card ---------- */
.card-prod { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); padding: 12px 12px 14px; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.card-prod:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.thumb-wrap { position: relative; aspect-ratio: 1 / 1; display: block; }
.thumb-wrap .thumb, .card-picture, .card-picture img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-wrap .peek { position: absolute; width: 30%; left: 35%; bottom: -32%; transition: bottom .3s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.card-prod:hover .peek { bottom: -6%; }
.badge { position: absolute; top: 22px; left: 22px; z-index: 2; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.badge.new { background: var(--ink); }
.badge.best { background: var(--clay); color: #fff; }
.badge.preorder { background: var(--honey); color: var(--ink); }
.badge.out { background: var(--paper-2); color: var(--ink-soft); }
.pbody { display: flex; flex-direction: column; flex: 1; padding: 0 4px; }
.pcat { margin-top: 14px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pname { margin-top: 4px; font-weight: 700; font-size: 16px; line-height: 1.35; }
.thumb-wrap + .pbody .pname:first-child { margin-top: 14px; }
.page { margin-top: 5px; font-size: 13px; color: var(--ink-soft); }
.sizes { display: flex; gap: 5px; margin-top: 9px; flex-wrap: wrap; }
.sizes span { font-size: 12px; font-weight: 700; border: 1px solid var(--line); border-radius: 8px; padding: 3px 7px; }
.sizes .out { color: #B3A79C; text-decoration: line-through; }
.prow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.pbody > .prow { margin-top: 14px; }
.price { font-family: var(--display); font-weight: 700; font-size: 21px; white-space: nowrap; }
.price .cur { font-size: .8em; margin-right: 1px; }
.price-pair { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.regular-price { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.price-from { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.add-mini { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--honey-soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.add-mini:hover { background: var(--honey); }
.add-mini svg { width: 18px; height: 18px; }
.category-stock { font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.category-stock.in { background: var(--books-bg); color: #4C7552; }
.category-stock.out { background: var(--paper-2); color: var(--ink-soft); }
.category-stock.pre { background: var(--honey-soft); color: #8A5418; }

/* ---------- empty states ---------- */
.empty { text-align: center; padding: 48px 16px; color: var(--ink-soft); }
.empty h2 { color: var(--ink); font-size: clamp(26px, 4vw, 34px); margin: 8px 0; }
.empty a:not(.btn) { color: var(--clay); font-weight: 700; }
.empty-cub { width: 96px; height: auto; margin: 0 auto 8px; }

/* ---------- breadcrumbs ---------- */
.crumbs, .seo-breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a, .seo-breadcrumb a { text-decoration: none; }
.crumbs a:hover, .seo-breadcrumb a:hover { color: var(--clay); }

/* ---------- product page ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-media { position: sticky; top: 84px; }
.pd-hero-wrap { position: relative; }
.pd-hero { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; border-radius: var(--arch); overflow: hidden; position: relative; background: var(--honey-soft); aspect-ratio: 1 / 1; }
.pd-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-video { width: 100%; height: 100%; object-fit: cover; display: block; background: #14101c; }
.pd-hero-video { cursor: default; }
.pd-hero[hidden] { display: none; }
.pd-hero-wish { position: absolute; top: 14px; right: 14px; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .14); display: grid; place-items: center; cursor: pointer; }
.pd-hero-wish svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.pd-hero-wish.on, .pd-hero-wish:hover { color: var(--clay); }
.pd-hero-wish.on svg { fill: currentColor; }
.pd-zoom { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.pd-zoom svg { width: 20px; height: 20px; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs[hidden] { display: none; }
.pd-thumb { position: relative; width: 72px; height: 72px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--paper-2); cursor: pointer; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.active, .pd-thumb[aria-pressed="true"] { border-color: var(--ink); }
.pd-thumb-video { display: grid; place-items: center; background: var(--ink); color: #fff; }
.pd-thumb-video svg { width: 26px; height: 26px; }
.pd-thumb-tag { position: absolute; left: 4px; right: 4px; bottom: 4px; background: rgba(43, 30, 63, .85); color: #fff; font-size: 9.5px; font-weight: 700; padding: 2px 4px; border-radius: 6px; text-align: center; line-height: 1.1; }
.pd-photo-price { position: absolute; left: 4px; bottom: 4px; background: var(--card); font-size: 11px; font-weight: 800; padding: 1px 5px; border-radius: 6px; }

/* Visual pill / swatch variant selector (synced with hidden #product-variant select) */
.pd-options select.is-enhanced { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pd-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pd-swatch { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; border: 2px solid var(--line); background: var(--card); color: var(--ink); font: 600 14px var(--body); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.pd-swatch.has-thumb { padding: 4px 13px 4px 4px; }
.pd-swatch img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--paper-2); flex: none; }
.pd-swatch small { color: var(--ink-soft); font-weight: 600; font-size: 12.5px; }
.pd-swatch:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-1px); }
.pd-swatch[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.pd-swatch[aria-pressed="true"] small { color: rgba(255, 255, 255, .82); }
.pd-swatch:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

/* Sticky mobile buy bar on PDP */
.pd-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 253, 248, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(43, 30, 63, .12); transform: translateY(110%); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.pd-sticky.show { transform: translateY(0); }
.pd-sticky-info { flex: 1; min-width: 0; }
.pd-sticky-price { font-weight: 700; font-size: 18px; line-height: 1.1; }
.pd-sticky-sub { font-size: 11.5px; color: var(--ink-soft); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-sticky .btn { padding: 11px 16px; font-size: 14px; white-space: nowrap; }
@media (max-width: 720px) { .pd-sticky { display: flex; } }
.pd-info h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.pd-price { margin-bottom: 10px; }
.pd-price .price { font-size: 34px; }
/* Multi-buy deal ("Any 3 for ৳899", v0.35.0) */
.pd-deal-tag { margin: -4px 0 12px; font-size: .85rem; }
.pd-deal { margin: 16px 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--honey-soft); font-size: .95rem; }
.pd-deal-status { margin: 4px 0 10px; font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.pd-deal-picks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.pd-pick { position: relative; background: var(--card); border-radius: 12px; padding: 6px; text-align: center; }
.pd-pick a { display: block; text-decoration: none; color: inherit; }
.pd-pick img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
.pd-pick a span { display: block; margin-top: 4px; font-weight: 700; font-size: .78rem; line-height: 1.2; min-height: 2.4em; }
.pd-pick-add { position: absolute; top: 2px; right: 2px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--clay); color: #fff; font-size: 20px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); }
.pd-pick-n { position: absolute; top: 2px; left: 2px; padding: 2px 7px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800; }
.pd-pick.is-out img { opacity: .45; }
.pd-pick-out { display: block; font-size: .7rem; color: var(--ink-soft); font-weight: 700; }
.deal-tag { display: inline-block; width: fit-content; align-self: flex-start; margin: 4px 0 2px; padding: 2px 8px; border-radius: 999px; background: var(--honey-soft); color: var(--ink); font-weight: 800; font-size: .75rem; }
.deal-hint span { color: var(--ink-soft); font-weight: 700; font-size: .85rem; }
.pd-stock { display: inline-block; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.pd-stock.in { background: var(--books-bg); color: #245731; }
.pd-stock.in.low { background: var(--honey-soft); color: #8A5418; }
.pd-stock.out { background: var(--paper-2); color: var(--ink-soft); }
.pd-stock.pre { background: var(--honey-soft); color: #8A5418; }
.pd-deposit { display: grid; gap: 4px; background: var(--honey-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; }
.pd-desc { line-height: 1.7; color: var(--ink-soft); margin: 0 0 16px; white-space: pre-line; }
.meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.meta b { color: var(--ink); }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; margin: 6px 0 18px; }
.buy-row .btn { flex: 1 1 140px; white-space: nowrap; }
.qty { display: flex; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; height: 52px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; font: 700 20px var(--body); color: var(--ink); cursor: pointer; }
.qty input { width: 40px; border: 0; background: none; text-align: center; font: 700 16px var(--body); color: var(--ink); }
.pd-chat { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
/* "Tell me when it's back" on a sold-out product (Phase 1 idea 7). */
.pd-notify { display: grid; gap: 6px; margin: 0 0 18px; padding: 14px 16px; border-radius: 16px; background: var(--paper-2, #f6efe4); }
.pd-notify .field-help { margin: 0; }
.pd-notify-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-notify-row input { flex: 1 1 180px; min-width: 0; }
.pd-notify .err { display: none; }
.pd-notify.invalid .err { display: block; }
.chatb { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; text-decoration: none; padding: 10px 16px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.chatb svg { width: 18px; height: 18px; }
.chatb-m svg { color: #0866FF; }
.chatb-w svg { color: #25D366; }
.pd-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--card); border-radius: var(--r); padding: 14px; margin-bottom: 16px; }
.tb { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.tb-ic { width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--honey-soft); color: var(--honey-deep); display: grid; place-items: center; }
.tb-ic svg { width: 20px; height: 20px; }
.tb-tx { display: grid; font-size: 13px; }
.tb-tx i { font-style: normal; color: var(--ink-soft); }
.pd-share { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.pd-share-label { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.sh { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.sh svg { width: 18px; height: 18px; }
.sh-fb { color: #0866FF; } .sh-wa { color: #25D366; }
.related-collections, .product-guide-link { font-size: 14px; color: var(--ink-soft); }
.related-collections a, .product-guide-link a { color: var(--clay); font-weight: 700; }
.seo-product-summary article h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }

/* ---------- forms (cart, track, contact) ---------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea { font: 500 15px var(--body); color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--honey-deep); box-shadow: 0 0 0 3px var(--honey-soft); }
.field-help { font-size: 13px; color: var(--ink-soft); }
.err { display: none; font-size: 13px; font-weight: 700; color: var(--clay); }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--clay); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- cart + checkout ---------- */
.cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
.cols > .cart-left { position: sticky; top: 84px; display: grid; gap: 16px; }
.panel { background: var(--card); border-radius: 24px; padding: 20px; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 26px; margin-bottom: 16px; }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.line:last-child { border-bottom: 0; }
.line-controls { display: flex; align-items: center; gap: 14px; }
.cart-thumb, .cart-picture, .cart-picture img { width: 72px; height: 72px; border-radius: 36px 36px 12px 12px; object-fit: cover; flex: none; background: var(--paper-2); }
.line-info { min-width: 0; }
.lname { display: block; font-weight: 700; text-decoration: none; color: var(--ink); line-height: 1.3; }
.lname:hover { text-decoration: underline; }
.line-total { min-width: 82px; text-align: right; }
.lsub { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.lpre { font-size: 13px; color: #8A5418; margin-top: 4px; }
.lpre a { color: var(--clay); font-weight: 700; }
.lspacer { display: none; }

/* Tappable Inside/Outside Dhaka area cards (synced with #carea select) */
.field .area-select-hidden, .area-select-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; overflow: hidden; }
.area-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.area-card { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 16px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: inherit; transition: border-color .15s, background .15s; }
.area-card b { font-size: 14.5px; }
.area-card span { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.area-card[aria-pressed="true"] { border-color: var(--ink); background: var(--lilac, var(--honey-soft)); }
.area-card[aria-pressed="true"] span { color: var(--ink); }

/* Collapsible optional fields & Send-as-a-gift box */
.opt-details { margin: 0 0 14px; border: 1.5px dashed var(--line); border-radius: 14px; padding: 0 14px; }
.opt-details > summary { padding: 12px 0; font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; }
.opt-details > summary::-webkit-details-marker { display: none; }
.opt-details[open] > summary { padding-bottom: 10px; }
.gift-send-box { margin: 0 0 14px; display: grid; gap: 10px; }
.gift-send-fields { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .65); border: 1.5px solid var(--line); display: grid; gap: 4px; }
.gift-send-fields .field:last-of-type { margin-bottom: 8px; }

/* In-cart upsell strip */
.cart-upsell { padding: 16px 18px; border-radius: 22px; background: var(--paper-2); }
.cart-upsell h3 { font-family: var(--body); font-size: 14.5px; font-weight: 700; margin: 0 0 10px; }
.upsell-list { display: grid; gap: 8px; }
.upsell-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: #fff; }
.upsell-item img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--paper-2); }
.upsell-item a { font-weight: 600; font-size: 13.5px; line-height: 1.25; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.upsell-item small { display: block; color: var(--ink-soft); font-size: 12.5px; font-weight: 600; margin-top: 2px; }
.upsell-add { height: 34px; padding: 0 13px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font: 700 13px var(--body); cursor: pointer; white-space: nowrap; }
.upsell-add:hover { background: var(--coral, var(--clay)); }
.link-x { background: none; border: 0; padding: 0; margin-top: 6px; font: 700 13px var(--body); color: var(--clay); cursor: pointer; }
.pay-opt { display: flex; align-items: center; gap: 10px; font-weight: 700; background: var(--books-bg); border-radius: 14px; padding: 12px 14px; }
.pay-opt .tag { margin-left: auto; font-size: 12px; background: var(--card); padding: 3px 9px; border-radius: 999px; }
.summary-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; }
.summary-row.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; font-family: var(--display); font-weight: 700; font-size: 22px; }
.summary-row.pre { color: #8A5418; font-size: 14px; }
.fd-note { display: grid; gap: 8px; background: var(--paper); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; font-size: 14px; }
.fd-note.is-free { background: var(--books-bg); font-weight: 700; }
.fd-bar { display: block; height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.fd-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--honey), var(--clay)); border-radius: inherit; }
.pre-note { display: grid; gap: 4px; background: var(--honey-soft); border-radius: 14px; padding: 12px 14px; margin-top: 10px; font-size: 14px; }

/* ---------- order confirmation ---------- */
.confirm { max-width: 560px; margin: 0 auto; text-align: center; background: var(--card); border-radius: 28px; padding: 36px 24px; box-shadow: var(--shadow); }
.tick { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--books-bg); color: var(--books); display: grid; place-items: center; }
.tick svg { width: 36px; height: 36px; }
.confirm h1 { font-size: clamp(30px, 5vw, 40px); margin-bottom: 10px; }
.ref { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 22px; background: var(--honey-soft); border-radius: 14px; padding: 8px 16px; margin: 6px 0 14px; letter-spacing: .02em; }

/* ---------- order tracking ---------- */
.track-wrap { max-width: 640px; }
.track-h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 10px; }
.track-lead { color: var(--ink-soft); margin: 0 0 22px; }
.track-form, .track-result { background: var(--card); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-sm); }
.track-error { background: var(--clay-soft); color: var(--clay); font-weight: 700; border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; }
.track-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 18px; }
.track-head h2 { font-size: 26px; }
.muted-sm { color: var(--ink-soft); font-size: 14px; margin: 4px 0 0; }
.track-pill { font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.track-pill.is-live { background: var(--honey-soft); color: #8A5418; }
.track-pill.is-done { background: var(--books-bg); color: #4C7552; }
.track-pill.is-cancelled { background: var(--paper-2); color: var(--ink-soft); }
.track-steps { list-style: none; margin: 0 0 16px; padding: 0; }
.tstep { position: relative; display: flex; gap: 14px; padding: 0 0 18px; }
.tstep::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.tstep:last-child::before { display: none; }
.tdot { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid var(--line); background: var(--card); margin-top: 2px; }
.tstep.done .tdot { background: var(--books); border-color: var(--books); }
.tstep.now .tdot { box-shadow: 0 0 0 5px var(--books-bg); }
.tstep.cancelled .tdot { background: var(--ink-soft); border-color: var(--ink-soft); }
.tbody { display: grid; gap: 2px; }
.tbody i { font-style: normal; color: var(--ink-soft); font-size: 14px; }
.tbody small { color: var(--ink-soft); font-size: 12px; }
.track-est { background: var(--paper); border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.track-sub { font-size: 20px; margin: 18px 0 8px; }
.trow { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.trow.total { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; font-weight: 800; }
.trow.pre { color: #8A5418; }
.track-help { font-size: 14px; color: var(--ink-soft); margin: 18px 0; }
.track-help a { color: var(--clay); font-weight: 700; }

/* ---------- info pages: prose, FAQ, contact form ---------- */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 14px; }
.prose h2 { font-size: clamp(26px, 3.6vw, 34px); margin: 44px 0 14px; scroll-margin-top: 90px; }
.prose h1 { scroll-margin-top: 90px; }
.prose p, .prose li { line-height: 1.75; color: var(--ink-soft); }
.prose li b, .prose p b { color: var(--ink); }
.prose a:not(.btn) { color: var(--clay); font-weight: 700; }
.prose .sub { font-size: 19px; color: var(--ink); }
.draft-note { background: var(--honey-soft); border-radius: 14px; padding: 10px 14px; font-size: 14px; color: #8A5418 !important; }
.faq-item { background: var(--card); border-radius: 16px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 16px 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--honey-deep); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 18px 16px; }
.contact-form { background: var(--card); border-radius: 24px; padding: 22px; margin-top: 18px; box-shadow: var(--shadow-sm); }
.contact-form h3 { font-size: 26px; margin-bottom: 6px; }
.cf-lead, .cf-reach { color: var(--ink-soft); margin: 0 0 14px; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-error { background: var(--clay-soft); color: var(--clay); font-weight: 700; border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; }
.cf-done h3 { font-size: 24px; }

/* ---------- category / collection pages ---------- */
.category-head { margin-bottom: 26px; }
.category-head h1 { font-size: clamp(36px, 5vw, 56px); margin: 10px 0; }
.category-head p { color: var(--ink-soft); max-width: 40em; line-height: 1.6; margin: 0 0 12px; }
.category-count { display: inline-block; font-size: 13px; font-weight: 800; background: var(--card); padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.thumb-wrap.arch .peek { z-index: 1; }

/* ---------- Curious Notes (guides) ---------- */
.guide-hub-head h1 { font-size: clamp(36px, 5vw, 56px); margin: 10px 0; }
.guide-hub-head p { color: var(--ink-soft); max-width: 40em; line-height: 1.6; }
.guide-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.guide-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); }
.guide-card-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.guide-card-body { padding: 18px; }
.guide-card-meta, .guide-kicker, .guide-read { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--books); }
.guide-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; }
.guide-hero h1 { font-size: clamp(34px, 5vw, 52px); margin: 10px 0 14px; }
.guide-dek, .guide-intro p, .guide-section p { line-height: 1.75; color: var(--ink-soft); }
.guide-sidebar, .guide-toc { background: var(--card); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-sm); position: sticky; top: 90px; }
.guide-pick { display: grid; grid-template-columns: 200px 1fr; gap: 20px; background: var(--card); border-radius: var(--r); padding: 16px; margin: 16px 0; box-shadow: var(--shadow-sm); }
.guide-pick-image img { width: 100%; border-radius: var(--arch); }
.guide-byline { display: flex; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.draft-notice, .draft-pill { background: var(--honey-soft); color: #8A5418; border-radius: 12px; padding: 8px 12px; font-weight: 700; font-size: 14px; }

/* ---------- 404 (server) ---------- */
.error-page { text-align: center; padding: 56px 16px; }
.error-code { font-family: var(--display); font-size: 72px; font-weight: 750; color: var(--honey-deep); }
.error-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--paper-2); margin-top: 40px; padding: 48px 0 28px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h3 { font-family: var(--body); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.foot a:not(.brand) { display: block; text-decoration: none; color: var(--ink-soft); font-size: 15px; padding: 4px 0; }
.foot a:not(.brand):hover { color: var(--clay); }
.foot .about p { color: var(--ink-soft); line-height: 1.6; max-width: 26em; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.foot-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.foot-support a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.social { display: flex; gap: 10px; }
.social a { color: var(--ink-soft); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 60; display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); transition: transform .3s; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--honey); flex: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(30, 24, 20, .92); display: none; align-items: center; justify-content: center; }
.lightbox.show { display: flex; }
body.lb-open { overflow: hidden; }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 48px 16px; box-sizing: border-box; overflow: hidden; }
/* Fit the whole photo on screen, wide or tall: a % max-height alone grows with the grid row, so cap by the viewport. */
.lb-img { max-width: 100%; max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); width: auto; height: auto; object-fit: contain; border-radius: 16px; }
.lb-close, .lb-nav { position: absolute; background: rgba(255, 253, 248, .14); color: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; font-size: 28px; }
.lb-close { top: 16px; right: 16px; }
.lb-nav svg { width: 24px; height: 24px; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .guide-card-grid { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar, .guide-toc { position: static; }
}
@media (max-width: 860px) {
  .burger { display: grid; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 14px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  body.nav-open .nav { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 12px; }
  .cols, .pd { grid-template-columns: 1fr; gap: 24px; }
  .pd-media, .cols > .cart-left { position: static; }
}
@media (max-width: 720px) {
  .section { padding: 34px 0; }
  .hdr { height: 60px; gap: 10px; }
  .nav { top: 60px; }
  .site-header .brand span { font-size: 19px; }
  .site-header .brand img { width: 32px; height: 32px; }
  .site-header .brand { gap: 7px; }
  .hero, .hero-b { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { max-width: 280px; order: -1; }
  .hero-sec { padding-top: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-prod { padding: 8px 8px 12px; }
  .badge { top: 14px; left: 14px; }
  .pname { font-size: 14px; }
  .price { font-size: 18px; }
  .add-mini { width: 36px; height: 36px; }
  .section-head { flex-direction: column; align-items: start; }
  .pd-trust, .two { grid-template-columns: 1fr; }
  .line { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 12px; align-items: start; }
  .cart-thumb, .cart-picture, .cart-picture img { width: 64px; height: 64px; grid-row: span 2; }
  .line-controls { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
  .line-total { min-width: 0; }
  .guide-card-grid { grid-template-columns: 1fr; }
  .guide-pick { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .lang-switch button { padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-prod, .cat-door .door, .peek, .toast { transition: none; }
}
.cf-social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 18px; }

/* ---------- Curious Notes article (ported from the reference shop, Session 42) ----------
   The guide page (guide.php) shares these with both designs; colours use the theme tokens. */
.guide-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.65fr);gap:clamp(26px,5vw,62px);align-items:center;margin:14px 0 32px;padding:clamp(22px,4vw,44px);border:1px solid var(--line);border-radius:28px;background:linear-gradient(135deg,rgba(255,248,218,.94),rgba(234,247,244,.92));box-shadow:var(--shadow-sm);}
.guide-hero h1{font-size:clamp(2rem,4.7vw,3.55rem);line-height:1.08;margin:0 0 16px;}
.guide-dek{color:var(--ink-soft);font-weight:700;font-size:clamp(1rem,2vw,1.15rem);line-height:1.7;margin:0 0 18px;}
.guide-byline{display:flex;flex-wrap:wrap;gap:7px;color:var(--ink-soft);font-size:.82rem;font-weight:800;}
.guide-hero-image{margin:0;overflow:hidden;border:8px solid #fff;border-radius:20px;background:#fff;box-shadow:0 16px 34px rgba(51,46,88,.12);transform:rotate(1.5deg);}
.guide-hero-image picture{display:block;aspect-ratio:1;}
.guide-hero-image .thumb{display:block;width:100%;height:100%;object-fit:cover;}
.guide-hero-image figcaption{padding:8px 7px 3px;color:var(--ink-soft);font-size:.7rem;font-weight:800;text-align:center;}
.draft-notice-article{max-width:none;margin-bottom:34px;}
.guide-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(210px,280px);gap:clamp(34px,6vw,70px);align-items:start;justify-content:center;}
.guide-main{min-width:0;}
.guide-intro{color:var(--ink);font-size:clamp(1.02rem,2vw,1.14rem);font-weight:650;line-height:1.85;margin:0 0 18px;}
.guide-main h2{font-size:clamp(1.6rem,3.5vw,2.25rem);line-height:1.2;margin:0 0 18px;}
.quick-picks,.guide-section{margin:44px 0;padding:26px;border:1px solid var(--line);border-radius:20px;background:rgba(255,253,249,.86);box-shadow:var(--shadow-sm);scroll-margin-top:90px;}
.quick-pick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.quick-pick-grid a{display:flex;flex-direction:column;gap:4px;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff;text-decoration:none;}
.quick-pick-grid a:hover{border-color:var(--books);}
.quick-pick-grid span{color:var(--ink-soft);font-size:.76rem;font-weight:800;}
.quick-pick-grid strong{color:var(--ink);font-size:.94rem;line-height:1.35;}
.quick-pick-grid b{color:var(--clay);font-weight:900;}
.quick-pick-grid b .price{font-size:inherit;}
.quick-pick-grid b .regular-price{font-size:.72rem;}
.guide-products{margin-top:48px;}
.guide-products>h2{margin-bottom:28px;}
.guide-pick{display:grid;grid-template-columns:220px minmax(0,1fr);gap:25px;padding:30px 0;border-top:1px dashed var(--line);scroll-margin-top:90px;}
.guide-pick:last-child{border-bottom:1px dashed var(--line);}
.guide-pick-image{align-self:start;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm);}
.guide-pick-image a,.guide-pick-image picture{display:block;}
.guide-pick-image .thumb{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;transition:transform .18s ease;}
.guide-pick-image a:hover .thumb{transform:scale(1.025);}
.guide-pick-copy h3{font-size:clamp(1.3rem,3vw,1.65rem);line-height:1.25;margin:0 0 10px;}
.guide-pick-copy>p{color:var(--ink-soft);font-weight:650;line-height:1.7;margin:11px 0;}
.guide-pick-copy .best-for{color:var(--ink);}
.guide-pick-copy p b{color:var(--ink);font-weight:900;}
.guide-price-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:12px;}
.guide-price-row strong{color:var(--clay);font-family:var(--display);font-size:1.3rem;}
.guide-price-row strong .price{font-size:inherit;}
.guide-price-row strong .regular-price{font-size:.78rem;}
.guide-price-row span{font-size:.74rem;font-weight:900;color:var(--books);}
.guide-price-row span.out{color:var(--montessori);}
.play-prompt{padding:11px 13px;border-left:4px solid var(--books);border-radius:0 10px 10px 0;background:var(--books-bg);}
.safety-note{padding:11px 13px;border-left:4px solid var(--honey);border-radius:0 10px 10px 0;background:var(--honey-soft);}
.guide-product-link{display:inline-block;margin-top:3px;font-size:.9rem;}
.chooser-table{display:grid;gap:0;border:1px solid var(--line);border-radius:13px;overflow:hidden;}
.chooser-table>div{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:13px 15px;background:#fff;border-bottom:1px solid var(--line);}
.chooser-table>div:last-child{border-bottom:0;}
.chooser-table span{color:var(--ink-soft);font-weight:700;}
.chooser-table strong{color:var(--ink);font-weight:900;}
.safety-section{background:var(--honey-soft);border-color:var(--honey);}
.safety-section ul,.editorial-checklist ul{padding-left:1.25em;margin:0;}
.safety-section li,.editorial-checklist li{padding:5px 0;color:var(--ink-soft);font-weight:700;line-height:1.65;}
.guide-sourcing{margin:0 0 26px;padding:12px 15px;border-left:4px solid var(--sky);border-radius:0 10px 10px 0;background:var(--clothes-bg);color:var(--ink-soft);font-size:.88rem;font-weight:700;line-height:1.65;}
.guide-delivery p,.guide-faq p{color:var(--ink-soft);font-weight:650;line-height:1.75;margin:0 0 12px;}
.guide-delivery p:last-child,.guide-faq p:last-child{margin-bottom:0;}
.guide-faq h3{font-size:clamp(1.05rem,2.4vw,1.22rem);line-height:1.35;margin:22px 0 8px;}
.guide-faq h3:first-of-type{margin-top:4px;}
.guide-ask{margin:16px 0 0;}
.guide-ask a{color:var(--clay);font-weight:900;font-size:.92rem;text-decoration:none;}
.guide-ask a:hover{text-decoration:underline;}
.product-guide-link{margin:18px 0 0;padding:13px 15px;border:1px solid var(--line);border-left:4px solid var(--books);border-radius:0 12px 12px 0;background:var(--books-bg);color:var(--ink-soft);font-weight:700;line-height:1.6;}
.product-guide-link a{color:var(--clay);font-weight:900;text-decoration:none;}
.product-guide-link a:hover{text-decoration:underline;}
.guide-conclusion p{color:var(--ink-soft);font-weight:700;line-height:1.8;}
.guide-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
.editorial-checklist{margin:44px 0 0;padding:26px;border:2px dashed var(--honey);border-radius:20px;background:var(--card);}
.editorial-checklist>p{color:var(--ink-soft);font-weight:700;line-height:1.6;}
.editorial-checklist li{list-style:none;margin-left:-1.2em;}
.editorial-checklist li span{display:inline-block;width:1.5em;color:var(--honey-deep);font-weight:900;}
.guide-sidebar{position:sticky;top:92px;display:flex;flex-direction:column;gap:14px;}
.guide-toc,.guide-price-note{padding:18px;border:1px solid var(--line);border-radius:16px;background:rgba(255,253,249,.94);box-shadow:var(--shadow-sm);}
.guide-toc{display:flex;flex-direction:column;gap:4px;}
.guide-toc strong{margin-bottom:7px;font-family:var(--display);font-size:1.05rem;}
.guide-toc a{padding:6px 0;color:var(--clay);font-size:.86rem;font-weight:800;text-decoration:none;}
.guide-toc a:hover{text-decoration:underline;}
.guide-price-note{margin:0;color:var(--ink-soft);font-size:.78rem;font-weight:700;line-height:1.6;}
html[lang="bn"] .guide-price-row strong,html[lang="bn"] .guide-toc strong{font-family:"Noto Sans Bengali","Nunito",system-ui,sans-serif;}
@media (max-width:900px){
  .guide-layout{grid-template-columns:minmax(0,760px);}
  .guide-sidebar{position:static;grid-row:1;}
  .guide-toc{display:none;}
}
@media (max-width:700px){
  .guide-hero{grid-template-columns:1fr;padding:22px;}
  .guide-hero-image{max-width:360px;transform:none;}
  .guide-pick{grid-template-columns:145px minmax(0,1fr);gap:18px;}
}
@media (max-width:520px){
  .quick-picks,.guide-section,.editorial-checklist{padding:19px;}
  .quick-pick-grid{grid-template-columns:1fr;}
  .guide-pick{grid-template-columns:1fr;padding:28px 0;}
  .guide-pick-image{max-width:250px;}
  .chooser-table>div{grid-template-columns:1fr;gap:4px;}
  .guide-cta{display:grid;}
  .guide-cta .btn{width:100%;}
}

/* ---------- photo reviews (Phase 1 idea 3) ---------- */
.pd-reviews h2 { margin-bottom: 18px; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; align-items: start; }
.rv { margin: 0; background: var(--card); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-sm); }
.rv img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; margin-bottom: 14px; }
.rv blockquote { margin: 0 0 10px; font-size: 16px; line-height: 1.5; }
.rv blockquote p { margin: 0; }
.rv figcaption { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.track-review { margin: 18px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--paper-2); }
.track-review p { margin: 6px 0 12px; font-size: 14px; color: var(--ink-soft); }

/* ---------- pre-order deposit: where to pay (Phase 1 idea 13) ---------- */
.pay-box { max-width: 460px; margin: 0 auto 22px; padding: 18px 20px; border-radius: 20px; background: var(--paper-2); text-align: left; }
.track-result .pay-box { max-width: none; margin: 18px 0 0; }
.pay-title { display: block; font-size: 17px; }
.pay-box p { margin: 6px 0 12px; font-size: 14px; color: var(--ink-soft); }
.pay-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.pay-row span { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.pay-row b { font-size: 17px; letter-spacing: .03em; }
.pay-row .btn { min-height: 36px; padding: 6px 14px; font-size: 14px; }

/* ---------- Cub Club stamps (Phase 1 idea 5) ---------- */
.stamps { margin: 18px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--paper-2); }
.cc-panel .stamps { margin: 0 0 16px; background: #fff; }
.stamps-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.stamps-head span { font-size: 14px; color: var(--ink-soft); font-weight: 700; }
.stamp-row { display: flex; gap: 8px; margin: 12px 0 10px; padding: 0; list-style: none; }
.stamp-row li { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px dashed var(--line); font-size: 18px; }
.stamp-row li.on { border: 0; background: var(--honey-soft); }
.stamp-row li.gift { border-style: solid; border-color: var(--clay); }
.stamps p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.cf-email a { color: var(--clay); font-weight: 700; }

/* ---------- Rewards page (rewards.php): friend codes, stamps, photo reviews ---------- */
.rewards-page .wrap { max-width: 1060px; }
.rw-hero { max-width: 720px; display: grid; gap: 12px; margin-bottom: 28px; }
.rw-hero h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.08; text-wrap: balance; margin: 0; }
.rw-sub { font-size: 18px; color: var(--ink-soft); margin: 0; }
.rw-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 32px; }
.rw-tile { display: grid; gap: 4px; padding: 20px 22px; border-radius: 24px; text-decoration: none; color: var(--ink); transition: transform .15s; }
.rw-tile:hover { transform: translateY(-2px); }
.rw-tile strong { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 40px); line-height: 1.1; }
.rw-tile span { font-size: 15px; font-weight: 600; }
.rw-t1 { background: var(--honey-soft); } .rw-t2 { background: var(--lemon, #fff0b0); } .rw-t3 { background: var(--mint, #cbebdc); }
.rw-block { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.rw-block + .rw-block, .rw-tiles + .rw-block { margin-top: 0; }
.rw-text { display: grid; gap: 12px; min-width: 0; }
.rw-text h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; text-wrap: balance; margin: 0; }
.rw-text h3 { font-size: 20px; margin: 10px 0 0; }
.rw-text p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.rw-text .rw-note { font-size: 15px; padding: 10px 14px; border-radius: 14px; background: var(--paper-2); }
.rw-kicker { font-size: 13px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--clay) !important; }
.rw-visual { display: grid; justify-items: center; min-width: 0; }
.rw-ticket { width: min(100%, 340px); display: grid; gap: 10px; padding: 22px; border-radius: 22px; background: var(--card, #fff); border: 2px dashed var(--honey); box-shadow: var(--shadow-sm, 0 10px 24px -16px rgba(43,30,63,.35)); }
.rw-ticket-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.rw-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 30px; letter-spacing: .14em; font-weight: 700; color: var(--clay); }
.rw-ticket-row { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 15px; }
.rw-ticket-row b { font-size: 18px; }
.rw-stamps { width: min(100%, 380px); margin: 0; background: var(--card, #fff); box-shadow: var(--shadow-sm, 0 10px 24px -16px rgba(43,30,63,.35)); }
.rw-stamps .stamp-row { flex-wrap: wrap; }
.rw-review { width: min(100%, 320px); display: grid; gap: 8px; padding: 18px; border-radius: 22px; background: var(--card, #fff); box-shadow: var(--shadow-sm, 0 10px 24px -16px rgba(43,30,63,.35)); }
.rw-photo { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 16px; display: grid; place-items: center; background: var(--lilac, #e6daf8); }
.rw-stars { margin: 0; color: #c98a1b; letter-spacing: 2px; }
.rw-quote { margin: 0; font-size: 15px; }
.rw-credit { justify-self: start; padding: 6px 12px; border-radius: 999px; font-weight: 700; background: var(--mint, #cbebdc); color: var(--books, #2f7a5a); }
.rw-credit-how { padding: 32px clamp(18px, 3vw, 32px); margin-top: 8px; border-radius: 28px; background: var(--paper-2); display: grid; gap: 12px; }
.rw-credit-how h2, .rw-faq h2 { font-size: clamp(24px, 3vw, 30px); margin: 0; }
.rw-credit-how p { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.rw-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.rw-faq { max-width: 760px; margin-top: 36px; display: grid; gap: 4px; }
.rw-faq h2 { margin-bottom: 10px; }
@media (max-width: 760px) {
  .rw-block { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .rw-visual { justify-items: start; }
}
.stamps-more { font-weight: 700; color: var(--clay); white-space: nowrap; }

/* Gift wrap & card at checkout (Phase 1 idea 6) */
.gift-wrap { margin: 14px 0 4px; display: grid; gap: 10px; }
.gift-opt { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--montessori-bg); font-size: 14px; font-weight: 600; cursor: pointer; }
.gift-opt input { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--clay); }
.gift-opt small { display: block; font-weight: 500; color: var(--ink-soft); margin-top: 3px; font-size: 13px; }
.gift-msg textarea { width: 100%; resize: vertical; min-height: 76px; }
.gift-msg .field-help { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Party & return gifts page at /party/ (Phase 1 idea 11) */
.party-page .wrap { max-width: 1060px; }
.party-page .rw-hero p:last-child { margin: 6px 0 0; }
.party-tiers .rw-tile { cursor: default; }
.party-bags { padding: 30px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.party-bags h2, .party-how h2, .party-ask h2 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 16px; }
.party-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.party-bag { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.party-bag img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); display: block; }
.pb-body { padding: 16px 18px 18px; display: grid; gap: 8px; flex: 1; align-content: start; }
.pb-body h3 { margin: 0; font-size: 20px; }
.pb-inside { margin: 0; color: var(--ink-soft); font-size: 14px; }
.pb-price { margin: 0; font-size: 15px; } .pb-price b { font-size: 22px; font-family: var(--display); }
.pb-tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 6px; }
.pb-tiers li { background: var(--honey-soft); border-radius: 12px; padding: 6px 8px; display: grid; font-size: 12px; text-align: center; }
.pb-tiers b { font-size: 15px; }
.pb-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.party-empty { max-width: 680px; font-size: 17px; background: var(--honey-soft); border-radius: var(--r); padding: 18px 20px; margin: 0; }
.party-how { padding: 30px 0; border-top: 1px solid var(--line); }
.party-how ol { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.party-how li { counter-increment: step; background: var(--card); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; box-shadow: var(--shadow-sm); }
.party-how li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; font-weight: 800; }
.party-how li span { color: var(--ink-soft); font-size: 15px; }
.party-ask { padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; scroll-margin-top: 90px; }
.pa-text p { color: var(--ink-soft); }
.party-form textarea, .party-form select, .party-form input { width: 100%; }
.party-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.party-msg { min-height: 1.2em; color: var(--clay); font-weight: 700; margin: 4px 0 10px; }
.party-done { text-align: center; display: grid; justify-items: center; gap: 8px; }
.party-done h2 { margin: 0; }
@media (max-width: 760px) { .party-ask { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Global Banglish Search Overlay (v0.44.0) ---------- */
.gsearch { position: fixed; inset: 0; z-index: 75; display: none; align-items: flex-start; justify-content: center; padding: clamp(14px, 5vh, 56px) 14px 14px; background: rgba(43, 30, 63, .48); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gsearch.open { display: flex; }
body.gs-open { overflow: hidden; }
.gsearch-box { width: min(680px, 100%); max-height: calc(100dvh - 48px); display: flex; flex-direction: column; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(43, 30, 63, .3); overflow: hidden; }
.gsearch-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.gsearch-top svg { width: 20px; height: 20px; color: var(--ink-soft); flex: none; }
.gsearch-top input { flex: 1; min-width: 0; border: 0; background: none; font: 600 17px var(--body); color: var(--ink); outline: none; padding: 6px 0; }
.gsearch-x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; flex: none; }
.gsearch-body { overflow-y: auto; padding: 16px; display: grid; gap: 14px; }
.gsearch-hint { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.gsearch-pops { display: flex; flex-wrap: wrap; gap: 8px; }
.gsearch-pop { border: 0; border-radius: 99px; padding: 8px 14px; background: var(--paper-2); color: var(--ink); font: 600 14px var(--body); cursor: pointer; }
.gsearch-pop:hover { background: var(--lilac, var(--honey-soft)); }
.gsearch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gsearch-item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 16px; background: #fff; }
.gsearch-item img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; background: var(--paper-2); }
.gsearch-item-info { min-width: 0; text-decoration: none; color: inherit; display: block; }
.gsearch-item-info b { display: block; font-size: 15px; line-height: 1.25; }
.gsearch-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 3px; font-size: 13px; color: var(--ink-soft); }
.gsearch-item-meta strong { color: var(--ink); font-size: 14px; }
.gsearch-add { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.gsearch-add:hover { background: var(--coral, var(--clay)); }
.gsearch-foot { text-align: center; padding-top: 4px; }
.gsearch-foot a { font-weight: 700; color: var(--clay); text-decoration: none; }

/* ---------- Mix-and-Match Bundle Builder (/bundles/) ---------- */
.bundle-page { padding-bottom: 120px; }
.bundle-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.bundle-tab { display: inline-flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-radius: 20px; border: 2px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; transition: border-color .15s, background .15s; }
.bundle-tab small { font-weight: 600; font-size: 13px; color: var(--ink-soft); }
.bundle-tab.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.bundle-tab.active small { color: var(--lemon, #fff0b0); }
.bundle-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border-radius: 26px; background: var(--lemon, var(--honey-soft)); margin-bottom: 22px; }
.bundle-banner h2 { margin: 0 0 4px; font-size: clamp(24px, 3vw, 34px); }
.bundle-banner p { margin: 0; color: #4a3f5c; font-weight: 600; }
.bundle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 16px; }
.bundle-card { position: relative; display: flex; flex-direction: column; padding: 10px; border-radius: 22px; background: var(--card); border: 2px solid transparent; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; }
.bundle-card.in-bundle { border-color: var(--bk-good, #2f9a6a); background: #f6fdf9; }
.bundle-card.is-out { opacity: .6; }
.bundle-card-img { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--paper-2); margin-bottom: 10px; }
.bundle-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bundle-card-name { font-weight: 700; font-size: 14.5px; line-height: 1.28; text-decoration: none; color: var(--ink); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bundle-card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.bundle-card-price { font-weight: 700; font-size: 15px; }
.bundle-ctrl { display: inline-flex; align-items: center; gap: 6px; }
.bundle-btn { height: 34px; min-width: 34px; padding: 0 12px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font: 700 14px var(--body); cursor: pointer; }
.bundle-btn:hover { background: var(--coral, var(--clay)); }
.bundle-btn.sub { background: var(--paper-2); color: var(--ink); padding: 0; width: 34px; }
.bundle-qty { min-width: 18px; text-align: center; font-weight: 800; font-size: 15px; }
.bundle-tray { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 48; width: min(920px, calc(100vw - 24px)); display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 26px; background: var(--ink); color: #fff; box-shadow: 0 20px 50px rgba(43, 30, 63, .38); }
.bundle-slots { display: flex; gap: 6px; align-items: center; flex: none; }
.bundle-slot { width: 42px; height: 42px; border-radius: 12px; border: 1.5px dashed rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); overflow: hidden; display: grid; place-items: center; font-size: 16px; font-weight: 700; color: rgba(255, 255, 255, .55); }
.bundle-slot.filled { border: 2px solid #fff; background: #fff; }
.bundle-slot img { width: 100%; height: 100%; object-fit: cover; }
.bundle-tray-copy { flex: 1; min-width: 0; }
.bundle-tray-copy b { display: block; font-size: 15px; line-height: 1.2; }
.bundle-tray-copy span { display: block; font-size: 13px; color: rgba(255, 255, 255, .78); margin-top: 2px; }
.bundle-tray-copy .saved { color: var(--lemon, #fff0b0); font-weight: 700; }
.bundle-tray .btn { background: var(--coral, var(--honey)); color: #fff; padding: 12px 20px; white-space: nowrap; }
.bundle-tray .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
@media (max-width: 720px) {
  .bundle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bundle-tray { flex-wrap: wrap; gap: 10px; padding: 12px 14px; border-radius: 22px; }
  .bundle-slot { width: 34px; height: 34px; border-radius: 9px; }
  .bundle-tray .btn { width: 100%; padding: 11px 16px; }
}

/* Interactive filter bar on category / collection pages */
.cat-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chips .chip { height: 38px; padding: 0 14px; font-size: 13.5px; cursor: pointer; }
.cat-chips .chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* assets/basket.css */
/* ============================================================
   Basket list shared by every storefront design (store.js).
   Docked on the right from 1180px while it has items (the page
   reflows beside it), a slide-in sheet below that. Each design
   sets the --bk-* tokens and restyles freely.
   ============================================================ */
:root {
  --bk-w: 370px;
  --bk-bg: #fff; --bk-ink: #161616; --bk-muted: #6b6b6b; --bk-line: rgba(0, 0, 0, .1);
  --bk-accent: #161616; --bk-accent-ink: #fff; --bk-tile: #f2f0ec; --bk-good: #2f8a55;
  --bk-radius: 14px; --bk-shadow: 0 20px 60px rgba(0, 0, 0, .18); --bk-display: inherit;
}
body { transition: padding-right .45s cubic-bezier(.2, .8, .2, 1); }
body.bk-docked { padding-right: var(--bk-w); }
body.bk-docked .site-header { margin-right: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bk {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: var(--bk-w); max-width: 100vw;
  display: flex; flex-direction: column; background: var(--bk-bg); color: var(--bk-ink);
  border-left: 1px solid var(--bk-line); transform: translateX(105%); visibility: hidden;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .45s; outline: none;
}
.bk.bk-visible { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
body.bk-sheet .bk { width: min(420px, 100vw); box-shadow: var(--bk-shadow); }
.bk-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transition: opacity .3s; }
body.bk-sheet .bk-backdrop { opacity: 1; pointer-events: auto; }
.bk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.bk-head h2 { margin: 0; font-family: var(--bk-display); font-size: 22px; display: flex; align-items: center; gap: 8px; }
.bk-n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: var(--bk-accent); color: var(--bk-accent-ink); font: 700 12px system-ui, sans-serif; }
.bk-x { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 99px; background: transparent; color: inherit; cursor: pointer; }
.bk-x:hover { background: var(--bk-line); }
.bk-progress { padding: 0 20px 14px; border-bottom: 1px solid var(--bk-line); }
.bk-progress-text { margin: 0 0 8px; font-size: 13px; color: var(--bk-muted); }
.bk-progress-text b { color: var(--bk-ink); }
.bk-bar { height: 6px; border-radius: 9px; background: var(--bk-line); overflow: hidden; }
.bk-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--bk-accent); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.bk-free .bk-bar span { background: var(--bk-good); }
.bk-lines { flex: 1; overflow-y: auto; margin: 0; padding: 6px 12px; list-style: none; overscroll-behavior: contain; }
.bk-empty { padding: 40px 16px; text-align: center; color: var(--bk-muted); font-size: 15px; }
.bk-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; padding: 12px 8px; border-bottom: 1px solid var(--bk-line); border-radius: 10px; }
.bk-line:last-child { border-bottom: 0; }
.bk-new { animation: bk-in .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes bk-in { from { opacity: 0; transform: translateX(30px); background: var(--bk-tile); } 60% { background: var(--bk-tile); } to { opacity: 1; transform: none; } }
.bk-line-img { display: block; width: 64px; height: 64px; border-radius: 10px; background: var(--bk-tile); overflow: hidden; }
.bk-line-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-line-name { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; display: block; }
.bk-line-meta { margin: 2px 0 8px; font-size: 12.5px; color: var(--bk-muted); }
.bk-line-meta.bk-warn { color: #a3452a; }
.bk-line-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 14px; }
.bk-remove { border: 0; background: none; padding: 0; color: var(--bk-muted); font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.bk-qty { display: inline-flex; align-items: center; border: 1px solid var(--bk-line); border-radius: 99px; }
.bk-qty button { width: 30px; height: 28px; border: 0; background: none; color: inherit; font-size: 16px; cursor: pointer; border-radius: 99px; }
.bk-qty button:hover { background: var(--bk-line); }
.bk-qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 600; }
.bk-foot { padding: 14px 20px 20px; border-top: 1px solid var(--bk-line); }
.bk-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.bk-fine { margin: 6px 0 12px; font-size: 12px; color: var(--bk-muted); }
.bk-checkout { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 99px; background: var(--bk-accent); color: var(--bk-accent-ink); font-weight: 700; font-size: 16px; text-decoration: none; }
.bk-checkout:hover { filter: brightness(1.08); }
.bk-checkout[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* narrow screens: "added" toast instead of opening the list */
.bk-toast { position: fixed; z-index: 70; right: 12px; top: 12px; left: 12px; max-width: 420px; margin-left: auto; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--bk-radius); background: var(--bk-bg); color: var(--bk-ink); box-shadow: var(--bk-shadow); transform: translateY(-160%); visibility: hidden; transition: transform .4s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .4s; }
.bk-toast.bk-on { transform: none; visibility: visible; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.bk-toast img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; background: var(--bk-tile); }
.bk-toast span { flex: 1; font-size: 13.5px; line-height: 1.3; min-width: 0; }
.bk-toast b { display: block; font-size: 12px; color: var(--bk-good); }
.bk-toast button { border: 0; border-radius: 99px; padding: 10px 14px; background: var(--bk-accent); color: var(--bk-accent-ink); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }

.bk-ghost { position: fixed; z-index: 80; object-fit: cover; pointer-events: none; border-radius: 16px; }
.bk-pop { animation: bk-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bk-pop { 40% { transform: scale(1.18); } }

/* index.html's crawlable first paint keeps its copy but not the retired rainbow art */
.home-fallback .hero-art { display: none; }

/* preview bar shown while a browser is trying a design */
.design-preview { position: relative; z-index: 45; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; padding: 9px 16px; background: #1d1b3a; color: #fff; font: 600 14px system-ui, sans-serif; text-align: center; }
.design-preview a { color: #ffd36e; }

@media (prefers-reduced-motion: reduce) {
  body, .bk, .bk-toast, .bk-bar span { transition: none; }
  .bk-new, .bk-pop { animation: none; }
}
/* Multi-buy deal rows ("Any 3 for ৳899", v0.35.0) */
.bk-deals .bk-row { font-size: .9rem; margin-bottom: 4px; }
.bk-row.saving span:last-child { color: var(--montessori); font-weight: 800; }
/* Clickable upsells inside basket drawer (v0.44.0) */
.bk-upsell { padding: 10px 14px; border-top: 1px solid var(--bk-line); background: var(--bk-tile); }
.bk-upsell-title { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--bk-muted); }
.bk-upsell-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.bk-upsell-row::-webkit-scrollbar { display: none; }
.bk-up-card { flex: 0 0 185px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 12px; background: #fff; }
.bk-up-card img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--bk-tile); }
.bk-up-card span { min-width: 0; font-size: 12px; font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bk-up-card small { display: block; color: var(--bk-muted); font-weight: 700; margin-top: 2px; }
.bk-up-card button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--bk-accent); color: var(--bk-accent-ink); font-size: 17px; font-weight: 700; cursor: pointer; display: grid; place-items: center; flex: none; }

/* assets/family.css */
/* Wishlist hearts, gift lists and children's birthdays (Phase 1 ideas 1–2).
   Shared by both storefront designs; colours come from their tokens. */

/* heart on every product card, and the bigger one on product pages */
.wish-btn { position: absolute; z-index: 3; top: var(--wish-inset, 20px); right: var(--wish-inset, 20px); display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wish-btn svg, .wish-big svg, .wl-heart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.wish-btn:hover { color: var(--clay); }
.wish-btn.on, .wish-big.on { color: var(--clay); }
.wish-btn.on svg, .wish-big.on svg { fill: currentColor; }
.wish-pop svg { animation: wish-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes wish-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.wish-big { display: inline-flex; align-items: center; gap: 8px; }
.wish-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px; border-radius: 99px; background: var(--clay); color: #fff; font-size: 11px; font-weight: 800; line-height: 1; vertical-align: 2px; }
.wish-count[hidden] { display: none; }

/* wishlist + shared gift list page */
.wl-wrap { max-width: 880px; }
.wl-wrap h1 { margin: 0 0 6px; }
.wl-lead { color: var(--ink-soft); font-weight: 600; margin: 0 0 22px; max-width: 640px; }
.wl-list { padding: 6px 18px; margin-bottom: 20px; }
.wl-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.wl-row:last-child { border-bottom: 0; }
.wl-thumb { display: block; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--paper); }
.wl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wl-info { min-width: 0; }
.wl-info .lname { display: block; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.3; }
.wl-info .lsub { margin-top: 4px; color: var(--ink-soft); font-size: 14px; }
.wl-count { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.wl-act { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.wl-act .btn { min-height: 42px; padding: 8px 18px; }
.wl-done .wl-thumb, .wl-done .wl-info { opacity: .55; }
.wl-gifted { padding: 6px 12px; border-radius: 99px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 800; white-space: nowrap; }
.wl-note { font-size: 13px; color: var(--ink-soft); font-weight: 700; }
.wl-qty { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.wl-qty select { height: 38px; padding: 0 8px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; }
.wl-empty .wl-heart { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--card); color: var(--clay); }
.wl-empty .wl-heart svg { width: 30px; height: 30px; }
.wl-create, .wl-mine, .gl-owner { padding: 22px; margin-bottom: 20px; }
.wl-create h2, .wl-mine h2 { margin: 0 0 6px; font-size: 24px; }
.wl-create > p { margin: 0 0 16px; color: var(--ink-soft); }
.wl-mine a { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.wl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 20px; }
.wl-share b { margin-right: 6px; }
.wl-new { padding: 18px 20px 4px; margin-bottom: 22px; border-radius: var(--r); background: var(--clay-soft, #fbe3da); }
.wl-new .wl-share { margin-bottom: 14px; }
.gl-head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.gl-badge { display: grid; place-items: center; flex: none; width: 68px; height: 68px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 34px; }
.gl-by { margin: 0; color: var(--clay); font-weight: 800; font-size: 14px; }
.gl-head h1 { margin: 2px 0; }
.gl-when { margin: 0; color: var(--ink-soft); font-weight: 700; }
.gl-owner { display: grid; gap: 14px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.gl-owner p { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; }
.gl-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.gl-buttons .link-x { margin: 0; }

/* checkout: gift banner and the optional children's birthdays */
.gift-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 0 16px; border-radius: 14px; background: var(--paper); font-weight: 600; }
.gift-banner .link-x { margin: 0; white-space: nowrap; }
.kids { margin: 4px 0 16px; border: 1.5px dashed var(--line); border-radius: 14px; padding: 0 14px; }
.kids > summary { padding: 13px 0; font-weight: 700; cursor: pointer; list-style: none; }
.kids > summary::-webkit-details-marker { display: none; }
.kids[open] > summary { padding-bottom: 4px; }
.kids > .field-help { margin: 0 0 12px; }
.kids > .link-x { margin: 0 0 14px; }

/* thank-you page: picks for the child's current stage */
.picks { margin-top: 44px; text-align: left; }
.picks h2 { margin: 0 0 4px; }
.picks > p { margin: 0 0 18px; color: var(--ink-soft); font-weight: 600; }

@media (max-width: 600px) {
  .wish-btn { width: 34px; height: 34px; top: var(--wish-inset-sm, 14px); right: var(--wish-inset-sm, 14px); }
  .wish-btn svg { width: 18px; height: 18px; }
  .wl-list { padding: 4px 14px; }
  .wl-row { grid-template-columns: 64px minmax(0, 1fr); gap: 6px 12px; }
  .wl-thumb { width: 64px; height: 64px; grid-row: span 2; }
  .wl-act { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 8px 14px; }
  .wl-act .link-x { margin: 0; }
  .gl-head { gap: 14px; }
  .gl-badge { width: 54px; height: 54px; font-size: 27px; border-radius: 18px; }
  .wl-create, .wl-mine, .gl-owner { padding: 18px; }
  .gift-banner { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .wish-pop svg { animation: none; } }

/* assets/account.css */
/* Cub Club: account page, the friend-code ticket, checkout extras and the header button
   (Phase 1 idea 4, with ideas 1–2 on the account). Shared by both storefront designs;
   colours come from their tokens, and each design adds a few touches of its own. */

/* header button */
.acct-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px 0 11px; border-radius: 99px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
.acct-btn svg { width: 22px; height: 22px; flex: none; }
.acct-btn:hover { background: var(--paper-2); }
.acct-btn.is-in::after { content: ""; position: absolute; top: 8px; left: 26px; width: 9px; height: 9px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 2px var(--card); }
.acct-btn.icon-btn { padding: 0; width: 44px; justify-content: center; }
.acct-btn.icon-btn .acct-label { display: none; }
@media (max-width: 900px) { .acct-btn { width: 44px; padding: 0; justify-content: center; } .acct-btn .acct-label { display: none; } .acct-btn.is-in::after { left: 25px; } }

/* a friend's invite, shown once under the header */
.invite-ribbon { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 44px 10px 16px; position: relative; background: var(--honey-soft); color: var(--ink); font-weight: 600; font-size: 15px; text-align: center; }
.invite-ribbon .ir-gift { font-size: 20px; }
.invite-ribbon button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 22px; cursor: pointer; }

/* ---------- the ticket: your friend code ---------- */
.ticket { --notch: 13px; display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 4px 0 18px; border-radius: 22px; background: var(--honey-soft); color: var(--ink);
  -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub, 172px)) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - var(--stub, 172px)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub, 172px)) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - var(--stub, 172px)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.ticket-main { padding: 20px 22px; min-width: 0; }
.ticket-kicker { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.ticket-code { margin: 4px 0 6px; font: 400 clamp(34px, 6vw, 48px)/1 var(--display); letter-spacing: .06em; word-break: break-all; }
.ticket-fine { margin: 0; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.ticket-stub { display: grid; align-content: center; gap: 8px; width: var(--stub, 172px); box-sizing: border-box; padding: 16px 20px; border-left: 2px dashed color-mix(in srgb, var(--ink) 22%, transparent); }
.ticket-stub .btn { justify-content: center; min-height: 40px; padding: 8px 14px; font-size: 14px; }

/* ---------- signed out: the gate ---------- */
.cc-gate { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; max-width: 1060px; margin: 0 auto; border-radius: calc(var(--r) + 6px); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.cc-pitch { position: relative; padding: clamp(28px, 4vw, 52px); background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.cc-pitch::before, .cc-pitch::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.cc-pitch::before { width: 230px; height: 230px; right: -90px; top: -100px; background: var(--clay); opacity: .9; }
.cc-pitch::after { width: 170px; height: 170px; left: -70px; bottom: -80px; background: var(--honey); opacity: .9; }
.cc-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .14); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.cc-pitch h1 { margin: 0 0 10px; color: #fff; font: 400 clamp(32px, 4.4vw, 50px)/1.05 var(--display); max-width: 12ch; }
.cc-lead { margin: 0 0 26px; opacity: .85; font-weight: 600; }
.cc-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 420px; }
.cc-perks li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: center; }
.cc-perks b { display: block; font-size: 16px; }
.cc-perks li > div > span { display: block; margin-top: 2px; opacity: .78; font-size: 14px; line-height: 1.45; }
.cc-perk-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; flex: none; }
.cc-perk-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cc-perk-ic.is-gift { background: var(--honey-soft); color: var(--clay); }
.cc-perk-ic.is-cake { background: var(--montessori-bg); color: var(--montessori); }
.cc-perk-ic.is-heart { background: var(--clay-soft); color: var(--clay); }
.cc-perk-ic.is-box { background: var(--books-bg); color: var(--books); }
.cc-pitch-cub { position: absolute; right: 18px; bottom: -26px; width: 150px; height: auto; transform: rotate(-8deg); }
.cc-auth { padding: clamp(24px, 4vw, 48px); align-self: center; }
.cc-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; margin-bottom: 22px; border-radius: 99px; background: var(--paper-2); }
.cc-tabs button { height: 44px; border: 0; border-radius: 99px; background: transparent; color: var(--ink-soft); font: 700 15px var(--body); cursor: pointer; }
.cc-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.cc-err { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--clay-soft); color: var(--clay); font-weight: 700; font-size: 14px; }
.cc-err[hidden] { display: none; }
.cc-fine, .cc-forgot { margin: 14px 0 0; color: var(--ink-soft); font-size: 13px; font-weight: 600; text-align: center; }
.cc-forgot a, .cc-fine a { color: var(--clay); font-weight: 800; }
.cc-reset { max-width: 440px; margin: 0 auto; text-align: center; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.cc-reset h1 { margin: 6px 0; font-size: 30px; }
.cc-reset .cc-lead { opacity: 1; color: var(--ink-soft); margin-bottom: 18px; }
.cc-reset .field { text-align: left; }

/* ---------- signed in ---------- */
.cc-wrap { max-width: 1120px; }
.cc-member { position: relative; overflow: hidden; isolation: isolate; padding: clamp(22px, 3.4vw, 34px); border-radius: calc(var(--r) + 4px); background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.cc-member::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--clay) 80%, transparent) 0 120px, transparent 121px), radial-gradient(circle at 70% 120%, color-mix(in srgb, var(--honey) 55%, transparent) 0 150px, transparent 151px), radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.4px) 0 0 / 16px 16px; }
.cc-mc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cc-mc-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.cc-mc-brand img { padding: 4px; border-radius: 12px; background: #fff; }
.cc-mc-since { padding: 5px 12px; border-radius: 99px; background: rgba(0, 0, 0, .28); color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 600; }
.cc-mc-name { margin: 22px 0 18px; color: #fff; font: 400 clamp(34px, 5vw, 56px)/1 var(--display); }
.cc-mc-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-mc-stats a { display: grid; min-width: 110px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
.cc-mc-stats a:hover { background: rgba(255, 255, 255, .2); }
.cc-mc-stats b { font: 400 26px/1.1 var(--display); }
.cc-mc-stats span { opacity: .78; font-size: 13px; font-weight: 600; }
.cc-mc-code { position: absolute; right: clamp(20px, 3vw, 34px); bottom: clamp(20px, 3vw, 30px); padding: 8px 14px; border: 1.5px dashed rgba(255, 255, 255, .5); border-radius: 12px; font: 400 20px var(--display); letter-spacing: .08em; }
.cc-jump { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; overflow-x: auto; margin: 18px 0; padding: 8px 2px; background: var(--paper); scrollbar-width: none; }
.cc-jump::-webkit-scrollbar { display: none; }
.cc-jump a { flex: none; padding: 9px 16px; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.cc-jump a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cc-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.cc-refer, .cc-orders, .cc-details { grid-column: 1 / -1; }
.cc-panel { scroll-margin-top: 70px; padding: clamp(18px, 2.6vw, 28px); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-sm); }
.cc-panel > header { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.cc-panel h2 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); }
.cc-panel header p { margin: 3px 0 0; color: var(--ink-soft); font-weight: 600; font-size: 14px; }
.cc-panel h3 { margin: 18px 0 8px; font-size: 16px; }
.cc-muted { margin: 0 0 10px; color: var(--ink-soft); font-weight: 600; font-size: 14px; }
.cc-refer { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 28px; }
.cc-refer > header, .cc-refer > .ticket { grid-column: 1 / -1; }
.cc-steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.cc-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; font-weight: 600; }
.cc-steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2); font: 400 17px var(--display); }
.cc-credit { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--paper-2); font-size: 15px; }
.cc-friend-box h3 { margin-top: 0; }
.cc-friends { list-style: none; margin: 0; padding: 0; }
.cc-friends li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cc-friends li:last-child { border-bottom: 0; }
.cc-friends small { display: block; color: var(--ink-soft); font-size: 12px; }
.cc-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--honey-soft); color: var(--clay); font-weight: 800; }
.cc-pill { padding: 5px 11px; border-radius: 99px; background: var(--honey-soft); color: var(--ink); font-size: 12px; font-weight: 800; white-space: nowrap; }
.cc-pill.is-done { background: var(--montessori-bg); color: var(--montessori); }
.cc-pill.is-off { background: var(--paper-2); color: var(--ink-soft); }

/* little ones: a ring that fills as the next birthday comes round */
.cc-kid-list { display: grid; gap: 12px; }
.cc-kid { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 14px; border-radius: 20px; background: var(--paper-2); }
.cc-kid.is-soon { background: color-mix(in srgb, var(--kid) 14%, var(--card)); }
.cc-kid-ring { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--kid) calc(var(--p) * 1%), color-mix(in srgb, var(--kid) 18%, transparent) 0); }
.cc-kid-ring span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--card); color: var(--kid); font: 400 24px var(--display); }
.cc-kid-info h3 { margin: 0; font-size: 18px; }
.cc-kid-info p { margin: 2px 0 0; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.cc-kid-info .cc-kid-bday { color: var(--ink); }
.cc-kid-act { grid-column: 2; display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cc-kid-act .btn { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.icon-mini { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--card); color: var(--ink); cursor: pointer; }
.icon-mini svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cc-kid-form { margin-top: 14px; padding: 16px; border-radius: 18px; border: 1.5px dashed var(--line); }
.cc-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.cc-btns .link-x { margin: 0; }
.cc-add { margin-top: 14px; }

/* hearts and gift lists */
.cc-heart-strip { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.cc-heart-strip a, .cc-heart-more { display: block; width: 72px; height: 72px; border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.cc-heart-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-heart-more { display: grid; place-items: center; font-weight: 800; color: var(--ink-soft); }
.cc-row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.cc-empty-line { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 14px; align-items: center; }
.cc-empty-line .cc-perk-ic { display: none; }   /* the panel header already shows it */
.cc-empty-line p { margin: 0; color: var(--ink-soft); font-weight: 600; font-size: 14px; }
.cc-empty-line .btn { justify-self: start; margin-top: 6px; }
.cc-list { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.cc-list-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper-2); font-size: 20px; }
.cc-list-body { display: grid; gap: 3px; }
.cc-list-body small { color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.cc-bar { display: block; height: 7px; margin-top: 3px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.cc-bar span { display: block; height: 100%; border-radius: inherit; background: var(--montessori); }

/* orders */
.cc-order { padding: 14px 0; border-top: 1px solid var(--line); }
.cc-order:first-of-type { border-top: 0; padding-top: 0; }
.cc-order.is-cancelled { opacity: .6; }
.cc-order-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cc-order-items { margin: 4px 0 8px; color: var(--ink-soft); font-size: 14px; }
.cc-dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 0 0 8px; padding: 0; list-style: none; }
.cc-dots li { height: 6px; border-radius: 99px; background: var(--paper-2); }
.cc-dots li.on { background: var(--montessori); }
.cc-order-foot { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.cc-order-foot span { flex: 1; }
.cc-order-foot b { color: var(--ink); }
.cc-order-foot a { color: var(--clay); font-weight: 800; }
.cc-claim { margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed var(--line); }
.cc-claim > summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.cc-claim[open] > summary { margin-bottom: 8px; }
.cc-inline { display: flex; gap: 8px; margin-bottom: 8px; }
.cc-inline input { flex: 1; min-width: 0; font: 500 15px var(--body); color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 14px; text-transform: uppercase; }
.cc-details form { max-width: 720px; }
.cc-details input[readonly] { background: var(--paper-2); color: var(--ink-soft); }
.cc-details .field-help { margin: -8px 0 14px; }
.cc-out { display: block; margin: 18px 0 0; }

/* ---------- checkout ---------- */
.club-strip { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 10px 14px; border-radius: 14px; background: var(--honey-soft); font-size: 14px; font-weight: 600; }
.club-strip.is-out { justify-content: space-between; background: var(--paper-2); }
.club-strip a { color: var(--clay); font-weight: 800; }
.acct-dot svg { display: block; width: 22px; height: 22px; color: var(--clay); }
.promo { display: grid; gap: 10px; margin: 0 0 14px; }
.promo-box { border: 1.5px dashed var(--line); border-radius: 14px; padding: 0 14px; }
.promo-box > summary { padding: 12px 0; font-weight: 700; cursor: pointer; list-style: none; }
.promo-box > summary::-webkit-details-marker { display: none; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; font: 600 15px var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.promo-msg { min-height: 1em; margin: 6px 0 12px; color: var(--clay); font-size: 13px; font-weight: 700; }
.promo-on { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: var(--montessori-bg); font-size: 14px; font-weight: 600; }
.promo-on[hidden], .promo-box[hidden] { display: none; }
.promo-on .link-x { margin: 0 0 0 auto; }
.promo-tag { padding: 4px 10px; border-radius: 8px; border: 1.5px dashed currentColor; color: var(--montessori); font-weight: 800; letter-spacing: .06em; }
.credit-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--honey-soft); font-size: 14px; font-weight: 600; cursor: pointer; }
.credit-opt input { width: 20px; height: 20px; accent-color: var(--clay); }
.summary-row.saving span:last-child { color: var(--montessori); font-weight: 800; }

/* thank-you page */
.club-after { max-width: 720px; margin: 36px auto 0; text-align: left; }
.club-after h2 { margin: 0 0 12px; text-align: center; }
.club-join { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 20px; align-items: start; padding: 24px; border-radius: var(--r); background: var(--ink); color: #fff; }
.club-join .cj-cub { width: 88px; height: auto; padding: 6px; border-radius: 26px; background: #fff; transform: rotate(-6deg); }
.club-join .cj-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.club-join h2 { margin: 2px 0 6px; color: #fff; text-align: left; font-size: clamp(22px, 3vw, 28px); }
.club-join p { margin: 0 0 14px; opacity: .85; font-size: 14px; }
.club-join .cj-row { display: flex; gap: 10px; align-items: flex-end; }
.club-join .field { flex: 1; margin: 0; }
.club-join .field label { color: #fff; }
.club-join .btn { flex: none; min-height: 48px; background: var(--honey); color: var(--ink); }
.club-join .cj-fine { margin: 10px 0 0; font-size: 13px; }
.club-join .cj-err { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .14); opacity: 1; font-weight: 700; }
.club-join .cj-err a { color: #fff; }

@media (max-width: 860px) {
  .cc-gate { grid-template-columns: 1fr; }
  .cc-pitch { padding-bottom: 120px; }
  .cc-grid, .cc-refer { grid-template-columns: 1fr; }
  .cc-friend-box { margin-top: 20px; }
}
@media (max-width: 600px) {
  .ticket { --stub: 0px; grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .ticket-stub { width: auto; grid-template-columns: repeat(3, 1fr); padding: 0 14px 16px; border-left: 0; }
  .ticket-stub .btn { padding: 8px 6px; }
  .ticket-main { padding-bottom: 14px; }
  .cc-mc-code { position: static; display: inline-block; margin-top: 16px; }
  .cc-mc-stats a { min-width: 0; flex: 1; padding: 10px 12px; }
  .cc-mc-stats b { font-size: 22px; }
  .cc-kid { grid-template-columns: 54px minmax(0, 1fr); }
  .cc-kid-ring { width: 54px; height: 54px; }
  .cc-kid-ring span { width: 42px; height: 42px; font-size: 20px; }
  .club-join { grid-template-columns: 1fr; text-align: left; }
  .club-join .cj-cub { width: 64px; }
  .club-join .cj-row { flex-direction: column; align-items: stretch; }
  .invite-ribbon { font-size: 14px; justify-content: flex-start; text-align: left; }
}
.cc-rewards-link { margin: 14px 0 0; font-weight: 700; } .cc-rewards-link a { color: var(--clay); }
.cc-rewards-link { margin: 14px 0 0; font-weight: 700; } .cc-rewards-link a { color: var(--clay); }

/* assets/designs/playroom.css */
/* ============================================================
   Playroom — storefront design (loads after theme.css, store.css
   and basket.css through /design.php). Soft colour blocks, Gloock
   headlines over Outfit, a gift finder first.
   ============================================================ */
:root {
  --peach: #ffd9c4; --mint: #cbebdc; --powder: #cfe0f8; --lemon: #fff0b0; --lilac: #e6daf8; --coral: #f26a4b; --coral-text: #c23e24;
  --paper: #fffdf8; --paper-2: #f3eefb; --card: #ffffff; --ink: #2b1e3f; --ink-soft: #6e6480; --line: rgba(43, 30, 63, .12);
  --honey: #f26a4b; --honey-deep: #a5311c; --honey-soft: #ffe4d8; --clay: #a5311c; --clay-soft: #ffe4d8;
  --toys: #a5311c; --toys-bg: var(--peach); --clothes: #3c6ea8; --clothes-bg: var(--powder);
  --books: #2f7a5a; --books-bg: var(--mint); --montessori: #7a52b3; --montessori-bg: var(--lilac); --sky: #3c6ea8;
  --display: "Gloock", Georgia, serif; --body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arch: 28px; --r: 28px; --pad: clamp(16px, 3vw, 44px);
  --shadow: 0 24px 50px -24px rgba(43, 30, 63, .35); --shadow-sm: 0 10px 24px -16px rgba(43, 30, 63, .35);
  --bk-bg: #fffdf8; --bk-ink: #2b1e3f; --bk-muted: #6e6480; --bk-line: rgba(43, 30, 63, .12); --bk-accent: #2b1e3f; --bk-accent-ink: #fff;
  --bk-tile: #f3eefb; --bk-good: #2f9a6a; --bk-radius: 24px; --bk-display: "Gloock", Georgia, serif; --bk-shadow: 0 30px 80px rgba(43, 30, 63, .22);
}
body { background: var(--paper); background-image: none; font-size: 16px; line-height: 1.5; }
h1, h2, h3 { font-variation-settings: normal; font-weight: 400; letter-spacing: -.02em; }
h1 em, h2 em { font-style: italic; color: var(--coral-text); padding: 0 .06em 0 .02em; }
.pr-signoff em { font-style: italic; color: var(--coral); padding: 0 .06em 0 .02em; }
.pr-hero h1 em, .pr-hero h2 em { color: var(--honey-deep); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.pr-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-deep); }
.eyebrow { color: var(--honey-deep); font-weight: 600; }

/* shared parts in the Playroom voice */
.btn { font-weight: 600; }
.btn-primary { background: var(--ink); box-shadow: none; }
.btn-primary:hover { background: var(--honey-deep); }
.btn-buy { background: var(--coral-text); color: #fff; box-shadow: none; }
.btn-ghost { box-shadow: none; background: var(--paper-2); }
.chip { border: 0; background: var(--paper-2); font-weight: 500; }
a.chip:hover { background: var(--lilac); }
.arch, .thumb-wrap { border-radius: var(--r); }
.arch--dashed::after, .peek, .peeking.empty-cub { display: none; }
.price { font-family: var(--body); font-weight: 600; }

/* ---------- header ---------- */
.pr-announce { background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; }
.pr-announce-in { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 7px var(--pad); text-align: center; }
.pr-announce-link { color: var(--lemon); font-weight: 700; text-decoration: none; white-space: nowrap; }
.pr-announce-link:hover { text-decoration: underline; }
.pr-ann-short { display: none; }
.site-header.pr-head { container: prhead / inline-size; background: rgba(255, 253, 248, .94); border-bottom: 0; }
.pr-bar { display: flex; align-items: center; gap: 16px; padding: 10px var(--pad); position: relative; }
.pr-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -.03em; white-space: nowrap; flex: none; }
.pr-head .nav { margin: 0; flex-wrap: nowrap; }
.pr-head .nav a { font-weight: 500; color: var(--ink); white-space: nowrap; padding: 8px 12px; }
.pr-head .nav a.nav-extra { display: none; }
.pr-head .nav a:hover, .pr-head .nav a.active { background: var(--lilac); }
.pr-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.pr-search-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; min-width: 42px; padding: 0 14px; border: 0; border-radius: 99px; background: var(--paper-2); color: var(--ink); font: 600 14px var(--body); cursor: pointer; white-space: nowrap; }
.pr-search-btn:hover { background: var(--lilac); }
.pr-search-btn svg { width: 18px; height: 18px; flex: none; }
.pr-finder { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 99px; background: var(--lemon); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .2s; }
.pr-finder:hover { transform: rotate(-2deg) scale(1.03); }
.pr-finder span { color: var(--coral); }
.pr-head .lang-switch { background: var(--paper-2); border: 0; }
.pr-bag { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 15px 0 13px; border-radius: 99px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
.pr-bag svg { width: 20px; height: 20px; }
.pr-bag .cart-count { position: static; display: inline; min-width: 0; height: auto; padding: 0; border: 0; background: none; color: #fff; font: 600 15px var(--body); }
.pr-bag.bk-bump { animation: pr-bump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pr-bump { 35% { transform: scale(1.12); } }

/* quick category strip & bundle deal spotlight */
/* Top picks: products in the first screen (v0.45.0) */
.pr-top { padding: 14px var(--pad) 0; }
.pr-top-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.pr-top-head h1 { margin: 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.pr-top-head h1 em { color: var(--coral-text); }
.pr-top .pr-qcats { padding: 0; min-width: 0; max-width: 100%; }
.pr-top-foot { display: flex; justify-content: center; padding-top: 22px; }
.pr-top-foot[hidden] { display: none; }
button.pr-link-pill { border: 0; font-family: var(--body); cursor: pointer; }
/* 3 columns (721–1180 px, or the docked basket): 6 picks make two full rows */
@media (min-width: 721px) and (max-width: 1180px) { .pr-top-grid > :nth-child(n+7) { display: none; } }
@media (min-width: 721px) { body.bk-docked .pr-top-grid > :nth-child(n+7) { display: none; } }
.pr-qcats { display: flex; gap: 8px; padding: 14px var(--pad) 0; overflow-x: auto; scrollbar-width: none; }
.pr-qcats::-webkit-scrollbar { display: none; }
.pr-qcat { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border: 0; border-radius: 99px; background: var(--paper-2); color: var(--ink); font: 600 14px var(--body); cursor: pointer; transition: transform .15s, background .15s; }
.pr-qcat:hover { background: var(--lilac); transform: translateY(-1px); }
.pr-qcat[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pr-qcat[aria-pressed="true"] span { background: rgba(255, 255, 255, .18); color: #fff; }
.pr-qcat-deal { background: var(--lemon); }
.pr-qcat-deal i { font-style: normal; color: var(--coral); }
.pr-qcat:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.pr-qcat span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #fff; color: var(--ink-soft); font-size: 12px; font-weight: 700; }

.pr-deals-sec { padding: 40px var(--pad) 0; scroll-margin-top: 70px; }
.pr-deals-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.pr-deals-head h2 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; }
.pr-deals-head h2 em { color: var(--coral-text); }
.pr-deals-all { font-weight: 700; color: var(--honey-deep); text-decoration: none; font-size: 15px; }
.pr-deals-all:hover { text-decoration: underline; }
.pr-link-pill { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 99px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.pr-link-pill:hover { background: var(--coral); }
.pr-deals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.pr-deal-card { display: grid; grid-template-columns: minmax(0, 1.25fr) auto; gap: 16px; align-items: center; padding: 14px 20px; border-radius: 26px; background: var(--c, var(--lemon)); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .22s cubic-bezier(.3, 1.6, .5, 1); }
.pr-deal-card:hover { transform: translateY(-4px); }
.pr-deal-badge { display: inline-block; padding: 3px 11px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.pr-deal-copy h3 { margin: 0 0 2px; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.1; }
.pr-deal-copy p { margin: 0 0 6px; color: #4a3f5c; font-size: 14.5px; }
.pr-deal-copy b { color: var(--honey-deep); }
.pr-deal-go { font-weight: 700; font-size: 15px; }
.pr-deal-fan { display: flex; align-items: center; padding-right: 4px; }
.pr-deal-fan img { width: 68px; height: 68px; object-fit: cover; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 10px 24px -10px rgba(43, 30, 63, .38); background: #fff; }
.pr-deal-fan img:nth-child(2) { margin-left: -26px; transform: rotate(5deg) translateY(-4px); }
.pr-deal-fan img:nth-child(3) { margin-left: -26px; transform: rotate(-4deg) translateY(4px); }

/* ---------- home: hero = gift finder ---------- */
.pr-hero { position: relative; margin: 8px var(--pad) 0; padding: clamp(36px, 6vw, 88px) clamp(22px, 5vw, 80px); border-radius: 40px; background: var(--lilac); overflow: hidden; }
.pr-hero-in { position: relative; z-index: 1; max-width: 1020px; }
.pr-hero h1, .pr-hero h2 { margin: 0 0 28px; font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -.025em; max-width: 14em; }
.pr-hero-compact { margin: 72px var(--pad) 0; padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 56px); border-radius: 36px; scroll-margin-top: 70px; }
.pr-hero-compact h2 { font-size: clamp(30px, 3.6vw, 52px); margin-bottom: 18px; max-width: 16em; }
.pr-hero-compact .pr-madlib { font-size: clamp(18px, 1.9vw, 25px); }
.pr-hero-compact .pr-go { height: 50px; font-size: 17px; }
.pr-hero-compact .pr-shapes .s1 { width: 200px; height: 200px; right: -50px; top: -70px; }
.pr-hero-compact .pr-shapes img { width: 84px; top: 30px; right: 40px; }
.pr-hero-compact .pr-shapes .s2, .pr-hero-compact .pr-shapes .s3 { display: none; }
.pr-madlib { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 12px; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.5; font-weight: 300; }
.pr-pick select { appearance: none; -webkit-appearance: none; padding: 2px 40px 2px 16px; border: 0; border-radius: 99px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1.5 1.5l5.5 5.5 5.5-5.5' fill='none' stroke='%23f26a4b' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; box-shadow: 0 2px 0 rgba(43, 30, 63, .08); max-width: 100%; }
.pr-go { height: 58px; padding: 0 30px; border: 0; border-radius: 99px; background: var(--coral-text); color: #fff; font: 600 19px var(--body); cursor: pointer; margin-left: 4px; transition: transform .2s, background .2s; }
.pr-go:hover { background: var(--ink); transform: translateX(4px); }
.pr-shapes i { position: absolute; display: block; }
.pr-shapes .s1 { width: 280px; height: 280px; border-radius: 50%; background: var(--peach); right: -60px; top: -80px; animation: pr-drift 14s ease-in-out infinite; }
.pr-shapes .s2 { width: 200px; height: 100px; border-radius: 0 0 100px 100px; background: var(--mint); right: 160px; bottom: -10px; animation: pr-drift 11s ease-in-out infinite reverse; }
.pr-shapes .s3 { width: 120px; height: 120px; border-radius: 30px; background: var(--lemon); right: 40px; bottom: 90px; transform: rotate(18deg); animation: pr-spin 20s linear infinite; }
.pr-shapes img { position: absolute; right: 64px; top: 52px; width: 110px; transform: rotate(10deg); animation: pr-peek 6s ease-in-out infinite; }
@keyframes pr-drift { 50% { translate: -20px 16px; } }
@keyframes pr-spin { to { transform: rotate(378deg); } }
@keyframes pr-peek { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(-4deg) translateY(-8px); } }

.pr-results { padding: 48px var(--pad) 8px; }
.pr-results-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.pr-results h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; }
.pr-results .card-prod { animation: pr-in .6s cubic-bezier(.2, .8, .2, 1) backwards; }
.pr-results .card-prod:nth-child(2) { animation-delay: 60ms; } .pr-results .card-prod:nth-child(3) { animation-delay: 120ms; } .pr-results .card-prod:nth-child(4) { animation-delay: 180ms; }
@keyframes pr-in { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.pr-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font: 600 16px var(--body); cursor: pointer; }
.pr-btn:hover { background: var(--coral); }

/* ---------- home: sections ---------- */
.pr-sec { padding: 72px var(--pad) 0; scroll-margin-top: 70px; }
.pr-sec-head { margin-bottom: 26px; }
.pr-sec-head h2, .pr-shop .browse-head h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1; letter-spacing: -.025em; }

.pr-tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-bottom: 26px; }
.pr-tabs::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 21px; height: 3px; background: var(--line); border-radius: 3px; }
.pr-tab { position: relative; display: grid; justify-items: center; gap: 6px; padding: 0 6px; border: 0; background: none; cursor: pointer; text-align: center; font: inherit; color: inherit; }
.pr-tab i { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: #fff; border: 3px solid var(--line); font-style: normal; font-weight: 700; font-size: 14px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .2s, border-color .2s; }
.pr-tab b { font-size: 17px; }
.pr-tab small { color: var(--ink-soft); font-size: 14px; }
.pr-tab[aria-selected="true"] i { background: var(--c); border-color: var(--ink); transform: scale(1.18); }
.pr-panel { display: grid; grid-template-columns: minmax(240px, 1fr) 2.4fr; gap: 20px; padding: 20px; border-radius: 34px; background: var(--c); transition: background .4s; }
.pr-stage-copy { padding: 18px 14px; }
.pr-stage-copy h3 { margin: 0 0 10px; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; }
.pr-stage-copy p { margin: 0 0 16px; color: #4a3f5c; }
.pr-stage-copy ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 6px; font-weight: 500; }
.pr-stage-copy li::before { content: "✦ "; color: var(--coral); }
.pr-stage-copy button { border: 0; background: none; padding: 0; font: 600 16px var(--body); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pr-panel .prod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pr-panel .thumb-wrap { background: rgba(255, 255, 255, .7); }
.pr-soon { align-self: center; margin: 0; padding: 30px; border-radius: 26px; background: rgba(255, 255, 255, .55); font-size: 18px; color: #4a3f5c; }

.pr-colls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pr-coll { display: flex; flex-direction: column; gap: 6px; min-height: 220px; padding: 26px; border-radius: 32px; background: var(--c); text-decoration: none; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.pr-coll:hover { transform: translateY(-6px) rotate(-1deg); }
.pr-coll-icon { font-size: 40px; line-height: 1; margin-bottom: 8px; }
.pr-coll h3 { margin: 0; font-size: 30px; line-height: 1.05; }
.pr-coll p { margin: 0; color: #4a3f5c; }
.pr-coll b { margin-top: auto; padding-top: 14px; font-weight: 600; }

.pr-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 80px var(--pad) 0; }
.pr-promise > * { padding: 26px; border-radius: 28px; background: var(--paper-2); display: grid; gap: 4px; text-decoration: none; }
.pr-promise b { font-size: 19px; font-weight: 600; }
.pr-promise span { color: var(--ink-soft); }
.pr-promise a:hover { background: var(--lilac); }

/* ---------- shop-all grid ---------- */
.browse-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.browse-head h2 { font-size: clamp(30px, 4vw, 48px); }
.browse-count { margin: 6px 0 0; color: var(--ink-soft); }
.toolbar { margin: 0; align-items: center; flex-wrap: wrap; }
.search { border: 0; background: var(--paper-2); border-radius: 99px; height: 46px; padding: 0 18px; min-width: min(300px, 80vw); }
.sort select { height: 46px; padding: 0 36px 0 16px; border: 0; border-radius: 99px; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232b1e3f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; -webkit-appearance: none; font: 600 14px var(--body); color: var(--ink); cursor: pointer; }
.chips { margin-bottom: 24px; }
.chips .chip { height: 40px; padding: 0 16px; border: 0; border-radius: 99px; background: var(--paper-2); font: 500 14.5px var(--body); color: var(--ink); cursor: pointer; transition: transform .2s; }
.chips .chip:hover { transform: translateY(-2px); background: var(--lilac); }
.chips .chip.active { background: var(--ink); color: #fff; border: 0; }
.chip-sep { width: 1px; background: var(--line); margin: 4px 6px; }
.age-note { display: flex; gap: 10px; align-items: center; margin: -10px 0 18px; font-weight: 500; }
.age-note button, .empty .btn-ghost { border: 0; border-radius: 99px; padding: 6px 14px; background: var(--paper-2); font: inherit; cursor: pointer; }
.prod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 16px; }
body.bk-docked .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.bk-docked .pr-panel .prod-grid > :nth-child(4) { display: none; }
.pager button { border: 0; background: var(--paper-2); font-family: var(--body); }
.pager button.active { background: var(--ink); }

/* ---------- product card ---------- */
.card-prod { container-type: inline-size; background: none; box-shadow: none; padding: 0; border-radius: var(--r); }
.card-prod:hover { transform: none; box-shadow: none; }
.card-prod .thumb-wrap { overflow: hidden; }
.card-prod .thumb, .card-prod .card-picture img { mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.card-prod img[src*="/assets/ph/"] { object-fit: contain; padding: 18%; }
.card-prod:hover .thumb, .card-prod:hover .card-picture img { transform: scale(1.06); }
.card-prod .badge { top: 14px; left: 14px; background: #fff; color: var(--ink); font-weight: 600; font-size: 12.5px; padding: 5px 12px; }
.card-prod .badge.preorder { background: var(--ink); color: #fff; }
.card-prod .badge.out { background: rgba(255, 255, 255, .85); color: var(--ink-soft); }
.age-pill, .card-prod .pcat, .stepper { display: none; }
.card-prod .pbody { padding: 12px 6px 0; }
.card-prod .pname { margin-top: 0 !important; font-weight: 600; font-size: 16px; line-height: 1.28; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-prod .pname:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-prod .page { font-size: 13.5px; }
.card-prod .prow { border: 0; padding-top: 8px; margin-top: auto; }
.card-prod .price { font-size: 17px; }
.card-act { position: absolute; z-index: 2; right: 12px; top: calc(100cqw - 60px); }
.add-mini { display: flex; align-items: center; justify-content: center; gap: 5px; width: 48px; height: 48px; border-radius: 99px; background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(43, 30, 63, .25); overflow: hidden; white-space: nowrap; transition: width .35s cubic-bezier(.2, .8, .2, 1), background .2s; }
.add-mini svg { width: 20px; height: 20px; flex: none; }
.add-mini:hover { background: var(--coral); }
.add-label { display: none; font: 600 14px var(--body); }
.add-qty { display: none; font: 700 13.5px var(--body); }
.card-prod:hover .add-mini { width: auto; padding: 0 16px 0 13px; }
.card-prod:hover .add-label { display: inline; }
.add-check { display: none; }
[data-in-cart] .add-mini { background: var(--bk-good); width: auto; min-width: 48px; padding: 0 12px; }
[data-in-cart] .add-plus { display: none; }
[data-in-cart] .add-check, [data-in-cart] .add-qty { display: inline-block; }
[data-in-cart]:hover .add-label { display: none; }
/* server-rendered category / collection cards */
.category-products .card-prod .prow { justify-content: flex-start; gap: 10px; }

/* ---------- other pages ---------- */
.site-header + main .section:first-child, main > .section:first-child { padding-top: 32px; }
.pd-hero { border-radius: 32px; background: var(--paper-2); }
.pd-info h1, .seo-product-summary article h1 { font-size: clamp(34px, 4.4vw, 54px); }
.pd-price .price { font-size: 30px; }
.pd-trust, .panel, .contact-form, .faq-item, .guide-card, .guide-sidebar, .guide-toc, .guide-pick { box-shadow: none; background: var(--paper-2); }
.panel { border-radius: 30px; }
.qty, .field input, .field select, .field textarea { background: #fff; }
.cart-thumb, .cart-picture, .cart-picture img { border-radius: 16px; }
.summary-row.total { font-family: var(--display); font-weight: 400; }
.fd-bar span, .bk-bar span { background: linear-gradient(90deg, var(--coral), #f7a072); }
.category-head h1, .guide-hub-head h1, .prose h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1; }
.category-count { box-shadow: none; background: var(--paper-2); }
.error-code { font-family: var(--display); font-weight: 400; color: var(--coral); }
.toast { background: var(--ink); }

/* ---------- basket ---------- */
.bk { border-left: 0; box-shadow: -20px 0 60px rgba(43, 30, 63, .1); border-radius: 30px 0 0 30px; }
.bk-head h2 { font-size: 28px; font-weight: 400; }
.bk-n { background: var(--coral); }
.bk-line { background: #fff; margin-bottom: 6px; border-bottom: 0; }
.bk-line-img { border-radius: 16px; background: var(--lilac); }
.bk-checkout:hover { background: var(--coral); filter: none; }

/* ---------- footer ---------- */
.site-footer.pr-foot { margin: 80px var(--pad) var(--pad); padding: clamp(32px, 5vw, 64px) 0 28px; border-radius: 40px; background: var(--ink); color: #fff; }
.pr-signoff { margin: 0 0 36px; font-family: var(--display); font-size: clamp(44px, 7vw, 110px); line-height: .95; letter-spacing: -.03em; }
.pr-foot .brand span { font-family: var(--body); font-weight: 700; color: #fff; }
.pr-foot .foot h3 { color: rgba(255, 255, 255, .6); font-weight: 600; }
.pr-foot .foot a:not(.brand), .pr-foot .about p, .pr-foot .foot-bottom, .pr-foot .social a { color: rgba(255, 255, 255, .82); }
.pr-foot .foot a:not(.brand):hover { color: var(--lemon); }
.pr-foot .foot-bottom { border-top-color: rgba(255, 255, 255, .16); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .prod-grid, body.bk-docked .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr-panel .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr-panel .prod-grid > :nth-child(4) { display: none; }
}
@container prhead (max-width: 1260px) {
  .pr-head .nav a { padding: 8px 9px; font-size: 14.5px; }
  .pr-finder { display: none; }
  .pr-search-btn span { display: none; }
  .pr-search-btn { padding: 0; width: 42px; }
}
@container prhead (max-width: 1020px) {
  .pr-head .burger { display: grid; }
  .pr-head .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 8px var(--pad) 14px; background: var(--paper); box-shadow: var(--shadow); }
  .pr-head .nav a.nav-extra { display: block; }
  body.nav-open .pr-head .nav { display: flex; }
}
@container prhead (max-width: 600px) {
  .pr-bar { gap: 6px; padding: 8px 12px; }
  .pr-logo { gap: 6px; font-size: 16px; }
  .pr-logo img { width: 28px; height: 28px; }
  .pr-tools { gap: 5px; }
  .pr-search-btn, .pr-head .burger, .acct-btn.pr-acct { width: 38px; height: 38px; min-width: 38px; }
  .pr-bag { height: 38px; padding: 0 11px; gap: 5px; }
  .pr-bag svg { width: 18px; height: 18px; }
  .pr-head .lang-switch button { padding: 5px 8px; font-size: 12px; }
  .pr-announce-in { font-size: 12px; padding: 6px 12px; gap: 6px 10px; }
  .pr-ann-long, .pr-announce-link { display: none; }
  .pr-ann-short { display: inline; white-space: nowrap; }
}
@container prhead (max-width: 480px) {
  .acct-btn.pr-acct { display: none; }
  .pr-logo { font-size: 15.5px; }
}
@media (max-width: 980px) {
  .pr-panel { grid-template-columns: 1fr; }
  .pr-colls, .pr-promise { grid-template-columns: 1fr; }
  .pr-shapes .s1 { width: 180px; height: 180px; }
  .pr-shapes img { width: 64px; right: 20px; top: 20px; }
  .pr-shapes .s2, .pr-shapes .s3 { display: none; }
}
@media (max-width: 720px) {
  .pr-hero { margin: 4px 12px 0; padding: 28px 20px 30px; border-radius: 28px; }
  .pr-hero .pr-eyebrow { padding-right: 68px; }
  .pr-hero h1, .pr-hero h2 { font-size: clamp(34px, 9.5vw, 44px); padding-right: 0; margin-bottom: 20px; }
  .pr-hero-compact { margin-top: 48px; }
  .pr-hero-compact h2 { font-size: clamp(28px, 8vw, 36px); }
  .pr-top { padding: 10px 12px 0; }
  .pr-top-head { margin-bottom: 14px; gap: 10px; }
  .pr-top-head h1 { font-size: clamp(24px, 7vw, 30px); }
  .pr-top .pr-qcats { margin-right: -12px; padding-right: 12px; }
  .pr-deals-sec { padding: 32px 12px 0; }
  .pr-shapes img, .pr-hero-compact .pr-shapes img { width: 44px; right: 16px; top: 14px; }
  .pr-shapes .s1, .pr-hero-compact .pr-shapes .s1 { width: 112px; height: 112px; right: -34px; top: -44px; }
  .pr-madlib { font-size: 20px; }
  .pr-go { width: 100%; margin: 6px 0 0; height: 52px; }
  .pr-deal-card { grid-template-columns: 1fr; padding: 20px; }
  .pr-deal-fan { order: -1; }
  .pr-deal-fan img { width: 68px; height: 68px; }
  .chip-sep { display: none; }
  .prod-grid, body.bk-docked .prod-grid, .pr-panel .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .pr-panel .prod-grid > :nth-child(4) { display: flex; }
  .pr-tab b { font-size: 14px; }
  .pr-tab small { font-size: 12px; }
  .pr-panel { padding: 12px; border-radius: 26px; }
  .pr-sec { padding-top: 48px; }
  .card-act { right: 8px; top: calc(100cqw - 48px); }
  .add-mini, .card-prod:hover .add-mini { width: 40px; height: 40px; padding: 0; }
  [data-in-cart] .add-mini, [data-in-cart]:hover .add-mini { width: auto; min-width: 40px; padding: 0 10px; }
  .card-prod:hover .add-label { display: none; }
  .card-prod .pname { font-size: 14.5px; }
  .search { min-width: 0; width: 100%; }
  .toolbar { width: 100%; }
  .sort, .sort select { width: 100%; }
  .site-footer.pr-foot { margin: 56px 12px 12px; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .pr-shapes *, .pr-results .card-prod { animation: none; }
}

/* wishlist heart sits on the image's top corner (cards have no padding here) */
.card-prod { --wish-inset: 10px; --wish-inset-sm: 8px; }

/* Cub Club account: soft pastel blocks */
.cc-panel { box-shadow: none; background: var(--paper-2); border-radius: 30px; }
.cc-kid, .cc-credit, .cc-steps li::before, .cc-list-ic, .cc-dots li, .cc-bar { background: #fff; }
.cc-refer { background: var(--peach, var(--paper-2)); }
.cc-kids { background: var(--mint, var(--paper-2)); }
.cc-hearts { background: var(--lilac, var(--paper-2)); }
.cc-orders { background: var(--powder, var(--paper-2)); }
.ticket { background: #fff; }
.cc-tabs { background: var(--lilac); }
.cc-panel > header .cc-perk-ic { background: #fff; }
.cc-member::before { background: radial-gradient(circle at 94% 6%, var(--coral) 0 92px, transparent 93px), radial-gradient(circle at 72% 128%, color-mix(in srgb, var(--lilac) 28%, transparent) 0 150px, transparent 151px), radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.4px) 0 0 / 16px 16px; }
.cc-pitch::before { background: var(--coral); opacity: 1; }
.cc-pitch::after { background: var(--lemon); opacity: .95; }
.cc-perk-ic.is-gift { background: var(--peach); }
.cc-perk-ic.is-heart { background: var(--powder); color: var(--clay); }
.cc-jump a { box-shadow: none; background: var(--paper-2); }
.acct-btn.pr-acct { background: var(--paper-2); }
