@import url('../fonts/fonts.css');

/* ============================================================
   GUL PLAZA v2 — storefront
   "Bazaar Modern": the warmth of a Pakistani bazaar, the
   restraint of an editorial page.

   Rules this file lives by:
     - one colour means "buy" (marigold). Nothing else uses it.
     - magenta only ever means "this is discounted".
     - only transform and opacity are animated.
     - no !important, no framework, no third-party anything.
     - every interactive target is at least 44px on touch.
   ============================================================ */

/* ---------- 1. tokens ------------------------------------- */
:root {
  /* ground + ink */
  --paper:      #FAF6F0;   /* warm off-white — the shop wall     */
  --paper-2:    #F3ECE2;   /* recessed panels                    */
  --card:       #FFFFFF;   /* the shelf                          */
  --ink:        #12211F;
  --ink-2:      #4A5C59;
  --ink-3:      #7A8985;
  --line:       #E4DCD0;
  --line-2:     #EFE8DE;

  /* brand */
  --peacock:    #0C5B57;
  --peacock-d:  #08403D;
  --peacock-l:  #E7F0EF;
  --gold:       #F2A413;   /* BUY. only buy.                     */
  --gold-d:     #D98F06;
  --gold-l:     #FDF1DA;
  --sale:       #C81E68;   /* discount only                      */
  --sale-l:     #FCE9F1;
  --wa:         #1FA855;
  --star:       #F5A623;

  /* geometry */
  --r-card:  14px;
  --r-btn:   10px;
  --r-pill:  999px;
  --wrap:    1240px;
  --gut:     16px;

  /* elevation — tinted with the ink, never pure black */
  --sh-1: 0 1px 2px rgba(18,33,31,.05), 0 1px 1px rgba(18,33,31,.04);
  --sh-2: 0 2px 6px rgba(18,33,31,.06), 0 6px 16px rgba(18,33,31,.05);
  --sh-3: 0 8px 28px rgba(18,33,31,.11);
  --sh-gold: 0 4px 14px rgba(217,143,6,.32);

  /* type */
  --f-head: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --f-body: 'Inter Tight', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --t-xs:  .75rem;
  --t-sm:  .8125rem;
  --t-md:  .9375rem;
  --t-lg:  1.0625rem;
  --t-xl:  clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --t-2xl: clamp(1.35rem, 1.15rem + 1vw, 1.85rem);
  --t-3xl: clamp(1.7rem, 1.3rem + 2vw, 2.6rem);

  --ease: cubic-bezier(.32, .72, 0, 1);
  --dur:  .22s;

  --hdr-h: 62px;
}

@media (max-width: 700px) { :root { --gut: 16px; --hdr-h: 56px; } }

/* ---------- 2. reset -------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

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

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2.5px solid var(--peacock);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }

ul, ol { padding: 0; list-style: none; }

/* Icons ship without width/height, so each component sizes its own.
   This is the safety net for when one forgets: :where() carries zero
   specificity, so every component rule still wins, but an unstyled icon
   lands at 18px instead of stretching to fill its flex row. */
:where(svg) { width: 18px; height: 18px; flex: none; }

/* Prices, quantities and order numbers are DATA. Monospace makes
   them scannable and stops digits jittering as they change. */
.num { font-family: var(--f-mono); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. buttons ------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border-radius: var(--r-btn);
  font-weight: 600; font-size: var(--t-md); line-height: 1;
  text-align: center; white-space: nowrap;
  transition: transform var(--dur) var(--ease), background-color var(--dur), box-shadow var(--dur);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.975); }

/* THE buy button. Marigold appears nowhere else on the site. */
.btn-buy {
  background: var(--gold); color: #35240A;
  box-shadow: var(--sh-gold);
  font-weight: 600;
}
.btn-buy:hover { background: var(--gold-d); }

.btn-primary { background: var(--peacock); color: #fff; }
.btn-primary:hover { background: var(--peacock-d); }

.btn-outline { border: 1.5px solid var(--peacock); color: var(--peacock); background: var(--card); }
.btn-outline:hover { background: var(--peacock-l); }

.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink-3); }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.94); }

.btn-lg { min-height: 52px; font-size: var(--t-lg); padding: 0 26px; }
.btn-sm { min-height: 36px; font-size: var(--t-sm); padding: 0 13px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .45; pointer-events: none; box-shadow: none;
}

/* ---------- 4. announcement bar --------------------------- */
/* Three messages on one CSS transform track. Dismissing sets a
   localStorage flag that site.js reads before first paint. */
.ann {
  position: relative;
  background: var(--peacock-d); color: #EAF3F1;
  font-size: var(--t-sm); letter-spacing: .01em;
  overflow: hidden;
}
.ann-track { display: flex; transition: transform .55s var(--ease); }
.ann-msg {
  flex: 0 0 100%;
  min-height: 38px; padding: 9px 44px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center;
}
.ann-msg b { color: var(--gold); font-weight: 600; }
.ann-x {
  position: absolute; inset-block: 0; right: 2px;
  width: 40px; display: grid; place-items: center;
  color: #9FBFBB;
}
.ann-x:hover { color: #fff; }
.ann-x svg { width: 15px; height: 15px; }
.ann[hidden] { display: none; }

/* ---------- 5. header ------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.hdr-row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 18px;
  height: var(--hdr-h);
}

.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 38px; height: 38px; border-radius: var(--r-pill); }
.logo b {
  font-family: var(--f-head); font-weight: 800;
  font-size: 1.16rem; letter-spacing: -.03em; line-height: 1;
  color: var(--peacock); display: block;
}
.logo small {
  display: block; font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 3px;
}

.search { position: relative; max-width: 560px; width: 100%; }
.search input {
  width: 100%; height: 42px;
  padding: 0 46px 0 16px;
  background: var(--paper-2);
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font-size: var(--t-md);
  transition: border-color var(--dur), background-color var(--dur);
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { background: var(--card); border-color: var(--peacock); outline: none; }
.search button {
  position: absolute; right: 4px; top: 4px;
  width: 34px; height: 34px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: var(--peacock); color: #fff;
}
.search button svg { width: 17px; height: 17px; }

.hacts { display: flex; align-items: center; gap: 6px; flex: none; }
.hact {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 52px; padding: 6px 8px; border-radius: var(--r-btn);
  font-size: 11px; font-weight: 600; color: var(--ink-2);
  transition: background-color var(--dur);
}
.hact:hover { background: var(--paper-2); }
.hact svg { width: 21px; height: 21px; }
.hact .cnt {
  position: absolute; top: 1px; right: 5px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--sale); color: #fff;
  font: 600 10.5px/18px var(--f-mono); font-style: normal;
  text-align: center;
}

/* department strip */
.deptbar { background: var(--card); border-bottom: 1px solid var(--line); }
.deptbar .wrap {
  display: flex; gap: 2px;
  overflow-x: auto; scrollbar-width: none;
}
.deptbar .wrap::-webkit-scrollbar { display: none; }
.deptbar a {
  flex: none; position: relative;
  padding: 11px 13px;
  font-size: var(--t-sm); font-weight: 600; color: var(--ink-2);
  white-space: nowrap;
  transition: color var(--dur);
}
.deptbar a::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 0;
  height: 2.5px; background: var(--peacock);
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--dur) var(--ease);
}
.deptbar a:hover { color: var(--ink); }
.deptbar a.on { color: var(--peacock); }
.deptbar a.on::after { transform: scaleX(1); }
.deptbar a.hot { color: var(--sale); }

@media (max-width: 860px) {
  .hdr-row { grid-template-columns: auto 1fr auto; gap: 10px; }
  .logo small { display: none; }
  .logo img { width: 34px; height: 34px; }
  .hact span { display: none; }
  .hact { min-width: 40px; }
}
@media (max-width: 520px) {
  .logo b { font-size: 1.02rem; }
  .search input { height: 38px; font-size: var(--t-sm); }
}

/* ---------- 6. mobile bottom nav -------------------------- */
.mnav { display: none; }
@media (max-width: 860px) {
  .mnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: var(--card);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 14px rgba(18,33,31,.07);
  }
  .mnav a {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; min-height: 56px;
    font-size: 10.5px; font-weight: 600; color: var(--ink-3);
  }
  .mnav a svg { width: 21px; height: 21px; }
  .mnav a.on { color: var(--peacock); }
  .mnav .cnt {
    position: absolute; top: 6px; right: calc(50% - 20px);
    min-width: 17px; height: 17px; padding: 0 4px;
    border-radius: var(--r-pill); background: var(--sale); color: #fff;
    font: 600 10px/17px var(--f-mono); font-style: normal; text-align: center;
  }
  body { padding-bottom: 58px; }
}

/* ---------- 7. section chrome ----------------------------- */
.sect { padding: 34px 0; }
.sect-tight { padding: 22px 0; }
.sect-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 16px;
}
.sect-head h2 {
  font-size: var(--t-2xl);
  display: flex; align-items: center; gap: 10px;
}
/* the tile mark — a small rotated square, the one repeating motif */
.sect-head h2::before {
  content: ''; flex: none;
  width: 11px; height: 11px;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 2px;
}
.sect-head p { color: var(--ink-3); font-size: var(--t-sm); margin-top: 3px; }
.sect-more {
  flex: none; font-size: var(--t-sm); font-weight: 600; color: var(--peacock);
  display: inline-flex; align-items: center; gap: 4px;
}
.sect-more svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.sect-more:hover svg { transform: translateX(3px); }

/* ---------- 8. hero slider -------------------------------- */
.hero { padding-top: 18px; }
.hero-box {
  position: relative;
  border-radius: 18px; overflow: hidden;
  background: var(--peacock);
  box-shadow: var(--sh-2);
}
.hero-track { display: flex; transition: transform .6s var(--ease); }
.hero-slide {
  flex: 0 0 100%;
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr;
  min-height: 300px;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  gap: 12px; padding: 34px clamp(20px, 4vw, 48px);
  z-index: 2;
}
.hero-eyebrow {
  align-self: flex-start;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
  padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.1);
}
.hero-slide h2 { font-size: var(--t-3xl); color: #fff; max-width: 15ch; }
.hero-slide p { color: #CFE2DF; font-size: var(--t-lg); max-width: 34ch; }
.hero-slide .btn { align-self: flex-start; margin-top: 6px; }
/* A banner with no artwork yet: the copy takes the full width and a
   cheap geometric field stands in for the photo. Nothing looks broken
   while photography is being prepared. */
.hero-slide.noart { grid-template-columns: 1fr; }
.hero-slide.noart .hero-copy { padding-block: clamp(38px, 6vw, 62px); max-width: 640px; }
.hero-slide.noart .hero-art { display: none; }
.hero-slide.noart::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 100% at 100% 50%, rgba(242,164,19,.15) 0%, rgba(242,164,19,0) 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 2px, transparent 2px 16px);
}

.hero-art { position: relative; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
/* soft blend from the copy panel into the photo */
.hero-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--slide-bg, var(--peacock)) 0%, rgba(12,91,87,0) 42%);
}

.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: 7px; z-index: 3;
}
.hero-dots button {
  width: 8px; height: 8px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.42);
  transition: width var(--dur) var(--ease), background-color var(--dur);
}
.hero-dots button.on { width: 26px; background: var(--gold); }

.hero-arrow {
  position: absolute; top: 50%; z-index: 3;
  width: 38px; height: 38px; margin-top: -19px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.92); color: var(--ink);
  box-shadow: var(--sh-2);
  opacity: 0; transition: opacity var(--dur);
}
.hero-box:hover .hero-arrow { opacity: 1; }
.hero-arrow svg { width: 17px; height: 17px; }
.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }

@media (max-width: 780px) {
  .hero-slide { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { order: 2; padding: 20px 20px 22px; gap: 9px; }
  .hero-slide h2 { font-size: 1.5rem; max-width: none; }
  .hero-slide p { font-size: var(--t-md); }
  .hero-art { order: 1; aspect-ratio: 16 / 10; }
  .hero-art::after { background: linear-gradient(0deg, var(--slide-bg, var(--peacock)) 0%, rgba(12,91,87,0) 55%); }
  .hero-dots { position: static; padding: 0 0 12px; }
  .hero-dots button { background: rgba(255,255,255,.5); }
  .hero-arrow { display: none; }
}

/* ---------- 9. circular category rail --------------------- */
.crail-wrap { position: relative; }
/* No scroll-snap here: the rail auto-scrolls a fraction of a pixel per
   frame, and proximity snapping fights that and makes it stutter. The
   product rails below keep their snap — they are only ever swiped. */
.crail {
  display: flex; gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 6px;
}
.crail::-webkit-scrollbar { display: none; }
/* While the marquee is running the browser must not smooth-scroll on
   its own, or the two fight over scrollLeft. */
.crail.marquee { scroll-behavior: auto; }

.cat {
  flex: none; scroll-snap-align: start;
  width: 92px; padding: 6px 2px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
}
.cat-ring {
  position: relative;
  width: 74px; height: 74px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--cat-tint, var(--peacock-l));
  color: var(--peacock);
  transition: transform var(--dur) var(--ease);
}
.cat-ring img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-pill);
}
.cat-ring svg { width: 33px; height: 33px; stroke-width: 1.5; }
/* the gold ring, drawn as a dashed conic so it costs nothing */
.cat-ring::after {
  content: ''; position: absolute; inset: -5px;
  border-radius: var(--r-pill);
  border: 1.5px dashed var(--gold);
  opacity: 0;
  transition: opacity var(--dur), transform .5s var(--ease);
  transform: rotate(-25deg);
}
.cat:hover .cat-ring { transform: translateY(-3px); }
.cat:hover .cat-ring::after { opacity: .85; transform: rotate(0deg); }
.cat b {
  font-size: 11.5px; font-weight: 600; line-height: 1.25;
  color: var(--ink); letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 520px) {
  .cat { width: 78px; }
  .cat-ring { width: 64px; height: 64px; }
  .cat-ring svg { width: 28px; height: 28px; }
}

/* ---------- 10. trust strip ------------------------------- */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  overflow: hidden;
}
.trust div {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 15px;
  background: var(--card);
}
.trust svg { width: 22px; height: 22px; flex: none; color: var(--peacock); }
.trust b { display: block; font-size: var(--t-sm); font-weight: 600; }
.trust span { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.35; }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .trust div { padding: 11px; gap: 8px; } .trust svg { width: 19px; height: 19px; } }

/* ---------- 11. product card ------------------------------ */
.grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
@media (max-width: 700px) { .grid { gap: 10px; grid-template-columns: repeat(2, 1fr); } }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line); }

.card-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--card-tint, var(--paper-2));
  display: grid; place-items: center;
  overflow: hidden;
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease);
}
.card:hover .card-img img { transform: scale(1.045); }
/* placeholder when a product has no photo yet */
.card-img .ph { width: 42%; height: 42%; color: rgba(18,33,31,.22); }

/* the price tag — a notched bazaar tag, the second motif */
.tag {
  position: absolute; top: 9px; left: 0;
  padding: 4px 10px 4px 9px;
  background: var(--sale); color: #fff;
  font: 600 11.5px/1 var(--f-mono); letter-spacing: -.02em;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 6px rgba(200,30,104,.3);
}
.tag::before {
  content: ''; position: absolute; right: 5px; top: 50%;
  width: 3px; height: 3px; margin-top: -1.5px;
  border-radius: var(--r-pill); background: rgba(255,255,255,.55);
}
.badge-out {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(250,246,240,.76);
  font-size: var(--t-sm); font-weight: 600; color: var(--ink-2);
  letter-spacing: .04em; text-transform: uppercase;
}

/* Earned badge — best seller, highly rated, nearly gone. Sits bottom-left
   so it never collides with the discount tag at top-left. One per card:
   two urgency flags on one card just cancel each other out. */
.pbadge {
  position: absolute; left: 8px; bottom: 8px;
  padding: 4px 9px; border-radius: var(--r-pill);
  font: 600 10.5px/1.35 var(--f-body); letter-spacing: .02em;
  background: var(--card); color: var(--ink-2);
  box-shadow: 0 1px 5px rgba(18,33,31,.14);
  display: inline-flex; align-items: center; gap: 4px;
}
.pbadge::before {
  content: ''; width: 5px; height: 5px; border-radius: var(--r-pill);
  background: currentColor; flex: none;
}
.pbadge.hot  { color: #A4460B; }
.pbadge.star { color: #8A6100; }
.pbadge.warm { color: var(--peacock); }
.pbadge.low  { color: var(--sale); }
.pbadge.low::before { animation: pulse 1.8s ease-in-out infinite; }

.card-body { display: flex; flex-direction: column; gap: 5px; padding: 11px 12px 13px; flex: 1; }
.card-cat { font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.card-title {
  font-family: var(--f-body); font-weight: 600; font-size: var(--t-md);
  line-height: 1.32; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-hook {
  font-size: 11.5px; color: var(--ink-3); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-price { display: flex; align-items: baseline; gap: 7px; margin-top: auto; padding-top: 6px; }
.card-price .now { font-family: var(--f-mono); font-weight: 600; font-size: 1.02rem; letter-spacing: -.03em; }
.card-price .was { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); text-decoration: line-through; }

.stars { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--ink-3); }
.stars .s { display: inline-flex; gap: 1px; }
.stars svg { width: 12px; height: 12px; color: var(--line); }
.stars svg.f { color: var(--star); }
.stars b { font-family: var(--f-mono); font-weight: 600; color: var(--ink-2); font-size: 11px; }

/* whole card is one link; the buy button sits above it */
.card-link { position: absolute; inset: 0; z-index: 1; }
.card-buy { position: relative; z-index: 2; margin-top: 9px; }

.low-stock {
  font-size: 11px; font-weight: 600; color: var(--sale);
  display: flex; align-items: center; gap: 5px;
}
.low-stock::before {
  content: ''; width: 5px; height: 5px; border-radius: var(--r-pill);
  background: var(--sale); animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }

/* Backorder reuses the low-stock slot but must not read as urgency —
   it is information, not a nudge. Calm ink, no pulsing dot. */
.low-stock.backorder { color: var(--ink-2); font-weight: 500; }
.low-stock.backorder::before { display: none; }
.low-stock.backorder svg { width: 13px; height: 13px; color: var(--ink-3); }

/* ---------- 12. horizontal product rail ------------------- */
.rail {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 4px;
  scroll-padding-inline: var(--gut);
}
.rail::-webkit-scrollbar { display: none; }
.rail > .card { flex: 0 0 208px; scroll-snap-align: start; }
@media (max-width: 700px) { .rail > .card { flex: 0 0 156px; } .rail { gap: 10px; } }

/* ---------- 13. flash sale -------------------------------- */
.flash {
  border-radius: 18px;
  background:
    radial-gradient(120% 130% at 8% 0%, rgba(242,164,19,.16) 0%, rgba(242,164,19,0) 55%),
    var(--peacock-d);
  padding: 20px clamp(16px, 3vw, 26px) 22px;
  color: #fff;
}
.flash .sect-head { margin-bottom: 14px; }
.flash .sect-head h2 { color: #fff; }
.flash .sect-head p { color: #A8C6C2; }
.flash .sect-more { color: var(--gold); }
/* The panel is white-on-dark, but a product card inside it is a white
   card — it has to take the normal ink colour back or the title and
   price disappear against their own background. */
.flash .card { border-color: transparent; color: var(--ink); }
.flash .card .card-cat, .flash .card .card-hook { color: var(--ink-3); }
.flash .card .was { color: var(--ink-3); }

.clock { display: flex; align-items: center; gap: 6px; }
.clock span {
  min-width: 34px; padding: 6px 5px;
  border-radius: 8px; background: rgba(255,255,255,.12);
  font: 600 var(--t-md)/1 var(--f-mono); color: #fff;
  text-align: center; font-variant-numeric: tabular-nums;
}
.clock i { font-style: normal; color: var(--gold); font-weight: 600; }

/* ---------- 14. department block -------------------------- */
.deptblock { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; }
.deptcard {
  position: relative; overflow: hidden;
  border-radius: var(--r-card);
  background: var(--dept-tint, var(--peacock-l));
  padding: 22px 20px 20px;
  min-height: 260px;
  display: flex; flex-direction: column; gap: 10px;
}
.deptcard h3 { font-size: var(--t-xl); max-width: 12ch; }
.deptcard p { font-size: var(--t-sm); color: var(--ink-2); max-width: 24ch; }
.deptcard .btn { align-self: flex-start; margin-top: auto; }
/* oversized watermark glyph, clipped by the card */
.deptcard .mark {
  position: absolute; right: -22px; bottom: -22px;
  width: 148px; height: 148px;
  color: var(--ink); opacity: .07; stroke-width: 1;
  pointer-events: none;
}
.deptblock .subchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

@media (max-width: 860px) {
  .deptblock { grid-template-columns: 1fr; }
  .deptcard { min-height: 0; padding: 18px; }
  .deptcard .mark { width: 110px; height: 110px; }
}

/* ---------- 15. chips ------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px; padding: 0 13px;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: var(--card);
  font-size: var(--t-sm); font-weight: 600; color: var(--ink-2);
  white-space: nowrap;
  transition: border-color var(--dur), background-color var(--dur), color var(--dur);
}
.chip:hover { border-color: var(--peacock); color: var(--peacock); }
.chip.on { background: var(--peacock); border-color: var(--peacock); color: #fff; }
.chip i { font-style: normal; font-family: var(--f-mono); font-size: 11px; opacity: .7; }
.chip svg { width: 13px; height: 13px; }
.chiprow { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chiprow::-webkit-scrollbar { display: none; }
.chiprow .chip { flex: none; }

/* ---------- 16. reviews ----------------------------------- */
.revgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.revcard {
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--r-card); padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.revcard .stars svg { width: 14px; height: 14px; }
.revcard p { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.55; }
.revcard footer { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.revcard .who { font-size: var(--t-sm); font-weight: 600; }
.revcard .where { font-size: 11.5px; color: var(--ink-3); }
.verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 600; color: var(--wa);
  padding: 2px 7px; border-radius: var(--r-pill); background: #E8F6EE;
}
.verified svg { width: 11px; height: 11px; stroke-width: 2.6; }

.ratebar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; font-size: var(--t-sm); }
.ratebar .track { height: 7px; border-radius: var(--r-pill); background: var(--paper-2); overflow: hidden; }
.ratebar .fill { height: 100%; background: var(--star); border-radius: var(--r-pill); }
.ratebar .n { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); min-width: 30px; text-align: right; }

/* ---------- 17. footer ------------------------------------ */
.ftr { margin-top: 46px; background: var(--peacock-d); color: #C6DAD7; }
.ftr-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; padding: 40px 0 32px; }
.ftr h4 {
  font-family: var(--f-body); font-weight: 600; font-size: var(--t-sm);
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
  margin-bottom: 13px;
}
.ftr a { display: block; padding: 4px 0; font-size: var(--t-sm); transition: color var(--dur); }
.ftr a:hover { color: var(--gold); }
.ftr-brand b {
  font-family: var(--f-head); font-weight: 800; font-size: 1.35rem;
  color: #fff; display: block; letter-spacing: -.03em;
}
.ftr-brand p { font-size: var(--t-sm); margin: 9px 0 15px; max-width: 34ch; line-height: 1.6; }
.ftr-contact { display: flex; align-items: flex-start; gap: 9px; padding: 5px 0; font-size: var(--t-sm); }
.ftr-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--gold); }
.ftr-social { display: flex; gap: 8px; margin-top: 14px; }
.ftr-social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: var(--r-pill); background: rgba(255,255,255,.09); padding: 0;
}
.ftr-social a:hover { background: var(--gold); color: var(--peacock-d); }
.ftr-social svg { width: 17px; height: 17px; }
.ftr-pay { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.ftr-pay span {
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 9px; border-radius: 6px;
  background: rgba(255,255,255,.08); color: #DCEAE8;
}
.ftr-btm {
  border-top: 1px solid rgba(255,255,255,.11);
  padding: 15px 0 22px;
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between;
  font-size: var(--t-xs); color: #9BB8B4;
}
.ftr-btm nav { display: flex; flex-wrap: wrap; gap: 14px; }
.ftr-btm a { display: inline; padding: 0; font-size: var(--t-xs); }
@media (max-width: 860px) { .ftr-top { grid-template-columns: 1fr 1fr; gap: 22px; padding: 30px 0 24px; } }

/* On a phone a single column turns the footer into one long wall of
   left-aligned links. Shop and Help are short lists, so they stay side
   by side; only the brand blurb and the contact details — the two that
   need the room — span the full width. */
@media (max-width: 520px) {
  .ftr-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
    padding: 30px 0 24px;
  }
  .ftr-brand,
  .ftr-top > div:last-child { grid-column: 1 / -1; }
  .ftr-brand {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
  }
  .ftr-brand p { max-width: none; }
  .ftr h4 { margin-bottom: 9px; }
  .ftr a { padding: 6px 0; }           /* a thumb-sized tap target */
  .ftr-btm { justify-content: flex-start; gap: 12px; padding-bottom: 26px; }
}

/* ---------- 18. floating whatsapp ------------------------- */
.wafab {
  position: fixed; right: 15px; bottom: 15px; z-index: 65;
  width: 50px; height: 50px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 5px 18px rgba(31,168,85,.4);
  transition: transform var(--dur) var(--ease);
}
.wafab:hover { transform: scale(1.07); }
.wafab svg { width: 26px; height: 26px; }
@media (max-width: 860px) { .wafab { bottom: 68px; width: 46px; height: 46px; } .wafab svg { width: 24px; height: 24px; } }

/* ---------- 19. toast + flash ----------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 90;
  transform: translate(-50%, 90px);
  max-width: min(420px, calc(100vw - 28px));
  display: flex; align-items: center; gap: 9px;
  padding: 12px 17px; border-radius: var(--r-btn);
  background: var(--ink); color: #fff;
  font-size: var(--t-sm); font-weight: 500;
  box-shadow: var(--sh-3);
  transition: transform .3s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }
.toast.bad { background: var(--sale); }
.toast svg { width: 17px; height: 17px; flex: none; }
@media (max-width: 860px) { .toast { bottom: 70px; } }

.note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--r-btn);
  font-size: var(--t-sm); line-height: 1.5;
  background: var(--peacock-l); color: var(--peacock-d);
  border: 1px solid rgba(12,91,87,.15);
}
.note svg { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.note.bad { background: var(--sale-l); color: #8A1147; border-color: rgba(200,30,104,.16); }
.note.warn { background: var(--gold-l); color: #7A5304; border-color: rgba(242,164,19,.25); }

/* ---------- 20. breadcrumbs + page head ------------------- */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px;
  padding: 13px 0; font-size: var(--t-sm); color: var(--ink-3);
}
.crumbs a:hover { color: var(--peacock); }
.crumbs svg { width: 13px; height: 13px; opacity: .5; }
.crumbs b { color: var(--ink-2); font-weight: 600; }

.pagehead { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.pagehead h1 { font-size: var(--t-2xl); }
.pagehead .count { font-size: var(--t-sm); color: var(--ink-3); font-family: var(--f-mono); }

/* ---------- 21. listing + filters ------------------------- */
.listing { display: grid; grid-template-columns: 236px 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .listing { grid-template-columns: 1fr; gap: 14px; } }

.filters {
  position: sticky; top: calc(var(--hdr-h) + 12px);
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--r-card); overflow: hidden;
}
.fgroup { border-bottom: 1px solid var(--line-2); padding: 14px 15px; }
.fgroup:last-child { border-bottom: 0; }
.fgroup > h3 {
  font-family: var(--f-body); font-weight: 600; font-size: var(--t-sm);
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 10px;
}
.fgroup label {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 0; font-size: var(--t-sm); cursor: pointer;
}
.fgroup label:hover { color: var(--peacock); }
.fgroup input[type=checkbox], .fgroup input[type=radio] {
  width: 17px; height: 17px; accent-color: var(--peacock); flex: none;
}
.fgroup label .n { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }

.frange { display: flex; align-items: center; gap: 8px; }
.frange input {
  width: 100%; min-width: 0; height: 38px; padding: 0 10px;
  border: 1.5px solid var(--line); border-radius: 8px;
  font-family: var(--f-mono); font-size: var(--t-sm);
  background: var(--paper);
}
.frange input:focus { border-color: var(--peacock); outline: none; background: var(--card); }
.frange span { color: var(--ink-3); }

.toolbar {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.toolbar select {
  height: 40px; padding: 0 34px 0 13px;
  border: 1.5px solid var(--line); border-radius: var(--r-btn);
  background: var(--card) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5C59' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E") no-repeat right 11px center / 15px;
  font-size: var(--t-sm); font-weight: 600;
  appearance: none; cursor: pointer;
}
.toolbar select:focus { border-color: var(--peacock); outline: none; }
.fbtn { display: none; }

.activef { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.activef .chip { background: var(--peacock-l); border-color: transparent; color: var(--peacock-d); }
.activef .chip svg { opacity: .6; }

@media (max-width: 900px) {
  .filters {
    position: fixed; inset: auto 0 0 0; z-index: 80;
    max-height: 82vh; overflow-y: auto;
    border-radius: 20px 20px 0 0;
    transform: translateY(101%);
    transition: transform .3s var(--ease);
    box-shadow: 0 -8px 30px rgba(18,33,31,.2);
  }
  .filters.open { transform: translateY(0); }
  .filters-head {
    position: sticky; top: 0; z-index: 2;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 15px; border-bottom: 1px solid var(--line-2);
    background: var(--card);
  }
  .filters-head h2 { font-size: var(--t-lg); }
  .filters-foot {
    position: sticky; bottom: 0;
    display: flex; gap: 9px; padding: 12px 15px;
    background: var(--card); border-top: 1px solid var(--line-2);
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .fbtn { display: inline-flex; }
  .scrim {
    position: fixed; inset: 0; z-index: 79;
    background: rgba(18,33,31,.4);
    opacity: 0; pointer-events: none;
    transition: opacity var(--dur);
  }
  .scrim.on { opacity: 1; pointer-events: auto; }
}
@media (min-width: 901px) { .filters-head, .filters-foot { display: none; } }

.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 26px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: var(--r-btn);
  background: var(--card);
  font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 600;
}
.pager a:hover { border-color: var(--peacock); color: var(--peacock); }
.pager .on { background: var(--peacock); border-color: var(--peacock); color: #fff; }
.pager .gap { border: 0; background: none; min-width: 20px; color: var(--ink-3); }

.empty { text-align: center; padding: 54px 20px; }
.empty svg { width: 52px; height: 52px; color: var(--line); margin: 0 auto 14px; }
.empty h2 { font-size: var(--t-xl); margin-bottom: 6px; }
.empty p { color: var(--ink-3); font-size: var(--t-sm); margin-bottom: 16px; }

/* ---------- 22. product page ------------------------------ */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 30px; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 18px; } }

.gallery { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: start; }
.gallery-main {
  position: relative;
  aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden;
  background: var(--card-tint, var(--paper-2));
  border: 1px solid var(--line-2);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 8px; }
.gallery-thumbs button {
  aspect-ratio: 1; border-radius: 9px; overflow: hidden;
  border: 2px solid transparent; background: var(--paper-2);
  transition: border-color var(--dur);
}
.gallery-thumbs button.on { border-color: var(--peacock); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .gallery-thumbs::-webkit-scrollbar { display: none; }
  .gallery-thumbs button { flex: 0 0 58px; }
}

.pdp-info { display: flex; flex-direction: column; gap: 13px; }
.pdp-info h1 { font-size: var(--t-2xl); line-height: 1.18; }
.pdp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--t-sm); color: var(--ink-3); }
.pdp-meta a { color: var(--peacock); font-weight: 600; }

.pricebox {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  padding: 14px 0; border-block: 1px solid var(--line-2);
}
.pricebox .now { font-family: var(--f-mono); font-weight: 600; font-size: 1.75rem; letter-spacing: -.04em; }
.pricebox .was { font-family: var(--f-mono); font-size: var(--t-md); color: var(--ink-3); text-decoration: line-through; }
.pricebox .save {
  font-size: var(--t-sm); font-weight: 600; color: var(--sale);
  padding: 3px 9px; border-radius: var(--r-pill); background: var(--sale-l);
}

.optrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.optrow > label { font-size: var(--t-sm); font-weight: 600; min-width: 62px; }
.opt {
  min-width: 46px; min-height: 40px; padding: 0 13px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: 9px;
  background: var(--card); font-size: var(--t-sm); font-weight: 600;
  transition: border-color var(--dur), background-color var(--dur);
}
.opt:hover { border-color: var(--ink-3); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--peacock); background: var(--peacock-l); color: var(--peacock-d); }

.stepper {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: var(--r-btn);
  background: var(--card); overflow: hidden;
}
.stepper button { width: 40px; height: 42px; display: grid; place-items: center; color: var(--ink-2); }
.stepper button:hover { background: var(--paper-2); }
.stepper button svg { width: 15px; height: 15px; stroke-width: 2.4; }
.stepper input {
  width: 46px; height: 42px; border: 0; text-align: center;
  font-family: var(--f-mono); font-weight: 600; font-size: var(--t-md);
  background: none; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.buybox { display: flex; flex-direction: column; gap: 9px; }
.buybox .cod-note {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: var(--t-sm); color: var(--ink-2);
}
.buybox .cod-note svg { width: 16px; height: 16px; color: var(--wa); }

.usp { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden; }
.usp div { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--card); font-size: var(--t-sm); }
.usp svg { width: 18px; height: 18px; flex: none; color: var(--peacock); margin-top: 1px; }
.usp b { display: block; font-weight: 600; }
.usp span { color: var(--ink-3); font-size: 12px; }

/* collapsible panels */
.acc { border-top: 1px solid var(--line-2); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 2px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: var(--t-md);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 17px; height: 17px; color: var(--ink-3); transition: transform var(--dur) var(--ease); }
.acc[open] summary svg { transform: rotate(180deg); }
.acc .acc-body { padding: 0 2px 17px; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.65; }
.acc .acc-body p + p { margin-top: 10px; }

.spectable { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.spectable th, .spectable td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spectable th { color: var(--ink-3); font-weight: 500; width: 42%; }
.spectable td { font-weight: 600; }
.spectable tr:last-child th, .spectable tr:last-child td { border-bottom: 0; }

/* sticky buy bar on mobile */
.stickybuy { display: none; }
@media (max-width: 900px) {
  .stickybuy {
    position: fixed; left: 0; right: 0; bottom: 58px; z-index: 68;
    display: flex; align-items: center; gap: 10px;
    padding: 9px var(--gut);
    padding-bottom: calc(9px + env(safe-area-inset-bottom));
    background: var(--card); border-top: 1px solid var(--line);
    box-shadow: 0 -3px 16px rgba(18,33,31,.09);
    transform: translateY(120%);
    transition: transform .28s var(--ease);
  }
  .stickybuy.show { transform: translateY(0); }
  .stickybuy .p { flex: none; }
  .stickybuy .p b { display: block; font-family: var(--f-mono); font-weight: 600; font-size: var(--t-lg); }
  .stickybuy .p span { display: block; font-size: 11px; color: var(--ink-3); }
  .stickybuy .btn { flex: 1; }
}

/* frequently bought together */
.fbt { display: flex; flex-direction: column; gap: 10px; }
.fbt-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px; border: 1.5px solid var(--line-2); border-radius: var(--r-btn);
  background: var(--card); cursor: pointer;
  transition: border-color var(--dur), background-color var(--dur);
}
.fbt-item:has(input:checked) { border-color: var(--peacock); background: var(--peacock-l); }
.fbt-item input { width: 19px; height: 19px; accent-color: var(--peacock); flex: none; }
.fbt-item img, .fbt-item .ph {
  width: 52px; height: 52px; flex: none; border-radius: 8px; object-fit: cover;
  background: var(--paper-2);
}
.fbt-item .t { flex: 1; min-width: 0; }
.fbt-item .t b {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: var(--t-sm); font-weight: 600; line-height: 1.3;
}
.fbt-item .t span { font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 600; }
.fbt-item .t s { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); margin-left: 5px; }
/* The trailing chevron on the product-page variant. Without an explicit
   size it swallowed the whole row on a phone and squeezed the title to
   nothing. */
.fbt-item > svg { width: 16px; height: 16px; color: var(--ink-3); margin-left: auto; }

/* ---------- 23. forms ------------------------------------- */
.field { display: flex; flex-direction: column; gap: 5px; }
.field > label { font-size: var(--t-sm); font-weight: 600; }
.field > label .req { color: var(--sale); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-btn);
  background: var(--card); font-size: var(--t-md);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 88px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--peacock); outline: none;
  box-shadow: 0 0 0 3px rgba(12,91,87,.11);
}
.field .hint { font-size: 11.5px; color: var(--ink-3); }
.field .err { font-size: 11.5px; color: var(--sale); font-weight: 600; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--sale); }
.field input[inputmode="numeric"], .field input[type="tel"] { font-family: var(--f-mono); letter-spacing: .02em; }

.form2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form2 .wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .form2 { grid-template-columns: 1fr; } }

/* ---------- 24. panels + summary -------------------------- */
.panel {
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--r-card); padding: 18px;
}
.panel + .panel { margin-top: 14px; }
.panel > h2 { font-size: var(--t-xl); margin-bottom: 13px; }
.panel > h3 {
  font-family: var(--f-body); font-weight: 600; font-size: var(--t-sm);
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 11px;
}

.sumrow { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: var(--t-sm); }
.sumrow span { color: var(--ink-2); }
.sumrow b { font-family: var(--f-mono); font-weight: 600; }
.sumrow.free b { color: var(--wa); }
.sumrow.total {
  border-top: 1.5px dashed var(--line); margin-top: 8px; padding-top: 13px;
  font-size: var(--t-lg);
}
.sumrow.total b { font-size: 1.3rem; letter-spacing: -.03em; }

.freebar { margin: 10px 0 2px; }
.freebar .track { height: 6px; border-radius: var(--r-pill); background: var(--paper-2); overflow: hidden; }
.freebar .fill { height: 100%; background: var(--wa); border-radius: var(--r-pill); transition: width .4s var(--ease); }
.freebar p { font-size: 11.5px; color: var(--ink-2); margin-top: 6px; }
.freebar b { color: var(--wa); font-weight: 600; }

/* ---------- 25. cart + line items ------------------------- */
.line {
  display: grid; grid-template-columns: 78px 1fr auto; gap: 13px;
  padding: 14px 0; border-bottom: 1px solid var(--line-2); align-items: start;
}
.line:last-child { border-bottom: 0; }
.line-img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-t b { display: block; font-size: var(--t-md); font-weight: 600; line-height: 1.35; }
.line-t span { font-size: var(--t-sm); color: var(--ink-3); }
.line-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line-actions .price { font-family: var(--f-mono); font-weight: 600; }
.line-rm { font-size: 11.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 4px; }
.line-rm:hover { color: var(--sale); }
.line-rm svg { width: 13px; height: 13px; }
@media (max-width: 560px) {
  .line { grid-template-columns: 66px 1fr; }
  .line-actions { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}

/* Cart and checkout share the express layout: content left, a sticky
   summary right, collapsing to one column on a phone. */
.cartgrid { display: grid; grid-template-columns: minmax(0, 1fr) 358px; gap: 22px; align-items: start; }
@media (max-width: 900px) { .cartgrid { grid-template-columns: 1fr; } }

.line-t b a { color: inherit; }
.line-t b a:hover { color: var(--peacock); }
.line-rm { background: none; border: 0; cursor: pointer; font: inherit; font-size: 11.5px; }

/* Promo code: input and button share one rounded shell so the pair
   reads as a single control. */
.couponrow { display: flex; gap: 7px; margin: 12px 0 4px; }
.couponrow input {
  flex: 1; min-width: 0;
  border: 1.5px solid var(--line); border-radius: var(--r-btn);
  padding: 9px 12px; font-size: var(--t-sm); background: var(--card); color: var(--ink);
}
.couponrow input:focus { outline: none; border-color: var(--peacock); }
.couponrow .btn { padding: 9px 15px; font-size: var(--t-sm); flex: none; }

/* Payment choices are cards, not bare radios — a bigger tap target and
   the selected one is obvious at a glance. */
.paylist { display: flex; flex-direction: column; gap: 9px; }
.paylist label {
  display: flex; align-items: center; gap: 11px; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: var(--r-btn);
  padding: 12px 14px; background: var(--card);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.paylist label:hover { border-color: var(--line); }
.paylist label.on { border-color: var(--peacock); background: var(--peacock-l); }
.paylist input { position: absolute; opacity: 0; width: 0; height: 0; }
.paylist .dot {
  width: 19px; height: 19px; flex: none; border-radius: var(--r-pill);
  border: 2px solid var(--line); display: grid; place-items: center;
  transition: border-color var(--dur) var(--ease);
}
.paylist .dot::after {
  content: ''; width: 9px; height: 9px; border-radius: var(--r-pill);
  background: var(--peacock); transform: scale(0);
  transition: transform var(--dur) var(--ease);
}
.paylist label.on .dot { border-color: var(--peacock); }
.paylist label.on .dot::after { transform: scale(1); }
.paylist .t { flex: 1; min-width: 0; }
.paylist .t b { display: block; font-size: var(--t-md); font-weight: 600; }
.paylist .t span { font-size: 11.5px; color: var(--ink-3); }
.paylist .pill {
  flex: none; font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; padding: 4px 8px; border-radius: var(--r-pill);
  background: var(--gold-l); color: #7A5304;
}

/* Compact order lines inside the checkout summary. */
.colines { display: flex; flex-direction: column; gap: 11px; }
.coline { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; }
.coline .th {
  position: relative; aspect-ratio: 1; border-radius: 8px;
  overflow: hidden; background: var(--paper-2); display: block;
}
.coline .th img { width: 100%; height: 100%; object-fit: cover; }
.coline .th svg { width: 20px; height: 20px; margin: 12px; color: var(--ink-3); }
.coline .th i {
  position: absolute; top: -6px; right: -6px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center; border-radius: var(--r-pill);
  background: var(--ink); color: #fff;
  font: 600 11px/1 var(--f-mono); font-style: normal;
}
.coline .t { min-width: 0; }
.coline .t b {
  display: block; font-size: var(--t-sm); font-weight: 600; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.coline .t span { font-size: 11px; color: var(--ink-3); }
.coline .p { font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 600; white-space: nowrap; }

/* ---------- 26. express COD checkout ---------------------- */
.express { display: grid; grid-template-columns: minmax(0, 1fr) 358px; gap: 22px; align-items: start; }
@media (max-width: 900px) { .express { grid-template-columns: 1fr; } }

.express-item {
  display: grid; grid-template-columns: 84px 1fr; gap: 13px; align-items: center;
}
.express-item .thumb { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.express-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.express-item h2 { font-family: var(--f-body); font-size: var(--t-md); font-weight: 600; line-height: 1.35; }
.express-item .p { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.express-item .p b { font-family: var(--f-mono); font-weight: 600; font-size: var(--t-lg); }
.express-item .p s { font-family: var(--f-mono); font-size: var(--t-sm); color: var(--ink-3); }

.upsell { display: flex; flex-direction: column; gap: 9px; }
.stepnum {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: var(--r-pill);
  background: var(--peacock); color: #fff;
  font: 600 12px/1 var(--f-mono); flex: none;
}
.paneltitle { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.paneltitle h2 { font-size: var(--t-lg); }

.summary-sticky { position: sticky; top: calc(var(--hdr-h) + 12px); }
@media (max-width: 900px) { .summary-sticky { position: static; } }

/* ---------- 27. thank you --------------------------------- */
.thanks { max-width: 660px; margin: 0 auto; text-align: center; padding: 22px 0; }
.thanks .tick {
  width: 68px; height: 68px; margin: 0 auto 16px;
  display: grid; place-items: center; border-radius: var(--r-pill);
  background: #E8F6EE; color: var(--wa);
  animation: pop .45s var(--ease) both;
}
.thanks .tick svg { width: 34px; height: 34px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.6); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.thanks h1 { font-size: var(--t-3xl); margin-bottom: 8px; }
.thanks .orderno {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 14px 0 6px; padding: 10px 16px;
  border: 1.5px dashed var(--line); border-radius: var(--r-btn);
  background: var(--card);
  font-family: var(--f-mono); font-weight: 600; font-size: var(--t-lg);
}
.thanks .orderno button { color: var(--ink-3); display: grid; place-items: center; }
.thanks .orderno button:hover { color: var(--peacock); }
.thanks .orderno svg { width: 16px; height: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0; }
.steps div { text-align: center; }
.steps .dot {
  width: 34px; height: 34px; margin: 0 auto 8px;
  display: grid; place-items: center; border-radius: var(--r-pill);
  background: var(--paper-2); color: var(--ink-3);
  position: relative;
}
.steps div:first-child .dot { background: var(--peacock); color: #fff; }
.steps .dot svg { width: 17px; height: 17px; }
.steps .dot::after {
  content: ''; position: absolute; left: calc(100% + 4px); top: 50%;
  width: calc(100% + 0px); height: 2px; background: var(--line-2);
}
.steps div:last-child .dot::after { display: none; }
.steps b { display: block; font-size: var(--t-sm); font-weight: 600; }
.steps span { display: block; font-size: 11.5px; color: var(--ink-3); }

/* ---------- 28. order tracking ---------------------------- */
.track-line { position: relative; padding-left: 26px; }
.track-line::before {
  content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line-2);
}
.track-ev { position: relative; padding: 8px 0; }
.track-ev::before {
  content: ''; position: absolute; left: -23px; top: 14px;
  width: 10px; height: 10px; border-radius: var(--r-pill);
  background: var(--card); border: 2.5px solid var(--line);
}
.track-ev.done::before { background: var(--peacock); border-color: var(--peacock); }
.track-ev b { display: block; font-size: var(--t-sm); font-weight: 600; }
.track-ev span { font-size: 11.5px; color: var(--ink-3); font-family: var(--f-mono); }

/* ---------- 29. info pages -------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--t-xl); margin: 26px 0 9px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--f-body); font-size: var(--t-md); margin: 18px 0 6px; }
.prose p { margin-bottom: 11px; color: var(--ink-2); line-height: 1.68; }
.prose ul { margin: 0 0 13px; padding-left: 20px; list-style: disc; color: var(--ink-2); }
.prose li { margin-bottom: 5px; line-height: 1.6; }
.prose a { color: var(--peacock); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 30. motion ------------------------------------ */
/* One-shot reveal, driven by IntersectionObserver in site.js.
   Elements are visible by default so a JS failure never hides content. */
.rise { opacity: 0; transform: translateY(14px); }
.js .rise { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rise.in, .no-js .rise { opacity: 1; transform: none; }

.skel {
  background: linear-gradient(100deg, var(--paper-2) 30%, #FFFFFF 50%, var(--paper-2) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { from { background-position: 140% 0 } to { background-position: -40% 0 } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms;
    animation-iteration-count: 1;
    transition-duration: .001ms;
    scroll-behavior: auto;
  }
  .rise { opacity: 1; transform: none; }
}

/* ---------- 31. print ------------------------------------- */
@media print {
  .hdr, .deptbar, .ann, .mnav, .wafab, .ftr, .stickybuy, .toast { display: none; }
  body { background: #fff; padding-bottom: 0; }
}
