/* BMart shop. Berjaya's tokens (project/styles.css) on a marketplace layout: grey ground,
   white cards, dense product grid, promotion rails with countdowns. Phone first. */
:root {
  --brand: #ED1B24; --brand-press: #c4131b; --brand-soft: #fdeced;
  --ink: #14171c; --ink-2: #474e57; --ink-3: #5f6670;
  --line: #e2e6ea; --line-2: #eef1f4;
  --bg: #ffffff; --bg-2: #f4f6f8; --bg-3: #e9edf1;
  --cromwell: #FF5100; --cromwell-deep: #c23c00; --gold: #f2b233;
  /* 2026-11-15 home redesign: small white text only on the deeper reds/oranges (>= 5:1) */
  --brand-band: #d3121a; --brand-deep: #b5121a; --sale: #d3121a;
  --cw-deep: #b83800; --cw-soft: #ffe3d1; --gold-hi: #ffd23f; --blue: #1d5bd6; --blue-soft: #e8effc;
  --ok: #157f3b; --warn: #a15c00;
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
  --radius: 8px; --radius-sm: 5px;
  --shadow: 0 1px 2px rgba(20,23,28,.06), 0 2px 8px rgba(20,23,28,.04);
  --shadow-mid: 0 6px 24px rgba(20,23,28,.10);
  --shadow-lg: 0 16px 48px rgba(20,23,28,.18);
  --maxw: 1320px;
  --gutter: clamp(12px, 3vw, 32px);
  --section-y: clamp(14px, 2.2vw, 28px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --t-fast: .14s var(--ease-out);
  --t-base: .22s var(--ease-out);
  --tabbar-h: 60px;
}
@media (min-width: 1700px) { :root { --maxw: 1460px; } body { font-size: 16px; } }
@media (min-width: 2100px) { :root { --maxw: 1600px; } }

*, *::before, *::after { box-sizing: border-box; }
/* A `hidden` element stays hidden even when its class sets display (17 Nov: the 45 Years hero showed
   both "See the deals" and "Coming soon" because .slide__cta's inline-flex beat [hidden]). */
[hidden] { display: none !important; }
html, body { overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--bg-2); padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 .8em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-3); }
.small { font-size: .82rem; }
.center { text-align: center; margin-top: 18px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- type ---- */
.h-display { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: .01em; line-height: 1; padding-top: 14px; position: relative; margin: 6px 0 8px; overflow-wrap: anywhere; }
.h-display::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 4px; background: var(--brand); border-radius: 2px; }
.h-section { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem); letter-spacing: .015em; line-height: 1; }
.h-sub { font-size: 1.02rem; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.h-sub .ic { color: var(--brand); }
.link { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; font-size: .88rem; color: var(--brand-band); min-height: 44px; white-space: nowrap; }
.link .ic { width: 16px; height: 16px; transition: transform var(--t-base); }
.link--light { color: #fff; }
@media (hover: hover) and (pointer: fine) { .link:hover .ic { transform: translateX(2px); } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius-sm); background: var(--brand-band); color: #fff; font-weight: 700; font-size: .92rem; border: 1.5px solid var(--brand-band); white-space: nowrap; transition: background-color var(--t-base), border-color var(--t-base), color var(--t-base), transform var(--t-fast); }
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline { background: var(--brand-soft); color: var(--brand-deep); border-color: var(--brand-band); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--lg { min-height: 50px; font-size: 1rem; padding: 0 22px; }
.btn--block { width: 100%; }
.btn--wide { min-width: min(320px, 100%); }
@media (hover: hover) and (pointer: fine) {
  .btn:not([disabled]):hover { background: var(--brand-press); border-color: var(--brand-press); }
  .btn--ghost:not([disabled]):hover { background: var(--bg-2); border-color: var(--ink-3); color: var(--ink); }
  .btn--outline:not([disabled]):hover { background: #fbdcde; color: var(--brand-press); }
  .btn--light:not([disabled]):hover { background: var(--bg-2); border-color: var(--bg-2); }
}
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background-color var(--t-base), transform var(--t-fast); }
.iconbtn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .iconbtn:hover { background: var(--bg-2); } }

/* ---- header (2026-11-15, Jeremy: "refer Shopee"): a red band, the search box white inside it,
   popular searches under it. Small white text sits on the deeper reds only (contrast >= 5:1). */
.topbar { background: var(--brand-deep); color: #fff; font-size: .76rem; }
@media (max-width: 699px) { .topbar { display: none; } }   /* phones: the line goes, the red header starts the page (Jeremy, 15 Nov) */
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 30px; }
.topbar__in > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .92; }
.topbar__links { display: none; gap: 18px; }
.topbar__links a { color: #fff; }
@media (min-width: 700px) { .topbar__links { display: flex; } }
@media (hover: hover) and (pointer: fine) { .topbar__links a:hover { text-decoration: underline; } }
.mast { position: sticky; top: 0; z-index: 40; color: #fff; background: linear-gradient(180deg, var(--brand-band) 0%, var(--brand-deep) 100%); transition: box-shadow var(--t-base); }
.mast.is-stuck { box-shadow: 0 2px 14px rgba(20,23,28,.28); }
.mast__in { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo . cart" "find find find"; align-items: center; gap: 8px 12px; padding-top: 8px; padding-bottom: 10px; }
.mast__logo { grid-area: logo; display: block; padding: 2px 0; border-radius: var(--radius-sm); transition: transform var(--t-fast); }   /* the white logo straight on the red band */
.mast__logo:active { transform: scale(.97); }
.mast__logo img { height: 40px; width: auto; }
.mast__find { grid-area: find; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.search { position: relative; display: flex; align-items: center; min-width: 0; background: #fff; border-radius: var(--radius-sm); padding: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.14); transition: box-shadow var(--t-base); }
.search:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.55); }
.search input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 0; background: transparent; color: var(--ink); font-size: 1rem; outline: none; }
.search input::placeholder { color: var(--ink-3); }
.search input::-webkit-search-cancel-button { display: none; }
.search button[type=submit] { flex: none; width: 56px; height: 40px; display: grid; place-items: center; background: var(--brand); color: #fff; border-radius: var(--radius-sm); transition: background-color var(--t-base), transform var(--t-fast); }
.search button[type=submit]:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .search button[type=submit]:hover { background: var(--brand-press); } }
.hot { display: none; }
.mast__cart { grid-area: cart; position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; color: #fff; font-weight: 700; font-size: .9rem; border-radius: var(--radius-sm); padding: 0 6px; transition: background-color var(--t-base), transform var(--t-fast); }
.mast__cart .ic { width: 26px; height: 26px; }
.mast__cart:active { transform: scale(.95); }
.mast__cartlbl { display: none; }
.badge { position: absolute; top: 2px; left: 22px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--brand-band); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; font-family: var(--font-mono); }
.mast .badge { background: #fff; color: var(--brand-deep); border-color: var(--brand-deep); }
.badge[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .mast__cart:hover { background: rgba(255,255,255,.14); } }
@media (min-width: 900px) {
  .mast__in { grid-template-columns: auto minmax(0, 820px) auto; grid-template-areas: "logo find cart"; justify-content: space-between; gap: 28px; padding-top: 14px; padding-bottom: 10px; }
  .mast__logo img { height: 60px; }
  .search input, .search button[type=submit] { height: 42px; }
  .search button[type=submit] { width: 66px; }
  .mast__cartlbl { display: inline; }
  .badge { left: 20px; }
}
/* popular searches: mouse screens only (on a phone the row would cost a line of every page) */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .hot { display: flex; flex-wrap: wrap; gap: 0 16px; max-height: 1.6em; overflow: hidden; font-size: .78rem; }
  .hot a { color: #fff; opacity: .92; line-height: 1.6; transition: opacity var(--t-base); }
  .hot a:hover { opacity: 1; text-decoration: underline; }
}
.suggest { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 50; overflow: hidden; max-height: min(70vh, 520px); overflow-y: auto; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; min-height: 52px; border-bottom: 1px solid var(--line-2); }
.suggest a:last-child { border-bottom: 0; }
.suggest a.is-on, .suggest a:focus-visible { background: var(--bg-2); }
@media (hover: hover) and (pointer: fine) { .suggest a:hover { background: var(--bg-2); } }
.suggest img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.suggest b { display: block; font-size: .86rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.suggest small { color: var(--ink-3); font-family: var(--font-mono); font-size: .74rem; }
.suggest__price { margin-left: auto; color: var(--sale); font-weight: 800; font-size: .86rem; white-space: nowrap; }
.suggest__all { justify-content: center; font-weight: 700; color: var(--sale); font-size: .88rem; }

/* ---- footer + tab bar ---- */
.foot { background: var(--ink); color: #c8cdd3; margin-top: clamp(36px, 5vw, 64px); font-size: .9rem; }
.foot__grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.foot__brand img { height: 56px; width: auto; margin-bottom: 14px; }   /* the red logo straight on the dark footer, as BEHCO on the Berjaya site */
.foot__brand p { max-width: 42ch; }
.foot h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: #fff; letter-spacing: .03em; margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; min-height: 36px; align-items: center; transition: color var(--t-base); }
@media (hover: hover) and (pointer: fine) { .foot li a:hover { color: #fff; } }
.foot__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; overflow-wrap: anywhere; }
.foot__contact .ic { margin-top: 8px; color: var(--brand); }
.foot__contact li span { padding-top: 6px; }
.foot__base { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; border-top: 1px solid #2a3038; padding-top: 16px; padding-bottom: 20px; font-size: .8rem; }
/* tablets: the about text on its own row, so Contact (with the payment logos) has room */
@media (min-width: 700px) and (max-width: 1099px) { .foot__grid { grid-template-columns: 1fr 1fr 1.4fr; } .foot__brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
/* phones: Shop and Help side by side, the about text and Contact full width (Jeremy, 15 Nov) */
@media (max-width: 699px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } .foot__brand, .foot__grid > div:last-child { grid-column: 1 / -1; } }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .7rem; font-weight: 600; color: var(--ink-3); transition: color var(--t-base), transform var(--t-fast); }
.tabbar a:active { transform: scale(.94); }
.tabbar a.is-on { color: var(--brand-band); }
.tabbar .ic { width: 22px; height: 22px; }
.tabbar .badge { top: 4px; left: calc(50% + 4px); }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---- breadcrumbs ---- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 12px 0 4px; font-size: .8rem; color: var(--ink-3); gap: 2px; }
.crumbs li { display: inline-flex; align-items: center; gap: 2px; min-width: 0; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; transition: color var(--t-base); }
.crumbs li[aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.crumbs .ic { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--brand-band); } }

/* ---- product cards ---- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grid--home { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .listing .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base); }
.card:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .card:hover { border-color: var(--brand); box-shadow: var(--shadow-mid); transform: translateY(-2px); } }
.card__media { position: relative; display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line-2); }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.card.is-out .card__media img { opacity: .5; }
.card__off { position: absolute; top: 8px; left: 8px; background: var(--brand-band); color: #fff; font-family: var(--font-mono); font-weight: 500; font-size: .74rem; padding: 2px 7px; border-radius: 3px; letter-spacing: .02em; }
.card__off--lg { font-size: .9rem; padding: 4px 10px; top: 12px; left: 12px; }
.ribbon { position: absolute; left: 0; bottom: 8px; font-size: .64rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; padding: 3px 8px 3px 7px; border-radius: 0 3px 3px 0; }
.ribbon--45 { background: var(--ink); box-shadow: inset 3px 0 0 var(--brand); }
.ribbon--cw { background: var(--cw-deep); }
.card__out { position: absolute; inset: auto 8px 8px auto; background: rgba(20,23,28,.82); color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 3px; }
.card__body { display: flex; flex-direction: column; gap: 3px; padding: 10px 10px 12px; flex: 1; }
.card__brand { font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.card__name { font-size: .84rem; line-height: 1.35; font-weight: 500; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; overflow-wrap: anywhere; }
.card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; margin-top: auto; padding-top: 4px; }
.card__now { color: var(--sale); font-weight: 800; font-size: 1rem; letter-spacing: -.01em; }
.card__was { color: var(--ink-3); font-size: .76rem; }
.card__from { color: var(--ink-3); font-size: .72rem; }
.card__ask { color: var(--ink-2); font-size: .8rem; font-weight: 700; }
.card__sku { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card--more { align-items: center; justify-content: center; gap: 10px; padding: 18px; color: var(--brand-deep); font-weight: 800; text-align: center; background: var(--brand-soft); border-color: transparent; }

/* ---- home (2026-11-15 redesign, Jeremy: "refer Shopee ... bait a lot of different discounts",
   end-user friendly). Banner pictures come from fal (banners.js) with the words laid over them
   as real text; a dark fade behind the words keeps them readable on any picture. ---- */
.hometop { background: #fff; padding: 12px 0 2px; box-shadow: var(--shadow); }
.hero-grid { display: grid; gap: 8px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.hero { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); min-width: 0; }
.hero__track { display: flex; height: 100%; transition: transform .5s var(--ease-in-out); }
.slide { position: relative; flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 18px 18px 36px; min-height: clamp(196px, 22vw, 300px); color: #fff; overflow: hidden; isolation: isolate; }
@media (min-width: 600px) { .slide { padding: 24px 32px 40px; gap: 20px; } }
.slide__art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.slide.has-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,6,4,.62) 0%, rgba(10,6,4,.38) 38%, rgba(10,6,4,0) 62%); }
@media (max-width: 599px) { .slide__art { object-position: 82% 50%; } .slide.has-art::before { background: linear-gradient(90deg, rgba(10,6,4,.72) 0%, rgba(10,6,4,.45) 55%, rgba(10,6,4,.1) 100%); } }
.slide__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.slide__chip { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.35); padding: 3px 8px; border-radius: 3px; margin-bottom: 4px; }
.slide__titlerow { display: flex; align-items: center; gap: 10px; }
.slide__title { font-family: var(--font-display); font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem); line-height: .95; letter-spacing: .015em; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.slide__big { font-family: var(--font-display); font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.2rem); line-height: .9; letter-spacing: .01em; color: var(--gold-hi); text-shadow: 0 3px 16px rgba(0,0,0,.3); }
.slide__text { font-size: .86rem; font-weight: 500; max-width: 36ch; margin: 6px 0 10px; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.slide__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: .88rem; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform var(--t-fast), background-color var(--t-base); }
.slide__cta .ic { width: 18px; height: 18px; transition: transform var(--t-base); }
.slide:active .slide__cta { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .slide:hover .slide__cta .ic { transform: translateX(3px); } }
.slide__emblem { width: clamp(52px, 7vw, 84px); height: auto; flex: none; filter: drop-shadow(0 6px 16px rgba(0,0,0,.45)); }
.slide--cw { background: radial-gradient(120% 120% at 100% 0%, var(--cromwell) 0%, var(--cw-deep) 55%, #8f2c00 100%); }
.slide--45 { background: radial-gradient(120% 140% at 0% 50%, #2a3038 0%, var(--ink) 60%); }
.slide--45 .slide__big { font-size: clamp(2.2rem, 1.1rem + 3.3vw, 4rem); }   /* a longer line: kept clear of the toolbox */
.slide--45 .slide__copy { max-width: 56%; }
@media (max-width: 599px) { .slide--45 .slide__copy { max-width: none; } }
.slide--rm { background: radial-gradient(120% 120% at 100% 0%, var(--brand) 0%, var(--brand-deep) 55%, #7d0c12 100%); }
/* without a picture: real product photos on the right */
.slide__pics { display: flex; align-items: flex-end; padding-right: 8px; }
.slide__pic { position: relative; width: clamp(76px, 12vw, 140px); aspect-ratio: 1; background: #fff; border-radius: 14px; box-shadow: 0 10px 28px rgba(0,0,0,.25); padding: 8px; }
.slide__pic + .slide__pic { margin-left: -16px; }
.slide__pic:nth-child(1) { transform: rotate(-4deg); }
.slide__pic:nth-child(2) { transform: translateY(-20px); z-index: 1; }
.slide__pic:nth-child(3) { transform: rotate(4deg); }
.slide__pic img { width: 100%; height: 100%; object-fit: contain; }
.slide__pic b { position: absolute; top: -8px; right: -8px; background: var(--gold-hi); color: var(--ink); font-family: var(--font-mono); font-weight: 500; font-size: .76rem; padding: 3px 7px; border-radius: 999px; }
@media (max-width: 599px) { .slide__pic:nth-child(n+2) { display: none; } .slide__text { display: none; } }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 0; z-index: 2; }
.hero__dots button { width: 32px; height: 44px; display: grid; place-items: center; }   /* a 44px tall tap area round each small dot */
.hero__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); transition: width var(--t-base), background-color var(--t-base); }
.hero__dots button.is-on::before { width: 20px; border-radius: 4px; background: #fff; }

.hero-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 900px) { .hero-side { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } }
.sideban { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--radius); overflow: hidden; min-width: 0; min-height: 100px; isolation: isolate; transition: transform var(--t-base), box-shadow var(--t-base); }
.sideban:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .sideban:hover { transform: translateY(-2px); box-shadow: var(--shadow-mid); } }
.sideban__art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 85% 50%; }
.sideban.has-art .sideban__pic { display: none; }
/* a fade in the banner's own colour behind the words, so they never sit on a busy part of the picture */
.sideban.has-art::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.sideban--cw.has-art::before { background: linear-gradient(90deg, rgba(255,214,40,.94) 0%, rgba(255,214,40,.7) 48%, rgba(255,214,40,0) 72%); }
.sideban--ken.has-art::before { background: linear-gradient(90deg, rgba(8,14,26,.9) 0%, rgba(8,14,26,.6) 50%, rgba(8,14,26,0) 74%); }
@media (max-width: 599px) { .sideban--cw.has-art::before { background: linear-gradient(90deg, rgba(255,214,40,.95) 0%, rgba(255,214,40,.8) 70%, rgba(255,214,40,.35) 100%); } .sideban--ken.has-art::before { background: linear-gradient(90deg, rgba(8,14,26,.92) 0%, rgba(8,14,26,.75) 70%, rgba(8,14,26,.35) 100%); } }
.sideban__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.sideban__chip { font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; }
.sideban__big { font-family: var(--font-display); font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.7rem); line-height: .95; letter-spacing: .01em; }
.sideban__sub { font-size: .76rem; font-weight: 700; }
/* the brand's own logo on a small white badge (Jeremy, 16 Nov), with the chip beside it */
.sideban__brand { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.sideban__logo { display: inline-flex; align-items: center; height: clamp(24px, 1.2rem + .5vw, 30px); padding: 0 clamp(7px, .3rem + .3vw, 10px); background: var(--bg); border-radius: 5px; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.sideban__logo img { display: block; width: auto; max-width: 100%; }
.sideban__logo--cw img { height: clamp(17px, .9rem + .5vw, 24px); }
.sideban__logo--ken img { height: clamp(10px, .5rem + .3vw, 14px); }
.sideban__brand .sideban__chip { font-size: .64rem; padding: 3px 7px; }
.sideban__pic { width: clamp(56px, 8vw, 104px); aspect-ratio: 1; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.sideban__pic img { width: 100%; height: 100%; object-fit: contain; }
.sideban--cw { background: linear-gradient(135deg, var(--gold-hi) 0%, #ffb21f 100%); color: var(--ink); }
.sideban--cw .sideban__chip { background: var(--cw-deep); color: #fff; }
.sideban--cw .sideban__big { color: var(--sale); }
.sideban--ken { background: linear-gradient(135deg, #1d2a3a 0%, #0b1220 100%); color: #fff; }
.sideban--ken .sideban__chip { background: var(--brand-band); color: #fff; }
@media (max-width: 599px) { .sideban { min-height: 92px; padding: 10px 12px; } .sideban__sub { font-size: .7rem; } }

/* the shortcut icons */
.qls { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; padding: 12px 0 8px; }
@media (min-width: 900px) { .qls { grid-template-columns: repeat(10, minmax(0, 1fr)); padding: 16px 0 10px; } }
.ql { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 2px 8px; border-radius: var(--radius); text-align: center; min-width: 0; transition: background-color var(--t-base), transform var(--t-fast); }
.ql:active { transform: scale(.94); }
.ql__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; transition: transform var(--t-base); }
.ql__ic .ic { width: 24px; height: 24px; }
@media (hover: hover) and (pointer: fine) { .ql:hover { background: var(--bg-2); } .ql:hover .ql__ic { transform: translateY(-2px); } }
.ql__ic--cw { background: linear-gradient(135deg, var(--cromwell) 0%, var(--cw-deep) 100%); }
.ql__ic--cw .ic { fill: #fff; stroke: #fff; }
.ql__ic--45 { background: var(--ink); }
.ql__ic--45 img { width: 40px; height: 40px; }
.ql__ic--rm { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%); }
.ql__ic--rm span { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: .02em; }
.ql__ic--deal { background: var(--gold-hi); color: var(--ink); }
.ql__ic--ink { background: var(--bg-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.ql__ic--blue { background: var(--blue-soft); color: var(--blue); }
/* the fal icons: one white rounded tile for all ten, like Shopee */
.ql__ic--pic { width: 54px; height: 54px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ql__ic--pic img { width: 50px; height: 50px; object-fit: contain; }
@media (min-width: 900px) { .ql__ic--pic { width: 64px; height: 64px; border-radius: 18px; } .ql__ic--pic img { width: 60px; height: 60px; } .ql__lbl { font-size: .8rem; } }   /* Jeremy, 15 Nov: bigger */
.ql__lbl { font-size: .72rem; font-weight: 600; line-height: 1.2; color: var(--ink-2); overflow-wrap: break-word; }

/* sections */
.block { margin-top: var(--section-y); }
.block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.panel { background: #fff; border-radius: var(--radius); padding: 14px clamp(12px, 2vw, 20px) 16px; min-width: 0; box-shadow: var(--shadow); }
.panel--flush { padding-bottom: 0; overflow: hidden; }
.h-sect { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.45rem, 1.15rem + 1vw, 1.95rem); letter-spacing: .025em; line-height: 1; color: var(--ink-2); }
.h-sect--red { color: var(--sale); }

/* categories: Shopee's bordered cells, two rows, sideways on a phone */
.cattiles { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 104px; overflow-x: auto; scrollbar-width: thin; margin: 0 calc(-1 * clamp(12px, 2vw, 20px)); border-top: 1px solid var(--line-2); }
@media (min-width: 1100px) { .cattiles { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(10, minmax(0, 1fr)); overflow: visible; } }
.cattile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 14px; text-align: center; min-width: 0; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transition: box-shadow var(--t-base), transform var(--t-fast); }
.cattile:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .cattile:hover { box-shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(20,23,28,.10); z-index: 1; } .cattile:hover .cattile__img { border-color: var(--brand); } }
.cattile__img { width: 72px; height: 72px; border-radius: 50%; background: var(--bg-2); border: 2px solid transparent; display: grid; place-items: center; overflow: hidden; transition: border-color var(--t-base); }
.cattile__img img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.cattile__name { font-size: .74rem; font-weight: 600; line-height: 1.25; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* the deal strips (Cromwell Sale, 45 Years) */
.panel--flash { padding: 0; overflow: hidden; }
.flash__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px clamp(12px, 2vw, 20px); border-bottom: 1px solid var(--line-2); }
.flash__title { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.55rem, 1.15rem + 1.2vw, 2.05rem); letter-spacing: .03em; line-height: 1; color: var(--cw-deep); }
.flash__title .ic { width: 26px; height: 26px; fill: var(--cromwell); stroke: var(--cw-deep); }
.flash__title img { width: 34px; height: 34px; }
.panel--45 .flash__title { color: var(--ink); }
.flash__head .link { margin-left: auto; color: var(--sale); }
.fcd { display: inline-flex; align-items: center; gap: 3px; font-family: var(--font-mono); }
.fcd__lbl { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.fcd b { min-width: 28px; height: 26px; padding: 0 4px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 4px; font-weight: 500; font-size: .9rem; font-variant-numeric: tabular-nums; }
.fcd i { font-style: normal; font-weight: 700; color: var(--ink); }
.fcd__d { display: inline-flex; align-items: center; gap: 3px; margin-right: 6px; font-size: .78rem; font-weight: 700; color: var(--ink); }
.fcd.is-over { display: none; }
@media (max-width: 599px) { .flash__head .fcd { order: 3; width: 100%; } }   /* title + See all on one line, the countdown under them */
.panel--flash .rail { padding: 12px clamp(12px, 2vw, 20px) 16px; }
.panel--flash .rail__track { grid-auto-columns: minmax(136px, 42%); }
@media (min-width: 600px) { .panel--flash .rail__track { grid-auto-columns: minmax(150px, 27%); } }
@media (min-width: 900px) { .panel--flash .rail__track { grid-auto-columns: calc((100% - 5 * 10px) / 6); } }

.deal { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 8px; border-radius: var(--radius); border: 1px solid transparent; background: #fff; transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base); }
.deal:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .deal:hover { border-color: var(--cromwell); box-shadow: var(--shadow-mid); transform: translateY(-2px); } }
.deal__media { position: relative; display: block; aspect-ratio: 1; border-radius: 6px; border: 1px solid var(--line-2); background: #fff; overflow: hidden; }
.deal__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.deal__off { position: absolute; top: 0; right: 8px; width: 42px; padding: 4px 0 8px; display: flex; flex-direction: column; align-items: center; background: var(--gold-hi); color: var(--ink); font-size: .69rem; font-weight: 800; text-transform: uppercase; line-height: 1.05; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%); }
.deal__off b { font-size: .88rem; font-weight: 800; }
.deal__tag { position: absolute; left: 0; bottom: 6px; background: var(--cw-deep); color: #fff; font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px 2px 6px; border-radius: 0 3px 3px 0; }
.panel--45 .deal__tag { background: var(--ink); }
.deal__name { font-size: .78rem; line-height: 1.3; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; overflow-wrap: anywhere; }
.deal__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.deal__now { color: var(--sale); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.deal__price s { color: var(--ink-3); font-size: .74rem; }
.deal__bar { position: relative; display: block; height: 18px; border-radius: 999px; background: var(--cw-soft); overflow: hidden; }
.deal__bar i { position: absolute; inset: 0 auto 0 0; width: var(--fill); border-radius: 999px; background: linear-gradient(90deg, #ff8a4c 0%, var(--cromwell) 100%); }
.deal__bar em { position: relative; display: block; text-align: center; font-style: normal; font-size: .64rem; font-weight: 800; line-height: 18px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.deal__bar--hot { background: var(--brand-soft); }
.deal__bar--out { background: var(--bg-3); }
.deal__bar--out em { color: var(--ink-3); }
.deal--more { align-items: center; justify-content: center; gap: 10px; text-align: center; color: var(--cw-deep); font-weight: 800; background: #fff6f0; border: 1px dashed var(--cromwell); }

/* the wide 45 Years strip (Shopee's "free for first order" spot) */
.midban { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 18px; padding: 14px clamp(14px, 3vw, 30px); min-height: 104px; border-radius: var(--radius); overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(100deg, var(--ink) 0%, #2a1416 55%, var(--brand-deep) 100%); transition: transform var(--t-fast), box-shadow var(--t-base); }
.midban:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) { .midban:hover { box-shadow: var(--shadow-mid); } .midban:hover .midban__go { transform: translateX(3px); } }
.midban__art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.midban__emblem { width: clamp(56px, 8vw, 88px); height: auto; filter: drop-shadow(0 6px 16px rgba(0,0,0,.5)); }
.midban__copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.midban__kick { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); }
.midban__title { font-family: var(--font-display); font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3rem); line-height: .95; letter-spacing: .02em; }
.midban__sub { font-size: .84rem; opacity: .92; }
.midban__go { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--brand-deep); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform var(--t-base); }
@media (max-width: 599px) { .midban { gap: 10px; } .midban__sub { display: none; } .midban__go { width: 40px; height: 40px; } .midban__long { display: none; } }
.midban__short { display: none; }
@media (max-width: 599px) { .midban__short { display: inline; } }
/* on a narrow strip the words reach the balloons: a dark fade keeps them readable */
.midban.has-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,4,4,.55) 0%, rgba(10,4,4,.25) 45%, rgba(10,4,4,0) 70%); }
@media (max-width: 599px) { .midban.has-art::before { background: linear-gradient(90deg, rgba(10,4,4,.85) 0%, rgba(10,4,4,.65) 65%, rgba(10,4,4,.2) 100%); } }

/* Official Brands (Shopee Mall idea) */
.mall__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-bottom: 12px; }
.mall__trust { display: none; list-style: none; margin: 0; padding: 0; gap: 16px; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.mall__trust li { display: inline-flex; align-items: center; gap: 5px; }
.mall__trust .ic { width: 16px; height: 16px; color: var(--sale); }
@media (min-width: 760px) { .mall__trust { display: flex; } }
.mall__head .link { margin-left: auto; color: var(--sale); }
.mall__body { display: grid; gap: 10px; }
@media (min-width: 900px) { .mall__body { grid-template-columns: minmax(0, 1fr) minmax(0, 2.7fr); } }
.mall__feature { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; min-height: 190px; border-radius: var(--radius); overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--cw-deep) 0%, #7d2600 100%); transition: transform var(--t-base), box-shadow var(--t-base); }
.mall__feature::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 34px solid rgba(255,255,255,.08); pointer-events: none; }
.mall__feature:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .mall__feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-mid); } }
.mall__wm { background: #fff; border-radius: var(--radius-sm); padding: 8px 12px; }
.mall__wm img { width: 140px; height: auto; }
.mall__ftitle { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1; letter-spacing: .02em; margin-top: auto; }
.mall__fsub { font-size: .82rem; opacity: .92; max-width: 34ch; }
.mall__fcta { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--cw-deep); font-weight: 800; font-size: .84rem; }
.mall__fcta .ic { width: 16px; height: 16px; }
.mall__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .mall__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mallcard { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 8px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); min-width: 0; transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base); }
.mallcard:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .mallcard:hover { border-color: var(--brand); box-shadow: var(--shadow-mid); transform: translateY(-2px); } }
.mallcard__img { display: block; width: 100%; aspect-ratio: 1.3; }
.mallcard__img img { width: 100%; height: 100%; object-fit: contain; }
.mallcard__logo { display: grid; place-items: center; width: 100%; max-width: 140px; height: 34px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.mallcard__logo img { max-height: 24px; width: auto; max-width: 100%; object-fit: contain; }
.mallcard__go { font-size: .8rem; font-weight: 800; color: var(--sale); }

/* shop by price */
.ptiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 40%); gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.ptiles::-webkit-scrollbar { display: none; }
@media (min-width: 600px) { .ptiles { grid-auto-columns: minmax(150px, 28%); } }
@media (min-width: 900px) { .ptiles { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; } }
.ptile { display: flex; flex-direction: column; gap: 8px; min-width: 0; scroll-snap-align: start; transition: transform var(--t-base); }
.ptile:active { transform: scale(.97); }
.ptile__img { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden; transition: border-color var(--t-base); }
.ptile__img img { width: 100%; height: 100%; object-fit: contain; padding: 10% 10% 22%; mix-blend-mode: multiply; }
.ptile__count { position: absolute; left: 0; right: 0; bottom: 0; padding: 5px 4px; background: rgba(20,23,28,.78); color: #fff; font-size: .72rem; font-weight: 700; text-align: center; }
@media (hover: hover) and (pointer: fine) { .ptile:hover { transform: translateY(-2px); } .ptile:hover .ptile__img { border-color: var(--brand); } }
.ptile__lbl { display: flex; align-items: baseline; gap: 5px; font-family: var(--font-display); font-size: 1.45rem; line-height: 1; letter-spacing: .01em; color: var(--ink); }
.ptile__lbl small { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.ptile--deal .ptile__lbl { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 1.2rem; color: var(--sale); }
.ptile--deal .ptile__img { background: #fff6f0; }

/* countdown */
.cd { display: inline-flex; align-items: center; gap: 5px; flex-wrap: nowrap; }
.cd__lbl { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-right: 3px; }
.cd__box { display: flex; flex-direction: column; align-items: center; min-width: 38px; background: #fff; color: var(--ink); border-radius: 4px; padding: 3px 4px 2px; line-height: 1; }
.cd__box b { font-family: var(--font-mono); font-weight: 500; font-size: 1.02rem; color: var(--brand-band); }
.cd__box small { font-size: .56rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-top: 2px; }
.promohead--cw .cd__box b, .pbanner--cw .cd__box b { color: var(--cromwell-deep); }
.cd.is-over { display: none; }

/* rails */
.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 46%); gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
/* room inside the strip for a card's hover lift, red border and shadow, which the strip would
   otherwise cut off (Jeremy, 15 Nov: "the cut red lines when I hover"); the negative margin keeps
   the strip where it was */
.rail__track { padding: 6px 3px 14px; margin: -6px -3px -14px; scroll-padding-left: 3px; }
@media (min-width: 600px) { .rail__track { grid-auto-columns: minmax(170px, 30%); } }
@media (min-width: 900px) { .rail__track { grid-auto-columns: calc((100% - 5 * 10px) / 6); gap: 10px; } }
.rail__btn { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .rail__btn { display: grid; place-items: center; position: absolute; top: 40%; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-mid); color: var(--ink); opacity: 0; transition: opacity var(--t-base), transform var(--t-fast); }
  .rail__btn--l { left: 4px; } .rail__btn--r { right: 4px; }
  .rail:hover .rail__btn:not([disabled]) { opacity: 1; }
  .rail__btn:active { transform: scale(.94); }
}
.rail--empty { padding: 18px clamp(12px, 2vw, 22px) 20px; }
.soon { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 16px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); font-size: .9rem; }
.soon .ic { color: var(--brand); margin-top: 2px; }

.discover__head { position: sticky; top: var(--mast-h, 104px); z-index: 5; background: #fff; border-bottom: 4px solid var(--brand); padding: 12px; text-align: center; margin-bottom: 8px; border-radius: var(--radius) var(--radius) 0 0; }
.discover__head .h-sect { color: var(--sale); }

/* ---- promotion banners (listing pages) ---- */
.pbanner { color: #fff; margin-top: 4px; }
.pbanner__in { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(20px, 3vw, 36px); }
.pbanner--cw { background: var(--cw-deep); }
.pbanner--45 { background: radial-gradient(120% 160% at 10% 50%, #2a3038 0%, var(--ink) 60%); box-shadow: inset 0 -4px 0 var(--brand); }
.pbanner__logo { display: none; background: #fff; border-radius: var(--radius); padding: 22px 30px; box-shadow: 0 10px 30px rgba(0,0,0,.15); flex: none; }
.pbanner__logo img { width: 240px; height: auto; }
.pbanner__emblem { width: clamp(84px, 14vw, 150px); height: auto; flex: none; }
.pbanner__copy { min-width: 0; }
.pbanner__kicker { font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 4px; opacity: .9; }
.pbanner__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 1.4rem + 4vw, 4.6rem); line-height: .92; margin-bottom: 8px; }
.pbanner .cd { margin-top: 6px; background: rgba(0,0,0,.18); padding: 7px 9px; border-radius: var(--radius-sm); }
@media (min-width: 700px) { .pbanner__logo { display: block; } }
.bbanner { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--radius); padding: 14px 18px; margin-top: 8px; }
.bbanner__logo { width: 150px; height: 60px; display: grid; place-items: center; }
.bbanner__logo img { max-height: 60px; width: auto; }
.bbanner p { margin: 0; color: var(--ink-3); font-family: var(--font-mono); font-size: .82rem; }

/* ---- listing ---- */
.listing { display: grid; gap: 16px; margin-top: 10px; }
@media (min-width: 1024px) { .listing { grid-template-columns: 240px minmax(0, 1fr); align-items: start; } }
.results { min-width: 0; }
.results__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 14px; margin-bottom: 10px; }
.results__head .h-display { margin-bottom: 0; }
.results__head p { margin: 0 0 4px; font-size: .82rem; }
.sortbar { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; background: #fff; border-radius: var(--radius); padding: 8px 10px; margin-bottom: 10px; }
.sortbar__lbl { font-size: .84rem; color: var(--ink-3); display: none; }
.seg { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1 1 auto; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; min-height: 40px; padding: 0 14px; border-radius: var(--radius-sm); font-size: .84rem; font-weight: 600; background: var(--bg-2); color: var(--ink-2); transition: background-color var(--t-base), color var(--t-base), transform var(--t-fast); }
.seg button:active { transform: scale(.96); }
.seg button.is-on { background: var(--brand-band); color: #fff; }
@media (hover: hover) and (pointer: fine) { .seg button:not(.is-on):hover { background: var(--bg-3); color: var(--ink); } }
.sortbar__filter { min-height: 40px; }
.sortbar__count { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-3); margin-left: auto; }
@media (min-width: 700px) { .sortbar__lbl { display: inline; } .seg { flex: 0 1 auto; } }
@media (min-width: 1024px) { .sortbar__filter { display: none; } }
.filters { background: #fff; border-radius: var(--radius); padding: 6px 16px 16px; font-size: .88rem; }
.filters__head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.filters__head h2 { font-size: 1rem; font-weight: 800; }
.filters__head .iconbtn, .filters__foot { display: none; }
.fgroup { border-top: 1px solid var(--line-2); padding: 12px 0; }
.fgroup h3 { font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.fcats { list-style: none; margin: 0; padding: 0; }
.fcats a { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-height: 36px; color: var(--ink-2); transition: color var(--t-base); }
.fcats a span { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .fcats a:hover { color: var(--brand-band); } }
/* a brand's own categories (16 Nov): each group in bold, the kinds inside it indented under it */
.fcats--tree li:not(.is-sub) > a { font-weight: 700; color: var(--ink); }
.fcats--tree li.is-sub > a { padding: 4px 0 4px 14px; line-height: 1.3; }
.fcats--tree li:not(.is-sub):not(:first-child) { border-top: 1px solid var(--line-2); margin-top: 4px; }
.fcats a.is-on, .fcats--tree li > a.is-on { color: var(--brand-press); font-weight: 700; }
.fcats a.is-on span { color: var(--brand-press); }
.fbrands { max-height: 280px; overflow-y: auto; }
.chk { display: flex; align-items: center; gap: 10px; min-height: 38px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; margin: 0; }
.chk span { flex: 1; min-width: 0; }
.chk small { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-3); }
.fprice { display: flex; align-items: center; gap: 8px; }
.fprice input { width: 100%; min-width: 0; height: 40px; border: 0; border-bottom: 1.5px solid var(--line); background: transparent; padding: 0 2px; font-size: 1rem; outline: none; transition: border-color var(--t-base); }
.fprice input:focus { border-color: var(--brand); }
@media (max-width: 1023px) {
  .filters { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 60; border-radius: 0; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease-out); box-shadow: var(--shadow-lg); padding-bottom: 90px; visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__head .iconbtn { display: grid; }
  .filters__foot { display: flex; gap: 8px; position: fixed; bottom: 0; right: 0; width: min(360px, 88vw); background: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .filters__foot .btn { flex: 1; }
  body.filters-open::after { content: ""; position: fixed; inset: 0; background: rgba(20,23,28,.45); z-index: 55; }
}
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border-radius: var(--radius-sm); font-weight: 700; font-size: .9rem; background: #fff; border: 1px solid var(--line); padding: 0 12px; transition: border-color var(--t-base), color var(--t-base), transform var(--t-fast); }
.pager a:active { transform: scale(.95); }
.pager .is-on { background: var(--brand-band); color: #fff; border-color: var(--brand-band); }
.pager .gap { border: 0; background: transparent; min-width: 20px; padding: 0; }
@media (hover: hover) and (pointer: fine) { .pager a:hover { border-color: var(--brand-band); color: var(--brand-band); } }
.empty { background: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center; color: var(--ink-2); }
.empty .btn { margin-top: 6px; }

/* category + brand index */
.catindex { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 700px) { .catindex { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .catindex { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.catindex__group { background: #fff; border-radius: var(--radius); padding: 14px 16px; min-width: 0; }
.catindex__top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.catindex__top img { width: 56px; height: 56px; object-fit: contain; background: var(--bg-2); border-radius: 50%; padding: 6px; }
.catindex__top span { display: flex; flex-direction: column; }
.catindex__top b { font-size: 1rem; }
.catindex__top small { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-3); }
.catindex ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 14px; }
.catindex li a { display: flex; justify-content: space-between; gap: 6px; min-height: 34px; align-items: center; font-size: .84rem; color: var(--ink-2); break-inside: avoid; }
.catindex li span { font-family: var(--font-mono); font-size: .7rem; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .catindex li a:hover, .catindex__top:hover b { color: var(--brand-band); } }
.brandindex { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
@media (min-width: 700px) { .brandindex { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .brandindex { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.brandcard { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; min-width: 0; transition: border-color var(--t-base), transform var(--t-fast); }
.brandcard img { height: 44px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.brandcard__name { font-family: var(--font-display); font-size: 1.6rem; line-height: 44px; color: var(--ink); }
.brandcard__meta { display: flex; flex-direction: column; }
.brandcard b { font-size: .86rem; }
.brandcard small { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-3); }
.brandcard:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .brandcard:hover { border-color: var(--brand); } }

/* ---- product page ---- */
.pmain { display: grid; gap: 16px; background: #fff; border-radius: var(--radius); padding: clamp(12px, 2vw, 24px); margin-top: 8px; }
@media (min-width: 900px) { .pmain { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 44px); } }
.pgal { min-width: 0; }
.pgal__main { position: relative; aspect-ratio: 1; border: 1px solid var(--line-2); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; background: #fff; }
.pgal__main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity var(--t-base); }
.pgal__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.pgal__t { flex: none; width: 64px; height: 64px; border: 2px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: #fff; transition: border-color var(--t-base), transform var(--t-fast); }
.pgal__t img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.pgal__t.is-on { border-color: var(--brand); }
.pgal__t:active { transform: scale(.95); }
.pbuy { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pbrand { display: inline-flex; align-self: flex-start; align-items: center; min-height: 36px; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.pbrand img { height: 32px; width: auto; max-width: 160px; object-fit: contain; }
.ptitle { font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.pmeta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: .84rem; color: var(--ink-3); margin: 0; }
.pmeta b { color: var(--ink); font-weight: 500; }
.stock { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--ok); } .stock--out { color: var(--brand-band); } .stock--order { color: var(--warn); }
.pbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 8px 12px; border-radius: var(--radius-sm); color: #fff; font-weight: 700; font-size: .86rem; }
.pbar img { width: 22px; height: 22px; }
.pbar .cd { margin-left: auto; }
.pbar--cw { background: var(--cw-deep); }
.pbar--cw img { background: #fff; border-radius: 50%; padding: 2px; }
.pbar--45 { background: var(--ink); box-shadow: inset 4px 0 0 var(--brand); }
.pprice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; background: var(--bg-2); border-radius: var(--radius-sm); padding: 14px 16px; }
.pprice__now { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); font-weight: 800; color: var(--brand); letter-spacing: -.01em; }
.pprice__was { color: var(--ink-3); font-size: 1rem; }
.pprice__off { background: var(--brand-band); color: #fff; font-family: var(--font-mono); font-size: .8rem; padding: 2px 8px; border-radius: 3px; }
.pprice--ask span { font-size: 1.2rem; font-weight: 800; }
.pform { display: flex; flex-direction: column; gap: 14px; }
.opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt legend { font-size: .82rem; font-weight: 700; color: var(--ink-3); margin-bottom: 6px; padding: 0; }
.opt__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: .86rem; font-weight: 600; transition: border-color var(--t-base), color var(--t-base), transform var(--t-fast); }
.chip:active { transform: scale(.96); }
.chip.is-on { border-color: var(--brand-band); color: var(--brand-deep); background: var(--brand-soft); }
.chip.is-na { opacity: .4; text-decoration: line-through; }
@media (hover: hover) and (pointer: fine) { .chip:not(.is-on):hover { border-color: var(--ink-3); } }
.qty { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.qty__lbl { font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.qty__note { font-size: .8rem; }
.stepper { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.stepper button { width: 44px; height: 44px; display: grid; place-items: center; transition: background-color var(--t-base), transform var(--t-fast); }
.stepper button:active { transform: scale(.92); }
.stepper .ic { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .stepper button:hover { background: var(--bg-2); } }
.stepper input { width: 56px; height: 44px; border: 0; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); text-align: center; font-size: 1rem; font-weight: 700; -moz-appearance: textfield; outline: none; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--sm button { width: 36px; height: 36px; }
.stepper--sm input { width: 44px; height: 36px; font-size: 1rem; }
.pform__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 899px) {
  .page-product .pform__btns { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 44; background: #fff; padding: 8px var(--gutter); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(20,23,28,.08); }
  .page-product .foot { padding-bottom: 70px; }
}
.pperks { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 10px; }
.pperks li { display: flex; gap: 12px; align-items: flex-start; }
.pperks .ic { color: var(--brand); margin-top: 1px; }
.pperks span { display: flex; flex-direction: column; font-size: .86rem; }
.pperks small { color: var(--ink-3); font-size: .8rem; }
.pperks a { text-decoration: underline; text-underline-offset: 2px; }
.pinfo { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 1000px) { .pinfo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; } }
.pcard { background: #fff; border-radius: var(--radius); padding: clamp(14px, 2vw, 24px); min-width: 0; }
.specs { width: 100%; border-collapse: collapse; font-size: .86rem; }
.specs th, .specs td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line-2); vertical-align: top; overflow-wrap: anywhere; }
.specs th { width: 40%; color: var(--ink-3); font-weight: 600; }
.specs a { color: var(--brand-band); }
.prose { font-size: .92rem; color: var(--ink-2); overflow-wrap: break-word; }
.prose h2, .prose h3 { color: var(--ink); font-size: 1.05rem; margin: 1.2em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { color: var(--brand-band); text-decoration: underline; text-underline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 8px; }
.prose--page { max-width: 860px; margin-top: 10px; }
.prose--page .h-display { margin-bottom: 18px; }
.skel { background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2)); background-size: 200% 100%; animation: skel 1.2s linear infinite; border-radius: var(--radius-sm); }
.skel--img { aspect-ratio: 1; }
.skel--line { height: 22px; } .skel--short { width: 50%; } .skel--block { height: 90px; }
@keyframes skel { to { background-position: -200% 0; } }

/* ---- cart drawer, cart page, checkout ---- */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(20,23,28,.45); opacity: 0; transition: opacity var(--t-base); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s var(--ease-out); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 6px 18px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 8px; }
.drawer__foot .row { display: flex; justify-content: space-between; font-weight: 800; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.line:last-child { border-bottom: 0; }
.line__img { width: 64px; height: 64px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.line__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.line__name { font-size: .86rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.line__meta { font-size: .76rem; color: var(--ink-3); font-family: var(--font-mono); margin: 2px 0 6px; overflow-wrap: anywhere; }
.line__price { text-align: right; font-weight: 800; font-size: .9rem; white-space: nowrap; }
.line__price s { display: block; color: var(--ink-3); font-weight: 400; font-size: .76rem; }
.line__ctl { display: flex; align-items: center; gap: 8px; }
.line__rm { width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink-3); border-radius: 50%; transition: color var(--t-base), background-color var(--t-base), transform var(--t-fast); }
.line__rm:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .line__rm:hover { color: var(--brand); background: var(--brand-soft); } }
.line__rm .ic { width: 18px; height: 18px; }
.cartempty { text-align: center; padding: 40px 10px; color: var(--ink-2); }
.cartempty .ic { width: 48px; height: 48px; color: var(--line); margin: 0 auto 10px; }
.cartpage { display: grid; gap: 12px; margin-top: 8px; }
@media (min-width: 900px) { .cartpage { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.cartpage .totals-card { position: sticky; top: calc(var(--mast-h, 104px) + 10px); }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 12px 0; font-size: .9rem; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; text-align: right; font-weight: 700; }
.totals .grand { font-size: 1.1rem; font-weight: 800; padding-top: 10px; border-top: 1px solid var(--line); }
.totals dd.grand { color: var(--brand); }
.totals small { display: block; font-weight: 500; color: var(--ink-3); font-size: .76rem; }
.checkout { display: grid; gap: 12px; margin-top: 8px; }
@media (min-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .checkout__sum { position: sticky; top: calc(var(--mast-h, 104px) + 10px); } }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
@media (min-width: 560px) { .field--half { grid-column: span 1; } }
.field label { font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.field label small { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; font-size: 1rem; border: 0; border-bottom: 1.5px solid var(--line); background: transparent; padding: 10px 2px; outline: none; border-radius: 0; transition: border-color var(--t-base); }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b727b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 2px center / 18px no-repeat; padding-right: 26px; }
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.field.is-bad input, .field.is-bad select { border-color: var(--brand); }
.field .err { color: var(--brand); font-size: .76rem; font-weight: 600; }
.sumlines .line { grid-template-columns: 48px minmax(0, 1fr) auto; }
.sumlines .line__img { width: 48px; height: 48px; }
.checkout__err { background: var(--brand-soft); color: var(--brand-press); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .86rem; font-weight: 600; margin-bottom: 10px; }
.received { max-width: 680px; margin: 20px auto 0; text-align: center; padding: 34px 22px; }
.received .ic { width: 56px; height: 56px; color: var(--ok); margin: 0 auto 8px; }
.received.is-failed .ic { color: var(--brand); }
.received h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); margin-bottom: 8px; }
.received__no { font-family: var(--font-mono); font-size: 1.1rem; background: var(--bg-2); border-radius: var(--radius-sm); display: inline-block; padding: 6px 14px; margin: 6px 0 14px; }
.notfound { max-width: 720px; margin: 20px auto 0; text-align: center; padding: 34px 22px; }
.notfound__code { font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--brand); margin: 0; }
.notfound .h-display::before { left: 50%; transform: translateX(-50%); }
.search--inline { max-width: 460px; margin: 14px auto; }
.contactlist { list-style: none; padding: 0; display: grid; gap: 14px; margin: 18px 0; }
.contactlist li { display: flex; gap: 12px; align-items: flex-start; }
.contactlist .ic { color: var(--brand); margin-top: 2px; }
.contactlist span { display: flex; flex-direction: column; }
.contactlist a { color: var(--brand); }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 80; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity var(--t-base), transform var(--t-base); max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 10px; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #ffb3b6; text-decoration: underline; white-space: nowrap; }
@media (min-width: 900px) { .toast { bottom: 24px; } }


/* ---- round 2 (Jeremy, 15 Nov) ---- */
/* The Cromwell Sale strip: "more obvious and striking ... instead of the normal white". A full
   orange panel on a fal sale backdrop, white headline, yellow "up to" pill, white cards on top.
   Small white text sits on the darker top of the panel (an overlay keeps it >= 4.5:1). */
.panel--cw { position: relative; isolation: isolate; background: linear-gradient(120deg, #ff6a13 0%, #e14a00 45%, var(--cw-deep) 100%); box-shadow: 0 10px 30px rgba(184,56,0,.28); }
.flash__art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.panel--cw::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(110,30,0,.6) 0%, rgba(110,30,0,.22) 34%, rgba(110,30,0,.08) 100%); }
.panel--cw .flash__head { border-bottom: 0; padding-top: 16px; padding-bottom: 8px; }
.panel--cw .flash__title { color: #fff; gap: 10px; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem); text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.flash__bolt { position: relative; isolation: isolate; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-hi); }
.panel--cw .flash__bolt .ic { width: 24px; height: 24px; fill: var(--sale); stroke: var(--sale); }
/* a soft ring that keeps pulsing out of the bolt: the strip's one moving detail (transform + opacity only) */
.flash__bolt::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--gold-hi); animation: boltRing 1.8s var(--ease-out) infinite; }
@keyframes boltRing { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.75); opacity: 0; } }
.flash__pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--gold-hi); color: var(--ink); font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.panel--cw .fcd__lbl, .panel--cw .fcd__d, .panel--cw .fcd i { color: #fff; }
.panel--cw .flash__head .link { color: #fff; }
.panel--cw .rail { padding-top: 6px; }
.panel--cw .deal { box-shadow: 0 6px 18px rgba(80,20,0,.2); }
.panel--cw .deal__media { border-color: transparent; }
@media (hover: hover) and (pointer: fine) { .panel--cw .deal:hover { border-color: var(--gold-hi); box-shadow: 0 10px 26px rgba(80,20,0,.3); } }
.panel--cw .deal--more { background: rgba(255,255,255,.95); border: 0; }
.panel--cw .rail__btn { color: var(--cw-deep); }
@media (max-width: 599px) { .panel--cw .flash__title { font-size: 1.85rem; } .flash__bolt { width: 34px; height: 34px; } .panel--cw .flash__bolt .ic { width: 20px; height: 20px; } }

/* The "Authorised Cromwell partner" tile: a fal photo instead of plain orange, with the logo on
   its calm top and the words on a dark fade at the foot. */
.mall__feature { isolation: isolate; }
.mall__art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.mall__feature.has-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24,10,2,.1) 0%, rgba(24,10,2,0) 28%, rgba(24,10,2,.5) 58%, rgba(24,10,2,.92) 100%); }
.mall__feature.has-art::after { display: none; }
@media (max-width: 899px) { .mall__feature.has-art { min-height: 360px; } }
/* twelve brand cards on a computer, eight on a phone */
.mallcard__img { aspect-ratio: 1.45; }
@media (max-width: 599px) { .mallcard:nth-child(n+9) { display: none; } }

/* the footer: payment logos (Jeremy: logos "instead of just stating them") and the site credit */
.foot__pay { margin-top: 18px; }
.foot__pay h3 { margin: 0 0 8px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #c8cdd3; }
/* every logo on one row: each takes an equal share of the width, however many there are */
.paylogos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; max-width: 420px; list-style: none; margin: 0; padding: 0; }
.paylogos li { min-width: 0; height: 36px; display: grid; place-items: center; padding: 4px 5px; background: #fff; border-radius: 6px; }
.paylogos img { max-width: 100%; max-height: 24px; width: auto; height: auto; object-fit: contain; }
.foot__links { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }


/* ---- phones and tablets: nothing to swipe sideways (Jeremy, 15 Nov: "I don't like that you
   have to scroll these on mobile"). Computers keep the wider layouts above. ---- */
/* categories: a grid, two rows to start, the rest behind "Show all" */
@media (max-width: 1099px) {
  .cattiles { grid-auto-flow: row; grid-template-rows: none; grid-auto-columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .cattiles:not(.is-open) .cattile:nth-child(n+9) { display: none; }
}
@media (min-width: 600px) and (max-width: 1099px) {
  .cattiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cattiles:not(.is-open) .cattile:nth-child(n+9) { display: flex; }
  .cattiles:not(.is-open) .cattile:nth-child(n+13) { display: none; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .cattiles { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .cattiles:not(.is-open) .cattile:nth-child(n+13) { display: flex; }
  .cattiles:not(.is-open) .cattile:nth-child(n+17) { display: none; }
}
@media (max-width: 599px) {
  .cattile { padding: 10px 4px 12px; gap: 6px; }
  .cattile__img { width: 58px; height: 58px; }
  .cattile__img img { width: 46px; height: 46px; }
  .cattile__name { font-size: .7rem; -webkit-line-clamp: 3; }   /* "Measuring & Test Equipment" whole */
}
.cattiles__more { display: flex; align-items: center; justify-content: center; gap: 6px; width: calc(100% + 2 * clamp(12px, 2vw, 20px)); margin: 0 calc(-1 * clamp(12px, 2vw, 20px)); min-height: 48px; color: var(--sale); font-weight: 700; font-size: .86rem; transition: background-color var(--t-base); }
.cattiles__more .ic { width: 18px; height: 18px; transition: transform var(--t-base); }
.cattiles__more[aria-expanded="true"] .ic { transform: rotate(180deg); }
.cattiles__more:active { background: var(--bg-2); }
@media (hover: hover) and (pointer: fine) { .cattiles__more:hover { background: var(--bg-2); } }
@media (min-width: 1100px) { .cattiles__more { display: none; } }

/* shop by price: all six tiles, two rows of three */
@media (max-width: 899px) {
  .ptiles { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; gap: 8px; }
  .ptile__lbl { flex-direction: column; align-items: flex-start; gap: 1px; font-size: 1.3rem; }
  .ptile--deal .ptile__lbl { font-size: 1.05rem; }
}

/* the deal strips glide along by themselves (shop.js autoRail), so no snapping to fight it */
@media (max-width: 899px) { .panel--flash .rail__track { scroll-snap-type: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---- delivery charges page (/delivery/) ----
   Chart colours checked with the dataviz validator (CVD + contrast pass): blue = the courier's
   price, BEHCO red = BMart's packing and handling. Text stays in ink, never the series colour. */
:root { --viz-courier: #2a78d6; --viz-extra: #ED1B24; }
.delivery__head .lead { font-size: 1rem; color: var(--ink-2); max-width: 70ch; margin-bottom: 4px; }
.delivery .pcard { margin-top: 10px; }
.dsteps { margin: 0 0 10px; padding-left: 1.3em; display: grid; gap: 6px; font-size: .92rem; }
.dnote { color: var(--ink-2); font-size: .9rem; max-width: 78ch; }
.dlegend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .84rem; color: var(--ink-2); margin: 4px 0 14px; }
.dlegend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex: none; }
.sw--c { background: var(--viz-courier); }
.sw--x { background: var(--viz-extra); }
.dcharts { display: grid; gap: 14px; }
@media (min-width: 900px) { .dcharts { grid-template-columns: 1fr 1fr; } }
.dchart { margin: 0; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px 14px 10px; min-width: 0; }
.dchart figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.dchart figcaption b { font-size: .95rem; }
.dchart figcaption span { font-size: .72rem; color: var(--ink-3); }
.dchart__plot { position: relative; height: 220px; margin: 30px 0 28px 46px; }
.dchart__plot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--ink-3); }
.dchart__grid span { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line-2); }
.dchart__grid i { position: absolute; right: calc(100% + 6px); top: -.62em; font-style: normal; font-size: .66rem; color: var(--ink-3); font-family: var(--font-mono); white-space: nowrap; }
.dchart__cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: 4px; }
.dchart__col { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; border-radius: 4px; cursor: default; }
.dchart__col:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.dchart__stack { position: relative; width: min(60%, 44px); display: flex; flex-direction: column; gap: 2px; transition: opacity var(--t-base); }
.dchart__cols:hover .dchart__col:not(:hover) .dchart__stack { opacity: .55; }
.dchart__extra { background: var(--viz-extra); border-radius: 4px 4px 0 0; min-height: 3px; flex-basis: 0; }
.dchart__base { background: var(--viz-courier); flex-basis: 0; }
.dchart__total { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: .7rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.dchart__x { position: absolute; top: calc(100% + 7px); left: 0; right: 0; text-align: center; font-size: .72rem; color: var(--ink-2); font-family: var(--font-mono); white-space: nowrap; }
.dchart__tip { display: none; position: absolute; z-index: 6; top: 0; left: 50%; transform: translate(-50%, calc(-100% - 8px)); background: var(--ink); color: #fff; padding: 8px 10px; border-radius: 6px; font-size: .74rem; white-space: nowrap; flex-direction: column; gap: 3px; box-shadow: var(--shadow-mid); pointer-events: none; }
.dchart__tip span { display: flex; align-items: center; gap: 7px; }
.dchart__tipsum { font-weight: 800; border-top: 1px solid rgba(255,255,255,.2); padding-top: 4px; margin-top: 1px; }
.dchart__col:first-child .dchart__tip { left: 0; transform: translate(0, calc(-100% - 8px)); }
.dchart__col:last-child .dchart__tip, .dchart__col:nth-last-child(2) .dchart__tip { left: auto; right: 0; transform: translate(0, calc(-100% - 8px)); }
.dchart__col:hover .dchart__tip, .dchart__col:focus .dchart__tip { display: flex; }
.dtables { display: grid; gap: 16px; }
@media (min-width: 1100px) { .dtables { grid-template-columns: 1fr 1fr; } }
.dtable__wrap { overflow-x: auto; min-width: 0; }
.dtable { width: 100%; border-collapse: collapse; font-size: .84rem; }
.dtable caption { text-align: left; font-weight: 800; padding-bottom: 6px; }
.dtable th, .dtable td { padding: 8px 6px; border-bottom: 1px solid var(--line-2); text-align: right; white-space: nowrap; }
.dtable th[scope=row], .dtable thead th:first-child { text-align: left; }
.dtable thead th { font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-weight: 700; white-space: normal; vertical-align: bottom; }
.dtable td:last-child { color: var(--ink); }
.dlist { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .92rem; }
.dsource { margin-top: 14px; max-width: 90ch; }

@media (max-width: 599px) { .dtable__src { display: none; } .dtable { font-size: .82rem; } }
.dnote__wide { display: none; }
@media (max-width: 599px) and (orientation: portrait) { .dnote__wide { display: inline; } }

/* ---- 45 Years popup (home page, every visit until "Don't show this again"; Jeremy, 16 Nov) ---- */
:root { --pop-deep: #6e0a10; --pop-shade: rgba(10,4,4,.64); }
.pop45 { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.pop45[hidden], .pop45 [hidden] { display: none !important; }   /* .btn's inline-flex would otherwise show a hidden button */
.pop45__back { position: absolute; inset: 0; background: var(--pop-shade); opacity: 0; transition: opacity .24s var(--ease-out); }
.pop45__card { position: relative; width: min(400px, 100%); max-height: calc(100dvh - 32px); overflow: hidden auto; overscroll-behavior: contain; border-radius: 16px; background: var(--pop-deep); color: #fff; box-shadow: 0 24px 64px rgba(0,0,0,.45); outline: none;
  opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .3s var(--ease-out), transform .36s var(--ease-out); }
.pop45.is-open .pop45__back { opacity: 1; }
.pop45.is-open .pop45__card { opacity: 1; transform: none; }
.pop45.is-closing .pop45__back { opacity: 0; transition-duration: .18s; }
.pop45.is-closing .pop45__card { opacity: 0; transform: scale(.97); transition-duration: .18s; }
.pop45__art { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(ellipse at 50% 60%, var(--brand) 0%, var(--pop-deep) 70%); }
.pop45__art--plain { aspect-ratio: 5 / 2; }
.pop45__pic { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.pop45__art::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 42%; background: linear-gradient(180deg, rgba(110,10,16,0) 0%, var(--pop-deep) 100%); pointer-events: none; }
.pop45__emblem { position: absolute; z-index: 1; left: 50%; bottom: -40px; width: 108px; height: 108px; margin-left: -54px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.5));
  opacity: 0; transform: scale(.55) rotate(-14deg); transition: opacity .3s var(--ease-out) .12s, transform .5s var(--ease-out) .12s; }
.pop45.is-open .pop45__emblem { opacity: 1; transform: none; }
/* the Berjaya (BEHCO) logo on a white badge, top left, opposite the close button (Jeremy, 16 Nov) */
.pop45__logo { position: absolute; z-index: 2; top: 10px; left: 10px; display: inline-flex; align-items: center; height: 46px; padding: 0 12px; background: var(--bg); border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.32); }
.pop45__logo img { display: block; width: auto; height: 34px; }
@media (max-width: 420px) { .pop45__logo { height: 42px; padding: 0 10px; } .pop45__logo img { height: 30px; } }
.pop45__body { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 50px 22px 10px; text-align: center; }
.pop45__pill { margin: 0; padding: 4px 11px; border-radius: 999px; background: var(--gold-hi); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pop45__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 1.7rem + 2.4vw, 2.9rem); line-height: .92; letter-spacing: .01em; color: #fff; }
.pop45__title span { color: var(--gold-hi); }
.pop45__text { margin: 0 0 4px; max-width: 34ch; font-size: .92rem; line-height: 1.5; color: rgba(255,255,255,.9); }
.pop45__go { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .pop45__go:hover { background: #fff; border-color: #fff; } }
.pop45__alt { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: .86rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pop45__never { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px; font-size: .86rem; color: rgba(255,255,255,.88); cursor: pointer; }
.pop45__never input { width: 20px; height: 20px; margin: 0; accent-color: var(--gold-hi); cursor: pointer; }
.pop45__x { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; transition: background-color var(--t-base), transform var(--t-fast); }
.pop45__x .ic { width: 20px; height: 20px; }
.pop45__x:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .pop45__x:hover { background: rgba(0,0,0,.72); } }
.pop45__confetti { position: fixed; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
/* short phones: a shorter picture, and the Cromwell link goes so the tick box stays on screen */
@media (max-height: 760px) { .pop45__art { aspect-ratio: 16 / 9; } .pop45__pic { object-position: 50% 24%; } }
@media (max-height: 680px) { .pop45__alt { display: none; } .pop45__body { gap: 8px; } }
/* wide but short screens (15" laptops at 1366x657, 1280x600, tablets and phones on their side):
   picture on the left, words on the right, the badge riding the seam, so the whole popup,
   "Don't show this again" included, is on screen without scrolling */
@media (min-width: 640px) and (max-height: 820px) {
  .pop45__card { width: min(780px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .pop45__art { aspect-ratio: auto; min-height: 100%; }
  .pop45__pic { position: absolute; inset: 0; object-position: 50% 40%; }
  .pop45__art::after { inset: 0 -1px 0 auto; width: 38%; height: auto; background: linear-gradient(90deg, rgba(110,10,16,0) 0%, var(--pop-deep) 100%); }
  .pop45__emblem { left: auto; right: -46px; bottom: auto; top: 50%; margin: -46px 0 0; width: 92px; height: 92px; }
  .pop45__body { justify-content: center; padding: 26px 26px 12px 64px; }
  .pop45__alt { display: inline-flex; }
}
@media (min-width: 640px) and (max-height: 480px) { .pop45__body { gap: 6px; padding-top: 14px; } .pop45__title { font-size: 2rem; } .pop45__text { font-size: .84rem; } }

/* ---- audit pass, 17 Nov 2026 (impeccable audit of the live shop) ---- */
/* the focus ring is red, so on the red header and top line it turns white */
.topbar :focus-visible, .mast :focus-visible { outline-color: #fff; }
/* the quantity box hides its own outline: show focus on the whole box */
.stepper:focus-within { box-shadow: 0 0 0 2px var(--brand-band); }
/* fingers: every control at least 44px tall on touch screens (desktop stays compact) */
@media (pointer: coarse) {
  .search input, .search button[type=submit] { height: 44px; }
  .foot li a, .crumbs a, .fcats a, .chk, .seg button, .sortbar__filter, .chip { min-height: 44px; }
  .stepper--sm button { width: 44px; height: 44px; }
  .stepper--sm input { height: 44px; }
  .line__rm { width: 44px; height: 44px; }
}
/* an empty list (a promotion not started, a brand or category waiting for products): no sort or
   filter controls for nothing; shop.js takes the class off once products arrive */
.listing.is-empty .sortbar, .listing.is-empty .filters { display: none; }
@media (min-width: 1024px) { .listing.is-empty { grid-template-columns: minmax(0, 1fr); } }
/* a size product before a size is chosen: dimmed, but a tap says "Choose a size first" (shop.js) */
.btn.is-wait { opacity: .6; }
.empty__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
