/* ════════════════════════════════════════════════════════════════════
   Ayaz's Wardrobe — storefront stylesheet
   One system, mobile-first. Colours come from two owner-editable
   settings (Admin → Settings → Store identity): --brand and --accent.
   boot.js sets them on <html> before first paint; every other tone is
   derived here with color-mix(), so a new brand colour re-themes the
   whole store without touching this file.
   ════════════════════════════════════════════════════════════════════ */

/* ── 1. Tokens ────────────────────────────────────────────────────── */
:root {
  --brand: #0E2F4F;
  --accent: #8B5E34;

  --brand-ink: color-mix(in srgb, var(--brand) 82%, black);
  --brand-soft: color-mix(in srgb, var(--brand) 7%, #FBF4E9);
  --brand-tint: color-mix(in srgb, var(--brand) 14%, #FBF4E9);
  --accent-soft: color-mix(in srgb, var(--accent) 10%, white);

  --paper: #FBF6EE;
  --surface: #FFFFFF;
  --sunk: #F3ECE1;
  --ink: #1F2A26;
  --muted: #5C6762;
  --line: #E8DFD1;
  --line-strong: #D3C7B5;
  --danger: #B23B3B;
  --success: #2E7553;
  --warn-bg: #FBF1DE;
  --warn-ink: #7A5418;

  --font-head: 'Young Serif', 'Taka Symbol', Georgia, 'Baloo Da 2', serif;
  --font-body: 'Nunito', 'Taka Symbol', 'Baloo Da 2', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --pill: 999px;
  --shadow: 0 1px 2px rgb(31 42 38 / .05), 0 4px 14px rgb(31 42 38 / .06);
  --shadow-lg: 0 18px 48px rgb(31 42 38 / .16);

  --container: 1200px;
  --gutter: clamp(1rem, 3vw, 1.5rem);
  --header-h: 64px;
}

/* ── 2. Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font: 400 1rem/1.6 var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
[hidden] { display: none !important; }
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 1.9rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
ul, ol { padding-left: 1.25em; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-tint); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden, .sr-only {
  position: absolute !important; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: .5rem; top: -100%; z-index: 300;
  background: var(--surface); padding: .6rem 1rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.skip-link:focus { top: .5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* ── 3. Buttons, badges, alerts ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .6rem 1.35rem;
  font: 700 .95rem/1.2 var(--font-body);
  border: 1.5px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-secondary { background: var(--brand-soft); color: var(--brand-ink); }
.btn-secondary:hover { background: var(--brand-tint); color: var(--brand-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; border-radius: var(--radius); cursor: pointer; color: inherit;
}
.btn-icon:hover { background: var(--sunk); }

.badge {
  display: inline-block; padding: .2rem .55rem; border-radius: var(--radius-sm);
  font: 700 .72rem/1.3 var(--font-body); letter-spacing: .01em;
}
.badge-sale   { background: var(--accent); color: #fff; }
.badge-out    { background: rgb(31 42 38 / .78); color: #fff; }
.badge-in     { background: var(--brand-soft); color: var(--brand-ink); }
.badge-low    { background: var(--warn-bg); color: var(--warn-ink); }
.badge-status { background: var(--sunk); color: var(--ink); }

.alert { padding: .85rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; font-weight: 700; border: 1px solid transparent; }
.alert-error   { background: #FBEDEC; color: var(--danger); border-color: #F1D2D0; }
.alert-success { background: var(--brand-soft); color: var(--brand-ink); border-color: var(--brand-tint); }
.alert-info    { background: var(--sunk); color: var(--ink); border-color: var(--line); }

/* ── 4. Forms ─────────────────────────────────────────────────────── */
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .35rem; }
.hint { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.error-msg { color: var(--danger); font-size: .85rem; font-weight: 700; margin-top: .25rem; }
.error-msg:empty { display: none; }
.input, select.input, textarea.input {
  width: 100%; min-height: 46px; padding: .65rem .85rem;
  font: 400 1rem var(--font-body); color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: #8C948F; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.input.invalid, .input[aria-invalid="true"] { border-color: var(--danger); }
textarea.input { min-height: 104px; resize: vertical; }
fieldset {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1rem, 2.5vw, 1.4rem); margin: 0 0 1.1rem; background: var(--surface);
}
legend { font: 400 1.15rem var(--font-head); padding: 0 .4rem; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--brand); width: 1.05rem; height: 1.05rem; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.qty button {
  width: 2.6rem; height: 2.6rem; border: 0; background: none; cursor: pointer;
  font: 700 1.1rem var(--font-body); color: var(--ink); border-radius: var(--radius);
}
.qty button:hover { background: var(--sunk); }
.qty input { width: 2.6rem; text-align: center; border: 0; font: 700 1rem var(--font-body); background: transparent; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── 5. Announcement & header ─────────────────────────────────────── */
.announcement {
  background: var(--brand); color: #fff;
  font-size: .85rem; font-weight: 700; text-align: center; padding: .5rem 0;
}
.announcement a { color: inherit; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; gap: .5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; margin-right: auto; min-width: 0; }
.brand:hover { color: var(--ink); text-decoration: none; }
.logo-mark { width: 36px; height: 36px; flex: none; color: var(--brand); }
.logo-img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.footer-logo { width: 96px; height: 96px; object-fit: contain; margin-bottom: .9rem; }
.brand-name { font: 400 1.2rem/1.1 var(--font-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { display: none; }
.nav-link {
  padding: .5rem .7rem; color: var(--ink); font-weight: 700; font-size: .92rem;
  text-decoration: none; white-space: nowrap; border-radius: var(--radius-sm);
}
.nav-link:hover { color: var(--brand); text-decoration: none; background: var(--brand-soft); }
.nav-link[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: .15rem; }
.header-search { display: none; position: relative; align-items: center; }
.header-search input {
  width: 200px; min-height: 40px; padding: .45rem 2.4rem .45rem .85rem;
  font: 400 .92rem var(--font-body); color: var(--ink);
  background: var(--sunk); border: 1.5px solid transparent; border-radius: var(--pill);
}
.header-search input:focus { outline: none; background: var(--surface); border-color: var(--brand); }
.header-search .btn-icon { position: absolute; right: 2px; width: 38px; height: 38px; border-radius: var(--pill); }
.cart-link {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  color: var(--ink); border-radius: var(--radius); text-decoration: none;
}
.cart-link:hover { background: var(--sunk); color: var(--ink); }
.cart-count {
  position: absolute; top: 3px; right: 1px;
  min-width: 1.15rem; height: 1.15rem; padding: 0 .3rem;
  background: var(--accent); color: #fff; border-radius: var(--pill);
  font: 700 .68rem/1.15rem var(--font-body); text-align: center;
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
.nav-toggle { color: var(--ink); }
.lang-toggle {
  min-width: 44px; height: 36px; padding: 0 .6rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--pill); background: var(--surface);
  font: 700 .82rem system-ui, sans-serif; color: var(--ink); cursor: pointer; /* system Bangla glyphs: no 90 KB font for one label */
}
.lang-toggle:hover { border-color: var(--ink); }
.mobile-nav {
  display: none; flex-direction: column; gap: .1rem;
  padding: .5rem var(--gutter) 1rem; border-top: 1px solid var(--line); background: var(--surface);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: .7rem .25rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav .header-search { display: flex; margin: .4rem 0 .6rem; }
.mobile-nav .header-search input { width: 100%; }
@media (min-width: 960px) {
  .main-nav { display: flex; gap: .1rem; margin-inline: auto; }
  .brand { margin-right: 0; }
  .header-bar { gap: 1rem; }
  .header-search { display: flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}
@media (min-width: 960px) and (max-width: 1140px) {
  .header-search input { width: 150px; }
  .nav-link { padding-inline: .5rem; }
}

/* ── 6. Page scaffolding ──────────────────────────────────────────── */
.page-head { margin-block: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 2.5vw, 1.5rem); }
.page-head p { color: var(--muted); margin-top: .4rem; max-width: 60ch; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin: 1rem 0 .5rem; }
.page-head .breadcrumbs { margin-top: 0; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }

.section { padding-block: clamp(1.75rem, 4vw, 3rem); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}
.section-head p { color: var(--muted); margin: .25rem 0 0; }
.section-eyebrow { display: none; }
.see-all { font-weight: 700; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.see-all::after { content: '→'; transition: transform .15s ease; }
.see-all:hover::after { transform: translateX(3px); }

.prose { max-width: 72ch; line-height: 1.75; }
.prose h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.prose h3 { margin: 1.4rem 0 .4rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin-block: .3rem; }
.prose a:not(.btn) { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); }
.prose .btn + .btn { margin-left: .5rem; }
.content-page { padding-bottom: clamp(2rem, 6vw, 4rem); }
.content-page .prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.5rem); }
.content-page .prose:has(.faq-item) { background: none; border: 0; padding: 0; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 2.5vw, 1.4rem); }

/* ── 7. Home: hero ────────────────────────────────────────────────── */
.hero { padding-block: clamp(.75rem, 2.5vw, 1.75rem) 0; }
.hero-inner {
  position: relative; display: grid; overflow: hidden;
  background: #F6EEE2; /* warm cream, matches the logo badge */ border-radius: calc(var(--radius) * 1.6);
}
.hero-copy { padding: clamp(1.4rem, 4vw, 3.5rem); align-self: center; transition: opacity .3s ease; }
.hero-copy.hero-swap { opacity: 0; }
.hero-copy .kicker { display: block; color: var(--brand); font-weight: 700; font-size: .9rem; margin-bottom: .6rem; }
.hero-copy .kicker:empty { display: none; }
.hero-copy h1, .hero-copy h2 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; max-width: 14ch; }
.hero-copy p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.1rem); max-width: 42ch; margin-top: 1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.hero-media { position: relative; min-height: 220px; background: #EFE4D2; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-controls {
  position: absolute; right: .75rem; bottom: .75rem; z-index: 2;
  display: flex; align-items: center; gap: .25rem;
  padding: .2rem; background: rgb(255 255 255 / .9); border-radius: var(--pill);
}
.hero-controls[hidden] { display: none; }
.hero-control {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
  font: 700 1rem var(--font-body);
}
.hero-control:hover { background: var(--sunk); }
.hero-dots { display: flex; gap: .1rem; }
.hero-dot { width: 22px; height: 34px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: width .2s ease, background-color .2s ease; }
.hero-dot[aria-pressed="true"]::before { width: 16px; border-radius: var(--pill); background: var(--brand); }
@media (min-width: 800px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 420px; }
  .hero-media { min-height: 100%; }
}

@media (max-width: 799px) {
  .hero-media { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 479px) {
  .brand-name { font-size: 1.05rem; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-img { width: 40px; height: 40px; }
  .header-bar { gap: .25rem; }
}

/* Home rails scroll sideways on phones instead of stacking 8 cards. */
@media (max-width: 699px) {
  .home-rail .product-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .home-rail .product-card { scroll-snap-align: start; }
}

/* ── 8. Home: categories, values, help strip ─────────────────────── */
.category-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr);
  gap: clamp(.6rem, 2vw, 1.25rem); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .4rem; scrollbar-width: thin;
}
.category-tile {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  color: var(--ink); text-decoration: none; text-align: center; scroll-snap-align: start;
}
.category-tile:hover { color: var(--brand); text-decoration: none; }
.category-tile-media {
  display: block; width: 100%; max-width: 140px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--sunk); border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.category-tile:hover .category-tile-media { border-color: var(--brand); transform: translateY(-2px); }
.category-tile-media img { width: 100%; height: 100%; object-fit: cover; }
.category-tile-copy { display: block; }
.category-tile-title { font-weight: 700; font-size: .95rem; }
.category-tile-link, .tile-arrow { display: none; }

.why-grid {
  display: grid; gap: 1px; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.why-card { background: var(--surface); padding: clamp(1rem, 2.5vw, 1.5rem); }
.why-card .why-icon { width: 28px; height: 28px; color: var(--brand); margin-bottom: .7rem; }
.why-card h3 { font: 700 1rem/1.3 var(--font-body); margin-bottom: .3rem; }
.why-card p { color: var(--muted); font-size: .9rem; }
.why-index { display: none; }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.contact-feature {
  display: grid; gap: 1.25rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.6);
  padding: clamp(1.4rem, 4vw, 2.5rem); margin-block: clamp(1.5rem, 4vw, 3rem);
}
.contact-feature h2 { margin-bottom: .4rem; }
.contact-feature p { color: var(--muted); max-width: 52ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 800px) { .contact-feature { grid-template-columns: 1fr auto; } }

/* ── 9. Product grid & cards ──────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem) clamp(.6rem, 1.6vw, 1.25rem); }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
#product-grid .product-grid { view-transition-name: product-grid; transition: opacity .18s ease; }
#product-grid .product-grid.is-updating { opacity: .45; pointer-events: none; }
::view-transition-old(product-grid), ::view-transition-new(product-grid) { animation-duration: .2s; }

.product-card { min-width: 0; }
.product-card-link { display: block; color: inherit; text-decoration: none; }
.product-card-link:hover { color: inherit; text-decoration: none; }
.product-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--sunk); border-radius: var(--radius);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card-link:hover .product-media img { transform: scale(1.03); }
.product-media .badge { position: absolute; top: .55rem; left: .55rem; }
.product-media-fallback { display: grid; place-items: center; height: 100%; padding: 1rem; color: var(--muted); font-size: .85rem; text-align: center; }
.product-name {
  margin: .65rem 0 .15rem; font: 700 .95rem/1.35 var(--font-body);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-link:hover .product-name { color: var(--brand); }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .45rem; margin: 0; }
.price-now { font-weight: 700; color: var(--ink); }
.product-price.on-sale .price-now { color: var(--accent); }
.price-was { color: var(--muted); font-size: .85rem; }

.skeleton { position: relative; overflow: hidden; background: var(--sunk); border-radius: var(--radius-sm); }
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .6), transparent);
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.sk-img { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.sk-line { height: .85rem; margin-top: .7rem; }
.sk-line.short { width: 45%; margin-top: .45rem; }

/* ── 10. Shop ─────────────────────────────────────────────────────── */
.shop-layout { display: grid; gap: 1.25rem; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.filters {
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.2);
  align-self: start; display: flex; flex-direction: column;
}
.filters-head { display: flex; align-items: center; gap: .6rem; padding: .95rem 1.1rem .8rem; border-bottom: 1px solid var(--line); }
.filters-title { font: 700 1.05rem/1.2 var(--font-body); margin: 0; display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); }
.filters-badge { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem; border-radius: var(--pill); background: var(--brand); color: #fff; font: 700 .75rem/1 var(--font-body); }
.filters-clear { margin-left: auto; font-size: .85rem; font-weight: 700; color: var(--brand); }
.filters-close { display: none; }
.filters-body { padding: .35rem 1.1rem 1rem; }
.filter-sec { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.filter-sec:last-child { border-bottom: 0; padding-bottom: 0; }
.filter-sec h3 { font: 700 .76rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 .55rem; }
.filter-sec-head { display: flex; align-items: baseline; justify-content: space-between; }
.sec-clear { border: 0; background: none; padding: 0; font: 700 .78rem var(--font-body); color: var(--brand); cursor: pointer; }
.sec-clear:hover { text-decoration: underline; }

/* Category: a clean list with counts */
.cat-list { display: grid; gap: .1rem; margin: 0 -.5rem; }
.cat-row {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .45rem .6rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none;
  font-size: .93rem; font-weight: 600; transition: background-color .15s ease;
}
.cat-row:hover { background: var(--sunk); color: var(--ink); text-decoration: none; }
.cat-row.active { background: color-mix(in srgb, var(--brand) 9%, transparent); color: var(--brand); font-weight: 700; box-shadow: inset 3px 0 0 var(--brand); }
.cat-count { font-size: .78rem; font-weight: 700; color: var(--muted); background: var(--sunk); border-radius: var(--pill); padding: .05rem .5rem; }
.cat-row.active .cat-count { background: var(--brand); color: #fff; }
.cat-count.soon { background: none; font-weight: 600; font-style: italic; }

/* Age and quick prices: an even two-column grid */
.filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.filter-grid .chip { justify-content: center; padding-inline: .4rem; min-height: 38px; white-space: nowrap; font-size: .82rem; }

/* Who it's for: one segmented row */
.seg-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 3px; gap: 2px; background: var(--sunk); border-radius: var(--pill); }
.seg-row .chip { justify-content: center; min-height: 34px; padding-inline: .2rem; border: 0; background: transparent; font-size: .8rem; }
.seg-row .chip:hover { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.seg-row .chip.active, .seg-row .chip[aria-pressed="true"] { background: var(--surface); color: var(--brand); box-shadow: 0 1px 3px rgb(31 42 38 / .14); }

.chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: .3rem .8rem;
  border: 1.5px solid var(--line); border-radius: var(--pill); background: var(--surface);
  font: 700 .84rem var(--font-body); color: var(--ink); cursor: pointer; text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); text-decoration: none; }
.chip.active, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.price-inputs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: .35rem; align-items: center; margin-top: .55rem; }
.price-inputs .input { width: 100%; min-width: 0; min-height: 38px; padding-inline: .6rem; font-size: .88rem; }
.price-inputs .btn { min-height: 38px; padding-inline: .8rem; }

/* In stock only: a switch */
.switch-row { display: flex !important; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; font-weight: 600; cursor: pointer; }
input.switch[type="checkbox"] { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 42px; height: 24px; margin: 0; border-radius: var(--pill); background: var(--line-strong); cursor: pointer; transition: background-color .2s ease; }
input.switch[type="checkbox"]::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: transform .2s ease; }
input.switch[type="checkbox"]:checked { background: var(--brand); }
input.switch[type="checkbox"]:checked::after { transform: translateX(18px); }
input.switch[type="checkbox"]:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }

.filters-foot { display: none; }
.filters-toggle { margin-bottom: .75rem; display: inline-flex; align-items: center; gap: .45rem; }
.filters-backdrop { display: none; }

/* Active filters above the grid */
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.25rem 0 1rem; }
.active-tag { display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; padding: .2rem .55rem .2rem .75rem; border: 0; border-radius: var(--pill); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); color: var(--brand); font: 700 .82rem var(--font-body); cursor: pointer; }
.active-tag:hover { background: color-mix(in srgb, var(--brand) 16%, var(--surface)); }
.active-tag-x { font-size: .72rem; opacity: .75; }
.active-tag-clear { border: 0; background: none; color: var(--muted); font: 700 .82rem var(--font-body); text-decoration: underline; cursor: pointer; padding: 0 .3rem; }

/* Phones: the filters open as a bottom sheet */
@media (max-width: 899px) {
  .filters {
    position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; max-height: min(88vh, 720px);
    border-radius: 18px 18px 0 0; border-bottom: 0; box-shadow: 0 -12px 40px rgb(14 20 28 / .22);
    transform: translateY(100%); transition: transform .26s cubic-bezier(.2, .8, .3, 1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .filters.is-open { transform: none; }
  .filters-head { position: relative; padding-top: 1.25rem; }
  .filters-head::before { content: ''; position: absolute; top: .45rem; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line-strong); }
  .filters-close { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--sunk); color: var(--ink); font-size: .95rem; cursor: pointer; }
  .filters-clear + .filters-close, .filters-clear[hidden] + .filters-close { margin-left: 0; }
  .filters-clear[hidden] + .filters-close { margin-left: auto; }
  .filters-body { overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; }
  .filters-foot { display: block; padding: .75rem 1.1rem; border-top: 1px solid var(--line); background: var(--surface); }
  .filters-foot .btn { min-height: 48px; font-size: 1rem; }
  .filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filters-backdrop { display: block; position: fixed; inset: 0; z-index: 110; background: rgb(14 20 28 / .45); opacity: 0; transition: opacity .26s ease; }
  .filters-backdrop.is-open { opacity: 1; }
  body.sheet-open { overflow: hidden; }
}
@media (max-width: 420px) { .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .filters, .filters-backdrop { transition: none; } }

.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.result-count { color: var(--muted); font-size: .92rem; }
select.sort-select, .shop-toolbar select.sort-select { width: auto; min-height: 40px; padding-block: .4rem; }
@media (min-width: 900px) {
  .shop-layout { grid-template-columns: 252px minmax(0, 1fr); gap: 2rem; }
  .filters-toggle { display: none; }
  .filters { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem); }
  .filters-body { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
}

.pagination { display: flex; gap: .35rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.page-link {
  min-width: 2.5rem; height: 2.5rem; padding: 0 .7rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface);
  font-weight: 700; color: var(--ink); text-decoration: none;
}
.page-link:hover { border-color: var(--line-strong); color: var(--ink); text-decoration: none; }
.page-link.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-link.disabled { opacity: .4; pointer-events: none; }

.empty-state { text-align: center; padding: clamp(2rem, 6vw, 3.5rem) 1rem; color: var(--muted); }
.empty-state .big-emoji { display: none; }
.empty-state h2, .empty-state h3 { color: var(--ink); margin-bottom: .4rem; }
.empty-state .btn { margin-top: 1rem; }
.empty-state .hero-cta { justify-content: center; }

/* ── 11. Product detail ───────────────────────────────────────────── */
.pdp { display: grid; gap: clamp(1.25rem, 3vw, 3rem); padding-bottom: 1rem; }
@media (min-width: 880px) { .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.pdp-gallery { min-width: 0; }
@media (min-width: 880px) { .pdp-gallery { position: sticky; top: calc(var(--header-h) + 1rem); } }
.gallery-main { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sunk); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .6rem; flex-wrap: wrap; }
.gallery-thumbs button {
  width: 68px; height: 84px; padding: 0; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; border-radius: var(--radius-sm); background: var(--sunk);
}
.gallery-thumbs button.active, .gallery-thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.pdp-info .pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .6rem; margin: .7rem 0 1.1rem; }
.pdp-info .price-now { font-size: 1.6rem; }
.pdp-meta { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.option-group { margin-bottom: 1.2rem; }
.option-group .label { display: flex; align-items: baseline; gap: .5rem; font-weight: 700; margin-bottom: .5rem; }
.size-chips, .color-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.size-chip, .color-chip {
  min-width: 48px; min-height: 44px; padding: .45rem .9rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--surface);
  font: 700 .92rem var(--font-body); color: var(--ink); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.size-chip:hover, .color-chip:hover { border-color: var(--ink); }
.size-chip.active, .color-chip.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.size-chip[disabled], .color-chip[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.size-guide-link { font-size: .85rem; font-weight: 700; }
.stock-line { margin: 1rem 0; font-weight: 700; }
.pdp-desc { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: .5rem; }
.pdp-desc h2 { font: 700 1rem var(--font-body); margin: 1.1rem 0 .4rem; }
.pdp-desc p, .pdp-desc li { color: var(--muted); }
.pdp-skeleton-image { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.pdp-skeleton-thumbs { display: flex; gap: .5rem; margin-top: .6rem; }
.pdp-skeleton-thumbs .skeleton { width: 68px; height: 84px; }
.pdp-skeleton-title { height: 2.4rem; margin-bottom: 1rem; }
.pdp-skeleton-line { height: 1rem; margin: .8rem 0; }
.pdp-skeleton-price { height: 2rem; width: 45%; margin: 1rem 0; }
.pdp-skeleton-options { height: 6.5rem; margin: 1rem 0; }
.pdp-skeleton-button { height: 3rem; margin: 1rem 0; }
#pdp-related, #pdp-reviews { margin-top: clamp(1.5rem, 4vw, 3rem); }
#pdp-related > h2, #pdp-reviews > h2 { margin-bottom: 1rem; }

/* in-place image zoom */
.gallery-main { position: relative; }
.zoom-frame { width: 100%; height: 100%; overflow: hidden; cursor: zoom-in; touch-action: pan-y pinch-zoom; outline-offset: -3px; }
.zoom-frame.is-zoomed { cursor: crosshair; touch-action: none; }
.zoom-frame img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; will-change: transform; }
.zoom-hint {
  position: absolute; left: .75rem; bottom: .75rem; display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .65rem; border-radius: var(--pill); background: rgb(255 255 255 / .92);
  font-size: .8rem; font-weight: 700; color: var(--ink); pointer-events: none; transition: opacity .2s ease;
}
.zoom-hint .icon { width: 1rem; height: 1rem; }
.gallery-main:has(.is-zoomed) .zoom-hint { opacity: 0; } /* arrows stay: they're how you reach the next photo */
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgb(255 255 255 / .92); color: var(--ink); box-shadow: var(--shadow); transition: opacity .2s ease;
}
.gallery-nav:hover { background: #fff; }
.gallery-prev { left: .6rem; }
.gallery-next { right: .6rem; }

/* stars + reviews */
.stars { display: inline-flex; gap: 1px; vertical-align: -2px; }
.stars .icon { width: 1rem; height: 1rem; }
.stars .is-on { color: #C8912E; fill: currentColor; }
.stars .is-off { color: var(--line-strong); }
.star-picker { display: inline-flex; gap: .15rem; border: 0; padding: 0; margin: 0; background: none; }
.star-picker label { cursor: pointer; color: var(--line-strong); padding: .1rem; border-radius: var(--radius-sm); }
.star-picker label .icon { width: 1.75rem; height: 1.75rem; }
.star-picker label.is-on { color: #C8912E; }
.star-picker label.is-on .icon { fill: currentColor; }
.star-picker input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 1px; }
.reviews-summary { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; color: var(--muted); }
.reviews-summary .stars .icon { width: 1.25rem; height: 1.25rem; }
.reviews-list { display: grid; gap: .75rem; margin: 1rem 0 1.5rem; }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; }
.review-head { display: flex; flex-wrap: wrap; gap: .3rem .7rem; align-items: center; margin-bottom: .4rem; }
.review-verified { display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; font-weight: 700; color: var(--success); }
.review-verified .icon { width: .95rem; height: .95rem; }
.review-date { color: var(--muted); font-size: .85rem; margin-left: auto; }
.review-body { color: var(--ink); }
.review-form { max-width: 640px; }
.review-form h3 { margin-bottom: .35rem; }
.review-form > .hint { margin: 0 0 1rem; }
.review-form .label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .3rem; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.form-msg { margin-top: .75rem; font-weight: 700; font-size: .92rem; color: var(--muted); }
.form-msg:empty { display: none; }
.form-msg.is-error { color: var(--danger); }
#review-turnstile:not(:empty) { margin-bottom: .9rem; }

/* ── 12. Cart, drawer, checkout ───────────────────────────────────── */
.cart-layout, .checkout-layout { display: grid; gap: 1.5rem; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) {
  .cart-layout { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); align-items: start; }
  .checkout-layout { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); align-items: start; }
}
.cart-lines { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-line { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: 1rem; }
.cart-line + .cart-line { border-top: 1px solid var(--line); }
.cart-line-img { width: 80px; height: 100px; border-radius: var(--radius-sm); object-fit: cover; background: var(--sunk); }
.cart-line-name { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.cart-line-variant { color: var(--muted); font-size: .86rem; overflow-wrap: anywhere; }
.cart-line-price { font-weight: 700; text-align: right; }
.cart-line-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.link-danger { background: none; border: 0; padding: .25rem 0; cursor: pointer; color: var(--muted); font: 700 .84rem var(--font-body); text-decoration: underline; text-underline-offset: 3px; }
.link-danger:hover { color: var(--danger); }
.summary-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.1rem, 2.5vw, 1.4rem);
}
@media (min-width: 900px) { .summary-card { position: sticky; top: calc(var(--header-h) + 1rem); } }
.summary-card h2 { font-size: 1.3rem; margin-bottom: .75rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .75rem; font-weight: 700; font-size: 1.12rem; }
.radio-card {
  display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; margin-bottom: .55rem;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.radio-card:hover { border-color: var(--line-strong); }
.radio-card:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.radio-card input { margin-top: .25rem; }
.rc-title { font-weight: 700; }
.rc-sub { color: var(--muted); font-size: .86rem; }
.pay-instructions { background: var(--warn-bg); color: var(--ink); border-radius: var(--radius); padding: .9rem 1rem; font-size: .94rem; }
.pay-instructions strong { user-select: all; }
.coupon-box { border-bottom: 1px solid var(--line); padding-bottom: .9rem; margin-bottom: .6rem; }
.coupon-row { display: flex; gap: .5rem; }
.coupon-row .input { flex: 1; text-transform: uppercase; min-height: 42px; }
.coupon-row .btn { min-height: 42px; }
#coupon-msg.ok { color: var(--success); font-weight: 700; }
#coupon-msg.err { color: var(--danger); font-weight: 700; }

body.drawer-open { overflow: hidden; }
.drawer-scrim { position: fixed; inset: 0; z-index: 120; background: rgb(20 24 22 / .45); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 130; height: 100dvh; width: min(420px, 100vw);
  display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-lg);
  transform: translateX(105%); transition: transform .28s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.15rem; border-bottom: 1px solid var(--line); }
.cart-drawer-head h2 { font-size: 1.3rem; }
.drawer-close { font-size: 1.6rem; line-height: 1; }
.cart-drawer-body { flex: 1; overflow: auto; padding: 1rem 1.15rem; display: flex; flex-direction: column; gap: 1rem; }
.drawer-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .8rem; align-items: start; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.drawer-line-img { width: 64px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; background: var(--sunk); }
.drawer-line-name { font-weight: 700; font-size: .94rem; color: var(--ink); text-decoration: none; }
.drawer-line-name:hover { color: var(--brand); }
.drawer-line-variant { color: var(--muted); font-size: .82rem; margin: .1rem 0 .35rem; }
.drawer-qty { display: inline-flex; align-items: center; gap: .1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); margin-right: .6rem; }
.drawer-qty button { width: 2rem; height: 2rem; border: 0; background: none; cursor: pointer; font: 700 1rem var(--font-body); color: var(--ink); }
.drawer-qty button:hover { background: var(--sunk); }
.drawer-qty span { min-width: 1.5rem; text-align: center; font-weight: 700; font-size: .9rem; }
.drawer-line-price { font-weight: 700; }
.ship-progress { padding: .8rem .9rem; background: var(--brand-soft); border-radius: var(--radius); }
.ship-progress .bar { height: 6px; border-radius: var(--pill); background: var(--brand-tint); overflow: hidden; }
.ship-progress .bar > i { display: block; height: 100%; background: var(--brand); border-radius: var(--pill); transition: width .4s ease; }
.ship-progress p { font-size: .86rem; font-weight: 700; color: var(--brand-ink); margin: .45rem 0 0; }
.cart-drawer-foot { border-top: 1px solid var(--line); padding: 1rem 1.15rem calc(1rem + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: .55rem; }
.cart-drawer-foot .hint { margin: 0 0 .25rem; }

/* ── 13. Track, confirmation, contact, FAQ, size guide ───────────── */
.confirm-card {
  max-width: 560px; margin: clamp(1.5rem, 5vw, 3rem) auto; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 5vw, 2.5rem);
}
.confirm-card .big-emoji { display: none; }
.order-number-box {
  display: inline-block; margin: .75rem 0 1.25rem; padding: .55rem 1.2rem;
  background: var(--brand-soft); color: var(--brand-ink); border-radius: var(--radius);
  font: 700 1.25rem var(--font-body); letter-spacing: .04em; user-select: all;
}
.timeline { list-style: none; padding: 0; margin: 1rem 0; }
.timeline li { position: relative; display: flex; gap: .8rem; align-items: center; padding: .5rem 0; color: var(--muted); }
.timeline .dot { width: .9rem; height: .9rem; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); flex: none; }
.timeline li.done { color: var(--ink); font-weight: 700; }
.timeline li.done .dot { background: var(--brand); border-color: var(--brand); }
#track-form { max-width: 520px; }

.contact-layout { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 860px) { .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; } }
.contact-layout > .prose, .contact-layout > section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.75rem); }
.contact-list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list .icon { color: var(--brand); margin-top: .2rem; }

.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .55rem; }
.faq-item summary { position: relative; padding: 1rem 3rem 1rem 1.15rem; cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 1.2rem; top: 50%; width: .55rem; height: .55rem; margin-top: -.4rem;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -.1rem; }
.faq-item .faq-body { padding: 0 1.15rem 1.1rem; color: var(--muted); }
.prose .faq-item { line-height: 1.65; }

.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.data-table, .table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { font-size: .85rem; color: var(--muted); background: var(--sunk); }
.table-wrap tr:last-child td { border-bottom: 0; }

/* ── 14. Footer, chat button, toast ───────────────────────────────── */
.site-footer {
  margin-top: clamp(2rem, 6vw, 4rem); padding-top: clamp(2rem, 5vw, 3rem);
  background: color-mix(in srgb, var(--brand) 22%, #141A17); color: rgb(255 255 255 / .78);
  font-size: .94rem;
}
.footer-grid { display: grid; gap: 1.75rem 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 2rem; }
.footer-grid > :first-child { grid-column: 1 / -1; max-width: 42ch; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: auto; } }
.site-footer h3 { color: #fff; font: 700 .95rem/1.3 var(--font-body); margin-bottom: .75rem; }
.site-footer .footer-brand { font: 400 1.35rem/1.2 var(--font-head); }
.site-footer nav a { display: block; padding: .3rem 0; }
.site-footer a { color: rgb(255 255 255 / .78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: .35rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.footer-social a {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid rgb(255 255 255 / .2); border-radius: 50%;
}
.footer-social a:hover { border-color: #fff; text-decoration: none; }
.footer-social svg { width: 18px; height: 18px; }
.icon-brand { width: 1.1rem; height: 1.1rem; }
.fab .icon-brand { width: 26px; height: 26px; }
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / .12); padding-block: 1.1rem calc(1.1rem + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem;
}
.footer-bottom p { margin: 0; }

.fab-stack { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; gap: .5rem; }
.fab {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; background: var(--brand); box-shadow: var(--shadow-lg); text-decoration: none;
  transition: transform .15s ease;
}
.fab:hover { transform: translateY(-2px); color: #fff; }
.fab svg { width: 24px; height: 24px; }
.fab-whatsapp { background: #1F8F55; }
body.drawer-open .fab-stack { display: none; }

.toast-host { position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: .5rem; width: min(92vw, 420px); }
.toast { background: var(--ink); color: #fff; padding: .8rem 1.1rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-weight: 700; text-align: center; animation: toast-in .22s ease; transition: opacity .35s ease; }
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
.toast.gone { opacity: 0; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }

/* ── 15. Utilities ────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.free-unlocked { color: var(--brand-ink); }
.checkout-layout > .empty-state, .cart-layout > .empty-state { grid-column: 1 / -1; }
.contact-layout h2 { margin-bottom: .9rem; }

/* ── 16. Shop details: utility bar, age strip, card meta, facts ───── */
.announcement-bar { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 1.4rem; }
.ann-side { display: none; font-weight: 400; opacity: .85; }
.ann-side a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.ann-side a:hover { text-decoration: underline; }
.ann-side .icon { width: .95rem; height: .95rem; }
.ann-links { gap: 1.1rem; }
@media (max-width: 899px) { .announcement.is-empty { display: none; } }
@media (min-width: 900px) {
  .announcement-bar { justify-content: space-between; }
  .ann-side { display: inline-flex; flex: 1 1 0; }
  .ann-links { justify-content: flex-end; }
  .ann-text { flex: 0 1 auto; text-align: center; }
}

.age-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; padding-block: .25rem clamp(1rem, 3vw, 2rem); }
.age-strip-title { font-size: 1.15rem; margin-right: .25rem; }
.age-links { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.age-links::-webkit-scrollbar { display: none; }
.age-link {
  display: inline-flex; align-items: baseline; gap: .3rem; flex: none;
  padding: .55rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--pill);
  background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s ease, background-color .15s ease;
}
.age-link strong { font-size: 1rem; }
.age-link span { font-size: .82rem; color: var(--muted); }
.age-link:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

.product-meta { margin: 0 0 .2rem; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card.is-sold-out .product-media img { opacity: .55; filter: saturate(.6); }
.product-card.is-sold-out .price-now { color: var(--muted); }

.pdp-facts { list-style: none; padding: 0; margin: 1.25rem 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pdp-facts li { display: flex; gap: .8rem; align-items: flex-start; padding: .85rem 1rem; }
.pdp-facts li + li { border-top: 1px solid var(--line); }
.pdp-facts .icon { color: var(--brand); margin-top: .15rem; }
.pdp-facts strong { display: block; font-size: .92rem; }
.pdp-facts span { color: var(--muted); font-size: .9rem; }

.footer-pay { display: flex; flex-wrap: wrap; gap: .4rem; }
.pay-chip { display: inline-block; padding: .2rem .6rem; border: 1px solid rgb(255 255 255 / .22); border-radius: var(--radius-sm); font-size: .78rem; font-weight: 700; color: rgb(255 255 255 / .85); }

/* ── 17. Colour & life: logo palette accents ──────────────────────── */
:root {
  --c-blue: #7E9BB5; --c-sage: #9DB08A; --c-rose: #D49A8A; --c-mustard: #D8AE6C; --c-clay: #C9875E;
}
/* Values strip as a brand band */
#home-values .why-grid { background: transparent; border: 0; gap: clamp(.75rem, 2vw, 1.25rem); }
#home-values { background: var(--brand); padding-block: clamp(2rem, 5vw, 3.25rem); margin-block: clamp(1rem, 3vw, 2rem); width: 100%; max-width: none; }
#home-values .why-grid { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
#home-values .why-card { background: transparent; padding: 0; color: #fff; }
#home-values .why-card h3 { color: #fff; font: 400 1.15rem/1.25 var(--font-head); }
#home-values .why-card p { color: rgb(255 255 255 / .78); }
#home-values .why-icon { width: 48px; height: 48px; padding: 12px; border-radius: 50%; color: var(--brand); background: var(--c-mustard); margin-bottom: .9rem; }
#home-values .why-card:nth-child(2) .why-icon { background: var(--c-blue); color: #fff; }
#home-values .why-card:nth-child(3) .why-icon { background: var(--c-sage); color: var(--brand); }
#home-values .why-card:nth-child(4) .why-icon { background: var(--c-rose); color: #fff; }

/* Help strip: soft sage card */
.contact-feature { background: #EAF0E3; border-color: #D5E0C8; }

/* Age pills with a colour dot each */
.age-link::before { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: var(--c-blue); align-self: center; margin-right: .1rem; }
.age-link:nth-child(2)::before { background: var(--c-sage); }
.age-link:nth-child(3)::before { background: var(--c-mustard); }
.age-link:nth-child(4)::before { background: var(--c-rose); }
.age-link:nth-child(5)::before { background: var(--c-clay); }

/* Cards: gentle lift on hover */
.product-media { transition: box-shadow .25s ease, transform .25s ease; }
.product-card-link:hover .product-media { transform: translateY(-3px); box-shadow: 0 12px 26px rgb(31 42 38 / .12); }
.category-tile:hover .category-tile-media { box-shadow: 0 10px 22px rgb(31 42 38 / .12); }

/* Section titles get a small accent mark */
.section-head h2::after { content: ''; display: block; width: 2.25rem; height: 3px; margin-top: .45rem; border-radius: 3px; background: var(--c-mustard); }

/* Hero: warmer copy panel, richer accent on the kicker line */
.hero-inner { background: #F5EBDD; }
.hero-media { background: #DFE8EF; }

/* ── 18. Polish pass: theme tints, pages, checkout, product, mobile ── */
:root {
  /* Soft tints from the logo's dusty blue instead of navy-on-cream mud. */
  --brand-soft: #EAF0F6;
  --brand-tint: #D3DFEA;
  --sage-soft: #EAF0E3;
  --rose-soft: #F8E9E5;
  --sand-soft: #F6EEDF;
}
.btn-secondary { background: var(--brand-soft); color: var(--brand); }
.btn-secondary:hover { background: var(--brand-tint); color: var(--brand); }

/* Footer in brand navy, not near-black */
.site-footer { background: var(--brand); color: rgb(255 255 255 / .82); }
.site-footer .footer-brand { color: #fff; }

/* Page header band (shop, cart, checkout, content pages) */
.page-head {
  position: relative; overflow: hidden;
  margin-block: clamp(1rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.25rem, 3.5vw, 2.25rem) clamp(1.25rem, 3.5vw, 2.5rem);
  background: var(--brand-soft); border-radius: calc(var(--radius) * 1.4);
}
.page-head::after {
  /* the logo's bunting, as a quiet corner decoration */
  content: ''; position: absolute; top: 0; right: clamp(.5rem, 3vw, 2rem); width: 220px; height: 64px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 64'%3E%3Cpath d='M0 6 Q110 40 220 6' fill='none' stroke='%238A6A4B' stroke-width='1.5'/%3E%3Cpath d='M14 10 L34 15 L21 38Z' fill='%237E9BB5'/%3E%3Cpath d='M58 20 L79 24 L65 47Z' fill='%23E8D5B8'/%3E%3Cpath d='M103 24 C103 19 111 18 113 24 C115 18 123 19 123 24 C123 31 113 36 113 40 C113 36 103 31 103 24Z' fill='%23C9875E'/%3E%3Cpath d='M147 23 L168 19 L157 45Z' fill='%239DB08A'/%3E%3Cpath d='M190 13 L210 7 L205 31Z' fill='%23D49A8A'/%3E%3C/svg%3E") no-repeat center top / contain;
  opacity: .9;
}
.page-head h1 { position: relative; }
.page-head p { position: relative; color: var(--muted); margin: .4rem 0 0; max-width: 58ch; }
.page-head .breadcrumbs { position: relative; margin-bottom: .35rem; }
@media (max-width: 600px) { .page-head::after { width: 150px; height: 44px; opacity: .55; } }

/* Content pages: prose + side help card */
.with-aside { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); align-items: start; }
@media (min-width: 960px) { .with-aside { grid-template-columns: minmax(0, 1fr) 320px; } }
.side-help {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem; display: grid; gap: .65rem;
}
@media (min-width: 960px) { .side-help { position: sticky; top: calc(var(--header-h) + 1rem); } }
.side-help h2 { font-size: 1.25rem; }
.side-help p { color: var(--muted); font-size: .94rem; margin: 0; }
.side-help-links { list-style: none; padding: .5rem 0 0; margin: .25rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .3rem; }
.side-help-links a { font-weight: 700; text-decoration: none; }
.side-help-links a::after { content: ' →'; }

/* Track page */
.track-layout { display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 860px) { .track-layout { grid-template-columns: minmax(0, 560px) minmax(0, 340px); } }
.track-layout #track-form { max-width: none; }
.track-layout > #track-result { grid-column: 1 / -1; }
.track-layout > #track-result:empty { display: none; }

/* Contact channels */
.contact-list { gap: 0; margin: 0 0 1rem; }
.contact-list li { gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list li > .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); margin: 0; flex: none; }
.contact-list li[data-icon="messenger"] > .icon { background: #E6EEFF; color: #0866FF; }
.contact-list li[data-icon="whatsapp"] > .icon { background: #E3F5EA; color: #1F8F55; }
.contact-list li div { display: grid; gap: .1rem; line-height: 1.45; }
.contact-list li span { color: var(--muted); font-size: .92rem; }
.contact-list li a { font-weight: 700; font-size: .92rem; }

/* Order confirmed */
.confirm-card { max-width: 620px; }
.confirm-icon { width: 56px; height: 56px; margin: 0 auto .9rem; color: var(--success); }
.confirm-label { color: var(--muted); font-size: .85rem; margin: 1rem 0 0; }
.order-number-box { margin-top: .35rem; }
.confirm-steps { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; text-align: left; display: grid; gap: .9rem; }
.confirm-steps li { display: flex; gap: .85rem; align-items: flex-start; }
.confirm-steps .step-num { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; }
.confirm-steps strong { display: block; }
.confirm-steps span { color: var(--muted); font-size: .92rem; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

/* Cart */
.cart-line-name { text-decoration: none; }
.cart-line-name:hover { color: var(--brand); text-decoration: underline; }
.summary-card .ship-progress { margin-bottom: 1rem; }
.summary-muted span:last-child { color: var(--muted); font-size: .92rem; }
.summary-assure { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .4rem; font-size: .88rem; color: var(--muted); }
.summary-assure li { display: flex; gap: .5rem; align-items: center; }
.summary-assure li::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%232E7553' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ship-progress { background: var(--sage-soft); }
.ship-progress .bar { background: #D5E0C8; }
.ship-progress .bar > i { background: #6E8F58; }
.ship-progress p { color: #3F5A2F; }

/* Checkout: numbered step cards, clearer choices, real summary */
#checkout-form { counter-reset: step; }
#checkout-form fieldset { padding-top: 1.1rem; }
#checkout-form legend {
  float: left; width: 100%; padding: 0; margin-bottom: 1rem;
  display: flex; align-items: center; gap: .6rem; font: 400 1.3rem var(--font-head); color: var(--ink);
}
#checkout-form legend::before {
  counter-increment: step; content: counter(step);
  width: 28px; height: 28px; display: grid; place-items: center; flex: none;
  border-radius: 50%; background: var(--brand); color: #fff; font: 700 .9rem var(--font-body);
}
#checkout-form legend + * { clear: both; }
.radio-card:has(input:checked) { background: var(--surface); border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand), 0 6px 16px rgb(14 47 79 / .08); }
.radio-card input { accent-color: var(--brand); }
.coupon-row .input { text-transform: none; }
.coupon-row .input::placeholder { text-transform: none; }
.summary-items { display: grid; gap: .8rem; padding: .25rem 0 1rem; margin-bottom: .5rem; border-bottom: 1px solid var(--line); }
.summary-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: .75rem; align-items: center; }
.summary-thumb { position: relative; width: 48px; height: 60px; border-radius: var(--radius-sm); background: var(--sunk); }
.summary-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.summary-qty { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .7rem/20px var(--font-body); text-align: center; }
.summary-item-text { display: grid; line-height: 1.35; min-width: 0; }
.summary-item-text strong { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.summary-item-text small { color: var(--muted); }
.summary-item-price { font-weight: 700; font-size: .92rem; }
.summary-discount strong { color: var(--success); }
@media (max-width: 899px) {
  /* show what they're paying before the long form */
  .checkout-layout > #order-summary, .checkout-layout > .summary-card { order: -1; }
}

/* Product page: coloured info chips, stock urgency, reviews CTA, sticky buy bar */
.badge-age { background: var(--brand-soft); color: var(--brand); }
.badge-gender { background: var(--rose-soft); color: #8A4B3E; }
.badge-in { background: var(--sage-soft); color: #3F5A2F; }
.stock-line.is-low { color: #9A4E22; } /* clay, darkened for readable contrast */
.stock-line.is-out { color: var(--muted); }
.review-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.review-cta .hint { margin: 0; }
.sticky-buy { display: none; }
@media (max-width: 879px) {
  .sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: flex; align-items: center; gap: .75rem;
    padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(31 42 38 / .08);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .sticky-buy.is-visible { transform: none; }
  .sticky-buy-text { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
  .sticky-buy-text strong { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy-price { font-weight: 700; color: var(--accent); }
  .sticky-buy .btn { flex: none; min-height: 44px; }
  body.has-sticky-buy .fab-stack { bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* Chat button: stay out of the way where people type or pay */
body:has(#checkout-form) .fab-stack, body:has(#cart-root) .fab-stack { display: none; }
@media (max-width: 599px) { .fab { width: 46px; height: 46px; } .fab .icon-brand { width: 22px; height: 22px; } }

/* Mobile menu quick links */
.mobile-nav-extra { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .9rem; margin-top: .4rem; border-top: 1px solid var(--line); }
.mobile-nav .mobile-nav-extra a { border: 1px solid var(--line); border-radius: var(--pill); padding: .4rem .85rem; font-size: .88rem; }
.mobile-nav a:nth-last-child(1 of :not(.mobile-nav-extra a)) { border-bottom: 0; }

/* Shop filters: a touch of colour on active chips */
.chip.active, .chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); }
.page-link.current { background: var(--brand); border-color: var(--brand); }

/* ── 19. Coming soon: empty collections (wording set in Admin) ────── */
.coming-soon { grid-column: 1 / -1; display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.coming-soon-panel {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--sand-soft); border: 1px solid #EADFC9; border-radius: calc(var(--radius) * 1.4);
}
.coming-soon-panel::before {
  content: ''; display: block; width: 180px; height: 52px; margin: 0 auto 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 64'%3E%3Cpath d='M0 6 Q110 40 220 6' fill='none' stroke='%238A6A4B' stroke-width='1.5'/%3E%3Cpath d='M14 10 L34 15 L21 38Z' fill='%237E9BB5'/%3E%3Cpath d='M58 20 L79 24 L65 47Z' fill='%23E8D5B8'/%3E%3Cpath d='M103 24 C103 19 111 18 113 24 C115 18 123 19 123 24 C123 31 113 36 113 40 C113 36 103 31 103 24Z' fill='%23C9875E'/%3E%3Cpath d='M147 23 L168 19 L157 45Z' fill='%239DB08A'/%3E%3Cpath d='M190 13 L210 7 L205 31Z' fill='%23D49A8A'/%3E%3C/svg%3E") no-repeat center / contain;
}
.coming-soon-tag { display: inline-block; padding: .25rem .7rem; border-radius: var(--pill); background: var(--c-mustard); color: var(--brand); font-weight: 700; font-size: .8rem; letter-spacing: .02em; margin-bottom: .75rem; }
.coming-soon-panel h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: .6rem; }
.coming-soon-panel p { color: var(--muted); max-width: 52ch; margin: 0 auto; }
.coming-soon-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.4rem; }
.coming-soon-picks > h3 { font: 400 1.3rem var(--font-head); margin-bottom: 1rem; }
.category-tile-media { position: relative; }
.tile-soon {
  position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); white-space: nowrap;
  padding: .2rem .6rem; border-radius: var(--pill); background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700;
}
.category-tile.is-empty .category-tile-media img { opacity: .55; }

/* ── 20. Returning shoppers: welcome back, recently viewed, remembered details ── */
.btn-sm { min-height: 36px; padding: .4rem .85rem; font-size: .85rem; }
.link-quiet { background: none; border: 0; padding: 0; color: var(--muted); font: 700 .85rem var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-quiet:hover { color: var(--brand); }
.welcome-back { background: var(--sage-soft); border-bottom: 1px solid #D5E0C8; }
.welcome-back-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: .6rem; }
.welcome-back p { margin: 0; color: #2F4A23; font-size: .94rem; }
.welcome-back-actions { display: flex; align-items: center; gap: .4rem; }
.welcome-back-close { width: 36px; height: 36px; color: #2F4A23; }
.welcome-back-close .icon { width: 1.1rem; height: 1.1rem; }
#home-recent .section-head, #pdp-recent .section-head, .cart-recent .section-head { align-items: center; }
#pdp-recent { margin-top: clamp(1.5rem, 4vw, 3rem); }
.cart-recent { margin-top: 1rem; }
.remember-box { display: grid; gap: .5rem; padding: .85rem 1rem; margin-top: .25rem; border-radius: var(--radius); background: var(--brand-soft); }
.remember-check { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .92rem; cursor: pointer; }
.remember-note { margin: 0; font-size: .9rem; color: var(--ink); }

/* ════════════════════════════════════════════════════════════════════
   21. Liveliness — budget cards, lookbook, parents' reviews, "New"
       badge, wave edges, rotating announcement, gentle scroll reveal.
       Colour comes from the logo palette; motion respects reduced-motion.
   ════════════════════════════════════════════════════════════════════ */
.hero-media { background: #F3EADB; }
.hero-media img { object-position: center; }

.badge-new { background: var(--c-sage); color: var(--brand); }
#new-arrivals .badge-new { display: none; } /* redundant in the "New arrivals" rail */

/* Rotating announcement: lines slide up; a slow colour drift and a soft
   shine keep the bar alive without moving the text itself. */
.announcement { position: relative; overflow: hidden; isolation: isolate; }
.ann-text { display: inline-block; transition: opacity .3s ease, transform .3s ease; }
.ann-text.is-out { opacity: 0; transform: translateY(-80%); }
.ann-text.is-in { opacity: 0; transform: translateY(80%); transition: none; }
@media (prefers-reduced-motion: no-preference) {
  .announcement {
    background: linear-gradient(110deg, var(--brand) 20%, color-mix(in srgb, var(--brand) 82%, #fff) 50%, var(--brand) 80%) var(--brand);
    background-size: 250% 100%;
    animation: ann-drift 16s ease-in-out infinite alternate;
  }
  .announcement::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(100deg, transparent 35%, rgb(255 255 255 / .16) 50%, transparent 65%);
    transform: translateX(-100%);
    animation: ann-shine 7s ease-in-out 1.5s infinite;
  }
}
@keyframes ann-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes ann-shine { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }

/* Loading bar along the top of the screen (shop searches/filters) */
.top-loader {
  position: fixed; z-index: 200; left: 0; right: 0; top: 0; height: 3px; overflow: hidden;
  pointer-events: none; opacity: 0; transition: opacity .25s ease;
}
.top-loader.is-on { opacity: 1; transition-delay: .15s; }
.top-loader::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 35%;
  border-radius: 0 3px 3px 0; background: linear-gradient(90deg, var(--c-mustard), var(--c-rose), #fff);
  box-shadow: 0 0 8px rgb(216 174 108 / .7);
  animation: top-loader 1.1s ease-in-out infinite;
}
@keyframes top-loader { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

/* Product cards rise in on first load; photos fade in over a shimmer */
.product-media img { transition: opacity .35s ease, transform .4s ease; }
.product-media.img-wait img { opacity: 0; }
.product-media.img-wait::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .55), transparent);
  animation: shimmer 1.3s infinite;
}
@media (prefers-reduced-motion: no-preference) {
  .cards-in > .product-card { animation: card-in .5s cubic-bezier(.2, .7, .3, 1) both; }
  .cards-in > .product-card:nth-child(2) { animation-delay: .06s; }
  .cards-in > .product-card:nth-child(3) { animation-delay: .12s; }
  .cards-in > .product-card:nth-child(4) { animation-delay: .18s; }
  .cards-in > .product-card:nth-child(5) { animation-delay: .24s; }
  .cards-in > .product-card:nth-child(6) { animation-delay: .3s; }
  .cards-in > .product-card:nth-child(n+7) { animation-delay: .36s; }
}
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } }

/* Hero dots: the active one fills while its slide is showing */
.hero-dot::before, .hero-dot::after { grid-area: 1 / 1; }
.hero-dot::after {
  content: ''; width: 16px; height: 7px; border-radius: var(--pill); background: var(--brand);
  transform: scaleX(0); transform-origin: left; opacity: 0;
}
.hero-dots.is-timing .hero-dot[aria-pressed="true"]::before { background: color-mix(in srgb, var(--brand) 28%, transparent); }
.hero-dots.is-timing .hero-dot[aria-pressed="true"]::after { opacity: 1; animation: dot-fill 6.5s linear forwards; }
@keyframes dot-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .top-loader::before { animation: none; width: 100%; }
  .product-media.img-wait::after { animation: none; }
}

/* Shop by budget */
.price-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1rem); }
@media (min-width: 760px) { .price-tiles { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.price-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .1rem;
  padding: clamp(1rem, 2.6vw, 1.4rem); border-radius: calc(var(--radius) * 1.6);
  text-decoration: none; color: var(--brand); min-height: 128px; isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease;
}
.price-tile::after {
  content: ''; position: absolute; z-index: -1; right: -26px; bottom: -34px;
  width: 110px; height: 110px; border-radius: 50%; background: rgb(255 255 255 / .28);
}
.price-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-tile:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.price-tile .pt-kicker { font-weight: 700; font-size: .82rem; opacity: .85; }
.price-tile strong { font: 400 clamp(1.6rem, 4.4vw, 2.2rem)/1.05 var(--font-head); }
.price-tile .pt-sub { margin-top: auto; padding-top: .5rem; font-size: .86rem; font-weight: 600; }
.pt-1 { background: #F6D9A8; }
.pt-2 { background: #CFE0EE; }
.pt-3 { background: #D6E3C6; }
.pt-4 { background: #F2C9BD; }

/* Fresh from our hanger (horizontal, swipeable photo strip) */
.lookbook { background: linear-gradient(180deg, transparent 0, #F3EADB 18%, #F3EADB 82%, transparent 100%); padding-block: clamp(1.5rem, 4vw, 2.5rem); }
.lookbook .section-head { margin-inline: auto; }
.lookbook-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(62vw, 260px); gap: clamp(.6rem, 1.6vw, 1rem);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), (100% - var(--container)) / 2); padding-block: .5rem 1rem;
  scroll-padding-inline: max(var(--gutter), (100% - var(--container)) / 2);
}
.lookbook-track::-webkit-scrollbar { display: none; }
.lookbook-item {
  display: block; scroll-snap-align: start; border-radius: calc(var(--radius) * 1.6); overflow: hidden;
  background: var(--sunk); box-shadow: var(--shadow); aspect-ratio: 4 / 5;
  transition: transform .2s ease;
}
.lookbook-item:nth-child(odd) { transform: rotate(-1.2deg); }
.lookbook-item:nth-child(even) { transform: rotate(1.2deg) translateY(6px); }
.lookbook-item:hover, .lookbook-item:focus-visible { transform: rotate(0) translateY(-4px); }
.lookbook-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Happy parents: customer message screenshots, sliding */
.feedback { background: linear-gradient(180deg, transparent 0, #EAF0F6 18%, #EAF0F6 82%, transparent 100%); padding-block: clamp(1.5rem, 4vw, 2.5rem); }
.feedback .section-head { margin-inline: auto; align-items: flex-end; }
.feedback-arrows { display: flex; gap: .4rem; }
.feedback-arrow { background: var(--surface); border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px; box-shadow: var(--shadow-sm, 0 2px 6px rgb(0 0 0 / .06)); }
.feedback-arrow:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.feedback-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(66vw, 250px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline-offset: -3px;
  padding-inline: max(var(--gutter), (100% - var(--container)) / 2); padding-block: .5rem 1rem;
  scroll-padding-inline: max(var(--gutter), (100% - var(--container)) / 2);
}
.feedback-track::-webkit-scrollbar { display: none; }
.feedback-item {
  position: relative; display: flex; flex-direction: column; padding: 0; scroll-snap-align: start; cursor: zoom-in;
  border: 0; border-radius: calc(var(--radius) * 1.6); overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow); text-align: left; font: inherit; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feedback-item:hover, .feedback-item:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 28px rgb(31 42 38 / .14); }
.feedback-item img { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; object-position: top; display: block; background: var(--sunk); }
.feedback-hearts { display: flex; align-items: center; justify-content: space-between; padding: .55rem .8rem; font-size: .8rem; letter-spacing: .08em; color: var(--c-mustard); }
.feedback-hearts .icon { width: 1rem; height: 1rem; color: #D9534F; fill: #D9534F; }
.feedback-dots { display: flex; justify-content: center; gap: .35rem; min-height: 8px; }
.feedback-dots span { width: 7px; height: 7px; border-radius: var(--pill); background: var(--line-strong); transition: width .25s ease, background-color .25s ease; }
.feedback-dots span.is-on { width: 20px; background: var(--brand); }
.feedback-dialog { margin: auto; inset: 0; border: 0; padding: 0; background: transparent; max-width: min(92vw, 520px); max-height: 92vh; overflow: visible; }
.feedback-dialog::backdrop { background: rgb(14 20 28 / .72); }
.feedback-dialog img { display: block; max-width: 100%; max-height: 88vh; border-radius: var(--radius); box-shadow: 0 20px 50px rgb(0 0 0 / .35); }
.feedback-close { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1rem; box-shadow: var(--shadow); cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .feedback-dialog[open] { animation: promo-pop .25s ease; }
}

/* What parents say */
.home-reviews-grid { display: grid; gap: clamp(.75rem, 2vw, 1.25rem); }
@media (min-width: 800px) { .home-reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review-quote {
  margin: 0; position: relative; display: flex; flex-direction: column; gap: .6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.6);
  padding: 1.25rem 1.35rem 1.15rem;
}
.review-quote::before { content: '“'; position: absolute; top: -.2rem; right: 1rem; font: 400 4rem/1 var(--font-head); color: var(--c-mustard); opacity: .55; }
.review-quote:nth-child(2)::before { color: var(--c-blue); }
.review-quote:nth-child(3)::before { color: var(--c-rose); }
.review-stars { color: #C9932E; letter-spacing: .08em; }
.review-quote blockquote { margin: 0; font-size: .98rem; line-height: 1.55; }
.review-quote figcaption { margin-top: auto; display: flex; flex-wrap: wrap; gap: .25rem .6rem; font-size: .88rem; color: var(--muted); }
.review-quote figcaption strong { color: var(--ink); }

/* Soft wave edges on the navy values band */
#home-values { position: relative; margin-block: clamp(2.5rem, 6vw, 4rem); }
#home-values::before, #home-values::after {
  content: ''; position: absolute; left: 0; right: 0; height: 28px; background: var(--brand); pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V14C150 0 300 0 450 12S750 28 900 14 1100 2 1200 10V28Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V14C150 0 300 0 450 12S750 28 900 14 1100 2 1200 10V28Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
#home-values::before { bottom: calc(100% - 1px); }
#home-values::after { top: calc(100% - 1px); transform: scaleY(-1); }

/* Gentle reveal (home.js adds .reveal only below the fold, motion allowed) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .price-tile, .lookbook-item, .ann-text { transition: none; }
}

/* Hero picture built from the newest products (home.js heroCollage) */
.hero-media-live {
  display: grid; place-items: center; padding: clamp(2.6rem, 6vw, 3.6rem) clamp(.75rem, 3vw, 2rem) clamp(1.25rem, 4vw, 2.25rem);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M0 6Q200 30 400 6' fill='none' stroke='%238B5E34' stroke-width='1.2'/%3E%3Cpath d='M40 10l9 16 9-14z' fill='%237E9BB5'/%3E%3Cpath d='M110 17l9 16 9-15z' fill='%23D8AE6C'/%3E%3Cpath d='M180 19l9 16 9-16z' fill='%239DB08A'/%3E%3Cpath d='M250 18l9 16 9-15z' fill='%23D49A8A'/%3E%3Cpath d='M320 13l9 16 9-14z' fill='%23C9875E'/%3E%3C/svg%3E") top 6px center / 92% 40px no-repeat,
    #F3EADB;
}
.hero-collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.4rem, 1.5vw, .9rem); width: min(100%, 560px); align-items: center; }
.hero-card {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: calc(var(--radius) * 1.4); overflow: hidden;
  background: #fff; border: clamp(4px, .8vw, 7px) solid #fff; box-shadow: 0 10px 26px rgb(31 42 38 / .18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero-card:nth-child(1) { transform: rotate(-5deg) translateY(8px); }
.hero-card:nth-child(2) { transform: scale(1.1); z-index: 1; }
.hero-card:nth-child(3) { transform: rotate(5deg) translateY(8px); }
.hero-card:hover, .hero-card:focus-visible { transform: rotate(0) translateY(-4px) scale(1.06); z-index: 2; box-shadow: 0 16px 34px rgb(31 42 38 / .24); }
.hero-media-live .hero-card img { position: static; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) * .9); }
.hero-card-tag {
  position: absolute; left: .4rem; bottom: .4rem; padding: .15rem .5rem; border-radius: var(--pill);
  background: rgb(255 255 255 / .94); color: var(--brand); font-weight: 800; font-size: clamp(.7rem, 1.4vw, .82rem);
}
@media (max-width: 899px) { .hero-media-live { aspect-ratio: auto; } }
@media (prefers-reduced-motion: reduce) { .hero-card { transition: none; } }
.hero-card.is-changing, .hero-card.is-entering { opacity: 0; translate: 0 8px; }
.hero-card { transition: transform .25s ease, box-shadow .25s ease, opacity .3s ease, translate .3s ease; }
.hero-media-live { position: relative; }
.hero-pause {
  position: absolute; right: .6rem; bottom: .6rem; width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / .85); color: var(--brand); display: grid; place-items: center; opacity: .75;
}
.hero-pause:hover, .hero-pause:focus-visible { opacity: 1; }
.hero-pause::before { content: ''; width: 8px; height: 10px; border-inline: 3px solid currentColor; box-sizing: border-box; }
.hero-pause[aria-pressed="true"]::before { width: 0; height: 0; border-inline: 0; border-block: 6px solid transparent; border-left: 9px solid currentColor; margin-left: 3px; }

/* Very small phones (≤360px): keep the full shop name visible */
@media (max-width: 360px) {
  .brand { gap: .35rem; }
  .brand-name { font-size: .92rem; }
  .logo-img { width: 34px; height: 34px; }
  .header-actions { gap: .15rem; }
  .lang-toggle { min-width: 0; padding-inline: .45rem; height: 32px; font-size: .8rem; }
  .header-bar .btn-icon, .cart-link { width: 38px; }
}

/* Orders paused (Admin → Settings → Orders) */
.orders-paused { background: var(--warn-bg); color: var(--warn-ink); border-bottom: 1px solid var(--line); }
.orders-paused p { margin: 0; padding-block: .7rem; font-weight: 700; text-align: center; }

/* ════════════════════════════════════════════════════════════════════
   22. Shopper helpers — saved items (hearts), find my size, share,
       ask/order on WhatsApp, live search, gift option.
   ════════════════════════════════════════════════════════════════════ */
.product-card { position: relative; }
.save-heart {
  position: absolute; top: .5rem; right: .5rem; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; padding: 0;
  background: rgb(255 255 255 / .9); color: var(--ink); box-shadow: 0 1px 4px rgb(31 42 38 / .15);
  transition: transform .15s ease, color .15s ease;
}
.save-heart .icon { width: 18px; height: 18px; }
.save-heart:hover { transform: scale(1.08); }
.save-heart:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.save-heart.is-saved, .save-btn.is-saved { color: #C2453B; }
.save-heart.is-saved .icon, .save-btn.is-saved .icon { fill: currentColor; }

.pdp-actions { display: flex; gap: .5rem; margin-top: .6rem; }
.pdp-actions .btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.pdp-actions .icon { width: 18px; height: 18px; }
.btn-whatsapp { background: #1F8F4E; color: #fff; border-color: #1F8F4E; }
.btn-whatsapp:hover { background: #17713D; color: #fff; }
.ask-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .6rem; }
.ask-btn .icon { width: 20px; height: 20px; }
.ask-btn[hidden] { display: none; }

.size-finder { margin: -.2rem 0 .9rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.size-finder summary { cursor: pointer; display: flex; align-items: center; gap: .45rem; padding: .6rem .8rem; font-weight: 700; color: var(--brand); list-style: none; }
.size-finder summary::-webkit-details-marker { display: none; }
.size-finder summary .icon { width: 18px; height: 18px; }
.size-finder-form { display: grid; gap: .55rem; padding: 0 .8rem .8rem; }
.size-finder-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.size-finder-row label { min-width: 4.5rem; font-weight: 600; font-size: .92rem; }
.size-finder-row .input { width: 6.5rem; padding-block: .45rem; }
.size-finder-form .btn { justify-self: start; }
.size-finder-result { margin: 0; font-weight: 700; color: var(--ink); }
.size-finder-result:empty { display: none; }

/* Header heart → Saved page (phones under 480px use the menu link instead) */
.saved-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); border-radius: var(--radius); }
.saved-link:hover { background: var(--sunk); }
.saved-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--pill);
  background: #C2453B; color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center;
}
.saved-count[data-count="0"] { display: none; }
@media (max-width: 479px) { .saved-link { display: none; } }
.empty-heart { width: 48px; height: 48px; color: #C2453B; margin-bottom: .5rem; }
.saved-count-line { margin: 0 0 1rem; }

/* Live search suggestions */
.search-suggest {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; width: max(100%, 340px); max-width: calc(100vw - 2rem);
  margin: 0; padding: .35rem; list-style: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); max-height: min(70vh, 420px); overflow-y: auto;
}
.header-actions .search-suggest { left: auto; right: 0; }
.mobile-nav .search-suggest { position: static; width: 100%; max-width: none; margin-top: .35rem; box-shadow: var(--shadow); }
.suggest-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: .65rem; padding: .4rem .5rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.suggest-item:hover, .suggest-item[aria-selected="true"] { background: var(--sunk); }
.suggest-item img, .suggest-noimg { width: 44px; height: 55px; object-fit: cover; border-radius: 6px; background: var(--sunk); }
.suggest-name { font-weight: 600; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-price { font-weight: 800; color: var(--brand); font-size: .9rem; }
.suggest-all { display: block; padding: .6rem .5rem; font-weight: 700; font-size: .9rem; border-top: 1px solid var(--line); margin-top: .25rem; }
.mobile-nav .header-search { flex-wrap: wrap; }
.mobile-nav .header-search input { flex: 1 1 100%; }
.mobile-nav .search-suggest { flex: 1 1 100%; order: 3; }
.mobile-nav .search-suggest { max-height: none; }

/* Checkout: gift option */
.gift-option { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: .75rem .9rem; margin-bottom: 1rem; background: var(--surface); }
.gift-toggle { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; }
.gift-toggle input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--brand); }
.gift-toggle small { display: block; color: var(--muted); font-size: .86rem; }
.gift-option .field { margin: .7rem 0 0; }
.review-card .review-reply { margin-top: .6rem; padding: .6rem .8rem; border-left: 3px solid var(--c-mustard); background: var(--sunk); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .92rem; }
.review-card .review-reply p { margin: .2rem 0 0; }

/* ════════════════════════════════════════════════════════════════════
   23. Order tracking — timeline with the time of every step
   ════════════════════════════════════════════════════════════════════ */
.track-layout .side-help { position: static; }   /* never float over the result */
.track-result { display: grid; gap: 1rem; max-width: 720px; }
.track-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.4); padding: clamp(1rem, 3vw, 1.5rem); }
.track-card h3 { font-size: 1.1rem; margin-bottom: .9rem; }
.track-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: flex-start; }
.track-head h2 { font-size: clamp(1.4rem, 4vw, 1.8rem); letter-spacing: .02em; margin: .1rem 0 .2rem; }
.track-head .hint { margin: 0; }
.track-head-side { display: grid; justify-items: end; gap: .25rem; text-align: right; }
.track-total { font-size: 1.3rem; }
.track-pill { padding: .25rem .7rem; border-radius: var(--pill); font-weight: 800; font-size: .8rem; background: var(--warn-bg); color: var(--warn-ink); }
.track-pill.is-confirmed { background: #E3ECF5; color: var(--brand); }
.track-pill.is-shipped { background: #E7F0FB; color: #1F5C99; }
.track-pill.is-delivered { background: #E2F0E8; color: #23603F; }
.track-pill.is-cancelled { background: #FBE4E1; color: var(--danger); }

.track-timeline { list-style: none; margin: 0; padding: 0; }
.tl-step { display: grid; grid-template-columns: 4.6rem 2rem minmax(0, 1fr); gap: 0 .75rem; }
.tl-when { display: grid; align-content: start; justify-items: end; color: var(--muted); font-size: .82rem; line-height: 1.35; padding-top: .15rem; }
.tl-when span:first-child { color: var(--ink); font-weight: 700; }
.tl-rail { position: relative; display: flex; justify-content: center; }
.tl-rail::after { content: ''; position: absolute; top: 1.9rem; bottom: -.15rem; width: 2px; background: var(--line); }
.tl-step:last-child .tl-rail::after { display: none; }
.tl-mark {
  position: relative; z-index: 1; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: .85rem; background: var(--surface); border: 2px solid var(--line-strong); color: #fff;
}
.tl-step.is-done .tl-mark { background: #23855A; border-color: #23855A; }
.tl-step.is-done .tl-rail::after { background: #23855A; }
.tl-step.is-cancelled .tl-mark { background: var(--danger); border-color: var(--danger); }
.tl-step.is-current .tl-mark { border-color: #23855A; box-shadow: 0 0 0 5px rgb(35 133 90 / .15); }
.tl-step.is-current .tl-mark::after { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: #23855A; }
.tl-body { padding-bottom: 1.35rem; }
.tl-body strong { display: block; margin-top: .15rem; }
.tl-body p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.tl-step.is-todo .tl-body strong { color: var(--muted); font-weight: 600; }
.tl-step.is-current .tl-body p { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .tl-step.is-current .tl-mark { animation: tl-pulse 2s ease-in-out infinite; }
  @keyframes tl-pulse { 50% { box-shadow: 0 0 0 9px rgb(35 133 90 / .06); } }
}

.track-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.track-items li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .6rem; align-items: baseline; }
.ti-qty { font-weight: 800; color: var(--muted); }
.ti-name small { display: block; color: var(--muted); font-size: .85rem; }
.ti-price { font-weight: 700; }
.track-sums { margin-top: 1rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.track-help p { color: var(--muted); margin: 0 0 .8rem; }
.track-help .btn { display: inline-flex; align-items: center; gap: .4rem; }
.track-help .icon { width: 18px; height: 18px; }
@media (max-width: 420px) { .tl-step { grid-template-columns: 3.9rem 1.8rem minmax(0, 1fr); gap: 0 .5rem; } }
@media (max-width: 480px) { .track-head-side { justify-items: start; text-align: left; } }

/* Readable codes and figures: Young Serif has old-style numerals (the 4
   drops below the line), so order numbers, totals and big prices use the
   body font with lining, evenly spaced digits. */
.code, .track-head h2, .order-number-box, .track-total, .price-tile strong {
  font-family: var(--font-body); font-weight: 800; font-variant-numeric: lining-nums tabular-nums;
}
.code, .track-head h2, .order-number-box { letter-spacing: .04em; }

/* ── QA pass 2026-10-19: things that covered content or were hard to hit ── */
/* Numbers filled in from settings inside headings ("The 7-day window") and
   counts in headings ("Items (6)") use the readable body figures. */
h1 [data-setting], h2 [data-setting], h3 [data-setting], .count {
  font-family: var(--font-body); font-weight: 800; font-variant-numeric: lining-nums tabular-nums;
}
/* The product page's sticky buy bar must not hide the end of the page. */
@media (max-width: 879px) { body.has-sticky-buy { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } }
/* The chat button slips away while scrolling down (so it never sits on a
   heart or a price) and comes back when scrolling up or pausing. */
.fab-stack { transition: transform .25s ease, opacity .25s ease; }
.fab-stack.is-tucked { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .fab-stack { transition: none; } }
/* Room under the footer so the last links aren't under the chat button. */
@media (max-width: 599px) { .site-footer { padding-bottom: 4.5rem; } }
/* Thumb-sized controls. */
.link-danger { min-height: 40px; padding-inline: .4rem; }
input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
/* Pages with their own WhatsApp/Facebook buttons don't need the floating one
   (on the track page it sat on the order total). */
body:has(.track-result) .fab-stack, body:has(.ask-btn:not([hidden])) .fab-stack, body:has(.quick-confirm) .fab-stack { display: none; }
.quick-confirm { margin: .5rem 0 1rem; padding: .9rem 1rem; border-radius: var(--radius); background: #EAF6EF; border: 1px solid #CDE8D8; text-align: left; display: grid; gap: .6rem; }
.quick-confirm p { margin: 0; font-size: .95rem; }
.quick-confirm .btn { justify-self: start; display: inline-flex; align-items: center; gap: .4rem; }
.quick-confirm .icon { width: 18px; height: 18px; }

/* Gallery arrows (product page): always on top of the photo and never hidden
   by zoom. On mouse devices they fade in while the pointer is over the photo. */
.gallery-nav { z-index: 3; width: 44px; height: 44px; }
.gallery-nav .icon { width: 22px; height: 22px; }
@media (hover: hover) {
  .gallery-nav { opacity: 0; }
  .gallery-main:hover .gallery-nav, .gallery-nav:focus-visible { opacity: 1; }
}
.gallery-count {
  position: absolute; z-index: 3; right: .75rem; bottom: .75rem; padding: .2rem .6rem; border-radius: var(--pill);
  background: rgb(31 42 38 / .72); color: #fff; font: 700 .78rem var(--font-body); font-variant-numeric: tabular-nums; pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════════
   24. Offer popup (Admin → Settings → Offer popup; popup.js)
   ════════════════════════════════════════════════════════════════════ */
.promo-overlay {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--gutter);
  background: rgb(20 28 26 / .55); animation: promo-fade .22s ease both;
}
.promo-overlay.is-closing { animation: promo-fade .2s ease reverse both; }
.promo-card {
  position: relative; width: min(100%, 460px); max-height: calc(100vh - 2 * var(--gutter)); overflow: auto;
  background: var(--surface); border-radius: calc(var(--radius) * 1.6); box-shadow: var(--shadow-lg);
  animation: promo-pop .25s ease both;
}
.promo-card.has-image { width: min(100%, 760px); display: grid; }
@media (min-width: 680px) { .promo-card.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.promo-media { background: var(--sunk); min-height: 200px; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: 70vh; }
@media (max-width: 679px) { .promo-media img { max-height: 42vh; } }
.promo-body { padding: clamp(1.3rem, 4vw, 2rem); display: grid; gap: .8rem; align-content: center; }
.promo-body h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); line-height: 1.15; padding-right: 2rem; }
.promo-body p { margin: 0; color: var(--muted); }
.promo-code { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; padding: .55rem .8rem; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: var(--sunk); }
.promo-cta { justify-self: start; }
.promo-close {
  position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / .92); color: var(--ink); font-size: 1.05rem; box-shadow: var(--shadow);
}
.promo-close:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
body.promo-open { overflow: hidden; }
body.promo-open .fab-stack { display: none; }
@keyframes promo-fade { from { opacity: 0; } }
@keyframes promo-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .promo-overlay, .promo-overlay.is-closing, .promo-card { animation: none; } }

/* ════════════════════════════════════════════════════════════════════
   25. Category circles: owner illustrations on soft palette tints.
   The uploaded pictures are clip-art on white; multiply-blending turns
   that white into the circle's tint, and "contain" + padding shows the
   whole picture (nothing cropped at the circle's edge).
   ════════════════════════════════════════════════════════════════════ */
.category-tile-media {
  --tint: #E6EEF5;
  background: var(--tint); border: 0; box-shadow: inset 0 0 0 1px rgb(31 42 38 / .05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.category-tile:nth-child(6n+2) .category-tile-media { --tint: #E8EFE0; }
.category-tile:nth-child(6n+3) .category-tile-media { --tint: #F8E6E2; }
.category-tile:nth-child(6n+4) .category-tile-media { --tint: #F9EED7; }
.category-tile:nth-child(6n+5) .category-tile-media { --tint: #EAE7F3; }
.category-tile:nth-child(6n+6) .category-tile-media { --tint: #F6E5D8; }
.category-tile-media img {
  object-fit: contain; padding: 9%; mix-blend-mode: multiply;
  transition: transform .3s ease;
}
.category-tile:hover .category-tile-media { transform: translateY(-3px); box-shadow: 0 12px 24px rgb(31 42 38 / .12); }
.category-tile:hover .category-tile-media img { transform: scale(1.07); }
.category-tile:focus-visible .category-tile-media { outline: 3px solid var(--brand); outline-offset: 3px; }
.category-tile.is-empty .category-tile-media img { opacity: 1; }
/* "Coming soon" hangs on the circle's lower edge instead of covering it. */
.tile-soon {
  position: relative; left: auto; bottom: auto; transform: none; z-index: 1;
  margin-top: -1.15rem; margin-bottom: -.35rem; box-shadow: 0 2px 6px rgb(31 42 38 / .15);
}
@media (prefers-reduced-motion: reduce) { .category-tile-media, .category-tile-media img { transition: none; } }
.tile-soon.is-placeholder { visibility: hidden; }

/* Home: "Baby & kids clothes online in Bangladesh" text (SEO + shoppers) */
.home-about { max-width: 820px; }
.home-about h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: .6rem; }
.home-about p { color: var(--muted); line-height: 1.7; margin: 0 0 .7rem; }
.home-about p[lang="bn"] { font-family: 'Baloo Da 2', var(--font-body); }
