@view-transition { navigation: auto; }

/* ═══════════ Tokens ═══════════ */
:root {
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --maxw: 1240px;
  --gap: clamp(16px, 2.4vw, 28px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
.theme-nova {
  --bg: #07070f; --solid: #0d0d1a; --glass: rgba(255, 255, 255, .045); --glass-hi: rgba(255, 255, 255, .08);
  --ink: #eceefb; --muted: #9aa0bd; --line: rgba(255, 255, 255, .1);
  --accent: #9a8cff; --accent-2: #38e1f5; --accent-text: #38e1f5; --accent-ink: #07070f; --grad: linear-gradient(120deg, #9a8cff, #38e1f5);
  --warn: #ffc857; --err: #ff7a90; --ok: #5eead4; --radius: 18px; --aurora: 1;
  --display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --track: -0.025em; --case: none;
  --ph1: 22%; --ph2: 11%; --phs: 45%; --glow: 0 0 0 1px rgba(154, 140, 255, .35), 0 12px 50px -12px rgba(154, 140, 255, .55);
  color-scheme: dark;
}
.theme-oblivion {
  --bg: #08080a; --solid: #121215; --glass: rgba(255, 255, 255, .035); --glass-hi: rgba(255, 255, 255, .07);
  --ink: #ecebe7; --muted: #9b9ba2; --line: rgba(255, 255, 255, .11);
  --accent: #f1ece0; --accent-2: #ff3b5c; --accent-text: #ff3b5c; --accent-ink: #08080a; --grad: linear-gradient(120deg, #f1ece0, #c9c3b3);
  --warn: #e0a64a; --err: #ff7a7f; --ok: #7fd49a; --radius: 3px; --aurora: .5;
  --display: ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif; --track: .06em; --case: uppercase;
  --ph1: 19%; --ph2: 9%; --phs: 8%; --glow: 0 0 0 1px rgba(255, 59, 92, .5), 0 12px 50px -14px rgba(255, 59, 92, .55);
  color-scheme: dark;
}
.theme-lily {
  --bg: #f6f3ec; --solid: #fffdf8; --glass: rgba(255, 253, 248, .75); --glass-hi: #fffdf8;
  --ink: #1f2a22; --muted: #667060; --line: #e3ddcf;
  --accent: #36553f; --accent-2: #8aa37a; --accent-text: #36553f; --accent-ink: #fffdf8; --grad: linear-gradient(120deg, #36553f, #4f6e44);
  --warn: #9a5b00; --err: #a1262c; --ok: #2d6a3e; --radius: 16px; --aurora: .22;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; --track: -0.01em; --case: none;
  --ph1: 84%; --ph2: 72%; --phs: 22%; --glow: 0 10px 40px -14px rgba(54, 85, 63, .5);
  color-scheme: light;
}

/* ═══════════ Base ═══════════ */
*, *::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: 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%); }
.theme-lily::before { opacity: .25; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.1; letter-spacing: var(--track); text-transform: var(--case); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
kbd { font: 600 .68rem var(--mono); padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--glass); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gap), var(--maxw)); margin-inline: auto; }
.main { padding-block: clamp(20px, 4vw, 48px) clamp(40px, 6vw, 72px); min-height: 60vh; }
.narrow { max-width: 660px; margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); } .fine { font-size: .82rem; color: var(--muted); } .warn { color: var(--warn); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .row.nowrap { flex-wrap: nowrap; } .row.between { justify-content: space-between; }
.empty { padding: 56px 0; text-align: center; }
.eyebrow { font: 600 .72rem var(--mono); text-transform: uppercase; letter-spacing: .18em; color: var(--accent-text); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.center .eyebrow { justify-content: center; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 var(--accent-2); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ═══════════ Aurora backdrop ═══════════ */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: var(--aurora); }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(110px); opacity: .34; animation: drift 30s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: #6d4aff; top: -26vmax; left: -14vmax; }
.aurora i:nth-child(2) { background: #06b6d4; bottom: -32vmax; right: -18vmax; animation-delay: -10s; }
.aurora i:nth-child(3) { background: #ff4fd8; top: 38vh; left: 42vw; width: 38vmax; height: 38vmax; opacity: .16; animation-delay: -18s; }
.theme-oblivion .aurora i:nth-child(1) { background: #5b0f1f; } .theme-oblivion .aurora i:nth-child(2) { background: #1d1d26; } .theme-oblivion .aurora i:nth-child(3) { background: #ff3b5c; opacity: .08; }
.theme-lily .aurora i:nth-child(1) { background: #d9e4c8; } .theme-lily .aurora i:nth-child(2) { background: #f1dcc2; } .theme-lily .aurora i:nth-child(3) { background: #e8d4e4; }
@keyframes drift { to { transform: translate3d(9vmax, 7vmax, 0) scale(1.18); } }

/* ═══════════ Header ═══════════ */
.announce { background: var(--grad); color: var(--accent-ink); text-align: center; font: 600 .78rem var(--mono); letter-spacing: .06em; padding: 8px 16px; }
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: var(--gap); min-height: 66px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 750 1.2rem var(--display); letter-spacing: var(--track); text-transform: var(--case); text-decoration: none; }
.brand-mark { width: 22px; height: 22px; border-radius: 7px; background: var(--grad); box-shadow: 0 0 22px -2px var(--accent); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 6px; border-radius: 3px; background: var(--bg); }
.nav { display: flex; gap: clamp(12px, 2vw, 26px); flex: 1; flex-wrap: wrap; font-size: .93rem; }
.nav a, .header-actions a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav a:hover, .header-actions a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 16px; align-items: center; font-size: .93rem; }
.search-trigger { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); color: var(--muted); font: inherit; font-size: .88rem; cursor: pointer; transition: border-color .15s, color .15s; }
.search-trigger:hover { border-color: var(--accent); color: var(--ink); }
.icon-link { position: relative; font-size: 1.15rem; line-height: 1; }
.dot, .cart-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--grad); color: var(--accent-ink); font: 700 .68rem var(--font-body); }
.dot { position: absolute; top: -9px; right: -12px; }
.cart-link { display: inline-flex; align-items: center; gap: 6px; }
[hidden] { display: none !important; }

/* ═══════════ Ticker ═══════════ */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--glass); font: 600 .72rem var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li { padding: 9px 22px; white-space: nowrap; display: flex; align-items: center; gap: 44px; }
.ticker li::after { content: "✦"; color: var(--accent-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ Footer ═══════════ */
.site-footer { border-top: 1px solid var(--line); margin-top: 24px; padding-block: 44px 22px; background: var(--glass); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.2fr 1fr 1.4fr; }
.footer-brand { font: 750 1.2rem var(--display); text-transform: var(--case); letter-spacing: var(--track); margin-bottom: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; }
.footer-links a { color: var(--muted); text-decoration: none; } .footer-links a:hover { color: var(--ink); }
.subscribe label { font-weight: 600; display: block; margin-bottom: 8px; }
.copyright { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ═══════════ Buttons & forms ═══════════ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border: 1px solid transparent; background: var(--grad); color: var(--accent-ink); font: 650 .95rem var(--font-body); border-radius: calc(var(--radius) * .7); cursor: pointer; text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s var(--ease), opacity .15s; position: relative; }
.theme-oblivion .btn { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-lg { padding: 15px 32px; font-size: 1rem; } .btn-sm { padding: 6px 13px; font-size: .85rem; }
.btn-ghost { background: var(--glass); color: var(--ink); border-color: var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn.block { display: flex; width: 100%; } .btn.grow { flex: 1; }
button.link, .link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .88rem; }
.icon-btn { background: var(--glass); border: 1px solid var(--line); color: var(--ink); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: .9rem; }
input, select, textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); font: inherit; border-radius: calc(var(--radius) * .6); transition: border-color .15s, box-shadow .15s; }
select option { background: var(--solid); color: var(--ink); }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
label { display: block; font-size: .86rem; font-weight: 600; }
label input, label select, label textarea { margin-top: 6px; font-weight: 400; }
.inline { display: flex; align-items: center; gap: 9px; font-weight: 400; } .inline input { width: auto; margin: 0; accent-color: var(--accent); }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0; display: grid; gap: 14px; background: var(--glass); }
.form legend { padding: 0 8px; font: 650 .8rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent-text); }
.stack { display: grid; gap: 16px; } .two { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.flash { padding: 12px 16px; border-radius: calc(var(--radius) * .7); margin-bottom: 24px; border: 1px solid; font-size: .94rem; }
.flash-ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.flash-err, .form-error { color: var(--err); border-color: color-mix(in srgb, var(--err) 40%, transparent); background: color-mix(in srgb, var(--err) 10%, transparent); }
.form-error { padding: 10px 14px; border: 1px solid; border-radius: calc(var(--radius) * .6); margin: 0; font-size: .9rem; }
.notice { padding: 12px 16px; border: 1px dashed var(--line); border-radius: calc(var(--radius) * .7); color: var(--muted); }
.panel { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 18px 0; backdrop-filter: blur(12px); }

/* ═══════════ Hero ═══════════ */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(24px, 6vw, 72px) 0 clamp(32px, 5vw, 64px); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; margin-bottom: .35em; }
.glitch { background: linear-gradient(100deg, var(--ink) 10%, var(--accent) 50%, var(--accent-2) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-lily .glitch { background: none; color: var(--ink); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 54ch; }
.hero-stats { display: flex; gap: clamp(18px, 4vw, 44px); list-style: none; margin: 36px 0 0; padding: 0; flex-wrap: wrap; }
.hero-stats strong { display: block; font: 700 1.35rem var(--mono); letter-spacing: -.02em; } .hero-stats span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.hero-stage { position: relative; min-height: 560px; perspective: 1200px; }
.orb { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 55%), radial-gradient(circle at 70% 75%, color-mix(in srgb, var(--accent-2) 45%, transparent), transparent 55%); filter: blur(6px); animation: breathe 9s ease-in-out infinite alternate; }
.orb::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed var(--line); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } } @keyframes breathe { to { transform: scale(1.06); } }
.holo { position: absolute; width: min(44%, 220px); background: var(--glass-hi); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; backdrop-filter: blur(14px); text-decoration: none; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); animation: float 7s ease-in-out infinite alternate; }
.holo-1 { top: 0; left: 0; --d: 0s; } .holo-2 { top: 12%; right: 0; --d: -2.3s; } .holo-3 { bottom: 0; left: 18%; --d: -4.6s; }
.holo { animation-delay: var(--d); }
@keyframes float { to { translate: 0 -14px; } }
.holo-img { border-radius: calc(var(--radius) * .6); overflow: hidden; aspect-ratio: 1; } .holo-img .pimg { aspect-ratio: 1; }
.holo-meta { padding: 10px 4px 2px; display: grid; gap: 2px; font-size: .86rem; } .holo-meta strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ═══════════ Bento departments ═══════════ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 14px; margin-bottom: clamp(36px, 6vw, 72px); }
.bento-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); text-decoration: none; transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; backdrop-filter: blur(12px); isolation: isolate; }
.bento-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; transition: opacity .3s; background: radial-gradient(circle at 85% 0%, var(--t, var(--accent)), transparent 60%); }
.bento-tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--glow); } .bento-tile:hover::before { opacity: .95; }
.bento-0 { grid-column: span 3; grid-row: span 2; --t: color-mix(in srgb, var(--accent) 60%, transparent); } .bento-1 { grid-column: span 3; --t: color-mix(in srgb, var(--accent-2) 55%, transparent); }
.bento-2 { grid-column: span 3; --t: #ff4fd855; } .bento-3 { grid-column: span 2; --t: #ffc85744; } .bento-4 { grid-column: span 2; --t: #5eead444; }
.bento-tile h3 { font-size: 1.25rem; margin: 0 0 4px; } .bento-tile p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 30ch; }
.bento-n { position: absolute; top: 18px; left: 22px; font: 600 .72rem var(--mono); color: var(--muted); letter-spacing: .14em; }
.bento-go { position: absolute; top: 14px; right: 20px; font-size: 1.4rem; transition: transform .25s var(--ease); } .bento-tile:hover .bento-go { transform: translateX(6px); }

/* ═══════════ Sections & cards ═══════════ */
.block { margin-bottom: clamp(36px, 6vw, 72px); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; } .block-head h2 { margin: 0; }
.more { color: var(--muted); text-decoration: none; font-size: .9rem; } .more:hover { color: var(--ink); }
.page-head { margin-bottom: 28px; }
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { position: relative; border-radius: var(--radius); transition: transform .25s var(--ease); transform-style: preserve-3d; }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
.card-media { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); aspect-ratio: 4 / 5; transition: border-color .2s, box-shadow .3s; }
.card:hover .card-media { border-color: var(--accent); box-shadow: var(--glow); } .card:hover .pimg { transform: scale(1.05); }
.card-body { padding: 14px 4px 4px; } .card-body h3 { margin: 0 0 4px; font: 600 1rem var(--font-body); letter-spacing: 0; text-transform: none; } .card-body h3 a { text-decoration: none; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .93rem; }
.pimg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ph { display: grid; place-items: center; aspect-ratio: 4 / 5; background: linear-gradient(150deg, hsl(var(--h) var(--phs) var(--ph1)), hsl(calc(var(--h) + 38) var(--phs) var(--ph2))); }
.ph span { font: 700 4.5rem var(--display); opacity: .28; }
.hue0 { --h: 258; } .hue1 { --h: 190; } .hue2 { --h: 320; } .hue3 { --h: 215; } .hue4 { --h: 160; } .hue5 { --h: 280; } .hue6 { --h: 350; } .hue7 { --h: 40; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { padding: 4px 10px; font: 700 .66rem var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--bg); border-radius: 999px; }
.badge-sale { background: var(--grad); color: var(--accent-ink); } .badge-low { background: var(--warn); color: #1a1200; } .badge-out { background: var(--err); color: #1a0509; }
.wish { position: absolute; top: 10px; right: 10px; z-index: 2; }
.heart { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(8px); color: var(--ink); cursor: pointer; font-size: 1.1rem; transition: transform .2s var(--ease), color .2s; }
.heart:hover { transform: scale(1.12); } .heart.on { color: #ff4f7a; }
.btn.heart { width: auto; height: auto; border-radius: calc(var(--radius) * .7); background: var(--glass); }
.price .was { color: var(--muted); font-weight: 400; margin-right: 4px; }
.stars { color: #ffc857; letter-spacing: 1px; white-space: nowrap; } .stars .off { color: var(--line); }

/* ═══════════ Trust, quotes ═══════════ */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: clamp(36px, 6vw, 72px); }
.trust > div { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); display: grid; gap: 4px; align-content: start; backdrop-filter: blur(10px); }
.trust strong { font: 650 .8rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--accent-text); } .trust span { color: var(--muted); font-size: .9rem; }
.quotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.quote { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); display: grid; gap: 10px; align-content: start; }
.quote blockquote { margin: 0; color: var(--ink); } .quote figcaption { color: var(--muted); font-size: .84rem; }

/* ═══════════ Filters ═══════════ */
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; padding: 14px 16px; margin-bottom: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(12px); }
.filters .f { min-width: 130px; font-size: .74rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.filters .f select, .filters .f input { text-transform: none; letter-spacing: 0; font-family: var(--font-body); padding: 8px 12px; color: var(--ink); }
.filters .pair { display: flex; gap: 6px; margin-top: 6px; } .filters .pair input { margin: 0; width: 84px; }
.filters .f-check { display: flex; align-items: center; gap: 8px; padding-bottom: 9px; min-width: 0; } .filters .f-check input { width: auto; margin: 0; accent-color: var(--accent); }
.count-note { margin-left: auto; font: 600 .78rem var(--mono); color: var(--muted); padding-bottom: 9px; }

/* ═══════════ Product ═══════════ */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 22px; } .crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.product { display: grid; gap: clamp(24px, 5vw, 72px); grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: start; margin-bottom: clamp(36px, 6vw, 72px); }
.gallery { position: sticky; top: 92px; }
.product-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--glass); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb-btn { width: 68px; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--glass); cursor: pointer; opacity: .7; transition: opacity .15s, border-color .15s; } .thumb-btn.on, .thumb-btn:hover { opacity: 1; border-color: var(--accent); }
.thumb-btn img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.product-info h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.product-price { font: 650 1.5rem var(--mono); letter-spacing: -.02em; margin-bottom: 20px; }
.prose p { max-width: 62ch; color: color-mix(in srgb, var(--ink) 88%, transparent); } .prose ul { padding-left: 1.2em; } .prose h2 { margin-top: 1.4em; }
.buy { display: grid; gap: 14px; margin: 26px 0 14px; max-width: 440px; }
.buy-bar { display: flex; gap: 10px; }
.perks { list-style: none; padding: 18px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--muted); font-size: .92rem; } .perks span { display: inline-block; width: 1.6em; }
.soldout { max-width: 440px; margin: 20px 0; }
.wish-inline { margin-top: 4px; }

/* ═══════════ Cart & checkout ═══════════ */
.cart-layout { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.thumb { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); display: block; } .thumb .ph span { font-size: 1.6rem; }
.cl-title { font-weight: 600; text-decoration: none; } .cl-info p { margin: 2px 0; }
.cl-qty { display: grid; gap: 6px; justify-items: end; } .cl-qty select { width: 76px; padding: 8px; margin: 0; }
.cl-total { font: 600 1rem var(--mono); margin: 0; min-width: 76px; text-align: right; }
.summary { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 92px; backdrop-filter: blur(12px); }
.totals { margin: 16px 0; display: grid; gap: 8px; } .totals div { display: flex; justify-content: space-between; } .totals dt { color: var(--muted); } .totals dd { margin: 0; font-family: var(--mono); }
.totals .disc dd { color: var(--ok); } .totals .grand { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-weight: 700; font-size: 1.1rem; } .totals .grand dt { color: var(--ink); }
.mini { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; font-size: .92rem; } .mini li { display: flex; justify-content: space-between; gap: 12px; }
.pill { font-size: .75rem; padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; }
address { font-style: normal; line-height: 1.5; margin-bottom: 1em; }
.shipbar { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); margin-bottom: 18px; } .shipbar p { margin: 0 0 8px; font-size: .9rem; }
progress { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border: 0; border-radius: 999px; overflow: hidden; background: var(--line); display: block; }
progress::-webkit-progress-bar { background: var(--line); } progress::-webkit-progress-value { background: var(--grad); border-radius: 999px; transition: width .4s var(--ease); } progress::-moz-progress-bar { background: var(--grad); border-radius: 999px; }
.cross { margin-top: 28px; } .cross h3 { font: 650 .75rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent-text); }
.cross-row { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.cross-item { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: var(--glass); font-size: .88rem; transition: border-color .15s; } .cross-item:hover { border-color: var(--accent); }
.cross-img { width: 54px; flex: none; border-radius: 10px; overflow: hidden; } .cross-img .ph span { font-size: 1.2rem; }

/* ═══════════ Drawer & palette (native <dialog>) ═══════════ */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(3, 3, 10, .62); backdrop-filter: blur(6px); }
.drawer { margin: 0 0 0 auto; inset: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100vw); padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--solid); }
.drawer[open] { animation: slidein .32s var(--ease); } @keyframes slidein { from { translate: 100% 0; } }
.drawer-body { display: flex; flex-direction: column; height: 100%; padding: 20px; overflow-y: auto; gap: 14px; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; } .drawer-head h2 { margin: 0; }
.drawer-lines { list-style: none; margin: 0; padding: 0; flex: 1; } .dl { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.dl-info p { margin: 2px 0; } .dl-qty { display: flex; gap: 10px; align-items: center; margin-top: 6px; } .dl-qty select { width: 64px; padding: 5px 8px; margin: 0; }
.dl-price { font: 600 .95rem var(--mono); margin: 0; }
.drawer-foot { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--solid); }
.drawer-empty { display: grid; gap: 14px; justify-items: start; padding: 24px 0; }
.palette { margin: 11vh auto auto; width: min(660px, calc(100vw - 24px)); padding: 0; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--solid) 92%, transparent); backdrop-filter: blur(22px); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7), var(--glow); overflow: hidden; }
.palette[open] { animation: pop .22s var(--ease); } @keyframes pop { from { opacity: 0; scale: .96; translate: 0 -10px; } }
.palette-form { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--muted); } .palette-form input { border: 0; background: transparent; padding: 4px 0; margin: 0; font-size: 1.1rem; box-shadow: none !important; color: var(--ink); }
.palette-results { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow-y: auto; } .palette-results:empty { display: none; }
.palette-results a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; text-decoration: none; } .palette-results a:hover, .palette-results a:focus-visible, .palette-results a.on { background: var(--glass-hi); outline: none; }
.palette-results img, .palette-results .pr-ph { width: 44px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; background: var(--glass-hi); } .pr-meta { display: grid; flex: 1; min-width: 0; } .pr-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pr-price { font-family: var(--mono); font-size: .9rem; }
.palette-links { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); } .palette-links a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; text-decoration: none; color: var(--muted); } .palette-links a:hover { color: var(--ink); border-color: var(--accent); }
.pr-empty { padding: 18px; color: var(--muted); text-align: center; }

/* ═══════════ Account, reviews, misc ═══════════ */
.account-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
.orders, .posts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.orders li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tag { font: 600 .68rem var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tag-paid, .tag-done, .tag-shipped { color: var(--ok); } .tag-review, .tag-pending, .tag-ordered { color: var(--warn); } .tag-expired, .tag-cancelled { color: var(--err); }
.rate { display: flex; flex-direction: row-reverse; justify-content: flex-end; border: 0 !important; padding: 0 !important; background: none !important; gap: 2px; }
.rate legend { float: left; width: 100%; } .rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { font-size: 2rem; line-height: 1; color: var(--line); cursor: pointer; transition: color .1s, transform .1s; margin: 0; } .rate label:hover { transform: scale(1.15); }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: #ffc857; } .rate input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }

/* ═══════════ Motion: scroll-driven reveal (pure CSS, graceful fallback) ═══════════ */
@keyframes rise { from { opacity: 0; translate: 0 28px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear backwards; animation-timeline: view(); animation-range: entry 0% entry 55%; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; } .hero-stage { min-height: 360px; }
  .bento { grid-template-columns: repeat(2, 1fr); } .bento-tile { grid-column: auto !important; grid-row: auto !important; min-height: 150px; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .product, .cart-layout, .account-grid, .footer-grid { grid-template-columns: 1fr; }
  .summary, .gallery { position: static; }
  .cart-line { grid-template-columns: 72px 1fr; } .cl-qty, .cl-total { grid-column: 2; justify-items: start; text-align: left; }
  .two { grid-template-columns: 1fr; } .nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; padding-bottom: 4px; }
  .st-label, .search-trigger kbd { display: none; } .search-trigger { padding: 9px; }
  .buy-bar { position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 35%); z-index: 5; }
  .hero-stage { min-height: 540px; } .holo { width: 46%; } .trust { grid-template-columns: 1fr; }
}
@media (hover: none) { .tilt { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .tilt { transform: none; }
}

/* ═══════════ Brand logo, nav, chips ═══════════ */
.brand-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 7px; }
.nav-vip { color: var(--accent-text) !important; font-weight: 650; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); text-decoration: none; font-size: .88rem; }
.chip:hover { border-color: var(--accent); box-shadow: var(--glow); }

/* ═══════════ Coming soon / VIP ═══════════ */
.coming { padding: clamp(40px, 9vw, 110px) 0; }
.perks-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.perks-list li { padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(12px); }
.perks-list li::before { content: "✦"; color: var(--accent-2); margin-right: 10px; }

/* ═══════════ Campaign block ═══════════ */
.campaign { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; margin-bottom: clamp(36px, 6vw, 72px); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.4); overflow: hidden; background: var(--glass); backdrop-filter: blur(14px); box-shadow: var(--glow); }
.campaign-img { width: 100%; height: 100%; min-height: 280px; max-height: 440px; object-fit: cover; display: block; }
.campaign-copy { padding: clamp(24px, 4vw, 52px); align-self: center; }
.campaign:not(:has(.campaign-img)) { grid-template-columns: 1fr; text-align: center; } .campaign:not(:has(.campaign-img)) .lede { margin-inline: auto; }

/* ═══════════ Social proof ═══════════ */
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.social { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.social img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.social figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; font-size: .82rem; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); color: #fff; }

/* ═══════════ Holiday palettes (override theme accents) ═══════════ */
.holiday-winter { --accent: #8fd3ff; --accent-2: #e6f4ff; --grad: linear-gradient(120deg, #8fd3ff, #e6f4ff); }
.holiday-valentines { --accent: #ff6b9a; --accent-2: #ffb3c8; --grad: linear-gradient(120deg, #ff6b9a, #ffb3c8); }
.holiday-spring { --accent: #7be0a0; --accent-2: #f6e27a; --grad: linear-gradient(120deg, #7be0a0, #f6e27a); }
.holiday-summer { --accent: #ffb347; --accent-2: #ff6b6b; --grad: linear-gradient(120deg, #ffb347, #ff6b6b); }
.holiday-halloween { --accent: #ff8a1f; --accent-2: #a35bff; --grad: linear-gradient(120deg, #ff8a1f, #a35bff); }
.holiday-blackfriday { --accent: #ffd23f; --accent-2: #ff3b3b; --grad: linear-gradient(120deg, #ffd23f, #ff3b3b); }
@media (max-width: 860px) { .campaign { grid-template-columns: 1fr; } }
.inline-form { display: inline; margin-left: 8px; } .inline-form .link { font-size: .85rem; }

.theme-lily .badge-low, .theme-lily .badge-out { color: #fff; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.swatches { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.swatches legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.swatch-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-grid.scroll { max-height: 300px; overflow-y: auto; padding: 4px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sw-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; padding: 6px; border: 2px solid var(--line); border-radius: 12px; background: var(--glass); text-align: center; font-size: .78rem; line-height: 1.25; }
.sw-tile img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.swatch input:checked + .sw-tile { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.swatch input:focus-visible + .sw-tile { outline: 2px solid var(--accent); outline-offset: 3px; }
.swatch.out { opacity: .4; cursor: not-allowed; } .swatch.out input { cursor: not-allowed; }
.swatch.out .sw-name { text-decoration: line-through; }

.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip.on .muted { color: inherit; opacity: .8; }
.tagbar { margin-top: 10px; }
