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

@font-face {
  font-family: "Eurofurence";
  src: url(../fonts/eurofurence-light.ttf) format("truetype");
  font-weight: 300; font-display: swap;
}

: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", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-display: "Unbounded", "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; }
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__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); }
@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: 1061px) { .header__phone span { display: none; } .nav a { padding: 10px 10px; } }
@media (max-width: 1060px) {
  .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; }
}
@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; }
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; }

/* ---------- НАБОРИ ---------- */
.sets { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.sets__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .sets__grid { grid-template-columns: minmax(0, 1fr); } }
.set { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; min-width: 0; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.set:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.set--hit { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.set__ribbon { position: absolute; top: 20px; right: 20px; z-index: 3; background: var(--accent); color: #fff; font-weight: 700; font-size: .82rem; padding: 8px 14px; border-radius: 999px; letter-spacing: .02em; }
.set__stage { position: relative; aspect-ratio: 16 / 7; background: radial-gradient(420px 220px at 50% 70%, #fff 0%, transparent 70%), linear-gradient(160deg, #2a1e17, #15100c); overflow: hidden; }
.set__stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 160px at 50% 75%, rgba(255,138,61,.35), transparent 70%); }
.set__stage img { position: absolute; filter: drop-shadow(0 18px 20px rgba(0,0,0,.45)); transition: transform .8s var(--ease); }
.set__stage .s-tob { width: 32%; left: 17%; bottom: 9%; }
.set__stage .s-tub { width: 37%; left: 46%; bottom: 14%; z-index: 2; }
.set__stage .s-fil { width: 25%; left: 64%; bottom: 4%; z-index: 3; }
.set--two .s-tob { width: 34%; left: 15%; }
.set--two .s-tub { width: 39%; left: 47%; }
@media (max-width: 640px) { .set__stage { aspect-ratio: 16 / 9; } .set__body { padding: 22px 20px 22px; } .set__ribbon { top: 12px; right: 12px; font-size: .75rem; } }
.set:hover .s-tob { transform: translateY(-8px) rotate(-6deg); }
.set:hover .s-tub { transform: translateY(-14px) rotate(3deg); }
.set:hover .s-fil { transform: translate(6px, -10px) rotate(-8deg); }
.set__body { display: flex; flex-direction: column; gap: 18px; padding: 28px 30px 30px; }
.set__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.set__title h3 { font-family: var(--f-display); font-size: 1.55rem; font-weight: 700; }
.set__price { font-family: var(--f-display); font-weight: 800; font-size: 2.1rem; color: var(--accent); white-space: nowrap; }
.set__price small { font-size: .55em; font-weight: 600; color: var(--ink-3); margin-left: 4px; }
.set__note { color: var(--ink-2); margin-top: -10px; }
.set__list { display: grid; gap: 10px; }
.set__list li { display: flex; gap: 12px; align-items: flex-start; }
.set__list .ic { color: var(--ok); width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--ok-soft); stroke-width: 3; margin-top: 1px; }
.set__yield { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-hover); font-weight: 700; font-size: .9rem; }
.opt { display: grid; gap: 10px; }
.opt__label { font-weight: 700; font-size: .95rem; }
.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); }
.set__buy { margin-top: auto; }

.wholesale { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 30px; border-radius: 24px; background: var(--ink); color: var(--on-night); }
.wholesale h3 { font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; }
.wholesale p { color: var(--on-night-2); margin-top: 6px; }
.wholesale__tiers { display: flex; flex-wrap: wrap; gap: 10px; }
.wholesale__tiers li { display: flex; flex-direction: column; align-items: center; padding: 10px 18px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); min-width: 108px; transition: transform .3s var(--ease), background .3s; }
.wholesale__tiers li:hover { transform: translateY(-3px); background: rgba(255,255,255,.1); }
.wholesale__tiers b { font-family: var(--f-display); font-size: 1.5rem; color: var(--gold); line-height: 1.1; }
.wholesale__tiers span { font-size: .85rem; color: var(--on-night-2); }

/* ---------- КАТАЛОГ ---------- */
.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; }
.chips-bar.is-stuck { box-shadow: 0 12px 24px -20px rgba(31,22,17,.45); border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; scroll-snap-align: start; 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; 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__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__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; }

/* ---------- ЕКОНОМІЯ ---------- */
.economy { color: var(--on-night); background: radial-gradient(900px 500px at 85% 20%, rgba(255,138,61,.18), transparent 60%), linear-gradient(180deg, var(--night-2), var(--night)); overflow: hidden; }
.economy .section__lead { color: var(--on-night-2); }
.economy__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .economy__inner { grid-template-columns: 1fr; } }
.calc { margin-top: 36px; display: grid; gap: 28px; }
.calc__row { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: center; }
.calc__row label { font-weight: 600; font-size: 1.05rem; }
.calc__row output { font-family: var(--f-display); font-weight: 700; color: var(--gold); font-size: 1.15rem; white-space: nowrap; }
.calc__row input { grid-column: 1 / -1; }
.calc__note { color: var(--on-night-2); padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.18); }
.calc__note b { color: var(--on-night); }

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); }

.economy__result { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 28px; border-radius: 28px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.saving { padding: 20px 22px; border-radius: 20px; background: rgba(255,255,255,.05); }
.saving span { display: block; color: var(--on-night-2); font-size: .95rem; }
.saving b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; line-height: 1.2; margin-top: 4px; font-variant-numeric: tabular-nums; }
.saving--year { grid-column: 1 / -1; background: linear-gradient(120deg, var(--accent), #e0702c 60%, var(--gold)); box-shadow: 0 24px 50px -24px rgba(255,138,61,.8); }
.saving--year span { color: rgba(255,255,255,.88); }
.saving--year b { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); color: #fff; }
.compare { grid-column: 1 / -1; display: grid; gap: 14px; margin: 8px 0 6px; }
.compare__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: .92rem; color: var(--on-night-2); }
.compare__row i { grid-column: 1 / -1; grid-row: 2; height: 12px; border-radius: 10px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.compare__row i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: #8d7b6b; transition: width 1s var(--ease); }
.compare__row--own i::after { background: var(--ember); }
.compare__row b { color: var(--on-night); font-variant-numeric: tabular-nums; }
.economy__result .btn { grid-column: 1 / -1; margin-top: 4px; }
@media (max-width: 480px) { .economy__result { grid-template-columns: 1fr; padding: 18px; } .saving b { font-size: 1.6rem; } }

/* ---------- ЯК ЦЕ ПРАЦЮЄ ---------- */
.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; }
.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; 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) 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 { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface); font-size: .85rem; color: var(--ink-2); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.mode__opt b { font-size: 1rem; color: var(--ink); }
.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: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 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; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.radio-card { position: relative; }
.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; }
.done__fallback { width: 100%; display: grid; gap: 10px; margin-top: 6px; }
.done__fallback pre { text-align: left; white-space: pre-wrap; font-family: var(--f-body); font-size: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; max-height: 240px; overflow: auto; margin: 0; }
.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__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; background: radial-gradient(700px 400px at 50% 30%, rgba(255,138,61,.25), transparent 60%), rgba(21,16,12,.92); backdrop-filter: blur(10px); animation: fade .5s var(--ease); }
.age__panel { width: 100%; max-width: 480px; background: var(--surface); border-radius: 28px; padding: 36px 30px 30px; text-align: center; box-shadow: var(--shadow-lg); animation: zoomIn .6s var(--ease); }
.age__planet { width: 120px; height: 104px; margin: 0 auto 18px; background: url(../img/logo-eclipse.png) center/contain no-repeat; }
.age h2 { font-family: var(--f-display); font-size: 1.45rem; font-weight: 700; }
.age p { color: var(--ink-2); margin-top: 12px; }
.age__btns { display: grid; gap: 10px; margin-top: 26px; }
.age__no { color: var(--danger) !important; font-weight: 700; }

/* ---------- тост ---------- */
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 120; 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) { .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; } }

/* літаючий товар */
.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, .set:hover, .info-card:hover, .steps li:hover, .phone-card:hover,
  .wholesale__tiers li:hover, .chip:hover, .btn--primary:hover, .cart-btn:hover { transform: none; }
  .card:hover { box-shadow: none; border-color: var(--line); }
  .set:hover { box-shadow: var(--shadow); }
  .card:hover .card__media img, .set:hover .s-tob, .set:hover .s-tub, .set:hover .s-fil { 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: 1060px) {
  .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; }

  /* дрібні підписи — не менше 14px */
  .topbar { font-size: .84rem; }
  .eyebrow { font-size: .84rem; letter-spacing: .1em; }
  .set__ribbon, .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; }
  .set__title h3 { font-size: 1.35rem; }
  .set__price { font-size: 1.8rem; }
  .wholesale { padding: 22px 18px; }
  .wholesale__tiers { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
  .wholesale__tiers li { min-width: 0; }

  /* каталог */
  .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%; }

  /* калькулятор */
  .calc { gap: 22px; margin-top: 26px; }
  .calc__row label { font-size: 1rem; }

  /* як це працює */
  .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 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; }

  .age__panel { padding: 28px 20px 22px; }
}

@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; }
}

/* телефон горизонтально */
@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: static; }
  .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; }
