/* SA Shops — The Mzansi Mall
   Converted from the "SA Shops Mall" design canvas.
   One stylesheet, no build step. Mobile layout kicks in below 768px. */

:root {
  --brand: #1F3FD1;
  --navy: #0E1F6B;
  --brand-2: #3A5BE8;
  --orange: #FF8A3D;
  --orange-ink: #1A1206;
  --rust: #B23C00;
  --peach: #FFE8D9;
  --apricot: #FFB27A;
  --ink: #0F1222;
  --ink-2: #2B3045;
  --muted: #5A6072;
  --bg: #F5F6FA;
  --surface: #FFFFFF;
  --line: #E6E8F0;
  --line-2: #DCE0EC;
  --line-3: #EEF0F5;
  --field: #F1F3F9;
  --brand-tint: #EEF1FF;
  --hero-copy: #E3E8FF;
  --band-copy: #C6CAD8;
  --display: 'Syne', sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --wrap: 1320px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--navy); }
button, input { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.only-mobile, .m-inline { display: none !important; }
.noscroll { scrollbar-width: none; }
.noscroll::-webkit-scrollbar { display: none; }

.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.eyebrow--rust { color: var(--rust); }
.eyebrow--apricot { color: var(--apricot); }
.eyebrow--brand { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 999px; font-weight: 800; font-size: 15px; padding: 15px 26px; border: 0; line-height: 1; transition: background-color .15s, opacity .15s; }
.btn--white, .btn--white:hover { background: #FFFFFF; color: var(--navy); }
.btn--white:hover { opacity: .92; }
.btn--ghost-white, .btn--ghost-white:hover { background: transparent; color: #FFFFFF; border: 1.5px solid #FFFFFF; font-weight: 700; padding: 14px 24px; }
.btn--ghost-white:hover { background: rgba(255, 255, 255, .1); }
.btn--orange, .btn--orange:hover { background: var(--orange); color: var(--orange-ink); }
.btn--orange:hover { opacity: .92; }
.btn--outline, .btn--outline:hover { background: #FFFFFF; color: var(--ink); border: 1.5px solid var(--ink); padding: 14px 32px; }
.btn--outline:hover { background: var(--field); }

.icon-btn { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--ink); background: transparent; border: 0; position: relative; }
.icon-btn:hover { color: var(--ink); background: var(--field); }
.round-btn { width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; border: 0; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.round-btn:hover { color: var(--ink); background: var(--field); }

.badge { background: var(--orange); color: var(--orange-ink); border-radius: 999px; font-size: 12px; font-weight: 800; padding: 2px 7px; line-height: 1.3; }

/* ---------- Promo strip ---------- */
.promo { background: var(--navy); color: #FFFFFF; font-size: 13px; font-weight: 600; }
.promo .wrap { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; }
.promo__hl { color: var(--apricot); }

/* ---------- Header ---------- */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.header-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search actions"; align-items: center; gap: 16px 32px; padding-top: 18px; padding-bottom: 18px; }
.logo { grid-area: logo; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); display: flex; align-items: center; justify-content: center; color: #FFFFFF; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.5px; }
.logo__tag { font-size: 11px; font-weight: 700; color: var(--rust); letter-spacing: 1.5px; margin-top: 4px; }

.search { grid-area: search; display: flex; align-items: center; background: var(--field); border: 1.5px solid #E1E5F0; border-radius: 999px; padding: 4px 4px 4px 18px; min-width: 0; color: var(--muted); }
.search:focus-within { border-color: var(--brand); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 12px; font-size: 15px; color: var(--ink); outline: none; }
.search input::placeholder { color: var(--muted); }
.search__btn { border: 0; background: var(--brand); color: #FFFFFF; font-weight: 700; font-size: 14px; padding: 11px 22px; border-radius: 999px; }
.search__btn:hover { background: var(--navy); }
.search__camera { display: none; border: 0; background: transparent; color: var(--muted); width: 36px; height: 36px; align-items: center; justify-content: center; padding: 0; }

.actions { grid-area: actions; display: flex; align-items: center; gap: 6px; }
.bag-pill, .bag-pill:hover { position: relative; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #FFFFFF; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }

.cat-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 14px; font-weight: 600; }
.cat-nav a { color: var(--ink-2); padding: 12px 0; border-bottom: 2.5px solid transparent; white-space: nowrap; }
.cat-nav a:hover { color: var(--ink); }
.cat-nav a.is-local { color: var(--rust); }
.cat-nav a.is-active { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- Page ---------- */
.page { padding-top: 24px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 48px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hero__main { grid-column: span 2; min-height: 420px; border-radius: 28px; background: var(--brand); color: #FFFFFF; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.hero__orb { position: absolute; right: -60px; bottom: -80px; width: 380px; height: 380px; border-radius: 50%; background: var(--orange); }
.hero__tile { position: absolute; right: 120px; top: 48px; width: 120px; height: 120px; border-radius: 32px; background: var(--brand-2); transform: rotate(14deg); }
.chip-white { align-self: flex-start; background: #FFFFFF; color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; padding: 8px 14px; border-radius: 999px; position: relative; }
.hero__copy { position: relative; max-width: 560px; }
.hero__title { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: .98; letter-spacing: -2px; }
.hero__lede { margin-top: 18px; font-size: 18px; line-height: 1.5; color: var(--hero-copy); max-width: 460px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.hero__side { display: flex; flex-direction: column; gap: 16px; }
.promo-tile { flex: 1; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 200px; transition: transform .15s; }
.promo-tile:hover { transform: translateY(-2px); }
.promo-tile--orange, .promo-tile--orange:hover { background: var(--orange); color: var(--orange-ink); }
.promo-tile--white, .promo-tile--white:hover { background: #FFFFFF; border: 1px solid var(--line); color: var(--ink); }
.promo-tile__title { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.05; }
.promo-tile__more { margin-top: 10px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.promo-tile__sub { margin-top: 10px; font-size: 14px; color: var(--muted); }
.hero-dots { justify-content: center; gap: 6px; margin-top: 12px; }
.hero-dots span { width: 6px; height: 6px; border-radius: 9px; background: #C9CEDC; }
.hero-dots span:first-child { width: 18px; background: var(--ink); }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 20px 12px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 600; text-align: center; }
.cat:hover { color: var(--ink); }
.cat__disc { width: 88px; height: 88px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 22px; transition: transform .15s; }
.cat:hover .cat__disc { transform: translateY(-2px); }
.cat.is-active .cat__disc { outline: 2.5px solid var(--brand); outline-offset: 3px; }

/* ---------- Sections ---------- */
.panel { background: #FFFFFF; border-radius: 28px; padding: 28px; border: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head--end { align-items: flex-end; margin-bottom: 20px; }
.section-head__left { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.h2 { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.5px; }
.h2--xl { font-size: 40px; letter-spacing: -1px; line-height: 1; }
.h2-eyebrowed { margin-top: 6px; }
.link-strong { font-weight: 700; font-size: 14px; }
.empty { background: #FFFFFF; border: 1px dashed var(--line-2); border-radius: 22px; padding: 28px; text-align: center; color: var(--muted); font-weight: 600; font-size: 14px; }

/* Countdown */
.countdown { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.countdown__label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.countdown__seg { background: var(--ink); color: #FFFFFF; border-radius: 8px; padding: 6px 9px; }

/* Media placeholder / image */
.media { position: relative; border-radius: 18px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media__ph { font-size: 12px; color: var(--muted); font-weight: 600; position: relative; }

/* ---------- Flash deals ---------- */
.deals { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.deal, .deal:hover { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.deal .media { aspect-ratio: 4 / 5; align-items: flex-end; padding-bottom: 14px; transition: transform .15s; }
.deal:hover .media { transform: translateY(-2px); }
.off-badge { position: absolute; top: 10px; left: 10px; background: var(--orange); color: var(--orange-ink); font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 8px; z-index: 1; }
.deal__name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price--deal { font-size: 18px; font-weight: 800; color: var(--rust); }
.price--was { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.meter { height: 6px; border-radius: 99px; background: var(--peach); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--orange); }
.meter-label { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------- Mall directory ---------- */
.seg { display: flex; flex-wrap: wrap; gap: 8px; background: #FFFFFF; border: 1px solid var(--line); padding: 6px; border-radius: 999px; }
.seg a { color: var(--ink-2); font-weight: 700; font-size: 14px; padding: 11px 18px; border-radius: 999px; white-space: nowrap; }
.seg a:hover { color: var(--ink); background: var(--field); }
.seg a.is-active { background: var(--ink); color: #FFFFFF; }

.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.store-card, .store-card:hover { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.store-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgba(15, 18, 34, .45); }
.store-card__banner { height: 120px; position: relative; background-size: cover; background-position: center; }
.unit-chip { position: absolute; top: 12px; right: 12px; background: #FFFFFF; color: var(--ink); font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 999px; letter-spacing: .5px; }
.store-card__body { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.store-card__id { display: flex; align-items: flex-end; gap: 12px; margin-top: -28px; position: relative; }
.mono-tile { width: 60px; height: 60px; border-radius: 16px; background: var(--ink); color: #FFFFFF; border: 3px solid #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 20px; flex-shrink: 0; overflow: hidden; }
.mono-tile img { width: 100%; height: 100%; object-fit: cover; }
.verified { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--brand); padding-bottom: 4px; }
.store-card__name { font-weight: 800; font-size: 17px; }
.store-card__meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.store-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rating { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 4px; color: var(--ink); }
.rating svg { color: var(--orange); }
.perk { font-size: 12px; font-weight: 700; background: var(--brand-tint); color: var(--brand); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }

/* ---------- Value props ---------- */
.props { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.prop { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.prop__icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.prop__icon--blue { background: var(--brand-tint); color: var(--brand); }
.prop__icon--peach { background: var(--peach); color: var(--rust); }
.prop__title { font-weight: 800; font-size: 15px; }
.prop__text { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }

/* ---------- Feed / product cards ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-2); background: #FFFFFF; color: var(--ink-2); font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-active, .chip.is-active:hover { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }

.feed { columns: 230px; column-gap: 16px; }
.product-card, .product-card:hover { break-inside: avoid; display: flex; flex-direction: column; gap: 8px; color: var(--ink); background: #FFFFFF; border-radius: 20px; padding: 10px 10px 16px; margin-bottom: 16px; border: 1px solid var(--line); transition: box-shadow .15s; }
.product-card:hover { box-shadow: 0 12px 28px -18px rgba(15, 18, 34, .45); }
.product-card .media { border-radius: 14px; }
.product-card--grid { margin-bottom: 0; }
.product-card--grid .media { aspect-ratio: 4 / 5; }
.wish-dot { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; color: var(--ink); z-index: 1; }
.tag-chip { position: absolute; bottom: 10px; left: 10px; background: #FFFFFF; color: var(--ink); font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 8px; z-index: 1; }
.product-card--grid .tag-chip { top: 8px; left: 8px; bottom: auto; font-weight: 800; }
.product-card__body { padding: 0 4px; display: flex; flex-direction: column; gap: 6px; }
.product-card__name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.product-card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-card__price { font-size: 17px; font-weight: 800; }
.product-card__price s { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.product-card__store { font-size: 12px; color: var(--muted); font-weight: 600; text-align: right; }
.plus-dot { display: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #FFFFFF; align-items: center; justify-content: center; flex-shrink: 0; }
.load-more { display: flex; justify-content: center; margin-top: 8px; }

/* ---------- Seller band ---------- */
.band { background: var(--ink); color: #FFFFFF; border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.band__copy { max-width: 640px; }
.band__title { margin-top: 10px; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -1px; }
.band__text { margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--band-copy); }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: #FFFFFF; border-top: 1px solid var(--line); margin-top: 24px; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); }
.footer-col__head { font-weight: 800; }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 22px; }
.footer-blurb { color: var(--muted); line-height: 1.5; }

/* ---------- Mobile tab bar ---------- */
.tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; height: calc(78px + env(safe-area-inset-bottom)); background: #FFFFFF; border-top: 1px solid var(--line); grid-template-columns: repeat(5, minmax(0, 1fr)); padding-bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 50; }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }
.tabbar a.is-active { color: var(--brand); font-weight: 800; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); background: var(--ink); color: #FFFFFF; padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 14px; z-index: 60; box-shadow: 0 12px 28px -12px rgba(15, 18, 34, .5); animation: toast 4.5s ease forwards; max-width: calc(100% - 32px); }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, -8px); } 8%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; visibility: hidden; } }

/* =========================================================
   Shop (storefront) page
   ========================================================= */
.shop-head { margin-top: 24px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.shop-banner { height: 240px; background: var(--orange); position: relative; overflow: hidden; background-size: cover; background-position: center; }
.shop-banner__orb { position: absolute; left: -40px; top: 60px; width: 220px; height: 220px; border-radius: 50%; background: var(--navy); }
.shop-banner__tile { position: absolute; right: 48px; top: 70px; width: 110px; height: 110px; border-radius: 30px; background: #FFFFFF; opacity: .35; transform: rotate(12deg); }
.float-bar { position: absolute; top: 14px; left: 12px; right: 12px; display: flex; justify-content: space-between; z-index: 2; }
.float-bar__group { display: flex; gap: 8px; }
.shop-id { padding: 0 28px 24px; }
.shop-id__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.shop-logo { width: 96px; height: 96px; margin-top: -48px; border-radius: 24px; border: 4px solid #FFFFFF; background: var(--ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 30px; position: relative; overflow: hidden; flex-shrink: 0; }
.shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.shop-id__btns { display: flex; gap: 8px; }
.btn-sm { height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; }
.btn-line, .btn-line:hover { border: 1.5px solid var(--line-2); background: #FFFFFF; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-brand, .btn-brand:hover { border: 0; background: var(--brand); color: #FFFFFF; font-weight: 800; padding: 0 20px; }
.btn-brand:hover { background: var(--navy); }
.shop-title-row { margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.shop-title { font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: -.8px; line-height: 1.05; }
.shop-title-row svg { color: var(--brand); flex-shrink: 0; }
.shop-sub { font-size: 14px; color: var(--muted); margin-top: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; max-width: 520px; }
.stat { background: var(--bg); border-radius: 14px; padding: 10px 12px; }
.stat b { display: block; font-weight: 800; font-size: 16px; }
.stat span { font-size: 11px; color: var(--muted); font-weight: 600; }

.vouchers { display: flex; gap: 10px; padding: 20px 0 16px; overflow-x: auto; }
.voucher { flex: 0 0 220px; display: flex; background: #FFFFFF; border: 1.5px dashed var(--orange); border-radius: 16px; overflow: hidden; }
.voucher__body { flex: 1; padding: 12px; }
.voucher__title { font-weight: 800; font-size: 18px; color: var(--rust); }
.voucher__terms { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.voucher button { border: 0; background: var(--orange); color: var(--orange-ink); font-weight: 800; font-size: 13px; padding: 0 14px; }

.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); font-size: 14px; overflow-x: auto; }
.tabs a { padding: 12px 0; color: var(--ink-2); font-weight: 700; border-bottom: 2.5px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 800; }

.collection, .collection:hover { display: flex; align-items: center; gap: 14px; background: var(--ink); color: #FFFFFF; border-radius: 20px; padding: 16px; margin-top: 16px; }
.collection__swatch { width: 64px; height: 64px; border-radius: 14px; background: var(--brand-2); flex-shrink: 0; background-size: cover; background-position: center; }
.collection__body { flex: 1; }
.collection__title { font-family: var(--display); font-weight: 800; font-size: 18px; margin-top: 2px; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 16px 0 24px; }
.prose-block { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; padding: 22px; margin: 16px 0 24px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* =========================================================
   Product page
   ========================================================= */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--ink-2); font-weight: 600; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 16px; padding-bottom: 48px; }
.gallery { position: sticky; top: 24px; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.gallery__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; position: relative; }
.gallery__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gallery__dots span { width: 6px; height: 6px; border-radius: 9px; background: #FFFFFF; transition: width .2s; }
.gallery__dots span.is-on { width: 18px; background: var(--ink); }
.gallery__count { position: absolute; bottom: 14px; right: 14px; background: var(--ink); color: #FFFFFF; font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 8px; }

.pdp__info { display: flex; flex-direction: column; gap: 12px; }
.block { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.block--rows { padding-top: 6px; padding-bottom: 6px; gap: 0; }
.block--gap { gap: 16px; }
.pdp-price { display: flex; align-items: center; gap: 10px; }
.pdp-price__now { font-size: 28px; font-weight: 800; color: var(--rust); }
.pdp-price__now--plain { color: var(--ink); }
.pdp-price__was { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.pct { background: var(--peach); color: var(--rust); font-weight: 800; font-size: 12px; padding: 4px 8px; border-radius: 7px; }
.instal { font-size: 13px; color: var(--ink); background: var(--brand-tint); border-radius: 10px; padding: 8px 10px; font-weight: 600; }
.pdp-title { font-size: 24px; font-weight: 700; line-height: 1.3; }
.pdp-rating { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.stars { display: flex; gap: 1px; color: var(--orange); }

.opt-label { font-size: 14px; font-weight: 700; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 8px; }
.opt-label em { font-style: normal; font-weight: 600; color: var(--muted); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch, .size { position: relative; }
.swatch input, .size input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch span { display: block; width: 52px; height: 64px; border-radius: 12px; border: 1.5px solid var(--line-2); cursor: pointer; }
.swatch input:checked + span { border: 2.5px solid var(--ink); }
.swatch input:focus-visible + span, .size input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.size span { height: 46px; border-radius: 12px; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--line-2); background: #FFFFFF; color: var(--ink); cursor: pointer; }
.size input:checked + span { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.size input:disabled + span { background: var(--field); color: var(--muted); border-style: dashed; cursor: not-allowed; }
.stock-note { margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--rust); }
.field-error { margin-top: 8px; font-size: 12px; font-weight: 700; color: #B3261E; }

.row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-3); color: var(--ink); }
.row:last-child { border-bottom: 0; }
.row > svg:first-child { color: var(--brand); flex-shrink: 0; }
.row__body { flex: 1; }
.row__title { font-weight: 700; font-size: 14px; }
.row__sub { font-size: 12px; color: var(--muted); }
.row__chev { color: var(--muted); }

.seller, .seller:hover { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.seller__logo { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 17px; flex-shrink: 0; overflow: hidden; }
.seller__logo img { width: 100%; height: 100%; object-fit: cover; }
.seller__body { flex: 1; min-width: 0; }
.seller__eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--muted); }
.seller__name { font-weight: 800; font-size: 16px; }
.seller__meta { font-size: 12px; color: var(--muted); }
.visit { border: 1.5px solid var(--ink); border-radius: 999px; padding: 9px 14px; font-weight: 800; font-size: 13px; white-space: nowrap; }
.seller-more { margin-top: 4px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seller-more a { height: 110px; border-radius: 12px; position: relative; overflow: hidden; display: block; }
.seller-more img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.details-title { font-size: 16px; font-weight: 800; }
.details-text { font-size: 14px; line-height: 1.6; color: var(--ink-2); }

.actionbar { display: flex; gap: 10px; align-items: center; }
.btn-wish { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; border: 1.5px solid var(--line-2); background: #FFFFFF; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.btn-wish:hover { border-color: var(--ink); }
.btn-add { flex: 1; height: 50px; border-radius: 14px; border: 1.5px solid var(--brand); background: #FFFFFF; color: var(--brand); font-weight: 800; font-size: 15px; }
.btn-add:hover { background: var(--brand-tint); }
.btn-buy { flex: 1; height: 50px; border-radius: 14px; border: 0; background: var(--brand); color: #FFFFFF; font-weight: 800; font-size: 15px; }
.btn-buy:hover { background: var(--navy); }

/* =========================================================
   Mobile (matches the 390px artboards)
   ========================================================= */
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .only-mobile { display: flex !important; }
  .m-inline { display: inline !important; }
  .only-desktop, .d-inline { display: none !important; }

  .promo { display: none; }

  .header-top { grid-template-columns: 1fr auto; grid-template-areas: "logo actions" "search search"; gap: 12px; padding-top: 16px; padding-bottom: 12px; }
  .logo { gap: 8px; }
  .logo__mark { width: 34px; height: 34px; border-radius: 10px; }
  .logo__mark svg { width: 18px; height: 18px; }
  .logo__name { font-size: 21px; letter-spacing: -.4px; }
  .logo__tag { display: none; }
  .actions { gap: 2px; }
  .bag-pill, .bag-pill:hover { background: transparent; color: var(--ink); padding: 0; width: 44px; justify-content: center; }
  .bag-pill__label { display: none; }
  .bag-pill .badge { position: absolute; top: 6px; right: 4px; font-size: 10px; padding: 1px 5px; }
  .search { border: 0; border-radius: 14px; padding: 0 6px 0 14px; height: 46px; }
  .search input { padding: 0 8px; }
  .search__btn { display: none; }
  .search__camera { display: flex; }
  .cat-nav { flex-wrap: nowrap; overflow-x: auto; gap: 20px; font-weight: 700; padding-bottom: 0; }
  .cat-nav a { padding: 0 0 8px; }

  .page { padding-top: 16px; padding-bottom: 16px; gap: 24px; }

  .hero { display: block; }
  .hero__main { min-height: 0; height: 230px; border-radius: 24px; padding: 24px; gap: 0; justify-content: flex-start; }
  .hero__orb { width: 220px; height: 220px; right: -50px; bottom: -70px; }
  .hero__tile, .hero__lede, .hero__side, .hero__ctas .btn--ghost-white { display: none; }
  .chip-white { font-size: 11px; letter-spacing: 1px; padding: 6px 11px; }
  .hero__copy { margin-top: auto; }
  .hero__title { font-size: 34px; line-height: 1; letter-spacing: -1px; }
  .hero__ctas { margin-top: 12px; }
  .hero__ctas .btn { font-size: 13px; padding: 10px 16px; min-height: 0; }

  .cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 6px; }
  .cat { font-size: 11.5px; gap: 6px; }
  .cat__disc { width: 56px; height: 56px; font-size: 16px; }

  .panel { border-radius: 22px; padding: 16px; }
  .section-head { margin-bottom: 14px; gap: 10px; }
  .section-head--end { margin-bottom: 12px; }
  .h2 { font-size: 20px; letter-spacing: 0; }
  .h2--xl { font-size: 22px; letter-spacing: 0; }
  .eyebrow { font-size: 11px; letter-spacing: 1px; }
  .link-strong { font-size: 13px; }

  .countdown { background: var(--ink); color: #FFFFFF; border-radius: 7px; padding: 5px 8px; gap: 0; font-size: 12px; }
  .countdown__label { display: none; }
  .countdown__seg { background: none; padding: 0; border-radius: 0; }

  .deals { display: flex; overflow-x: auto; gap: 10px; scrollbar-width: none; }
  .deals::-webkit-scrollbar { display: none; }
  .deal { flex: 0 0 108px; gap: 6px; }
  .deal .media { aspect-ratio: auto; height: 134px; border-radius: 14px; }
  .deal .media__ph, .deal__name, .meter, .meter-label { display: none; }
  .off-badge { top: 6px; left: 6px; font-size: 11px; padding: 3px 6px; border-radius: 6px; }
  .deal .price-row { flex-direction: column; gap: 0; }
  .price--deal { font-size: 15px; }
  .price--was { font-size: 11px; }

  .seg { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg a { padding: 9px 14px; font-size: 13px; }

  .stores { display: flex; overflow-x: auto; gap: 12px; scrollbar-width: none; }
  .stores::-webkit-scrollbar { display: none; }
  .store-card { flex: 0 0 150px; border-radius: 18px; }
  .store-card:hover { transform: none; }
  .store-card__banner { height: 64px; }
  .unit-chip, .verified, .rating { display: none; }
  .store-card__body { padding: 0 12px 12px; gap: 8px; }
  .store-card__id { margin-top: -23px; }
  .mono-tile { width: 46px; height: 46px; border-radius: 13px; font-size: 15px; }
  .store-card__name { font-size: 14px; }
  .store-card__meta { font-size: 12px; margin-top: 2px; }
  .store-card__foot { justify-content: flex-start; margin-top: 2px; }
  .perk { font-size: 11px; padding: 5px 8px; }

  .props { display: none; }

  .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { padding: 8px 14px; }
  .feed { columns: 2; column-gap: 10px; }
  .product-card, .product-card:hover { border: 0; border-radius: 16px; padding: 6px 6px 12px; margin-bottom: 10px; gap: 6px; box-shadow: none; }
  .product-card .media { border-radius: 12px; }
  .product-card .media__ph, .wish-dot, .product-card__store { display: none; }
  .tag-chip { bottom: 8px; left: 8px; font-size: 10px; padding: 3px 7px; border-radius: 6px; }
  .product-card__name { font-size: 12.5px; line-height: 1.3; }
  .product-card__price { font-size: 15px; }
  .plus-dot { display: flex; }
  .product-card--grid .plus-dot { display: none; }

  .band { padding: 28px 20px; border-radius: 22px; }
  .band__title { font-size: 30px; }

  .site-footer .wrap { grid-template-columns: 1fr 1fr; padding-top: 28px; padding-bottom: 28px; }
  .site-footer .footer-col:first-child { grid-column: 1 / -1; }

  .tabbar { display: grid; }
  body.has-tabbar { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }

  /* Immersive pages (shop + product): no site header on phones */
  body.is-immersive .site-header, body.is-immersive .tabbar, body.is-immersive .site-footer { display: none; }

  /* Shop page */
  .shop-page .wrap { padding-left: 0; padding-right: 0; }
  .shop-head { margin-top: 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .shop-banner { height: 200px; }
  .shop-banner__orb { width: 200px; height: 200px; }
  .shop-banner__tile { right: 30px; width: 90px; height: 90px; border-radius: 26px; }
  .shop-id { padding: 0 16px 18px; }
  .shop-logo { width: 84px; height: 84px; margin-top: -42px; border-radius: 22px; font-size: 28px; }
  .shop-title-row { margin-top: 12px; gap: 6px; }
  .shop-title { font-size: 26px; letter-spacing: -.5px; }
  .shop-sub { font-size: 13px; margin-top: 4px; }
  .stats { margin-top: 16px; max-width: none; }
  .vouchers { padding: 16px; scrollbar-width: none; }
  .vouchers::-webkit-scrollbar { display: none; }
  .voucher { flex-basis: 200px; }
  .tabs { padding: 0 16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .shop-section { padding: 0 16px; }
  .collection { margin-top: 16px; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px 0 24px; }
  .product-card--grid .media { aspect-ratio: auto; height: 200px; }
  .prose-block { border-radius: 16px; padding: 18px 16px; }

  /* Product page */
  .product-page .wrap { padding-left: 0; padding-right: 0; }
  .pdp { display: block; padding: 0 0 calc(100px + env(safe-area-inset-bottom)); }
  .gallery { position: relative; top: 0; border-radius: 0; aspect-ratio: auto; height: 470px; }
  .pdp__info { gap: 10px; }
  .block { border: 0; border-radius: 0; padding: 18px 16px; }
  .block--rows { padding: 6px 16px; }
  .block--seller { padding: 16px; gap: 14px; }
  .pdp-title { font-size: 18px; line-height: 1.35; }
  .actionbar { position: fixed; left: 0; right: 0; bottom: 0; background: #FFFFFF; border-top: 1px solid var(--line); padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); z-index: 50; }
}

/* =========================================================
   Added for the full mall: forms, bag, checkout, account, pages
   (same tokens and shapes as the design above)
   ========================================================= */
.btn--brand, .btn--brand:hover { background: var(--brand); color: #FFFFFF; }
.btn--brand:hover { background: var(--navy); }
.btn--ink, .btn--ink:hover { background: var(--ink); color: #FFFFFF; }
.btn--sm { min-height: 36px; padding: 9px 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--danger, .btn--danger:hover { background: #FFFFFF; color: #B3261E; border: 1.5px solid #F0C9C5; }
.btn--danger:hover { background: #FDF1F0; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 700; font-size: 13px; }
.link-btn:hover { color: var(--navy); }
.link-btn--danger { color: #B3261E; }

.narrow { max-width: 560px; margin: 0 auto; width: 100%; }
.mid { max-width: 880px; margin: 0 auto; width: 100%; }
.page-title { font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: -.8px; line-height: 1.05; }
.page-sub { color: var(--muted); font-size: 15px; margin-top: 8px; line-height: 1.5; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--sm { gap: 10px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cluster--between { justify-content: space-between; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.strong { font-weight: 800; }
.num { font-variant-numeric: tabular-nums; }
.r { text-align: right; }
.nowrap { white-space: nowrap; }

.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.card--flush { padding: 0; overflow: hidden; }
.card__title { font-weight: 800; font-size: 17px; }
.card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .field__label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field__hint { font-size: 12px; font-weight: 500; color: var(--muted); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]), .field select, .field textarea {
  width: 100%; min-height: 46px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #FFFFFF; color: var(--ink);
  padding: 11px 14px; font: inherit; font-size: 15px; outline: none; transition: border-color .15s; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.field input[type=color] { width: 56px; height: 46px; padding: 4px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #FFFFFF; }
.field input[type=file] { font-size: 13px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.alert { border-radius: 16px; padding: 14px 16px; font-size: 14px; font-weight: 600; line-height: 1.45; }
.alert ul { margin: 6px 0 0; padding-left: 18px; font-weight: 500; }
.alert--bad { background: #FDF1F0; color: #8C1D18; border: 1px solid #F0C9C5; }
.alert--info { background: var(--brand-tint); color: var(--navy); border: 1px solid #D6DDFF; }
.alert--warn { background: #FFF6E5; color: #7A4B00; border: 1px solid #F5DDAE; }
.alert--ok { background: #E8F6EE; color: #13633F; border: 1px solid #C2E6D1; }

/* Auth */
.auth { padding-top: 40px; padding-bottom: 56px; }
.auth .card { padding: 32px; }
.auth__foot { text-align: center; font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Status pills */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; white-space: nowrap; background: var(--field); color: var(--ink-2); }
.pill--warn { background: #FFF1D6; color: #7A4B00; }
.pill--info { background: var(--brand-tint); color: var(--brand); }
.pill--brand { background: var(--brand); color: #FFFFFF; }
.pill--ok { background: #E2F5EC; color: #13633F; }
.pill--bad { background: #FDE4E1; color: #8C1D18; }
.pill--mute { background: var(--field); color: var(--muted); }

/* Bag + checkout */
.bag { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.bag-shop { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.bag-shop__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-3); }
.bag-shop__head .mono-tile { width: 40px; height: 40px; border-radius: 12px; font-size: 14px; border: 0; }
.bag-shop__name { font-weight: 800; }
.bag-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-3); }
.bag-line .media { width: 84px; height: 100px; border-radius: 14px; }
.bag-line .media__ph { font-size: 9px; }
.bag-line__name { font-weight: 700; font-size: 14px; color: var(--ink); }
.bag-line__meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.bag-line__price { font-weight: 800; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.qty button { width: 34px; height: 32px; border: 0; background: #FFFFFF; font-weight: 800; color: var(--ink); }
.qty button:hover { background: var(--field); }
.qty span { min-width: 30px; text-align: center; font-weight: 800; font-size: 14px; }
.bag-shop__foot { padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; background: #FAFBFD; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-row--total { font-weight: 800; font-size: 18px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.sum-row--save { color: #13633F; font-weight: 700; }
.summary { position: sticky; top: 24px; }
.progress { height: 8px; border-radius: 99px; background: var(--peach); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--orange); }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line-2); border-radius: 16px; padding: 14px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.choice input { margin-top: 3px; accent-color: var(--brand); }
.choice__title { font-weight: 800; font-size: 14px; }
.choice__sub { font-size: 13px; color: var(--muted); }
.bank { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.bank dt { color: var(--muted); font-weight: 600; }
.bank dd { margin: 0; font-weight: 800; }
.ref-box { background: var(--ink); color: #FFFFFF; border-radius: 18px; padding: 18px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.ref-box__code { font-weight: 800; font-size: 30px; letter-spacing: .5px; font-variant-numeric: tabular-nums; }

/* Account */
.acct { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 24px; padding-bottom: 48px; }
.acct-nav { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; padding: 10px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 24px; }
.acct-nav a, .acct-nav button { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; color: var(--ink-2); font-weight: 700; font-size: 14px; background: none; border: 0; text-align: left; width: 100%; }
.acct-nav a:hover, .acct-nav button:hover { background: var(--field); color: var(--ink); }
.acct-nav a.is-active { background: var(--brand-tint); color: var(--brand); }
.acct-hello { padding: 10px 12px 12px; border-bottom: 1px solid var(--line-3); margin-bottom: 6px; }
.acct-hello b { display: block; font-size: 15px; }
.acct-hello span { font-size: 12px; color: var(--muted); }
.order-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px; border-bottom: 1px solid var(--line-3); color: var(--ink); }
.order-row:last-child { border-bottom: 0; }
.order-row:hover { background: #FAFBFD; color: var(--ink); }
.order-row__main { flex: 1; min-width: 180px; }
.order-row__num { font-weight: 800; }
.order-row__meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.thumbs { display: flex; gap: 6px; }
.thumbs .media { width: 44px; height: 52px; border-radius: 10px; }
.thumbs .media__ph { display: none; }
.tracker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tracker__step { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.tracker__step::before { content: ""; height: 6px; border-radius: 99px; background: var(--line); }
.tracker__step.is-done { color: var(--ink); }
.tracker__step.is-done::before { background: var(--brand); }
.mini-shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.voucher-list { display: flex; flex-wrap: wrap; gap: 10px; }

/* Reviews */
.review { padding: 14px 0; border-bottom: 1px solid var(--line-3); }
.review:last-child { border-bottom: 0; }
.review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.review__body { font-size: 14px; color: var(--ink-2); margin-top: 6px; line-height: 1.55; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; color: #D5D9E4; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--orange); }
.star-input input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 4px; }

/* Content pages */
.prose { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-family: var(--display); font-size: 22px; color: var(--ink); margin: 28px 0 8px; letter-spacing: -.3px; }
.prose h3 { font-size: 17px; color: var(--ink); margin: 20px 0 6px; }
.prose p, .prose ul, .prose ol { margin: 0 0 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { font-weight: 700; }

/* Header account menu */
.preview-bar { background: #FFF1D6; color: #7A4B00; font-size: 13px; font-weight: 700; text-align: center; padding: 10px 16px; }
.wish-form { margin: 0; }
.btn-wish.is-on { color: #E0245E; border-color: #F5C2D1; background: #FFF0F4; }
.btn-wish.is-on svg path { fill: currentColor; }
.wish-dot.is-on { color: #E0245E; }
.wish-dot.is-on svg path { fill: currentColor; }
.btn-line.is-on { background: var(--brand-tint); border-color: var(--brand); color: var(--brand); }
.voucher button[disabled] { background: var(--line); color: var(--muted); cursor: default; }
.inline-form { display: inline; margin: 0; }
.shop-search { display: flex; gap: 8px; padding: 14px 0 0; }
.shop-search input { flex: 1; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 20px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; border: 1px solid var(--line-2); background: #FFFFFF; color: var(--ink-2); }
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager .is-current { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.pager .is-disabled { opacity: .4; }

@media (max-width: 960px) {
  .bag { grid-template-columns: 1fr; }
  .summary { position: static; }
  .acct { grid-template-columns: 1fr; }
  .acct-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav a, .acct-nav button { white-space: nowrap; width: auto; }
  .acct-hello { display: none; }
}
@media (max-width: 767px) {
  .page-title { font-size: 26px; letter-spacing: -.4px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .auth { padding-top: 20px; }
  .auth .card { padding: 22px 18px; }
  .card { border-radius: 18px; padding: 18px; }
  .bag-line { grid-template-columns: 72px minmax(0, 1fr); }
  .bag-line .media { width: 72px; height: 88px; }
  .bag-line__price { grid-column: 2; }
  .tracker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-box__code { font-size: 24px; }
  .acct { padding-top: 16px; }
}

/* Small additions */
.toast--bad { background: #8C1D18; }
.hero__main--photo { background-size: cover; background-position: center; }
.cat__disc { overflow: hidden; }
.cat__disc img { width: 100%; height: 100%; object-fit: cover; }
.voucher__btn, .voucher__btn:hover { display: flex; align-items: center; background: var(--orange); color: var(--orange-ink); font-weight: 800; font-size: 13px; padding: 0 14px; }
.voucher form button { height: 100%; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px -8px rgba(15, 18, 34, .5); }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__nav:hover { background: #FFFFFF; }
a.btn-wish { color: var(--ink); }

/* ---------- In-store specials (geo-fenced) ---------- */
.specials-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; }
.specials-row .special { flex: 0 0 300px; }
.specials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.special { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.special__media { position: relative; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.special__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.special__mono { font-family: var(--display); font-weight: 800; font-size: 40px; color: #FFFFFF; opacity: .9; }
.special__price { position: absolute; left: 12px; bottom: 12px; background: var(--orange); color: var(--orange-ink); font-weight: 800; font-size: 16px; padding: 6px 12px; border-radius: 10px; }
.special__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.special__shop { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--brand); }
.special__title { font-weight: 800; font-size: 16px; line-height: 1.3; }
.special__details { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.special__meta { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 4px; line-height: 1.45; }
.special__meta svg { display: inline-block; vertical-align: -2px; margin-right: 3px; color: var(--rust); }

.geo-sheet { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); max-height: min(78vh, 680px); overflow-y: auto; background: #FFFFFF; border-radius: 26px; padding: 18px; z-index: 70; box-shadow: 0 30px 60px -20px rgba(15, 18, 34, .55), 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; animation: geo-up .35s ease; }
@keyframes geo-up { from { transform: translate(-50%, 30px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.geo-sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.geo-sheet__title { font-family: var(--display); font-weight: 800; font-size: 22px; margin-top: 4px; line-height: 1.1; }
.geo-sheet__head .round-btn { background: var(--field); flex-shrink: 0; font-size: 16px; }
.geo-sheet__list { display: flex; flex-direction: column; gap: 10px; }
.geo-sheet .special { flex-direction: row; border-radius: 16px; }
.geo-sheet .special__media { flex: 0 0 104px; aspect-ratio: auto; min-height: 104px; }
.geo-sheet .special__price { left: 6px; bottom: 6px; font-size: 13px; padding: 4px 8px; border-radius: 8px; }
.geo-sheet .special__mono { font-size: 26px; }
.geo-chip { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55; display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--orange); color: var(--orange-ink); font-weight: 800; font-size: 14px; padding: 12px 16px; border-radius: 999px; box-shadow: 0 12px 28px -12px rgba(15, 18, 34, .5); }
@media (max-width: 767px) {
  .specials-row .special { flex-basis: 250px; }
  .geo-sheet { bottom: calc(86px + env(safe-area-inset-bottom)); }
  body.is-immersive .geo-sheet { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .geo-chip { bottom: calc(90px + env(safe-area-inset-bottom)); }
}

/* Advertise-only (in-store) businesses */
.store-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; background: var(--peach); color: var(--ink); border-radius: 14px; padding: 10px 12px; font-size: 14px; }
.store-info > svg { color: var(--rust); flex-shrink: 0; }
.store-info > span { flex: 1; min-width: 200px; }
.store-info .btn-sm { height: 36px; background: #FFFFFF; }
.btn-flex { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
a.btn-buy, a.btn-buy:hover { color: #FFFFFF; }
a.btn-add, a.btn-add:hover { color: var(--brand); }
