:root {
    --ink: #141414;
    --muted: #6b7076;
    --line: #ececec;
    --soft: #f6f7f8;
    --black: #070707;
    --gold: #f3d27a;
    --card: #fff;
    --radius: 18px;
    --shadow: 0 12px 40px rgba(0,0,0,.06);
    color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: #fff; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; z-index: 9; padding: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.promo { background: var(--black); color: #fff; height: 36px; overflow: hidden; font-size: 13px; display: flex; align-items: center; }
.promo-track { display: flex; gap: 56px; white-space: nowrap; animation: ticker 32s linear infinite; }
.promo-track span::before { content: "●"; margin-right: 10px; font-size: 8px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.site-header { background: #000; color: #fff; position: sticky; top: 0; z-index: 40; }
.header-inner { width: min(1280px, calc(100% - 28px)); margin: 0 auto; min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.primary { display: flex; align-items: center; justify-content: center; gap: 4px; grid-column: 2; grid-row: 1; min-width: 0; }
.logo { grid-column: 1; grid-row: 1; justify-self: start; }
.tools { grid-column: 3; grid-row: 1; justify-self: end; }
.nav-account { display: none; align-items: center; gap: 10px; }
.nav-more { display: none; }
.nav-label { margin: 14px 12px 4px; color: #8d8d8d; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.nav-ico { display: block; flex: 0 0 auto; }
.nav-ico circle, .nav-ico path, .account-link circle, .account-link path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.primary > a, .drop > a { color: #fff; text-decoration: none; font-size: 13px; padding: 8px 10px; border-radius: 999px; white-space: nowrap; }
.primary > a.is-on { background: #fff; color: #111; }
.drop { position: relative; }
.drop-sub { display: none; }
.drop-menu { display: none; position: absolute; top: 100%; left: 0; background: #111; min-width: 220px; padding: 8px; border-radius: 14px; box-shadow: var(--shadow); }
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: grid; }
.drop-menu a { color: #fff; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.drop-menu a:hover { background: #222; }
.logo { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; flex: 0 0 auto; }
.logo img { height: 42px; width: auto; }
.logo-word { font-size: 18px; letter-spacing: .02em; }
.logo-word b { font-weight: 700; }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.tool { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 7px 12px; text-decoration: none; font-size: 14px; }
.account-link, .cart-link { position: relative; width: 42px; height: 42px; padding: 0; display: grid; place-items: center; }
.account-link svg, .cart-link svg { display: block; }
.account-link.is-on, .account-link:hover, .cart-link:hover { border-color: #fff; }
.account-link.is-on { background: #fff; color: #111; }
.cart-link path { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-link span { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; margin: 0; border-radius: 99px; background: #fff; color: #111; font-size: 10px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: transparent; color: #fff; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1.5px; background: #fff; border-radius: 1px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.hero { min-height: 520px; margin: 0; background: radial-gradient(circle at 50% 42%, #3a2a1a, #120e0c 46%, #070707 72%); position: relative; overflow: hidden; }
.hero-photo { min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 0; overflow: hidden; background: linear-gradient(180deg, #162b8b 0%, #422eb7 48%, #7061e7 100%); }
.hero-photo::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; right: 0; background: linear-gradient(180deg, #34157f 0%, #ba3ace 48%, #c690f2 100%); }
.hero-photo img { position: relative; z-index: 1; width: auto; max-width: 100%; height: auto; max-height: clamp(400px, 52vh, 520px); object-fit: contain; display: block; border-radius: 0; }
.hero-art { height: 520px; position: relative; max-width: 1180px; margin: 0 auto; }
.pod { position: absolute; width: 120px; height: 280px; border-radius: 28px; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.pod-a { left: 8%; bottom: 36px; background: linear-gradient(#f7a1c4, #c43b78); transform: rotate(-8deg); }
.pod-b { left: 30%; bottom: 56px; height: 320px; background: linear-gradient(#d8f5a2, #79b132); }
.pod-c { left: 52%; bottom: 46px; height: 340px; background: linear-gradient(#2b2b2b, #111); border: 1px solid #444; }
.pod-d { right: 8%; bottom: 30px; background: linear-gradient(#8eb6ff, #315dcc); transform: rotate(7deg); }
.kicker { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--gold); margin: 0 0 10px; text-decoration: none; display: inline-block; }
h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.05; margin: 0 0 12px; font-weight: 650; }
.lede { font-size: 16px; color: #333; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 18px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-light { background: #fff; color: #111; }
.btn-dark { background: #111; color: #fff; }
.btn-line { background: transparent; color: #111; border-color: #111; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-block { width: 100%; }
.section { padding: 54px 0; }
.section-soft { background: var(--soft); }
.section-head { text-align: center; margin-bottom: 22px; }
.section-head h2, .page-head h1 { margin-bottom: 4px; }
.section-head p, .page-head p { color: var(--muted); margin-top: 0; }
.center { text-align: center; }
.home-products { padding: 28px 0 56px; }
.rail, .grid { display: grid; gap: 18px; }
.rail { grid-auto-flow: column; grid-auto-columns: 220px; overflow-x: auto; padding-bottom: 8px; }
.grid { grid-template-columns: repeat(4, 1fr); }
.pcard { background: #fff; border-radius: 16px; padding: 10px 10px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 100%; text-align: center; }
.pcard-media { width: 100%; aspect-ratio: 1; background: var(--soft); border-radius: 12px; display: grid; place-items: center; overflow: hidden; text-decoration: none; }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; }
.ph, .ph-lg { font-size: 42px; font-weight: 700; color: #bbb; }
.ph-lg { aspect-ratio: 1; display: grid; place-items: center; background: var(--soft); border-radius: 16px; font-size: 80px; }
.pcard-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pcard-tags a, .pcard-tags span { font-size: 11px; line-height: 1.2; background: var(--soft); border-radius: 999px; padding: 4px 8px; color: #333; text-decoration: none; }
.pcard-tags a:hover { background: #111; color: #fff; }
.pcard-name { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; min-height: 38px; text-align: center; }
.pcard-name a { color: inherit; text-decoration: none; }
.pcard-name a:hover { text-decoration: underline; }
.pcard-price { font-weight: 700; text-align: center; color: inherit; text-decoration: none; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: #fff; border-radius: var(--radius); padding: 22px; text-decoration: none; box-shadow: var(--shadow); }
.tile h2 { margin: 0 0 8px; font-size: 22px; }
.tile p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; }
.account-panels { grid-template-columns: 1fr 1fr; align-items: stretch; }
.account-panels .stack { display: flex; flex-direction: column; height: 100%; }
.account-panels .stack .btn { margin-top: auto; }
.prose h1, .prose h2 { line-height: 1.15; }
.prose p { color: #333; }
.post-list { display: grid; gap: 12px; }
.post-list a { display: grid; gap: 4px; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.post-list span, .muted { color: var(--muted); }
.text-link { color: #111; }
.page { padding: 28px 0 64px; }
.page-head { margin-bottom: 22px; max-width: 760px; }
.page h1, .page-head h1 { font-size: clamp(28px, 3vw, 40px); }
.narrow { width: min(820px, calc(100% - 32px)); }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.filters, .stack, .summary { display: grid; gap: 12px; }
.filters { align-content: start; }
.filters-actions { display: flex; align-items: center; gap: 12px; }
.filters, .stack label, .form label { display: grid; gap: 6px; font-size: 14px; }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 10px; background: #fff; }
fieldset { border: 1px solid var(--line); border-radius: 12px; margin: 0; padding: 12px 14px; }
legend { padding: 0 6px; font-size: 14px; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.product > *, .split > * { min-width: 0; }
.gallery-main { width: 100%; height: auto; max-height: 640px; object-fit: contain; border-radius: 18px; background: var(--soft); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 4px; cursor: pointer; }
.thumbs img { width: 64px; height: 64px; max-width: none; object-fit: cover; }
.product .kicker { color: #5c5c5c; }
.buy { display: grid; gap: 14px; }
.buy-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.buy-field select { font-weight: 400; min-height: 48px; }
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border: 0; margin: 0; padding: 0; }
.packs legend { padding: 0 0 8px; font-size: 14px; font-weight: 600; }
.pack { position: relative; display: grid; gap: 2px; justify-items: center; border: 1px solid #ddd; border-radius: 12px; padding: 10px 4px; cursor: pointer; text-align: center; }
.pack input { position: absolute; opacity: 0; }
.pack span { font-size: 14px; font-weight: 600; }
.pack strong { font-size: 12px; font-weight: 500; }
.pack:has(input:checked) { border-color: #111; background: #111; color: #fff; }
.pack:has(input:focus-visible) { outline: 2px solid #111; outline-offset: 2px; }
.flavor-fields { display: grid; gap: 10px; }
.flavor-line { display: grid; gap: 10px; padding: 12px; border: 1px solid #eee; border-radius: 12px; background: #fff; }
.flavor-line-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.flavor-line-top .buy-field { flex: 1; }
.flavor-remove { border: 0; background: transparent; color: #666; cursor: pointer; font-size: 13px; padding: 8px 0 0; text-decoration: underline; }
.flavor-status { margin: 0; font-size: 13px; color: var(--muted); }
.flavor-status.is-bad { color: #b42318; }
[data-add-flavor][hidden] { display: none; }
.pack-note { margin: 0; color: var(--muted); font-size: 13px; }
.buy-row { display: flex; gap: 10px; align-items: center; }
.buy-row .btn { flex: 1; min-height: 48px; }
.stepper { display: inline-flex; align-items: center; height: 48px; border: 1px solid #ddd; border-radius: 999px; background: #fff; }
.stepper button { width: 40px; height: 46px; border: 0; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; }
.stepper input { width: 42px; height: 46px; border: 0; padding: 0; text-align: center; font-weight: 600; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-lg { font-size: 28px; font-weight: 750; }
.price-lg s { color: var(--muted); font-size: 16px; font-weight: 500; margin-left: 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.facts li { background: var(--soft); border-radius: 999px; padding: 6px 10px; font-size: 14px; }
.choice { display: flex; align-items: center; gap: 8px; }
.choice input { width: auto; }
.warning, .note { background: #fff8e8; border-radius: 12px; padding: 12px; font-size: 14px; }
.links-row { display: flex; gap: 14px; flex-wrap: wrap; }
.specs { display: grid; grid-template-columns: 180px 1fr; gap: 8px 12px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.table-scroll { overflow-x: auto; }
.lines { width: 100%; border-collapse: collapse; }
.lines th, .lines td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lines button, .qty-form button { border: 1px solid #ddd; background: #fff; border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.qty-form { display: flex; gap: 8px; align-items: center; }
.qty-form input { width: 80px; }
.total { font-size: 20px; font-weight: 700; }
.summary { background: var(--soft); border-radius: 16px; padding: 18px; height: max-content; }
.summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.summary li { display: flex; justify-content: space-between; gap: 12px; }
.empty { background: var(--soft); border-radius: 18px; padding: 28px; }
.empty h2 { font-size: 22px; margin: 0 0 8px; text-wrap: balance; }
.empty .btn { margin-top: 8px; }
.flash { padding: 12px 14px; border-radius: 12px; background: #eefbf1; }
.flash-error { background: #fff1f0; }
.hp { position: absolute; left: -9999px; }
.pager { display: flex; gap: 8px; margin-top: 18px; }
.pager a { text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.pager a.is-on { background: #111; color: #fff; }
.sitemap-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.site-footer { background: #0d0d0d; color: #ddd; padding: 48px 0 88px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h2 { color: #fff; font-size: 16px; }
.site-footer a { color: #ddd; text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-mail { margin: 14px 0; }
.footer-mail a { display: inline-flex; align-items: center; gap: 8px; }
.footer-mail svg { display: block; flex: 0 0 auto; }
.footer-mail rect, .footer-mail path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social, .pay-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-chips span, .social a { border: 1px solid #333; border-radius: 999px; padding: 4px 8px; font-size: 12px; text-decoration: none; }
.footer-base { border-top: 1px solid #222; margin-top: 24px; padding-top: 14px; color: #999; font-size: 13px; text-align: center; }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(18, 140, 71, .35); text-decoration: none; }
.wa svg { width: 34px; height: 34px; display: block; }
.wa:hover { background: #1ebe5d; }
.age-gate { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 50; display: grid; place-items: center; padding: 18px; }
.age-gate[hidden] { display: none; }
.age-card { width: min(440px, 100%); background: #1b1b1b; color: #fff; border-radius: 22px; padding: 28px 24px; text-align: center; }
.age-card p { color: #cfcfcf; }
.age-badge { width: 64px; height: 64px; margin: 0 auto 10px; border: 1px solid #555; border-radius: 50%; display: grid; place-items: center; }
.age-card .btn { margin-top: 8px; }
.age-card .btn-ghost { color: #fff; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
@media (min-width: 981px) {
    .filters { position: sticky; top: 96px; }
}
@media (max-width: 1180px) {
    .primary > a, .drop > a { padding: 8px 8px; }
}
@media (max-width: 980px) {
    .header-inner { grid-template-columns: auto 1fr auto; min-height: 64px; gap: 10px; }
    .nav-toggle { display: inline-flex; grid-column: 1; justify-self: start; }
    .logo { grid-column: 2; justify-self: center; }
    .tools { grid-column: 3; }
    .logo-word { font-size: 16px; }
    .tools .tool:not(.cart-link) { display: none; }
    .primary { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 30; background: #000; padding: 8px 0 28px; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 110px); overflow: auto; }
    .primary.is-open { display: flex; position: fixed; left: 0; right: 0; z-index: 40; max-height: none; }
    .primary.is-open .nav-account { display: flex; }
    .primary > a, .drop > a, .nav-more a { display: flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 0; color: #fff; text-decoration: none; font-size: 16px; font-weight: 500; line-height: 1.2; }
    .primary > a.is-on, .drop > a.is-on, .nav-more a.is-on { background: transparent; color: #fff; font-weight: 500; box-shadow: inset 3px 0 0 #fff; }
    .nav-more { display: block; border-top: 1px solid #262626; margin-top: 8px; padding-top: 8px; }
    .nav-label { margin: 4px 20px 2px; }
    body.nav-lock { overflow: hidden; }
    .drop { display: flex; flex-wrap: wrap; align-items: center; }
    .drop > a { flex: 1; }
    .drop-sub { display: grid; place-items: center; width: 48px; height: 48px; margin: 0; border: 0; border-radius: 0; background: transparent; color: #fff; cursor: pointer; }
    .drop-sub::before { content: ""; width: 8px; height: 8px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translateY(-2px) rotate(45deg); }
    .drop.is-open .drop-sub::before { transform: translateY(2px) rotate(225deg); }
    .drop:hover .drop-menu, .drop:focus-within .drop-menu { display: none; }
    .drop-menu { position: static; display: none; flex-basis: 100%; background: transparent; box-shadow: none; min-width: 0; padding: 0 0 4px; }
    .drop.is-open .drop-menu { display: grid; }
    .drop-menu a { min-height: 44px; padding: 0 20px 0 36px; font-size: 15px; font-weight: 400; color: #c8c8c8; border-radius: 0; }
    .product, .split, .shop-layout, .tiles, .grid, .sitemap-cols { grid-template-columns: 1fr; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .tiles { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
    .filters { grid-template-columns: 1fr 1fr; }
    .filters-actions { grid-column: 1 / -1; }
    .specs { grid-template-columns: minmax(7.2rem, 42%) minmax(0, 1fr); }
    .specs dd { min-width: 0; overflow-wrap: anywhere; }
    .gallery-main { max-height: 420px; }
    .thumbs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
    .buy-row { align-items: stretch; }
    .buy > .btn { margin-right: 72px; }
    .hero:not(.hero-photo), .hero-art { min-height: 380px; height: 380px; }
    .hero-photo { display: block; padding: 0; }
    .hero-photo::before { display: none; }
    .hero-photo img { width: 100%; max-width: 100%; max-height: none; border-radius: 0; }
    .pod { width: 72px; height: 180px; border-radius: 18px; }
    .pod-b { height: 210px; }
    .pod-c { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
    .promo-track { animation: none; }
}
