/* =====================================================================
   Storefront v2 — every store brings its own --brand colour + theme font
   ===================================================================== */
body.store {
  --brand-ink: color-mix(in srgb, var(--brand) 72%, #000);
  --brand-deep: color-mix(in srgb, var(--brand) 45%, #0a0a0a);
  --brand-wash: color-mix(in srgb, var(--brand) 8%, #fff);
  --brand-soft: color-mix(in srgb, var(--brand) 16%, #fff);
  --s-bg: #FFFFFF;
  --s-surface: #F7F7F5;
  --s-text: #141414;
  --s-muted: #6B6B6B;
  --s-line: #E8E8E4;
  --s-radius: 20px;
  background: var(--s-bg); color: var(--s-text);
}
body.store.theme-modern { --font-display: "Bricolage Grotesque", "Figtree", sans-serif; --font-body: "Figtree", system-ui, sans-serif; }
body.store.theme-elegant { --font-display: "Fraunces", Georgia, serif; --font-body: "Manrope", system-ui, sans-serif; --s-surface: #F8F6F2; --s-radius: 6px; }
body.store.theme-elegant h1, body.store.theme-elegant h2 { font-weight: 500; letter-spacing: -0.02em; }
body.store.theme-clean { --font-display: "Manrope", system-ui, sans-serif; --font-body: "Manrope", system-ui, sans-serif; --s-radius: 14px; }
body.store.theme-clean h1, body.store.theme-clean h2 { font-weight: 800; letter-spacing: -0.035em; }

body.store .muted { color: var(--s-muted); }
.s-wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .s-wrap { width: calc(100% - 28px); } }

/* ---------- announcement marquee */
.s-announce { background: var(--brand-deep); color: #fff; font-size: 13px; overflow: hidden; white-space: nowrap; }
.s-announce .track { display: inline-flex; gap: 48px; padding: 9px 0; animation: marquee 32s linear infinite; }
.s-announce .track span { display: inline-flex; align-items: center; gap: 48px; opacity: .92; }
.s-announce .track span::after { content: "✦"; opacity: .5; font-size: 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.s-announce:hover .track { animation-play-state: paused; }

/* ---------- header */
.s-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--s-line); }
.s-bar { display: flex; align-items: center; gap: 28px; height: 74px; }
.s-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--s-text); min-width: 0; flex-shrink: 0; }
.s-logo .mark { width: 42px; height: 42px; border-radius: 13px; background: var(--brand); color: #fff; display: grid; place-items: center; font: 800 15px var(--font-display); overflow: hidden; flex-shrink: 0; }
.s-logo .mark img { width: 100%; height: 100%; object-fit: cover; }
.s-logo .nm { font: 750 20px var(--font-display); letter-spacing: -0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.s-nav { display: flex; gap: 4px; flex: 1; min-width: 0; overflow: hidden; }
.s-nav a { padding: 9px 13px; border-radius: 999px; text-decoration: none; color: #3A3A3A; font-weight: 500; font-size: 14.5px; white-space: nowrap; }
.s-nav a:hover, .s-nav a.on { background: var(--s-surface); color: var(--s-text); }
.s-nav a.sale { color: var(--coral); }
.s-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }
.s-act { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 13px; border-radius: 999px; border: 0; background: none;
  color: var(--s-text); text-decoration: none; font: 600 14px var(--font-body); cursor: pointer; }
.s-act:hover { background: var(--s-surface); }
.s-act [data-lucide] { width: 20px; height: 20px; }
.s-act.login { border: 1.5px solid var(--s-text); padding: 0 16px; margin-left: 4px; }
.s-act.login:hover { background: var(--s-text); color: #fff; }
.s-act .dot { position: absolute; top: 3px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.s-act .dot.bump { animation: bump .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump { 40% { transform: scale(1.45); } }
.s-menu-btn { display: none; }
@media (max-width: 1080px) { .s-nav { display: none; } }
@media (max-width: 760px) {
  .s-bar { height: 62px; gap: 10px; }
  .s-menu-btn { display: inline-flex; padding: 0 8px; }
  .s-act .lbl { display: none; }
  .s-act.track-btn, .s-act.login { display: none; }
  .s-logo .nm { font-size: 17px; max-width: 170px; }
  .s-logo .mark { width: 36px; height: 36px; border-radius: 11px; }
}

/* search overlay */
.s-search-panel { display: none; border-top: 1px solid var(--s-line); background: #fff; padding: 18px 0 22px; }
.s-search-panel.open { display: block; animation: drop .2s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.s-search-panel form { position: relative; }
.s-search-panel input { width: 100%; font: 500 20px var(--font-body); padding: 16px 20px 16px 54px; border-radius: 999px; border: 1.5px solid var(--s-line); background: var(--s-surface); }
.s-search-panel input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-wash); }
.s-search-panel [data-lucide] { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--s-muted); }
.s-search-panel .hints { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.s-search-panel .hints a { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--s-surface); text-decoration: none; color: var(--s-muted); }

/* ---------- drawers (menu left, cart right) */
.s-scrim { position: fixed; inset: 0; background: rgba(10,10,10,.42); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.s-scrim.show { opacity: 1; pointer-events: auto; }
.s-drawer { position: fixed; top: 0; bottom: 0; z-index: 90; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; transition: transform .32s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 60px rgba(0,0,0,.18); }
.s-drawer.side-right { right: 0; transform: translateX(105%); }
.s-drawer.side-left { left: 0; transform: translateX(-105%); width: min(340px, 86vw); }
.s-drawer.open { transform: none; }
.s-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--s-line); }
.s-drawer-head h3 { font-size: 19px; }
.s-drawer-body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.s-drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--s-line); background: #fff; }
.s-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--s-surface); cursor: pointer; display: grid; place-items: center; }
.menu-links a { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--s-line); text-decoration: none; color: var(--s-text); font-weight: 600; font-size: 16px; }
.menu-links a [data-lucide] { color: var(--s-muted); width: 18px; }
.free-bar { font-size: 13px; color: var(--s-muted); margin-bottom: 12px; }
.free-bar .bar { height: 6px; border-radius: 999px; background: var(--s-surface); margin-top: 7px; overflow: hidden; }
.free-bar .bar i { display: block; height: 100%; background: var(--brand); border-radius: 999px; }

/* ---------- buttons */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px; border-radius: 999px; border: 0;
  background: var(--s-text); color: #fff; font: 650 15px var(--font-body); text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, box-shadow .2s; white-space: nowrap; }
.s-btn:hover { background: #2C2C2C; }
.s-btn:active { transform: scale(.98); }
.s-btn.brand { background: var(--brand); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
.s-btn.brand:hover { background: var(--brand-ink); }
.s-btn.light { background: #fff; color: var(--s-text); }
.s-btn.light:hover { background: #F2F2F2; }
.s-btn.ghost { background: transparent; color: var(--s-text); box-shadow: inset 0 0 0 1.5px var(--s-text); }
.s-btn.ghost:hover { background: var(--s-text); color: #fff; }
.s-btn.block { width: 100%; }
.s-btn.lg { padding: 17px 28px; font-size: 16px; }
.s-btn[disabled] { opacity: .55; pointer-events: none; }
body.theme-elegant .s-btn { border-radius: var(--s-radius); letter-spacing: .01em; }

/* ---------- hero: slider */
.hero-slider { position: relative; margin-top: 20px; border-radius: calc(var(--s-radius) + 8px); overflow: hidden; height: clamp(380px, 46vw, 580px); background: var(--brand-deep); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.hero-slide.on { opacity: 1; z-index: 1; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.18) 55%, transparent 80%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 50%); }
.hero-slide .copy { position: relative; color: #fff; padding: clamp(28px, 5vw, 64px); max-width: 680px; }
.hero-slide h2 { font-size: clamp(34px, 5.4vw, 68px); line-height: .98; letter-spacing: -0.045em; }
.hero-slide p { font-size: clamp(15px, 1.6vw, 19px); margin-top: 14px; opacity: .92; }
.hero-slide .s-btn { margin-top: 26px; }
.hero-dots { position: absolute; z-index: 3; right: 28px; bottom: 28px; display: flex; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s; padding: 0; }
.hero-dots button.on { width: 28px; background: #fff; }
.hero-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); cursor: pointer; display: grid; place-items: center; }
.hero-arrow.prev { left: 18px; } .hero-arrow.next { right: 18px; }
@media (max-width: 640px) { .hero-arrow { display: none; } .hero-dots { right: auto; left: 28px; bottom: 18px; } }

/* ---------- hero: editorial split (no banners uploaded) */
.hero-split { margin-top: 20px; border-radius: calc(var(--s-radius) + 8px); background: radial-gradient(90% 120% at 100% 0%, var(--brand-soft), transparent 60%), var(--brand-wash);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; padding: clamp(28px, 4.5vw, 64px); align-items: center; overflow: hidden; position: relative; }
.store-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.store-badge .mk { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 800; overflow: hidden; }
.store-badge .mk img { width: 100%; height: 100%; object-fit: cover; }
.store-badge [data-lucide] { width: 15px; height: 15px; color: var(--brand); }
.hero-split h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: .96; letter-spacing: -0.05em; margin-top: 22px; color: var(--brand-deep); }
.hero-split .lede { font-size: clamp(16px, 1.5vw, 19px); color: #4A4A4A; margin-top: 18px; max-width: 34em; }
.hero-split .ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats b { display: block; font: 750 26px var(--font-display); letter-spacing: -0.03em; color: var(--brand-deep); }
.hero-stats small { color: var(--s-muted); font-size: 13px; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.collage .tile { position: relative; border-radius: var(--s-radius); overflow: hidden; aspect-ratio: 4/5; background: #fff; box-shadow: 0 24px 50px -24px rgba(0,0,0,.28); text-decoration: none; display: block; }
.collage .tile:nth-child(2) { margin-top: 46px; } .collage .tile:nth-child(3) { margin-top: -46px; }
.collage .tile img { width: 100%; height: 100%; object-fit: cover; }
.collage .chip { position: absolute; left: 12px; bottom: 12px; right: 12px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-radius: 12px; padding: 9px 12px; color: var(--s-text); font-size: 12.5px; line-height: 1.3; }
.collage .chip b { display: block; font-size: 15px; color: var(--brand-ink); }
.collage .chip span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; } .collage { grid-template-columns: repeat(4, 1fr); gap: 10px; } .collage .tile, .collage .tile:nth-child(n) { margin: 0; } .collage .chip { display: none; } }

/* ---------- category stories */
.stories { display: flex; gap: 22px; overflow-x: auto; padding: 30px 2px 6px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: 0 0 auto; width: 92px; text-align: center; text-decoration: none; color: var(--s-text); scroll-snap-align: start; }
.story .ring { width: 88px; height: 88px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, var(--brand), color-mix(in srgb, var(--brand) 40%, #F5B21B), var(--brand)); transition: transform .2s; }
.story:hover .ring { transform: scale(1.05); }
.story .in { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; overflow: hidden; display: grid; place-items: center; background: hsl(var(--h) 45% 92%); color: hsl(var(--h) 40% 30%); font: 750 22px var(--font-display); }
.story .in img { width: 100%; height: 100%; object-fit: cover; }
.story .in [data-lucide] { width: 30px; height: 30px; stroke-width: 1.6; }
.story span.t { display: block; margin-top: 9px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- sections */
.s-section { margin-top: clamp(48px, 7vw, 88px); }
.s-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.s-head h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.04em; line-height: 1.05; }
.s-head p { color: var(--s-muted); margin-top: 6px; }
.s-head .more { font-weight: 650; font-size: 14.5px; color: var(--s-text); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--s-line); white-space: nowrap; }
.s-head .more:hover { box-shadow: inset 0 0 0 1.5px var(--s-text); }

/* ---------- product grid & card */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px; }
@media (max-width: 1000px) { .p-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .p-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; } }
.p-card { position: relative; }
.p-media { position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--s-radius); overflow: hidden; background: var(--s-surface); }
.p-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .7s cubic-bezier(.2,.8,.2,1); }
.p-media img.alt { opacity: 0; }
.p-card:hover .p-media img.main { transform: scale(1.04); }
.p-card:hover .p-media img.alt { opacity: 1; }
.p-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.p-badge { font-size: 11.5px; font-weight: 750; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--s-text); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.p-badge.sale { background: var(--coral); color: #fff; }
.p-badge.out { background: rgba(20,20,20,.8); color: #fff; }
.p-quick { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.p-quick button, .p-quick a { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--s-text); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.14); transition: transform .2s, background .2s, color .2s; text-decoration: none; }
.p-quick button:hover, .p-quick a:hover { background: var(--brand); color: #fff; transform: scale(1.08); }
@media (hover: hover) { .p-quick { opacity: 0; transform: translateY(6px); transition: .25s; } .p-card:hover .p-quick, .p-quick:focus-within { opacity: 1; transform: none; } }
.p-info { padding: 14px 2px 0; }
.p-info .cat { font-size: 12px; color: var(--s-muted); font-weight: 500; }
.p-info h3 { font: 600 15.5px/1.35 var(--font-body); letter-spacing: -0.005em; margin-top: 3px; }
.p-info h3 a { text-decoration: none; color: inherit; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-price { display: flex; gap: 8px; align-items: baseline; margin-top: 7px; flex-wrap: wrap; }
.p-price b { font: 750 17.5px var(--font-display); letter-spacing: -0.02em; }
.p-price s { color: #9A9A9A; font-size: 13.5px; }
.p-price .off { color: var(--coral); font-size: 12.5px; font-weight: 700; }
.p-low { margin-top: 5px; font-size: 12px; color: var(--amber); font-weight: 600; display: flex; gap: 5px; align-items: center; }
.p-low [data-lucide] { width: 13px; height: 13px; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; position: absolute; inset: 0;
  background: radial-gradient(100% 80% at 30% 15%, color-mix(in srgb, var(--brand) 6%, hsl(var(--h) 60% 96%)), color-mix(in srgb, var(--brand) 10%, hsl(var(--h) 35% 86%))); }
.ph [data-lucide] { width: 30%; height: 30%; stroke-width: 1; color: color-mix(in srgb, var(--brand) 40%, hsl(var(--h) 25% 45%)); opacity: .7; }
.ph .ph-name { position: absolute; bottom: 14px; left: 14px; right: 14px; font: 650 13px var(--font-display); color: color-mix(in srgb, var(--brand) 50%, #333); opacity: .55; text-align: center; }

/* best seller carousel with rank */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1000px) { .rail { grid-auto-columns: 40%; } }
@media (max-width: 640px) { .rail { grid-auto-columns: 62%; gap: 12px; } }
.rank { position: absolute; top: 10px; right: 12px; z-index: 2; font: 800 44px/1 var(--font-display); color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.35); letter-spacing: -0.05em; }

/* promo band */
.promo { margin-top: clamp(48px, 7vw, 88px); border-radius: calc(var(--s-radius) + 8px); background: var(--brand-deep); color: #fff; padding: clamp(30px, 5vw, 60px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; position: relative; overflow: hidden; }
.promo::after { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 70%, #fff) 0, transparent 65%); opacity: .35; }
.promo h2 { font-size: clamp(30px, 4.4vw, 54px); letter-spacing: -0.045em; line-height: 1; }
.promo p { color: rgba(255,255,255,.78); margin-top: 14px; font-size: 17px; max-width: 30em; }
.promo .rates { display: grid; gap: 12px; position: relative; z-index: 1; }
.promo .rate { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 16px 18px; }
.promo .rate [data-lucide] { width: 24px; height: 24px; opacity: .9; }
.promo .rate b { display: block; font-size: 16px; }
.promo .rate small { color: rgba(255,255,255,.7); }
.promo .rate .fee { margin-left: auto; font: 750 20px var(--font-display); }
@media (max-width: 860px) { .promo { grid-template-columns: 1fr; } }

/* service row */
.services { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); }
.services div { padding: 26px 22px; display: flex; gap: 14px; align-items: flex-start; }
.services div + div { border-left: 1px solid var(--s-line); }
.services [data-lucide] { width: 26px; height: 26px; color: var(--brand); flex-shrink: 0; stroke-width: 1.6; }
.services b { display: block; font-size: 15px; }
.services small { color: var(--s-muted); font-size: 13.5px; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } .services div:nth-child(3) { border-left: 0; } .services div:nth-child(n+3) { border-top: 1px solid var(--s-line); } }
@media (max-width: 480px) { .services div { padding: 18px 12px; } }

/* ---------- listing */
.listing-hero { margin-top: 26px; padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--s-radius) + 8px); background: var(--brand-wash); }
.listing-hero h1 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.045em; color: var(--brand-deep); }
.listing-hero p { color: var(--s-muted); margin-top: 6px; }
.chips-row { display: flex; gap: 8px; overflow-x: auto; margin-top: 20px; scrollbar-width: none; }
.chips-row a { padding: 9px 16px; border-radius: 999px; background: #fff; text-decoration: none; color: var(--s-text); font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--s-line); }
.chips-row a.on { background: var(--s-text); color: #fff; box-shadow: none; }
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.filter-bar .toggles { display: flex; gap: 8px; flex-wrap: wrap; }
.toggle { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--s-text); box-shadow: inset 0 0 0 1.5px var(--s-line); }
.toggle.on { box-shadow: inset 0 0 0 1.5px var(--s-text); background: var(--s-surface); }
.toggle [data-lucide] { width: 16px; height: 16px; }
.sort-select { appearance: none; border: 0; box-shadow: inset 0 0 0 1.5px var(--s-line); border-radius: 999px; padding: 10px 38px 10px 16px; font: 600 14px var(--font-body); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }

/* ---------- product page */
.crumbs { font-size: 13px; color: var(--s-muted); margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--s-muted); text-decoration: none; } .crumbs a:hover { color: var(--s-text); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); margin-top: 18px; align-items: start; }
.pdp-gallery { display: grid; grid-template-columns: 82px 1fr; gap: 14px; position: sticky; top: 96px; }
.pdp-gallery.single { grid-template-columns: 1fr; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pdp-thumbs button { width: 82px; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--s-surface); }
.pdp-thumbs button.on { border-color: var(--s-text); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-main { position: relative; aspect-ratio: 4/5; border-radius: calc(var(--s-radius) + 4px); overflow: hidden; background: var(--s-surface); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .3s; }
.pdp-main.zoom img { transform: scale(1.8); cursor: zoom-out; }
.pdp-slides { display: none; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; grid-template-columns: 1fr; margin: 0 -14px; }
  .pdp-thumbs, .pdp-main.desk { display: none; }
  .pdp-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pdp-slides > div { flex: 0 0 100%; aspect-ratio: 4/5; scroll-snap-align: start; position: relative; background: var(--s-surface); }
  .pdp-slides img { width: 100%; height: 100%; object-fit: cover; }
  .slide-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
  .slide-dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--s-line); transition: .3s; }
  .slide-dots i.on { width: 20px; background: var(--s-text); }
}
.pdp-info .cat-link { font-size: 13px; font-weight: 650; color: var(--brand-ink); text-decoration: none; }
.pdp-info h1 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.04em; line-height: 1.05; margin-top: 8px; }
.pdp-price { display: flex; gap: 12px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.pdp-price b { font: 800 34px var(--font-display); letter-spacing: -0.04em; }
.pdp-price s { color: #9A9A9A; font-size: 19px; }
.pdp-price .save { background: color-mix(in srgb, var(--coral) 12%, #fff); color: var(--coral); font-weight: 750; font-size: 13px; padding: 5px 11px; border-radius: 999px; }
.pdp-sub { color: var(--s-muted); font-size: 14px; margin-top: 6px; }
.opt { margin-top: 26px; }
.opt-head { display: flex; justify-content: space-between; font-weight: 650; font-size: 14px; margin-bottom: 10px; }
.opt-head .picked { color: var(--s-muted); font-weight: 500; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { min-width: 52px; height: 46px; padding: 0 16px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--s-line); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-weight: 650; font-size: 14px; transition: box-shadow .15s, background .15s; }
.chips label:hover { box-shadow: inset 0 0 0 1.5px #A9A9A9; }
.chips input:checked + label { box-shadow: inset 0 0 0 2px var(--s-text); background: var(--s-surface); }
.chips input:focus-visible + label { outline: 3px solid var(--brand-soft); }
.chips .sw { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.buy-grid { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 28px; }
.buy-grid .s-btn.full { grid-column: 1 / -1; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--s-line); height: 54px; }
.qty button { width: 46px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 20px; color: var(--s-text); }
.qty input { width: 40px; text-align: center; border: 0; font: 700 16px var(--font-body); background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm { height: 38px; } .qty.sm button { width: 34px; font-size: 16px; } .qty.sm input { width: 28px; font-size: 14px; }
.stock-line { margin-top: 16px; font-size: 14px; display: flex; gap: 8px; align-items: center; font-weight: 600; }
.stock-line.ok { color: var(--green); } .stock-line.low { color: var(--amber); } .stock-line.out { color: var(--coral); }
.deliver-box { margin-top: 24px; border-radius: 18px; background: var(--s-surface); padding: 6px 18px; }
.deliver-box > div { display: flex; gap: 14px; align-items: center; padding: 13px 0; font-size: 14.5px; }
.deliver-box > div + div { border-top: 1px solid var(--s-line); }
.deliver-box [data-lucide] { color: var(--brand); width: 22px; height: 22px; flex-shrink: 0; }
.deliver-box b { display: block; }
.deliver-box small { color: var(--s-muted); }
.deliver-box .fee { margin-left: auto; font-weight: 750; white-space: nowrap; }
.acc { margin-top: 22px; border-top: 1px solid var(--s-line); }
.acc details { border-bottom: 1px solid var(--s-line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.acc details[open] summary::after { transform: rotate(-135deg); }
.acc .body { padding: 0 0 20px; color: #444; line-height: 1.75; white-space: pre-line; }
.share { display: flex; gap: 8px; margin-top: 22px; align-items: center; font-size: 14px; color: var(--s-muted); }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--s-surface); color: var(--s-text); border: 0; cursor: pointer; text-decoration: none; }
.share a:hover, .share button:hover { background: var(--s-text); color: #fff; }
.share [data-lucide] { width: 17px; height: 17px; }
.buy-bar { display: none; }
@media (max-width: 900px) {
  .buy-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--s-line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; }
  .buy-bar .pr b { display: block; font: 800 19px var(--font-display); }
  .buy-bar .pr small { color: var(--s-muted); font-size: 12px; }
  .buy-bar .s-btn { flex: 1; }
  body.has-buy-bar .tabbar { display: none; }
  body.has-buy-bar { padding-bottom: 80px; }
}

/* ---------- cart lines (drawer + page) */
.c-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--s-line); align-items: start; }
.c-line:last-child { border-bottom: 0; }
.c-img { position: relative; width: 76px; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: var(--s-surface); display: block; }
.c-img img { width: 100%; height: 100%; object-fit: cover; }
.c-img .ph [data-lucide] { width: 40%; height: 40%; }
.c-meta a.nm { font-weight: 650; text-decoration: none; color: var(--s-text); font-size: 14.5px; line-height: 1.35; display: block; }
.c-meta small { display: block; color: var(--s-muted); font-size: 13px; margin-top: 3px; }
.c-meta .warn { color: var(--coral); }
.c-meta form { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.c-amt { font: 750 15.5px var(--font-display); white-space: nowrap; }
.rm { background: none; border: 0; color: var(--s-muted); font: 500 13px var(--font-body); text-decoration: underline; cursor: pointer; padding: 0; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--s-line); margin-top: 8px; padding-top: 14px; font: 800 22px var(--font-display); letter-spacing: -0.02em; }
.empty-bag { text-align: center; padding: 60px 10px; color: var(--s-muted); }
.empty-bag [data-lucide] { width: 46px; height: 46px; margin: 0 auto 14px; display: block; stroke-width: 1.4; }
.empty-bag h3 { color: var(--s-text); font-size: 20px; margin-bottom: 6px; }

/* ---------- page shells */
.page-title { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.045em; margin: 34px 0 24px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 900px) { .co-grid { grid-template-columns: 1fr; } }
.box { border-radius: calc(var(--s-radius) + 2px); background: #fff; box-shadow: inset 0 0 0 1px var(--s-line); }
.box-pad { padding: clamp(18px, 3vw, 28px); }
.box + .box { margin-top: 18px; }
.box h2 { font-size: 20px; letter-spacing: -0.025em; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.box h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--s-text); color: #fff; display: grid; place-items: center; font: 750 14px var(--font-body); flex-shrink: 0; }
.summary { position: sticky; top: 96px; background: var(--s-surface); box-shadow: none; }
body.store .input { border-radius: 12px; border-color: #D9D9D4; padding: 13px 14px; font-family: var(--font-body); }
body.store .input:focus { border-color: var(--s-text); box-shadow: 0 0 0 3px var(--brand-wash); }
body.store .field > label { font-weight: 650; }
.zone { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; margin-top: 16px; background: var(--brand-wash); color: var(--brand-deep); font-size: 14.5px; }
.zone [data-lucide] { width: 22px; height: 22px; flex-shrink: 0; }
.zone b { display: block; }
.zone .fee { margin-left: auto; font: 800 18px var(--font-display); }
.zone.wait { background: var(--s-surface); color: var(--s-muted); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice label.opt-card { display: flex; gap: 10px; align-items: center; padding: 15px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--s-line); cursor: pointer; font-weight: 600; }
.choice label.opt-card:has(input:checked) { box-shadow: inset 0 0 0 2px var(--s-text); background: var(--s-surface); }
.choice input[type=radio] { accent-color: var(--s-text); width: 18px; height: 18px; margin: 0; }
@media (max-width: 480px) { .choice { grid-template-columns: 1fr; } }
.mini-line { display: flex; gap: 12px; align-items: center; padding: 10px 0; font-size: 14px; }
.mini-line .img { width: 54px; aspect-ratio: 4/5; border-radius: 10px; position: relative; background: #fff; flex-shrink: 0; }
.mini-line .img > img, .mini-line .img > .ph { border-radius: 10px; overflow: hidden; width: 100%; height: 100%; object-fit: cover; }
.mini-line .q { position: absolute; top: -7px; right: -7px; background: var(--s-text); color: #fff; font-size: 11px; font-weight: 700; min-width: 21px; height: 21px; border-radius: 999px; display: grid; place-items: center; z-index: 2; }
.cod-note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; font-size: 14px; color: var(--s-muted); margin-top: 16px; }
.cod-note [data-lucide] { color: var(--brand); }

/* auth-ish small pages */
.narrow { max-width: 480px; margin: clamp(32px, 6vw, 72px) auto; }
.narrow .ic { width: 68px; height: 68px; border-radius: 22px; background: var(--brand-wash); color: var(--brand); display: grid; place-items: center; margin-bottom: 20px; }
.narrow .ic [data-lucide] { width: 30px; height: 30px; }
.narrow h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.04em; }
.narrow > p { color: var(--s-muted); margin-top: 8px; }
.otp-input { text-align: center; font: 750 30px var(--font-display) !important; letter-spacing: .45em; padding: 16px !important; }
.dev-code { margin-top: 16px; padding: 11px 14px; border-radius: 12px; background: var(--amber-soft); color: #7A4D00; font-size: 13.5px; border: 1px dashed #E8C26A; }
.link-btn { background: none; border: 0; color: var(--s-text); font: 650 14px var(--font-body); cursor: pointer; text-decoration: underline; padding: 0; }
.link-btn[disabled] { color: #9A9A9A; cursor: default; text-decoration: none; }
.seller { display: grid; grid-template-columns: 1fr 1fr; border-radius: calc(var(--s-radius) + 8px); overflow: hidden; box-shadow: inset 0 0 0 1px var(--s-line); margin: clamp(28px, 5vw, 60px) auto; max-width: 980px; }
.seller-side { background: var(--brand-deep); color: #fff; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.seller-side h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.04em; line-height: 1.05; }
.seller-side ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; color: rgba(255,255,255,.82); font-size: 14.5px; }
.seller-side li { display: flex; gap: 10px; } .seller-side li [data-lucide] { width: 18px; color: #fff; }
.seller-form { padding: clamp(28px, 4vw, 48px); background: #fff; }
.seller-form h1 { font-size: 30px; letter-spacing: -0.035em; }
@media (max-width: 760px) { .seller { grid-template-columns: 1fr; } .seller-side { display: none; } }

/* success / orders */
.success { max-width: 680px; margin: clamp(32px, 6vw, 64px) auto; }
.success .tick { width: 78px; height: 78px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; margin-bottom: 22px; animation: pop-in .55s cubic-bezier(.2,.9,.2,1.35); box-shadow: 0 16px 34px -12px var(--brand); }
.success .tick [data-lucide] { width: 36px; height: 36px; stroke-width: 2.6; }
@keyframes pop-in { from { transform: scale(.5); opacity: 0; } }
.success h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.045em; line-height: 1.02; }
.o-card { display: block; text-decoration: none; color: var(--s-text); border-radius: calc(var(--s-radius) + 2px); box-shadow: inset 0 0 0 1px var(--s-line); padding: 18px 20px; transition: box-shadow .15s; }
.o-card:hover { box-shadow: inset 0 0 0 1.5px var(--s-text); }
.o-card + .o-card { margin-top: 14px; }
.o-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.o-thumbs { display: flex; margin-top: 14px; }
.o-thumbs > div { width: 46px; aspect-ratio: 4/5; border-radius: 9px; overflow: hidden; border: 2px solid #fff; margin-right: -10px; position: relative; background: var(--s-surface); }
.o-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.o-thumbs .ph [data-lucide] { width: 50%; height: 50%; }
.mini-progress { height: 5px; border-radius: 999px; background: var(--s-surface); margin-top: 14px; overflow: hidden; }
.mini-progress i { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.track { display: grid; grid-template-columns: repeat(5, 1fr); margin: 6px 0; }
.track div { text-align: center; font-size: 12.5px; color: #9A9A9A; position: relative; padding-top: 32px; }
.track div::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; background: var(--s-line); z-index: 1; }
.track div::after { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--s-line); }
.track div:first-child::after { display: none; }
.track div.done { color: var(--s-text); font-weight: 650; }
.track div.done::before { background: var(--brand); box-shadow: 0 0 0 5px var(--brand-wash); }
.track div.done::after { background: var(--brand); }

/* ---------- footer */
.s-footer { margin-top: clamp(64px, 9vw, 110px); background: var(--brand-deep); color: rgba(255,255,255,.72); padding: clamp(40px, 6vw, 70px) 0 28px; font-size: 14.5px; }
.s-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.s-footer .f-brand .s-logo { color: #fff; }
.s-footer .f-brand p { margin-top: 16px; max-width: 32em; line-height: 1.65; }
.s-footer h4 { color: #fff; font: 700 15px var(--font-body); margin-bottom: 14px; letter-spacing: 0; }
.s-footer a { color: rgba(255,255,255,.72); text-decoration: none; display: flex; gap: 9px; align-items: center; padding: 5px 0; }
.s-footer a:hover { color: #fff; }
.s-footer [data-lucide] { width: 17px; height: 17px; }
.s-footer .pay-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.s-footer .pay-badges span { font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; }
.s-footer .bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.s-footer .bottom a { display: inline; padding: 0; }
@media (max-width: 860px) { .s-footer .cols { grid-template-columns: 1fr 1fr; } .s-footer .f-brand { grid-column: 1 / -1; } }

/* ---------- mobile tab bar + floating chat + toast */
.tabbar { display: none; }
@media (max-width: 760px) {
  body.store { padding-bottom: 70px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255,255,255,.96); backdrop-filter: blur(14px);
    border-top: 1px solid var(--s-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font: 600 11px var(--font-body); color: var(--s-muted); text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer; }
  .tabbar a.on { color: var(--s-text); }
  .tabbar [data-lucide] { width: 22px; height: 22px; }
  .tabbar .dot { position: absolute; top: 2px; left: calc(50% + 4px); min-width: 17px; height: 17px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
}
.wa-float { position: fixed; right: 20px; bottom: 22px; z-index: 44; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7); text-decoration: none; transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 760px) { .wa-float { bottom: 84px; right: 14px; width: 50px; height: 50px; } body.has-buy-bar .wa-float { bottom: 92px; } }
.s-toast { position: fixed; left: 50%; top: 20px; transform: translate(-50%, -20px); z-index: 120; background: var(--s-text); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  display: flex; gap: 10px; align-items: center; opacity: 0; pointer-events: none; transition: .3s; box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); max-width: calc(100vw - 32px); }
.s-toast.show { opacity: 1; transform: translate(-50%, 0); }
.s-toast.err { background: var(--coral); }
.s-empty { text-align: center; padding: 80px 20px; color: var(--s-muted); }
.s-empty [data-lucide] { width: 48px; height: 48px; margin: 0 auto 16px; display: block; stroke-width: 1.4; }
.s-empty h2 { color: var(--s-text); font-size: 24px; margin-bottom: 8px; }
body.store .messages { top: 90px; }
body.store .pager-bar { border-top: 0; padding: 40px 0 0; }
body.store .pager span.current { background: var(--s-text); }
body.store .pager a, body.store .pager span { border-radius: 999px; }
body.store .pager .pg-arrow { border-color: var(--s-line); }

/* ---------- fixes */
[hidden] { display: none !important; }
.s-drawer:not(.open) { visibility: hidden; box-shadow: none; transition: transform .32s cubic-bezier(.2,.8,.2,1), visibility 0s .32s; }
@media (max-width: 760px) {
  .s-act.login { display: inline-flex; border: 0; padding: 0 8px; margin: 0; }
  .s-act.login:hover { background: var(--s-surface); color: var(--s-text); }
  .s-actions .s-act[data-search] { display: none; }
  .story { width: 74px; } .story .ring { width: 70px; height: 70px; } .story .in { font-size: 18px; } .stories { gap: 14px; padding-top: 22px; }
}
@media (max-width: 900px) { body.has-buy-bar .wa-float { display: none; } }
.zone + .field { margin-top: 18px; }

/* coupon */
.coupon-box { margin: 14px 0 4px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { text-transform: uppercase; letter-spacing: .04em; font-weight: 650; }
.coupon-row .s-btn { padding: 0 20px; }
.coupon-msg { font-size: 13px; margin-top: 7px; min-height: 18px; }
.coupon-msg .ok { color: var(--green); font-weight: 650; }
.coupon-msg .err { color: var(--coral); }
.sum-row.discount { color: var(--green); font-weight: 600; }
.sum-row.discount small { font-weight: 500; }

/* stars + reviews */
.stars { display: inline-flex; align-items: center; gap: 1px; color: #F2A900; vertical-align: middle; }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
.stars svg.off { fill: #D9D9D4; }
.stars-md svg { width: 18px; height: 18px; } .stars-lg svg { width: 22px; height: 22px; }
.stars .n { color: var(--s-muted); font-size: 12px; margin-left: 5px; font-weight: 600; }
.p-rating { margin-top: 5px; }
.pdp-rating { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; text-decoration: none; font-size: 14px; }
.rv-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.rv-summary { background: var(--s-surface); border-radius: calc(var(--s-radius) + 2px); padding: 26px; position: sticky; top: 96px; }
.rv-summary .big { display: block; font: 800 56px/1 var(--font-display); letter-spacing: -0.04em; margin-bottom: 6px; }
.rv-bars { margin-top: 18px; display: grid; gap: 8px; font-size: 13px; }
.rv-bars div { display: grid; grid-template-columns: 26px 1fr 28px; gap: 10px; align-items: center; }
.rv-bars i { height: 7px; border-radius: 999px; background: #fff; overflow: hidden; display: block; }
.rv-bars em { display: block; height: 100%; background: #F2A900; border-radius: 999px; }
.rv { padding: 22px 0; border-bottom: 1px solid var(--s-line); }
.rv:first-child { padding-top: 0; }
.rv-top { display: flex; gap: 12px; align-items: center; }
.rv-top > div { flex: 1; }
.rv p { margin-top: 12px; line-height: 1.7; color: #333; }
.avatar-s { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-wash); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; }
.verified { color: var(--green); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.verified [data-lucide] { width: 13px; height: 13px; }
.rv-empty { display: flex; gap: 14px; align-items: center; padding: 22px; border-radius: calc(var(--s-radius) + 2px); background: var(--s-surface); color: var(--s-muted); }
.rv-empty [data-lucide] { width: 26px; height: 26px; color: var(--brand); flex-shrink: 0; }
@media (max-width: 800px) { .rv-grid { grid-template-columns: 1fr; } .rv-summary { position: static; } }
/* review form on order page */
.rate-pick { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rate-pick input { position: absolute; opacity: 0; pointer-events: none; }
.rate-pick label { cursor: pointer; color: #D9D9D4; font-size: 30px; line-height: 1; padding: 0 1px; }
.rate-pick label:hover, .rate-pick label:hover ~ label, .rate-pick input:checked ~ label { color: #F2A900; }
.rate-pick input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 4px; }
.review-box { margin-top: 12px; padding: 16px; border-radius: 14px; background: var(--s-surface); }
.review-box textarea { margin-top: 10px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 14px; padding: 0 0 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--s-line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--brand); margin-top: 3px; flex-shrink: 0; box-shadow: 0 0 0 4px var(--brand-wash); }
.timeline b { display: block; font-size: 14.5px; }
.timeline small { color: var(--s-muted); }
