/* ELIX VAPE — основні стилі. Кольори змінюються в :root */
:root {
  --bg: #f4f3fa;
  --surface: #ffffff;
  --surface-2: #f1effa;
  --input: #f2f3f8;
  --text: #111018;
  --muted: #8a879a;
  --line: #e8e6f0;
  --accent: #7c3aed;
  --accent-2: #c026d3;
  --accent-ink: #ffffff;
  --accent-soft: #efe7ff;
  --pink: #f0508f;
  --star: #f5b301;
  --danger: #e11d48;
  --ok: #16a34a;
  --grad: linear-gradient(135deg, #6d28d9 0%, #9333ea 55%, #c026d3 100%);
  --night: linear-gradient(160deg, #1a0b2e 0%, #2d0f52 55%, #120720 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 8px 30px rgba(40, 20, 80, .08);
  --nav-h: 76px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Unbounded', var(--font);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0f0b17; --surface: #1a1524; --surface-2: #241d33; --input: #221c2e; --text: #f3f0fa; --muted: #9a94ab;
  --line: #2c2540; --accent-soft: #2c1f47; --shadow: 0 8px 30px rgba(0,0,0,.35); color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.45 var(--font);
  padding-bottom: calc(var(--nav-h) + 40px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.i { width: 24px; height: 24px; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 16px; }
.noscript { padding: 24px; text-align: center; }

/* ---------- Шапка ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.hd-row1 { display: flex; align-items: center; gap: 12px; padding: 12px 16px; max-width: 1360px; margin: 0 auto; }
.desk { display: none !important; }
.list-layout { display: block; }
.logo { display: flex; align-items: center; gap: 8px; flex: none; }
.logo img { border-radius: 10px; }
.logo-text { font: 800 22px/1 var(--font-display); letter-spacing: -.02em; display: flex; flex-direction: column; }
.logo-text small { font: 700 9px/1.2 var(--font); letter-spacing: .5em; color: var(--accent); margin-top: 2px; }
.search { flex: 1; display: flex; align-items: center; background: var(--input); border-radius: 16px; padding: 5px 5px 5px 16px; min-width: 0; }
.search input { flex: 1; border: 0; background: transparent; outline: none; font-size: 16px; min-width: 0; padding: 8px 0; }
.search input::placeholder { color: var(--muted); }
.search-btn { width: 42px; height: 42px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; }
.burger { width: 52px; height: 52px; border-radius: 16px; background: var(--input); display: grid; place-items: center; flex: none; }

/* ---------- Головна ---------- */
.banners { position: relative; margin: 20px 0 0; }
.banner-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 8px; scrollbar-width: none; }
.banner-track::-webkit-scrollbar { display: none; }
.banner {
  flex: 0 0 min(72%, 300px); aspect-ratio: 3 / 5; border-radius: var(--radius); scroll-snap-align: start; position: relative; overflow: hidden;
  background: var(--night); color: #fff; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate;
}
.banner::before { content: ''; position: absolute; inset: -30%; background: radial-gradient(circle at 30% 30%, rgba(236, 72, 153, .55), transparent 45%), radial-gradient(circle at 75% 70%, rgba(124, 58, 237, .7), transparent 50%); z-index: -1; filter: blur(10px); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.banner h3 { margin: 0; font: 800 26px/1.05 var(--font-display); text-transform: uppercase; font-style: italic; text-shadow: 0 0 18px rgba(236, 72, 153, .8); }
.banner p { margin: 6px 0 0; opacity: .85; font-weight: 600; }
.banner .b-art { align-self: center; width: 46%; opacity: .95; filter: drop-shadow(0 0 24px rgba(236, 72, 153, .7)); }
.banner .b-badge { align-self: center; font: 800 34px/1 var(--font-display); font-style: italic; border: 3px solid #fff; border-radius: 999px; padding: 10px 20px; box-shadow: 0 0 22px #ec4899, inset 0 0 14px #ec4899; }
.banner .b-cta { align-self: center; background: #fff; color: #6b21a8; font-size: 11px; font-weight: 800; text-transform: uppercase; border-radius: 999px; padding: 3px 12px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2; }
.slider-btn.prev { left: 22px; } .slider-btn.next { right: 6px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.tile { background: var(--surface); border-radius: var(--radius); padding: 14px 8px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; min-height: 130px; font-weight: 500; font-size: 15px; line-height: 1.2; }
.tile .t-art { width: 64px; height: 64px; display: grid; place-items: center; }
.tile .t-art .i { width: 52px; height: 52px; color: var(--accent); stroke-width: 1.3; }
.tile .emoji { font-size: 46px; line-height: 1; }
.catalog-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--grad); color: #fff; font-weight: 600; font-size: 20px; border-radius: var(--radius); padding: 18px; box-shadow: 0 10px 24px rgba(124, 58, 237, .3); }
.catalog-btn .i { width: 28px; height: 28px; }
.section-title { font: 700 24px/1.15 var(--font); margin: 28px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-title a { font-size: 15px; color: var(--accent); font-weight: 700; }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 28px 0; }
.perk { background: var(--surface); border-radius: var(--radius); padding: 16px; display: flex; gap: 14px; align-items: center; }
.perk .i { color: var(--accent); width: 30px; height: 30px; }
.perk b { display: block; } .perk span { color: var(--muted); font-size: 14px; }

/* ---------- Сторінки зі списком ---------- */
.crumbs { color: var(--muted); font-size: 18px; margin: 20px 0 4px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:last-child, .crumbs span:last-child { color: var(--text); }
.page-title { font: 600 30px/1.15 var(--font); margin: 4px 0 18px; word-break: break-word; }
.toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.toolbar button, .toolbar select { background: var(--surface); border: 0; border-radius: var(--radius-sm); padding: 16px 8px; font-weight: 500; font-size: 16px; text-align: center; appearance: none; width: 100%; }
.toolbar select { text-align-last: center; }
.count-note { color: var(--muted); margin: -8px 0 14px; font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.scroller { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 6px; }
.scroller::-webkit-scrollbar { display: none; }
.scroller .card { flex: 0 0 min(46%, 240px); scroll-snap-align: start; }

.card { background: var(--surface); border-radius: var(--radius); padding: 12px 12px 14px; display: flex; flex-direction: column; position: relative; min-width: 0; }
.card .media { position: relative; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 8px; }
.card .media img, .card .media svg.ph { width: 100%; height: 100%; object-fit: contain; }
.card .fav { position: absolute; top: 0; right: 0; width: 40px; height: 40px; display: grid; place-items: center; color: var(--pink); z-index: 1; }
.card .fav.on .i { fill: var(--pink); }
.card .tags { position: absolute; top: 4px; left: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tag { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); text-transform: uppercase; }
.tag.sale { background: #ffe4ec; color: var(--danger); }
.flavors { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); background: var(--surface); box-shadow: var(--shadow); border-radius: 999px; padding: 4px 12px 4px 6px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.flavors .dots { display: flex; } .flavors .dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -5px; }
.flavors .dots i:first-child { margin-left: 0; }
.card h3 { font-size: 16px; font-weight: 500; line-height: 1.25; margin: 14px 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.75em; }
.rating { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.rating .i { width: 18px; height: 18px; color: var(--star); fill: var(--star); }
.rating b { color: var(--text); }
.card .buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; }
.price { font: 700 26px/1 var(--font); white-space: nowrap; }
.price small { font-size: .75em; }
.old { color: var(--muted); text-decoration: line-through; font-size: 14px; font-weight: 600; display: block; margin-bottom: 2px; }
.cashback { color: var(--muted); font-size: 14px; margin-top: 6px; }
.to-cart { width: 50px; height: 50px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; transition: transform .15s; }
.to-cart:active { transform: scale(.94); }
.to-cart.in { background: var(--ok); }
.to-cart:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.out { color: var(--muted); font-size: 13px; font-weight: 700; }
.pager { display: flex; justify-content: center; gap: 8px; margin: 22px 0; flex-wrap: wrap; }
.pager button { min-width: 44px; height: 44px; border-radius: 12px; background: var(--surface); font-weight: 700; }
.pager button.on { background: var(--accent); color: #fff; }
.empty { text-align: center; padding: 50px 16px; color: var(--muted); }
.empty .i { width: 56px; height: 56px; color: var(--accent); margin: 0 auto 12px; }
.empty h2 { color: var(--text); margin: 0 0 6px; }

/* ---------- Сторінка товару ---------- */
.product { display: grid; gap: 16px; margin-top: 12px; }
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; align-items: start; } }
.p-media { background: var(--surface); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: 24px; position: relative; }
.p-media .fav { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--pink); z-index: 1; }
.p-media .fav.on .i { fill: var(--pink); }
.p-media img, .p-media svg.ph { width: 100%; height: 100%; object-fit: contain; }
.p-info { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.p-info h1 { font-size: 24px; line-height: 1.2; margin: 0 0 10px; }
.p-price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 4px; }
.p-price .price { font-size: 34px; }
.stock { font-weight: 700; font-size: 14px; color: var(--ok); }
.stock.no { color: var(--danger); }
.flavor-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.flavor-list a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--input); font-size: 14px; font-weight: 600; border: 2px solid transparent; }
.flavor-list a i { width: 14px; height: 14px; border-radius: 50%; }
.flavor-list a.on { border-color: var(--accent); background: var(--accent-soft); }
.flavor-list a.oos { opacity: .45; }
.qty { display: flex; align-items: center; background: var(--input); border-radius: 14px; }
.qty button { width: 44px; height: 50px; display: grid; place-items: center; }
.qty span { min-width: 28px; text-align: center; font-weight: 800; }
.p-actions { display: flex; gap: 10px; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 16px; padding: 15px 22px; font-weight: 600; font-size: 17px; background: var(--accent); color: #fff; }
.btn.block { width: 100%; }
.btn.ghost { background: var(--input); color: var(--text); }
.btn.grad { background: var(--grad); }
.btn:disabled { background: #c9c7d2; color: #fff; cursor: not-allowed; }
.btn .i { width: 22px; height: 22px; }
.p-desc { white-space: pre-line; color: var(--text); margin-top: 18px; line-height: 1.6; }
.review { border-top: 1px solid var(--line); padding: 14px 0; }
.review b { margin-right: 8px; } .review time { color: var(--muted); font-size: 13px; }
.review p { margin: 6px 0 0; }
.stars-input { display: flex; gap: 4px; margin: 8px 0; }
.stars-input button .i { width: 30px; height: 30px; color: var(--star); }
.stars-input button.on .i { fill: var(--star); }

/* ---------- Кошик/оформлення ---------- */
.panel { background: var(--surface); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.panel h2 { margin: 0 0 14px; font-size: 20px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .thumb { width: 72px; height: 72px; background: var(--input); border-radius: 14px; display: grid; place-items: center; padding: 6px; }
.line .thumb svg, .line .thumb img { width: 100%; height: 100%; object-fit: contain; }
.line .name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.line .warn { color: var(--danger); font-size: 13px; }
.line .side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line .qty button { width: 34px; height: 38px; } .line .qty .i { width: 18px; height: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; color: var(--muted); }
.sum-row.total { color: var(--text); font-size: 22px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.input, .field input, .field textarea, .field select { width: 100%; background: var(--input); border: 2px solid transparent; border-radius: 16px; padding: 16px 18px; font-size: 16px; outline: none; }
.input:focus, .field input:focus, .field textarea:focus { border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin-top: 1px; }
.row2 { display: flex; gap: 8px; } .row2 > :first-child { flex: 1; }
.err { color: var(--danger); font-size: 14px; min-height: 1em; margin: 6px 0; }
.success { text-align: center; padding: 30px 10px; }
.success .i { width: 72px; height: 72px; color: var(--ok); margin: 0 auto 12px; }

/* ---------- Нижня навігація ---------- */
.bottom-nav {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-radius: 26px;
  box-shadow: 0 10px 40px rgba(40, 20, 80, .16); height: var(--nav-h); max-width: 640px; margin: 0 auto;
}
.bottom-nav > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); position: relative; }
.bottom-nav .ico { color: var(--text); display: grid; }
.bottom-nav .ico .i { width: 28px; height: 28px; }
.bottom-nav .active, .bottom-nav .active .ico { color: var(--accent); }
.badge { position: absolute; top: 2px; left: 50%; margin-left: 2px; background: #ffb3cf; color: #3b0a1c; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 1px 8px; border: 2px solid var(--surface); line-height: 1.3; }

/* ---------- Плаваючі кнопки ---------- */
.fab-contact { position: fixed; left: 24px; bottom: calc(var(--nav-h) + 36px + env(safe-area-inset-bottom)); width: 64px; height: 64px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; z-index: 35; box-shadow: 0 0 0 10px rgba(240, 80, 143, .18); animation: pulse 2.4s infinite; }
.fab-contact .i { width: 30px; height: 30px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 16px rgba(240, 80, 143, .06); } }
.fab-wheel { position: fixed; right: 30px; bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom)); z-index: 35; }
.wheel-mini { width: 90px; height: 90px; border-radius: 50%; animation: spin 12s linear infinite; background: conic-gradient(#ec4899 0 60deg, #7c3aed 60deg 120deg, #f472b6 120deg 180deg, #1a0b2e 180deg 240deg, #c026d3 240deg 300deg, #a78bfa 300deg 360deg); border: 5px solid #f9a8d4; box-shadow: 0 6px 20px rgba(192, 38, 211, .45), inset 0 0 0 14px rgba(255,255,255,.05); position: relative; }
.wheel-mini::after { content: ''; position: absolute; inset: 34%; border-radius: 50%; background: radial-gradient(#fde68a, #d97706); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wheel-mini, .fab-contact { animation: none; } }
.wheel-close { position: absolute; top: -6px; right: -22px; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); color: var(--muted); display: grid; place-items: center; box-shadow: var(--shadow); }
.wheel-close .i { width: 18px; height: 18px; }

/* ---------- Оверлей, шторки, меню ---------- */
.overlay { position: fixed; inset: 0; background: rgba(15, 10, 25, .45); z-index: 50; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-radius: 28px 28px 0 0;
  padding: 14px 24px calc(28px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto; animation: up .25s ease-out; max-width: 640px; margin: 0 auto;
}
@keyframes up { from { transform: translateY(100%); } }
.sheet .grip { width: 54px; height: 5px; background: var(--line); border-radius: 9px; margin: 0 auto 18px; }
.sheet .close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 14px; background: var(--input); display: grid; place-items: center; }
.sheet h2 { font-size: 28px; margin: 6px 0 22px; }
.sheet .link-btn { display: block; width: 100%; text-align: center; color: var(--muted); font-weight: 700; font-size: 17px; padding: 18px; }
.btn.tg { background: #2aabee; }
.btn.tg:disabled { background: #c9c7d2; }
.menu-panel {
  position: fixed; top: 76px; left: 16px; right: 16px; bottom: calc(var(--nav-h) + 20px + env(safe-area-inset-bottom)); z-index: 45;
  background: var(--surface); border-radius: 26px; box-shadow: var(--shadow); overflow-y: auto; padding: 22px 26px; z-index: 55; max-width: 640px; margin: 0 auto; animation: fade .2s;
}
.menu-panel .mp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.menu-panel h2 { margin: 0; font-size: 24px; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li a { display: flex; align-items: center; gap: 22px; padding: 13px 0; font-size: 18px; }
.menu-panel li a .i { width: 32px; height: 32px; stroke-width: 1.4; }
.menu-panel li a.bold { font-weight: 700; }
.menu-panel .sub { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.menu-panel .sub a { font-size: 16px; color: var(--muted); padding: 10px 0; display: block; }

.age-gate { position: fixed; inset: 0; z-index: 100; background: var(--night); color: #fff; display: grid; place-items: center; padding: 24px; text-align: center; }
.age-gate .box { max-width: 380px; }
.age-gate img { width: 200px; border-radius: 24px; margin: 0 auto 20px; }
.age-gate h2 { font-size: 26px; margin: 0 0 10px; }
.age-gate p { opacity: .8; margin: 0 0 22px; }
.age-gate .btns { display: grid; gap: 10px; }
.age-gate .btn.ghost { background: rgba(255,255,255,.12); color: #fff; }

.wheel-big { width: min(300px, 80vw); aspect-ratio: 1; margin: 6px auto 18px; position: relative; }
.wheel-big svg { width: 100%; height: 100%; transition: transform 4.5s cubic-bezier(.17, .67, .12, 1); }
.wheel-big::after { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); border: 14px solid transparent; border-top: 24px solid var(--text); border-bottom: 0; }
.promo-code { font: 800 24px/1 var(--font-display); letter-spacing: .04em; background: var(--accent-soft); color: var(--accent); padding: 16px; border-radius: 16px; text-align: center; margin: 12px 0; user-select: all; }

.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 30px); transform: translate(-50%, 20px); background: #1a1524; color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; z-index: 200; opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Футер ---------- */
.footer { background: var(--surface); margin-top: 40px; padding: 28px 0 10px; font-size: 15px; }
.footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.footer h4 { margin: 0 0 10px; }
.footer a { display: block; color: var(--muted); padding: 4px 0; }
.footer .legal { color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 14px; }

.info-page { background: var(--surface); border-radius: var(--radius); padding: 22px; line-height: 1.65; }
.info-page h2 { margin-top: 0; }

.account-head { display: flex; align-items: center; gap: 14px; }
.avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font: 800 24px var(--font-display); }
.cb-card { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 20px; margin: 14px 0; }
.cb-card b { font: 800 34px var(--font-display); display: block; }
.order-item { border-top: 1px solid var(--line); padding: 12px 0; font-size: 15px; }
.status { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

@media (min-width: 900px) {
  .banner { flex-basis: 300px; }
  .tiles { grid-template-columns: repeat(6, 1fr); }
}

.review .stars { color: var(--star); margin-right: 8px; letter-spacing: 1px; }

/* ---------- Бічні фільтри ---------- */
.fblock { background: var(--surface); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.fblock h3 { margin: 0 0 14px; font-size: 17px; font-weight: 600; }
.fopt { display: flex; align-items: center; gap: 12px; padding: 6px 0; cursor: pointer; font-size: 15px; }
.fopt input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin: 0; }
.fopt .taste-dot { width: 22px; height: 22px; flex: none; margin-left: -4px; }
.fopt .fname { flex: 1; min-width: 0; }
.fopt .fcount { font-size: 12px; color: var(--muted); background: var(--input); border-radius: 99px; min-width: 24px; padding: 1px 7px; text-align: center; }
.fopt.more { display: none; }
.fsearch { display: flex; align-items: center; gap: 8px; background: var(--input); border-radius: 12px; padding: 0 12px; margin-bottom: 10px; }
.fsearch .i { width: 18px; height: 18px; color: var(--muted); }
.fsearch input { border: 0; background: transparent; outline: none; padding: 11px 0; flex: 1; min-width: 0; font-size: 15px; }
.fmore { color: var(--accent); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.fmore .i { width: 16px; height: 16px; }
.price-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-bottom: 8px; }
.price-row .input { padding: 11px 12px; min-width: 0; width: 100%; }
.price-row .btn { padding: 10px 14px; }
.sheet-filters .fblock { padding: 0; margin-bottom: 20px; }
.hours { color: var(--muted); display: block; padding: 4px 0; }

/* ---------- Десктоп ---------- */
@media (min-width: 1000px) {
  .desk { display: flex !important; }
  .mob { display: none !important; }
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .fab-contact { bottom: 28px; left: 28px; }
  .fab-wheel { bottom: 110px; right: 40px; }
  .toast { bottom: 40px; }
  .topbar { box-shadow: 0 1px 0 var(--line); }
  .hd-row1, .hd-row2 { max-width: 1360px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 28px; }
  .hd-row1 { padding-top: 14px; padding-bottom: 6px; }
  .hd-row2 { padding-bottom: 14px; gap: 32px; }
  .logo { width: 200px; }
  .logo-text { font-size: 28px; }
  .socials { gap: 8px; }
  .socials a { width: 32px; height: 32px; border-radius: 50%; background: var(--input); display: grid; place-items: center; }
  .socials .i { width: 17px; height: 17px; }
  .hd-links { gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
  .hd-links a:hover { color: var(--text); }
  .phone-dd { position: relative; }
  #phoneBtn { display: flex; align-items: center; gap: 10px; font-size: 15px; }
  #phoneBtn b { font-weight: 600; }
  #phoneBtn .i { width: 20px; height: 20px; } #phoneBtn .chev .i { width: 16px; height: 16px; }
  .dd { position: absolute; top: calc(100% + 10px); right: 0; background: var(--surface); box-shadow: 0 12px 40px rgba(40, 20, 80, .15); border-radius: 16px; padding: 10px; min-width: 240px; z-index: 60; display: grid; gap: 2px; }
  .dd a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 500; }
  .dd a:hover { background: var(--input); }
  .dd .i { width: 20px; height: 20px; color: var(--accent); }
  .dd p { margin: 6px 12px 4px; color: var(--muted); font-size: 13px; }
  .theme-sw { border: 1px solid var(--line); border-radius: 99px; padding: 4px; gap: 2px; }
  .theme-sw button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
  .theme-sw button .i { width: 20px; height: 20px; }
  .theme-sw button.on { background: var(--input); color: var(--accent); }
  .cat-btn { width: 200px; display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 600; flex: none; }
  .cat-btn .i { width: 18px; height: 18px; }
  .sale-link { position: relative; font-size: 19px; font-weight: 600; }
  .sale-link .badge { top: -12px; left: auto; right: -30px; margin: 0; }
  .search-desk { flex: 1; background: var(--input); border-radius: 16px; padding: 5px 5px 5px 18px; gap: 12px; box-shadow: inset 0 0 0 1px var(--line); max-width: 680px; }
  .search-desk .s-ico .i { width: 20px; height: 20px; }
  .search-desk .s-go { background: var(--surface); border-radius: 12px; padding: 10px 26px; font-weight: 500; font-size: 15px; }
  .search-desk .s-go:hover { color: var(--accent); }
  .hd-icons { display: flex; gap: 20px; margin-left: auto; }
  .round { position: relative; width: 70px; height: 44px; border-radius: 99px; border: 1px solid var(--line); display: grid; place-items: center; }
  .round .i { width: 22px; height: 22px; }
  .round:hover { border-color: var(--accent); color: var(--accent); }
  .round .badge { top: -10px; left: auto; right: 4px; margin: 0; background: #ff4f8b; color: #fff; }

  .crumbs { font-size: 15px; margin-top: 36px; }
  .title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
  .title-row .page-title { margin: 0; font-size: 28px; }
  .sort-desk { align-items: center; gap: 14px; font-size: 15px; }
  .sort-desk select { background: var(--surface); border: 0; border-radius: 14px; padding: 12px 18px; font-size: 15px; cursor: pointer; }
  .list-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: start; }
  .filters { display: block !important; position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; scrollbar-width: thin; }
  .list-main .count-note { display: none; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .card { padding: 16px 16px 20px; transition: box-shadow .2s; }
  .card:hover { box-shadow: 0 14px 40px rgba(40, 20, 80, .1); }
  .card h3 { font-size: 17px; min-height: 2.6em; -webkit-line-clamp: 2; margin: 16px 0 14px; }
  .menu-panel { top: 120px; bottom: auto; right: auto; left: max(32px, calc(50vw - 680px + 32px)); width: 420px; max-height: calc(100vh - 150px); margin: 0; }
}
@media (min-width: 1000px) and (max-width: 1250px) {
  .hd-links a:nth-child(n+3) { display: none; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hd-icons { gap: 10px; } .round { width: 54px; }
}

/* ---------- Ефекти та анімації ---------- */
.ticker { background: var(--grad); color: #fff; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 500; }
.ticker-track { display: inline-flex; gap: 48px; padding: 8px 0; animation: marquee 40s linear infinite; }
.ticker-track span { flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.card { animation: rise .5s ease-out backwards; transition: transform .25s, box-shadow .25s; }
@keyframes rise { from { opacity: .15; transform: translateY(18px); } }
.card .media { transition: transform .25s ease-out; transform-style: preserve-3d; will-change: transform; }
.card .media svg.ph, .card .media img { transition: transform .4s cubic-bezier(.2, .9, .3, 1.4), filter .3s; }
.card:hover .media svg.ph, .card:hover .media img { transform: translateY(-8px) scale(1.06) rotate(-3deg); filter: drop-shadow(0 18px 18px rgba(124, 58, 237, .25)); }
.card:hover { transform: translateY(-4px); }
.card:hover .to-cart:not(:disabled) { animation: wiggle .5s; }
@keyframes wiggle { 30% { transform: rotate(-12deg) scale(1.08); } 60% { transform: rotate(8deg) scale(1.08); } }
.card .fav:hover .i { animation: heart .6s; }
@keyframes heart { 30% { transform: scale(1.35); } 60% { transform: scale(.9); } }

.p-media svg.ph, .p-media img { animation: floaty 4s ease-in-out infinite; }
.p-media { transition: transform .25s ease-out; }
@keyframes floaty { 50% { transform: translateY(-12px) rotate(1.5deg); } }

.banner .b-art { animation: floaty 3.6s ease-in-out infinite; }
.banner::before { animation: smoke 9s ease-in-out infinite alternate; }
@keyframes smoke { to { transform: translate(8%, -6%) rotate(20deg) scale(1.15); } }
.banner .b-badge { animation: glow 2.2s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 34px #ec4899, inset 0 0 22px #ec4899; } }
.banner { transition: transform .3s; }
.banner:hover { transform: translateY(-6px) scale(1.01); }

.catalog-btn, .btn.grad { background-image: linear-gradient(110deg, #6d28d9, #9333ea, #c026d3, #9333ea, #6d28d9); background-size: 200% 100%; animation: shine 5s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.tile { transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tile:hover .t-art, .tile:hover .emoji { animation: hop .6s; }
@keyframes hop { 40% { transform: translateY(-10px) scale(1.1); } }

.fly-ghost { position: fixed; z-index: 300; pointer-events: none; transition: transform .7s cubic-bezier(.5, -.3, .6, 1), opacity .7s; }
.bump { animation: bump .45s; }
@keyframes bump { 40% { transform: scale(1.25); } }
.confetti { position: fixed; top: -12px; width: 9px; height: 14px; border-radius: 2px; z-index: 400; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translate(var(--dx), 105vh) rotate(720deg); } }

.ship-bar { margin-top: 12px; }
.ship-text { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.ship-track { width: 100%; height: 8px; display: block; }
.ship-track .trk { fill: var(--input); }
.ship-track .fil { fill: var(--accent); }
.free { color: var(--ok); font-weight: 600; }
.sum-row.small { font-size: 13px; }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 14px; }
.choice .opt { position: relative; display: grid; gap: 2px; padding: 14px 16px 14px 46px; border-radius: 16px; background: var(--input); border: 2px solid transparent; cursor: pointer; transition: border-color .2s, background .2s; }
.choice .opt input { position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.choice .opt.on { border-color: var(--accent); background: var(--accent-soft); }
.choice .opt small { color: var(--muted); font-size: 13px; }
.info-page h3 { margin: 22px 0 8px; font-size: 19px; }
.info-page h3:first-child { margin-top: 0; }
.info-page ul { padding-left: 20px; }
.info-page li { margin: 6px 0; }
.info-page a { color: var(--accent); text-decoration: underline; }
@media (min-width: 1000px) {
  .co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
  .co-side { position: sticky; top: 150px; }
  .info-page { max-width: 860px; padding: 32px 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Головна: бокова колонка, акція, підказки ---------- */
.home-grid { display: block; }
.home-main .banners { margin: 16px -16px 0; }
.dont-press { width: 100%; margin: 24px 0 0; padding: 18px; border-radius: var(--radius); background: #f472b6; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: .02em; box-shadow: 0 10px 24px rgba(240, 80, 143, .35); transition: transform .15s; animation: tease 3s ease-in-out infinite; }
.dont-press:hover { transform: scale(1.02) rotate(-1deg); }
.dont-press:active { transform: scale(.96); }
@keyframes tease { 0%, 88%, 100% { transform: none; } 91% { transform: rotate(-2deg); } 94% { transform: rotate(2deg); } 97% { transform: rotate(-1deg); } }
body.shake { animation: shake .5s; }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }

.campaign { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; margin: 16px 0; padding: 20px; border-radius: var(--radius); color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 30%, rgba(236, 72, 153, .45), transparent 40%), linear-gradient(110deg, #0f0a18 0%, #2a0f3d 60%, #4a1240 100%); }
.cp-title h3 { margin: 0; font: 800 30px/.95 var(--font-display); text-transform: uppercase; }
.cp-dates { display: inline-block; margin-top: 8px; background: #fff; color: #111; font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 6px; }
.cp-timer p { margin: 0 0 8px; text-align: center; font-weight: 600; opacity: .85; }
.cd { display: flex; align-items: flex-start; justify-content: center; gap: 6px; }
.cd i { font-style: normal; color: #f472b6; font: 800 30px/56px var(--font); }
.cd-cell { display: grid; justify-items: center; gap: 4px; }
.cd-cell b { min-width: 58px; height: 58px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; font: 800 30px/1 var(--font); font-variant-numeric: tabular-nums; }
.cd-cell b.flip { animation: flip .35s; }
@keyframes flip { 0% { transform: rotateX(70deg); opacity: .3; } }
.cd-cell span { font-size: 12px; opacity: .7; }
.cp-badge { display: none; }

.tag.save { background: #ff4f8b; color: #fff; text-transform: none; display: grid; line-height: 1.1; padding: 4px 8px; transform: rotate(-4deg); box-shadow: 0 4px 10px rgba(255, 79, 139, .35); }
.tag.save b { font-size: 15px; } .tag.save small { font-size: 9px; font-weight: 600; }

.js-search { position: relative; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border-radius: 18px; box-shadow: 0 18px 50px rgba(30, 10, 60, .22); padding: 8px; z-index: 70; max-height: 70vh; overflow-y: auto; animation: fade .15s; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; }
.suggest a:hover, .suggest a:focus-visible { background: var(--input); }
.sg-img { width: 44px; height: 44px; flex: none; background: var(--input); border-radius: 10px; padding: 3px; display: grid; }
.sg-img svg, .sg-img img { width: 100%; height: 100%; object-fit: contain; }
.sg-name { flex: 1; min-width: 0; font-size: 14px; line-height: 1.25; }
.suggest b { white-space: nowrap; font-size: 15px; }
.sg-cat .i { width: 22px; height: 22px; color: var(--accent); }
.sg-cat span { flex: 1; font-weight: 600; } .sg-cat small { color: var(--muted); }
.sg-all { justify-content: center; color: var(--accent); font-weight: 600; }
.sg-empty { margin: 10px; color: var(--muted); }

@media (min-width: 700px) {
  .campaign { grid-template-columns: auto 1fr auto; padding: 22px 32px; }
  .cp-badge { display: grid; place-items: center; width: 130px; height: 110px; background: #111; border-radius: 10px; transform: rotate(-6deg); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); text-align: center; padding: 10px; animation: wobble 4s ease-in-out infinite; }
  .cp-badge span { font: 800 22px/.9 var(--font-display); font-style: italic; text-transform: uppercase; }
  .cp-badge small { font-size: 9px; letter-spacing: .3em; opacity: .7; }
  @keyframes wobble { 50% { transform: rotate(-2deg) translateY(-4px); } }
}
@media (min-width: 1000px) {
  .home-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; padding-top: 20px; align-items: start; }
  .home-side { display: block !important; position: sticky; top: 150px; }
  .home-cats { background: var(--surface); border-radius: var(--radius); padding: 10px; max-height: calc(100vh - 290px); overflow-y: auto; scrollbar-width: thin; }
  .home-cats a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; font-size: 14px; transition: background .2s, padding .2s; }
  .home-cats a .i { width: 24px; height: 24px; stroke-width: 1.4; flex: none; }
  .home-cats a.bold { font-weight: 700; }
  .home-cats a:hover { background: var(--input); padding-left: 16px; color: var(--accent); }
  .hc-sale { color: #ff4f8b; font-weight: 700; }
  .home-main .banners { margin: 0; }
  .home-main .banner-track { padding: 0 0 8px; }
  .home-main .banner { flex: 0 0 calc((100% - 36px) / 4); aspect-ratio: 1; padding: 16px; }
  .home-main .banner h3 { font-size: 21px; }
  .home-main .banner .b-art { width: 30%; }
  .home-main .banner .b-badge { font-size: 26px; padding: 7px 16px; }
  .home-main .slider-btn.prev { left: -18px; } .home-main .slider-btn.next { right: -18px; }
  .home-main .tiles { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .home-main .tile { min-height: 180px; font-size: 15px; }
  .home-main .tile .t-art { width: 90px; height: 90px; } .home-main .tile .t-art .i { width: 70px; height: 70px; }
  .home-main .tile .emoji { font-size: 60px; }
  .home-main .scroller { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; overflow: visible; }
  .home-main .scroller .card:nth-child(n+9) { display: none; }
  .home-main .section-title { font-size: 26px; font-weight: 600; margin-top: 36px; }
  .dont-press { margin-top: 20px; }
}
@media (min-width: 1000px) and (max-width: 1250px) {
  .home-main .scroller { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-main .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 999px) {
  .hd-row1 .suggest { position: fixed; top: 78px; left: 12px; right: 12px; max-height: 65vh; }
}

/* ---------- Банери 500×900 (5:9) ---------- */
.banner { aspect-ratio: 5 / 9; flex-basis: min(62%, 280px); }
.banner.has-img { padding: 0; background: #12081a; }
.banner.has-img::before { display: none; }
.banner.has-img img { position: static; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.banner.has-img:hover img { transform: scale(1.04); }
.banner.neon { background: radial-gradient(circle at 50% 55%, rgba(255, 45, 149, .55), transparent 55%), #0b0410; }
.banner.neon::before { background: radial-gradient(circle at 20% 15%, rgba(255, 45, 149, .7), transparent 35%), radial-gradient(circle at 85% 85%, rgba(255, 45, 149, .55), transparent 40%), radial-gradient(circle at 80% 20%, rgba(192, 38, 211, .45), transparent 35%); }
.banner.neon h3 { color: #fff; text-shadow: 0 0 6px #ff2d95, 0 0 22px #ff2d95, 0 0 42px #ff2d95; font-size: 28px; }
.banner.neon p { color: #ffd1ea; }
.banner.neon .b-art { width: 44%; filter: drop-shadow(0 0 18px #ff2d95) drop-shadow(0 0 40px rgba(255, 45, 149, .6)); }
.banner.neon .b-badge { border-color: #fff; box-shadow: 0 0 14px #ff2d95, 0 0 34px #ff2d95, inset 0 0 14px #ff2d95; text-shadow: 0 0 10px #ff2d95; }
.banner.neon .b-cta { color: #d6107a; }
@media (min-width: 1000px) {
  .home-main .banner { flex: 0 0 calc((100% - 36px) / 4); aspect-ratio: 5 / 9; }
  .home-main .banner.neon h3 { font-size: 24px; }
  .home-main .banner .b-art { width: 46%; }
}

/* ---------- Вибір смаку ---------- */
.flavor-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 8px; }
.flavor-head span { color: var(--muted); font-size: 14px; }
.flavor-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 12px 0 6px; }
.flavor-list a { padding: 6px 10px 6px 6px; align-items: center; min-width: 0; }
.flavor-list a img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--surface); flex: none; }
.flavor-list a span { font-size: 13px; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.flavor-list.collapsed a:nth-child(n+9) { display: none; }
.low { color: #e4572e; font-size: 13px; font-weight: 600; margin-top: 2px; }

/* ---------- Мобільна версія: плаваючі кнопки не закривають товари ---------- */
@media (max-width: 999px) {
  .fab-contact { width: 50px; height: 50px; left: 14px; bottom: calc(var(--nav-h) + 26px + env(safe-area-inset-bottom)); box-shadow: 0 0 0 6px rgba(240, 80, 143, .18); }
  .fab-contact .i { width: 24px; height: 24px; }
  .fab-wheel { right: 18px; bottom: calc(var(--nav-h) + 26px + env(safe-area-inset-bottom)); }
  .wheel-mini { width: 66px; height: 66px; border-width: 4px; }
  .wheel-close { right: -14px; width: 28px; height: 28px; }
  .p-info h1 { font-size: 21px; }
  .page-title { font-size: 26px; }
  .card { padding: 10px 10px 12px; }
  .card h3 { font-size: 14px; }
  .price { font-size: 22px; }
  .to-cart { width: 44px; height: 44px; border-radius: 12px; }
  .tag.save b { font-size: 13px; } .tag.save small { font-size: 8px; }
}

.seo-pre { padding-block: 20px; }
.seo-pre ul { line-height: 1.9; }
.stock.few { color: #e4572e; }
@media (max-width: 999px) { .banner.neon h3 { font-size: 23px; } .banner.neon .b-badge { font-size: 28px; } }
@media (min-width: 1000px) {
  .fab-contact { left: auto; right: 40px; bottom: 24px; width: 58px; height: 58px; }
  .fab-wheel { bottom: 100px; }
}

.seo-text { background: var(--surface); border-radius: var(--radius); padding: 22px 24px; margin: 28px 0 8px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.seo-text h2 { color: var(--text); font-size: 20px; margin: 0 0 10px; }
.seo-text p { margin: 0 0 10px; white-space: pre-line; }
.brand-link { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; }

/* ---------- Анімації: поява сторінки, скелетони, прокрутка ---------- */
#app.page-in { animation: pageIn .35s ease-out; }
@keyframes pageIn { from { opacity: .3; transform: translateY(10px); } }
.sk { background: linear-gradient(100deg, var(--input) 30%, var(--surface) 50%, var(--input) 70%); background-size: 300% 100%; animation: skel 1.3s linear infinite; border-radius: var(--radius); }
@keyframes skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.sk-line { height: 18px; width: 180px; margin: 22px 0 10px; border-radius: 8px; }
.sk-title { height: 34px; width: min(420px, 80%); margin-bottom: 22px; border-radius: 10px; }
.sk-card { aspect-ratio: 3 / 4.6; }
.rv { opacity: 0; transform: translateY(28px); transition: opacity .6s ease-out, transform .6s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }

/* відблиск на картці при наведенні */
.card { overflow: hidden; }
.card::after { content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); pointer-events: none; opacity: 0; }
.card:hover::after { animation: shineSweep .9s ease-out; }
@keyframes shineSweep { 0% { left: -75%; opacity: 1; } 100% { left: 130%; opacity: 0; } }

/* крапки під банерами */
.b-dots { display: flex; justify-content: center; gap: 8px; margin: 10px 0 4px; }
.b-dots button { width: 8px; height: 8px; border-radius: 99px; background: var(--line); transition: width .3s, background .3s; }
.b-dots button.on { width: 26px; background: var(--accent); }
.banner.has-img { box-shadow: 0 10px 30px rgba(236, 72, 153, .18); transition: transform .3s, box-shadow .3s; }
.banner.has-img:hover { box-shadow: 0 18px 44px rgba(236, 72, 153, .38); }

/* «дим» у блоці акції */
.campaign::before, .campaign::after { content: ''; position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; z-index: 0; }
.campaign::before { width: 220px; height: 220px; left: 30%; top: -90px; background: rgba(236, 72, 153, .35); animation: drift 9s ease-in-out infinite alternate; }
.campaign::after { width: 260px; height: 260px; right: 18%; bottom: -140px; background: rgba(124, 58, 237, .4); animation: drift 11s ease-in-out infinite alternate-reverse; }
.campaign > * { position: relative; z-index: 1; }
@keyframes drift { to { transform: translate(60px, 30px) scale(1.2); } }

/* пульсація лічильника знижок */
.sale-link .badge, .bottom-nav [data-nav="sale"] .badge { animation: badgePulse 2.4s ease-in-out infinite; }
@keyframes badgePulse { 50% { transform: scale(1.15); box-shadow: 0 0 0 4px rgba(255, 79, 139, .25); } }

/* компактна шапка під час прокрутки */
.topbar { transition: box-shadow .25s, background .25s; }
body.scrolled .topbar { box-shadow: 0 6px 24px rgba(30, 10, 60, .1); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); }
@media (min-width: 1000px) {
  .hd-row1 { transition: padding .25s; }
  body.scrolled .hd-row1 { padding-top: 6px; padding-bottom: 2px; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ---------- Логотип-напис ---------- */
.wordmark { font: 800 24px/1 var(--font-display); letter-spacing: -.02em; color: var(--text); white-space: nowrap; display: inline-flex; align-items: baseline; }
.wordmark span { margin-left: .2em; background: linear-gradient(100deg, #7c3aed 0%, #c026d3 40%, #f0508f 55%, #c026d3 70%, #7c3aed 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: wmShine 6s ease-in-out infinite; }
@keyframes wmShine { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.logo.wordmark { flex: none; }
.wordmark.big { font-size: 44px; margin: 0 auto 22px; color: #fff; }
@media (min-width: 1000px) { .logo.wordmark { font-size: 30px; width: 200px; } }
@media (max-width: 380px) { .logo.wordmark { font-size: 20px; } }

/* ---------- Смуга оголошень (замість біжучого рядка) ---------- */
.ticker { display: none !important; }
.announce { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 36px; padding: 6px 16px;
  background: var(--surface-2); color: var(--text); font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line); overflow: hidden; }
.an-dot { width: 7px; height: 7px; border-radius: 50%; background: #f0508f; flex: none; box-shadow: 0 0 0 0 rgba(240, 80, 143, .6); animation: anPing 2s ease-out infinite; }
@keyframes anPing { 0% { box-shadow: 0 0 0 0 rgba(240, 80, 143, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(240, 80, 143, 0); } }
.an-text { display: inline-block; transition: opacity .38s, transform .38s; text-align: center; }
.an-text.out { opacity: 0; transform: translateY(-10px); }
.an-text.in { animation: anIn .45s ease-out; }
@keyframes anIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Іконки категорій у кольорових плитках ---------- */
.ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); transition: transform .2s, background .2s, color .2s; }
.ci .i { width: 22px !important; height: 22px !important; stroke-width: 1.8 !important; }
.menu-panel li a { gap: 16px; }
.menu-panel li a:hover .ci, .home-cats a:hover .ci { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.06); }
.home-cats a { gap: 12px; }
.home-cats a .ci { width: 34px; height: 34px; border-radius: 10px; }
.home-cats a .ci .i { width: 19px !important; height: 19px !important; }
.hc-sale .ci { background: #ffe4ec; color: #ff4f8b; }

/* ---------- Плитки головної ---------- */
.tile .t-art.photo { width: 92px; height: 92px; }
.tile .t-art.photo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(30, 10, 60, .18)); transition: transform .35s; }
.tile:hover .t-art.photo img { transform: scale(1.08) rotate(-4deg); }
.tile .t-art.ico-tile { width: 64px; height: 64px; border-radius: 20px; background: var(--accent-soft); }
.tile .t-art.ico-tile .i { width: 34px; height: 34px; }
.tile .t-art.grad { width: 64px; height: 64px; border-radius: 20px; color: #fff; box-shadow: 0 10px 22px rgba(30, 10, 60, .18); }
.tile .t-art.grad .i { width: 32px; height: 32px; stroke-width: 2; }
.g-fire { background: linear-gradient(140deg, #ffb347, #ff4f8b 55%, #c026d3); }
.g-bolt { background: linear-gradient(140deg, #fde047, #f97316 50%, #7c3aed); }
.g-star { background: linear-gradient(140deg, #fcd34d, #f472b6 55%, #8b5cf6); }
@media (min-width: 1000px) {
  .home-main .tile .t-art.photo { width: 110px; height: 110px; }
  .home-main .tile .t-art.grad, .home-main .tile .t-art.ico-tile { width: 76px; height: 76px; border-radius: 24px; }
  .home-main .tile .t-art.grad .i, .home-main .tile .t-art.ico-tile .i { width: 38px; height: 38px; }
}
.tile .t-art.grad .i { color: #fff; } .tile .t-art.ico-tile .i { color: var(--accent); }
@media (min-width: 1000px) {
  .home-grid { grid-template-columns: 275px minmax(0, 1fr); }
  .home-cats a { font-size: 14px; padding: 8px 10px; }
}

/* ---------- Перемикач теми на телефоні ---------- */
.theme-mob { width: 44px; height: 44px; border-radius: 14px; background: var(--input); display: grid; place-items: center; flex: none; position: relative; overflow: hidden; }
.theme-mob > span { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .4s, opacity .4s; }
.theme-mob .i { width: 22px; height: 22px; }
.theme-mob .tm-moon { transform: translateY(120%) rotate(-90deg); opacity: 0; }
:root[data-theme="dark"] .theme-mob .tm-sun { transform: translateY(-120%) rotate(90deg); opacity: 0; }
:root[data-theme="dark"] .theme-mob .tm-moon { transform: none; opacity: 1; }
@media (max-width: 999px) { .burger { width: 44px; height: 44px; border-radius: 14px; } .hd-row1 { gap: 8px; } }

/* ---------- Відгуки з фото ---------- */
.rv-promo { display: flex; gap: 12px; align-items: center; background: var(--accent-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
.rv-promo .i { width: 30px; height: 30px; color: var(--accent); flex: none; }
.rv-promo b { display: block; } .rv-promo span { font-size: 13px; color: var(--muted); }
.rv-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rv-ok { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--ok); }
.rv-ok .i { width: 14px; height: 14px; }
.rv-photo { margin-top: 8px; border-radius: 12px; overflow: hidden; width: 120px; height: 120px; display: block; }
.rv-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.rv-photo:hover img { transform: scale(1.06); }
.photo-pick { display: block; border: 2px dashed var(--line); border-radius: 16px; margin: 4px 0 8px; cursor: pointer; overflow: hidden; position: relative; transition: border-color .2s; }
.photo-pick:hover { border-color: var(--accent); }
.pp-empty { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px; color: var(--accent); }
.pp-empty .i { width: 28px; height: 28px; } .pp-empty small { color: var(--muted); }
.photo-pick img { width: 100%; max-height: 260px; object-fit: cover; display: block; }
.pp-change { position: absolute; bottom: 8px; right: 8px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 99px; }
.zoom { position: fixed; inset: 0; z-index: 500; background: rgba(10, 5, 20, .9); display: grid; place-items: center; padding: 20px; animation: fade .2s; cursor: zoom-out; }
.zoom img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
.zoom button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; }
.rv-scroller { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.rv-scroller::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 min(78%, 300px); scroll-snap-align: start; background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.rv-card-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.rv-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rv-card:hover .rv-card-photo img { transform: scale(1.05); }
.rv-card-body { padding: 14px 16px 16px; }
.rv-card-body p { margin: 6px 0 10px; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rv-prod { display: block; font-size: 13px; color: var(--accent); margin-top: 6px; }
.rv-leave { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* ---------- Блок Telegram-каналу ---------- */
.tg-cta { display: flex; align-items: center; gap: 16px; margin: 28px 0 0; padding: 18px 20px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(120deg, #229ed9, #2aabee 45%, #7c3aed); box-shadow: 0 12px 30px rgba(34, 158, 217, .3); position: relative; overflow: hidden; }
.tg-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%); background-size: 250% 100%; animation: tgShine 4s ease-in-out infinite; }
@keyframes tgShine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
.tg-ico { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; flex: none; animation: tgFloat 3s ease-in-out infinite; }
.tg-ico .i { width: 28px; height: 28px; }
@keyframes tgFloat { 50% { transform: translateY(-4px) rotate(-8deg); } }
.tg-txt { flex: 1; min-width: 0; } .tg-txt b { display: block; font-size: 18px; } .tg-txt small { opacity: .9; }
.tg-btn { background: #fff; color: #1d8fcb; font-weight: 700; padding: 10px 18px; border-radius: 99px; flex: none; position: relative; z-index: 1; }
@media (max-width: 520px) { .tg-cta { flex-wrap: wrap; } .tg-btn { width: 100%; text-align: center; } }

/* ---------- Телефон у футері — велика кнопка ---------- */
.footer .ft-call { display: inline-flex !important; align-items: center; gap: 8px; color: var(--text) !important; font-weight: 700; font-size: 18px; padding: 6px 0 !important; }
.footer .ft-call .i { width: 20px; height: 20px; color: var(--accent); }
.rv-card .stars { color: var(--star); letter-spacing: 1px; }
@media (max-width: 999px) {
  .logo.wordmark { font-size: 19px; }
  .theme-mob, .burger { width: 40px; height: 40px; border-radius: 12px; }
  .hd-row1 { gap: 6px; padding-left: 12px; padding-right: 12px; }
  .hd-row1 .search { padding-left: 12px; }
  .hd-row1 .search-btn { width: 36px; height: 36px; }
}
.wheel-actions { display: grid; gap: 10px; margin-top: 4px; }

/* ---------- Логотип «Бейдж»: ELIX на градієнтній плашці + VAPE ---------- */
.wordmark { font: 800 22px/1 var(--font-display); letter-spacing: -.01em; display: inline-flex; align-items: center; gap: .3em; color: var(--text); }
.wordmark b { font-weight: 800; color: #fff; padding: .34em .5em .32em; border-radius: .42em; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #6d28d9, #c026d3 60%, #f0508f); box-shadow: 0 6px 16px rgba(192, 38, 211, .3); }
.wordmark b::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  background-size: 250% 100%; background-position: 150% 0; animation: badgeShine 5s ease-in-out infinite; }
@keyframes badgeShine { 0%, 70% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
.wordmark span { margin: 0; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text); animation: none; }
.wordmark.big { font-size: 40px; color: #fff; } .wordmark.big span { color: #fff; }
@media (min-width: 1000px) { .logo.wordmark { font-size: 26px; width: 200px; } }
@media (max-width: 999px) { .logo.wordmark { font-size: 17px; } }
@media (max-width: 370px) { .logo.wordmark { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .wordmark b::after { animation: none; } }
@media (max-width: 360px) {
  .theme-mob { display: none !important; }
  .logo.wordmark { font-size: 14px; }
  .hd-row1 { gap: 5px; padding-left: 10px; padding-right: 10px; }
}

/* ---------- Плитки головної: однаковий розмір, значок завжди на одній висоті ---------- */
.tiles .tile { justify-content: flex-start; gap: 12px; padding: 20px 8px 16px; min-height: 0; }
.tile-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; flex: none; color: #fff;
  box-shadow: 0 10px 22px rgba(30, 10, 60, .16); transition: transform .3s; }
.tile-ico .i { width: 30px; height: 30px; stroke-width: 2; color: #fff; }
.tile-ico.has-img { background: none; box-shadow: none; width: 84px; height: 84px; border-radius: 0; }
.tile-ico.has-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(30, 10, 60, .18)); }
.tile:hover .tile-ico { transform: translateY(-4px) rotate(-6deg) scale(1.05); }
.tile-name { min-height: 2.5em; display: flex; align-items: flex-start; justify-content: center; line-height: 1.25; }
.tc-violet { background: linear-gradient(140deg, #a78bfa, #7c3aed 55%, #5b21b6); }
.tc-blue   { background: linear-gradient(140deg, #7dd3fc, #3b82f6 55%, #6d28d9); }
.tc-pink   { background: linear-gradient(140deg, #f9a8d4, #ec4899 55%, #be185d); }
.tc-fire   { background: linear-gradient(140deg, #ffb347, #ff4f8b 55%, #c026d3); }
.tc-bolt   { background: linear-gradient(140deg, #fde047, #f97316 50%, #7c3aed); }
.tc-star   { background: linear-gradient(140deg, #fcd34d, #f472b6 55%, #8b5cf6); }
.tc-mint   { background: linear-gradient(140deg, #6ee7b7, #10b981 55%, #0f766e); }
.tc-dark   { background: linear-gradient(140deg, #4b5563, #1f2937 55%, #111827); }
@media (min-width: 1000px) {
  .home-main .tiles .tile { padding: 24px 10px 18px; gap: 14px; }
  .home-main .tile-ico { width: 76px; height: 76px; border-radius: 24px; }
  .home-main .tile-ico .i { width: 36px; height: 36px; }
  .home-main .tile-ico.has-img { width: 100px; height: 100px; }
}
@media (max-width: 999px) { .tiles .tile { padding: 16px 6px 12px; font-size: 13px; } .tile-ico { width: 56px; height: 56px; border-radius: 18px; } .tile-ico .i { width: 26px; height: 26px; } }

/* ---------- Темна тема: монохромна сіра палітра, без градієнтів і «неону» ----------
   Щоб повернути попередній фіолетовий вигляд — видаліть цей блок до кінця файлу. */
:root[data-theme="dark"] {
  --bg: #0e0e10; --surface: #18181b; --surface-2: #202024; --input: #202024; --text: #ececee; --muted: #8e8e96;
  --line: #2b2b30; --accent: #e4e4e7; --accent-ink: #111113; --accent-soft: #2a2a2f; --pink: #3f3f46;
  --grad: #e4e4e7; --night: #0e0e10; --shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
/* кнопки: світло-сірі з темним текстом */
:root[data-theme="dark"] .btn, :root[data-theme="dark"] .catalog-btn, :root[data-theme="dark"] .btn.grad,
:root[data-theme="dark"] .pager button.on { background: #e4e4e7; background-image: none; color: #111113; animation: none; box-shadow: none; }
:root[data-theme="dark"] .btn:hover:not(:disabled), :root[data-theme="dark"] .catalog-btn:hover { background: #ffffff; }
:root[data-theme="dark"] .btn.ghost { background: #26262b; color: #ececee; }
:root[data-theme="dark"] .btn.ghost:hover:not(:disabled) { background: #303036; }
:root[data-theme="dark"] .btn:disabled { background: #2b2b30; color: #6b6b74; }
:root[data-theme="dark"] .to-cart.in { background: #16a34a; color: #fff; }
:root[data-theme="dark"] .ticker, :root[data-theme="dark"] .cb-card { background: #202024; color: #ececee; }
:root[data-theme="dark"] .avatar { background: #3f3f46; }
:root[data-theme="dark"] .tag { background: #2a2a2f; color: #d4d4d8; }
:root[data-theme="dark"] .b-dots button.on { background: #e4e4e7; }
/* логотип: плашка ELIX світло-сіра, без блиску */
:root[data-theme="dark"] .wordmark b { background: #e4e4e7; color: #111113; box-shadow: none; }
:root[data-theme="dark"] .wordmark b::after { display: none; }
:root[data-theme="dark"] .wordmark.big b { color: #111113; }
/* без відблиску на картках */
:root[data-theme="dark"] .card::after { display: none; }
:root[data-theme="dark"] .tile:hover { box-shadow: none; }
/* іконки плиток: однотонні сірі */
:root[data-theme="dark"] .tile-ico:not(.has-img), :root[data-theme="dark"] .tile .t-art.grad { background: #26262b; box-shadow: none; }
:root[data-theme="dark"] .tile-ico .i, :root[data-theme="dark"] .tile .t-art .i { color: #d4d4d8; }
/* акція, Telegram, «Не натискати» — темні картки з тонкою рамкою */
:root[data-theme="dark"] .campaign, :root[data-theme="dark"] .tg-cta, :root[data-theme="dark"] .dont-press { background: #18181b; border: 1px solid #2b2b30; box-shadow: none; color: #ececee; }
:root[data-theme="dark"] .cd i { color: #8e8e96; }
:root[data-theme="dark"] .tg-cta::after { display: none; }
:root[data-theme="dark"] .tg-ico { background: #26262b; animation: none; }
/* знижки: стриманий червоний (важливий сигнал, лишаємо) */
:root[data-theme="dark"] .tag.sale { background: rgba(225, 29, 72, .16); color: #fb7185; }
:root[data-theme="dark"] .tag.save { background: #e11d48; color: #fff; box-shadow: none; }
:root[data-theme="dark"] .fab-contact { background: #3f3f46; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); animation: none; }
:root[data-theme="dark"] .age-gate { background: #0e0e10; }
:root[data-theme="dark"] .campaign::before, :root[data-theme="dark"] .campaign::after { display: none; }
:root[data-theme="dark"] .tg-btn { background: #e4e4e7; color: #111113; }
:root[data-theme="dark"] .announce { background: #18181b; }
:root[data-theme="dark"] .an-dot { background: #8e8e96; animation: none; box-shadow: none; }
/* легкі фіолетові акценти поверх сірої теми (логотип, посилання, іконки, активні стани) */
:root[data-theme="dark"] { --accent: #a78bfa; --accent-soft: rgba(139, 92, 246, .12); }
:root[data-theme="dark"] .wordmark b { background: #7c3aed; color: #fff; }
:root[data-theme="dark"] .wordmark.big b { color: #fff; }
:root[data-theme="dark"] .tile-ico:not(.has-img), :root[data-theme="dark"] .tile .t-art.grad { background: rgba(139, 92, 246, .12); }
:root[data-theme="dark"] .tile-ico .i, :root[data-theme="dark"] .tile .t-art .i { color: #a78bfa; }
:root[data-theme="dark"] .to-cart:not(:disabled):not(.in) { background: #7c3aed; color: #fff; }
:root[data-theme="dark"] .pager button.on, :root[data-theme="dark"] .b-dots button.on { background: #7c3aed; color: #fff; }
:root[data-theme="dark"] .tag { background: rgba(139, 92, 246, .16); color: #c4b5fd; }
:root[data-theme="dark"] .cd i { color: #a78bfa; }
:root[data-theme="dark"] .an-dot { background: #a78bfa; }
:root[data-theme="dark"] .tg-ico { background: rgba(139, 92, 246, .16); color: #c4b5fd; }
:root[data-theme="dark"] .flavor-list a.on { border-color: #8b5cf6; background: rgba(139, 92, 246, .1); }
/* ще трохи фіолетового: головні кнопки, смуга оголошень, рамки акцентних блоків */
:root[data-theme="dark"] .btn:not(.ghost), :root[data-theme="dark"] .catalog-btn, :root[data-theme="dark"] .btn.grad, :root[data-theme="dark"] .tg-btn { background: #7c3aed; color: #fff; }
:root[data-theme="dark"] .btn:not(.ghost):hover:not(:disabled), :root[data-theme="dark"] .catalog-btn:hover, :root[data-theme="dark"] .tg-btn:hover { background: #6d28d9; }
:root[data-theme="dark"] .btn:disabled { background: #2b2b30; color: #6b6b74; }
:root[data-theme="dark"] .announce { background: rgba(124, 58, 237, .1); border-bottom-color: rgba(139, 92, 246, .2); }
:root[data-theme="dark"] .campaign, :root[data-theme="dark"] .tg-cta { border-color: rgba(139, 92, 246, .3); }
:root[data-theme="dark"] .tile-ico:not(.has-img), :root[data-theme="dark"] .tile .t-art.grad { background: rgba(139, 92, 246, .16); }
:root[data-theme="dark"] .section-title a { color: #a78bfa; }
/* баланс кольорів: позначки на фото — суцільні й контрастні; кнопки кошика на картках — нейтральні */
:root[data-theme="dark"] .card .tag:not(.save) { background: #7c3aed; color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
:root[data-theme="dark"] .to-cart:not(:disabled):not(.in) { background: #2a2a30; color: #ececee; }
:root[data-theme="dark"] .card:hover .to-cart:not(:disabled):not(.in), :root[data-theme="dark"] .to-cart:not(:disabled):not(.in):hover { background: #7c3aed; color: #fff; }
:root[data-theme="dark"] .announce { background: #18181b; border-bottom-color: #2b2b30; }
/* позначка «Новинка» на фото — суцільна в обох темах, щоб не зливалась із картинкою */
.card .tag:not(.save) { background: #7c3aed; color: #fff; box-shadow: 0 2px 8px rgba(40, 20, 80, .2); }
/* «Новинка» — нейтральна темна плашка з білим текстом (без фіолетового) */
.card .tag:not(.save), :root[data-theme="dark"] .card .tag:not(.save) { background: #18181b; color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
