/* =========================================================
   KAVORA — design system
   ========================================================= */
:root {
  --navy: #101827;
  --emerald: #00A878;
  --emerald-ink: #007A58;
  --ivory: #FAFAF7;
  --gold: #E9D8B4;
  --charcoal: #20242B;

  --bg: var(--ivory);
  --surface: #FFFFFF;
  --text: var(--charcoal);
  --muted: #5B616E;
  --line: #E4E1D8;
  --tile-a: #F1EEE6;
  --tile-b: #ECEFEA;
  --tile-c: #F4EDDD;
  --accent-ink: var(--emerald-ink);
  --danger: #B42318;
  --warn: #A15C07;

  --f-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-tile: 18px;
  --r-ctl: 12px;
  --r-pill: 999px;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --hdr-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
[data-theme="dark"] {
  --bg: #0D1422;
  --surface: #151E30;
  --text: #F1EFE8;
  --muted: #A4AAB6;
  --line: #26314A;
  --tile-a: #1A2438;
  --tile-b: #18263A;
  --tile-c: #222536;
  --accent-ink: #2BD3A0;
  --danger: #FF8A7A;
  --warn: #F0B45C;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(68px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
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 { font-family: var(--f-display); font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(21px, 2.4vw, 26px); }
h3 { font-size: 17px; letter-spacing: -0.01em; }
p { margin: 0; }
.ic { width: 22px; height: 22px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
:focus-visible { outline: 2.5px solid var(--emerald); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- top strips ---------- */
.demo-banner { background: var(--charcoal); color: #E8E6DF; font-size: 13px; text-align: center; padding: 6px var(--pad); }
.announce { background: var(--gold); color: var(--navy); font-size: 13.5px; font-weight: 600; text-align: center; padding: 7px var(--pad); }
.offline { background: #FDEBD3; color: #6A3B00; font-size: 14px; padding: 10px var(--pad); text-align: center; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr-row { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); height: var(--hdr-h); display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.mono { width: 34px; height: 34px; }
[data-theme="dark"] .mono rect { fill: #1E2A42; }
.wordmark { font-family: var(--f-display); font-weight: 700; font-size: 27px; letter-spacing: -0.045em; line-height: 1; font-variation-settings: "opsz" 96; }
.hdr-search { position: relative; flex: 1; max-width: 560px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); }
.hdr-search:focus-within { border-color: var(--emerald); }
.hdr-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; height: 100%; }
.hdr-search .ic { color: var(--muted); width: 20px; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--text); }
.icon-btn:hover { background: color-mix(in srgb, var(--text) 7%, transparent); }
.icon-btn.txt { font-weight: 700; font-size: 13.5px; letter-spacing: .02em; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--emerald); color: #fff; font: 700 11.5px/19px var(--f-body); text-align: center; }
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
.hdr-cats { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) 10px; display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.hdr-cats a:hover { color: var(--text); }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px -12px rgba(16, 24, 39, .25); padding: 6px; z-index: 50; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; font-size: 14.5px; }
.suggest a:hover, .suggest a:focus { background: var(--tile-a); }
.suggest small { display: block; color: var(--muted); font-size: 13px; }
.s-art { width: 44px; height: 44px; border-radius: 10px; padding: 3px; flex: none; }
.s-all { color: var(--accent-ink); font-weight: 600; justify-content: center; }

@media (max-width: 899px) {
  .hdr-row { gap: 10px; height: 58px; }
  .hdr-search { display: none; }
  .hdr-cats { display: none; }
  .hide-sm { display: none; }
  .wordmark { font-size: 24px; }
}

/* ---------- layout ---------- */
#app { outline: none; min-height: 60vh; }
.page { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--pad) 56px; }
.page.narrow { max-width: 760px; }
.page > h1 { margin-bottom: 18px; }
.block { max-width: var(--wrap); margin: 0 auto; padding: 36px var(--pad) 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.link { color: var(--accent-ink); font-weight: 600; font-size: 15px; text-underline-offset: 3px; }
.link:hover { text-decoration: underline; }
.link.center { display: block; text-align: center; margin-top: 12px; }
.link.danger { color: var(--danger); margin-top: 28px; }
.sub { font-size: 20px; margin: 28px 0 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: var(--r-ctl); font-weight: 650; font-size: 15.5px; white-space: nowrap; transition: transform .12s var(--ease), background-color .15s; }
.btn:active { transform: scale(.98); }
.btn .ic { width: 20px; height: 20px; }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: #009469; }
.btn-dark { background: var(--navy); color: #fff; }
[data-theme="dark"] .btn-dark { background: #F1EFE8; color: var(--navy); }
.btn-ghost { border: 1.5px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--text); }
.btn-ghost-light { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #188E47; }
.btn-lg { height: 54px; font-size: 16.5px; padding: 0 26px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn.disabled, .btn:disabled { opacity: .45; pointer-events: none; }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #F6F4EE; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -10% -60% 35%; height: 120%; background: radial-gradient(closest-side, rgba(0, 168, 120, .28), transparent); pointer-events: none; }
.hero-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--pad); display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.6vw, 68px); font-weight: 650; letter-spacing: -0.035em; line-height: 1.02; max-width: 15ch; font-variation-settings: "opsz" 96; }
.hero-sub { margin-top: 20px; font-size: clamp(16px, 1.6vw, 18.5px); color: #C9CCD4; max-width: 46ch; }
.hero-search { margin-top: 28px; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--charcoal); border-radius: 16px; padding: 6px 6px 6px 16px; max-width: 560px; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: none; height: 44px; background: none; font-size: 16px; }
.hero-search .ic { color: #6B7280; }
.hero-stage { position: relative; height: 420px; }
.stage-tile { position: absolute; border-radius: 26px; padding: 22px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
.stage-tile svg { width: 100%; height: 100%; }
.st-0 { width: 58%; aspect-ratio: 1; right: 0; top: 0; background: var(--gold); }
.st-1 { width: 54%; aspect-ratio: 1; left: 0; top: 30%; background: #EDEBE3; }
.st-2 { width: 44%; aspect-ratio: 1; right: 8%; bottom: -2%; background: #DCEFE6; }
.stage-seal { position: absolute; left: 34%; top: 10%; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald); color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 168, 120, .6); }
.stage-seal .ic { width: 30px; height: 30px; }
@media (prefers-reduced-motion: no-preference) {
  .stage-tile, .stage-seal { animation: rise .9s var(--ease) both; }
  .st-1 { animation-delay: .08s; } .st-2 { animation-delay: .16s; } .stage-seal { animation-delay: .3s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
}
@media (max-width: 899px) {
  .hero-inner { grid-template-columns: 1fr; gap: 8px; padding-top: 32px; padding-bottom: 32px; }
  .hero-stage { display: none; }
  .hero-search .btn { padding: 0 16px; }
}

/* ---------- zone chip ---------- */
.zone-chip { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; margin-top: 14px; padding: 12px 16px; border-radius: 14px; text-align: left; border: 1px solid var(--line); background: var(--surface); }
.zone-chip span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zone-chip small { font-size: 12.5px; color: var(--muted); }
.zone-chip b { font-weight: 650; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zone-chip em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
.zone-chip > .ic:first-child { color: var(--emerald); }
.zone-chip > .ic:last-child { width: 18px; color: var(--muted); }
.zone-chip.on-dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #F6F4EE; }
.zone-chip.on-dark small { color: #AEB3BE; }
.zone-chip.on-dark em { color: #5FE0B6; }
.summary .zone-chip { margin: 0 0 14px; max-width: none; }

/* ---------- tones (product backdrops) ---------- */
.tone-a { background: var(--tile-a); }
.tone-b { background: var(--tile-b); }
.tone-c { background: var(--tile-c); }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px 14px; border-radius: var(--r-tile); transition: transform .2s var(--ease); }
.cat:hover { transform: translateY(-3px); }
.cat-art { width: 76%; aspect-ratio: 1; }
.cat-name { font-weight: 650; font-size: 15px; }
@media (max-width: 899px) {
  .cats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cats:not(.cats-page) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; }
  .cats:not(.cats-page)::-webkit-scrollbar { display: none; }
  .cats:not(.cats-page) .cat { flex: 0 0 31%; scroll-snap-align: start; }
}
.cats-page { margin-bottom: 24px; }

/* ---------- product cards ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px; }
.rail > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px 18px; }
@media (max-width: 899px) {
  .rail { grid-auto-columns: 46%; gap: 12px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 6px; scroll-padding: 0 var(--pad); scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
}
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-tile); padding: 12%; overflow: hidden; }
.card-media svg { width: 100%; height: 100%; transition: transform .45s var(--ease); }
.card:hover .card-media svg { transform: scale(1.05); }
.card-body { padding: 12px 2px 0; }
.card-brand { font-size: 13px; color: var(--muted); }
.card-title { font-family: var(--f-body); font-size: 15.5px; font-weight: 600; letter-spacing: 0; line-height: 1.3; margin-top: 2px; }
.card-price { margin-top: 6px; }
.price { font-weight: 700; font-size: 16px; }
.was { color: var(--muted); font-size: 14px; margin-left: 4px; }
.swatches-mini { display: flex; gap: 5px; margin-top: 8px; }
.swatches-mini i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.tag { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 8px; font-size: 12.5px; font-weight: 700; }
.tag-deal { background: var(--navy); color: var(--gold); }
.tag-out { background: var(--surface); color: var(--text); }
.wish-btn { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--text); }
.wish-btn .ic { width: 20px; height: 20px; }
.wish-btn.on { color: #D43F5A; }
.wish-btn.on .ic { fill: currentColor; }
.card-top { position: relative; }
.card-add { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: 0 6px 16px -6px rgba(16,24,39,.5); }
.card-add .ic { width: 20px; height: 20px; }
[data-theme="dark"] .card-add { background: var(--emerald); }

/* ---------- deals band ---------- */
.deals { position: relative; }

/* ---------- trust ---------- */
.trust { max-width: var(--wrap); margin: 48px auto 0; padding: 0 var(--pad); }
.trust h2 { margin-bottom: 18px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { padding: 26px 26px 26px 0; display: flex; flex-direction: column; gap: 8px; }
.trust-item + .trust-item { padding-left: 26px; border-left: 1px solid var(--line); }
.trust-item .ic { width: 28px; height: 28px; color: var(--emerald); }
.trust-item p { color: var(--muted); font-size: 15px; }
.trust-item:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.momo { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.momo i { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 4px 9px; border-radius: 7px; }
.momo .cash { background: var(--emerald); color: #fff; }
.momo .mtn { background: #FFCB05; color: #1A1A1A; }
.momo .orange { background: #FF7900; color: #fff; }
@media (max-width: 899px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item + .trust-item { padding: 20px 0; border-left: 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }
}

/* ---------- assistant ---------- */
.assistant { max-width: var(--wrap); margin: 48px auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px 32px; align-items: end; }
.assistant-copy p { color: var(--muted); margin-top: 6px; }
.assistant-form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.assistant-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; flex: 1; min-width: 150px; }
.assistant-out { grid-column: 1 / -1; }
.assistant-out .rail { margin-top: 12px; }
@media (max-width: 899px) { .assistant { grid-template-columns: 1fr; } }

/* ---------- contact band ---------- */
.contact-band { max-width: var(--wrap); margin: 56px auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.contact-band > div { background: var(--navy); color: #F6F4EE; padding: 36px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.contact-band > div:first-child { border-radius: var(--r-tile) 0 0 var(--r-tile); }
.contact-band > div:last-child { border-radius: 0 var(--r-tile) var(--r-tile) 0; background: #18233A; }
.contact-band p { color: #C9CCD4; max-width: 44ch; }
.contact-band .btn { margin-top: 6px; }
@media (max-width: 899px) {
  .contact-band { grid-template-columns: 1fr; }
  .contact-band > div:first-child { border-radius: var(--r-tile) var(--r-tile) 0 0; }
  .contact-band > div:last-child { border-radius: 0 0 var(--r-tile) var(--r-tile); }
  .contact-band > div { padding: 26px; }
}

/* ---------- forms ---------- */
input[type="text"], input[type="search"], input[type="tel"], input[type="number"], input:not([type]), select, textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: var(--surface); font-size: 16px;
}
.hdr-search input, .hero-search input { border: 0; height: 100%; padding: 0; background: none; }
.hero-search input { height: 44px; }
textarea { height: auto; padding: 12px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px color-mix(in srgb, var(--emerald) 22%, transparent); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 14.5px; }
.hint { font-size: 13px; color: var(--muted); }
.field-err { font-size: 13.5px; color: var(--danger); font-weight: 600; }
.prefix { display: flex; align-items: stretch; }
.prefix span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-right: 0; border-radius: var(--r-ctl) 0 0 var(--r-ctl); background: var(--tile-a); font-weight: 600; }
.prefix input { border-radius: 0 var(--r-ctl) var(--r-ctl) 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; padding: 6px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--emerald); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: 14.5px; margin-bottom: 8px; padding: 0; }

/* ---------- listing ---------- */
.listing-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 22px; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: var(--r-pill); border: 1.5px solid var(--line); font-weight: 600; font-size: 14.5px; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-theme="dark"] .chip.on { background: var(--text); color: var(--navy); border-color: var(--text); }
.listing-body { display: grid; grid-template-columns: 230px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--hdr-h) + 56px); }
.filters summary { display: none; }
.filters form { display: flex; flex-direction: column; gap: 22px; }
.filters select { height: 44px; margin-top: 6px; }
.filters fieldset label:not(.check) { display: block; font-weight: 600; font-size: 14.5px; }
@media (max-width: 899px) {
  .listing-body { grid-template-columns: 1fr; gap: 16px; }
  .filters { position: static; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); }
  .filters summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-weight: 650; cursor: pointer; list-style: none; }
  .filters summary::-webkit-details-marker { display: none; }
  .filters form { padding: 4px 14px 16px; }
}
.empty { padding: 40px 0; color: var(--muted); }
.empty.big { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 64px 0; }
.empty.big .ic { width: 44px; height: 44px; color: var(--muted); }
.empty p { max-width: 44ch; }

/* ---------- product page ---------- */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--text); }
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.gallery { position: sticky; top: calc(var(--hdr-h) + 56px); }
.gallery-main { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 24px; padding: 12%; cursor: zoom-in; }
.gallery-main svg { width: 100%; height: 100%; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 76px; aspect-ratio: 1; border-radius: 14px; padding: 8px; border: 2px solid transparent; }
.thumb.on { border-color: var(--text); }
.photo-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.buy-brand { color: var(--muted); font-weight: 600; font-size: 14.5px; }
.buy h1 { margin-top: 4px; font-size: clamp(28px, 3.4vw, 40px); }
.buy-price { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.buy-price .price { font-size: 26px; font-family: var(--f-display); letter-spacing: -0.02em; }
.save { font-size: 13.5px; font-weight: 700; color: var(--accent-ink); background: color-mix(in srgb, var(--emerald) 12%, transparent); padding: 3px 9px; border-radius: 7px; }
.stock { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14.5px; font-weight: 600; }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.stock-low i { background: #E7A33E; }
.stock-out i { background: var(--danger); }
.opt { margin-top: 24px; }
.opt legend b { font-weight: 500; color: var(--muted); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 40px; height: 40px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); outline: 2px solid transparent; outline-offset: 3px; }
.swatch.on { outline-color: var(--text); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 52px; height: 46px; padding: 0 12px; border-radius: var(--r-ctl); border: 1.5px solid var(--line); font-weight: 600; background: var(--surface); }
.size.on { background: var(--navy); color: #fff; border-color: var(--navy); }
[data-theme="dark"] .size.on { background: var(--text); color: var(--navy); border-color: var(--text); }
.field-err[data-size-err] { margin-top: 8px; }
.qty-row { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.qty-row .wish-btn { position: static; width: 50px; height: 50px; border: 1.5px solid var(--line); background: var(--surface); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-ctl); height: 50px; background: var(--surface); }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; }
.qty button .ic { width: 18px; }
.qty output { min-width: 32px; text-align: center; font-weight: 700; }
.qty.sm { height: 38px; }
.qty.sm button { width: 36px; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.info-list { margin-top: 28px; border-top: 1px solid var(--line); }
.info { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info .ic { color: var(--emerald); margin-top: 2px; }
.info h3 { font-family: var(--f-body); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.info p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.info .link { font-size: 14.5px; }
.pdp-details { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.pdp-details h2 { font-size: 20px; margin-bottom: 12px; }
.prose { max-width: 62ch; }
.specs { margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.product .block { padding-left: 0; padding-right: 0; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px var(--pad); background: var(--surface); border-top: 1px solid var(--line); transform: translateY(120%); transition: transform .25s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sticky-buy b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy span { font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .sticky-buy { bottom: 0; } }
@media (max-width: 899px) {
  .pdp { grid-template-columns: 1fr; gap: 20px; }
  .gallery { position: static; }
  .gallery-main { border-radius: 20px; }
  .pdp-details { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .buy-actions { grid-template-columns: 1fr; }
}

/* ---------- lightbox & sheet ---------- */
dialog { border: 0; padding: 0; color: var(--text); background: var(--surface); }
dialog::backdrop { background: rgba(10, 14, 24, .62); backdrop-filter: blur(3px); }
.lightbox { width: min(92vw, 860px); max-height: 92vh; border-radius: 24px; padding: 16px; }
.lb-close { position: absolute; right: 12px; top: 12px; z-index: 2; background: var(--surface); }
.lb-stage { aspect-ratio: 1; max-height: 76vh; margin: 0 auto; border-radius: 18px; padding: 8%; overflow: hidden; cursor: zoom-in; }
.lb-stage svg { width: 100%; height: 100%; transition: transform .3s var(--ease); transform-origin: var(--ox, 50%) var(--oy, 50%); }
.lb-stage.zoomed { cursor: zoom-out; }
.lb-stage.zoomed svg { transform: scale(2.2); }
.lb-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 10px; font-weight: 600; }
.sheet { width: min(520px, 100vw); max-height: 86vh; border-radius: 22px; padding: 0; overflow: auto; }
.dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 8px 22px; position: sticky; top: 0; background: var(--surface); }
.dlg-head h2 { font-size: 21px; }
.dlg-body { padding: 4px 22px 22px; }
.dlg-body > .muted { font-size: 14px; margin: 12px 0 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--r-ctl); background: var(--tile-a); }
.seg button { height: 40px; border-radius: 9px; font-weight: 650; }
.seg button.on { background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.quarters { list-style: none; margin: 0; padding: 0; }
.quarters button { width: 100%; display: flex; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.quarters button:hover { color: var(--accent-ink); }
.quarters button.on { color: var(--accent-ink); font-weight: 700; }
.quarters em { font-style: normal; color: var(--muted); font-size: 14.5px; }
@media (max-width: 599px) {
  .sheet { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: 22px 22px 0 0; }
}

/* ---------- cart ---------- */
.cart-layout, .co-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-media { border-radius: 14px; aspect-ratio: 1; padding: 10px; }
.line-title { font-weight: 650; }
.line-info .muted { font-size: 14px; }
.line-price { font-size: 14px; color: var(--muted); margin-top: 2px; }
.line-actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.line-total { font-weight: 700; white-space: nowrap; }
.lines.compact .line { grid-template-columns: 64px 1fr auto; padding: 12px 0; }
.summary { position: sticky; top: calc(var(--hdr-h) + 56px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 20px; }
.totals { margin: 0 0 16px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; }
.totals .grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 18px; }
.totals .grand dt { color: var(--text); font-weight: 700; }
.totals .grand dd { font-weight: 800; font-family: var(--f-display); }
.free-bar { margin-bottom: 14px; font-size: 14px; }
.free-bar span { display: block; height: 6px; border-radius: 3px; background: var(--tile-a); margin-top: 8px; overflow: hidden; }
.free-bar i { display: block; height: 100%; background: var(--emerald); border-radius: 3px; }
@media (max-width: 899px) {
  .cart-layout, .co-layout { grid-template-columns: 1fr; gap: 24px; }
  .summary { position: static; }
  .line { grid-template-columns: 76px 1fr; }
  .line-total { grid-column: 2; }
  .co-layout .summary { order: -1; }
}

/* ---------- checkout ---------- */
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 28px; counter-reset: s; }
.steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 3px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--muted); }
.steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--tile-a); color: var(--muted); flex: none; }
.steps li span .ic { width: 15px; height: 15px; }
.steps li.done { border-top-color: var(--emerald); color: var(--text); }
.steps li.done span { background: var(--emerald); color: #fff; }
.steps li.now { border-top-color: var(--navy); color: var(--text); }
[data-theme="dark"] .steps li.now { border-top-color: var(--text); }
.steps li.now span { background: var(--navy); color: #fff; }
[data-theme="dark"] .steps li.now span { background: var(--text); color: var(--navy); }
.co-form { min-width: 0; }
.co-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.pin-row { flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; }
.pay { display: flex; flex-direction: column; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); cursor: pointer; font-weight: 600; }
.pay-opt:has(input:checked) { border-color: var(--emerald); box-shadow: 0 0 0 3px color-mix(in srgb, var(--emerald) 18%, transparent); }
.pay-opt input { width: 20px; height: 20px; accent-color: var(--emerald); }
.pay-opt.off { opacity: .55; cursor: not-allowed; }
.pay-opt em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; }
.pay-logo { width: 34px; height: 24px; border-radius: 6px; }
.pay-logo.mtn { background: #FFCB05; }
.pay-logo.orange { background: #FF7900; }
.pay-logo.cash { background: var(--emerald); }
.note { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: var(--r-ctl); background: var(--tile-b); font-size: 14.5px; }
.note .ic { color: var(--emerald); }
.review { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.review > div { border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 14px 16px; background: var(--surface); }
.review h3 { font-family: var(--f-body); font-size: 13.5px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.review p { font-size: 15px; margin-bottom: 6px; }
@media (max-width: 599px) {
  .review { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .filters .row2 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .co-nav { flex-direction: column-reverse; align-items: stretch; }
  .co-nav .btn { width: 100%; }
  .co-nav .link { text-align: center; }
  .steps li { font-size: 13px; gap: 6px; }
}

/* ---------- done / track / account ---------- */
.done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.done-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--emerald); color: #fff; display: grid; place-items: center; }
.done-mark .ic { width: 36px; height: 36px; }
@media (prefers-reduced-motion: no-preference) { .done-mark { animation: pop .5s var(--ease) both; } @keyframes pop { from { transform: scale(.4); opacity: 0; } } }
.next { text-align: left; max-width: 520px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.no-wa { width: 100%; display: flex; flex-direction: column; gap: 10px; align-items: stretch; text-align: left; }
.no-wa p { color: var(--warn); font-weight: 600; font-size: 14.5px; }
.no-wa textarea { font-size: 13.5px; }
.inline-form { display: flex; gap: 10px; margin: 18px 0 8px; }
.orders { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.order { border: 1px solid var(--line); border-radius: var(--r-tile); padding: 16px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.order > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
.status { color: var(--warn); font-weight: 600; font-size: 14.5px; }
.order-actions { display: flex; align-items: center; gap: 16px; margin-top: 6px; flex-wrap: wrap; }
.acc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.acc-tile { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); }
.acc-tile .ic { color: var(--emerald); }
.acc-tile span { color: var(--muted); font-size: 14px; }
.acc-sec p { line-height: 1.6; }
.pref { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 599px) { .acc-grid { grid-template-columns: 1fr; } .acc-tile { flex-direction: row; align-items: center; } .acc-tile span { margin-left: auto; } }

/* ---------- info pages ---------- */
.doc .prose { font-size: 16.5px; line-height: 1.7; }
.doc .prose > * + * { margin-top: 14px; }
.doc .prose h2 { font-size: 21px; margin-top: 30px; }
.doc .prose h3 { font-size: 17px; margin-top: 22px; }
.doc .prose ul, .doc .prose ol { padding-left: 22px; }
.doc .prose li + li { margin-top: 6px; }
.draft { display: inline-block; margin-bottom: 18px; padding: 8px 12px; border-radius: 10px; background: #FDEBD3; color: #6A3B00; font-size: 14px; font-weight: 600; }
.fees { width: 100%; border-collapse: collapse; font-size: 15px; }
.fees td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.fees td:last-child { text-align: right; font-weight: 600; }
details { border-bottom: 1px solid var(--line); }
.doc details summary { padding: 16px 0; font-weight: 650; cursor: pointer; }
.doc details p { padding-bottom: 16px; color: var(--muted); }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.ftr { background: var(--navy); color: #C9CCD4; margin-top: 72px; }
.ftr-grid { max-width: var(--wrap); margin: 0 auto; padding: 52px var(--pad) 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ftr .wordmark { color: #F6F4EE; font-size: 32px; }
.ftr-brand p { margin-top: 10px; max-width: 30ch; }
.ftr h2 { font-family: var(--f-body); font-size: 14.5px; font-weight: 700; color: #F6F4EE; letter-spacing: 0; margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr-base { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--pad) 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
@media (max-width: 899px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }

/* ---------- bottom nav ---------- */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 64px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.bottom-nav a.on { color: var(--text); }
.bottom-nav a.on .ic { color: var(--emerald); }
.bottom-nav .badge { top: 6px; right: calc(50% - 22px); }
@media (min-width: 900px) { .bottom-nav { display: none; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 60; display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 16px 36px -10px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); max-width: calc(100vw - 32px); }
[data-theme="dark"] .toast { background: #F1EFE8; color: var(--navy); }
.toast span { white-space: nowrap; }
.toast a { color: #5FE0B6; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
[data-theme="dark"] .toast a { color: var(--emerald-ink); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
@media (min-width: 900px) { .toast { bottom: 28px; } }

/* ---------- skeleton ---------- */
.skeleton-page { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sk { background: linear-gradient(90deg, var(--tile-a), color-mix(in srgb, var(--tile-a) 50%, var(--bg)), var(--tile-a)); background-size: 200% 100%; border-radius: var(--r-tile); animation: sk 1.4s linear infinite; }
.sk-hero { height: 320px; margin: 24px 0; }
.sk-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sk-card { aspect-ratio: 1; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- view transitions ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }

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