/* =========================================================
   Планета сигарет — головні стилі
   Дизайн: теплий «тютюновий» світлий фон + нічний космос у героях.
   Орієнтир — читабельність для 40+: базовий шрифт 18px, контраст AA+, великі кнопки.
   ========================================================= */

/* Шрифти лежать на самому сайті (assets/fonts): латиниця + кирилиця в одному файлі, тож жоден символ не довантажується окремо.
   Unbounded і Onest ще й попередньо завантажуються з index.html: url там і тут мають збігатися. */
@font-face { font-family: "Unbounded"; src: url(../fonts/unbounded.woff2) format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Onest"; src: url(../fonts/onest.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face {
  font-family: "Eurofurence";
  src: url(../fonts/eurofurence-light.woff2) format("woff2"), url(../fonts/eurofurence-light.ttf) format("truetype");
  font-weight: 300; font-display: swap;
}
/* Запасні шрифти підігнані під ширину основних: якщо шрифт спізнився, текст не змінює розмір, коли він приходить */
@font-face { font-family: "Unbounded Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"); font-weight: 500 800; size-adjust: 134%; ascent-override: 74%; descent-override: 18%; line-gap-override: 0%; }
@font-face { font-family: "Onest Fallback"; src: local("Arial"), local("ArialMT"), local("Roboto"), local("Roboto-Regular"); font-weight: 400 500; size-adjust: 104%; ascent-override: 93%; descent-override: 29%; line-gap-override: 0%; }
@font-face { font-family: "Onest Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"); font-weight: 600 800; size-adjust: 100%; ascent-override: 97%; descent-override: 30%; line-gap-override: 0%; }

:root {
  --bg: #f7f2ea;
  --bg-2: #efe6d8;
  --surface: #ffffff;
  --ink: #1f1611;
  --ink-2: #57473c;
  --ink-3: #7a6858;
  --line: #e4d8c6;
  --line-2: #d5c5ae;

  --accent: #c24f19;          /* ember: білий текст на ньому ≥ 4.5:1 */
  --accent-hover: #a8410f;
  --accent-soft: #fbe5d6;
  --ember: #ff8a3d;
  --gold: #f0b85a;
  --ok: #2e7a4c;
  --ok-soft: #e1f2e7;
  --danger: #b3261e;

  --night: #15100c;
  --night-2: #221913;
  --night-3: #2f241c;
  --on-night: #f6eee4;
  --on-night-2: #cdbcaa;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(31,22,17,.06), 0 2px 8px rgba(31,22,17,.05);
  --shadow: 0 2px 6px rgba(31,22,17,.05), 0 14px 36px -10px rgba(31,22,17,.18);
  --shadow-lg: 0 30px 80px -20px rgba(31,22,17,.35);

  --f-body: "Onest", "Onest Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-display: "Unbounded", "Unbounded Fallback", "Onest", system-ui, sans-serif;

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --header-h: 76px;
  color-scheme: light;
}

html { font-size: 18px; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); -webkit-text-size-adjust: 100%; }
html.big-text { font-size: 20.5px; }
@media (max-width: 640px) { html { font-size: 17px; } html.big-text { font-size: 19.5px; } }

*, *::before, *::after { box-sizing: border-box; }
body {
  -webkit-tap-highlight-color: transparent;
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
/* телефон: швидкі натискання (наприклад «+» у кошику) не збільшують сторінку подвійним торканням;
   збільшення двома пальцями лишається */
button, a, label, input, select, textarea, summary, [role=button] { touch-action: manipulation; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-3); font-weight: 400; }

:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1260px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .container { padding-inline: 16px; } }

/* ---------- типографіка ---------- */
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem); letter-spacing: -.02em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--gold); }
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.section__lead { margin-top: 16px; font-size: 1.12rem; color: var(--ink-2); max-width: 640px; }

/* ---------- кнопки ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn--lg { --h: 60px; padding: 0 30px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(194,79,25,.75); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(194,79,25,.8); }
.btn--primary::after { /* відблиск */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { color: var(--on-night); border-color: rgba(246,238,228,.35); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--on-night); background: rgba(255,255,255,.1); }
.btn--ghost-dark { color: var(--ink); border-color: var(--line-2); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--ink); }
.btn--outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--text { background: none; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; --h: 48px; }
.btn--text:hover { color: var(--ink); }
.btn .ic { width: 1.2em; height: 1.2em; transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }

.icon-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--ink); transition: background .2s, transform .2s; }
.icon-btn:hover { background: var(--line); transform: rotate(90deg); }
.icon-btn[data-step-back]:hover { transform: translateX(-3px); }

/* ---------- верхня смуга ---------- */
.topbar { background: #0d0907; color: var(--on-night-2); font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 42px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item .ic { color: var(--gold); }
.topbar__item > span { position: relative; top: .085em; } /* Onest лишає місце під «хвостики» літер — без зсуву текст на ~1,4px вище за центр іконки */
.topbar__text { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--on-night); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600; transition: background .2s; }
.topbar__text:hover, .topbar__text[aria-pressed="true"] { background: var(--gold); color: var(--night); border-color: var(--gold); }
.topbar__inner > * { flex-shrink: 0; } /* не стискати — тоді fitTopbar бачить, що не вміщується, і ховає зайве */
.topbar__item.is-fit-hidden { display: none; }
[data-ship-when-short]:not(.is-ready) { visibility: hidden; } /* текст у HTML лише тримає ширину; показуємо, коли app.js порахував дату */@media (max-width: 1000px) { .topbar__hide-md { display: none; } }
@media (max-width: 640px) { .topbar__hide-sm { display: none; } .topbar__inner { gap: 12px; } }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; color: var(--on-night); background: rgba(13,9,7,.97); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s; }
.header.is-scrolled { border-bottom-color: rgba(255,255,255,.08); box-shadow: 0 10px 30px -14px rgba(0,0,0,.6); background: rgba(13,9,7,.98); }
.header__inner { display: flex; align-items: center; gap: 14px; height: var(--header-h); transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: 66px; }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--ember), var(--gold)); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; color: #fbeacf; }
.logo__img { width: 58px; height: auto; margin: -6px -4px -6px -8px; transition: transform .8s var(--ease), filter .5s; }
.logo:hover .logo__img { transform: rotate(-20deg) scale(1.05); filter: brightness(1.2); }
.logo__text { font-family: "Eurofurence", var(--f-body); font-weight: 300; font-size: 1.32rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
@media (max-width: 640px) {
  .logo { gap: 8px; }
  .logo__img { width: 46px; }
  .logo__text { font-size: 1.05rem; letter-spacing: .12em; display: flex; flex-direction: column; gap: 3px; }
}

.nav { display: flex; gap: 6px; margin-left: 8px; }
.nav__call { display: none; }
.nav a { position: relative; white-space: nowrap; padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--on-night-2); transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav a.is-active { color: #fff; }
.nav a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--accent); border-radius: 2px; }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.header__phone > .ic { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: rgba(255,138,61,.14); color: var(--ember); }
.header__phone span { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.header__phone b { font-size: 1.05rem; }
.header__phone small { font-size: .74rem; color: var(--on-night-2); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 18px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font-weight: 700; transition: transform .25s var(--ease), background .2s; }
.cart-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.cart-btn__count { min-width: 28px; height: 28px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; background: #fff; color: var(--accent-hover); font-size: .85rem; transition: transform .3s var(--ease); }
.cart-btn.is-bump .cart-btn__count, .fab__btn--cart.is-bump i { animation: bump .6s var(--ease); }
.burger { display: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: var(--on-night); place-items: center; }

.header__phone small { display: none; }
@media (max-width: 1400px) and (min-width: 1081px) { .header__phone span { display: none; } .nav a { padding: 10px 10px; } }
@media (max-width: 1080px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 16px 16px 24px; margin: 0; background: #0d0907; border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s var(--ease); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 1.15rem; padding: 14px 16px; }
  .burger { display: grid; }
}
/* «Більший текст»: меню в рядок не вміщується до ~1200px — ховаємо в бургер раніше (ті самі правила, що для ≤1080px) */
@media (min-width: 1081px) and (max-width: 1220px) {
  html.big-text .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 16px 16px 20px; margin: 0; background: #0d0907; border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s var(--ease); }
  html.big-text .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  html.big-text .nav a { font-size: 1.15rem; padding: 14px 16px; }
  html.big-text .burger { display: grid; }
}
@media (max-width: 760px) {
  .header__phone span { display: none; }
  .cart-btn__label { display: none; }
  .cart-btn { padding: 0 14px; }
  .header__inner { gap: 12px; }
}
@media (max-width: 640px) {
  .cart-btn, .burger { height: 48px; }
  .burger { width: 48px; }
  .header__actions { gap: 8px; }
}
@media (max-width: 640px) { .header__phone > .ic { width: 48px; height: 48px; padding: 13px; } }

/* меню вибору номера: шапка, питання, плаваюча кнопка */
.callmenu { position: relative; }
.callmenu--header { display: flex; align-items: center; } /* кнопка телефону — точно по центру разом із кошиком */
button.header__phone { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.callmenu__list { display: none; position: absolute; z-index: 80; top: calc(100% + 10px); right: 0; min-width: 260px; padding: 8px; gap: 2px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 50px -12px rgba(0,0,0,.5); text-align: left; animation: pop .25s var(--ease); }
.callmenu__list::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* «місток», щоб меню не зникало при наведенні */
.callmenu.is-open .callmenu__list { display: grid; }
@media (hover: hover) and (pointer: fine) { .callmenu:hover .callmenu__list, .callmenu:focus-within .callmenu__list { display: grid; } }
.callmenu__title { margin: 4px 10px 6px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.callmenu__list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: inherit; text-decoration: none; font-weight: 400; }
.callmenu__list a:hover, .callmenu__list a:focus-visible { background: var(--bg-2); outline: none; }
.callmenu__list a .ic { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.callmenu__list a span { display: flex; flex-direction: column; line-height: 1.25; }
.callmenu__list a b { font-size: 1.08rem; font-weight: 800; white-space: nowrap; }
.callmenu__list a small { display: block; font-size: .82rem; color: var(--ink-2); }
.callmenu--fab { flex: 0 0 auto; display: flex; }
.callmenu--fab .callmenu__list { top: auto; bottom: calc(100% + 12px); left: 0; right: auto; }
.callmenu--fab .callmenu__list::before { top: auto; bottom: -12px; }
.callmenu--faq { display: none; margin-top: 28px; }
.callmenu--faq .btn { margin-top: 0 !important; }
.callmenu--faq .callmenu__list { left: 0; right: 0; min-width: 0; }
.faq__phones { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px; margin-top: 28px; }
.faq__inner .faq__phones .btn { margin-top: 0; }
@media (max-width: 640px) { .faq__phones { display: none; } .callmenu--faq { display: block; } }
/* на вузьких екранах меню з шапки — на всю ширину під шапкою */
@media (max-width: 760px) {
  .header__inner { position: relative; }
  .callmenu--header { position: static; }
  .callmenu--header .callmenu__list { left: 12px; right: 12px; top: calc(100% + 4px); min-width: 0; }
  .callmenu--header .callmenu__list::before { display: none; }
}

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-night); background:
  radial-gradient(1100px 600px at 78% 40%, rgba(255,138,61,.20), transparent 60%),
  radial-gradient(700px 500px at 10% 100%, rgba(240,184,90,.10), transparent 60%),
  linear-gradient(180deg, var(--night) 0%, #1c140f 100%);
}
.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; min-height: min(calc(100svh - 42px), 860px); padding-block: 72px 96px; }
.hero__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 1.1rem + 4vw, 4.1rem); letter-spacing: -.035em; line-height: 1.04; }
.hero__title em { font-style: normal; color: var(--ember); }
.hero__title em .word > span { background: linear-gradient(100deg, var(--ember), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero__lead { margin-top: 26px; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--on-night-2); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 44px; }
.hero__facts li { display: flex; align-items: center; gap: 12px; }
.hero__facts .ic { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: var(--gold); }
.hero__facts span { display: flex; flex-direction: column; font-size: .9rem; color: var(--on-night-2); line-height: 1.35; }
.hero__facts b { color: var(--on-night); font-size: 1rem; }

/* split-текст заголовка */
.word { display: inline-block; overflow: clip; overflow-clip-margin: .2em; vertical-align: top; padding-bottom: .06em; }
.word > span { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 1s var(--ease), opacity .6s; transition-delay: calc(var(--i) * 70ms + 150ms); }
.is-in .word > span { transform: none; opacity: 1; }
.js [data-hero-in] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .is-in [data-hero-in] { opacity: 1; transform: none; }
.is-in [data-hero-in]:nth-of-type(1) { transition-delay: .05s; }
.is-in .hero__lead { transition-delay: .55s; }
.is-in .hero__cta { transition-delay: .7s; }
.is-in .hero__facts { transition-delay: .85s; }

/* затемнення — фірмовий знак з оригінального сайту */
.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.eclipse { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease) .2s; will-change: transform; }
.is-in .eclipse { opacity: 1; }
.eclipse > div { position: absolute; border-radius: 50%; }
.eclipse__glow { inset: -6%; background: radial-gradient(circle, rgba(255,120,30,.32) 28%, rgba(255,90,20,.12) 46%, transparent 66%); animation: breathe 7s ease-in-out infinite; }
.eclipse__corona { inset: 12%;
  background: conic-gradient(from 0deg, rgba(255,150,50,0) 0deg, rgba(255,175,90,.75) 28deg, rgba(255,150,50,0) 64deg, rgba(255,200,120,.55) 130deg, rgba(255,150,50,0) 182deg, rgba(255,140,40,.7) 246deg, rgba(255,150,50,0) 298deg, rgba(255,185,95,.6) 336deg, rgba(255,150,50,0) 360deg);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 59%, #000 63%, transparent 75%);
          mask: radial-gradient(circle, transparent 54%, #000 59%, #000 63%, transparent 75%);
  filter: blur(10px); animation: spin 46s linear infinite; }
.eclipse__corona--2 { inset: 6%; opacity: .55; filter: blur(22px); animation-duration: 70s; animation-direction: reverse; }
.eclipse__disc { inset: 23%; z-index: 3;
  background: radial-gradient(circle at 46% 44%, #0b0705 0%, #030201 62%, #160b05 100%);
  box-shadow:
    0 0 0 1.5px rgba(255,226,170,.95),
    0 0 6px 2px rgba(255,200,120,.95),
    0 0 22px 6px rgba(255,150,50,.9),
    0 0 60px 18px rgba(255,110,25,.6),
    0 0 140px 50px rgba(255,85,10,.28),
    inset 0 0 26px 4px rgba(255,130,40,.38),
    inset 10px 12px 40px rgba(255,170,90,.12); }
.eclipse__flare { z-index: 4; left: 30.6%; top: 30.6%; width: 30%; height: 30%; margin: -15% 0 0 -15%;
  background: radial-gradient(circle, #fff 0 5%, rgba(255,246,215,.95) 9%, rgba(255,200,110,.6) 20%, rgba(255,140,40,.22) 38%, transparent 62%);
  mix-blend-mode: screen; animation: flare 5.5s ease-in-out infinite; }
.eclipse__flare::before, .eclipse__flare::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255,236,200,.9), rgba(255,180,90,.25) 60%, transparent); }
.eclipse__flare::before { width: 280%; height: 3px; }
.eclipse__flare::after { width: 3px; height: 160%; opacity: .6; }
@keyframes flare { 50% { transform: scale(1.14); opacity: .85; } }

.hero__chip { position: absolute; z-index: 20; display: flex; flex-direction: column; padding: 12px 18px; border-radius: 16px; background: rgba(34,25,19,.72); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -18px rgba(0,0,0,.8); animation: float 7s ease-in-out infinite; line-height: 1.25; }
.hero__chip b { font-family: var(--f-display); font-size: 1.3rem; color: var(--gold); }
.hero__chip span { font-size: .82rem; color: var(--on-night-2); }
.hero__chip--a { left: -2%; top: 14%; }
.hero__chip--b { right: 0; bottom: 10%; animation-delay: -3.5s; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 30px; height: 48px; margin-left: -15px; border: 2px solid rgba(246,238,228,.4); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrolldot 2s var(--ease) infinite; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: left; padding-block: 48px 90px; gap: 10px; min-height: 0; }
  .hero__visual { order: -1; max-width: 400px; width: 88%; margin-bottom: -10px; }
  .hero__chip { display: none; }
}
@media (max-width: 640px) { .hero__visual { max-width: 270px; } .hero__inner { padding-block: 28px 84px; } .hero__cta .btn { flex: 1 1 100%; } .hero__facts { margin-top: 32px; } }

/* ---------- бігучий рядок ---------- */
.marquee { background: var(--accent); color: #fff; overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(0,0,0,.08); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--gold); font-size: .9em; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- перемикач міцності, шкала міцності, випадаючий список ---------- */
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 16px; background: var(--bg-2); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg label > span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; text-align: center; padding: 4px 6px; }
.seg input:checked + span { background: var(--surface); box-shadow: var(--shadow-sm); color: var(--accent); }
.seg input:focus-visible + span { outline: 3px solid var(--ember); }
.str { display: inline-flex; gap: 3px; }
.str i { width: 7px; height: 14px; border-radius: 2px; background: var(--line-2); }
.str i.on { background: currentColor; }
.select { position: relative; display: block; min-width: 0; }
.select select { appearance: none; width: 100%; max-width: 100%; text-overflow: ellipsis; min-height: 56px; padding: 0 48px 0 18px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer; transition: border-color .2s; }
.select select:hover, .select select:focus { border-color: var(--ink-3); outline: none; }
.select .ic { position: absolute; right: 16px; top: 50%; margin-top: -.625em; pointer-events: none; color: var(--ink-3); }

/* ---------- КАТАЛОГ ---------- */
.catalog { padding-bottom: clamp(72px, 8vw, 110px); }
.catalog__tools { display: flex; gap: 12px; flex-wrap: wrap; }
.search { position: relative; display: flex; align-items: center; }
.search .ic { position: absolute; left: 18px; color: var(--ink-3); }
.search input { width: min(340px, 100%); min-height: 56px; padding: 0 18px 0 50px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.catalog__tools .select select { min-width: 220px; }
@media (max-width: 640px) { .catalog__tools, .search, .search input, .catalog__tools .select { width: 100%; } }

.chips-bar { position: sticky; top: 65px; z-index: 30; padding: 12px 0; background: rgba(247,242,234,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .3s, margin-bottom .32s var(--ease); }
.chips-bar.is-stuck { box-shadow: 0 12px 24px -20px rgba(31,22,17,.45); border-bottom: 1px solid var(--line); }
.chips-bar.is-open { background: rgba(247,242,234,.98); box-shadow: 0 22px 34px -22px rgba(31,22,17,.55); }
.chips-bar.has-more { padding-bottom: 26px; } /* місце, щоб кнопка «Усі категорії» не тулилась до категорій */
.chips-bar.has-more + .container .cat-intro { margin-top: 34px; }
html.chips-open .to-top { opacity: 0; visibility: hidden; pointer-events: none; } /* стрілка стоїть над категоріями; «Дзвінок» і «Кошик» лишаються */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; overflow: hidden; scrollbar-width: none; padding: 4px 2px; overscroll-behavior: contain; transition: max-height .32s var(--ease); }
.chips.is-open { overflow-y: auto; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chips-more { position: absolute; left: 50%; bottom: -16px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: .85rem; white-space: nowrap; cursor: pointer; box-shadow: 0 8px 16px -10px rgba(31,22,17,.5); transition: border-color .2s; }
.chips-more::after { content: ""; position: absolute; inset: -8px 0; } /* більша зона натискання на телефоні */
.chips-more:hover { border-color: var(--ink-3); }
.chips-more small { color: var(--accent); font-weight: 800; font-size: .95em; }
.chips-more .ic { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.chips-more[aria-expanded="true"] .ic { transform: rotate(180deg); }
.chip.is-pin { order: -1; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); font-weight: 700; font-size: .95rem; white-space: nowrap; transition: border-color .2s, background .25s, color .25s, transform .2s; }
.chip:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.chip[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .ic { width: 1.1em; height: 1.1em; }
.chip small { font-weight: 600; opacity: .6; font-size: .8em; }

.cat-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 40px; align-items: start; margin: 32px 0 28px; padding: 28px 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.cat-intro h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; }
.cat-intro p { color: var(--ink-2); margin-top: 8px; font-size: 1.05rem; }
.cat-intro ul { display: grid; gap: 8px; }
.cat-intro li { position: relative; padding-left: 26px; color: var(--ink-2); }
.cat-intro li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 760px) { .cat-intro { grid-template-columns: 1fr; padding: 22px; } }
@media (max-width: 640px) { .cat-intro ul { display: none; } .cat-intro { margin: 20px 0; } .cat-intro h3 { font-size: 1.25rem; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.grid__more { display: flex; justify-content: center; margin-top: 40px; }

.card { --mx: 50%; --my: 30%; position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; animation: cardIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card__media { position: relative; aspect-ratio: 4 / 3; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); /* рядок сітки фіксованої висоти: квадратне фото (Don Marco) вписується в рамку 4:3, а не вилазить донизу */ place-items: center; padding: 22px; border: 0; background: radial-gradient(260px 180px at var(--mx) var(--my), #fff 0%, #f5eee4 60%, #ede3d4 100%); cursor: zoom-in; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(31,22,17,.18)); transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.07) rotate(-1.5deg); }
/* фото на весь блок (тютюн) */
.card__media--cover { padding: 0 !important; aspect-ratio: 1 / 1; } /* квадратне фото — показуємо цілим, без обрізання */
.card__media--cover img { object-fit: cover; filter: none; }
.card:hover .card__media--cover img { transform: scale(1.06); }
/* галерея фото на картці: стрілки, точки, свайп */
.card__gal { position: relative; }
.card__media { touch-action: pan-y; width: 100%; }
.card__media img.is-photo { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: calc(100% - 28px); max-height: calc(100% - 28px); border-radius: 12px; filter: none; box-shadow: 0 14px 26px -16px rgba(31,22,17,.55), 0 0 0 1px rgba(31,22,17,.06); }
.card:hover .card__media img.is-photo { transform: scale(1.03); }
.card__media--cover img.is-photo { max-width: none; max-height: none; width: 100%; height: 100%; border-radius: 0; box-shadow: none; object-fit: cover; }
.gal-dots { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); display: flex; gap: 5px; padding: 4px 7px; border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(4px); pointer-events: none; }
.gal-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(31,22,17,.25); transition: background .3s, transform .3s; }
.gal-dots i.on { background: var(--accent); transform: scale(1.25); }
.gal-dots b { font-size: .72rem; font-weight: 700; color: var(--ink-2); line-height: 1; }
.gal-arrow { position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; margin-top: -18px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: var(--ink); box-shadow: 0 6px 16px -6px rgba(31,22,17,.45); cursor: pointer; opacity: 0; transition: opacity .25s, transform .25s var(--ease), background .2s; }
.gal-arrow .ic { width: 18px; height: 18px; }
.gal-arrow--prev { left: 8px; } .gal-arrow--prev .ic { transform: rotate(90deg); }
.gal-arrow--next { right: 8px; } .gal-arrow--next .ic { transform: rotate(-90deg); }
.gal-arrow:hover { background: #fff; transform: scale(1.08); }
.gal-arrow:focus-visible { opacity: 1; }
.card:hover .gal-arrow, .qv__media .gal-arrow { opacity: 1; }
@media (hover: none) { .card .gal-arrow { opacity: .8; width: 26px; height: 26px; margin-top: -13px; } .card .gal-arrow .ic { width: 15px; height: 15px; } .card .gal-arrow--prev { left: 3px; } .card .gal-arrow--next { right: 3px; } }
.card__badge { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.card__badge--accent { background: var(--accent); }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.card__name { font-size: 1.04rem; font-weight: 700; line-height: 1.3; }
.card__name button { all: unset; cursor: pointer; }
@media (hover: hover) { .card__name button:hover { text-decoration: underline; text-underline-offset: 3px; } }
.card__spec { color: var(--ink-2); font-size: .92rem; line-height: 1.4; }
.card__code { color: var(--ink-3); font-size: .8rem; }
.card__strength { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: .85rem; font-weight: 700; }
.card__foot { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.price { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1; }
.price small { font-family: var(--f-body); font-size: .62em; font-weight: 700; margin-left: 3px; }
.price s { display: block; font-family: var(--f-body); font-size: .55em; font-weight: 600; color: var(--ink-3); margin-bottom: 2px; }
.add { width: 100%; }
.add .btn { width: 100%; }
/* вибір міцності тютюну на картці та в швидкому перегляді */
.seg.seg--card { grid-template-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; margin-top: 4px; }
.seg.seg--card label > span { flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 36px; padding: 4px 12px; border-radius: 9px; font-size: .88rem; }
.add__note { display: block; margin-top: 6px; text-align: center; color: var(--ink-2); font-size: .82rem; font-weight: 600; }
@media (max-width: 640px) {
  .card__media { padding: 14px; }
  .card__body { padding: 12px 12px 14px; }
  .card__name { font-size: .98rem; }
  .card__spec { font-size: .86rem; }
  .price { font-size: 1.3rem; }
  .add .btn { --h: 50px; padding: 0 10px; font-size: .95rem; }
}

/* степер кількості */
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; height: 52px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); border: 2px solid var(--ok); overflow: hidden; animation: pop .35s var(--ease); }
.stepper button { height: 100%; border: 0; background: transparent; color: inherit; display: grid; place-items: center; transition: background .2s; }
.stepper button:hover { background: rgba(46,122,76,.14); }
.stepper .ic { stroke-width: 2.6; }
.stepper output { text-align: center; font-weight: 800; font-size: 1.05rem; }
.stepper output small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: -3px; opacity: .8; }
.stepper--sm { grid-template-columns: 44px 44px 44px; height: 46px; background: var(--bg-2); color: var(--ink); border-color: var(--line); animation: none; }
.stepper--sm output small { display: none; }
.stepper--sm output { white-space: nowrap; }
.stepper--sm:has(output.is-kg) { grid-template-columns: 44px minmax(64px, auto) 44px; }
@media (max-width: 640px) { .stepper { grid-template-columns: 44px 1fr 44px; } .stepper output small { display: none; } }

.no-results { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--ink-2); font-size: 1.1rem; }

/* ---------- повзунок (бонуси, рекомендації) ---------- */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; touch-action: pan-y; background: transparent; cursor: pointer; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--ember) 0 var(--p), rgba(255,255,255,.15) var(--p) 100%); }
input[type=range]::-moz-range-track { height: 10px; border-radius: 10px; background: rgba(255,255,255,.15); }
input[type=range]::-moz-range-progress { height: 10px; border-radius: 10px; background: var(--ember); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -11px; border-radius: 50%; background: #fff; border: 6px solid var(--ember); box-shadow: 0 4px 14px rgba(0,0,0,.4); transition: transform .2s; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 6px solid var(--ember); box-shadow: 0 4px 14px rgba(0,0,0,.4); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }

/* ---------- ЯК ЦЕ ПРАЦЮЄ ---------- */
.how__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .how__inner { grid-template-columns: 1fr; } }
.steps { display: grid; gap: 14px; margin-top: 36px; counter-reset: s; }
.steps li { display: flex; gap: 20px; align-items: flex-start; padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.steps li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.steps li > b { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent); color: #fff; font-family: var(--f-display); font-size: 1.3rem; }
.steps h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.steps p { color: var(--ink-2); }
.video { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; background: var(--night); }
.video__btn { position: absolute; inset: 0; border: 0; padding: 0; background: none; width: 100%; height: 100%; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1s var(--ease), filter .5s; filter: brightness(.7) saturate(.9); }
.video__btn:hover img { transform: scale(1.08); filter: brightness(.6); }
.video__play { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 0 rgba(194,79,25,.6); animation: ping 2.4s var(--ease) infinite; }
.video__play .ic { width: 38px; height: 38px; fill: #fff; stroke: none; margin-left: 5px; }
.video__label { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: #fff; font-weight: 700; font-size: 1.05rem; text-shadow: 0 2px 10px rgba(0,0,0,.6); white-space: nowrap; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- ДОСТАВКА ---------- */
.delivery { background: var(--bg-2); }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1060px) { .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards4 { grid-template-columns: 1fr; } }
.info-card { position: relative; padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.info-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--accent-soft); transition: transform .6s var(--ease); z-index: 0; }
.info-card:hover::after { transform: scale(1.6); }
.info-card > * { position: relative; z-index: 1; }
.info-card__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; background: var(--ink); color: var(--gold); margin-bottom: 20px; }
.info-card__icon .ic { width: 28px; height: 28px; }
/* емблема Нової Пошти одним кольором: силует з np-icon.webp (червоне → видиме, біле → прозоре) */
.ic--np { --np: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAL/UlEQVR4Aezdx+tsSRUH8H4zZsw54F9gQBxxowvBPGbMY0AQBMEAIuhOEF2JgiiIYE5j2hk2oqijjoorFRe6EtQxi7gxjc730+93Zu6vp9O9t294/etHnV+FW3XOqe+pOlVddbvfVYsr49+lhpqPS/oDoZ+H/n5GP038/tA1oQrNNlU2u/hKMMDVQe3/oXuH3hv6dugNoUeE7nlGj0r8ppBn70msrjbaJjvfMHcD3CHQ3Rx6QOizobeE7hpSBuAmKbtbnr019KnQfUPK8EhynmHOBjB6/xvYAPmZxNeG/hUSPONimqTMM3Wek8QnQ/cK4VHPkp1XmKsBAGv0AvD6QPa00H9Cdw5t09kzddR9duoy3D0S44VnkvMKFJ6XRouF0cq1cDtfinLAB+Adk943qGvkM8Ln0+h+ITzxTnI+YW4G4K+Bff9AxOc/NTEguwBXvLgu7ogrw1t52M4jzMkAQAY2oAp8rqQPYHj+O1A/K8QIXBoZylM0fZiLAS4FCqMTQE2fz5XkUa9wp7RmSO5odmvCHAxgNPLPfXx+MN4aGJKBGcGaYJaRSfbWhkM/nNoA3AtgDuHzd2EFbLKuXSwWs/mcMKUBAMIf3yfIlc/nrxklRYMEMsmYzZowlQGaPp9LsNXkp/nrQZBvMCWDLO5o8jVhCgMYhfzvkD6/gffa5GzWhLENwL3ww3y+0ddnn78W2RaFBgJdJv2cMKYBdJjPd1L56QDF7fDHdDAjVul/qaMsUa+AR/GSbhJX6OyIO/p4pDi2oKPyZIcPOj+8lMVCh4w22z8+/xmLxULHuYIkF01QKq0N8rwP4YGKbzPG15pgIDw3GZsBA0SdZIcPYxlATx6SP18OPT30zxBQLIZG3DpiIEZL1V4BD7zWyVBGBwLo5BT1C8k8MDRKGMsARhTA35dePTlkyvO9m8jz2iqm+oILEbehamNU44XnJnnKPafbByOEromGD2MZQE9+lz9fDX0r9M0d9I08V++XiQUGFLehavOrNMILz11y1ftK6v8hNEoY0wA6ZBe0D90lldVz+5Vkr4AHXsVTehf1Etim8YgGWKrF57ahciPLxh3/4NFGprodRbVvNrYB2mt45C1OBpjYwIcywGi7honxOrj4QxmgdhwHV/DYGfY1QI18L0iN9uFlBkZ5UHRwbJFo+Slf3In6GMDZjpHvYM2nx8ecaaD8LHl0ke2rTnk9Up8drcCgc5+7GsDI9xHfyHeq+ZRo9Y/QRQn6+sx09hMhMwEWMEm2XehiANZmdef5RoGzHQoVr06KtFN78tr6qM/Ojhx1dH7vqEDbt0emIGtzO46UnWr64MIo+/I4lnr6rO+MYCa4WoUNjPbuYxsDlECCgG/kO2VsJXBvzeZZ0cxvagYTR9kO8hjBazWMonxZb9effQ1gyrEun++9nRr5dZ6/S86xPIfDal8MQEfa7hMMzFZrwj4GYE2W5/PrPJ8xCF5V5qLmDUSYcEefCwh77452GQDIGJfPn/ION/2adTBQYVXuiKuWh+FGxbcZAEP+DCNTi8/n77Yy3Cip2wMnmYegbtLbt4IZjMyEvdaETQbg61iv6fP5Ofen7dXq3oKx6Vix9L5UbcTdNWjfEkawqjXh7mEBS5gmeT7ozPmSxa3v53M73s838jHg51brDp13T/uXCPlTR9IWjzRfXvyLxyBYwcxMsGnZuCasGsBo0RD43I5XR7ghU2sMxUsGmdJeKXefi9zbtiFt0EcxCulXotECzPRj65rQNEA1KJ9vq8mfMcpoWq8Iuin5H4V+0pG0dRed5pME2MHQTFi7JpQBLkU9I4TPt40CPj/Gn+XRZIFeBkYfwmOyDkQwDGG5dk1gAJ2rff4X0wD4jMGPJTtpoBdd+hAek3YiwmGpD2ZCc024xAB5vrBIfCwJCy6/xSjJXqFhnmrDFLbWBFhz9VcxAMu8PTp74GxHxWRPYQAEYAvj54X320I3M8Djk3hjiHVMlal9ZlQ52gBbGMP6zenlNQzwmiS8tOShfLKnMCAChTHMr5Nxm0WetPhEwyNQWD9JwlvLRJoB4hMNj0Bh/VAGGF7cScImBJbbUOcsKsxhv0yPi0CF9U1mgFeyddqxr/hEwyNQWN/AAM4obItYBQ0v/mJLKIxhfj0DfC94fChUB0dJnsKACDicgzXMb2QAK/K7I9DvrfmxI5ZJtm041d8DAdjCGNbvSv2rGQD5Ss4rUnBDiHVUTPIUDogATGH7g/B8ZeiPoQXwnQU5o3Bu/oIUfjekogZJThrMTrr1ITwm7USEO46GKXfvHOi3KdOn5VlQ0osygiu8F6XgOyENNExysmDBolsfwmOyDkQwDJ3/fD9p2P45MWz1aTkDkl8GBR74XPCylDCChlPMhBq13kV6dHR5ZMhvg7YhbbSd8rV52MGQ23lJ+sDVyytPdnHOAAo8MDV+nwwj1JrAOCkaLXCNhDko/HoS6GuJ25A26LVpJ+iXeCyCpQEN/BdHKBdPBzMi2cuhOno5d/kvsFVkhOenyEyQxzDZUcKlMyle6XhY0g/vSNq6Zk3zfl+kwKAFwQr4fD4MC3zYnmOzzgAqqAj0vybDeoyA4Tnr5dnQgTyfGu2dxW2o2oiH1rPJn86w4vNhx6XLw7RZb5neZAAPNdAQg5enwO7onP9K2dCBfshgELehZpuh9Sz+Rj6MuB0+nxeBofKqcy7WoXMFKxkNdcTrIc01QflK1QufhQmwbwwSRj63I688RevDLgNoZSaUEZqfE0y18tXqXUhKp2EAC2BzO/b5wIfZVvDT9na7IGXrqIzQ/Jxgqo3tX9fpNmbZus8UMIAF8F8YZbhs4MMs2e1hnxlQHDBkZQJqTXCusdPKxeAIYqO92Q19hwGf/9I8sM+HEayS3R3aGAA3Alm31gQLcyuBmBwJAdnIt9W04NbxAoz27mJbA2BMcBnBHpcRfC3HFtHzi0D6qs/cjnWxwIdNq/53MQABBBn5f0vG7ogiFEr2QgRfxvtxemrknzvbSVmr0NUAhJhqNRMsPv5TnSoXHyPps379LH9a7XZSf23oYwAMzQSx3ZGtl/RFoF+nkz5kJVqeJIs7UV8DlNDV3UGVH3N8kD4fygDr9sfHDL6+HaTPhzIAhU7UAYEr0wAdOjrXJmMbwK6pDR1CPzzayFR3NHtRbjRhEWTXtA/5EoN69RXTNO0c8MCreErvos7C2jYc0wDud58YBf2Hm35xahv50shjU9dNWKJOt1m1S3Erhhee22R6RrcnROBo98hjGKCASL8W78gfPx/s54Hd126iuvt1J5wme5/aqltUfXtVCorfJnnK6US3d6Z+6VxxioYJpeQw3C9zre2aU9RXp8inyAcn9iU1s2Id+aK4Ov5zzlTtFfDAC891spTRRZ1fRBIdnWomuSjdpQehMQxQilvcnKI6vPJqnrMkftnB1iY6BAB4bOKvnA50carpcLEO1krvQeMxDWDhc3zr8Oq69MorL87SgUCPdXQIF4DHOt7KyKaDa0SHil4XZAy6RsXhAyWGl3KbBFd3NRNcYBh1OlyHXLfVHD5FJtnAd4dr5MsrH176mYSxDUCs0VVGMOXdJ4zdcSCT6SaLDsCnk3I6jkZTGEDnGAEATlGNPu5I3gzxfEgigyzge1dzdLfT7FwLAzSbHSRttAECAPwvd2SNUH4QAWuY4E0Gt8MF2hTQQfma6sMXTWkAvdNxU99dAkAYYShAyML7hxFs1v0msbzyJKcJUxtAr7mjMgJ/PIQ7arodPxszmc/X4SbNwQD0KSNYE/hlRuAqAOd5H8IDL27H1akPhAxOZh++B2k7FwPoDEC4hEOuCdxLge8C3TUiGWSROTnNyQDAAJjReYg1AcjANvJn4/N1sklzMwDdAFdGaK4JjOP5PsTt4GGricdsfP6q8nM0AB0Zwehtrgnyzm2c7aizjjyrdzWBbz3h0rTFc12bScvmagCgGPH8NwB9TvCJ2bmN8xvPgK0ekq4yP5JnEbetnXyfT7ltNGcD0LtciTXBIvqRFDpcM6LFyS6DtDLG+XBKjHz7fG6IYVI0zzB3A0CN6wCwM/rXpcCPyfpvUwAMcCTth2b9uPjrU8es0UbbZLuHoVveAgAA//8vooGsAAAABklEQVQDAK7HJ3rlI6/aAAAAAElFTkSuQmCC"); display: block; background: currentColor; -webkit-mask: var(--np) center / contain no-repeat; mask: var(--np) center / contain no-repeat; }
.info-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.info-card p { color: var(--ink-2); }
.info-card b { color: var(--accent-hover); }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__inner .btn { margin-top: 28px; }
@media (max-width: 960px) { .faq__inner { grid-template-columns: 1fr; gap: 32px; } }
.accordion { display: grid; gap: 12px; }
.accordion details { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; overflow: hidden; }
.accordion details[open] { box-shadow: var(--shadow); border-color: var(--line-2); }
.accordion summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-weight: 700; font-size: 1.08rem; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1611' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.accordion details[open] summary::after { transform: rotate(135deg); background-color: var(--accent-soft); }
.accordion details p { padding: 0 24px 22px; color: var(--ink-2); font-size: 1.04rem; }
.accordion details[open] p { animation: fadeDown .5s var(--ease); }

/* ---------- КОНТАКТИ ---------- */
.contacts { color: var(--on-night); background: radial-gradient(800px 400px at 15% 0%, rgba(255,138,61,.16), transparent 60%), var(--night); }
.contacts .section__lead { color: var(--on-night-2); }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .phones { grid-template-columns: 1fr; } }
.phone-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 26px 96px 26px 28px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); text-decoration: none; overflow: hidden; transition: transform .45s var(--ease), background .3s, border-color .3s; }
.phone-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.09); border-color: var(--ember); }
.phone-card small { color: var(--on-night-2); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }
.phone-card b { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, .9rem + 1vw, 1.6rem); white-space: nowrap; letter-spacing: -.01em; }
.phone-card__go { position: absolute; right: 24px; top: 50%; width: 56px; height: 56px; margin-top: -28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; transition: transform .45s var(--ease); }
.phone-card:hover .phone-card__go { transform: rotate(-12deg) scale(1.08); }
.contacts__row { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.hours { display: flex; gap: 14px; align-items: center; }
.hours .ic { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.07); color: var(--gold); }
.hours span { display: flex; flex-direction: column; color: var(--on-night-2); }
.hours b { color: var(--on-night); }
/* відгуки про нас: логотипи майданчиків */
.reviews { margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 20px; }
.reviews__head h3 { font-family: var(--f-display); font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); font-weight: 800; letter-spacing: -.02em; color: var(--on-night); }
.reviews__head p { color: var(--on-night-2); max-width: 520px; }
.reviews__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.review-card { flex: 0 1 calc((100% - 4 * 14px) / 5); display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 18px 36px -18px rgba(0,0,0,.6); transition: transform .3s var(--ease), box-shadow .3s; }
.review-card__logo { flex: 1; display: grid; place-items: center; min-height: 110px; padding: 18px 16px; }
.review-card__logo img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; transition: transform .3s var(--ease); }
.review-card__cap { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 10px; border-top: 1px solid var(--line); background: var(--bg-2); font-size: .84rem; font-weight: 700; text-align: center; line-height: 1.25; transition: background .2s, color .2s; }
.review-card__cap .ic { flex: none; width: 15px; height: 15px; transition: transform .25s var(--ease); }
.review-card:hover, .review-card:focus-visible { transform: translateY(-4px); box-shadow: 0 26px 44px -18px rgba(0,0,0,.75); outline: none; }
.review-card:hover .review-card__cap, .review-card:focus-visible .review-card__cap { background: var(--accent); color: #fff; }
.review-card:hover .review-card__cap .ic { transform: translateX(3px); }
.review-card:hover .review-card__logo img { transform: scale(1.05); }
@media (max-width: 1100px) { .review-card { flex-basis: calc((100% - 2 * 14px) / 3); } }
@media (max-width: 560px) { .reviews__grid { gap: 10px; } .review-card { flex-basis: calc((100% - 10px) / 2); } .review-card__logo { min-height: 88px; padding: 14px 12px; } .review-card__logo img { max-height: 44px; } .review-card__cap { font-size: .78rem; padding: 10px 8px; } }

/* ---------- ФУТЕР ---------- */
.footer { background: #0e0a08; color: var(--on-night-2); padding: 40px 0 120px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__warning { font-weight: 700; color: var(--on-night); padding: 12px 18px; border: 2px solid rgba(255,255,255,.2); border-radius: 14px; max-width: 560px; }
.footer__copy { font-size: .9rem; }
@media (min-width: 900px) { .footer { padding-bottom: 40px; } }

/* ---------- плаваючі кнопки ---------- */
.fab { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60; display: none; gap: 10px; transform: translateY(140%); transition: transform .5s var(--ease); }
.fab.is-shown { transform: none; }
.fab__btn { flex: 1; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 60px; border-radius: 999px; border: 0; font-weight: 800; font-size: 1.02rem; text-decoration: none; box-shadow: 0 16px 34px -12px rgba(0,0,0,.55); }
.fab__btn--call { flex: 0 0 auto; padding: 0 22px; background: var(--surface); color: var(--ink); border: 2px solid var(--line); }
.fab__btn--cart { background: var(--ink); color: #fff; }
.fab__btn--cart i { font-style: normal; min-width: 28px; height: 28px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; background: var(--accent); font-size: .85rem; }
@media (max-width: 900px) { .fab { display: flex; } }

/* ---------- КОШИК ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(21,16,12,.55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .45s var(--ease); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); display: flex; flex-direction: column; background: var(--bg); box-shadow: -30px 0 80px -20px rgba(0,0,0,.4); transform: translateX(105%); transition: transform .6s var(--ease); outline: none; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.drawer__head h2 { flex: 1; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; }
.drawer__step { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; animation: stepIn .5s var(--ease); }

.ship { margin: 16px 20px 0; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: .95rem; }
.ship p { display: flex; align-items: center; gap: 10px; }
.ship .ic { color: var(--accent); }
.ship b { color: var(--ink); }
.ship__bar { margin-top: 12px; height: 10px; border-radius: 10px; background: var(--bg-2); overflow: hidden; }
.ship__bar i { display: block; height: 100%; width: var(--p, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--ember), var(--gold)); transition: width .8s var(--ease); }
.ship.is-free { background: var(--ok-soft); border-color: #b9dfc6; color: var(--ok); }
.ship.is-free .ic { color: var(--ok); }

.lines { padding: 8px 20px; }
.line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: lineIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.line.is-removing { animation: lineOut .4s var(--ease) forwards; }
.line__img { width: 84px; height: 84px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 8px; } /* рядок сітки фіксованої висоти: високе фото (вулична попільничка) стискається в рамку, а не вилазить */
.line__img img { width: 100%; height: 100%; object-fit: contain; }
.line__img--cover { padding: 0; overflow: hidden; }
.line__img--cover img { object-fit: cover; }
[data-line-open] { cursor: pointer; }
.line__name[data-line-open]:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.line__img[data-line-open] { transition: transform .2s var(--ease), box-shadow .2s; }
.line__img[data-line-open]:hover { transform: scale(1.04); box-shadow: 0 8px 18px -8px rgba(31,22,17,.35); }
.line__name { font-weight: 700; line-height: 1.3; }
.line__opts { color: var(--ink-2); font-size: .88rem; margin-top: 2px; }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.line__price { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.line__price s { color: var(--ink-3); font-weight: 600; font-size: .85em; margin-right: 6px; }
.line__del { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--ink-3); font-size: .85rem; font-weight: 600; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.line__del:hover { color: var(--danger); }

.summary { margin-top: auto; position: sticky; bottom: 0; padding: 18px 20px 20px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -16px 30px -24px rgba(31,22,17,.4); display: grid; gap: 8px; }
.summary__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--ink-2); }
.summary__row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.summary__row--disc b { color: var(--ok); }
.summary__row--total { font-size: 1.15rem; color: var(--ink); font-weight: 700; padding-top: 6px; margin-bottom: 8px; }
.summary__row--total b { font-family: var(--f-display); font-size: 1.6rem; }

.empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 40px 28px; }
.empty__planet { width: 150px; height: 130px; background: url(../img/logo-eclipse.png?v=2) center/contain no-repeat; animation: float 6s ease-in-out infinite; margin-bottom: 12px; }
.empty h3 { font-family: var(--f-display); font-size: 1.35rem; }
.empty p { color: var(--ink-2); margin-bottom: 10px; }

/* форма */
.form { display: grid; gap: 18px; padding: 20px; }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode__opt input, .radio-card input { position: absolute; opacity: 0; }
.mode__opt { position: relative; }
/* «Заповнити все» / «Передзвоніть мені» — картки з іконкою (як кружечки телефонів у шапці); в обраній іконка заливається кольором і з'являється галочка */
.mode__opt span { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 14px 16px; border-radius: 18px; border: 2px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: border-color .25s, background .25s, box-shadow .3s, transform .25s var(--ease); }
.mode__opt b { padding-right: 24px; font-size: 1rem; line-height: 1.2; color: var(--ink); }
.mode__opt small { color: var(--ink-3); font-size: .82rem; line-height: 1.35; }
.mode__ico { width: 44px; height: 44px; margin-bottom: 6px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,138,61,.14); color: var(--ember); font-style: normal; transition: background .25s, color .25s; }
.mode__ico .ic { width: 22px; height: 22px; }
.mode__tick { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; color: transparent; font-style: normal; transition: background .25s, border-color .25s, color .25s, transform .3s var(--ease); }
.mode__tick .ic { width: 14px; height: 14px; stroke-width: 3; }
@media (hover: hover) { .mode__opt span:hover { transform: translateY(-2px); } }
.mode__opt input:checked + span, .radio-card input:checked + span { border-color: var(--accent); background: #fff7f1; box-shadow: 0 0 0 3px var(--accent-soft); }
.mode__opt input:checked + span { box-shadow: 0 14px 28px -18px rgba(194,79,25,.75); }
.mode__opt input:checked + span .mode__ico { background: var(--accent); color: #fff; }
.mode__opt input:checked + span .mode__tick { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.08); }
.mode__opt input:focus-visible + span, .radio-card input:focus-visible + span { outline: 3px solid var(--ember); outline-offset: 2px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-pair { display: flex; flex-wrap: wrap; gap: 16px; }
.field-pair .field { flex: 1 1 140px; align-content: start; }
.field-pair .field[hidden] { display: none; }
.field label, .field legend { font-weight: 700; padding: 0; }
.field input, .field textarea { width: 100%; min-height: 58px; padding: 14px 18px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); font-size: 1.05rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field__err { display: none; color: var(--danger); font-weight: 600; font-size: .9rem; }
.field.is-error input { border-color: var(--danger); background: #fff6f5; }
.field.is-error .field__err { display: block; animation: shake .4s; }
/* автопідказки: місто та відділення */
.ac { position: relative; }
.ac__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 290px; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(30, 20, 10, .18); }
.ac__opt { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; cursor: pointer; line-height: 1.3; }
.ac__opt b { font-weight: 700; }
.ac__opt small { color: var(--ink-2); font-size: .86rem; }
.ac__opt.is-active, .ac__opt:hover { background: var(--bg-2); }
.ac__msg { padding: 12px; color: var(--ink-2); font-size: .92rem; }
.ac__list--up { top: auto; bottom: calc(100% + 6px); } /* під полем мало місця (клавіатура, низ панелі) — список над полем */
/* Укрпошта: підказка під полем індексу (яке відділення / чий індекс) */
.up-hint { padding: 9px 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-size: .9rem; line-height: 1.4; }
.up-hint.is-warn { background: #fcefd2; color: #8a5a00; }
.up-btn { margin-left: 4px; padding: 3px 12px; border-radius: 999px; border: 1.5px solid currentColor; background: var(--surface); color: inherit; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.radio-card { position: relative; }
.radio-card[hidden] + .radio-card { grid-column: 1 / -1; }
.radio-card span { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 14px; white-space: nowrap; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.radio-card .ic { color: var(--accent); }
.form__full { display: grid; gap: 18px; }
.form__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.form__total b { font-family: var(--f-display); font-size: 1.5rem; }
.form__hint { color: var(--ok); font-weight: 600; font-size: .95rem; margin-top: -8px; }
.form__legal { color: var(--ink-3); font-size: .85rem; text-align: center; }
.btn.is-loading { pointer-events: none; color: transparent; }
.btn.is-loading::before { content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }

.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 40px 24px; }
.done__badge { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; box-shadow: 0 0 0 14px var(--ok-soft); animation: pop .7s var(--ease); margin-bottom: 14px; }
.done__badge .ic { width: 56px; height: 56px; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .35s var(--ease) forwards; }
.done h3 { font-family: var(--f-display); font-size: 1.45rem; }
.done p { color: var(--ink-2); font-size: 1.05rem; white-space: pre-line; }
.done__fallback { width: 100%; display: grid; gap: 10px; margin-top: 6px; }
.done > .btn { margin-top: 10px; }

/* ---------- МОДАЛКА ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(21,16,12,.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel { position: relative; width: 100%; max-width: 940px; max-height: calc(100svh - 40px); overflow: auto; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .45s var(--ease), transform .55s var(--ease); outline: none; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.qv { display: grid; grid-template-columns: 1.05fr 1fr; }
.qv__media { display: grid; place-items: center; padding: 40px; min-height: 380px; background: radial-gradient(400px 300px at 50% 40%, #fff, #efe6d8); }
.qv__media img { width: min(100%, 400px); height: auto; max-height: 380px; object-fit: contain; filter: drop-shadow(0 22px 24px rgba(31,22,17,.25)); animation: zoomIn .7s var(--ease); }
/* швидкий перегляд: фото в акуратній «рамці», без розтягування */
.qv__media--cover { padding: 36px; }
.qv__media.qv__media--cover img { width: min(100%, 440px); height: auto; aspect-ratio: 1 / 1; max-height: none; object-fit: cover; border-radius: 24px; filter: none; box-shadow: 0 30px 60px -26px rgba(31,22,17,.6), 0 0 0 1px rgba(31,22,17,.06); }
@media (max-width: 760px) {
  .qv__media.qv__media--cover { min-height: 0; padding: 64px 22px 10px; background: radial-gradient(300px 220px at 50% 45%, #fff, #efe6d8); }
  .qv__media.qv__media--cover img { width: min(100%, 320px); max-height: none; border-radius: 20px; }
}
/* галерея у швидкому перегляді */
.qv__stage { position: relative; display: grid; place-items: center; width: 100%; }
.qv__media--gal { grid-template-rows: minmax(0, 1fr) auto; gap: 16px; align-content: center; }
.qv__media--gal .qv__stage { min-height: 340px; }
.qv .qv__media img.qv__img.is-photo { width: auto; height: auto; max-width: 100%; max-height: 380px; aspect-ratio: auto; object-fit: contain; border-radius: 18px; filter: none; animation: none; box-shadow: 0 26px 50px -24px rgba(31,22,17,.55), 0 0 0 1px rgba(31,22,17,.06); }
.qv__media .gal-arrow { width: 42px; height: 42px; margin-top: -21px; }
.qv__media .gal-arrow--prev { left: -12px; } .qv__media .gal-arrow--next { right: -12px; }
.gal-thumbs { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding: 4px 2px; scrollbar-width: thin; scroll-behavior: smooth; }
.gal-thumb { flex: 0 0 auto; width: 58px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 12px; background: #fff; overflow: hidden; cursor: pointer; opacity: .62; transition: opacity .2s, border-color .2s, transform .2s var(--ease); box-shadow: 0 0 0 1px rgba(31,22,17,.08); }
.gal-thumb:hover { opacity: 1; transform: translateY(-2px); }
.gal-thumb.is-on { opacity: 1; border-color: var(--accent); }
.qv .qv__media .gal-thumb img { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: contain; border-radius: 0; filter: none; box-shadow: none; animation: none; }
@media (max-width: 760px) {
  .qv__media--gal .qv__stage { min-height: 240px; }
  .qv .qv__media img.qv__img.is-photo { max-height: 260px; border-radius: 14px; }
  .qv__media .gal-arrow--prev { left: -6px; } .qv__media .gal-arrow--next { right: -6px; }
  .gal-thumb { width: 50px; height: 50px; }
}
.qv__body { padding: 40px 36px 36px; display: flex; flex-direction: column; gap: 14px; }
.qv__cat { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.qv__body h3 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; padding-right: 40px; }
.qv__spec { color: var(--ink-2); font-size: 1.05rem; }
.qv__body .price { font-size: 2.2rem; color: var(--accent); }
.qv__body ul { display: grid; gap: 8px; padding: 16px 0; border-block: 1px solid var(--line); }
.qv__body li { position: relative; padding-left: 26px; color: var(--ink-2); }
.qv__body li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.qv__desc { padding: 16px 0; border-block: 1px solid var(--line); color: var(--ink-2); white-space: pre-line; }
.qv__buy { display: grid; gap: 10px; margin-top: auto; }
@media (max-width: 640px) { .modal { padding: 0; align-items: end; } .modal__panel { border-radius: 26px 26px 0 0; max-height: 92svh; transform: translateY(60px); } }
@media (max-width: 760px) { .qv { grid-template-columns: 1fr; } .qv__media { min-height: 260px; padding: 28px; } .qv__media img { max-height: 240px; } .qv__body { padding: 24px 22px 26px; } }

/* ---------- 18+ ---------- */
.age { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); overflow-x: hidden; overflow-y: auto; background: radial-gradient(90vmax 70vmax at 22% 28%, #33170a 0, #100810 52%, #050308 100%); color: var(--on-night); line-height: 1.5; transition: opacity .45s; }
.age:focus { outline: 0; }
.age__stars { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.age__stars--twinkle { animation: ageTwinkle 4.5s ease-in-out infinite; }
.age__wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(10px, 2.6vh, 30px); width: 100%; max-width: 1040px; text-align: center; }
.age__sys { --d: clamp(128px, min(38vw, 26vh), 300px); position: relative; display: grid; place-items: center; width: calc(var(--d) * 1.62); height: calc(var(--d) * 1.62); perspective: 1000px; transform-style: preserve-3d; animation: agePlanetIn 1.2s var(--ease) backwards; }
.age__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 46s linear infinite; }
.age__ring text { font: 700 8.4px var(--f-display); fill: var(--gold); text-anchor: middle; }
/* планета — ті самі шари, що .eclipse у шапці сайту; тіні рахуються від розміру диска */
.age__planet { position: absolute; left: 50%; top: 50%; width: calc(var(--d) / .54); height: calc(var(--d) / .54); margin: calc(var(--d) / -1.08) 0 0 calc(var(--d) / -1.08); transform: translateZ(0); pointer-events: none; transition: transform 1.15s cubic-bezier(.7,0,.84,0), filter .6s; }
.age__planet > div { position: absolute; border-radius: 50%; }
.age__glow { inset: -6%; background: radial-gradient(circle, rgba(255,120,30,.32) 28%, rgba(255,90,20,.12) 46%, transparent 66%); animation: breathe 7s ease-in-out infinite; }
.age__corona { inset: 12%; background: conic-gradient(from 0deg, rgba(255,150,50,0) 0deg, rgba(255,175,90,.75) 28deg, rgba(255,150,50,0) 64deg, rgba(255,200,120,.55) 130deg, rgba(255,150,50,0) 182deg, rgba(255,140,40,.7) 246deg, rgba(255,150,50,0) 298deg, rgba(255,185,95,.6) 336deg, rgba(255,150,50,0) 360deg); -webkit-mask: radial-gradient(circle, transparent 54%, #000 59%, #000 63%, transparent 75%); mask: radial-gradient(circle, transparent 54%, #000 59%, #000 63%, transparent 75%); filter: blur(calc(var(--d) * .033)); animation: spin 46s linear infinite; }
.age__corona--2 { inset: 6%; opacity: .55; filter: blur(calc(var(--d) * .073)); animation-duration: 70s; animation-direction: reverse; }
.age__disc { inset: 23%; background: radial-gradient(circle at 46% 44%, #0b0705 0%, #030201 62%, #160b05 100%); box-shadow: 0 0 0 1.5px rgba(255,226,170,.95), 0 0 calc(var(--d) * .02) calc(var(--d) * .007) rgba(255,200,120,.95), 0 0 calc(var(--d) * .073) calc(var(--d) * .02) rgba(255,150,50,.9), 0 0 calc(var(--d) * .2) calc(var(--d) * .06) rgba(255,110,25,.6), 0 0 calc(var(--d) * .46) calc(var(--d) * .166) rgba(255,85,10,.28), inset 0 0 calc(var(--d) * .086) calc(var(--d) * .013) rgba(255,130,40,.38), inset calc(var(--d) * .033) calc(var(--d) * .04) calc(var(--d) * .13) rgba(255,170,90,.12); }
.age__flare { left: 30.6%; top: 30.6%; width: 30%; height: 30%; margin: -15% 0 0 -15%; background: radial-gradient(circle, #fff 0 5%, rgba(255,246,215,.95) 9%, rgba(255,200,110,.6) 20%, rgba(255,140,40,.22) 38%, transparent 62%); mix-blend-mode: screen; animation: flare 5.5s ease-in-out infinite; }
.age__flare::before, .age__flare::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255,236,200,.9), rgba(255,180,90,.25) 60%, transparent); }
.age__flare::before { width: 280%; height: 3px; }
.age__flare::after { width: 3px; height: 160%; opacity: .6; }
.age__orbit { position: absolute; inset: -7%; transform-style: preserve-3d; transform: rotateX(74deg) rotateY(-16deg); pointer-events: none; }
.age__orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(240,184,90,.28); }
.age__spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: ageOrbit 8s linear infinite; }
.age__moon { position: absolute; left: 50%; top: 0; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe2b0, #f0a94e 58%, #a85a18); color: #2a1408; font: 800 19px var(--f-display); box-shadow: 0 0 22px rgba(255,170,90,.75); animation: ageMoonFace 8s linear infinite; }
.age__copy { display: grid; justify-items: center; gap: 12px; width: 100%; max-width: 480px; transition: opacity .35s, transform .35s; animation: ageRise .9s .25s both; }
.age h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 4.6vw, 2.1rem); line-height: 1.12; }
.age p { color: #e2d3c2; }
.age__btns { display: grid; gap: 10px; width: 100%; max-width: 400px; }
.age__btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 8px 20px; border: 2px solid transparent; border-radius: 999px; background: none; font-weight: 700; text-align: center; transition: transform .15s, background .2s, box-shadow .2s; }
.age__btn:active { transform: scale(.98); }
.age__btn--yes { background: linear-gradient(180deg, #ff9347, #d9591d); color: #1c0d04; box-shadow: 0 10px 30px -8px rgba(255,138,61,.75); }
.age__btn--no { min-height: 48px; border-color: rgba(246,238,228,.4); color: var(--on-night); }
@media (hover: hover) {
  .age__btn--yes:hover { box-shadow: 0 12px 38px -6px rgba(255,138,61,1); }
  .age__btn--no:hover { background: rgba(255,255,255,.1); }
}
.age p.age__no { color: #ffc49a; font-weight: 700; scroll-margin-bottom: 20px; }
.age.is-no .age__planet { filter: grayscale(.85) brightness(.65); }
.age.is-no .age__spin, .age.is-no .age__moon, .age.is-no .age__ring { animation-play-state: paused; }
/* «Так»: камера влітає в планету, далі плашка гасне і відкриває сайт */
.age.is-go { overflow: hidden; pointer-events: none; }
.age.is-go .age__copy { opacity: 0; transform: translateY(24px); }
.age.is-go .age__ring, .age.is-go .age__orbit { opacity: 0; transition: opacity .4s; }
.age.is-go .age__planet { transform: translateZ(0) scale(12); }
.age.is-go .age__corona, .age.is-go .age__flare { opacity: 0; transition: opacity .3s; animation: none; }
@media (min-width: 880px) {
  .age__wrap { grid-template-columns: 1fr 1fr; align-items: center; text-align: left; }
  .age__copy { justify-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .age__spin { transform: rotateZ(90deg); }
  .age__moon { transform: rotateZ(-90deg) rotateY(16deg) rotateX(-74deg); }
  .age.is-go .age__planet { transform: translateZ(0); }
}
@keyframes ageTwinkle { 50% { opacity: .15; } }
@keyframes agePlanetIn { from { opacity: 0; transform: translateY(50px) scale(.8); } }
@keyframes ageOrbit { to { transform: rotateZ(360deg); } }
@keyframes ageMoonFace { from { transform: rotateZ(0) rotateY(16deg) rotateX(-74deg); } to { transform: rotateZ(-360deg) rotateY(16deg) rotateX(-74deg); } }
@keyframes ageRise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- тост ---------- */
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 135; /* над вікном нічного бонусу (130) */ display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: .45s var(--ease); max-width: calc(100% - 24px); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.toast p { font-weight: 600; line-height: 1.3; }
.toast p small { display: block; color: var(--on-night-2); font-weight: 500; }
.toast .btn { --h: 44px; padding: 0 16px; font-size: .9rem; }
@media (min-width: 901px) { .toast { bottom: 28px; } }
/* кошик відкритий: тост не закриває «Оформити замовлення» — на телефоні зверху під заголовком, на широкому екрані посередині затемненої частини */
@media (max-width: 640px) { .drawer.is-open ~ .toast { top: calc(env(safe-area-inset-top, 0px) + 84px); bottom: auto; transform: translateY(-30px); } .drawer.is-open ~ .toast.is-on { transform: none; } }
@media (min-width: 1000px) { .drawer.is-open ~ .toast { left: calc((100% - 520px) / 2); } }
@media (max-width: 640px) { .toast { left: 12px; right: 12px; max-width: none; transform: translateY(30px); bottom: 88px; } .toast.is-on { transform: none; } .toast p { flex: 1; font-size: .92rem; } }
.toast__mid { display: block; text-align: center; } /* повідомлення нічного бонусу: рядки по центру рамки */
.toast:has(.toast__mid) { padding-left: 16px; padding-right: 16px; } /* звичайний toast має лівий відступ більший за правий */
.toast__l2 { display: block; }
/* над вікном нічного бонусу — компактно по центру, як саме вікно (браузер без :has лишає як було) */
@media (max-width: 640px) { body:has(.night.is-open) .toast { left: 50%; right: auto; width: max-content; max-width: calc(100% - 24px); padding-right: 18px; transform: translate(-50%, 30px); } body:has(.night.is-open) .toast.is-on { transform: translate(-50%, 0); } body:has(.night.is-open) .toast p { flex: none; } }

/* літаючий товар */
.flyer { position: fixed; z-index: 140; pointer-events: none; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }

/* ---------- keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .8; } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes bump { 30% { transform: scale(1.45); } 60% { transform: scale(.9); } }
@keyframes pop { 0% { transform: scale(.85); opacity: 0; } 60% { transform: scale(1.03); opacity: 1; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(194,79,25,.55); } 80%, 100% { box-shadow: 0 0 0 26px rgba(194,79,25,0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes lineIn { from { opacity: 0; transform: translateX(20px); } }
@keyframes lineOut { to { opacity: 0; transform: translateX(40px); height: 0; padding: 0; margin: 0; } }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.9); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- менше руху ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-hero-in], .word > span { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}


/* =========================================================
   МОБІЛЬНА АДАПТАЦІЯ
   ========================================================= */

/* сенсорні екрани: без «залипаючих» hover-ефектів, але з відгуком на дотик */
@media (hover: none) {
  .card:hover, .info-card:hover, .steps li:hover, .phone-card:hover,
  .chip:hover, .btn--primary:hover, .cart-btn:hover { transform: none; }
  .card:hover { box-shadow: none; border-color: var(--line); }
  .card:hover .card__media img { transform: none; }
  .info-card:hover::after { transform: none; }
  .btn--primary::after { display: none; }
  .icon-btn:hover { transform: none; }
  .card:active { transform: scale(.985); }
  .phone-card:active, .info-card:active, .chip:active { transform: scale(.98); }
}

/* безпечні зони (виріз, «чубчик», смужка «додому») */
.header__inner, .topbar__inner { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.summary { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.drawer__step[data-step="checkout"] .form, .done { padding-bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px)); }

/* блокування прокрутки (iOS-безпечне — робиться в JS через position: fixed) */
body.lock { overflow: hidden; }

/* перетягування панелей пальцем */
.drawer__panel.is-dragging, .modal__panel.is-dragging { transition: none !important; }
.sheet-handle { display: none; }

@media (max-width: 1080px) {
  .nav { padding-bottom: 20px; }
  .nav__call { display: flex !important; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; min-height: 58px; border-radius: 999px !important; background: var(--accent); color: #fff !important; font-weight: 800; }
  .nav__call::after { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  html { scroll-padding-top: 140px; }
  .header__inner, .header.is-scrolled .header__inner { height: 64px; }
  .header__inner, .topbar__inner { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .chips-bar { top: 63px; padding: 10px 0; }
  .chip { min-height: 46px; padding: 0 16px; font-size: .92rem; }
  /* телефон: дві рівні колонки — усі категорії вміщуються на екрані без прокручування */
  .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  /* назва зліва, цифра завжди біля правого краю — на тому самому місці в кожній кнопці */
  .chip { justify-content: space-between; gap: 6px; padding: 4px 12px 4px 14px; white-space: normal; text-align: left; line-height: 1.15; }
  .chip small { flex: none; min-width: 1.5em; text-align: right; font-variant-numeric: tabular-nums; }

  /* дрібні підписи — не менше 14px */
  .topbar { font-size: .84rem; }
  .eyebrow { font-size: .84rem; letter-spacing: .1em; }
  .card__badge { font-size: .84rem; }
  .phone-card small { font-size: .84rem; }
  .card__code { font-size: .84rem; }

  .hero__scroll { display: none; }
  .hero__title { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .hero__lead { margin-top: 18px; }
  .hero__cta { margin-top: 26px; }

  .section { padding: 64px 0; }
  .section__head { margin-bottom: 28px; }
  .section__lead { font-size: 1.05rem; }

  /* перемикач міцності */
  .seg label > span { flex-direction: column; gap: 6px; min-height: 64px; font-size: .95rem; }

  /* каталог */
  .catalog__tools { gap: 10px; }
  .grid { gap: 10px; }
  .card { border-radius: 18px; }
  .card__name { font-size: .98rem; }
  .add .btn { font-size: .95rem; gap: 6px; }
  .add .btn .ic { width: 1.1em; height: 1.1em; }
  .grid__more .btn { width: 100%; }

  /* як це працює */
  .steps li { padding: 16px; gap: 14px; }
  .steps li > b { width: 44px; height: 44px; font-size: 1.1rem; }
  .video { border-radius: 20px; }
  .video__play { width: 76px; height: 76px; margin: -38px 0 0 -38px; }

  /* FAQ */
  .accordion summary { padding: 18px 18px; font-size: 1.02rem; min-height: 64px; }
  .accordion details p { padding: 0 18px 18px; }
  .faq__inner .btn { width: 100%; }

  /* контакти */
  .phone-card { padding: 20px 88px 20px 20px; }
  .phone-card__go { right: 18px; width: 52px; height: 52px; margin-top: -26px; }
  .contacts__row { flex-direction: column; align-items: flex-start; }

  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .footer__inner { flex-direction: column; align-items: flex-start; }

  /* кошик на весь екран */
  .drawer__head { padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); }
  .drawer__head h2 { font-size: 1.2rem; }
  .ship { margin: 14px 16px 0; }
  .lines { padding: 4px 16px; }
  .line { grid-template-columns: 72px 1fr; gap: 12px; }
  .line__img { width: 72px; height: 72px; }
  .summary { padding-left: 16px; padding-right: 16px; }
  .form { padding: 16px; gap: 16px; }
  .mode__opt span { padding: 12px 12px 14px; }
  .radio-cards { gap: 8px; }
  .radio-card span { padding: 0 12px; gap: 8px; white-space: normal; line-height: 1.2; }

  /* швидкий перегляд — нижня шторка з ручкою */
  .sheet-handle { display: block; position: sticky; top: 0; z-index: 3; height: 22px; margin-bottom: -22px; }
  .sheet-handle::before { content: ""; position: absolute; left: 50%; top: 9px; width: 44px; height: 5px; margin-left: -22px; border-radius: 5px; background: rgba(31,22,17,.25); }
  .modal__panel { padding-bottom: env(safe-area-inset-bottom); }
  .qv__body .price { font-size: 1.9rem; }
}

@media (max-width: 360px) {
  .container { padding-inline: 12px; }
  .grid { gap: 8px; }
  .card__body { padding: 10px 10px 12px; }
  .add .btn .ic { display: none; }
  .logo__img { width: 40px; }
  .logo__text { font-size: .95rem; }
  .fab__btn--call span { display: none; }
  .fab__btn--call { padding: 0 18px; }
  .mode { grid-template-columns: 1fr; }
  /* пункти один під одним — картка горизонтальна: іконка зліва, текст справа */
  .mode__opt span { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; row-gap: 2px; align-items: center; }
  .mode__ico { grid-row: span 2; margin: 0; }
  .mode__opt small { grid-column: 2; }
}

/* телефон горизонтально */
@media (max-width: 960px) and (orientation: landscape) and (max-height: 520px) {
  .hero__inner { grid-template-columns: 1.3fr 1fr; align-items: center; padding-block: 28px 40px; gap: 20px; }
  .hero__visual { order: 0; max-width: 260px; width: 100%; margin: 0; }
  .hero__cta .btn { flex: 0 1 auto; }
  .chips-bar { position: relative; top: 0 !important; }
  .qv { grid-template-columns: 1fr 1.1fr; }
  .qv__media { min-height: 0; padding: 20px; }
  .qv__media img { max-height: 60svh; }
  .modal { padding: 10px; align-items: center; }
  .modal__panel { border-radius: 22px; max-height: calc(100svh - 20px); }
  .fab { left: auto; width: 360px; }
}

/* дрібні доведення зон дотику */
.topbar__text { min-height: 44px; padding: 6px 16px; font-size: max(.82rem, 14px); }
.topbar__inner { min-height: 52px; }
.logo { min-height: 44px; }
.header__phone { min-height: 44px; }
.card__badge { font-size: max(.75rem, 14px); }
@media (max-width: 960px) { .hero__scroll { display: none; } }

/* ---- вузькі екрани (до 400px) ---- */
.topbar__text-short { display: none; }
.topbar__item { white-space: nowrap; }
@media (max-width: 400px) {
  .topbar__text-long { display: none; }
  .topbar__text-short { display: inline; font-weight: 800; }
  .topbar__text { padding: 6px 14px; }
  .nav__call { flex-wrap: wrap; padding: 10px 16px; line-height: 1.25; text-align: center; }
  .toast img { display: none; }
  .toast { padding: 10px 10px 10px 16px; gap: 10px; }
  .toast p small { display: none; }
  .toast .btn { padding: 0 14px; }
}
@media (max-width: 360px) {
  .radio-cards { grid-template-columns: 1fr; }
}

/* ---- низькі екрани: компактний підсумок кошика ---- */
@media (max-height: 720px) and (max-width: 640px) {
  .summary { gap: 4px; padding-top: 12px; }
  .summary__row--total { margin-bottom: 4px; padding-top: 2px; }
  .summary__row--total b { font-size: 1.4rem; }
  .summary .btn--lg { --h: 54px; }
  .summary .btn--text { display: none; }
  .ship { padding: 12px 14px; font-size: .9rem; }
  .ship__bar { margin-top: 8px; }
  .fab__btn { height: 54px; }
}

/* телефон горизонтально: менше «хрому» зверху */
@media (orientation: landscape) and (max-height: 520px) {
  .topbar { display: none; }
  :root { --header-h: 60px; }
  .header__inner, .header.is-scrolled .header__inner { height: 60px; }
  .chips-bar { top: 59px; }
  .hero__title { font-size: clamp(1.8rem, 4.6vw, 2.6rem); }
  .hero__lead { font-size: 1rem; margin-top: 14px; }
  .hero__cta { margin-top: 20px; }
  .hero__facts { display: none; }
  .hero__inner { min-height: calc(100svh - 60px); }
  html { scroll-padding-top: 80px; }
}

/* кнопка «Нагору» */
.to-top { position: fixed; right: 20px; bottom: 76px; /* вище за плашку Netlify в кутку */ z-index: 55; width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.55); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .2s; }
.to-top .ic { width: 22px; height: 22px; transform: rotate(-90deg); }
.to-top:hover { background: var(--accent); }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 900px) { .to-top { right: 12px; width: 48px; height: 48px; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 74px); } }

/* ===== Повернення ===== */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }
.ret-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
@media (max-width: 900px) { .ret-cols { grid-template-columns: 1fr; } }
.ret-box { padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.ret-box h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.ret-box h3 .ic { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 12px; }
.ret-box--yes h3 .ic { background: var(--ok-soft); color: var(--ok); }
.ret-box--no h3 .ic { background: #fde8e6; color: var(--danger); }
.ret-box__lead { color: var(--ink-2); margin-bottom: 12px; }
.ret-box ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ret-box li { position: relative; padding-left: 24px; line-height: 1.45; }
.ret-box li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50%; }
.ret-box--yes li::before { background: var(--ok); }
.ret-box--no li::before { background: var(--danger); }
.ret-box__note { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); line-height: 1.45; }
.ret-box__note b { color: var(--accent-hover); }
.ret-subtitle { margin-top: 44px; font-family: var(--f-display); font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; }
.steps--grid { grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.steps--grid li { flex-direction: column; gap: 14px; }
.steps--grid li:hover { transform: translateY(-4px); }
.steps--grid a { color: var(--accent); font-weight: 700; white-space: nowrap; text-decoration: none; }
.steps--grid a:hover { text-decoration: underline; }
@media (max-width: 1060px) { .steps--grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps--grid { grid-template-columns: 1fr; } .steps--grid li { flex-direction: row; } }
.ret-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
@media (max-width: 760px) { .ret-facts { grid-template-columns: 1fr; } }
.ret-fact { padding: 22px 24px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); }
.ret-fact h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.ret-fact p { color: var(--ink-2); line-height: 1.5; }
.ret-fact b { color: var(--accent-hover); }
.accordion details p a { color: var(--accent); font-weight: 700; }

/* ===== Анімація сигарети на екрані «замовлення прийнято» ===== */
.cig { width: 300px; max-width: 86%; aspect-ratio: 260 / 170; margin: -6px auto 2px; background: radial-gradient(closest-side, rgba(255,138,61,.14), transparent 75%); }
.cig__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cig__smoke { transform-box: view-box; transform-origin: 206px 112px; animation: cigSway 6s ease-in-out infinite; }
.cig__p { fill: #b4a89c; opacity: 0; transform-box: fill-box; transform-origin: center; animation: cigRise 4.5s linear infinite; animation-delay: var(--d); }
.cig__wisp { stroke: #a99d91; stroke-width: 4; opacity: .55; }
.cig__ember { animation: cigEmber 2.4s ease-in-out infinite; }
.cig__glow { transform-box: fill-box; transform-origin: center; animation: cigGlow 2.4s ease-in-out infinite; }
@keyframes cigRise {
  0% { transform: translate(0, 0) scale(.5); opacity: 0; }
  8% { opacity: .55; }
  55% { opacity: .32; }
  100% { transform: translate(var(--x), -112px) scale(3.4); opacity: 0; }
}
@keyframes cigSway { 0%, 100% { transform: skewX(0deg); } 50% { transform: skewX(-7deg); } }
@keyframes cigEmber { 0%, 100% { opacity: 1; } 40% { opacity: .72; } 55% { opacity: 1; } 80% { opacity: .86; } }
@keyframes cigGlow { 0%, 100% { opacity: .95; transform: scale(1); } 40% { opacity: .5; transform: scale(.82); } 55% { opacity: 1; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  .cig__smoke, .cig__ember, .cig__glow { animation: none; }
  .cig__p { animation: none; opacity: 0; }
}

/* верхня смуга: тексти про безкоштовну доставку, що плавно змінюються */
.rot { display: inline-grid; overflow: hidden; vertical-align: middle; }
.rot__item { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(80%); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.rot__item.is-on { opacity: 1; transform: none; }
.rot__item.is-out { opacity: 0; transform: translateY(-80%); }
@media (prefers-reduced-motion: reduce) { .rot__item { transition: opacity .3s; transform: none !important; } }
.returns .section__head + .ret-subtitle { margin-top: 0; }

/* «Зроблено в Україні»: прапор, що майорить, у футері */
.footer__end { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
@media (max-width: 760px) { .footer__end { align-items: flex-start; } }
.ua { display: inline-flex; align-items: center; gap: 14px; cursor: default; outline: none; -webkit-tap-highlight-color: transparent; }
.ua__flag { flex: none; display: block; width: 84px; transition: transform .5s var(--ease); }
.ua__flag img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); }
.ua:hover .ua__flag { transform: scale(1.06); }
.ua__text { display: grid; gap: 4px; line-height: 1.1; white-space: nowrap; }
.ua__text b { display: block; }
/* обраний варіант: напис великими літерами з розрядкою + золотий рядок */
.ua--b .ua__l1 { font-family: "Montserrat", var(--f-body); font-weight: 700; font-size: 1.12rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.ua--b .ua__l2 { display: flex; align-items: center; gap: 10px; font-family: var(--f-body); font-weight: 700; font-size: .7rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.ua--b .ua__l2::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.footer__brand { display: grid; gap: 10px; justify-items: start; }
@media (max-width: 400px) { .ua__flag { width: 70px; } .ua--b .ua__l1 { font-size: 1rem; letter-spacing: .1em; } }

/* ================= Українські деталі ================= */




/* 4. Тризуб у тіні «планети» — лише в пам'ятні дати */
.eclipse__tryzub { display: none; position: absolute; left: 50%; top: 50%; width: 40%; height: auto; transform: translate(-50%, -50%); fill: #ffc46e; opacity: .07; animation: tzGlow 8s ease-in-out infinite; }
@keyframes tzGlow { 0%, 100% { opacity: .035; } 50% { opacity: .075; } }


/* 8. Падаючі зірки в кольорах прапора */
.shoot { position: absolute; z-index: 0; top: 7%; left: 50%; width: 190px; height: 3px; border-radius: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, #ffd700, #0057b7 55%, rgba(0,87,183,0)); filter: drop-shadow(0 0 8px rgba(255,215,0,.85)) drop-shadow(0 0 3px rgba(255,255,255,.6));
  transform: rotate(-28deg) translateX(0); animation: shoot 13s linear 4s infinite; }
.shoot--2 { top: 4%; left: 88%; width: 140px; animation-duration: 17s; animation-delay: 10s; }
@keyframes shoot {
  0%, 90% { opacity: 0; transform: rotate(-28deg) translateX(0); }
  91% { opacity: 1; }
  97% { opacity: 1; }
  100% { opacity: 0; transform: rotate(-28deg) translateX(-340px); }
}

/* 7. Конфеті «Слава Україні» */
.confetti { position: fixed; inset: 0; z-index: 300; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -16px; width: 9px; height: 14px; border-radius: 2px; animation: confFall var(--d) cubic-bezier(.2,.6,.4,1) var(--delay) forwards; }
@keyframes confFall { to { transform: translate(var(--x), 112vh) rotate(var(--r)); } }

/* 9–12. Плашки до пам’ятних дат */
.ua-banner { position: relative; z-index: 61; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 52px; font-weight: 700; font-size: .95rem; line-height: 1.35; text-align: center; color: #0b1c3a;
  background: linear-gradient(90deg, #0057b7 0 6px, #ffd700 6px calc(100% - 6px), #0057b7 calc(100% - 6px)); }
.ua-banner__flag { flex: none; width: 26px; height: 17px; border-radius: 3px; background: linear-gradient(#0057b7 50%, #ffd700 50%); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.ua-banner--memorial { color: #f3ead9; background: #1b1714; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 600; }
.ua-banner__close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.08); color: inherit; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.ua-banner--memorial .ua-banner__close { background: rgba(255,255,255,.08); }
.ua-day .logo__text::after { content: ""; display: inline-block; width: 22px; height: 15px; margin-left: 10px; border-radius: 2px; vertical-align: middle; background: linear-gradient(#0057b7 50%, #ffd700 50%); }
.ua-flag-day .ua__flag { width: 112px; }
.ua-memorial .shoot { display: none; }



@media (prefers-reduced-motion: reduce) {
  .shoot, .eclipse__tryzub { animation: none; }
}
.ua-flag-day .eclipse__tryzub, .ua-day .eclipse__tryzub, .ua-memorial .eclipse__tryzub, .ua-defenders .eclipse__tryzub { display: block; }

/* Розділювач між блоками: лінії розходяться від маленького «затемнення» */
.faq, .how, .delivery, .returns { position: relative; }
.divider { position: absolute; top: 0; left: 50%; z-index: 1; width: min(760px, calc(100% - 48px)); display: flex; align-items: center; gap: 14px; transform: translate(-50%, -50%); pointer-events: none; }
.divider__line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(194,79,25,0), rgba(194,79,25,.55)); transform: scaleX(0); transform-origin: right center; transition: transform 1.3s var(--ease) .2s; }
.divider__line:last-child { background: linear-gradient(90deg, rgba(194,79,25,.55), rgba(194,79,25,0)); transform-origin: left center; }
.divider__orb { flex: none; width: 14px; height: 14px; border-radius: 50%; opacity: 0; transform: scale(.3);
  background: radial-gradient(circle at 46% 44%, #0b0705 0%, #030201 62%, #160b05 100%);
  box-shadow: 0 0 0 1.5px rgba(255,226,170,.9), 0 0 6px 2px rgba(255,170,90,.8), 0 0 16px 4px rgba(255,120,30,.45);
  transition: opacity .8s var(--ease), transform .8s var(--ease); }
.divider.is-on .divider__line { transform: scaleX(1); }
.divider.is-on .divider__orb { opacity: 1; transform: none; animation: orbGlow 4.5s ease-in-out 1.2s infinite; }
@keyframes orbGlow { 50% { box-shadow: 0 0 0 1.5px rgba(255,236,190,1), 0 0 9px 3px rgba(255,190,110,.95), 0 0 28px 9px rgba(255,120,30,.55); } }
@media (prefers-reduced-motion: reduce) { .divider__line, .divider__orb { transition: none; } .divider.is-on .divider__orb { animation: none; } }

/* ---- Розділювачі «Історія тютюну» ---- */
.divider--hist { width: min(900px, calc(100% - 32px)); gap: 16px; }
.hist { flex: none; display: inline-flex; align-items: center; gap: 12px; max-width: min(460px, 78vw); padding: 7px 18px 7px 7px; border-radius: 999px; background: var(--surface); border: 1px solid rgba(194,79,25,.28); box-shadow: 0 10px 26px -14px rgba(31,22,17,.45); opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.divider--hist.is-on .hist { opacity: 1; transform: none; }
.hist__icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold); }
.hist__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.hist__text { display: flex; flex-direction: column; line-height: 1.2; }
.hist__text b { font-family: var(--f-display); font-weight: 800; font-size: 1.02rem; color: var(--accent); letter-spacing: -.01em; }
.hist__text small { font-size: .8rem; color: var(--ink-2); }
/* рухи іконок */
.divider--ship.is-on .hist__icon svg { animation: histBob 3.6s ease-in-out infinite; }
.divider--leaf.is-on .hist__icon svg { transform-origin: 30% 90%; animation: histSway 4s ease-in-out infinite; }
.hist__smoke { opacity: 0; }
.divider--pipe.is-on .hist__smoke, .divider--cig.is-on .hist__smoke { animation: histSmoke 3s ease-in-out infinite; }
.divider--cig .hist__ember { fill: #ff8a3d; stroke: #ff8a3d; }
.divider--cig.is-on .hist__ember { animation: histEmber 2.2s ease-in-out infinite; }
@keyframes histBob { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-1.5px) rotate(-4deg); } 65% { transform: translateY(1px) rotate(3deg); } }
@keyframes histSway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-9deg); } }
@keyframes histSmoke { 0% { opacity: 0; transform: translateY(2px); } 35% { opacity: .9; } 100% { opacity: 0; transform: translateY(-3px); } }
@keyframes histEmber { 50% { opacity: .55; } }
@media (max-width: 560px) {
  .divider--hist { gap: 8px; width: calc(100% - 24px); }
  .hist { padding: 6px 14px 6px 6px; gap: 10px; }
  .hist__icon { width: 34px; height: 34px; }
  .hist__icon svg { width: 19px; height: 19px; }
  .hist__text small { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) { .hist { transition: none; } .divider--hist .hist__icon svg, .hist__smoke, .hist__ember { animation: none !important; } .hist__smoke { opacity: .6; } }

/* 5-та плашка «Сьогодні» — між «Поверненням» і «Контактами» */
.contacts { position: relative; }
.hist__orb { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 46% 44%, #0b0705 0%, #030201 62%, #160b05 100%);
  box-shadow: 0 0 0 1.5px rgba(255,226,170,.95), 0 0 6px 2px rgba(255,190,110,.9), 0 0 14px 4px rgba(255,120,30,.55); }
.divider--today.is-on .hist__orb { animation: orbGlow 4.5s ease-in-out 1s infinite; }
@media (prefers-reduced-motion: reduce) { .divider--today .hist__orb { animation: none !important; } }
.divider--today .hist { background: linear-gradient(180deg, #2a1d15, #160f0b); border-color: rgba(255,138,61,.45); box-shadow: 0 12px 30px -14px rgba(0,0,0,.7), 0 0 0 4px rgba(255,138,61,.07); }
.divider--today .hist__icon { background: #0e0a08; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.divider--today .hist__text b { color: var(--gold); }
.divider--today .hist__text small { color: var(--on-night-2); }
.divider--today .divider__line { background: linear-gradient(90deg, rgba(255,138,61,0), rgba(255,138,61,.7)); }
.divider--today .divider__line:last-child { background: linear-gradient(90deg, rgba(255,138,61,.7), rgba(255,138,61,0)); }

/* Банер: цікаві факти про тютюн, змінюються кожні 10 с; плашка підлаштовується під текст */
.hero__chip--facts { display: block; overflow: hidden; box-sizing: border-box; }
@media (max-width: 960px) { .hero__chip--facts { display: none; } } /* «факт дня» — лише на ПК */
.fact { display: none; white-space: nowrap; }
.fact.is-on { display: flex; flex-direction: column; }

/* Оформлення: «Фірмове пакування — безкоштовно» */
.perk { display: flex; align-items: center; gap: 12px; margin-top: -6px; padding: 12px 16px 12px 12px; border-radius: 16px; background: linear-gradient(100deg, var(--accent-soft), #fff4ea); border: 1px dashed rgba(194,79,25,.45); }
.perk__icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: #fff; box-shadow: 0 8px 16px -8px rgba(194,79,25,.8); }
.perk__icon .ic { width: 21px; height: 21px; }
.perk__text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.perk__text b { font-size: .95rem; font-weight: 700; }
.perk__text small { font-size: .82rem; color: var(--ink-2); }
.perk--ship { background: linear-gradient(100deg, var(--ok-soft), #f1faf4); border-color: rgba(46,122,76,.45); animation: zoomIn .45s var(--ease); }
.perk--ship .perk__icon { background: var(--ok); box-shadow: 0 8px 16px -8px rgba(46,122,76,.8); }
.perk--ship .perk__price { background: #fff; }
.ship-tip { display: flex; align-items: center; gap: 12px; margin-top: -6px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; line-height: 1.4; }
.ship-tip b { color: var(--ink); }
.ship-tip__icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--bg-2); color: var(--ok); }
.ship-tip__icon .ic { width: 19px; height: 19px; }
[data-free-hint][hidden] { display: none !important; }
.perk__price { flex: none; padding: 5px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 800; font-size: .88rem; white-space: nowrap; }
[data-step="checkout"]:not([hidden]) .perk__icon { animation: perkWiggle 1.2s var(--ease) .4s 1 both; }
@keyframes perkWiggle { 0% { transform: scale(.6) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.08) rotate(6deg); opacity: 1; } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { [data-step="checkout"]:not([hidden]) .perk__icon { animation: none; } }

/* Оформлення: логотипи служб доставки */
.radio-card--logo span { justify-content: center; gap: 0; min-height: 64px; }
.radio-card--logo img { height: 28px; width: auto; max-width: 88%; object-fit: contain; filter: saturate(.85); opacity: .85; transition: filter .2s, opacity .2s, transform .2s var(--ease); }
.radio-card--logo b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.radio-card--logo input:checked + span img { filter: none; opacity: 1; transform: scale(1.04); }
.radio-card--logo img[src*="delivery/np"] { height: 36px; }

/* ===== Форма відгуків (у «Контактах») ===== */
.fb { margin-top: 32px; padding: 22px 24px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.fb__intro { display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; }
.fb__intro > div { flex: 1 1 320px; }
.fb__icon { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: rgba(255,138,61,.14); color: var(--ember); }
.fb__icon .ic { width: 24px; height: 24px; }
.fb h3 { color: var(--on-night); font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.fb p { color: var(--on-night-2); line-height: 1.5; }
.btn--outline-light { border: 1.5px solid rgba(255,255,255,.35); color: var(--on-night); background: transparent; }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn--text-light { background: none; border: 0; color: var(--on-night-2); text-decoration: underline; text-underline-offset: 3px; }
.btn--text-light:hover { color: var(--on-night); }
.fb.is-open .fb__toggle { display: none; }
.fb__form { display: grid; gap: 14px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); animation: fbIn .45s var(--ease); }
@keyframes fbIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.fb__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .fb__row { grid-template-columns: 1fr; } .fb { padding: 18px; } }
.fb__field { display: grid; gap: 7px; }
.fb__field > span { color: var(--on-night); font-weight: 600; font-size: .92rem; }
.fb__field em { font-style: normal; color: var(--on-night-2); font-weight: 400; }
.fb__field input, .fb__field textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: var(--on-night); font: inherit; font-size: 1rem; transition: border-color .2s, background .2s; }
.fb__field textarea { resize: vertical; min-height: 110px; }
.fb__field input::placeholder, .fb__field textarea::placeholder { color: rgba(246,239,230,.42); }
.fb__field input:focus, .fb__field textarea:focus { outline: none; border-color: var(--ember); background: rgba(255,255,255,.09); }
.fb__field.is-error input, .fb__field.is-error textarea { border-color: #ff7a6b; }
.fb__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fb__err { color: #ffb4a8; font-weight: 600; }
.fb__err a { color: var(--gold); }
.fb__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.fb__done { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); animation: fbIn .45s var(--ease); }
.fb__done-icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(46,122,76,.25); color: #7fdc9f; }
@media (prefers-reduced-motion: reduce) { .fb__form, .fb__done { animation: none; } }
.footer__warning { max-width: 640px; }
.footer__warning { text-align: center; }
/* «Ваша думка…» трохи нижче, не змінюючи висоти сторінки */
.fb { position: relative; top: calc((clamp(72px, 9vw, 130px) - 32px) / 2); } /* рівно посередині між «Відгуками» та низом розділу */
@media (max-width: 640px) { .fb { top: 16px; } }

/* Кольори міцності — однакові для всього тютюну: від жовтувато-помаранчевого (легкий) до яскраво-помаранчевого (міцний) */
.seg--card .str i.on, .card__strength .str i.on { background: var(--str-bar, currentColor); }
.seg--card input:checked + span { color: var(--str-txt, var(--accent)); }
.card__strength { color: var(--str-txt, var(--accent)); }
.lvl1 { --str-bar: #ffc457; --str-txt: #b07a10; }
.lvl2 { --str-bar: #ff8f3f; --str-txt: #c75514; }
.lvl3 { --str-bar: #f2600c; --str-txt: #b8380a; }

/* =========================================================
   СВЯТА (assets/js/holidays.js): Новий рік, Різдво, Миколай, Великдень
   ========================================================= */
.hol-fx { position: fixed; inset: 0; z-index: 52; pointer-events: none; }
.hol-banner { flex-wrap: wrap; row-gap: 6px; font-weight: 600; }
.hol-banner b { font-weight: 800; }
.hol-hint { opacity: .85; font-weight: 500; }
.hol-count { display: inline-block; min-width: 2.2em; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.18); font-variant-numeric: tabular-nums; }
.hol-banner__btn { flex: none; min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; background: #fff; color: #1f1611; box-shadow: 0 4px 12px -4px rgba(0,0,0,.4); transition: transform .2s var(--ease); }
.hol-banner__btn:hover { transform: translateY(-1px) scale(1.04); }
.hol-banner .ua-banner__close { background: rgba(255,255,255,.16); }
.hol-banner--ny { color: #fff; background: linear-gradient(90deg, #0b1d3a, #1d3a6e 50%, #0b1d3a); }
.hol-banner--ny .hol-count { color: #ffd166; background: rgba(255,209,102,.14); }
.hol-banner--xmas { color: #fff3c4; background: radial-gradient(120% 220% at 50% 0%, #9b1c2c, #5a0d17); }
.hol-banner--nick { color: #fff; background: linear-gradient(90deg, #12355b, #1f5c99, #12355b); }
.hol-banner--easter .ua-banner__close { background: rgba(0,0,0,.08); }
.hol-banner--easter { color: #2b2d1e; background: linear-gradient(90deg, #fef3c7, #ecfccb 50%, #fef3c7); }
.hol-banner--easter .hol-banner__btn { background: #c1121f; color: #fff; }
/* гірлянда під шапкою */
.hol-garland { position: absolute; left: 0; right: 0; bottom: -13px; height: 18px; display: flex; justify-content: space-around; pointer-events: none;
  background: radial-gradient(60% 9px at 50% 0, transparent 70%, rgba(40,30,20,.7) 72% 82%, transparent 85%) 0 0 / 34px 12px repeat-x; }
.hol-garland i { width: 8px; height: 12px; margin-top: 4px; border-radius: 50% 50% 45% 45%; background: var(--c); box-shadow: 0 0 10px 2px var(--c); animation: holBulb 1.4s ease-in-out var(--d) infinite alternate; }
@keyframes holBulb { from { opacity: .35; box-shadow: 0 0 2px 0 var(--c); } to { opacity: 1; } }

/* Різдвяна зірка в героя */
.hol-star { position: absolute; z-index: 3; top: 9%; right: 7%; width: 96px; height: 150px; padding: 0; border: 0; background: none; cursor: pointer; animation: holSway 4s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.hol-star svg { width: 96px; height: 96px; overflow: visible; filter: drop-shadow(0 0 14px rgba(255,209,102,.75)); }
.hol-star__rays path { fill: #ffd166; stroke: #b5651d; stroke-width: 1.5; }
.hol-star circle { fill: #c1121f; stroke: #ffd166; stroke-width: 3; }
.hol-star .hol-star__core { fill: #fff3c4; stroke: none; }
.hol-star__stick { position: absolute; left: 50%; top: 82px; width: 5px; height: 66px; margin-left: -2.5px; border-radius: 3px; background: linear-gradient(#8b5a2b, #5c3a1a); }
.hol-star.is-spin svg { animation: holSpin 1.1s var(--ease); }
.hol-star:focus-visible { outline: 2px solid #ffd166; outline-offset: 4px; border-radius: 12px; }
@keyframes holSpin { to { transform: rotate(360deg) scale(1.08); } }
@keyframes holSway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@media (max-width: 760px) { .hol-star { top: 4%; right: 4%; width: 64px; height: 104px; } .hol-star svg { width: 64px; height: 64px; } .hol-star__stick { top: 56px; height: 46px; } }

/* подарунки Миколая */
.hol-host { position: relative; }
.hol-gift { position: absolute; z-index: 3; width: 46px; height: 46px; padding: 0; border: 0; background: none; cursor: pointer; animation: holWiggle 3.2s ease-in-out var(--d) infinite; filter: drop-shadow(0 6px 8px rgba(0,0,0,.3)); }
.hol-gift svg { width: 100%; height: 100%; overflow: visible; }
.hol-gift__lid { transition: transform .6s var(--ease); transform-origin: 8px 22px; }
.hol-gift.is-open { animation: none; }
.hol-gift.is-open .hol-gift__lid { transform: translate(-6px, -18px) rotate(-28deg); }
.hol-gift.is-gone { opacity: 0; transform: scale(.4); transition: opacity .5s, transform .5s var(--ease); pointer-events: none; }
.hol-gift--hero { left: 4%; bottom: 7%; }
.hol-gift--catalog { right: 3%; top: 26px; }
.hol-gift--contacts { right: 4%; top: 30px; }
@keyframes holWiggle { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-12deg) scale(1.08); } 82% { transform: rotate(10deg) scale(1.08); } 88% { transform: rotate(-6deg); } }

.hol-quiet .hol-garland { display: none; }

/* підказка-бульбашка */
.hol-bubble { position: fixed; z-index: 120; max-width: min(320px, calc(100vw - 16px)); padding: 10px 14px; border-radius: 14px; background: #1f1611; color: #fff; font-size: .92rem; font-weight: 600; line-height: 1.35; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); pointer-events: none; animation: holPop .35s var(--ease); }
.hol-bubble.is-out { opacity: 0; transform: translateY(-8px); transition: opacity .35s, transform .35s; }
@keyframes holPop { from { opacity: 0; transform: translateY(8px) scale(.92); } }

/* гра «Битки» */
@keyframes holBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
.hol-game { position: fixed; z-index: 115; left: 50%; bottom: 24px; width: min(380px, calc(100vw - 24px)); transform: translateX(-50%); padding: 22px 20px 18px; border-radius: 24px; background: #fffdf7; color: #1f1611; text-align: center; box-shadow: 0 30px 70px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.06); animation: holPop .4s var(--ease); }
.hol-game h3 { font-family: var(--f-display); font-size: 1.2rem; }
.hol-game__rule { margin-top: 4px; color: #6b5a4e; font-size: .9rem; }
.hol-game__x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.06); font-size: 1.2rem; cursor: pointer; }
.hol-game__eggs { display: flex; justify-content: center; gap: 26px; margin: 14px 0 6px; }
.hol-egg { margin: 0; transition: transform .5s var(--ease); }
.hol-egg div { width: 86px; height: 104px; }
.hol-egg svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 10px rgba(0,0,0,.18)); }
.hol-egg--you div { transform: rotate(14deg); } .hol-egg--we div { transform: rotate(-14deg); }
.hol-egg figcaption { margin-top: 4px; font-size: .82rem; font-weight: 700; color: #6b5a4e; }
.hol-game.is-hit .hol-egg--you div { animation: holHitL .5s ease-in; }
.hol-game.is-hit .hol-egg--we div { animation: holHitR .5s ease-in; }
@keyframes holHitL { 60% { transform: translateX(20px) rotate(28deg); } 100% { transform: rotate(14deg); } }
@keyframes holHitR { 60% { transform: translateX(-20px) rotate(-28deg); } 100% { transform: rotate(-14deg); } }
.hol-egg .crack { opacity: 0; stroke-dasharray: 120; stroke-dashoffset: 120; }
.hol-egg.is-cracked .crack { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease-out; }
.hol-egg.is-cracked svg { filter: grayscale(.35) drop-shadow(0 8px 10px rgba(0,0,0,.18)); }
.hol-egg.is-win svg { animation: holBeat 1s ease-in-out; }
.hol-game__res { min-height: 1.4em; font-weight: 700; }
.hol-game__foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.hol-game__go { min-height: 44px; padding: 0 24px; border: 0; border-radius: 999px; background: #c1121f; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.hol-game__score { font-family: var(--f-display); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .hol-game { bottom: calc(86px + env(safe-area-inset-bottom)); } }

@media (prefers-reduced-motion: reduce) {
  .hol-garland i, .hol-star, .hol-gift { animation: none; }
}
@media (max-width: 640px) { .hol-banner { font-size: .84rem; padding: 9px 48px 9px 14px; } .hol-banner__btn { min-height: 30px; font-size: .82rem; } }

/* =========================================================
   «ПЛАНЕТА ПОДАРУНКІВ»: бонуси в кошику, промокод, секція на сторінці
   ========================================================= */
/* --- кошик: драбинка подарунків --- */
.tix { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.bonus__stop i .tix { width: 20px; height: 20px; }
.btier__icon .tix { width: 1.5rem; height: 1.5rem; }
.reward__badge .tix { width: 44px; height: 44px; }
.bonus { margin: 12px 20px 0; padding: 14px 16px 16px; border-radius: 18px; border: 1px solid #f0d9b5; background: linear-gradient(135deg, #fff8ec, #fff1df); }
.bonus.is-cheer { animation: cheer .7s var(--ease); }
@keyframes cheer { 30% { transform: scale(1.025); box-shadow: 0 0 0 4px rgba(240,184,90,.45); } }
.bonus__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bonus__title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: .95rem; color: var(--ink); }
.bonus__title .ic { color: var(--accent); }
.bonus__more { font-size: .82rem; font-weight: 600; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.bonus__msg { margin-top: 6px; font-size: .92rem; color: var(--ink-2); line-height: 1.4; }
.bonus__msg b { color: var(--accent); }
.bonus__track { position: relative; height: 54px; margin: 6px 26px 0; }
.bonus__rail { position: absolute; left: 0; right: 0; top: 17px; height: 8px; border-radius: 8px; background: #f1e3cc; overflow: hidden; }
.bonus__rail i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--ember, #e8742d), var(--gold)); transition: width .8s var(--ease); }
.bonus__stop { position: absolute; top: 0; left: var(--at); transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; }
.bonus__stop i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid #ead7b8; font-style: normal; font-size: 1rem; filter: grayscale(1); opacity: .7; transition: all .4s var(--ease); }
.bonus__stop small { font-size: .7rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bonus__stop.is-on i { filter: none; opacity: 1; border-color: var(--gold); background: #fff6e3; box-shadow: 0 0 0 4px rgba(240,184,90,.25), 0 6px 14px -6px rgba(194,79,25,.5); }
.bonus__stop.is-on small { color: var(--accent); }
.bonus__gift { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px dashed var(--gold); }
.bonus__gift.is-chosen { border-style: solid; border-color: #b9dfc6; background: var(--ok-soft); }
.bonus__gbig { font-size: 1.6rem; animation: giftBob 2.4s ease-in-out infinite; }
@keyframes giftBob { 50% { transform: translateY(-3px) rotate(-6deg); } }
.bonus__gimg { flex: none; width: 46px; height: 46px; border-radius: 10px; background: #fff; display: grid; place-items: center; padding: 4px; }
.bonus__gimg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bonus__gtxt { flex: 1; min-width: 0; display: grid; gap: 2px; line-height: 1.3; }
.bonus__gtxt b { font-size: .92rem; }
.bonus__gtxt small { color: var(--ink-2); font-size: .82rem; }
.bonus__gtxt s { color: var(--ink-3); margin-right: 4px; }
.bonus__code { margin-top: 10px; font-size: .86rem; color: var(--ink-2); }

/* --- вибір подарунка --- */
.gpick { display: grid; grid-auto-flow: column; grid-auto-columns: 118px; gap: 8px; overflow-x: auto; margin-top: 10px; padding: 2px 2px 8px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; animation: stepIn .4s var(--ease); }
.gpick__item { scroll-snap-align: start; display: grid; gap: 4px; align-content: start; padding: 8px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; text-align: left; font: inherit; cursor: pointer; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.gpick__item:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 16px -10px rgba(31,22,17,.4); }
.gpick__item.is-on { border-color: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.gpick__img { height: 70px; overflow: hidden; }
.gpick__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gpick__name { font-size: .78rem; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gpick__price { font-size: .78rem; font-weight: 800; color: var(--ok); }
.gpick__price s { color: var(--ink-3); font-weight: 600; margin-right: 3px; }

/* --- рядок-подарунок у кошику --- */
.line--gift .line__img { position: relative; border-color: #b9dfc6; background: var(--ok-soft); }
.line__ribbon { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); font-size: .85rem; }
.line__gift-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: .78rem; font-weight: 800; }
.line--gift .line__price { color: var(--ok); }
.summary__row--gift b { color: var(--ok); }
.summary__row--gift s { color: var(--ink-3); font-weight: 600; margin-right: 6px; font-size: .9em; }

/* --- промокод --- */
.promo { margin: 4px 20px 16px; }
.promo.is-cheer { animation: cheer .7s var(--ease); }
.promo__row { display: flex; align-items: center; gap: 8px; }
.promo__row .promo__form { flex: 1; min-width: 0; }
.promo__help { flex: none; width: 26px; height: 26px; display: grid; place-items: center; padding: 0; border: 1.5px solid var(--line-2); border-radius: 50%; background: var(--surface); color: var(--ink-3); font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.promo__help:hover, .promo__help[aria-expanded="true"] { border-color: var(--accent); color: #fff; background: var(--accent); }
.promo__info { margin-top: 8px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; line-height: 1.4; animation: stepIn .3s var(--ease); }
.promo__info b { display: block; margin-bottom: 6px; font-size: .9rem; }
.promo__info ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.promo__info li { display: flex; gap: 8px; }
.promo__info li i { font-style: normal; flex: none; }
.promo__info small { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); color: var(--ok); font-weight: 600; font-size: .82rem; }
.promo__toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 2px; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline dashed; text-underline-offset: 4px; }
.promo__form { display: flex; gap: 8px; }
.promo__form.is-shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.promo__form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font: inherit; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.promo__form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.promo__form { align-items: center; }
.promo__form .btn { --h: 44px; height: 44px; padding: 0 18px; font-size: .92rem; }
/* підказка «Введіть промокод»: звичайні літери; якщо не влазить — повільно їде туди й назад (клас is-run ставить app.js) */
.promo__field { position: relative; flex: 1; min-width: 0; display: flex; }
.promo__ph { position: absolute; inset: 0 14px; display: flex; align-items: center; overflow: hidden; pointer-events: none; white-space: nowrap; color: var(--ink-3); font-weight: 500; font-size: .88rem; text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; } /* у великих літер немає «хвостиків» униз, тому оком вони здаються вище центру */
/* після «Маю промокод» курсор не блимає; з'являється, щойно натиснули на поле або почали вводити (is-nocaret знімає app.js) */
.promo__form input { caret-color: var(--accent); }
.promo__form input.is-nocaret:placeholder-shown { caret-color: transparent; }
.promo__ph span { flex: none; }
.promo__field input:not(:placeholder-shown) + .promo__ph { display: none; }
.promo__ph.is-run span { animation: phRun 6s ease-in-out infinite alternate; }
@keyframes phRun { 0%, 20% { transform: translateX(0); } 80%, 100% { transform: translateX(var(--ph-shift)); } }
.promo__err { margin-top: 6px; color: var(--danger, #b3261e); font-size: .86rem; font-weight: 600; }
.promo__chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1.5px dashed var(--accent); }
.promo__tag { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: var(--accent); color: #fff; font-size: .82rem; letter-spacing: .04em; }
.promo__tag .ic { width: 13px; height: 13px; } /* заввишки з великі букви коду — стоїть з ними на одній лінії */
.promo__what { flex: 1; min-width: 0; font-size: .88rem; font-weight: 600; line-height: 1.3; }
.promo__what small { display: block; color: var(--ink-3); font-weight: 500; font-size: .78rem; }
.promo__del { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--bg-2, #efe6d8); font-size: 1.1rem; cursor: pointer; }
/* вузький екран: довгий код (NIGHT-…) лишає опису 1–2 слова в рядку — опис переносимо під код на всю ширину */
.promo--on { padding: 12px; border-radius: 16px; background: #fff; border: 1.5px dashed var(--accent); }
.promo--on .promo__chip { padding: 0; border: 0; border-radius: 0; background: none; }
.promo--on .promo__chip + p { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 480px) { .promo__chip { flex-wrap: wrap; } .promo__what { order: 3; flex-basis: 100%; } .promo__del { margin-left: auto; } }
.promo__note, .promo__ok { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-2); }
.promo__note b { color: var(--accent); }
.promo__note .promo__pick { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 1rem; font-weight: 800; } /* сума «до … ₴» уже є в рядку коду вище */
.promo__pick .ic { position: relative; top: -1px; /* на око власника: на 1 px вище за центр рядка */ width: 18px; height: 18px; color: var(--accent); }
.promo__note .btn, .promo__ok .btn { --h: 40px; padding: 0 18px; font-size: .92rem; }
.promo__ok { color: var(--ok); font-weight: 700; }
.promo--on .promo__ok { justify-content: center; font-size: 1rem; font-weight: 800; }
.promo--on .promo__note { justify-content: center; text-align: center; } /* у рамці коду всі рядки по центру */
/* «Вже в кошику» — зелена плашка, як «Подарунок» у рядку товару, заввишки з кнопку поруч */
.promo__got { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ok-soft); font-family: var(--f-display); font-weight: 600; font-size: .84rem; }
.promo__got .ic { position: relative; top: -1px; width: 14px; height: 14px; stroke-width: 3.2; } /* як іконка біля «Оберіть аксесуар»: на 1 px вище */
.promo--on .promo__ok, .promo--on .promo__note { column-gap: 16px; } /* однаковий відступ до «Змінити» і до «Обрати / Сховати» */
.promo__min { white-space: nowrap; } /* «(діє від 899 ₴)» не рветься: якщо не влазить — цілим на новий рядок */
.promo--on .promo__note .promo__pick { font-family: var(--f-display); font-weight: 600; font-size: .84rem; } /* тим самим шрифтом, що «Вже в кошику» */
/* телефон: плашка з «Сховати» вміщається в рядок від 375 px */
@media (max-width: 480px) { .promo__got, .promo--on .promo__note .promo__pick { font-size: .72rem; } .promo__got { gap: 6px; padding: 0 10px; } .promo--on .promo__ok, .promo--on .promo__note { column-gap: 12px; } .promo--on .promo__ok .btn, .promo--on .promo__note .btn { padding: 0 12px; } }
 /* як «Оберіть аксесуар», що стоїть тут до вибору */.promo__link { border: 0; background: none; color: var(--ink-3); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0; }

/* --- екран «Готово»: промокод на наступне замовлення --- */
.reward { width: 100%; position: relative; display: grid; gap: 8px; justify-items: center; margin-top: 4px; padding: 22px 18px 18px; border-radius: 20px; text-align: center; color: #fff; background: radial-gradient(120% 140% at 50% 0%, #3a2414, #15100c); box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); animation: zoomIn .6s var(--ease); }
.reward::before, .reward::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--bg); }
.reward::before { left: -11px; } .reward::after { right: -11px; }
.reward__badge { font-size: 2rem; }
.reward__title { font-family: var(--f-display); font-size: 1.05rem; color: var(--gold); }
.reward__code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.reward__code code { padding: 8px 14px; border: 1.5px dashed var(--gold); border-radius: 10px; font-family: ui-monospace, Consolas, monospace; font-size: 1.15rem; font-weight: 800; letter-spacing: .08em; color: #fff; }
.reward .btn--outline { color: #fff; border-color: rgba(255,255,255,.4); }
.reward small { color: rgba(255,255,255,.75); font-size: .85rem; line-height: 1.4; }

/* --- секція «Планета подарунків» --- */
.gifts { padding-top: clamp(40px, 6vw, 80px); }
.gifts__card { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(26px, 4vw, 52px); border-radius: 32px; color: var(--on-night, #f3ead9);
  background: radial-gradient(600px 340px at 85% 0%, rgba(240,184,90,.22), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(194,79,25,.3), transparent 70%), var(--night, #15100c);
  box-shadow: 0 40px 80px -40px rgba(31,22,17,.7); overflow: hidden; }
.gifts__card .h2 { color: #fff; }
.gifts__lead { margin-top: 14px; color: rgba(243,234,217,.82); font-size: 1.05rem; line-height: 1.55; }
.gifts__steps { display: grid; gap: 10px; margin-top: 22px; padding: 0; list-style: none; }
.gifts__steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.gifts__steps b { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(240,184,90,.16); color: var(--gold); font-family: var(--f-display); }
.gifts__play { display: grid; gap: 14px; align-content: start; }
.gifts__label { font-weight: 600; color: rgba(243,234,217,.8); }
.gifts__label output { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; color: #fff; margin-left: 6px; font-variant-numeric: tabular-nums; }
.gifts__range { position: relative; padding: 6px 0 18px; }
.gifts__range input { --p: 30%; width: 100%; height: 10px; margin: 0; border-radius: 10px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: linear-gradient(90deg, var(--accent), var(--gold)) 0 0 / var(--p) 100% no-repeat, rgba(255,255,255,.12); }
.gifts__range input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.gifts__range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); }
.gifts__range input:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.gifts__marks i { position: absolute; top: 2px; left: var(--at); width: 2px; height: 18px; margin-left: -1px; background: rgba(240,184,90,.6); pointer-events: none; }
.gifts__cart { position: absolute; left: var(--at); bottom: -4px; transform: translateX(-50%); padding: 1px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.gifts__result { display: grid; gap: 2px; min-height: 3em; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.gifts__result b { color: var(--gold); }
.gifts__result span { color: rgba(243,234,217,.7); font-size: .9rem; }
.gifts__tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; }
.btier { position: relative; display: grid; gap: 4px; align-content: start; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); opacity: .55; filter: saturate(.3); transition: opacity .4s, filter .4s, transform .4s var(--ease), border-color .4s, background .4s; }
.btier.is-on { opacity: 1; filter: none; border-color: rgba(240,184,90,.6); background: rgba(240,184,90,.1); }
.btier.is-cheer { animation: cheer .7s var(--ease); }
.btier__icon { font-size: 1.5rem; }
.btier__from { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.btier__what { font-size: 1rem; color: #fff; line-height: 1.25; }
.btier__when { color: rgba(243,234,217,.7); font-size: .8rem; line-height: 1.3; }
.btier__ex { display: flex; gap: 6px; margin-top: 6px; }
.btier__ex img { width: 40px; height: 40px; padding: 3px; border-radius: 10px; background: #fff; object-fit: contain; }
.btier__lock { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3ead9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); opacity: .6; }
.btier.is-on .btier__lock { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b85a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); opacity: 1; }
.gifts__promo { color: rgba(243,234,217,.75); font-size: .92rem; }
.gifts__play > .btn { justify-self: center; margin-top: 4px; }
@media (max-width: 900px) { .gifts__card { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .gifts__card { border-radius: 24px; padding: 24px 18px; } .gifts__tiers { grid-template-columns: 1fr 1fr; } .gifts__play > .btn { justify-self: stretch; } }
@media (prefers-reduced-motion: reduce) { .bonus__gbig, .bonus.is-cheer, .promo.is-cheer, .btier.is-cheer, .promo__form.is-shake, .promo__ph.is-run span { animation: none; } }
@media (max-width: 480px) { .bonus { margin-inline: 14px; } .bonus__gift { flex-wrap: wrap; } .bonus__gift .btn { flex: 1 1 100%; } .bonus__title { font-size: .88rem; } .bonus__track { margin-inline: 22px; } }
.btn--out { width: 100%; background: var(--bg-2); color: var(--ink-3); border: 1px dashed var(--line-2); cursor: not-allowed; box-shadow: none; }
/* мобільний футер: усе по центру */
@media (max-width: 760px) { .footer__inner { align-items: center; text-align: center; } .footer__brand { justify-items: center; } .footer__end { align-items: center; } .footer .ua__text { text-align: left; } }

/* найвужчі телефони (320 px): шапка й нижні кнопки вміщуються в екран */
@media (max-width: 340px) {
  .header__inner, .header.is-scrolled .header__inner { gap: 6px; }
  .header__actions { gap: 4px; }
  .logo { gap: 6px; }
  .logo__img { width: 26px; height: auto; }
  .logo__text { font-size: .72rem; letter-spacing: .04em; }
  .cart-btn { padding-left: 10px; padding-right: 8px; }
  .fab__btn--call { padding: 0 16px; }
}

/* невисокий екран телефона: категорії компактніші, щоб список вмістився над «Дзвінок» і «Кошик» */
@media (max-width: 640px) and (max-height: 650px) {
  .chips { gap: 6px; }
  .chip { min-height: 40px; padding: 2px 10px 2px 12px; font-size: .86rem; line-height: 1.1; }
}

/* ============ РЕКОМЕНДАЦІЇ ПІСЛЯ ДОДАВАННЯ В КОШИК ============ */
.recs { position: fixed; left: 12px; right: 12px; bottom: var(--recs-bottom, 12px); z-index: 115; max-height: calc(100vh - var(--recs-bottom, 12px) - 76px); max-height: calc(100dvh - var(--recs-bottom, 12px) - 76px); overflow-y: auto; overscroll-behavior: contain; padding: 8px 14px 12px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 26px 60px -18px rgba(31,22,17,.55), 0 4px 14px -6px rgba(31,22,17,.25); visibility: hidden; opacity: 0; transform: translateY(calc(100% + 24px)); transition: transform .5s var(--ease), opacity .3s, visibility 0s linear .5s; }
.recs.is-on { visibility: visible; opacity: 1; transform: none; transition: transform .5s var(--ease), opacity .3s, visibility 0s; }
.recs.is-dragging { transition: none; }
.recs__handle { display: none; margin: 0 auto 6px; }
.recs__head { display: flex; align-items: center; gap: 10px; }
.recs__ok { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e1f2e7; color: #2e7a4c; }
.recs__ok .ic { width: 17px; height: 17px; }
.recs__head p { flex: 1; min-width: 0; line-height: 1.25; }
.recs__head b { display: block; font-size: .95rem; }
.recs__head small { display: block; overflow: hidden; color: var(--ink-2); font-size: .82rem; white-space: nowrap; text-overflow: ellipsis; }
.recs__close { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; transition: background .2s; }
.recs__close:hover { background: rgba(31,22,17,.07); }
.recs__close .ic { width: 18px; height: 18px; }
.recs__close::after { content: ""; position: absolute; inset: -6px; }
.recs__title { margin: 8px 0 8px; font-weight: 700; font-size: .92rem; }
.recs__row { display: flex; gap: 10px; margin: 0 -14px; padding: 2px 14px 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding: 0 14px; -webkit-overflow-scrolling: touch; }
.recs__row::-webkit-scrollbar { display: none; }
.rec { flex: 0 0 128px; display: flex; flex-direction: column; min-width: 0; scroll-snap-align: start; animation: recIn .55s var(--ease) both; }
.rec:nth-child(2) { animation-delay: .06s; } .rec:nth-child(3) { animation-delay: .12s; } .rec:nth-child(4) { animation-delay: .18s; }
@keyframes recIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rec__media { display: block; width: 100%; height: 78px; padding: 6px; border: 0; border-radius: 14px; background: radial-gradient(120px 80px at 50% 40%, #fff, #efe6d8); cursor: zoom-in; overflow: hidden; }
.rec__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.rec__media:hover img { transform: scale(1.07); }
.recs__row.is-one-cat .rec__cat { display: none; }
.recs__row.is-one-cat .rec__name { margin-top: 6px; }
.rec__cat { margin-top: 6px; overflow: hidden; color: var(--ink-3); font-size: .72rem; white-space: nowrap; text-overflow: ellipsis; }
.rec__name { display: -webkit-box; min-height: 2.3em; overflow: hidden; font-size: .84rem; font-weight: 700; line-height: 1.15; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rec__price { margin: 3px 0 7px; font-size: .92rem; font-weight: 800; white-space: nowrap; }
.rec__price small { font-size: .76em; font-weight: 600; color: var(--ink-2); }
.rec--more { align-items: center; justify-content: center; gap: 4px; padding: 10px; border: 1px dashed var(--ink-3); border-radius: 14px; background: none; color: var(--ink); text-align: center; cursor: pointer; transition: background .2s, border-color .2s; }
.rec--more:hover { background: rgba(31,22,17,.05); border-color: var(--ink); }
.rec--more b { font-size: .86rem; line-height: 1.15; }
.rec--more small { color: var(--ink-2); font-size: .78rem; }
.rec--more .ic { width: 20px; height: 20px; margin-top: 4px; color: var(--accent); }
.rec__add { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 38px; margin-top: auto; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: .84rem; cursor: pointer; transition: background .2s, transform .15s; }
.rec__add:hover { background: var(--accent-hover, #a8410f); }
.rec__add:active { transform: scale(.96); }
.rec__add .ic { width: 15px; height: 15px; }
.rec__add--choose { background: var(--ink); }
.rec__add--choose:hover { background: #3a2c23; }
.rec__add--done { background: #e1f2e7; color: #2e7a4c; cursor: default; animation: recDone .4s var(--ease); }
.rec__add--done:hover { background: #e1f2e7; }
@keyframes recDone { from { transform: scale(.85); } to { transform: none; } }
.recs__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.recs__goal { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--ink-2); font-size: .8rem; line-height: 1.2; }
.recs__goal .ic { flex: none; width: 16px; height: 16px; color: var(--accent); }
.recs__goal b { color: var(--ink); white-space: nowrap; }
.recs__go { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 2px; border: 0; background: none; color: var(--accent); font-weight: 800; font-size: .86rem; white-space: nowrap; cursor: pointer; }
.recs__go .ic { width: 15px; height: 15px; }
@media (hover: none) { .recs__handle { display: block; } }
@media (min-width: 641px) { .recs { left: auto; right: 24px; width: 440px; } }
@media (min-width: 901px) { .recs { bottom: 24px; } }
/* невисокий телефон: фото менші, щоб панель не закривала весь екран */
@media (max-width: 640px) and (max-height: 650px) {
  .rec__media { height: 60px; }
  .recs__title { margin: 4px 0 6px; }
  .rec__add { min-height: 36px; }
}
/* телефон боком: стає праворуч над кнопками — на такому екрані місця над ними немає */
@media (max-height: 500px) and (orientation: landscape) {
  .recs { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); bottom: 8px !important; }
}
/* дуже низький екран: без підпису й з найменшими фото */
@media (max-height: 500px) {
  .recs__handle, .recs__title { display: none; }
  .recs__row { margin-top: 6px; }
  .rec__media { height: 48px; }
  .rec__cat { display: none; }
  .rec__name { min-height: 0; -webkit-line-clamp: 1; margin-top: 4px; }
  .rec__add { min-height: 32px; }
  .recs__foot { margin-top: 4px; padding-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .recs, .recs.is-on, .rec, .rec__add--done { transition: none; animation: none; } }

/* ползунок рекомендацій: лише там, де є миша; на телефоні ряд гортається пальцем.
   Вигляд — кнопки «назад/вперед» і вузька ручка зі стрілками, щоб було зрозуміло, що її можна тягнути */
.recs__slider, .recs__scroll { display: none; }
@media (hover: hover) and (pointer: fine) {
  .recs__row { cursor: grab; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
  .recs__row.is-grabbing { cursor: grabbing; }
  .recs__row.is-grabbing .rec__media { cursor: grabbing; }
  .recs__scroll:not([hidden]) { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
  .recs__step { flex: none; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
  .recs__step:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; }
  .recs__step:disabled { opacity: .35; cursor: default; }
  .recs__step .ic { width: 16px; height: 16px; }
  .recs__step--prev .ic { transform: rotate(90deg); }
  .recs__step--next .ic { transform: rotate(-90deg); }
  input.recs__slider { display: block; flex: 1; min-width: 0; width: auto; height: 30px; margin: 0; --p: 0%; touch-action: auto; cursor: grab; }
  input.recs__slider:active { cursor: grabbing; }
  input[type=range].recs__slider::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) 0 var(--p), var(--line) var(--p) 100%); }
  input[type=range].recs__slider::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
  input[type=range].recs__slider::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent); }
  input[type=range].recs__slider::-webkit-slider-thumb { width: 52px; height: 24px; margin-top: -9px; border: 0; border-radius: 999px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 2 6l4 4M18 2l4 4-4 4'/%3E%3C/svg%3E") center / 22px 11px no-repeat; box-shadow: 0 3px 9px rgba(31,22,17,.35); cursor: grab; transition: filter .2s, transform .2s; }
  input[type=range].recs__slider::-moz-range-thumb { width: 52px; height: 24px; border: 0; border-radius: 999px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 2 6l4 4M18 2l4 4-4 4'/%3E%3C/svg%3E") center / 22px 11px no-repeat; box-shadow: 0 3px 9px rgba(31,22,17,.35); cursor: grab; }
  input[type=range].recs__slider:hover::-webkit-slider-thumb { filter: brightness(.9); }
  input[type=range].recs__slider:active::-webkit-slider-thumb { transform: scale(1.06); cursor: grabbing; }
}

/* ---------- Нічний бонус (app.js, night.php) ---------- */
.night { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.night.is-open { visibility: visible; }
.night__backdrop { position: absolute; inset: 0; background: rgba(21,16,12,.7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.night.is-open .night__backdrop { opacity: 1; }
.night__panel { position: relative; width: 100%; max-width: 440px; max-height: calc(100svh - 32px); overflow: auto; padding: 28px 26px 22px; border-radius: 28px; text-align: center; outline: none;
  color: var(--on-night); background: radial-gradient(120% 70% at 50% 0%, #3a2a1f 0%, var(--night-2) 55%, var(--night) 100%); border: 1px solid rgba(240,184,90,.25); box-shadow: var(--shadow-lg), 0 0 80px -20px rgba(240,184,90,.35);
  opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.night.is-open .night__panel { opacity: 1; transform: none; }
.night__x { position: absolute; z-index: 2; /* інакше низ хрестика перекриває .night__sky */ top: 12px; right: 12px; width: 38px; height: 38px; background: rgba(255,255,255,.08); color: var(--on-night); }
.night__x .ic { width: 18px; height: 18px; }
.night__x:hover { background: rgba(255,255,255,.16); }
.night__sky { position: relative; height: 110px; margin: 0 auto 4px; }
.night__moon { position: absolute; left: 50%; top: 0; margin-left: -66px; overflow: visible; filter: drop-shadow(0 0 14px rgba(240,184,90,.5)); }
.night__ember { animation: night-ember 3.6s ease-in-out infinite; }
.night__puff { fill: #f6eee4; opacity: 0; transform-box: fill-box; transform-origin: center; animation: night-smoke 3.6s ease-out infinite; }
.night__puff:nth-of-type(3) { animation-delay: 1.2s; } .night__puff:nth-of-type(4) { animation-delay: 2.4s; } /* кола 2–4 у svg (1-ше — жарина) */
@keyframes night-ember { 0%, 55%, 100% { opacity: .45; } 70% { opacity: 1; } }
@keyframes night-smoke { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 20% { opacity: .55; } 100% { opacity: 0; transform: translate(7px, -28px) scale(2.8); } }
.night__sky i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: night-tw 2.6s ease-in-out infinite; }
.night__sky i:nth-child(2) { left: 18%; top: 22%; } .night__sky i:nth-child(3) { left: 78%; top: 12%; animation-delay: .6s; }
.night__sky i:nth-child(4) { left: 28%; top: 72%; width: 3px; height: 3px; animation-delay: 1.2s; } .night__sky i:nth-child(5) { left: 70%; top: 66%; animation-delay: 1.8s; }
.night__sky i:nth-child(6) { left: 88%; top: 48%; width: 3px; height: 3px; animation-delay: .3s; }
@keyframes night-tw { 50% { opacity: .2; transform: scale(.6); } }
.night__title { margin: 0 0 12px; font-family: var(--f-display); font-size: 1.85rem; line-height: 1.1; color: #ffd98a; text-shadow: 0 0 24px rgba(240,184,90,.45); }
.night__title span { display: block; margin-top: 6px; font: 700 .8rem var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--ember); text-shadow: none; }
.night__text { color: var(--on-night-2); line-height: 1.45; }
.night__code { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 8px; padding: 12px 18px; border-radius: 14px; border: 2px dashed var(--gold); background: rgba(240,184,90,.08); color: #fff; font: 700 1.15rem/1 var(--f-body); letter-spacing: .06em; cursor: pointer; }
.night__code .ic { width: 20px; height: 20px; color: var(--gold); }
.night__code:hover { background: rgba(240,184,90,.16); }
.night__timer { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--on-night-2); }
.night__timer b { color: var(--ember); font-variant-numeric: tabular-nums; font-size: 1.1rem; min-width: 3.2em; text-align: left; }
.night__timer .ic { width: 18px; height: 18px; }
.night__go { width: 100%; margin-top: 18px; }
.night__later { margin-top: 6px; padding: 10px 16px; border: 0; background: none; color: var(--on-night-2); font: inherit; text-decoration: underline; cursor: pointer; }
.night__fine { display: block; margin-top: 8px; color: var(--on-night-2); opacity: .75; font-size: .8rem; }
.night-chip { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px 14px 16px; /* емодзі з порожнім полем зліва й сидить низько — вирівнюємо на око */ border-radius: 999px; border: 1px solid rgba(240,184,90,.45); background: var(--night-2); color: var(--on-night); font: 700 .95rem var(--f-body); box-shadow: 0 16px 34px -12px rgba(0,0,0,.6); cursor: pointer; animation: night-in .5s var(--ease); }
.night-chip[hidden] { display: none; }
.night-chip b { color: var(--gold); font-variant-numeric: tabular-nums; }
@keyframes night-in { from { opacity: 0; transform: translateY(20px); } }
@media (max-width: 900px) { .night-chip { left: 12px; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 72px); } }
@media (prefers-reduced-motion: reduce) { .night__sky i, .night-chip, .night__ember, .night__puff { animation: none; } .night__puff:nth-of-type(2) { opacity: .4; } .night__panel { transition: opacity .2s; transform: none; } }
