:root {
  --bg: #f8f4ee;
  --surface: #fffdfa;
  --surface-2: #f2ece3;
  --ink: #221d1a;
  --muted: #6f655d;
  --line: #e6ddd0;
  --line-strong: #cdbfae;
  --accent: #5b2a4a;
  --accent-ink: #ffffff;
  --accent-soft: #efe2ea;
  --gold: #a8812f;
  --good: #1d7448;
  --good-ink: #ffffff;
  --good-soft: #e1f2e8;
  --badge: #221d1a;
  --badge-ink: #ffffff;
  --tint-s1: 70%; --tint-l1: 97%; --tint-s2: 40%; --tint-l2: 90%;
  --shadow: 0 1px 2px rgba(34, 29, 26, .06), 0 14px 30px rgba(34, 29, 26, .10);
  --serif: "Noto Serif Georgian", "Noto Serif", Georgia, serif;
  --sans: "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.2, 1.15, .3, 1.15);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15110f; --surface: #1e1916; --surface-2: #28211d; --ink: #f3ece4; --muted: #a99d92; --line: #362d27; --line-strong: #554a42;
    --accent: #e0b3d0; --accent-ink: #2a1424; --accent-soft: #3a2433; --gold: #d6b370;
    --good: #6fd09c; --good-ink: #10291b; --good-soft: #1c3427; --badge: #f3ece4; --badge-ink: #1c1714;
    --tint-s1: 28%; --tint-l1: 24%; --tint-s2: 24%; --tint-l2: 16%;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px rgba(0,0,0,.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15110f; --surface: #1e1916; --surface-2: #28211d; --ink: #f3ece4; --muted: #a99d92; --line: #362d27; --line-strong: #554a42;
  --accent: #e0b3d0; --accent-ink: #2a1424; --accent-soft: #3a2433; --gold: #d6b370;
  --good: #6fd09c; --good-ink: #10291b; --good-soft: #1c3427; --badge: #f3ece4; --badge-ink: #1c1714;
  --tint-s1: 28%; --tint-l1: 24%; --tint-s2: 24%; --tint-l2: 16%;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px rgba(0,0,0,.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.only-mobile { display: none !important; }
.scrim { display: none; }
body.locked { overflow: hidden; }
#products { scroll-margin-top: 84px; }

/* ---------- keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 2.5deg)); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -24px) scale(1.12); } 66% { transform: translate(-24px, 22px) scale(.94); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 50% { opacity: .95; transform: scale(1) rotate(45deg); } }
@keyframes shimmer { to { background-position: -200% center; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .75; } 100% { transform: translateY(-34px); opacity: 0; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes nudge { 0%, 100% { transform: none; } 35% { transform: scale(1.09) rotate(-4deg); } 70% { transform: scale(.97); } }
@keyframes growx { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(22px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes dialogOut { to { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes sheetIn { from { transform: translateY(60px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes drawerIn { from { transform: translateX(48px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drawerOut { to { transform: translateX(48px); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 18px) scale(.94); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes sheen { from { transform: translateX(-130%) skewX(-18deg); } to { transform: translateX(230%) skewX(-18deg); } }

/* ---------- notice + header ---------- */
.notice { background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000)); color: var(--accent-ink); text-align: center; font-size: 13px; padding: 7px 16px; }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); border-bottom: 1px solid var(--line); transition: box-shadow .3s; animation: slideDown .6s var(--ease) backwards; }
.top.scrolled { box-shadow: 0 8px 28px rgba(34, 29, 26, .10); }
.top-inner { max-width: 1280px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; transition: padding .25s var(--ease); }
.top.scrolled .top-inner { padding-block: 8px; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); transform: scaleX(0); transform-origin: left; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--accent); flex: none; }
.logo svg { transition: transform .5s var(--spring); }
.logo:hover svg { transform: rotate(-12deg) scale(1.1); }
.logo-word { font: 700 24px/1 var(--serif); letter-spacing: .01em; }
.pill { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.search { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; height: 44px; max-width: 560px; margin: 0 auto; color: var(--muted); transition: border-color .2s, box-shadow .3s, max-width .4s var(--ease); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); color: var(--accent); max-width: 620px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; color: var(--ink); height: 100%; }
.search input::placeholder { color: var(--muted); }
.cart-btn { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); position: relative; flex: none; transition: border-color .2s, transform .2s var(--spring), box-shadow .2s; }
.cart-btn:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(34, 29, 26, .10); }
.cart-btn.bump { animation: nudge .6s var(--ease); }
.cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.cart-count.bump { animation: pop .5s var(--spring); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background:
  radial-gradient(1000px 360px at 90% -10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
  var(--bg); }
.orb { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .5; pointer-events: none; animation: drift 20s ease-in-out infinite; }
.o1 { width: 340px; height: 340px; left: -90px; top: -60px; background: color-mix(in srgb, var(--accent) 38%, transparent); }
.o2 { width: 300px; height: 300px; right: 8%; top: 40px; background: color-mix(in srgb, var(--gold) 42%, transparent); animation-duration: 26s; animation-delay: -7s; }
.o3 { width: 260px; height: 260px; left: 38%; bottom: -120px; background: color-mix(in srgb, #e58fb8 40%, transparent); animation-duration: 23s; animation-delay: -12s; }
.hero-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 44px 20px 12px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; }
.hero-text > * { animation: rise .8s var(--ease) backwards; }
.hero-text > :nth-child(1) { animation-delay: .10s; }
.hero-text > :nth-child(2) { animation-delay: .22s; }
.hero-text > :nth-child(3) { animation-delay: .34s; }
.hero-text > :nth-child(4) { animation-delay: .46s; }
.hero-text > :nth-child(5) { animation-delay: .56s; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--gold); margin-bottom: 12px; }
.star-i { width: 12px; height: 12px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: spin 8s linear infinite; }
.hero h1 { font: 700 clamp(26px, 3.6vw, 42px)/1.25 var(--serif); max-width: 15em; text-wrap: balance; }
.grad { background: linear-gradient(100deg, var(--accent) 20%, var(--gold) 45%, #d2749f 60%, var(--accent) 85%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: shimmer 7s linear infinite; }
.lead { margin-top: 14px; max-width: 54ch; color: var(--muted); font-size: 16px; }
.hero-cta { margin-top: 20px; }
.btn.big { height: 48px; padding: 0 26px; font-size: 15px; text-decoration: none; }
.rate { margin-top: 16px; font-size: 13px; color: var(--muted); }

.stage { position: relative; width: 100%; max-width: 490px; aspect-ratio: 1.14; margin-left: auto; display: grid; place-items: center; animation: fadeIn 1.2s .2s var(--ease) backwards; }
.stage .glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 68%); animation: breathe 6s ease-in-out infinite; }
.stage .ring { position: absolute; border-radius: 50%; aspect-ratio: 1; border: 1px dashed color-mix(in srgb, var(--gold) 55%, transparent); }
.stage .r1 { width: 66%; animation: spin 46s linear infinite; }
.stage .r2 { width: 90%; border-style: solid; opacity: .35; animation: spin 80s linear infinite reverse; }
.fb { position: absolute; width: var(--w); filter: drop-shadow(0 20px 18px rgba(34, 29, 26, .20)); animation: float var(--dur, 7s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
.fb svg { width: 100%; height: auto; display: block; overflow: visible; }
.fb-b { --w: 46%; left: 27%; top: -2%; --r: 2deg; --dur: 8s; --delay: -2s; z-index: 2; }
.fb-a { --w: 33%; left: 3%; bottom: 8%; --r: -8deg; --dur: 7s; }
.fb-c { --w: 32%; right: 2%; bottom: 13%; --r: 8deg; --dur: 6.5s; --delay: -4s; }

.sp { position: absolute; width: var(--sz, 12px); aspect-ratio: 1; background: var(--star, hsl(var(--h, 330) 75% 62%)); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; pointer-events: none; }
.st { --star: var(--gold); animation: twinkle 3.2s ease-in-out infinite; }
.st1 { left: 12%; top: 18%; --sz: 16px; }
.st2 { right: 14%; top: 10%; --sz: 11px; animation-delay: -1.2s; }
.st3 { right: 6%; bottom: 36%; --sz: 14px; animation-delay: -2s; }
.st4 { left: 4%; bottom: 40%; --sz: 9px; animation-delay: -.6s; }
.st5 { left: 48%; bottom: 2%; --sz: 12px; animation-delay: -2.6s; }

.stats { position: relative; max-width: 1280px; margin: 0 auto; padding: 14px 20px 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; animation: rise .8s var(--ease) backwards; transition: transform .3s var(--spring), box-shadow .3s; }
.stat:nth-child(1) { animation-delay: .5s; } .stat:nth-child(2) { animation-delay: .62s; } .stat:nth-child(3) { animation-delay: .74s; } .stat:nth-child(4) { animation-delay: .86s; }
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat dt { font-size: 12.5px; color: var(--muted); }
.stat dd { font: 700 30px/1.1 var(--serif); color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- brand ticker ---------- */
.marquee { border-bottom: 1px solid var(--line); background: var(--surface); }
.marquee-view { overflow: hidden; padding: 15px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 150s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-set { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.mq { background: none; border: 0; padding: 2px 0; font: 600 19px/1.3 var(--serif); color: var(--muted); white-space: nowrap; transition: color .2s, transform .3s var(--spring); }
.mq:hover { color: var(--accent); transform: translateY(-2px) scale(1.06); }
.mq-star { width: 9px; height: 9px; flex: none; background: var(--gold); opacity: .7; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }

/* ---------- layout ---------- */
.layout { max-width: 1280px; margin: 0 auto; padding: 30px 20px 56px; display: grid; grid-template-columns: 264px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 84px; max-height: calc(100dvh - 100px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.filters-head { display: flex; align-items: center; gap: 10px; }
.filters-head h2 { font: 600 17px/1.2 var(--serif); flex: 1; }
.link { background: none; border: 0; color: var(--accent); font-size: 13px; text-decoration: underline; padding: 2px; }
.group { border: 0; padding: 0; margin: 0; min-width: 0; }
.group legend { font-weight: 600; font-size: 13px; padding: 0; margin-bottom: 8px; }
.mini-input, .range input { width: 100%; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); padding: 0 12px; outline: 0; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.mini-input:focus, .range input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.checks { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.brand-list { max-height: 232px; overflow: auto; margin-right: -6px; padding-right: 6px; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 6px; border-radius: 8px; cursor: pointer; font-size: 14px; transition: background .15s; }
.check:hover { background: var(--surface-2); }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; flex: none; border: 1.5px solid var(--line-strong); border-radius: 6px; background: var(--bg); display: grid; place-content: center; transition: background .18s, border-color .18s, transform .18s var(--spring); }
.check input::before { content: ""; width: 10px; height: 10px; background: var(--accent-ink); transform: scale(0) rotate(-20deg); transition: transform .22s var(--spring); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::before { transform: scale(1) rotate(0); }
.check input:active { transform: scale(.88); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.count { font-style: normal; font-size: 12px; color: var(--muted); }
.range { display: flex; align-items: center; gap: 8px; }
.range input { -moz-appearance: textfield; }

/* ---------- toolbar ---------- */
.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.count-line { flex: 1; font-weight: 600; min-width: 140px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sort select { height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); padding: 0 10px; color: var(--ink); max-width: 240px; transition: border-color .2s; }
.sort select:hover { border-color: var(--accent); }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; transition: transform .2s var(--spring), box-shadow .25s, background .25s, border-color .2s, color .25s; }
.btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .35) 50%, transparent 62%); transform: translateX(-130%) skewX(-18deg); pointer-events: none; }
.btn.primary:hover::after { animation: sheen .9s var(--ease); }
.btn.ghost { background: transparent; }
.btn.added { background: var(--good); border-color: var(--good); color: var(--good-ink); }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 22px; line-height: 1; display: inline-grid; place-items: center; transition: transform .35s var(--spring), border-color .2s; }
.icon-btn:hover { border-color: var(--accent); transform: rotate(90deg); }
.badge-n { min-width: 20px; height: 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; display: inline-grid; place-items: center; padding: 0 5px; }

/* ---------- grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; animation: rise .65s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 55ms); transition: box-shadow .3s, transform .35s var(--spring), border-color .3s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.card-media { position: relative; display: block; width: 100%; border: 0; padding: 16px 12px 8px; overflow: hidden; background: radial-gradient(circle at 50% 35%, hsl(var(--h) var(--tint-s1) var(--tint-l1)), hsl(var(--h) var(--tint-s2) var(--tint-l2))); }
.card-media svg { width: 100%; height: auto; max-height: 172px; display: block; overflow: visible; transform-origin: 50% 92%; transition: transform .6s var(--spring); position: relative; z-index: 1; }
.card:hover .card-media svg { transform: translateY(-8px) rotate(-3deg) scale(1.06); }
.card-media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .5) 50%, transparent 60%); transform: translateX(-130%) skewX(-18deg); }
.card:hover .card-media::after { animation: sheen 1s var(--ease); }
.card-media .sp { z-index: 3; }
.card-media .s1 { left: 17%; top: 20%; --sz: 13px; }
.card-media .s2 { right: 15%; top: 42%; --sz: 9px; }
.card:hover .card-media .sp { animation: twinkle 1.5s ease-in-out infinite; }
.card:hover .card-media .s2 { animation-delay: .6s; }
.tag-disc { position: absolute; top: 10px; left: 10px; z-index: 4; background: linear-gradient(135deg, var(--badge), color-mix(in srgb, var(--badge) 70%, var(--accent))); color: var(--badge-ink); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.brand { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gold); }
.name { font: 600 16px/1.3 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.name button { all: unset; cursor: pointer; transition: color .2s; }
.name button:hover { color: var(--accent); }
.name button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.meta .per { margin-left: auto; font-size: 12px; }
.chip { font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.price { font: 700 21px/1.1 var(--serif); transition: color .25s; }
.card:hover .price { color: var(--accent); }
.old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.save { position: relative; overflow: hidden; display: inline-block; align-self: flex-start; background: var(--good-soft); color: var(--good); font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.save::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-130%) skewX(-18deg); }
.card:hover .save::after { animation: sheen .9s .15s var(--ease); }
.local { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 12px; }
.local b { color: var(--ink); font-weight: 600; }
.card .btn { margin-top: auto; width: 100%; }
.card-body .btn { margin-top: 8px; }
.more-wrap { display: flex; justify-content: center; margin-top: 30px; }
.empty { text-align: center; padding: 56px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: rise .5s var(--ease); }
.empty p:first-child { font: 600 20px/1.3 var(--serif); }
.empty .btn { margin-top: 12px; }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: rgba(20, 14, 10, .55); backdrop-filter: blur(3px); }
dialog[open]::backdrop { animation: fadeIn .3s ease; }
dialog.closing::backdrop { animation: fadeOut .19s ease both; }
.modal { width: min(940px, calc(100vw - 24px)); max-height: min(92dvh, 860px); border-radius: 22px; box-shadow: 0 30px 90px rgba(0, 0, 0, .38); overflow: auto; margin: auto; }
.modal[open] { animation: dialogIn .45s var(--spring); }
.modal.closing { animation: dialogOut .19s ease-in both; }
.modal .close { position: absolute; top: 12px; right: 12px; z-index: 5; }
.detail { display: grid; grid-template-columns: 1fr 1.15fr; }
.detail-media { position: relative; overflow: hidden; display: grid; place-items: center; padding: 36px 24px; min-height: 420px; background: radial-gradient(circle at 50% 35%, hsl(var(--h) var(--tint-s1) var(--tint-l1)), hsl(var(--h) var(--tint-s2) var(--tint-l2))); }
.detail-media::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed color-mix(in srgb, hsl(var(--h) 60% 50%) 35%, transparent); animation: spin 60s linear infinite; }
.detail-media svg { position: relative; width: min(100%, 300px); height: auto; overflow: visible; filter: drop-shadow(0 22px 20px rgba(34, 29, 26, .22)); animation: float 7s ease-in-out infinite; }
.detail-media .sp { animation: twinkle 3s ease-in-out infinite; z-index: 2; }
.detail-media .d1 { left: 18%; top: 18%; --sz: 18px; }
.detail-media .d2 { right: 16%; top: 30%; --sz: 12px; animation-delay: -1s; }
.detail-media .d3 { left: 24%; bottom: 20%; --sz: 14px; animation-delay: -2s; }
.detail-info { padding: 30px 30px 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.detail-info > * { animation: rise .55s var(--ease) backwards; animation-delay: calc(90ms + var(--n, 0) * 60ms); }
.detail-info h2 { font: 700 28px/1.2 var(--serif); padding-right: 36px; }
.detail-info .conc { color: var(--muted); }
.detail-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.detail-price .price { font-size: 32px; color: var(--accent); }
.detail-price .tag-disc { position: static; }
.buy { display: flex; gap: 10px; margin: 6px 0 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 42px; background: var(--bg); }
.qty button { width: 38px; height: 100%; border: 0; background: none; font-size: 18px; border-radius: 999px; transition: color .2s, transform .15s var(--spring); }
.qty button:hover { color: var(--accent); }
.qty button:active { transform: scale(.8); }
.qty output { min-width: 22px; text-align: center; font-weight: 600; }
.buy .btn { flex: 1; }
.detail-info h3 { font: 600 16px/1.3 var(--serif); margin-top: 12px; }
.cmp { display: flex; flex-direction: column; gap: 8px; }
.cmp li { border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; background: var(--bg); animation: rise .5s var(--ease) backwards; animation-delay: calc(380ms + var(--k, 0) * 110ms); transition: transform .25s var(--spring), box-shadow .25s; }
.cmp li:hover { transform: translateX(3px); box-shadow: 0 6px 16px rgba(34, 29, 26, .08); }
.cmp li.best { border-color: var(--good); background: color-mix(in srgb, var(--good-soft) 55%, var(--bg)); }
.cmp .store { font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cmp .cp { font: 700 17px/1.2 var(--serif); text-align: right; }
.cmp .bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin: 3px 0 2px; }
.cmp .bar span { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 65%, transparent), var(--gold)); transform-origin: left; animation: growx 1s var(--ease) backwards; animation-delay: calc(560ms + var(--k, 0) * 120ms); }
.cmp .bar span.ours { background: linear-gradient(90deg, color-mix(in srgb, var(--good) 60%, transparent), var(--good)); }
.cmp .facts { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 14px; }
.cmp .facts .gain { color: var(--good); font-weight: 600; }
.cmp .links { grid-column: 1 / -1; font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.cmp a { color: var(--accent); }
.t { font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.t.good { background: var(--good-soft); color: var(--good); border-color: transparent; }
.t.warn { background: color-mix(in srgb, var(--gold) 18%, var(--surface)); color: var(--gold); border-color: transparent; }
.notes { font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }

.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(420px, 100vw); box-shadow: -14px 0 46px rgba(0, 0, 0, .28); }
.drawer[open] { display: flex; flex-direction: column; animation: drawerIn .4s var(--ease); }
.drawer.closing { animation: drawerOut .19s ease-in both; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font: 700 20px/1.2 var(--serif); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 18px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.sum { display: flex; justify-content: space-between; font-weight: 700; font-size: 17px; }
.demo-note { font-size: 12px; color: var(--muted); }
.cart-empty { text-align: center; color: var(--muted); padding: 56px 0; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.fresh .line { animation: rise .45s var(--ease) backwards; animation-delay: calc(140ms + var(--k, 0) * 60ms); }
.line-img { border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 50% 35%, hsl(var(--h) var(--tint-s1) var(--tint-l1)), hsl(var(--h) var(--tint-s2) var(--tint-l2))); padding: 4px; }
.line-img svg { width: 100%; height: auto; display: block; }
.line-name { font: 600 14px/1.3 var(--serif); }
.line-sub { font-size: 12px; color: var(--muted); }
.line .qty { height: 32px; margin-top: 6px; }
.line .qty button { width: 30px; }
.line-right { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.line-right b { font: 700 15px/1 var(--serif); }
.line-right .link { font-size: 12px; color: var(--muted); }

/* toast + fly-to-cart live in the top layer (popover) so they show above open dialogs */
.toast { position: fixed; inset: auto auto 24px 50%; margin: 0; border: 0; width: max-content; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 11px 20px; border-radius: 999px; font-size: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; z-index: 200; max-width: calc(100vw - 32px); text-align: center; overflow: visible; }
.toast.show { opacity: 1; animation: toastIn .4s var(--spring); }
.fly { position: fixed; inset: auto; margin: 0; padding: 0; border: 0; background: none; overflow: visible; pointer-events: none; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .25)); }
.fly svg { width: 100%; height: auto; display: block; }

.foot { border-top: 1px solid var(--line); padding: 28px 20px 40px; text-align: center; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; max-width: 900px; margin: 0 auto; }

/* ---------- bottle svg bits ---------- */
.bub { transform-box: fill-box; transform-origin: center; animation: bubble 3.4s ease-in infinite; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 30px; }
  .stage { max-width: 420px; margin: 0 auto; }
  .layout { grid-template-columns: 1fr; padding-top: 18px; }
  .only-mobile { display: inline-flex !important; }
  .scrim { display: block; }
  .filters { position: fixed; z-index: 60; inset: 0 auto 0 0; width: min(340px, 92vw); max-height: none; border-radius: 0 18px 18px 0; transform: translateX(-102%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
  .filters.open { transform: none; visibility: visible; transition-delay: 0s; }
  .scrim { position: fixed; inset: 0; z-index: 55; background: rgba(20, 14, 10, .5); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .scrim.show { opacity: 1; pointer-events: auto; }
  .apply { width: 100%; position: sticky; bottom: 0; box-shadow: 0 0 0 12px var(--surface); }
  .detail { grid-template-columns: 1fr; }
  .detail-media { padding: 24px; min-height: 0; }
  .detail-media svg { width: min(58%, 220px); }
  .detail-info { padding: 22px 20px 24px; }
}
@media (max-width: 640px) {
  .top-inner { flex-wrap: wrap; gap: 10px 12px; padding: 10px 16px; }
  .logo { order: 1; }
  .cart-btn { order: 2; margin-left: auto; }
  .cart-label { display: none; }
  .search { order: 3; flex: 1 1 100%; max-width: none; height: 42px; }
  .search:focus-within { max-width: none; }
  .layout, .hero-inner, .stats { padding-left: 16px; padding-right: 16px; }
  .stage { max-width: 340px; }
  .stats { gap: 8px; grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 10px 12px; }
  .stat dd { font-size: 22px; }
  .mq { font-size: 17px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px 10px 12px; }
  .name { font-size: 14px; }
  .price { font-size: 18px; }
  .save { font-size: 11.5px; padding: 2px 8px; }
  .meta { flex-wrap: wrap; gap: 4px 8px; }
  .meta .per { margin-left: 0; }
  .card .btn { height: 38px; padding: 0 10px; font-size: 13px; }
  .toolbar { gap: 10px; }
  .sort { flex: 1; min-width: 0; }
  .sort span { display: none; }
  .sort select { width: 100%; max-width: none; }
  .count-line { flex-basis: 100%; order: 3; }
  .modal { width: 100vw; max-height: 94dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .modal[open] { animation: sheetIn .45s var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .marquee-view { overflow-x: auto; }
}
