:root {
  --bg: #fffbfa;
  --field: #f7eaea;
  --surface: #fbf1f0;
  --ink: #2b2024;
  --muted: #6f5f64;
  --accent: #b0003a;
  --accent-press: #8f0030;
  --flag-y: #fcd116;
  --flag-b: #003893;
  --flag-r: #ce1126;
  --on-accent: #fff;
  --t1: #f6eeea; /* = the backdrop baked into the product cut-outs */
  --t2: #f7e3e6;
  --t3: #efe1e1;
  --t4: #ecd9d6;
  --wa: #25d366;
  --wa-ink: #0b5a2c;
  --ig: #e4405f;
  --fb: #0866ff;

  --f: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --t-xl: clamp(40px, 5vw, 76px);
  --t-l: clamp(30px, 3vw, 46px);
  --t-m: 20px;
  --t-s: 17px;
  --t-xs: 15px;

  --m: clamp(16px, 3vw, 40px);
  --gap: clamp(112px, 11vw, 176px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-s)/1.6 var(--f); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-lucide], .lucide { width: 18px; height: 18px; stroke-width: 1.75; flex: none; }
svg use { pointer-events: none; }

/* Buttons: square, one fill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: var(--t-s); text-decoration: none;
  transition: background-color .16s var(--ease), transform .14s var(--ease);
}
.btn:hover { background: var(--accent-press); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn .lucide, .cell .lucide { fill: none; }
.btn-wa { background: var(--wa); color: #06281a; }
.btn-wa:hover { background: #1fbd5a; }
.btn-block { width: 100%; }

/* Offer bar + header */
.offer-bar { position: relative; background: var(--accent); color: var(--on-accent); text-align: center; font-size: var(--t-xs); font-weight: 500; padding: 9px var(--m) 13px; }
.bar { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; height: 72px; padding-inline: var(--m); background: var(--bg); border-bottom: 1px solid var(--field); }
.brand { grid-column: 2; display: inline-flex; align-items: center; text-decoration: none; min-width: 0; }
.menu { display: contents; }
.menu-btn, .menu-social { display: none; }
/* Colombian flag stripe under the offer bar: 2 yellow, 1 blue, 1 red */
.offer-bar::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--flag-y) 0 50%, var(--flag-b) 50% 75%, var(--flag-r) 75%); } /* taste-skill-ignore: hard-stop flag bands, not a fade */
.links { display: flex; gap: 24px; justify-self: start; }
.links a { text-decoration: none; font-weight: 500; font-size: 16px; padding-block: 8px; transition: color .16s var(--ease); }
.links a:hover { color: var(--accent); }
.bar-end { display: flex; align-items: center; gap: 8px; justify-self: end; grid-column: 3; }
.social { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background-color .16s var(--ease), transform .14s var(--ease); }
.social svg { width: 22px; height: 22px; }
.social.ig svg { fill: var(--ig); }
.social.fb svg { fill: var(--fb); }
.social.tt svg { fill: var(--ink); }
.social:hover { background: var(--field); }
.social:active { transform: scale(.94); }
.bag-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; background: var(--field); cursor: pointer; font-weight: 500; transition: background-color .16s var(--ease), transform .14s var(--ease); }
.bag-btn:hover { background: var(--t3); }
.bag-btn:active { transform: scale(.96); }
.count { min-width: 24px; height: 24px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-size: var(--t-xs); font-weight: 600; }
.count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Client catalogue banner = first screen */
main { display: flex; flex-direction: column; } /* the owner can reorder the sections: each carries an inline `order` */
.catalog-banner { display: block; background: #f9e6e3; }
.catalog-banner img { width: 100%; height: auto; }
.catalog-banner picture { display: block; }
.social[hidden], .reels[hidden] { display: none; }
.brand img { height: 60px; width: auto; max-width: 100%; }

/* Running strip under the banner */
.ticker { overflow: hidden; background: var(--accent); color: var(--on-accent); font-size: var(--t-xs); font-weight: 500; }
.ticker-track { display: flex; width: max-content; animation: drift 40s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; } /* a moving link must hold still to be clicked */
.tk-group { display: flex; }
.tk-link { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.tk-link svg { width: 16px; height: 16px; fill: currentColor; }
.tk-link:focus-visible { outline: 2px solid var(--on-accent); outline-offset: 3px; }
.ticker span { display: inline-flex; align-items: center; padding-block: 11px; white-space: nowrap; }
.ticker span::after { content: "★"; margin-inline: 28px; font-size: 12px; }
.ticker span[hidden], .ticker[hidden], .links a[hidden] { display: none; }

/* Shared section heading, centred as on the reference store */
.sec-title { font-size: var(--t-l); text-align: center; }
.sec-sub { max-width: 52ch; margin: 12px auto 0; text-align: center; color: var(--muted); }
.sep { display: flex; align-items: center; gap: 16px; width: min(360px, 70%); margin: 72px auto 0; color: var(--accent); }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--t4); }

/* Catalogue */
.shop { padding: 72px var(--m) 0; }
.shop .chips { justify-content: center; margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips[hidden] { display: none; }
.chip { min-height: 44px; padding: 0 18px; border: 0; background: var(--field); cursor: pointer; font-weight: 500; transition: background-color .16s var(--ease), color .16s var(--ease); }
.chip:hover { background: var(--t3); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.rail { position: relative; margin-top: 36px; }
.catalogue { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; justify-content: safe center;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.catalogue::-webkit-scrollbar { display: none; }
.rail-btn { position: absolute; top: 38%; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--t4); border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; transition: background-color .16s var(--ease); }
.rail-btn:hover { background: var(--field); }
.rail-btn[data-rail="-1"] { inset-inline-start: -8px; }
.rail-btn[data-rail="1"] { inset-inline-end: -8px; }
.rail-btn[hidden] { display: none; }
.item { display: flex; flex-direction: column; gap: 10px; text-align: center; scroll-snap-align: start; }
.item[hidden] { display: none; }
.item-tile { aspect-ratio: 3 / 4; overflow: hidden; background: var(--t1); }
.item-tile img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 45%); transition: transform .6s var(--ease); }
.item:hover .item-tile img { transform: scale(1.04); }
.item-top { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 6px; }
.item h3 { font-size: var(--t-s); font-weight: 600; }
.price { font-weight: 700; font-size: var(--t-s); color: var(--ink); white-space: nowrap; }
.fact { color: var(--muted); font-size: 16px; }
.opts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; }
.swatches { display: flex; gap: 6px; border: 0; padding: 0; margin: 0; }
.swatches label { position: relative; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; }
.swatches input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatches span { width: 28px; height: 28px; border-radius: 50%; background: var(--c); transition: transform .14s var(--ease); }
.swatches input:checked + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.swatches input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.swatches label:hover span { transform: scale(1.1); }
.sel { display: flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--muted); }
.sel select { min-height: 44px; padding: 0 10px; border: 0; background: var(--field); color: var(--ink); font-size: 16px; cursor: pointer; }
.item .btn { width: 100%; margin-top: 4px; }

/* Category cards (browse by category) */
.cats { padding: 72px var(--m) 0; }
.cats[hidden] { display: none; }
.cat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 260px)); justify-content: center; gap: 20px; max-width: 1100px; margin: 36px auto 0; }
.cat-card { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; text-align: center; }
.cat-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cat-pic { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--t1); }
.cat-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover img { transform: scale(1.04); }
.cat-name { display: block; margin-top: 10px; font-weight: 600; font-size: var(--t-m); }

/* One piece, three colours (client's own photos) */
.shades { padding: 72px var(--m) 0; }
.shade-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 36px auto 0; }
.shade-row a { display: block; text-decoration: none; text-align: center; font-weight: 600; }
.shade-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 10px; transition: transform .6s var(--ease); }
.shade-row a:hover img { transform: scale(1.02); }

/* Customer reviews: screenshots keep their own height, so they stack as columns */
.reviews { padding: 72px var(--m) 0; }
.reviews[hidden] { display: none; }
.review-row { columns: 3 260px; column-gap: 16px; max-width: 1100px; margin: 36px auto 0; }
.review { break-inside: avoid; margin-bottom: 16px; padding: 10px; background: #fff; border: 1px solid var(--field); }
.review img { width: 100%; height: auto; }
.review-text { padding: 12px 10px 4px; font-size: var(--t-m); line-height: 1.7; }
.review-name { padding: 8px 10px 2px; color: var(--muted); font-size: var(--t-xs); font-weight: 600; }

/* Videos, last section before the footer (as on the reference store) */
.reels { padding: var(--gap) var(--m) 0; }
.reel-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 36px auto 0; }
.reel { position: relative; overflow: hidden; background: var(--t2); cursor: pointer; }
.reel video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.reel-sound { position: absolute; bottom: 12px; inset-inline-end: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 251, 250, .9); color: var(--ink); cursor: pointer; }
.reel-sound .on, .reel-sound[aria-pressed="true"] .off { display: none; }
.reel-sound[aria-pressed="true"] .on { display: block; }
.reel-sound[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }


/* How: tiles that grow */
.how { padding: var(--gap) var(--m) 0; }
.how h2 { font-size: var(--t-l); margin-bottom: 40px; }
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px 20px; }
.stage { display: grid; gap: 8px; align-content: start; min-width: 0; }
.stage-tile { overflow: hidden; margin-bottom: 8px; aspect-ratio: 3 / 4; background: var(--t1); }
.stage-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.t1 { background: var(--t1); } .t2 { background: var(--t2); } .t3 { background: var(--t3); }
.stage h3 { font-size: var(--t-m); font-weight: 600; }
.stage p { color: var(--muted); max-width: 40ch; }

/* FAQ: filled tiles */
.faq { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: 4fr 8fr; gap: 40px; align-items: start; }
.faq h2 { font-size: var(--t-l); position: sticky; top: 96px; }
.qs { display: grid; gap: 8px; }
.qs details { background: var(--surface); transition: background-color .2s var(--ease), color .2s var(--ease); }
.qs details[open] { background: var(--accent); color: var(--on-accent); }
.qs summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; padding: 0 24px; cursor: pointer; list-style: none; font-size: var(--t-m); font-weight: 500; }
.qs summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ""; position: absolute; top: 50%; left: 0; width: 16px; height: 3px; margin-top: -1.5px; background: currentColor; transition: transform .25s var(--ease); }
.pm::after { transform: rotate(90deg); }
.qs details[open] .pm::after { transform: rotate(0); }
.qs details p { padding: 0 24px 24px; max-width: 56ch; white-space: pre-line; }
.qs details a { color: inherit; }

/* Contact: strip + three-cell bar */
.contact { margin-top: var(--gap); background: var(--t2); padding: 48px 0 96px; overflow: hidden; }
.strip { overflow: hidden; }
.strip-track { display: flex; gap: 8px; width: max-content; animation: drift 60s linear infinite; }
.strip-track img { height: 150px; width: auto; aspect-ratio: var(--ar); object-fit: cover; }
@keyframes drift { to { transform: translateX(50%); } }
.contact-in { padding: 72px var(--m) 0; }
.contact h2 { font-size: var(--t-l); margin-bottom: 32px; }
.send-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.cell { display: flex; align-items: center; min-height: 88px; background: var(--bg); }
.cell input { width: 100%; height: 100%; min-height: 88px; padding: 0 24px; border: 0; background: transparent; font-size: var(--t-m); text-align: center; }
.cell input::placeholder { color: var(--muted); }
.cell input:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; }
.cell-send { justify-content: center; gap: 12px; background: var(--wa); color: #06281a; font-weight: 700; font-size: var(--t-m); text-decoration: none; transition: background-color .16s var(--ease), transform .14s var(--ease); }
.cell-send:hover { background: #1fbd5a; }
.cell-send:active { transform: scale(.98); }
.cell-send svg { width: 26px; height: 26px; fill: currentColor; }
.send-note { margin-top: 12px; font-size: var(--t-xs); color: var(--muted); }
.reach { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 48px; font-size: var(--t-m); font-weight: 500; }
.reach a, .reach span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.reach a:hover { text-decoration: underline; text-underline-offset: 5px; }
.reach svg { width: 26px; height: 26px; }
.reach .wa { fill: #1a9e4c; } .reach .ig { fill: var(--ig); } .reach .fb { fill: var(--fb); } .reach .tt { fill: #000; }
.reach .lucide { width: 24px; height: 24px; color: var(--accent); }

/* Footer */
.foot { padding: 0 0 100px; } /* bottom room so the floating WhatsApp button never covers the credit line */
.foot-img { display: block; width: 100%; height: auto; }
.foot-line { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px var(--m) 0; font-size: var(--t-xs); color: var(--muted); }
.foot-line p:last-child { text-align: end; }

/* Floating WhatsApp */
.fab { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 25; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14); /* taste-skill-ignore: floating button */
  transition: transform .16s var(--ease); }
.fab svg { width: 32px; height: 32px; fill: currentColor; }
.fab:hover { transform: scale(1.06); }
.fab:active { transform: scale(.95); }

/* Bag */
.bag { margin: 0; margin-inline-start: auto; height: 100dvh; max-height: none; width: min(440px, 100vw); padding: 0; border: 0; background: var(--bg); color: var(--ink);
  box-shadow: 0 8px 40px rgba(0, 0, 0, .12); /* taste-skill-ignore: dialog */ }
.bag[open] { display: flex; flex-direction: column; animation: bag-in .35s var(--ease); }
@keyframes bag-in { from { transform: translateX(32px); opacity: 0; } }
.bag::backdrop { background: rgba(43, 38, 34, .3); }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; }
.bag-head h2 { font-size: 24px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: var(--field); cursor: pointer; }
.icon-btn:hover { background: var(--t3); }
.bag-list { flex: 1; overflow-y: auto; padding: 0 24px; display: grid; align-content: start; gap: 10px; }
.bag-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 10px; background: var(--surface); }
.bag-item img { width: 72px; height: 96px; object-fit: cover; object-position: var(--pos, 50% 45%); }
.bag-item h3 { font-size: 16px; font-weight: 600; }
.bag-item .meta { font-size: var(--t-xs); color: var(--muted); }
.bag-item .line { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: var(--field); cursor: pointer; }
.qty button:hover { background: var(--t3); }
.qty output { min-width: 26px; text-align: center; font-weight: 600; }
.rm { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: #a3261b; cursor: pointer; min-height: 44px; padding: 0 4px; font: inherit; font-size: var(--t-xs); font-weight: 600; }
.rm .lucide { width: 18px; height: 18px; }
.bag-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.bag-edit label { display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.bag-edit select { height: 44px; padding: 0 10px; border: 1px solid var(--t4); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.bag-sum { font-weight: 600; }
.bag-clear { justify-self: start; margin: 4px 24px 0; min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: var(--t-xs); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bag-clear.sure { color: #a3261b; font-weight: 600; }
.bag-clear[hidden] { display: none; }
.bag-head h2:focus { outline: none; }
.btn-soft { background: var(--field); color: var(--ink); }
.btn-soft:hover { background: var(--t3); }
/* product sheet: delivery line, size finder, trust */
.pdp-ship { font-size: var(--t-xs); color: var(--muted); }
.pdp-info .ck-trust { padding-top: 12px; border-top: 1px solid var(--t4); }
.size-help { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: var(--t-xs); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.size-help .lucide { width: 18px; height: 18px; }
.size-box { display: grid; gap: 10px; padding: 14px; background: var(--surface); }
.size-box[hidden] { display: none; }
.size-how { font-size: var(--t-xs); color: var(--muted); }
.size-in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.size-in label { display: grid; gap: 2px; font-size: var(--t-xs); font-weight: 600; }
.size-in small { font-size: 13px; font-weight: 400; color: var(--muted); }
.size-in input { height: 52px; margin-top: 4px; padding: 0 12px; border: 1px solid var(--t4); background: var(--bg); font: inherit; font-size: 20px; color: var(--ink); text-align: center; }
.size-out { min-height: 24px; font-weight: 600; }
.size-out.ok { color: #15803d; font-size: var(--t-m); }
.size-chart summary { min-height: 44px; display: flex; align-items: center; font-size: var(--t-xs); color: var(--muted); cursor: pointer; }
.size-chart table { width: 100%; border-collapse: collapse; font-size: var(--t-xs); text-align: center; }
.size-chart th, .size-chart td { padding: 8px 4px; border-bottom: 1px solid var(--t4); }
.size-chart th { font-weight: 600; }
/* added to the bag: a sheet from the bottom with the next step */
.added { margin: auto 0 0; width: 100%; max-width: 100%; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); border: 0; background: var(--bg); color: var(--ink); box-shadow: 0 -8px 30px rgba(0, 0, 0, .12); /* taste-skill-ignore: sheet */ }
.added[open] { display: grid; gap: 14px; animation: rise-in .25s var(--ease); }
.added::backdrop { background: rgba(43, 38, 34, .3); }
@media (min-width: 700px) { .added { margin: auto; width: 420px; } }
@keyframes rise-in { from { transform: translateY(16px); opacity: 0; } }
.added-in { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
.added-in img { width: 72px; height: 96px; object-fit: cover; background: var(--t1); }
.added-ok { display: flex; align-items: center; gap: 8px; color: #15803d; font-weight: 600; font-size: var(--t-m); }
.added-ok .lucide { width: 22px; height: 22px; }
.added-name { font-weight: 600; }
.added-meta { font-size: var(--t-xs); color: var(--muted); }
.added-offer { padding: 10px 12px; background: var(--t2); color: var(--accent); font-weight: 600; font-size: var(--t-xs); }
.added-offer[hidden] { display: none; }
.added-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* where is my order */
.track { margin: 0; margin-inline-start: auto; height: 100dvh; max-height: none; width: min(440px, 100vw); padding: 0; border: 0; background: var(--bg); color: var(--ink); }
.track[open] { display: flex; flex-direction: column; overflow-y: auto; animation: bag-in .35s var(--ease); }
.track::backdrop { background: rgba(43, 38, 34, .3); }
.track-form { display: grid; gap: 12px; padding: 0 24px 20px; }
.track-form label { display: grid; gap: 4px; font-size: var(--t-xs); color: var(--muted); }
.track-form input { height: 52px; padding: 0 14px; border: 1px solid var(--t4); background: #fff; font: inherit; font-size: 18px; color: var(--ink); }
.track-out { display: grid; gap: 14px; margin: 0 24px 24px; padding: 20px; background: var(--surface); }
.track-out[hidden] { display: none; }
.tr-head { font-weight: 600; }
.tr-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tr-steps li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.tr-steps li span { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--field); font-weight: 600; }
.tr-steps li.done, .tr-steps li.now { color: var(--ink); }
.tr-steps li.done span { background: #15803d; color: #fff; }
.tr-steps li.now span { background: var(--accent); color: #fff; }
.tr-steps li.now { font-weight: 600; }
.tr-off { color: #a3261b; font-weight: 600; }
.tr-co { font-size: var(--t-xs); color: var(--muted); }
.bag-empty { padding: 8px 24px; }
.bag-foot { padding: 20px 24px 24px; display: grid; gap: 10px; background: var(--surface); }
.bag-line { display: flex; justify-content: space-between; font-size: 16px; }
.bag-disc { color: var(--accent); font-weight: 600; }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--t-m); }
.bag-total strong { font-size: 26px; color: var(--accent); }
.bag-foot label { display: grid; gap: 4px; font-size: var(--t-xs); color: var(--muted); }
.bag-foot input { height: 48px; padding: 0 12px; border: 0; background: var(--bg); font-size: 16px; color: var(--ink); }

.toast { position: fixed; bottom: 96px; left: 50%; z-index: 40; translate: -50% 0; padding: 12px 18px; background: var(--ink); color: var(--bg); font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14); /* taste-skill-ignore: toast overlay */
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.toast.show { opacity: 1; transform: none; }

/* Entrances (content stays visible without JS) */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Product details sheet */
.item-tile { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; }
.name-btn { all: unset; cursor: pointer; }
.name-btn:hover { color: var(--accent); }
.name-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.pdp { width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: var(--bg); color: var(--ink);
  display: none; grid-template-columns: 1.1fr 1fr; overflow: auto;
  box-shadow: 0 24px 60px rgba(43, 38, 34, .18); /* taste-skill-ignore */ }
.pdp[open] { display: grid; }
.pdp::backdrop { background: rgba(43, 38, 34, .35); }
.pdp-close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 1; }
.pdp-gallery { background: var(--t1); display: flex; flex-direction: column; }
.pdp-gallery > img { width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; object-position: var(--pos, 50% 45%); }
.pdp-thumbs { display: flex; gap: 8px; padding: 10px; }
.pdp-thumbs:empty { display: none; }
.pdp-thumbs button { width: 64px; height: 80px; padding: 0; border: 0; cursor: pointer; opacity: .6; background: none; }
.pdp-thumbs button[aria-pressed="true"] { opacity: 1; outline: 2px solid var(--ink); outline-offset: 2px; }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: flex; flex-direction: column; gap: 14px; padding: 56px 40px 40px; }
.pdp-info h2 { font-size: var(--t-l); line-height: 1.15; }
.pdp-price s { color: var(--muted); font-weight: 400; margin-inline-end: 6px; }
.pdp-fact { font-size: var(--t-s); }
.pdp-desc { color: var(--muted); white-space: pre-line; }
.pdp-label { margin-top: 8px; font-weight: 600; display: flex; gap: 8px; flex-wrap: wrap; }
.pdp-label a { margin-inline-start: auto; }
.pdp-label span { font-weight: 400; color: var(--muted); }
.pdp-label a { font-weight: 400; color: var(--accent); }
.pdp-swatches, .pdp-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-swatches button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.pdp-swatches span { width: 28px; height: 28px; border-radius: 50%; background: var(--c); }
.pdp-swatches button[aria-pressed="true"] span { outline: 2px solid var(--ink); outline-offset: 3px; }
.pdp-sizes button { min-width: 52px; height: 44px; padding: 0 12px; border: 0; background: var(--field); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.pdp-sizes button:hover { background: var(--t3); }
.pdp-sizes button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.pdp-sizes button[disabled] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.pdp-add { margin-top: 10px; width: 100%; }
.pdp-ask { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.pdp-ask svg { width: 18px; height: 18px; fill: #1a9e4c; }
@media (max-width: 760px) {
  .pdp { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; grid-template-columns: 1fr; }
  .pdp-gallery > img { aspect-ratio: 1 / 1; }
  .pdp-info { padding: 24px 16px 32px; }
  .pdp-add { position: sticky; bottom: 12px; z-index: 1; }
}

@media (max-width: 1100px) {
  .bar { gap: 12px; }
  .menu-btn { display: inline-grid; place-items: center; grid-column: 1; justify-self: start; width: 44px; height: 44px; border: 0; background: var(--field); cursor: pointer; }
  .menu { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 4px; padding: 8px var(--m) 20px; background: var(--bg); border-bottom: 1px solid var(--field); box-shadow: 0 16px 24px rgba(43, 32, 36, .08); }
  .bar.open .menu { display: flex; }
  .links { flex-direction: column; gap: 0; }
  .links a { display: flex; align-items: center; min-height: 52px; font-size: 18px; border-bottom: 1px solid var(--field); }
  .menu-social { display: flex; gap: 8px; padding-top: 12px; }
  .bar-end .social { display: none; }
}
@media (max-width: 900px) {
  .brand img { height: 48px; }
  .catalogue { grid-auto-columns: calc((100% - 20px) / 2.3); }
  .reel-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .reel { scroll-snap-align: center; }
  .review-row { columns: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: start; }
  .review { flex: 0 0 78%; margin: 0; scroll-snap-align: center; }
  .how h2 { margin-bottom: 28px; }
  .stage-tile { aspect-ratio: 16 / 10; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .faq h2 { position: static; }
  .send-bar { grid-template-columns: 1fr; }
  .cell, .cell input { min-height: 60px; }
  .strip-track img { height: 110px; }
}
@media (max-width: 560px) {
  .bag-word { display: none; }
  .bar { gap: 12px; }
  .brand img { height: clamp(28px, 8.5vw, 44px); }
  .bag-btn { padding: 0 10px; }
  .social { width: 40px; height: 40px; }
  .catalogue { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
  .rail-btn { display: none; }
  .shade-row { gap: 8px; }
  .item h3, .price { font-size: 16px; }
  .fact { font-size: var(--t-xs); }
  .opts { gap: 4px 8px; }
  .swatches label { width: 40px; height: 40px; }
  .sel { width: 100%; }
  .sel select { flex: 1; }
  .item .btn { padding: 0 8px; font-size: 16px; }
  .qs summary { font-size: 18px; min-height: 64px; padding-inline: 18px; }
  .qs details p { padding: 0 18px 20px; font-size: 16px; }
  .reach { flex-direction: column; gap: 4px; font-size: 18px; }
  .foot-line { grid-template-columns: 1fr; gap: 6px; }
  .foot-line p:last-child { text-align: start; }
}

@media (max-width: 400px) { .bar { gap: 8px; } .bag-btn { gap: 6px; padding: 0 8px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip-track, .ticker-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .item-tile img, .count.bump { transition: none; animation: none; }
}

/* Live catalogue additions */
.item-tile { position: relative; cursor: pointer; }
.dots { position: absolute; bottom: 10px; inset-inline: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(251, 248, 243, .7); }
.dots span.on { background: var(--bg); width: 18px; border-radius: 4px; }
.price s { color: var(--muted); font-weight: 500; font-size: 16px; }
.bag-foot select { height: 48px; padding: 0 10px; border: 0; background: var(--bg); font-size: 16px; color: var(--ink); }
.field-err { color: #a3261b; font-size: var(--t-xs); font-weight: 500; }
.offer-bar[hidden] { display: none; }

/* Studio credit */
.made-by { margin-top: 20px; text-align: center; font-size: var(--t-xs); }
.made-by a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--muted); text-decoration: none; transition: color .16s var(--ease); }
.made-by a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.made-by svg { width: 16px; height: 16px; fill: #1a9e4c; flex: none; }

/* ---------- Village search in the bag (delivery company list) ---------- */
.vil, .vil-pick { display: grid; gap: 6px; }
.vil-list { margin: 0; padding: 4px 0; list-style: none; background: var(--bg); border: 1px solid var(--field); max-height: 288px; overflow-y: auto; }
.vil-list li[role="option"] { min-height: 44px; display: flex; align-items: center; padding: 0 12px; font-size: 16px; color: var(--ink); cursor: pointer; }
.vil-list li[aria-selected="true"] { background: var(--field); }
@media (hover: hover) { .vil-list li[role="option"]:hover { background: var(--field); } }
.vil-none { padding: 10px 12px; font-size: var(--t-xs); color: var(--muted); }
.vil-list[hidden], .bag-foot label[hidden], .bag-line[hidden], .bag-foot[hidden], .bag-empty[hidden] { display: none; }
/* Checkout: one question at a time, big tap targets, the button always in reach */
.bag[open] { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.bag-list { flex: none; overflow: visible; }
.ck { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--t4); scroll-margin-top: 12px; }
.ck-q { font-size: var(--t-m); font-weight: 600; color: var(--ink); }
.ck-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-chips:empty { display: none; }
.ck-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; background: var(--t2); color: var(--ink); font: inherit; font-size: var(--t-xs); font-weight: 600; cursor: pointer; }
.ck-chip .lucide { width: 16px; height: 16px; color: var(--muted); }
.ck-find { position: relative; }
.ck-find .lucide { position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--accent); pointer-events: none; }
.ck-find input { padding-inline-start: 44px !important; border-color: var(--accent) !important; }
.ck-find input, .ck-direct input { width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--t4); background: var(--bg); font: inherit; font-size: 17px; color: var(--ink); }
.ck-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.ck-opts:empty { display: none; }
.ck-opt { min-height: 56px; padding: 10px 12px; border: 1px solid var(--t4); background: var(--bg); color: var(--ink); font: inherit; font-size: 17px; font-weight: 600;
  display: grid; place-content: center; gap: 2px; text-align: center; cursor: pointer; transition: background-color .16s var(--ease), transform .14s var(--ease); }
.ck-opt small { font-size: var(--t-xs); font-weight: 500; color: var(--accent); }
.ck-opt:active { transform: scale(.97); background: var(--t2); }
@media (hover: hover) { .ck-opt:hover { border-color: var(--accent); } }
.ck-areas .ck-opt { min-height: 76px; }
.ck-opt.ghost { grid-column: 1 / -1; border-style: dashed; color: var(--muted); font-weight: 500; font-size: 16px; }
.ck-direct summary { min-height: 44px; display: flex; align-items: center; color: var(--accent); font-size: var(--t-xs); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ck-direct .vil-pick { display: grid; gap: 6px; padding-top: 4px; }
.ck-direct[hidden], .ck-more[hidden], .ck-find[hidden], .ck-done[hidden] { display: none; }
.ck-more { display: grid; gap: 12px; }
.ck-more input { font-size: 17px; }
.ck-phone { position: relative; display: grid; }
.ck-ok { position: absolute; inset-inline-end: 14px; top: 50%; translate: 0 -50%; color: #15803d; font-style: normal; font-weight: 700; font-size: 18px; }
.ck-trust { margin: 0; padding: 4px 0 0; list-style: none; display: grid; gap: 8px; font-size: var(--t-xs); color: var(--muted); }
.ck-trust li { display: flex; align-items: center; gap: 10px; }
.ck-trust .lucide { width: 18px; height: 18px; color: var(--accent); flex: none; }
.btn-order { position: sticky; bottom: 0; min-height: 60px; font-size: var(--t-m); box-shadow: 0 -16px 16px var(--surface); }
.ck-done { margin: 0 24px 24px; padding: 28px 20px; background: var(--surface); display: grid; gap: 12px; justify-items: center; text-align: center; outline: 0; }
.ck-done-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #15803d; color: #fff; }
.ck-done-mark .lucide { width: 34px; height: 34px; stroke-width: 3; }
.ck-done h3 { font-size: 24px; }
.ck-done-sum { color: var(--muted); }
.ck-next { margin: 4px 0 8px; padding: 0; list-style: none; display: grid; gap: 10px; justify-self: stretch; text-align: start; }
.ck-next li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg); }
.ck-next .lucide { width: 22px; height: 22px; color: var(--accent); flex: none; }
.ck-help { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: var(--t-xs); }
.ck-help svg { width: 20px; height: 20px; fill: var(--wa); }
/* inputs inside grids: never wider than their column (an input's default width pushed the sheets sideways on phones) */
.size-in label, .track-form label, .ck-more label { min-width: 0; }
.size-in input, .track-form input, .ck-find input, .ck-direct input, .bag-foot input { width: 100%; min-width: 0; box-sizing: border-box; }
