/* ==========================================================================
   Bazr — Component Library · Brand v3 "the hive"
   "Busy hive, calm checkout": lively while browsing; the closer to paying,
   the less decoration. Atoms → molecules → organisms. Mobile-first.
   Honey = Add to cart / highlights · Hive = Buy now / Pay · Petal = urgency.
   ========================================================================== */

/* ==========================================================================
   0. BRAND PRIMITIVES
   ========================================================================== */

/* Hexagon plate — the cell. Every seller, category and step gets one. */
.hex {
  display: grid; place-items: center; flex: none;
  clip-path: var(--hex-clip);
  background: var(--c-honey-100); color: var(--c-text);
  width: 52px; height: 58px;
}
.hex--sm { width: 28px; height: 32px; font: 800 13px/1 var(--f-display); }
.hex--md { width: 40px; height: 46px; }
.hex--lg { width: 64px; height: 72px; }
.hex--honey { background: var(--honey); color: var(--hive); }
.hex--hive  { background: var(--hive); color: var(--honey); }
.hex .ico { width: 26px; height: 26px; }

/* Hexagon bullet before section titles */
.hexdot { width: 12px; height: 14px; background: var(--honey); clip-path: var(--hex-clip); flex: none; }

/* Mee image helper — she hovers, never blocks a tap */
.mee { display: block; width: 100%; height: auto; pointer-events: none; user-select: none; }

/* ==========================================================================
   1. ATOMS
   ========================================================================== */

/* ---- Button ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  height: 48px; padding: 0 var(--s-5);
  border-radius: var(--r-m);
  font-family: var(--f-body); font-size: var(--t-base); font-weight: 700; line-height: 1;
  white-space: nowrap; text-align: center;
  transition: background var(--dur-quick) var(--ease-dart), box-shadow var(--dur-quick) var(--ease-dart),
              transform var(--dur-tap) var(--ease-dart), color var(--dur-quick) var(--ease-dart);
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(.97); }
.btn:disabled, .btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn .ico, .btn svg { width: 20px; height: 20px; }

.btn--primary   { background: var(--c-primary); color: var(--c-on-primary); }        /* Buy now · Pay */
.btn--primary:hover   { background: var(--c-primary-hover); }
.btn--honey     { background: var(--honey); color: var(--hive); }                      /* Add to cart  */
.btn--honey:hover     { background: var(--c-honey-hover); }
.btn--secondary { background: var(--c-surface-alt); color: var(--c-text); }
.btn--secondary:hover { background: var(--c-border); }
.btn--outline   { background: transparent; color: var(--c-text); box-shadow: inset 0 0 0 1.5px var(--c-border-strong); }
.btn--outline:hover   { box-shadow: inset 0 0 0 1.5px var(--c-text); }
.btn--ghost     { color: var(--c-text); background: transparent; }
.btn--ghost:hover     { background: var(--c-surface-alt); }
.btn--link      { color: var(--c-link); height: auto; padding: 0; border-radius: 4px; font-weight: 600; }
.btn--link:hover { text-decoration: underline; }
.btn--danger    { background: transparent; color: var(--c-accent); box-shadow: inset 0 0 0 1.5px var(--c-accent); }
.btn--danger:hover    { background: var(--c-accent-100); }

.btn--sm  { height: 36px; padding: 0 var(--s-3); font-size: var(--t-ui); border-radius: 10px; }
.btn--lg  { height: 52px; padding: 0 var(--s-6); }
.btn--block { width: 100%; }
.btn--pill  { border-radius: var(--r-pill); }

/* Pay button → progress bar → success / decline (BRAND §10) */
.btn .bar { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(255,194,26,.9); z-index: 0; }
.btn .lbl { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; }
.btn.is-paying { pointer-events: none; }
.btn.is-paying .bar { animation: payfill 1.4s var(--ease-dart) forwards; }
.btn.is-paying .lbl { color: var(--hive); }
@keyframes payfill { to { width: 100%; } }

/* ---- Icon button -------------------------------------------------------- */
.iconbtn {
  display: grid; place-items: center; position: relative;
  width: 44px; height: 44px; border-radius: var(--r-m);
  color: var(--c-text); transition: background var(--dur-quick) var(--ease-dart), transform var(--dur-tap) var(--ease-dart);
}
.iconbtn:hover { background: var(--c-surface-alt); }
.iconbtn:active { transform: scale(.94); }
.iconbtn .ico, .iconbtn svg { width: 24px; height: 24px; }

/* ---- Input / select ----------------------------------------------------- */
.input, .select, .textarea {
  width: 100%; height: 48px;
  padding: 0 var(--s-4);
  background: var(--c-surface); color: var(--c-text);
  border: 1.5px solid var(--c-border-strong);
  border-radius: var(--r-m);
  font-size: var(--t-base); font-weight: 500;
  transition: border-color var(--dur-quick) var(--ease-dart), box-shadow var(--dur-quick) var(--ease-dart);
}
.textarea { height: auto; min-height: 96px; padding: var(--s-3) var(--s-4); resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--c-text-faint); font-weight: 400; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--c-text);
  box-shadow: 0 0 0 4px var(--c-honey-100);
}
.input--error { border-color: var(--c-accent); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: var(--t-sm); font-weight: 700; color: var(--c-text); }
.field .hint { font-size: var(--t-sm); color: var(--c-text-muted); }
.field .err  { font-size: var(--t-sm); color: var(--c-accent); font-weight: 600; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A665E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
  padding-right: 38px;
}

/* ---- Checkbox / radio (ticks are Honey on Hive) -------------------------- */
.check { display: inline-flex; align-items: center; gap: var(--s-2); cursor: pointer; font-size: var(--t-ui); position: relative; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
  width: 20px; height: 20px; flex: none;
  border: 1.5px solid var(--c-border-strong); border-radius: 6px;
  background: var(--c-surface); display: grid; place-items: center;
  transition: background var(--dur-quick) var(--ease-dart), border-color var(--dur-quick) var(--ease-dart), transform var(--dur-quick) var(--ease-hop);
}
.check .box::after {
  content: ""; width: 10px; height: 6px;
  border-left: 2.4px solid var(--c-tick); border-bottom: 2.4px solid var(--c-tick);
  transform: rotate(-45deg) scale(0); transition: transform var(--dur-quick) var(--ease-hop);
  margin-top: -2px;
}
.check:hover .box { border-color: var(--c-text); }
.check input:checked + .box { background: var(--c-primary); border-color: var(--c-primary); }
.check input:checked + .box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .box { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.check--radio .box { border-radius: 50%; }
.check--radio .box::after {
  content: ""; width: 8px; height: 8px; border: 0; border-radius: 50%;
  background: var(--c-tick); transform: scale(0); margin: 0;
}
.check--radio input:checked + .box::after { transform: scale(1); }

/* ---- Chip --------------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 var(--s-4);
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  font-size: var(--t-ui); font-weight: 600; color: var(--c-text);
  white-space: nowrap; transition: background var(--dur-quick) var(--ease-dart), border-color var(--dur-quick) var(--ease-dart), color var(--dur-quick) var(--ease-dart);
}
.chip:hover { border-color: var(--c-text); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
.chip--sm { height: 30px; font-size: var(--t-sm); padding: 0 12px; }
.chip .ico { width: 16px; height: 16px; }

/* ---- Badge -------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: var(--r-xs);
  font-size: var(--t-xs); font-weight: 700; line-height: 1.3; letter-spacing: .01em; white-space: nowrap;
}
.badge .ico { width: 12px; height: 12px; stroke-width: 2.2; }
.badge--discount  { background: #D62F33; color: #fff; }                                  /* Petal: % off only */
.badge--mall      { background: #1A1B1F; color: #FFC21A; box-shadow: inset 0 0 0 1px #3A3B42; } /* Hive + Honey */
.badge--verified  { background: var(--c-info-100); color: var(--c-verified); }
.badge--preferred { background: var(--c-honey-100); color: var(--c-honey-text); }
.badge--neutral   { background: var(--c-surface-alt); color: var(--c-text-muted); }
.badge--free      { background: var(--c-success-100); color: var(--c-success); }
.badge--new       { background: var(--honey); color: var(--hive); }
.badge--dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; }

/* ---- Star rating -------------------------------------------------------- */
.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--c-star); }
.stars svg { width: 13px; height: 13px; }
.stars--lg svg { width: 18px; height: 18px; }
.stars .s-off { color: var(--c-star-empty); }

/* ---- Price: Bricolage 800 · Hive, never coloured ------------------------ */
.price { font-family: var(--f-display); font-weight: 800; color: var(--c-text); font-size: var(--t-lg); letter-spacing: -.02em; line-height: 1.1; }
.price--lg { font-size: var(--t-2xl); }
.price--sm { font-size: var(--t-base); }
.price-was { font-size: var(--t-sm); color: var(--c-text-muted); text-decoration: line-through; }
.price-off { font-size: var(--t-sm); color: var(--c-accent); font-weight: 700; }
.audit { display: inline-flex; align-items: center; gap: 4px; font-size: var(--t-xs); color: var(--c-text-muted); font-weight: 600; }
.audit .ico { width: 14px; height: 14px; color: var(--c-success); }

/* ---- Skeleton → 40ms stagger -------------------------------------------- */
.skel {
  background: linear-gradient(90deg, var(--c-surface-alt) 0, var(--c-border) 50%, var(--c-surface-alt) 100%);
  background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: var(--r-s);
}
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-m); overflow: hidden; }
.skel-card .skel-img { aspect-ratio: 1; border-radius: 0; }
.skel-card .skel-body { padding: var(--s-3); display: grid; gap: 8px; }
.stagger > * { animation: arrive var(--dur-base) var(--ease-glide) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } }

/* ---- Spinner ------------------------------------------------------------ */
.spinner {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid var(--c-border); border-top-color: var(--c-text);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Toast (Mee reacts; Bazr speaks) ------------------------------------ */
#toaster {
  position: fixed; left: 50%; bottom: var(--toast-bottom, calc(var(--bottomnav-h) + 16px));
  transform: translateX(-50%); z-index: var(--z-toast);
  display: flex; flex-direction: column; gap: var(--s-2); align-items: center;
  width: max-content; max-width: calc(100vw - 24px); pointer-events: none;
}
@media (min-width: 1024px) { #toaster { bottom: 24px; } }
.toast {
  display: flex; align-items: center; gap: var(--s-3);
  background: var(--hive); color: #fff;
  padding: 8px 14px 8px 8px; border-radius: 16px;
  font-size: var(--t-ui); font-weight: 600; min-height: 52px;
  box-shadow: var(--e-pop); pointer-events: auto;
  animation: toastIn var(--dur-base) var(--ease-glide);
}
.toast .tmee { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--c-honey-100); display: grid; place-items: center; overflow: hidden; }
.toast .tmee img { width: 40px; height: 40px; }
.toast .tick { width: 28px; height: 28px; margin: 0 2px 0 4px; display: grid; place-items: center; border-radius: 50%; background: var(--honey); color: var(--hive); flex: none; }
.toast .tick .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.toast a.act { color: var(--honey); font-weight: 700; margin-left: var(--s-2); white-space: nowrap; }
.toast a.act:hover { text-decoration: underline; }
.toast.out { animation: toastOut var(--dur-quick) var(--ease-dart) forwards; }
@keyframes toastIn  { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes toastOut { to   { opacity: 0; transform: translateY(8px) scale(.98); } }

/* ---- Fly-to-cart, hop, burst (BRAND §10 reference interactions) --------- */
.fly { position: fixed; left: 0; top: 0; z-index: var(--z-fly); pointer-events: none; will-change: transform; }
.fly i { display: block; width: 26px; height: 30px; background: var(--honey); clip-path: var(--hex-clip); box-shadow: 0 0 0 2px var(--hive); }
.hop { animation: hop var(--dur-base) var(--ease-hop); }
@keyframes hop { 0% { transform: scale(1); } 45% { transform: scale(1.4); } 100% { transform: scale(1); } }
.burst { position: fixed; z-index: var(--z-fly); width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--honey); animation: burst 520ms var(--ease-glide) forwards; }
.burst i:nth-child(3n) { background: #D62F33; width: 6px; height: 6px; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }

/* ---- Divider / section head -------------------------------------------- */
.hr { height: 1px; background: var(--c-border); border: 0; }

.sect { margin-top: var(--s-8); }
.sect-head {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 0 0 var(--s-4);
}
.sect-head h2 { font-size: var(--t-xl); display: flex; align-items: center; gap: 10px; }
.sect-head h2::before { content: ""; width: 12px; height: 14px; background: var(--honey); clip-path: var(--hex-clip); flex: none; }
@media (min-width: 1024px) { .sect-head h2 { font-size: var(--t-2xl); } }
.sect-head .link { margin-left: auto; font-size: var(--t-ui); font-weight: 700; color: var(--c-link); display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.sect-head .link:hover { text-decoration: underline; }
.sect-head .link svg { width: 16px; height: 16px; }

.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-m); }
.card--pad { padding: var(--s-4); }

/* ==========================================================================
   2. MOLECULES
   ========================================================================== */

/* ---- Image placeholder (stands in for photography) ---------------------- */
.ph {
  position: relative; aspect-ratio: 1; width: 100%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, hsl(var(--h) var(--ph-s1) var(--ph-l1)) 0%, hsl(var(--h) var(--ph-s2) var(--ph-l2)) 100%);
  font-size: 2.6rem; overflow: hidden; user-select: none;
}
.ph::before { content: ""; position: absolute; inset: 0; background-image: var(--hex-soft); opacity: .9; }
.ph::after  { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 22%, rgba(255,255,255,var(--ph-glow)), transparent 55%); }
.ph span { position: relative; z-index: 1; filter: drop-shadow(0 4px 6px rgba(26,27,31,.18)); }

/* ---- Product card — the seller is always visible ------------------------ */
.pcard {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-glide), transform var(--dur-base) var(--ease-glide), border-color var(--dur-quick) var(--ease-dart);
  display: flex; flex-direction: column;
}
@media (hover: hover) {
  .pcard:hover { box-shadow: var(--e-3); transform: translateY(-3px); border-color: var(--c-border-strong); z-index: 2; }
}
.pcard-media { position: relative; display: block; }
.pcard-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 2; }
.pcard-wish {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: color-mix(in srgb, var(--c-surface) 92%, transparent); box-shadow: var(--e-1);
  display: grid; place-items: center; color: var(--c-text);
  transition: transform var(--dur-quick) var(--ease-hop), color var(--dur-quick) var(--ease-dart);
}
.pcard-wish .ico { width: 20px; height: 20px; }
.pcard-wish:hover { transform: scale(1.1); }
.pcard-wish.is-on { color: #D62F33; }
.pcard-wish.is-on .ico { fill: #D62F33; stroke: #D62F33; }
.pcard-wish.is-on .ico .acc { fill: #D62F33; stroke: #D62F33; }

.pcard-body { padding: var(--s-3); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-seller { display: flex; align-items: center; gap: 6px; font-size: var(--t-xs); color: var(--c-text-muted); min-width: 0; font-weight: 600; }
.pcard-seller .sname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pcard-seller .tick { color: var(--c-verified); flex: none; width: 14px; height: 14px; }
.pcard-seller .tick.mall { color: var(--c-honey-text); }
.pcard-title {
  font-size: var(--t-ui); font-weight: 500; line-height: 1.35; color: var(--c-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.7em;
}
.pcard-title:hover { text-decoration: underline; text-underline-offset: 2px; }
.pcard-buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 2px; }
.pcard-price { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pcard-price .row { gap: 6px; flex-wrap: wrap; }
.pcard-price .price { white-space: nowrap; }
.pcard-meta span { white-space: nowrap; }
.pcard-meta { flex-wrap: wrap; }
.pcard-add {
  width: 44px; height: 44px; border-radius: var(--r-m); flex: none;
  background: var(--honey); color: var(--hive);
  display: grid; place-items: center;
  transition: background var(--dur-quick) var(--ease-dart), transform var(--dur-tap) var(--ease-dart);
}
.pcard-add:hover { background: var(--c-honey-hover); }
.pcard-add:active { transform: scale(.92); }
.pcard-add .ico { width: 22px; height: 22px; }
.pcard-meta { display: flex; align-items: center; gap: 6px; font-size: var(--t-xs); color: var(--c-text-muted); }
.pcard-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: var(--t-xs); color: var(--c-text-muted); margin-top: auto; padding-top: 4px; }
.pcard-foot .ico { width: 14px; height: 14px; }
.pcard-foot > span { display: inline-flex; align-items: center; gap: 4px; }
.pcard-vouch { align-self: flex-start; }

/* Compact variant — inside rails */
.pcard--compact .pcard-body { padding: var(--s-2) var(--s-3) var(--s-3); gap: 4px; }
.pcard--compact .pcard-title { font-size: var(--t-sm); min-height: 2.7em; }
.pcard--compact .price { font-size: var(--t-base); }
.pcard--compact .pcard-add { width: 40px; height: 40px; }

/* Grid */
.pgrid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px)  { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1024px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .pgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* With a filter sidebar the grid is narrower: one column fewer */
@media (min-width: 1024px) { .page--aside .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .page--aside .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1600px) { .page--aside .pgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Rail — horizontal scroll */
.rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: 46%;
  gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 2px 2px 8px; margin: -2px;
  -webkit-overflow-scrolling: touch;
}
.rail > * { scroll-snap-align: start; }
@media (min-width: 600px)  { .rail { grid-auto-columns: 30%; gap: 14px; } }
@media (min-width: 1024px) { .rail { grid-auto-columns: 22%; } }
@media (min-width: 1280px) { .rail { grid-auto-columns: 18%; } }

/* ---- Search bar — the largest thing in the header, outlined in Hive ----- */
.searchbar { position: relative; flex: 1 1 100%; min-width: 0; }
.searchbar form { display: flex; align-items: center; }
.searchbar .input {
  height: 52px; border-radius: var(--r-m); border: 2px solid var(--c-text);
  padding-left: 46px; padding-right: 112px; background: var(--c-surface); font-size: var(--t-base);
}
.searchbar .input:focus { box-shadow: 0 0 0 4px var(--c-honey-100); }
.searchbar .s-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--c-text); pointer-events: none; }
.searchbar .s-go {
  position: absolute; right: 6px; top: 6px; height: 40px;
  padding: 0 18px; border-radius: 9px;
  background: var(--honey); color: var(--hive); font-size: var(--t-ui); font-weight: 700;
  transition: background var(--dur-quick) var(--ease-dart), transform var(--dur-tap) var(--ease-dart);
}
.searchbar .s-go:hover { background: var(--c-honey-hover); }
.searchbar .s-go:active { transform: scale(.96); }

.suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-m); box-shadow: var(--e-pop);
  overflow: hidden; z-index: var(--z-drawer); display: none;
}
.suggest.is-open { display: block; animation: toastIn var(--dur-quick) var(--ease-glide); }
.suggest-head { padding: 12px var(--s-4) 4px; font: 700 var(--t-xs)/1 var(--f-body); color: var(--c-text-muted); text-transform: uppercase; letter-spacing: .08em; }
.suggest-item {
  display: flex; align-items: center; gap: var(--s-3);
  width: 100%; padding: 12px var(--s-4); text-align: left;
  font-size: var(--t-base);
}
.suggest-item:hover, .suggest-item.is-cursor { background: var(--c-honey-50); }
.suggest-item .ico { width: 18px; height: 18px; color: var(--c-text-muted); flex: none; }
.suggest-item .cnt { margin-left: auto; font-size: var(--t-xs); color: var(--c-text-muted); }
.suggest-item mark { background: var(--c-honey-100); color: inherit; font-weight: 700; border-radius: 3px; }

/* ---- Quantity stepper --------------------------------------------------- */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--c-border-strong); border-radius: var(--r-m); overflow: hidden; height: 40px; background: var(--c-surface); }
.qty button { width: 38px; height: 100%; display: grid; place-items: center; color: var(--c-text); font-size: 18px; font-weight: 600; transition: background var(--dur-quick) var(--ease-dart); }
.qty button:hover:not(:disabled) { background: var(--c-honey-100); }
.qty button:disabled { color: var(--c-text-faint); }
.qty input { width: 44px; height: 100%; text-align: center; border: 0; background: transparent; font-size: var(--t-base); font-weight: 700; }
.qty input:focus { outline: none; background: var(--c-honey-50); }

/* ---- Breadcrumb --------------------------------------------------------- */
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: var(--t-sm); color: var(--c-text-muted); padding: var(--s-4) 0 var(--s-3); }
.crumbs a:hover { color: var(--c-text); text-decoration: underline; }
.crumbs svg { width: 14px; height: 14px; opacity: .55; }
.crumbs [aria-current] { color: var(--c-text); font-weight: 600; }

/* ---- Pagination --------------------------------------------------------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; padding: var(--s-6) 0; flex-wrap: wrap; }
.pager button {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-m);
  border: 1px solid var(--c-border); background: var(--c-surface); font-size: var(--t-ui); font-weight: 600;
  transition: border-color var(--dur-quick) var(--ease-dart);
}
.pager button:hover:not(:disabled) { border-color: var(--c-text); }
.pager button[aria-current="page"] { background: var(--honey); border-color: var(--honey); color: var(--hive); font-weight: 800; }
.pager button:disabled { opacity: .4; }

/* ---- Filter group ------------------------------------------------------- */
.fgroup { border-bottom: 1px solid var(--c-border); padding: var(--s-4) 0; }
.fgroup:last-child { border-bottom: 0; }
.fgroup > summary {
  display: flex; align-items: center; cursor: pointer; list-style: none;
  font: 800 var(--t-base)/1.2 var(--f-display); margin-bottom: var(--s-3);
}
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary::after {
  content: ""; margin-left: auto; width: 8px; height: 8px;
  border-right: 2px solid var(--c-text-muted); border-bottom: 2px solid var(--c-text-muted);
  transform: rotate(45deg) translateY(-2px); transition: transform var(--dur-quick) var(--ease-dart);
}
.fgroup[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.fgroup .flist { display: flex; flex-direction: column; gap: 12px; max-height: 220px; overflow-y: auto; }
.fgroup .flist .check { font-size: var(--t-ui); color: var(--c-text); }
.fgroup .flist .cnt { margin-left: auto; font-size: var(--t-xs); color: var(--c-text-muted); }
.frow { display: flex; align-items: center; gap: 8px; }
.frow .input { height: 40px; padding: 0 10px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--c-surface); box-shadow: 0 0 0 1px var(--c-border-strong); transition: transform var(--dur-quick) var(--ease-hop); }
.swatch:hover { transform: scale(1.1); }
.swatch.is-on { box-shadow: 0 0 0 2px var(--c-text); }

/* ---- Voucher chip (honey ticket) ---------------------------------------- */
.voucher {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; font-size: var(--t-xs); font-weight: 700;
  color: var(--c-honey-text); background: var(--c-honey-100);
  border-radius: var(--r-xs); position: relative;
}
.voucher .ico { width: 14px; height: 14px; }
.voucher::before, .voucher::after {
  content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-surface); top: 50%; transform: translateY(-50%);
}
.voucher::before { left: -3px; } .voucher::after { right: -3px; }
.voucher--dark::before, .voucher--dark::after { background: var(--c-surface-alt); }

/* ---- Countdown timer ---------------------------------------------------- */
.countdown { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.countdown b {
  background: var(--hive); color: #fff;
  min-width: 34px; padding: 5px 6px; border-radius: 6px;
  font: 700 var(--t-base)/1 var(--f-mono); text-align: center;
}
.countdown i { color: var(--c-text); font-style: normal; font-weight: 800; }

/* ---- Stock progress (Petal: low stock is urgency) ----------------------- */
.stockline { display: grid; gap: 5px; }
.stockline > span { font-size: var(--t-xs); font-weight: 700; color: var(--c-accent); }
.stockbar { height: 8px; border-radius: var(--r-pill); background: var(--c-accent-100); position: relative; overflow: hidden; }
.stockbar > i { position: absolute; inset: 0 auto 0 0; background: #D62F33; border-radius: inherit; transition: width 900ms var(--ease-glide); }

/* ---- Thumbnail strip ---------------------------------------------------- */
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 3px; }
.thumb {
  width: 60px; height: 60px; flex: none; border-radius: var(--r-s); overflow: hidden;
  outline: 2px solid transparent; outline-offset: 1px; transition: outline-color var(--dur-quick) var(--ease-dart);
}
.thumb.is-on { outline-color: var(--c-text); }

/* ---- Empty state — Mee, one per screen ---------------------------------- */
.empty { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-10) var(--s-4) var(--s-12); text-align: center; }
.empty .mee-wrap { width: 168px; }
.empty h3 { font-size: var(--t-xl); }
.empty p { color: var(--c-text-muted); max-width: 40ch; }

/* ==========================================================================
   3. ORGANISMS
   ========================================================================== */

/* ---- Announcement bar --------------------------------------------------- */
.announce { background: var(--hive); color: #FFF6DC; font-size: var(--t-sm); font-weight: 500; }
.announce .wrap { display: flex; align-items: center; gap: var(--s-3); min-height: 38px; }
.announce .msg { display: flex; align-items: center; gap: 10px; min-width: 0; }
.announce .msg .hexdot { width: 9px; height: 10px; }
.announce .msg span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce .msg b { color: var(--honey); }
.announce .x { margin-left: auto; opacity: .7; padding: 8px; margin-right: -8px; }
.announce .x:hover { opacity: 1; }
.announce .x .ico { width: 16px; height: 16px; }
.announce .links { display: none; gap: var(--s-5); margin-left: auto; }
@media (min-width: 1024px) { .announce .links { display: flex; } .announce .x { margin-left: var(--s-4); } }
.announce a:hover { color: var(--honey); }

/* ---- Header ------------------------------------------------------------- */
.hdr { position: sticky; top: 0; z-index: var(--z-nav); background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.hdr-main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 0 12px; }
.hdr-menu { order: 0; margin-left: -8px; }
.logo { order: 1; display: flex; align-items: center; gap: 10px; flex: none; color: var(--c-text); }
.logo .mark { width: 38px; height: 38px; flex: none; }
.logo .wm { height: 24px; width: auto; fill: currentColor; }
.logo .mark-bare { display: none; }
.hdr .searchbar { order: 3; }
.hdr-act { order: 2; display: flex; align-items: center; gap: 2px; margin-left: auto; flex: none; }
.cartbtn .count, .bnav .count, .buybar .count {
  position: absolute; top: 2px; right: 0;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: #D62F33; color: #fff;
  border-radius: var(--r-pill); font: 700 11px/1 var(--f-body);
  display: grid; place-items: center; border: 2px solid var(--c-surface);
}
.hdr-user { display: none; }
.hdr-trend { display: none; }
@media (min-width: 1024px) {
  .hdr-main { flex-wrap: nowrap; gap: 20px; padding: 14px 0; }
  .hdr-menu { display: none; }
  .logo .mark { width: 42px; height: 42px; } .logo .wm { height: 26px; }
  .hdr .searchbar { order: 2; flex: 1 1 auto; }
  .hdr-act { order: 3; margin-left: 0; }
  .hdr-user { display: flex; align-items: center; gap: var(--s-2); order: 4; }
  .hdr-trend { display: flex; gap: var(--s-4); font-size: var(--t-sm); padding: 0 0 12px 0; color: var(--c-text-muted); margin-top: -4px; padding-left: 0; }
  .hdr-trend a { font-weight: 500; }
  .hdr-trend a:hover { color: var(--c-text); text-decoration: underline; }
}

/* ---- Category nav / mega menu ------------------------------------------- */
.catnav { background: var(--c-surface); border-bottom: 1px solid var(--c-border); position: relative; z-index: calc(var(--z-nav) - 1); }
.catnav .scroller { display: flex; gap: var(--s-2); overflow-x: auto; padding: 10px 0; }
.catnav .scroller a.catlink {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; height: 40px; border-radius: var(--r-pill);
  background: var(--c-surface); border: 1px solid var(--c-border);
  font-size: var(--t-ui); font-weight: 600; white-space: nowrap;
  transition: background var(--dur-quick) var(--ease-dart), border-color var(--dur-quick) var(--ease-dart);
}
.catnav .catlink .ico { width: 18px; height: 18px; }
.catnav .scroller a.catlink:hover { border-color: var(--c-text); background: var(--c-honey-50); }
.catnav .scroller a.catlink:hover .ico .acc { fill: var(--honey); stroke: var(--honey); }

.mega-trigger { position: relative; flex: none; }
.mega { display: none; }
@media (min-width: 1024px) {
  .catnav .scroller { gap: var(--s-1); overflow: visible; }
  .mega {
    position: absolute; top: calc(100% + 1px); left: 0;
    grid-template-columns: 240px 1fr;
    width: min(1000px, 92vw); background: var(--c-surface);
    border: 1px solid var(--c-border); box-shadow: var(--e-pop); border-radius: 0 0 var(--r-l) var(--r-l);
    overflow: hidden; z-index: 5;
  }
  .mega-trigger:hover .mega, .mega-trigger:focus-within .mega { display: grid; animation: toastIn var(--dur-quick) var(--ease-glide); }
  .mega-l { background: var(--c-surface-alt); padding: var(--s-3) var(--s-2); border-right: 1px solid var(--c-border); }
  .mega-l a { display: flex; align-items: center; gap: 10px; padding: 9px var(--s-3); font-size: var(--t-ui); font-weight: 500; border-radius: var(--r-s); }
  .mega-l a .ico { width: 20px; height: 20px; }
  .mega-l a:hover { background: var(--c-surface); font-weight: 700; }
  .mega-r { padding: var(--s-6); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
  .mega-r h4 { font-size: var(--t-ui); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
  .mega-r h4::before { content: ""; width: 8px; height: 9px; background: var(--honey); clip-path: var(--hex-clip); }
  .mega-r li { padding: 4px 0; font-size: var(--t-sm); color: var(--c-text-muted); }
  .mega-r li a:hover { color: var(--c-text); text-decoration: underline; }
}

/* ---- Mobile drawer ------------------------------------------------------ */
.scrim {
  position: fixed; inset: 0; background: rgba(18,18,21,.55);
  z-index: var(--z-drawer); opacity: 0; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-glide);
}
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 88vw);
  background: var(--c-surface); z-index: calc(var(--z-drawer) + 1);
  transform: translateX(-100%); transition: transform var(--dur-base) var(--ease-glide);
  display: flex; flex-direction: column; overflow-y: auto; visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer--right { left: auto; right: 0; width: min(420px, 94vw); transform: translateX(100%); }
.drawer-head {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--c-border); position: sticky; top: 0; background: var(--c-surface); z-index: 2; min-height: 64px;
}
.drawer-head h3 { font-size: var(--t-xl); }
.drawer-body { padding: var(--s-2) 0; flex: 1; }
.drawer-foot { padding: var(--s-4); border-top: 1px solid var(--c-border); position: sticky; bottom: 0; background: var(--c-surface); }
.drawer-label { padding: 16px 16px 6px; font: 700 var(--t-xs)/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-muted); }
.drawer-link { display: flex; align-items: center; gap: var(--s-3); padding: 12px var(--s-4); font-size: var(--t-base); font-weight: 500; }
.drawer-link:hover { background: var(--c-honey-50); }
.drawer-link > .ico { width: 22px; height: 22px; }
.drawer-link .push svg { width: 16px; height: 16px; color: var(--c-text-faint); }
.theme-row { display: flex; align-items: center; gap: var(--s-3); padding: 12px var(--s-4); font-weight: 500; width: 100%; text-align: left; }
.theme-row:hover { background: var(--c-honey-50); }

/* ---- Hero carousel ------------------------------------------------------ */
.hero { display: grid; gap: 12px; margin-top: var(--s-4); }
@media (min-width: 1024px) { .hero { grid-template-columns: 1fr 320px; } }

.carousel { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--hive); }
.carousel-track { display: flex; transition: transform 480ms var(--ease-glide); }
.slide {
  min-width: 100%; min-height: 232px;
  display: flex; align-items: center;
  padding: var(--s-6) var(--s-5) 44px;
  position: relative; overflow: hidden;
}
@media (min-width: 1024px) { .slide { min-height: 380px; padding: var(--s-12) var(--s-12) 56px; } }
.slide--honey { background: var(--honey) var(--hex-bg-honey); color: #1A1B1F; }
.slide--hive  { background: #1A1B1F var(--hex-bg); color: #FFF6DC; }
.slide--cream { background: #FFF1C2 var(--hex-bg-honey); color: #1A1B1F; }
.slide-in { position: relative; z-index: 2; max-width: 58%; }
@media (min-width: 1024px) { .slide-in { max-width: 52%; } }
.slide .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 var(--t-xs)/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
}
.slide .kicker::before { content: ""; width: 10px; height: 11px; background: currentColor; clip-path: var(--hex-clip); }
.slide--hive .kicker { color: var(--honey); }
.slide h2 { font-size: clamp(26px, 6.4vw, 56px); margin: 10px 0 8px; letter-spacing: -.035em; line-height: 1.02; font-weight: 800; }
.slide--hive h2 { color: #fff; }
.slide h2 em { font-style: normal; }
.slide--hive h2 em { color: var(--honey); }
.slide p { font-size: var(--t-ui); margin-bottom: var(--s-4); max-width: 44ch; }
.slide--hive p { color: #CFCBC2; }
@media (min-width: 1024px) { .slide p { font-size: var(--t-lg); margin-bottom: var(--s-6); } }
.slide .btn { background: var(--hive); color: #fff; }
.slide .btn:hover { background: #3A3B42; }
.slide--hive .btn { background: var(--honey); color: var(--hive); }
.slide--hive .btn:hover { background: var(--c-honey-hover); }
.slide .art {
  position: absolute; right: 2%; bottom: 0; width: clamp(130px, 38%, 380px); z-index: 1;
  display: grid; place-items: end center;
}
.slide .art .mee { position: relative; filter: drop-shadow(0 12px 18px rgba(26,27,31,.22)); }
/* Mee is honey too: on honey/cream grounds she sits on a Hive cell so she never disappears */
.slide--honey .art--mee::before, .slide--cream .art--mee::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 6%; bottom: 0;
  background: #1A1B1F var(--hex-bg); clip-path: var(--hex-clip);
}
.slide .plate {
  width: clamp(110px, 26vw, 250px); aspect-ratio: 1 / 1.12; margin-bottom: 8%;
  clip-path: var(--hex-clip); display: grid; place-items: center;
  font-size: clamp(54px, 12vw, 118px); background: var(--honey);
}
.slide--honey .plate, .slide--cream .plate { background: var(--hive); }

.carousel-dots { position: absolute; bottom: 14px; left: var(--s-5); display: flex; gap: 6px; z-index: 3; }
@media (min-width: 1024px) { .carousel-dots { left: var(--s-12); bottom: 24px; } }
.carousel-dots button { width: 8px; height: 8px; border-radius: var(--r-pill); background: currentColor; opacity: .35; transition: all var(--dur-base) var(--ease-glide); padding: 0; }
.carousel-dots button[aria-current="true"] { width: 26px; opacity: 1; }
.carousel-dots button::after { content: ""; position: absolute; inset: -8px; }
.carousel-dots button { position: relative; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-surface); color: var(--c-text);
  display: none; place-items: center; box-shadow: var(--e-2);
}
@media (min-width: 1024px) { .carousel:hover .carousel-arrow, .carousel:focus-within .carousel-arrow { display: grid; } }
.carousel-arrow.prev { left: 14px; } .carousel-arrow.next { right: 14px; }
.carousel-arrow svg { width: 22px; height: 22px; }

.hero-rail { display: none; grid-template-rows: 1fr 1fr; gap: 12px; }
@media (min-width: 1024px) { .hero-rail { display: grid; } }
.promo {
  border-radius: var(--r-l); padding: var(--s-5); display: flex; flex-direction: column; justify-content: center; gap: 4px;
  position: relative; overflow: hidden; border: 1px solid var(--c-border);
  transition: transform var(--dur-base) var(--ease-glide);
}
.promo:hover { transform: translateY(-2px); }
.promo--cream { background: #FFF1C2; border-color: transparent; color: #1A1B1F; }
.promo--hive  { background: #1A1B1F var(--hex-bg); border-color: transparent; color: #fff; }
.promo h3 { font-size: var(--t-lg); line-height: 1.12; max-width: 12ch; }
.promo p { font-size: var(--t-sm); opacity: .85; }
.promo--hive h3 { color: #fff; } .promo--hive p { color: #CFCBC2; }
.promo .hex { position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(8deg); }
.promo--cream .hex { background: var(--hive); color: var(--honey); }
.promo--hive .hex { background: var(--honey); color: var(--hive); }

/* ---- Quick services ----------------------------------------------------- */
.services {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-l);
  padding: var(--s-4) var(--s-2); margin-top: 12px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4) 0;
}
@media (min-width: 768px) { .services { grid-template-columns: repeat(10, 1fr); padding: var(--s-5) var(--s-3); } }
.service { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 2px; }
.service .hex { width: 46px; height: 52px; transition: transform var(--dur-base) var(--ease-hop), background var(--dur-quick) var(--ease-dart); }
.service:hover .hex { transform: translateY(-3px) rotate(-4deg); background: var(--honey); }
.service:hover .ico .acc { fill: var(--hive); stroke: var(--hive); }
.service span.n { font-size: var(--t-xs); line-height: 1.25; color: var(--c-text); font-weight: 600; }

/* ---- Flash sale (Petal: only the tag, the timer stock bar and % off) ----- */
.flash { border: 1px solid var(--c-border); border-radius: var(--r-l); overflow: hidden; background: var(--c-surface); margin-top: var(--s-8); }
.flash-head {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3);
  padding: var(--s-4); background: var(--c-honey-100); border-bottom: 1px solid var(--c-border);
}
.flash-tag { display: inline-flex; align-items: center; gap: 6px; background: #D62F33; color: #fff; border-radius: var(--r-s); padding: 6px 12px 6px 8px; font: 800 var(--t-lg)/1 var(--f-display); letter-spacing: -.02em; }
.flash-tag .ico { width: 22px; height: 22px; fill: #FFC21A; stroke: #FFC21A; }
.flash-head .small { color: var(--c-text-muted); font-weight: 500; }
.flash-head .link { margin-left: auto; font-weight: 700; color: var(--c-link); display: flex; align-items: center; gap: 2px; font-size: var(--t-ui); }
.flash-head .link:hover { text-decoration: underline; }
.flash-body { padding: var(--s-4); }
.flash .pcard { box-shadow: none; }

/* ---- Category tiles — each a cell ---------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (min-width: 768px)  { .tiles { grid-template-columns: repeat(8, 1fr); gap: 12px; } }
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: var(--s-4) 4px var(--s-3); text-align: center;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-m);
  transition: transform var(--dur-base) var(--ease-glide), border-color var(--dur-quick) var(--ease-dart), box-shadow var(--dur-base) var(--ease-glide);
}
.tile .hex { width: 54px; height: 60px; transition: background var(--dur-quick) var(--ease-dart), transform var(--dur-base) var(--ease-hop); }
.tile .hex .ico { width: 28px; height: 28px; }
.tile:hover { border-color: var(--c-text); transform: translateY(-3px); box-shadow: var(--e-2); }
.tile:hover .hex { background: var(--honey); transform: rotate(-5deg) scale(1.05); }
.tile:hover .ico .acc { fill: var(--hive); stroke: var(--hive); }
.tile .tn { font-size: var(--t-sm); line-height: 1.2; font-weight: 700; }
.tile .tc { font-size: var(--t-xs); color: var(--c-text-muted); margin-top: -6px; }

/* ---- Brand strip -------------------------------------------------------- */
.brands { display: grid; grid-auto-flow: column; grid-auto-columns: 36%; gap: 10px; overflow-x: auto; padding: 2px; margin: -2px; }
@media (min-width: 768px) { .brands { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(6, 1fr); } }
.brandcard {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-m);
  padding: var(--s-4) var(--s-3); text-align: center; position: relative; display: grid; justify-items: center; gap: 2px;
  transition: box-shadow var(--dur-base) var(--ease-glide), transform var(--dur-base) var(--ease-glide);
}
.brandcard:hover { box-shadow: var(--e-2); transform: translateY(-2px); }
.brandcard .hex { margin-bottom: 8px; font-size: 26px; }
.brandcard b { display: block; font-size: var(--t-ui); font-family: var(--f-display); }
.brandcard small { color: var(--c-text-muted); font-size: var(--t-xs); }
.brandcard .badge { position: absolute; top: 8px; right: 8px; }

/* ---- Vendor spotlight — "every seller gets their own cell" -------------- */
.vendors { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .vendors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .vendors { grid-template-columns: repeat(3, 1fr); } }
.vcard { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-l); overflow: hidden; transition: box-shadow var(--dur-base) var(--ease-glide); }
.vcard:hover { box-shadow: var(--e-2); }
.vcard-top { height: 76px; position: relative; background: #1A1B1F var(--hex-bg); }
.vcard-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--honey) 0 14px, #1A1B1F 14px 28px); opacity: .9; }
.vcard-body { padding: 0 var(--s-5) var(--s-5); }
.vcard-logo { margin-top: -34px; position: relative; filter: drop-shadow(0 4px 6px rgba(26,27,31,.25)); }
.vcard-logo .hex { width: 64px; height: 72px; background: var(--honey); font-size: 28px; }
.vcard h3 { font-size: var(--t-lg); margin-top: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vcard .vmeta { display: flex; gap: var(--s-5); margin: 10px 0 14px; }
.vcard .vmeta div { font-size: var(--t-xs); color: var(--c-text-muted); }
.vcard .vmeta b { display: block; font: 800 var(--t-lg)/1.2 var(--f-display); color: var(--c-text); }
.vcard .vprods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.vcard .vprods .ph { border-radius: var(--r-s); font-size: 1.6rem; }
.vcard .vfoot { display: flex; gap: 8px; }

/* ---- Deal banners ------------------------------------------------------- */
.deals { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .deals { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.deal {
  border-radius: var(--r-l); padding: var(--s-5); min-height: 124px;
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
  transition: transform var(--dur-base) var(--ease-glide);
}
.deal:hover { transform: translateY(-3px); }
.deal b { font: 800 var(--t-lg)/1.1 var(--f-display); letter-spacing: -.02em; position: relative; z-index: 1; }
.deal small { font-size: var(--t-sm); font-weight: 600; margin-top: 4px; position: relative; z-index: 1; }
.deal .em { position: absolute; right: 8px; bottom: 4px; font-size: 52px; opacity: .95; transform: rotate(-8deg); }
.deal--honey { background: var(--honey) var(--hex-bg-honey); color: #1A1B1F; }
.deal--hive  { background: #1A1B1F var(--hex-bg); color: #fff; }
.deal--hive small { color: var(--honey); }
.deal--cream { background: #FFF1C2 var(--hex-bg-honey); color: #1A1B1F; }
.deal--line  { background: var(--c-surface); border: 1.5px solid var(--c-text); color: var(--c-text); }

/* ---- Tabs --------------------------------------------------------------- */
.tabs { display: flex; gap: var(--s-1); border-bottom: 1px solid var(--c-border); overflow-x: auto; padding: 0 var(--s-2); }
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px var(--s-4); font-size: var(--t-ui); font-weight: 700; color: var(--c-text-muted);
  border-bottom: 3px solid transparent; white-space: nowrap; margin-bottom: -1px;
  transition: color var(--dur-quick) var(--ease-dart);
}
.tab .ico { width: 18px; height: 18px; }
.tab[aria-selected="true"] { color: var(--c-text); border-color: var(--honey); }
.tab[aria-selected="true"] .ico .acc { fill: var(--honey); stroke: var(--honey); }
.tab:hover { color: var(--c-text); }

/* ---- Trust strip -------------------------------------------------------- */
.trust {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-l);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5);
  padding: var(--s-6) var(--s-5); margin-top: var(--s-8);
}
@media (min-width: 768px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: var(--s-3); }
.trust-item .hex { width: 44px; height: 50px; }
.trust-item .hex .ico { width: 22px; height: 22px; }
.trust-item b { display: block; font: 800 var(--t-base)/1.2 var(--f-display); }
.trust-item small { color: var(--c-text-muted); font-size: var(--t-sm); }

/* ---- Footer ------------------------------------------------------------- */
.ftr { background: #1A1B1F var(--hex-bg); color: #CFCBC2; margin-top: var(--s-12); position: relative; }
.ftr::before { content: ""; display: block; height: 10px; background: repeating-linear-gradient(90deg, var(--honey) 0 22px, #1A1B1F 22px 44px); }
.ftr-brand { padding-block: var(--s-8) var(--s-2); display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.ftr-brand .logo { color: #fff; order: 0; }
.ftr-brand .logo .mark-tile { display: none; } .ftr-brand .logo .mark-bare { display: block; }
.ftr-brand p { font: 700 var(--t-lg)/1.2 var(--f-display); color: #fff; letter-spacing: -.02em; }
.ftr-brand p em { font-style: normal; color: var(--honey); }
.ftr-top { display: grid; gap: var(--s-6); padding-block: var(--s-6) var(--s-8); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .ftr-top { grid-template-columns: repeat(5, 1fr); } }
.ftr h4 { color: var(--honey); font: 700 var(--t-xs)/1 var(--f-body); text-transform: uppercase; letter-spacing: .12em; margin-bottom: var(--s-3); }
.ftr li { padding: 5px 0; font-size: var(--t-ui); }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.paylogos { display: flex; flex-wrap: wrap; gap: 6px; }
.paylogo {
  height: 32px; padding: 0 10px; border-radius: 6px;
  background: rgba(255,246,220,.1); display: inline-grid; place-items: center;
  font: 700 11px/1 var(--f-body); color: #FFF6DC; letter-spacing: .04em;
}
.ftr-bot {
  border-top: 1px solid rgba(255,246,220,.14); padding-block: var(--s-4) var(--s-6);
  display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; font-size: var(--t-sm);
}
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,246,220,.1); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #FFF6DC; transition: background var(--dur-quick) var(--ease-dart); }
.socials a:hover { background: var(--honey); color: var(--hive); text-decoration: none; }
.ftr .themebtn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--r-pill); background: rgba(255,246,220,.1); color: #FFF6DC; font-weight: 600; font-size: var(--t-sm); }
.ftr .themebtn:hover { background: rgba(255,246,220,.2); }
.ftr .themebtn .ico { width: 18px; height: 18px; }

/* Payment logos sit on white tiles (rounded, like the brand reference) so every
   brand colour stays legible — on the Hive footer and on light pages alike. */
.paylogos .paylogo--img, .paylogos .paylogo--text { background: #fff; border-radius: 6px; height: 22px; padding: 0 7px; box-shadow: 0 0 0 1px rgba(26,27,31,.06); }
.paylogo--img { background: #fff; height: 22px; padding: 0 7px; }
.paylogo--img img { height: 12px; width: auto; max-width: 40px; object-fit: contain; display: block; }
.paylogo--text { color: #1A1B1F; font-weight: 700; font-size: 10px; letter-spacing: 0; }
.paystrip { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.paystrip-label { font: 700 var(--t-sm)/1 var(--f-body); color: var(--c-text-muted); }
.paystrip .paylogos .paylogo--img, .paystrip .paylogos .paylogo--text { height: 24px; padding: 0 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--c-border); }
.paystrip .paylogo--img img { height: 13px; max-width: 44px; }
.paystrip--product { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--c-border); }
.paystrip--checkout { margin-top: var(--s-4); justify-content: center; }
.paylogo--app { text-decoration: none; }
.paylogo--app.paylogo--img { height: 44px; padding: 0 16px; gap: 10px; display: inline-flex; align-items: center; background: rgba(255,246,220,.1); }
.paylogo--app.paylogo--img img { height: 22px; width: 22px; }
.paylogo--app.paylogo--img span { font: 700 var(--t-sm)/1 var(--f-body); color: #FFF6DC; }
.socials .soc { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,246,220,.1); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #FFF6DC; transition: background var(--dur-quick) var(--ease-dart); }
.socials .soc:hover { background: var(--honey); color: var(--hive); text-decoration: none; }
.socials .soc--logo img { width: 20px; height: 20px; object-fit: contain; }
.socials .soc--logo:hover img { filter: brightness(0); }

/* ---- Bottom nav (one hand, mid-range Android) --------------------------- */
.bnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-nav);
  height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom)); background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 1024px) { .bnav { display: none; } }
.bnav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; font-weight: 600; color: var(--c-text-muted); position: relative;
}
.bnav a .ico { width: 24px; height: 24px; }
.bnav a[aria-current="page"] { color: var(--c-text); font-weight: 700; }
.bnav a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--honey); }
.bnav .count { top: 6px; right: auto; left: 54%; border-color: var(--c-surface); }

/* ---- Modal -------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: none; place-items: center; padding: var(--s-4); }
.modal.is-open { display: grid; }
.modal .scrim { position: absolute; }
.modal-box {
  position: relative; z-index: 1; background: var(--c-surface); border-radius: var(--r-l);
  width: min(480px, 100%); max-height: 88vh; overflow-y: auto; box-shadow: var(--e-pop);
  animation: popIn var(--dur-base) var(--ease-glide);
}
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal-head { display: flex; align-items: center; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--c-border); }
.modal-head h3 { font-size: var(--t-xl); }
.modal-body { padding: var(--s-5); }
.modal-foot { padding: var(--s-4) var(--s-5); border-top: 1px solid var(--c-border); display: flex; gap: var(--s-2); }

/* ---- Page shells -------------------------------------------------------- */
.page { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .page--aside { grid-template-columns: 264px minmax(0, 1fr); } }
@media (min-width: 1024px) { .page--checkout { grid-template-columns: minmax(0, 1fr) 380px; } }
.sticky { position: sticky; top: calc(var(--header-h) + 76px); }
@media (max-width: 1023px) { .sticky { position: static; } }

.panel { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-m); }
.panel-head { padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--c-border); display: flex; align-items: center; gap: var(--s-3); }
.panel-head h3 { font-size: var(--t-lg); }
.panel-body { padding: var(--s-5); }
.panel-head .hex { width: 30px; height: 34px; background: var(--honey); color: var(--hive); font: 800 14px/1 var(--f-display); }

/* Aside filters: drawer on mobile, static on desktop */
.filters { display: none; }
@media (min-width: 1024px) { .filters { display: block; } }

.toolbar {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-m);
  padding: 8px var(--s-3); display: flex; align-items: center; gap: var(--s-2);
  overflow-x: auto;
}
.toolbar .seg { display: flex; gap: 2px; background: var(--c-surface-alt); border-radius: var(--r-s); padding: 3px; }
.toolbar .seg button { padding: 8px 14px; border-radius: 6px; font-size: var(--t-sm); font-weight: 700; color: var(--c-text-muted); white-space: nowrap; transition: background var(--dur-quick) var(--ease-dart); }
.toolbar .seg button:hover { color: var(--c-text); }
.toolbar .seg button[aria-pressed="true"] { background: var(--honey); color: var(--hive); }

.applied { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.applied .chip { background: var(--c-honey-100); border-color: transparent; color: var(--c-text); }
.applied .chip button { display: grid; place-items: center; opacity: .7; width: 20px; height: 20px; margin-right: -6px; border-radius: 50%; }
.applied .chip button:hover { opacity: 1; background: rgba(26,27,31,.1); }
.applied .chip svg { width: 12px; height: 12px; }

/* Category banner */
.cathero { border-radius: var(--r-l); overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-border); margin-bottom: var(--s-4); }
.cathero-top { background: #1A1B1F var(--hex-bg); color: #fff; padding: var(--s-6); display: flex; align-items: center; gap: var(--s-5); position: relative; }
.cathero-top .hex { width: 72px; height: 82px; background: var(--honey); color: var(--hive); }
.cathero-top .hex .ico { width: 36px; height: 36px; }
.cathero-top h1 { font-size: var(--t-2xl); color: #fff; }
.cathero-top p { color: #CFCBC2; font-size: var(--t-ui); margin-top: 4px; }
.cathero-chips { padding: 12px var(--s-4); display: flex; gap: 8px; overflow-x: auto; }

/* ---- Cart seller block -------------------------------------------------- */
.sellerblk { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-m); overflow: hidden; margin-bottom: var(--s-3); }
.sellerblk-head { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--c-border); }
.sellerblk-head .name { font: 800 var(--t-base)/1.2 var(--f-display); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sellerblk-head .hex { width: 32px; height: 36px; font-size: 16px; background: var(--honey); }
.sellerblk-item { display: flex; gap: var(--s-3); padding: var(--s-4); border-bottom: 1px solid var(--c-border); }
.sellerblk-item .thumbwrap { width: 88px; flex: none; border-radius: var(--r-s); overflow: hidden; align-self: flex-start; }
.sellerblk-item .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sellerblk-item .name2 { font-size: var(--t-ui); font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sellerblk-item .variant { font-size: var(--t-xs); color: var(--c-text-muted); background: var(--c-surface-alt); border-radius: 6px; padding: 3px 8px; align-self: flex-start; font-weight: 600; }
.sellerblk-foot { padding: var(--s-3) var(--s-4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); background: var(--c-surface-alt); font-size: var(--t-sm); }
.ship-note { display: flex; flex-direction: column; gap: 8px; padding: 12px var(--s-4); background: var(--c-honey-50); font-size: var(--t-sm); }
.ship-note .row { gap: 8px; }
.ship-note svg, .ship-note .ico { width: 20px; height: 20px; flex: none; }
.ship-note .meter { height: 8px; border-radius: var(--r-pill); background: var(--c-border); overflow: hidden; }
.ship-note .meter i { display: block; height: 100%; background: var(--honey); border-radius: inherit; transition: width var(--dur-travel) var(--ease-glide); }
.ship-note--ok { background: var(--c-success-100); color: var(--c-success); font-weight: 600; flex-direction: row; align-items: center; }

/* ---- Summary rows ------------------------------------------------------- */
.sumrow { display: flex; justify-content: space-between; gap: var(--s-3); padding: 6px 0; font-size: var(--t-ui); }
.sumrow.total { border-top: 1px dashed var(--c-border-strong); margin-top: var(--s-2); padding-top: var(--s-4); font-weight: 700; font-size: var(--t-base); align-items: baseline; }
.sumrow.total .price { font-size: var(--t-2xl); }
.sumrow .save { color: var(--c-success); }
.sumrow.save { color: var(--c-success); }

/* ---- Address / payment option cards ------------------------------------- */
.optcard {
  display: flex; gap: var(--s-3); padding: var(--s-3) var(--s-4);
  border: 1.5px solid var(--c-border); border-radius: var(--r-m);
  cursor: pointer; transition: border-color var(--dur-quick) var(--ease-dart), background var(--dur-quick) var(--ease-dart); background: var(--c-surface);
}
.optcard:hover { border-color: var(--c-border-strong); }
.optcard.is-on { border-color: var(--c-text); background: var(--c-honey-50); }
.optcard .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.optcard .title { font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.optcard .sub { font-size: var(--t-sm); color: var(--c-text-muted); display: block; }
.optcard .pico { width: 40px; height: 40px; border-radius: 10px; background: var(--c-surface-alt); display: grid; place-items: center; flex: none; align-self: center; }
.optcard.is-on .pico { background: var(--honey); color: var(--hive); }
.optcard .pico .ico { width: 22px; height: 22px; }
.optcard .check { align-self: center; }

/* ---- Steps (hexagon markers) -------------------------------------------- */
.steps { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-5) 0 var(--s-4); overflow-x: auto; }
.step { display: flex; align-items: center; gap: 10px; font-size: var(--t-ui); color: var(--c-text-muted); white-space: nowrap; font-weight: 600; }
.step .n { width: 32px; height: 36px; clip-path: var(--hex-clip); background: var(--c-border); color: var(--c-text-muted); display: grid; place-items: center; font: 800 14px/1 var(--f-display); }
.step .n .ico { width: 16px; height: 16px; stroke-width: 2.8; }
.step.is-on { color: var(--c-text); font-weight: 700; }
.step.is-on .n { background: var(--honey); color: var(--hive); }
.step.is-done .n { background: var(--hive); color: var(--honey); }
.step.is-done { color: var(--c-text); }
.steps .bar { width: 36px; height: 2px; background: var(--c-border-strong); flex: none; border-radius: 2px; }

/* ---- PDP ---------------------------------------------------------------- */
.pdp { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
.pdp > * { min-width: 0; }
@media (min-width: 1024px) { .pdp { grid-template-columns: 440px minmax(0, 1fr) 320px; align-items: start; } }
.gallery { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-l); padding: var(--s-3); }
@media (max-width: 1023px) { .gallery { max-width: 520px; margin-inline: auto; width: 100%; } }
.gallery .main { border-radius: var(--r-m); overflow: hidden; position: relative; }
.gallery .main .ph { font-size: 6rem; }
.gallery .zoomtag {
  position: absolute; bottom: 10px; right: 10px; z-index: 3;
  background: rgba(26,27,31,.72); color: #fff; font-size: var(--t-xs); font-weight: 600;
  padding: 5px 10px; border-radius: var(--r-pill);
}
.buybox { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-l); padding: var(--s-5); }
.pdp-title { font: 700 var(--t-xl)/1.25 var(--f-display); letter-spacing: -.015em; }
@media (min-width: 1024px) { .pdp-title { font-size: var(--t-2xl); line-height: 1.12; } }
.pdp-pricebox { background: var(--c-honey-50); border: 1px solid var(--c-honey-100); border-radius: var(--r-m); padding: var(--s-4); margin: var(--s-4) 0; }
.pdp-metrics { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; font-size: var(--t-sm); color: var(--c-text-muted); }
.pdp-metrics b { color: var(--c-text); }
.pdp-seller { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding: 12px var(--s-3); margin: var(--s-3) 0 0; background: var(--c-surface-alt); border-radius: var(--r-m); font-size: var(--t-sm); }
.pdp-seller .hex { width: 34px; height: 38px; background: var(--honey); font-size: 17px; }
.varrow { display: flex; gap: var(--s-3); padding: var(--s-3) 0; align-items: flex-start; }
.varrow > .lbl { width: 76px; flex: none; font-size: var(--t-sm); color: var(--c-text-muted); font-weight: 600; padding-top: 10px; }
.varrow .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.varopt {
  padding: 9px 14px; border: 1.5px solid var(--c-border); border-radius: var(--r-s);
  font-size: var(--t-ui); font-weight: 600; background: var(--c-surface); display: flex; align-items: center; gap: 8px;
  transition: border-color var(--dur-quick) var(--ease-dart), background var(--dur-quick) var(--ease-dart);
}
.varopt:hover { border-color: var(--c-border-strong); }
.varopt[aria-pressed="true"] { border-color: var(--c-text); background: var(--c-honey-100); }
.varopt:disabled { opacity: .4; text-decoration: line-through; pointer-events: none; }
.varopt .dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.18) inset; }
.buyrow { display: flex; gap: 10px; margin-top: var(--s-5); }
.buyrow .btn { flex: 1; }
.buyrow .iconbtn { width: 52px; height: 52px; box-shadow: inset 0 0 0 1.5px var(--c-border-strong); }

/* Other sellers */
.otherseller {
  display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3);
  border: 1.5px solid var(--c-border); border-radius: var(--r-m); margin-bottom: 8px; flex-wrap: wrap;
  transition: border-color var(--dur-quick) var(--ease-dart), background var(--dur-quick) var(--ease-dart);
}
.otherseller.is-on { border-color: var(--c-text); background: var(--c-honey-50); }
.otherseller .info { flex: 1; min-width: 0; }
@media (max-width: 599px) { .otherseller .info { min-width: 160px; } }
.otherseller .hex { width: 38px; height: 43px; font-size: 19px; background: var(--c-honey-100); }

/* Seller card */
.sellercard { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-l); padding: var(--s-5); }
.sellercard .top { display: flex; gap: var(--s-3); align-items: center; }
.sellercard .hex { width: 52px; height: 58px; background: var(--honey); font-size: 24px; }
.sellerstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--c-border); border-radius: var(--r-m); overflow: hidden; margin: var(--s-4) 0; }
.sellerstats div { background: var(--c-surface); padding: 12px 6px; text-align: center; }
.sellerstats b { display: block; font: 800 var(--t-lg)/1.1 var(--f-display); }
.sellerstats small { font-size: 11px; color: var(--c-text-muted); font-weight: 600; }

/* Reviews */
.revsum { display: grid; gap: var(--s-5); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 768px) { .revsum { grid-template-columns: 190px 1fr; } }
.revscore { text-align: center; }
.revscore .big { font: 800 56px/1 var(--f-display); letter-spacing: -.04em; }
.revbars { display: grid; gap: 8px; }
.revbar { display: flex; align-items: center; gap: 10px; font-size: var(--t-sm); color: var(--c-text-muted); }
.revbar .track { flex: 1; height: 8px; background: var(--c-surface-alt); border-radius: var(--r-pill); overflow: hidden; }
.revbar .track i { display: block; height: 100%; background: var(--honey); border-radius: inherit; }
.review { padding: var(--s-4) 0; border-bottom: 1px solid var(--c-border); }
.review .who { display: flex; align-items: center; gap: 8px; font-size: var(--t-sm); flex-wrap: wrap; }
.review .who .av { width: 32px; height: 32px; border-radius: 50%; background: var(--c-honey-100); display: grid; place-items: center; font: 800 var(--t-sm)/1 var(--f-display); color: var(--c-text); }
.review .body { margin: 8px 0; font-size: var(--t-base); }
.review .imgs { display: flex; gap: 6px; }
.review .imgs .ph { width: 64px; height: 64px; border-radius: var(--r-s); font-size: 1.4rem; }
.helpful { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); font-weight: 600; color: var(--c-text-muted); margin-top: 8px; height: 36px; padding: 0 12px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--c-border); }
.helpful:hover { color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-text); }
.helpful .ico { width: 16px; height: 16px; }

/* Sticky bottom action bar — 48px buttons, built for one thumb */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-nav);
  background: var(--c-surface); border-top: 1px solid var(--c-border);
  display: flex; gap: 8px; padding: 10px var(--s-3);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 20px -12px rgba(26,27,31,.2);
}
@media (min-width: 1024px) { .buybar { display: none; } }
.buybar .ib { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 52px; font-size: 11px; font-weight: 600; color: var(--c-text-muted); position: relative; }
.buybar .ib .ico { width: 24px; height: 24px; }
.buybar .btn { flex: 1; padding: 0 12px; }

/* ---- Order confirmation ------------------------------------------------- */
.confirm-hero { background: #1A1B1F var(--hex-bg); color: #FFF6DC; border-radius: var(--r-l); padding: var(--s-6) var(--s-4) var(--s-8); text-align: center; position: relative; overflow: hidden; }
.confirm-hero .mee-wrap { width: min(220px, 56vw); margin: 0 auto; }
.confirm-hero h1 { font-size: clamp(30px, 6vw, var(--t-3xl)); color: #fff; margin-top: 4px; letter-spacing: -.035em; }
.confirm-hero h1 em { font-style: normal; color: var(--honey); }
.confirm-hero p { color: #CFCBC2; margin-top: 8px; }
.confirm-hero p b { color: #fff; }
.confirm-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,246,220,.14); border-radius: var(--r-m); overflow: hidden; margin: var(--s-6) auto 0; max-width: 640px; }
@media (min-width: 768px) { .confirm-facts { grid-template-columns: repeat(4, 1fr); } }
.confirm-facts > div { background: #232328; padding: 14px 10px; }
.confirm-facts .tiny { color: #A7A296; display: block; }
.confirm-facts b { color: #fff; font-family: var(--f-display); font-size: var(--t-base); }
.confirm-hero .btn--outline { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,246,220,.4); }
.confirm-hero .btn--outline:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.confirm-hero .btn--ghost { color: #FFF6DC; } .confirm-hero .btn--ghost:hover { background: rgba(255,246,220,.1); }
.confirm-hero .btn--primary { background: var(--honey); color: var(--hive); }
.confirm-hero .btn--primary:hover { background: var(--c-honey-hover); }

.otrack { display: flex; align-items: flex-start; gap: 0; padding: var(--s-4) 0; }
.track-node { flex: 1; text-align: center; position: relative; font-size: var(--t-xs); color: var(--c-text-muted); font-weight: 600; }
.track-node .d { width: 28px; height: 32px; clip-path: var(--hex-clip); background: var(--c-border); margin: 0 auto 8px; display: grid; place-items: center; color: var(--c-text-muted); font: 800 12px/1 var(--f-display); position: relative; z-index: 1; }
.track-node .d .ico { width: 14px; height: 14px; stroke-width: 3; }
.track-node::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--c-border); }
.track-node:first-child::before { display: none; }
.track-node.is-done { color: var(--c-text); }
.track-node.is-done .d { background: var(--hive); color: var(--honey); }
.track-node.is-done::before { background: var(--hive); }

/* Vertical seller list on confirmation / checkout */
.shipment { border: 1px solid var(--c-border); border-radius: var(--r-m); overflow: hidden; margin-bottom: var(--s-3); }
.shipment-head { padding: var(--s-3) var(--s-4); background: var(--c-surface-alt); display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.shipment-head .hex { width: 26px; height: 30px; font-size: 14px; background: var(--honey); }
.shipment-body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); }
.miniitem { display: flex; gap: var(--s-3); align-items: center; }
.miniitem .thumbwrap { width: 52px; flex: none; border-radius: var(--r-s); overflow: hidden; }

/* Pay overlay — one Mee moment, only while a real wait is happening */
.payfx { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(18,18,21,.74); animation: arrive var(--dur-base) var(--ease-glide); padding: var(--s-4); }
.payfx-box { background: var(--c-surface); border-radius: var(--r-l); padding: var(--s-6) var(--s-8) var(--s-8); text-align: center; width: min(360px, 100%); box-shadow: var(--e-pop); }
.payfx-box .mee-wrap { width: 160px; margin: 0 auto; }
.payfx-box h3 { font-size: var(--t-xl); margin-top: 4px; }
.payfx-box p { color: var(--c-text-muted); font-size: var(--t-ui); margin-top: 6px; }
.payfx-box .meter { height: 6px; border-radius: var(--r-pill); background: var(--c-surface-alt); margin-top: var(--s-5); overflow: hidden; }
.payfx-box .meter i { display: block; height: 100%; width: 0; background: var(--honey); animation: payfill 1.5s var(--ease-dart) forwards; }

/* ---- Component showcase page -------------------------------------------- */
.showcase { display: grid; gap: var(--s-5); }
.spec { overflow-x: auto; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-l); padding: var(--s-6); }
.spec h3 { font-size: var(--t-xl); margin-bottom: var(--s-1); display: flex; align-items: center; gap: 10px; }
.spec h3::before { content: ""; width: 12px; height: 14px; background: var(--honey); clip-path: var(--hex-clip); }
.spec .note { font-size: var(--t-ui); color: var(--c-text-muted); margin-bottom: var(--s-5); }
.spec-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.tokenchip { display: grid; gap: 6px; font-size: var(--t-xs); width: 132px; }
.tokenchip .sw { height: 72px; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); display: flex; align-items: flex-end; padding: 8px; font: 700 12px var(--f-mono); }
.tokenchip b { font-family: var(--f-display); font-size: var(--t-ui); }
.tokenchip code { font: 500 11.5px var(--f-mono); color: var(--c-text-muted); }
.moodgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.mood { background: var(--c-surface-alt); border-radius: var(--r-m); padding: 10px 10px 14px; text-align: center; }
.mood .art { background: var(--c-surface); border-radius: 10px; padding: 8px; }
.mood b { display: block; font: 800 var(--t-ui)/1.2 var(--f-display); margin-top: 8px; }
.mood small { font-size: var(--t-xs); color: var(--c-text-muted); }
.icongrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.icongrid > div { display: grid; justify-items: center; gap: 8px; padding: 14px 6px 10px; background: var(--c-surface-alt); border-radius: var(--r-m); font-size: var(--t-xs); color: var(--c-text-muted); font-weight: 600; }
.icongrid > div:hover .ico .acc { fill: var(--honey); stroke: var(--honey); }
.icongrid .ico { width: 28px; height: 28px; color: var(--c-text); }
.dodont { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--c-border); border-radius: var(--r-m); overflow: hidden; }
.dodont > div { padding: 12px 16px; border-bottom: 1px solid var(--c-border); font-size: var(--t-ui); }
.dodont > div:nth-child(odd) { border-right: 1px solid var(--c-border); }
.dodont .h { font: 700 12px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; }
.dodont .h.y { background: var(--c-success-100); color: var(--c-success); }
.dodont .h.n { background: var(--c-accent-100); color: var(--c-accent); }

/* ---- Print (receipt) ---------------------------------------------------- */
@media print {
  .announce, .hdr, .catnav, .bnav, .ftr, .buybar, #toaster, .confirm-hero .row { display: none !important; }
  body { background: #fff; padding: 0; }
}
