/* ==========================================================
   Світ кераміки — стилі сайту
   Ідея: «світ, складений з квадратів» — як два квадрати на лого.
   Палітра з лого: графіт банера, зелений і світло-сірий квадрати.
   Кути гострі, тіні — зсунуті квадрати, а не розмиті плями.
   ========================================================== */
:root {
  --ink: #24222C; --ink-2: #2E2C38; --ink-3: #3A3846; --ink-line: rgba(241, 242, 244, .12);
  --paper: #F1F2F4; --white: #fff; --stone: #E3E5EA; --stone-2: #D3D6DD;
  --text: #24222C; --muted: #5C5D6B; --on-ink: #F1F2F4; --on-ink-m: rgba(241, 242, 244, .66);
  --green: #58B21C; --green-l: #7CCB3F; --green-d: #3B800E; --green-soft: rgba(88, 178, 28, .14);
  --line: rgba(36, 34, 44, .12); --line-2: rgba(36, 34, 44, .24);
  --in: #3B800E; --order: #A86A0F; --sale: #C2412D;
  --viber: #7360F2; --tg: #1E88C8;
  --f-d: "Tektur", "Arial Narrow", Arial, sans-serif;
  --f-b: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-m: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gut: clamp(16px, 4vw, 48px); --max: 1360px;
  --sec: clamp(56px, 7vw, 96px);
  --grad: linear-gradient(120deg, #9BE15D 0%, #58B21C 48%, #3B800E 100%);
  --shadow-sq: 6px 6px 0 0 var(--stone-2);
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-anchor: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.6 var(--f-b); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-d); font-weight: 700; margin: 0; line-height: 1.02; letter-spacing: -.01em; }
p { margin: 0; }
em { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.visually-hidden:focus { position: fixed !important; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 999; background: var(--green); color: var(--ink); padding: 10px 16px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; background: var(--green-l); margin-right: 8px; vertical-align: 1px; animation: blink 2s steps(2) infinite; }
.is-closed .dot, .dot.is-off { background: #C9A227; animation: none; }

/* ---------- кнопки: прямокутник із «квадратною» тінню ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 2px; font-weight: 600; font-size: .95rem; letter-spacing: .01em; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translate(2px, 2px); }
.btn--sm { height: 42px; padding: 0 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--green { background: var(--green); color: var(--ink); box-shadow: 5px 5px 0 0 var(--green-d); }
.btn--green:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 0 var(--green-d); background: var(--green-l); }
.btn--light { background: var(--white); color: var(--ink); box-shadow: 5px 5px 0 0 var(--green); }
.btn--light:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 0 var(--green); }
.btn--ghost { border: 1.5px solid currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: currentColor; }
.btn--ghost:hover > * { color: var(--paper); }
.sec--ink .btn--ghost:hover > *, .hero .btn--ghost:hover > *, .contacts .btn--ghost:hover > *, .cta-band .btn--ghost:hover > *, .result .btn--ghost:hover > * { color: var(--ink); }
.btn--viber { background: var(--viber); color: #fff; box-shadow: 5px 5px 0 0 #4B3BC4; }
.btn--tg { background: var(--tg); color: #fff; box-shadow: 5px 5px 0 0 #135E8C; }
.btn--viber:hover, .btn--tg:hover { transform: translate(-2px, -2px); filter: brightness(1.08); }
.sq-btn { width: 52px; height: 52px; display: grid; place-items: center; border: 1.5px solid var(--line-2); background: var(--white); transition: background .3s, transform .35s var(--ease), border-color .3s; }
.sq-btn svg { width: 20px; height: 20px; }
.sq-btn:hover { border-color: var(--ink); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 var(--ink); }
.sq-btn--green { background: var(--green); border-color: var(--green); }
.link-u { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-u svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-u:hover svg { transform: translate(3px, -3px); }

/* ---------- лого ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 40px; height: 40px; --logo-line: var(--ink); }
.logo__txt { font-family: var(--f-d); font-weight: 800; font-size: 1.12rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.logo__txt small { display: block; font-family: var(--f-m); font-weight: 500; font-size: .62rem; letter-spacing: .08em; text-transform: none; color: var(--on-ink-m); margin-top: 5px; }
.logo:hover .logo__mark { animation: logoNudge .6s var(--ease); }

/* ---------- шапка ---------- */
.header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; color: var(--on-ink); transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.header__in { display: flex; align-items: center; gap: 24px; height: 78px; }
.header.is-scrolled { background: rgba(36, 34, 44, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--ink-line); }
.header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { position: relative; padding: 8px 14px; font-size: .92rem; font-weight: 500; color: var(--on-ink-m); transition: color .3s; }
.nav a::before { content: ""; position: absolute; left: 14px; bottom: 2px; width: 8px; height: 8px; background: var(--green); transform: scale(0) rotate(45deg); transition: transform .4s var(--ease); }
.nav a:hover, .nav a.is-on { color: var(--on-ink); }
.nav a:hover::before, .nav a.is-on::before { transform: scale(1) rotate(0); }
.header__act { display: flex; align-items: center; gap: 10px; }
.header__tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-d); font-weight: 600; font-size: 1rem; padding: 0 6px; white-space: nowrap; }
.header__tel svg { width: 34px; height: 34px; padding: 8px; background: var(--green); color: var(--ink); }
.bag-btn { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border: 1.5px solid var(--ink-line); transition: border-color .3s, background .3s; }
.bag-btn svg { width: 20px; height: 20px; }
.bag-btn:hover { border-color: var(--green); }
.bag-btn b { position: absolute; right: -7px; top: -7px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; background: var(--green); color: var(--ink); font: 600 .72rem/1 var(--f-m); transform: scale(0); transition: transform .4s var(--ease); }
.bag-btn.has b { transform: scale(1); }
.bag-btn.bump { animation: bump .5s var(--ease); }
.burger { display: none; width: 46px; height: 46px; position: relative; background: var(--green); }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger i:first-child { top: 18px; }
.burger i:last-child { top: 26px; right: 18px; }
.menu-open .burger i:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 22px; right: 12px; transform: rotate(-45deg); }

/* ---------- мобільне меню: плитки складаються в стіну ---------- */
.mmenu { position: fixed; inset: 0; z-index: 90; visibility: hidden; color: var(--on-ink); }
.menu-open .mmenu { visibility: visible; }
.mmenu__tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); grid-auto-rows: 1fr; }
.mmenu__tiles i { background: var(--ink); transform: scale(0); transition: transform .5s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.mmenu__tiles i.g { background: var(--green-d); }
.mmenu__tiles i.l { background: var(--ink-2); }
.menu-open .mmenu__tiles i { transform: scale(1.02); }
.mmenu__in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 100px var(--gut) 28px; opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .5s var(--ease); overflow-y: auto; }
.menu-open .mmenu__in { opacity: 1; transform: none; transition-delay: .35s; }
.mmenu nav { display: grid; }
.mmenu nav a { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-d); font-weight: 700; font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.15; padding: 6px 0; border-bottom: 1px solid var(--ink-line); }
.mmenu nav a small { font-family: var(--f-m); font-size: .8rem; color: var(--green-l); font-weight: 500; }
.mmenu__foot { display: grid; gap: 12px; margin-top: 30px; }
.mmenu__msg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mmenu__foot p { font-size: .84rem; color: var(--on-ink-m); margin-top: 4px; }

/* ---------- заголовки секцій ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec--tight { padding-bottom: calc(var(--sec) * .7); }
.sec--stone { background: var(--stone); }
.sec--ink { background: var(--ink); color: var(--on-ink); }
.tag-n { display: inline-flex; align-items: center; gap: 10px; font: 500 .8rem/1 var(--f-m); letter-spacing: .04em; color: var(--green-d); }
.tag-n::before { content: ""; width: 10px; height: 10px; background: var(--green); }
.sec--ink .tag-n, .hero .tag-n, .contacts .tag-n { color: var(--green-l); }
.h2 { font-size: clamp(2rem, 4.6vw, 4rem); margin-top: 16px; text-transform: none; }
.h2 em { color: var(--green-d); }
.sec--ink .h2 em, .contacts .h2 em { color: var(--green-l); }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 900px; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.sec-head--row > p { max-width: 420px; color: var(--muted); }
.sec--ink .sec-head--row > p { color: var(--on-ink-m); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--ink); color: var(--on-ink); overflow: hidden; display: flex; align-items: flex-end; padding: 120px 0 70px; isolation: isolate; }
.hero__glow { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 70% at 72% 42%, rgba(88, 178, 28, .30) 0%, rgba(88, 178, 28, 0) 62%),
  radial-gradient(40% 50% at 10% 100%, rgba(124, 203, 63, .12), transparent 70%),
  linear-gradient(160deg, #2C2A36 0%, #24222C 55%, #1C1B23 100%); }
.hero__streaks { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__streaks i { position: absolute; left: -10%; width: 140%; height: 1px; background: linear-gradient(90deg, transparent, rgba(241, 242, 244, .35) 40%, rgba(124, 203, 63, .5) 60%, transparent); transform-origin: left; }
.hero__streaks i:first-child { top: 78%; transform: rotate(-9deg); animation: streak 9s var(--ease-io) infinite; }
.hero__streaks i:last-child { top: 92%; transform: rotate(-14deg); opacity: .6; animation: streak 12s var(--ease-io) infinite 2s; }
.hero__globe { position: absolute; z-index: 0; right: -6vw; top: 0; width: 64vw; height: 100%; touch-action: pan-y; cursor: grab; }
.hero__globe:active { cursor: grabbing; }
.hero__in { position: relative; z-index: 1; pointer-events: none; }
.hero__in a, .hero__in button { pointer-events: auto; }
.hero__kicker { display: inline-flex; align-items: center; font: 500 .82rem/1 var(--f-m); color: var(--on-ink-m); padding: 10px 14px; border: 1px solid var(--ink-line); background: rgba(36, 34, 44, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__title { margin-top: 22px; font-weight: 800; font-size: clamp(3.6rem, 13.5vw, 13rem); line-height: .86; text-transform: uppercase; letter-spacing: -.02em; }
.hero__title .ln { display: block; }
.ln--out .wi { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 30px; }
.hero__lead { max-width: 520px; font-size: 1.08rem; color: var(--on-ink-m); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__facts { list-style: none; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--ink-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 920px; }
.hero__facts li { display: flex; gap: 14px; align-items: center; font-size: .88rem; color: var(--on-ink-m); line-height: 1.4; }
.hero__facts b { font-family: var(--f-d); font-weight: 700; font-size: 2.2rem; color: var(--on-ink); line-height: 1; min-width: 64px; }
.hero__facts b small { font-size: .9rem; color: var(--green-l); vertical-align: top; }
.hero__hint { position: absolute; right: var(--gut); bottom: 40px; z-index: 1; display: inline-flex; align-items: center; gap: 10px; font: 500 .74rem/1 var(--f-m); color: var(--on-ink-m); }
.hero__hint i { width: 10px; height: 10px; border: 1.5px solid var(--green-l); animation: spinSq 4s linear infinite; }

/* ---------- стрічка ---------- */
.ribbon { background: var(--green); color: var(--ink); overflow: hidden; transform: rotate(-1.6deg) translateY(-10px); margin: 0 -20px; position: relative; z-index: 3; box-shadow: 0 10px 0 0 var(--ink); }
.ribbon__track { display: flex; width: max-content; padding: 14px 0; }
.ribbon__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-d); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.6rem); text-transform: uppercase; white-space: nowrap; }
.ribbon__track span::after { content: ""; width: 14px; height: 14px; background: var(--ink); }

/* ---------- магазин + хотспоти ---------- */
.showroom__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.showroom__txt > p { margin-top: 20px; color: var(--muted); max-width: 520px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; background: var(--green); box-shadow: 4px 4px 0 0 var(--stone-2); }
.spots { position: relative; margin: 0; box-shadow: 12px 12px 0 0 var(--green); }
.spots img { width: 100%; height: auto; }
.spot { position: absolute; left: var(--x); top: var(--y); width: 34px; height: 34px; margin: -17px 0 0 -17px; z-index: 2; }
.spot i { position: absolute; inset: 8px; background: var(--green); border: 2px solid var(--white); transition: transform .4s var(--ease); }
.spot::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--green-l); animation: ping 2.2s var(--ease) infinite; }
.spot:hover i, .spot.is-open i, .spot:focus-visible i { transform: rotate(45deg) scale(1.15); }
.spot__card { position: absolute; left: 50%; bottom: calc(100% + 10px); width: 230px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; background: var(--ink); color: var(--on-ink); padding: 14px 16px; text-align: left; font-size: .84rem; line-height: 1.45; box-shadow: 6px 6px 0 0 var(--green); transition: opacity .3s, transform .4s var(--ease), visibility .3s; pointer-events: none; }
.spot__card b { display: block; font-family: var(--f-d); font-size: 1.05rem; margin-bottom: 4px; color: var(--green-l); }
.spot:hover .spot__card, .spot.is-open .spot__card, .spot:focus-visible .spot__card { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.spot[style*="--x:8"] .spot__card, .spot[style*="--x:9"] .spot__card { left: 0; transform: translate(-10px, 8px); }
.spot[style*="--x:8"]:hover .spot__card, .spot[style*="--x:9"]:hover .spot__card, .spot[style*="--x:8"].is-open .spot__card, .spot[style*="--x:9"].is-open .spot__card { transform: translate(-10px, 0); }
.spot[style*="--x:88"] .spot__card { left: auto; right: 0; transform: translate(10px, 8px); }
.spot[style*="--x:88"]:hover .spot__card, .spot[style*="--x:88"].is-open .spot__card { transform: translate(10px, 0); }
.spot[style*="--y:1"] .spot__card, .spot[style*="--y:2"] .spot__card { bottom: auto; top: calc(100% + 10px); }

/* ---------- матеріали: горизонтальний акордеон ---------- */
.mats { display: flex; gap: 10px; height: clamp(440px, 46vw, 560px); }
.mat { position: relative; flex: 1; min-width: 0; overflow: hidden; background: var(--ink); color: var(--on-ink); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; transition: flex-grow .8s var(--ease); }
.mat.is-on { flex-grow: 4.2; }
.mat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.12); filter: saturate(.85); transition: transform 1.2s var(--ease), filter .6s; }
.mat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(36, 34, 44, .25) 0%, rgba(36, 34, 44, .9) 100%); transition: background .6s; }
.mat.is-on .mat__img { transform: scale(1); filter: none; }
.mat.is-on::before { background: linear-gradient(180deg, rgba(36, 34, 44, 0) 30%, rgba(36, 34, 44, .88) 100%); }
.mat__n { position: absolute; left: 24px; top: 22px; font: 500 .8rem/1 var(--f-m); color: var(--green-l); }
.mat h3 { font-size: clamp(1.3rem, 2.2vw, 2.1rem); text-transform: uppercase; white-space: nowrap; transform-origin: left bottom; transition: transform .7s var(--ease); }
.mat:not(.is-on) h3 { transform: rotate(-90deg) translate(0, 100%); position: absolute; left: 24px; bottom: 24px; }
.mat__body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s var(--ease), opacity .4s; }
.mat__body > div { overflow: hidden; min-height: 0; }
.mat.is-on .mat__body { grid-template-rows: 1fr; opacity: 1; transition-delay: .15s; }
.mat__body p { max-width: 420px; color: var(--on-ink-m); margin-top: 10px; }
.mat__go { display: inline-flex !important; align-items: center; gap: 10px; margin-top: 16px; font-weight: 600; padding: 10px 14px; background: var(--green); color: var(--ink); width: max-content; }
.mat__go svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.mat:hover .mat__go svg { transform: translateX(4px); }

/* ---------- хіти: колода карток ---------- */
.hits__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.hits__txt > p { margin-top: 20px; color: var(--muted); max-width: 460px; }
.deck-nav { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.deck-nav__n { font: 500 1rem/1 var(--f-m); min-width: 70px; text-align: center; }
.deck-nav .link-u { margin-left: 14px; }
.deck { position: relative; height: clamp(520px, 44vw, 600px); max-width: 520px; width: 100%; justify-self: center; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.dcard { position: absolute; inset: 0 30px 30px 0; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; will-change: transform; transition: transform .7s var(--ease), opacity .5s, box-shadow .5s; box-shadow: 0 30px 60px -40px rgba(36, 34, 44, .5); }
.dcard[data-i="0"] { z-index: 5; box-shadow: 10px 10px 0 0 var(--green), 0 30px 60px -40px rgba(36, 34, 44, .5); }
.dcard[data-i="1"] { z-index: 4; transform: translate(16px, 16px) rotate(2.5deg); }
.dcard[data-i="2"] { z-index: 3; transform: translate(30px, 30px) rotate(5deg); }
.dcard[data-i="3"] { z-index: 2; transform: translate(30px, 30px) rotate(5deg); opacity: 0; }
.dcard[data-i="x"] { z-index: 1; opacity: 0; transform: translate(30px, 30px) rotate(5deg); }
.dcard.is-out { z-index: 6; transform: translate(-115%, -4%) rotate(-14deg) !important; opacity: 0; transition: transform .6s var(--ease-io), opacity .6s; }
.dcard__media { position: relative; flex: 1; min-height: 0; margin: 12px 12px 0; background: var(--stone); overflow: hidden; }
.dcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dcard__photo { opacity: 0; transition: opacity .6s; }
.dcard:hover .dcard__photo { opacity: 1; }
.dcard__body { padding: 18px 20px 20px; display: grid; gap: 8px; }
.dcard__meta { font: 500 .74rem/1.3 var(--f-m); color: var(--muted); }
.dcard__name { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.dcard__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.dcard__btns { display: flex; gap: 8px; }
.tiles-wait [data-wait] { visibility: hidden; }

/* ---------- ціна, теги, наявність ---------- */
.price { line-height: 1; }
.price small { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 4px; }
.price small s { color: var(--sale); margin-left: 4px; }
.price b { font-family: var(--f-d); font-weight: 700; font-size: 1.9rem; }
.price b span { font-family: var(--f-b); font-weight: 500; font-size: .8rem; color: var(--muted); margin-left: 3px; }
.pcard__tags { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; font: 600 .72rem/1 var(--f-m); background: var(--white); color: var(--ink); }
.tag--hit { background: var(--green); }
.tag--sale { background: var(--sale); color: #fff; }
.tag--new { background: var(--ink); color: var(--on-ink); }
.tag--lino { background: #E9D9B8; }
.stock { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 9px; background: rgba(255, 255, 255, .92); font: 500 .72rem/1 var(--f-m); transition: opacity .3s; }
.stock::before { content: ""; width: 7px; height: 7px; background: var(--in); }
.stock--order::before { background: var(--order); }
.ibtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; min-width: 44px; padding: 0 14px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: .86rem; background: var(--white); transition: background .3s, border-color .3s, color .3s, transform .35s var(--ease); white-space: nowrap; }
.ibtn svg { width: 18px; height: 18px; }
.ibtn:hover { border-color: var(--ink); transform: translateY(-2px); }
.ibtn--pick { background: var(--green); border-color: var(--green); color: var(--ink); }
.ibtn--pick:hover { background: var(--green-l); border-color: var(--green-l); }
.ibtn--pick.is-on { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

/* ---------- 3D-калькулятор ---------- */
.calc { display: grid; gap: 16px; }
.calc__top { display: grid; grid-template-columns: minmax(330px, 420px) minmax(0, 1fr); grid-template-areas: "panel viewer"; gap: 16px; align-items: start; }
.panel { grid-area: panel; background: var(--ink-2); border: 1px solid var(--ink-line); padding: 24px; display: flex; flex-direction: column; gap: 22px; }
.viewer { grid-area: viewer; position: sticky; top: 96px; align-self: start; height: min(720px, calc(100vh - 120px)); overflow: hidden; min-height: 520px; border: 1px solid var(--ink-line); background:
  radial-gradient(70% 60% at 50% 40%, rgba(88, 178, 28, .16), transparent 70%),
  linear-gradient(180deg, #34323F 0%, #26242E 100%); }
.viewer::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; mask-image: radial-gradient(80% 70% at 50% 60%, #000, transparent); -webkit-mask-image: radial-gradient(80% 70% at 50% 60%, #000, transparent); }
.viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.viewer.is-drag canvas { cursor: grabbing; }
.viewer__top { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; justify-content: space-between; gap: 10px; z-index: 2; pointer-events: none; }
.viewer__top > * { pointer-events: auto; }
.vbtns { display: flex; gap: 2px; background: rgba(36, 34, 44, .75); padding: 4px; border: 1px solid var(--ink-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vbtns button { height: 36px; min-width: 36px; padding: 0 12px; font-size: .84rem; font-weight: 500; color: var(--on-ink-m); display: inline-flex; align-items: center; justify-content: center; transition: background .3s, color .3s; }
.vbtns button svg { width: 16px; height: 16px; }
.vbtns button:hover { color: var(--on-ink); }
.vbtns button.is-on { background: var(--green); color: var(--ink); }
.viewer__hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 8px; font: 500 .76rem/1 var(--f-m); color: var(--on-ink-m); background: rgba(36, 34, 44, .7); padding: 9px 12px; pointer-events: none; transition: opacity .5s; white-space: nowrap; }
.viewer__hint svg { width: 16px; height: 16px; animation: swipe 2.4s var(--ease-io) infinite; }
.viewer.was-dragged .viewer__hint { opacity: 0; }
.dim3d { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; padding: 5px 9px; background: var(--green); color: var(--ink); font: 600 .74rem/1 var(--f-m); white-space: nowrap; transition: opacity .3s; will-change: transform; }
.viewer__tile { position: absolute; left: 14px; bottom: 56px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; max-width: calc(100% - 28px); }
.viewer__tile-i { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; background: rgba(36, 34, 44, .78); border: 1px solid var(--ink-line); font-size: .82rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.viewer__tile i { width: 34px; height: 34px; background-size: cover; background-position: center; outline: 2px solid var(--on-ink); outline-offset: -2px; }
.viewer__tile small { display: block; color: var(--on-ink-m); font-size: .72rem; }
.viewer__fail { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-ink-m); text-align: center; padding: 20px; }

.step { display: grid; gap: 12px; }
.step[hidden] { display: none; }
.step__t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 500 .76rem/1.2 var(--f-m); letter-spacing: .04em; text-transform: uppercase; color: var(--on-ink-m); }
.step__t b { display: inline-grid; place-items: center; width: 24px; height: 24px; background: var(--green); color: var(--ink); margin-right: 10px; font-weight: 500; font-size: .7rem; }
.step__hint { text-transform: none; letter-spacing: 0; font-size: .74rem; color: var(--on-ink-m); text-align: right; }
.seg { display: flex; gap: 4px; padding: 4px; background: rgba(241, 242, 244, .05); border: 1px solid var(--ink-line); }
.seg--wrap { flex-wrap: wrap; }
.seg--wrap label { flex: 1 0 calc(25% - 4px); }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 42px; padding: 6px 6px; font-size: .86rem; font-weight: 500; color: var(--on-ink-m); line-height: 1.15; transition: color .3s, background .35s var(--ease); }
.seg span em { font: 500 .68rem/1 var(--f-m); opacity: .75; margin-top: 3px; }
.seg input:checked + span { background: var(--on-ink); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--green); }
.seg label:hover span { color: var(--on-ink); }
.seg input:checked + span:hover { color: var(--ink); }
.kinds { display: flex; gap: 0; border-bottom: 1px solid var(--ink-line); }
.kinds button { position: relative; padding: 8px 14px 10px; font-size: .86rem; font-weight: 500; color: var(--on-ink-m); transition: color .3s; }
.kinds button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--green); transform: scaleX(0); transition: transform .4s var(--ease); }
.kinds button.is-on { color: var(--on-ink); }
.kinds button.is-on::after { transform: scaleX(1); }
.slider { display: grid; gap: 6px; }
.slider__row { display: flex; justify-content: space-between; align-items: baseline; font-size: .86rem; color: var(--on-ink-m); }
.slider__row b { color: var(--on-ink); font-family: var(--f-d); font-weight: 700; font-size: 1.45rem; line-height: 1; }
.slider__row b small { font-family: var(--f-b); font-weight: 400; font-size: .78rem; color: var(--on-ink-m); margin-left: 3px; }
.rng { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; cursor: pointer; --p: 50%; }
.rng::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--green) var(--p), rgba(241, 242, 244, .16) var(--p)); }
.rng::-moz-range-track { height: 4px; background: rgba(241, 242, 244, .16); }
.rng::-moz-range-progress { height: 4px; background: var(--green); }
.rng::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; background: var(--on-ink); border: 4px solid var(--green); transition: transform .25s var(--ease); }
.rng::-moz-range-thumb { width: 12px; height: 12px; border-radius: 0; background: var(--on-ink); border: 4px solid var(--green); }
.rng:active::-webkit-slider-thumb { transform: rotate(45deg) scale(1.15); }
.sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.sliders .is-off { opacity: .45; }
.sliders .is-off .slider__row label::after { content: ' · стіни'; font-size: .75em; color: var(--green-l); }
.swatch-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.sw { position: relative; aspect-ratio: 1; background-size: cover; background-position: center; outline: 2px solid transparent; outline-offset: 2px; transition: transform .35s var(--ease), outline-color .3s; }
.sw:hover { transform: translateY(-3px); }
.sw.is-on { outline-color: var(--green); }
.sw.is-on::before { content: ""; position: absolute; right: -6px; top: -6px; width: 16px; height: 16px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%2324222C' stroke-width='3.4'/%3E%3C/svg%3E") center/11px no-repeat; z-index: 1; }
.sw[data-lino]::after { content: "рулон"; position: absolute; left: 0; right: 0; bottom: 0; background: rgba(36, 34, 44, .78); color: #fff; font: 500 .56rem/1.6 var(--f-m); text-align: center; }
.sw em { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(36, 34, 44, .75); color: #fff; font: 500 .58rem/1.6 var(--f-m); text-align: center; }
.sw.is-hidden { display: none; }
.picks { display: grid; gap: 10px; }
.picks__t { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--on-ink-m); }
.picks__t b { color: var(--green-l); }
.picks__t button { font-size: .8rem; color: var(--on-ink-m); text-decoration: underline; text-underline-offset: 3px; }
.picks__t button:hover { color: var(--on-ink); }
.sw-name { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding-top: 2px; }
.sw-name b { font-family: var(--f-d); font-weight: 600; }
.sw-name span { color: var(--on-ink-m); text-align: right; font-size: .82rem; }
.fmt-own { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .84rem; color: var(--on-ink-m); }
.fmt-own input { width: 72px; height: 38px; padding: 0 10px; background: rgba(241, 242, 244, .06); border: 1px solid var(--ink-line); color: var(--on-ink); }
.fmt-own input:focus { outline: none; border-color: var(--green); }
.fmt-note { font-size: .8rem; color: var(--green-l); }
.grout { display: flex; gap: 16px; flex-wrap: wrap; }
.grout label { position: relative; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--on-ink-m); }
.grout input { position: absolute; opacity: 0; }
.grout i { width: 24px; height: 24px; outline: 2px solid rgba(241, 242, 244, .2); outline-offset: 2px; transition: outline-color .3s, transform .3s var(--ease); }
.grout input:checked + i { outline-color: var(--green); transform: rotate(45deg) scale(.86); }
.grout input:checked ~ span { color: var(--on-ink); }
[data-both][hidden], .calc-split[hidden], .viewer__tile[hidden] { display: none; }

.result { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: stretch; background: var(--paper); color: var(--text); position: relative; }
.result::before, .result::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: radial-gradient(circle at 6px 0, transparent 5px, var(--paper) 5.5px) 0 0 / 12px 8px repeat-x; }
.result::before { top: -8px; transform: scaleY(-1); }
.result::after { bottom: -8px; }
.result__cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.result__cells > div, .result__total { padding: 22px 22px; border-right: 1px dashed var(--line-2); }
.result small { display: block; font: 500 .72rem/1.2 var(--f-m); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.result b { font-family: var(--f-d); font-weight: 700; font-size: 2rem; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.result b span:not([data-out]) { font-family: var(--f-b); font-size: .84rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.result__total { background: var(--green); min-width: 240px; }
.result__total small { color: rgba(36, 34, 44, .7); }
.result__total b { font-size: 2.6rem; }
.result__total b span:not([data-out]) { color: rgba(36, 34, 44, .7); }
.result__btns { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px 20px; }
.result__btns .btn--ghost { color: var(--ink); }
.calc-split { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 14px 22px; border-top: 1px dashed var(--line-2); font-size: .86rem; color: var(--muted); margin: 0; }
.calc-split b { font: 600 .86rem/1.4 var(--f-b); color: var(--green-d); margin-right: 8px; }
.calc-note { text-align: center; color: var(--on-ink-m); font-size: .84rem; margin-top: 10px; }

/* ---------- як замовити: плитки, що лягають ---------- */
.lay { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-2); perspective: 1200px; }
.lay__t { position: relative; aspect-ratio: 1; padding: clamp(18px, 2vw, 28px); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background: var(--white); border-right: 1px solid var(--line-2); transform-origin: 50% 0; }
.lay__t:last-child { border-right: 0; }
.lay__t--green { background: var(--green); }
.lay__n { position: absolute; left: clamp(18px, 2vw, 28px); top: clamp(12px, 1.6vw, 20px); font-family: var(--f-d); font-weight: 800; font-size: clamp(4rem, 8vw, 7.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--stone-2); }
.lay__t--green .lay__n { -webkit-text-stroke-color: rgba(36, 34, 44, .35); }
.lay__t h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.lay__t p { font-size: .92rem; color: var(--muted); }
.lay__t--green p { color: rgba(36, 34, 44, .78); }

/* ---------- фото-стрічка ---------- */
.film__view { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; padding: 0 var(--gut) 12px; scroll-padding: 0 var(--gut); }
.film__view::-webkit-scrollbar { display: none; }
.film__view.is-drag { cursor: grabbing; }
.film__view.is-drag .gitem { pointer-events: none; }
.film__track { display: flex; gap: 14px; width: max-content; }
.gitem { position: relative; height: clamp(280px, 30vw, 400px); aspect-ratio: 4 / 3.3; overflow: hidden; flex-shrink: 0; background: var(--stone); }
.gitem--tall { aspect-ratio: 3 / 3.7; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gitem span { position: absolute; left: 12px; bottom: 12px; padding: 7px 10px; background: var(--ink); color: var(--on-ink); font: 500 .74rem/1 var(--f-m); }
.gitem:hover img { transform: scale(1.05); }

/* ---------- відгуки ---------- */
.revs { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 14px; }
.rev { margin: 0; background: var(--white); padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 14px; position: relative; }
.rev--big { grid-row: span 2; background: var(--ink); color: var(--on-ink); justify-content: space-between; box-shadow: 10px 10px 0 0 var(--green); }
.rev:nth-child(2) { grid-column: span 2; }
.rev__q { position: absolute; right: 26px; top: 26px; width: 46px; height: 46px; background: var(--green); box-shadow: 14px 14px 0 0 var(--stone-2); }
.rev__q::after { content: "“"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 2.6rem/1 var(--f-d); color: var(--ink); padding-top: 14px; }
.stars { color: var(--green); letter-spacing: 3px; font-size: 1rem; }
.rev blockquote { margin: 0; font-size: 1rem; line-height: 1.6; }
.rev--big blockquote { font-family: var(--f-d); font-weight: 600; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.3; margin-top: 30px; }
.rev--short blockquote { font-family: var(--f-d); font-weight: 600; font-size: 1.6rem; }
.rev figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.rev figcaption small { display: block; font: 500 .72rem/1.3 var(--f-m); color: var(--muted); }
.rev--big figcaption small { color: var(--on-ink-m); }
.ava { width: 42px; height: 42px; display: grid; place-items: center; background: var(--green); color: var(--ink); font: 700 1.1rem/1 var(--f-d); }
.ava--g { background: var(--stone-2); }
.ava--d { background: var(--ink); color: var(--on-ink); }
.rev--cta { background: var(--green); justify-content: space-between; }
.rev--cta p { font-family: var(--f-d); font-weight: 700; font-size: 1.35rem; line-height: 1.15; }
.rev--cta .btn--green { background: var(--ink); color: var(--on-ink); box-shadow: 5px 5px 0 0 rgba(36, 34, 44, .3); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-grid .muted { margin-top: 18px; max-width: 340px; }
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-family: var(--f-d); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 38px; height: 38px; flex-shrink: 0; background: var(--stone); transition: background .3s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: var(--green); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details.is-closing summary i { background: var(--stone); transform: none; }
.faq details.is-closing summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details p { padding: 0 56px 22px 0; color: var(--muted); }
.faq details a { color: var(--green-d); font-weight: 600; text-decoration: underline; }

/* ---------- контакти ---------- */
.contacts__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.contacts__tel { display: inline-block; margin-top: 30px; font-family: var(--f-d); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cdl { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--ink-line); }
.cdl div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ink-line); }
.cdl dt { display: inline-flex; align-items: center; gap: 10px; font: 500 .78rem/1.4 var(--f-m); color: var(--on-ink-m); }
.cdl dt svg { width: 18px; height: 18px; color: var(--green-l); }
.cdl dd { margin: 0; }
.contacts__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.map { position: relative; min-height: 440px; background: var(--ink-2); border: 1px solid var(--ink-line); box-shadow: 10px 10px 0 0 var(--green); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- футер ---------- */
.footer { background: #1C1B23; color: var(--on-ink); padding: clamp(40px, 6vw, 72px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer__word { font-family: var(--f-d); font-weight: 800; font-size: clamp(2.6rem, 10.4vw, 10rem); line-height: .9; text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(241, 242, 244, .22); margin-bottom: clamp(30px, 4vw, 56px); }
.footer__word span { display: inline-block; transition: color .4s, -webkit-text-stroke-color .4s; }
.footer__word span:hover { color: var(--green); -webkit-text-stroke-color: var(--green); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid var(--ink-line); }
.footer__about { margin-top: 16px; font-size: .9rem; color: var(--on-ink-m); max-width: 320px; }
.footer h4 { font: 500 .76rem/1 var(--f-m); color: var(--green-l); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .92rem; color: var(--on-ink-m); }
.footer ul a:hover { color: var(--on-ink); }
.footer__bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; font-size: .8rem; color: var(--on-ink-m); }

/* ---------- мобільна панель, підбірка, тост ---------- */
.mbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 80; display: none; grid-template-columns: 1fr 1fr 1fr; gap: 8px; transform: translateY(140%); transition: transform .5s var(--ease); }
.mbar .btn { height: 48px; padding: 0 8px; font-size: .84rem; box-shadow: none; }
.mbar.is-on { transform: none; }
.pickbar { position: fixed; left: 50%; bottom: 20px; z-index: 85; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; background: var(--ink); color: var(--on-ink); box-shadow: 8px 8px 0 0 var(--green); animation: pickIn .6s var(--ease); max-width: calc(100vw - 24px); }
.pickbar__thumbs { display: flex; }
.pickbar__thumbs img { width: 34px; height: 34px; object-fit: cover; border: 2px solid var(--ink); margin-left: -8px; }
.pickbar__thumbs img:first-child { margin-left: 0; }
.pickbar__txt { font-size: .9rem; white-space: nowrap; }
.pickbar__txt b { font-family: var(--f-d); color: var(--green-l); font-size: 1.1rem; }
.pickbar__x { width: 36px; height: 36px; display: grid; place-items: center; color: var(--on-ink-m); }
.pickbar__x:hover { color: var(--on-ink); }
.pickbar__x svg { width: 16px; height: 16px; }
.toast { position: fixed; left: 20px; bottom: 20px; z-index: 300; max-width: min(420px, calc(100vw - 40px)); display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--ink); color: var(--on-ink); font-size: .9rem; border-left: 6px solid var(--green); transform: translateY(150%); opacity: 0; transition: transform .5s var(--ease), opacity .4s; pointer-events: none; }
.toast.is-on { transform: none; opacity: 1; pointer-events: auto; }
.toast button { flex-shrink: 0; padding: 8px 12px; background: var(--green); color: var(--ink); font-weight: 600; font-size: .84rem; }

/* ---------- вікно «скопіюйте — вставте» ---------- */
.send { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 16px; visibility: hidden; }
.send.is-open { visibility: visible; }
.send__bg { position: absolute; inset: 0; background: rgba(28, 27, 35, .72); opacity: 0; transition: opacity .4s; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.send.is-open .send__bg { opacity: 1; }
.send__box { position: relative; width: min(680px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--paper); padding: clamp(22px, 3.4vw, 36px); box-shadow: 12px 12px 0 0 var(--green); transform: translateY(30px); opacity: 0; transition: transform .6s var(--ease), opacity .4s; overscroll-behavior: contain; }
.send.is-open .send__box { transform: none; opacity: 1; }
.send__x { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); transition: transform .4s var(--ease); }
.send__x:hover { transform: rotate(90deg); }
.send__x svg { width: 18px; height: 18px; }
.send__kick { display: inline-flex; align-items: center; gap: 10px; font: 500 .76rem/1 var(--f-m); color: var(--muted); padding-right: 50px; }
.send__kick svg { width: 22px; height: 22px; }
.send h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-top: 12px; }
.send__steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.send__steps li { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--white); font-size: .84rem; font-weight: 500; line-height: 1.25; }
.send__steps b { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; background: var(--green); font: 700 .9rem/1 var(--f-d); }
.send__list { display: grid; gap: 6px; margin-top: 18px; }
.send__list:empty { display: none; }
.sitem { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 36px; align-items: center; gap: 12px; padding: 6px; background: var(--white); }
.sitem img { width: 48px; height: 48px; object-fit: cover; }
.sitem b { display: block; font-family: var(--f-d); font-weight: 600; font-size: 1rem; line-height: 1.2; }
.sitem small { font-size: .78rem; color: var(--muted); }
.sitem > span:nth-child(3) { font-family: var(--f-d); font-weight: 700; white-space: nowrap; }
.sitem button { width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); }
.sitem button:hover { color: var(--sale); }
.sitem button svg { width: 16px; height: 16px; }
.send__label { display: block; margin-top: 18px; font: 500 .74rem/1 var(--f-m); color: var(--muted); }
.send textarea { display: block; width: 100%; margin-top: 8px; padding: 14px; border: 1.5px solid var(--line-2); background: var(--white); font: 400 .86rem/1.55 var(--f-m); resize: vertical; min-height: 150px; }
.send textarea:focus { outline: none; border-color: var(--green); }
.send__btns { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; margin-top: 18px; }
.send__btns .btn { padding: 0 12px; }
.send__btns .btn.is-done { background: var(--ink); color: var(--on-ink); box-shadow: 5px 5px 0 0 var(--green); }
.send__note { margin-top: 16px; font-size: .8rem; color: var(--muted); }
.send__note a { color: var(--text); font-weight: 600; }

/* ---------- лайтбокс ---------- */
.lightbox { position: fixed; inset: 0; z-index: 450; background: rgba(28, 27, 35, .95); display: flex; align-items: center; justify-content: center; padding: 70px 70px; visibility: hidden; opacity: 0; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 180px); object-fit: contain; box-shadow: 10px 10px 0 0 var(--green); }
.lightbox figcaption { color: var(--on-ink); font: 500 .84rem/1 var(--f-m); }
.lb-btn { position: absolute; width: 50px; height: 50px; display: grid; place-items: center; background: var(--on-ink); color: var(--ink); transition: background .3s; }
.lb-btn:hover { background: var(--green); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { right: 16px; top: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; left: 20px; top: 28px; color: var(--on-ink-m); font: 500 .84rem/1 var(--f-m); }

/* ---------- курсор: два квадрати, як на лого ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; }
.cur.is-hidden { opacity: 0; }
.cur__a, .cur__b { position: fixed; left: 0; top: 0; will-change: transform; }
.cur__a { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--green); mix-blend-mode: normal; }
.cur__b { width: 30px; height: 30px; margin: 4px 0 0 4px; border: 1.5px solid rgba(160, 164, 176, .9); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s; }
.cur__b span { font: 600 .66rem/1 var(--f-m); color: var(--ink); opacity: 0; white-space: nowrap; transition: opacity .25s; }
.cur.is-link .cur__b { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-color: var(--green); background: rgba(88, 178, 28, .14); }
.cur.is-label .cur__b { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--green); border-color: var(--green); }
.cur.is-label .cur__b span { opacity: 1; }
.cur.is-label .cur__a { opacity: 0; }
.cur.is-down .cur__b { transform: rotate(45deg) !important; }
@media (hover: hover) and (pointer: fine) { .has-cur, .has-cur * { cursor: none !important; } .has-cur iframe { cursor: auto !important; } }

/* ---------- прелоадер і перехід: стіна з квадратів ---------- */
.tgrid { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: repeat(var(--cols, 8), 1fr); grid-auto-rows: 1fr; pointer-events: none; visibility: hidden; }
.tgrid.is-on { visibility: visible; pointer-events: auto; }
.tgrid i { background: var(--ink); transform-origin: center; }
.tgrid i.g { background: var(--green-d); }
.tgrid i.l { background: var(--ink-2); }
.pre { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; pointer-events: none; }
.pre__in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pre__logo { position: relative; width: 120px; height: 120px; }
.pre__a, .pre__b { position: absolute; }
.pre__a { left: 0; top: 0; width: 74px; height: 74px; background: var(--green); }
.pre__b { right: 0; bottom: 0; width: 64px; height: 64px; background: #E4E6EA; outline: 3px solid var(--ink); }
.pre__word { display: flex; font-family: var(--f-d); font-weight: 800; font-size: clamp(1.4rem, 4vw, 2.4rem); letter-spacing: .06em; color: var(--on-ink); text-transform: uppercase; overflow: hidden; }
.pre__word span { display: inline-block; white-space: pre; }
.pre__count { font: 500 .8rem/1 var(--f-m); color: var(--green-l); }

/* ==========================================================
   Каталог
   ========================================================== */
.chero { position: relative; background: var(--ink); color: var(--on-ink); padding: 130px 0 56px; overflow: hidden; isolation: isolate; }
.chero .hero__glow { background: radial-gradient(50% 80% at 80% 40%, rgba(88, 178, 28, .26), transparent 65%), linear-gradient(160deg, #2C2A36, #1E1D25); }
.chero__globe { position: absolute; right: -4vw; top: 0; width: 46vw; height: 100%; z-index: 0; opacity: .95; }
.chero .wrap { position: relative; z-index: 1; pointer-events: none; }
.chero .wrap a { pointer-events: auto; }
.crumbs { display: flex; gap: 10px; font: 500 .8rem/1 var(--f-m); color: var(--on-ink-m); }
.crumbs a:hover { color: var(--green-l); }
.chero__title { margin-top: 22px; font-weight: 800; font-size: clamp(2.8rem, 8vw, 7.4rem); line-height: .9; text-transform: uppercase; letter-spacing: -.02em; }
.chero__title .ln { display: block; }
.chero__title .ln--out { font-size: .5em; letter-spacing: 0; margin-top: .2em; }
.chero__lead { max-width: 560px; color: var(--on-ink-m); margin-top: 22px; }
.chero__stats { display: flex; gap: 0; margin-top: 30px; border: 1px solid var(--ink-line); width: max-content; max-width: 100%; }
.chero__stats div { padding: 14px 22px; border-right: 1px solid var(--ink-line); font-size: .82rem; color: var(--on-ink-m); }
.chero__stats div:last-child { border-right: 0; }
.chero__stats b { display: block; font-family: var(--f-d); font-size: 2rem; color: var(--on-ink); line-height: 1; margin-bottom: 4px; }

.looks-wrap { background: var(--ink); padding-bottom: 28px; }
.looks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.look { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--ink-2); color: var(--on-ink); border: 1.5px solid var(--ink-line); text-align: left; transition: border-color .3s, background .3s, transform .35s var(--ease); }
.look:hover { border-color: var(--green); transform: translateY(-2px); }
.look__sq { width: 46px; height: 46px; flex-shrink: 0; background-size: cover; background-position: center; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .3s, transform .5s var(--ease); }
.look__sq--all { background: conic-gradient(var(--green) 0 25%, #E4E6EA 0 50%, var(--green-d) 0 75%, var(--ink-3) 0); }
.look span { font-weight: 600; font-size: .9rem; line-height: 1.2; }
.look small { display: block; font: 500 .7rem/1.3 var(--f-m); color: var(--on-ink-m); margin-top: 3px; }
.look.is-on { background: var(--green); color: var(--ink); border-color: var(--green); }
.look.is-on small { color: rgba(36, 34, 44, .7); }
.look.is-on .look__sq { outline-color: var(--ink); transform: rotate(45deg) scale(.8); }

.shop { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; padding: 36px 0 var(--sec); }
.filters { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--green) transparent; }
.filters__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.filters__head h2 { font-size: 1.5rem; }
.f-reset { font: 500 .78rem/1 var(--f-m); color: var(--green-d); text-decoration: underline; text-underline-offset: 3px; }
.fgrp { border-bottom: 1px solid var(--line-2); }
.fgrp summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; font-weight: 600; font-size: .94rem; }
.fgrp summary::-webkit-details-marker { display: none; }
.fgrp summary svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.fgrp[open] summary svg { transform: rotate(180deg); }
.fgrp.is-closing summary svg { transform: none; }
.fgrp__body { padding-bottom: 18px; }
.checks { display: grid; gap: 2px; }
.check { position: relative; display: flex; align-items: center; gap: 12px; padding: 6px 0; cursor: pointer; font-size: .92rem; }
.check input { position: absolute; opacity: 0; }
.check i { width: 18px; height: 18px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .25s, border-color .25s; flex-shrink: 0; background: var(--white); }
.check i::after { content: ""; width: 8px; height: 8px; background: var(--ink); transform: scale(0); transition: transform .3s var(--ease); }
.check input:checked + i { background: var(--green); border-color: var(--green); }
.check input:checked + i::after { transform: scale(1); }
.check input:focus-visible + i { outline: 2px solid var(--green); outline-offset: 2px; }
.check em { margin-left: auto; font: 500 .74rem/1 var(--f-m); color: var(--muted); }
.check.is-empty { opacity: .4; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.cswatch { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1.5px solid var(--line); background: var(--white); font-size: .82rem; font-weight: 500; transition: border-color .3s, background .3s, opacity .3s; }
.cswatch i { width: 20px; height: 20px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.cswatch:hover { border-color: var(--ink); }
.cswatch.is-on { border-color: var(--green); background: var(--green-soft); box-shadow: 3px 3px 0 0 var(--green); }
.cswatch.is-empty, .fchip.is-empty { opacity: .35; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { height: 36px; padding: 0 12px; border: 1.5px solid var(--line); background: var(--white); font-size: .84rem; font-weight: 500; transition: border-color .3s, background .3s, color .3s, opacity .3s; }
.fchip:hover { border-color: var(--ink); }
.fchip.is-on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.prange { position: relative; height: 30px; margin: 4px 0 10px; }
.prange__track { position: absolute; left: 0; right: 0; top: 13px; height: 4px; background: var(--stone-2); }
.prange__fill { position: absolute; top: 0; bottom: 0; background: var(--green); }
.prange input { position: absolute; inset: 0; width: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: none; pointer-events: none; }
.prange input::-webkit-slider-runnable-track { height: 30px; background: none; }
.prange input::-moz-range-track { background: none; }
.prange input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; margin-top: 6px; background: var(--white); border: 4px solid var(--ink); cursor: grab; }
.prange input::-moz-range-thumb { pointer-events: auto; width: 12px; height: 12px; border-radius: 0; background: var(--white); border: 4px solid var(--ink); cursor: grab; }
.pinputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; color: var(--muted); }
.pinputs input { width: 100%; height: 40px; border: 1.5px solid var(--line); background: var(--white); padding: 0 10px; font-size: .88rem; }
.pinputs input:focus { outline: none; border-color: var(--green); }
.switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; cursor: pointer; font-weight: 500; font-size: .92rem; border-bottom: 1px solid var(--line-2); }
.switch input { position: absolute; opacity: 0; }
.switch i { width: 44px; height: 24px; background: var(--stone-2); position: relative; transition: background .3s; flex-shrink: 0; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: var(--white); transition: transform .4s var(--ease); }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:focus-visible + i { outline: 2px solid var(--green); outline-offset: 2px; }
.filters__apply { display: none !important; }
.f-shade { display: none; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; }
.search { position: relative; flex: 1 0 100%; }
.search input { width: 100%; height: 54px; border: 1.5px solid var(--ink); background: var(--white); padding: 0 16px 0 50px; font-size: 1rem; transition: box-shadow .3s; }
.search input:focus { outline: none; box-shadow: 5px 5px 0 0 var(--green); }
.search svg { position: absolute; left: 17px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); }
.toolbar__count { font-size: .92rem; color: var(--muted); }
.toolbar__count b { color: var(--text); }
.toolbar__r { display: flex; align-items: center; gap: 8px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 42px; border: 1.5px solid var(--line-2); background: var(--white); padding: 0 40px 0 14px; font-size: .88rem; font-weight: 500; cursor: pointer; border-radius: 0; }
.select select:focus { outline: none; border-color: var(--green); }
.select svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; }
.vtoggle { display: flex; border: 1.5px solid var(--line-2); background: var(--white); }
.vtoggle button { width: 40px; height: 39px; display: grid; place-items: center; color: var(--muted); transition: background .3s, color .3s; }
.vtoggle button svg { width: 17px; height: 17px; }
.vtoggle button.is-on { background: var(--ink); color: var(--on-ink); }
.f-open { display: none !important; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pills:empty { margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 6px 0 12px; background: var(--ink); color: var(--on-ink); font-size: .8rem; font-weight: 500; animation: pillIn .4s var(--ease); }
.pill span { width: 22px; height: 22px; display: grid; place-items: center; background: rgba(241, 242, 244, .12); transition: background .3s; }
.pill span svg { width: 12px; height: 12px; }
.pill:hover span { background: var(--green); color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pcard { position: relative; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .45s var(--ease), transform .45s var(--ease), border-color .3s; }
.pcard:hover { box-shadow: 8px 8px 0 0 var(--green); transform: translate(-3px, -3px); border-color: var(--ink); }
.pcard__media { position: relative; aspect-ratio: 1; margin: 10px 10px 0; background: var(--stone); overflow: hidden; }
.pcard__cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.pcard:hover .pcard__photo { opacity: 1; }
.pcard:hover .pcard__cut { transform: scale(1.06); }
.pcard__qv { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: var(--ink); color: var(--on-ink); font-size: .78rem; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease), background .3s; }
.pcard__qv svg { width: 15px; height: 15px; }
.pcard:hover .pcard__qv, .pcard__qv:focus-visible { opacity: 1; transform: none; }
.pcard__qv:hover { background: var(--green); color: var(--ink); }
.pcard__body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__meta { font: 500 .7rem/1.35 var(--f-m); color: var(--muted); }
.pcard__name { font-size: 1.35rem; line-height: 1.08; }
.pcard__name button { font: inherit; text-align: left; color: inherit; letter-spacing: inherit; }
.pcard__name button::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__specs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.pcard__specs li { font-size: .74rem; padding: 3px 7px; background: var(--paper); }
.pcard__specs li:first-child { background: var(--ink); color: var(--on-ink); }
.pcard__table { display: none; }
.pcard__foot { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.pcard__actions { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 44px; gap: 6px; }
.pcard__actions .ibtn { width: 100%; padding: 0 8px; }
.grid.is-list { grid-template-columns: 1fr; }
.grid.is-list .pcard { flex-direction: row; }
.grid.is-list .pcard__media { width: 220px; flex-shrink: 0; margin: 10px 0 10px 10px; }
.grid.is-list .pcard__body { padding: 18px 22px; }
.grid.is-list .pcard__name { font-size: 1.8rem; }
.grid.is-list .pcard__table { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px 26px; font-size: .84rem; margin: 4px 0; }
.grid.is-list .pcard__table small { display: block; color: var(--muted); font: 500 .68rem/1.3 var(--f-m); }
.grid.is-list .pcard__foot { flex-direction: row; justify-content: space-between; align-items: flex-end; }
.grid.is-list .pcard__actions { grid-template-columns: auto 44px; }
.cat-fail { padding: 30px; background: var(--white); border-left: 6px solid var(--sale); margin-bottom: 20px; }
.cat-fail b { display: block; font-family: var(--f-d); font-size: 1.3rem; margin-bottom: 6px; }
.more { text-align: center; margin-top: 40px; }
.more p { color: var(--muted); font-size: .88rem; margin-bottom: 12px; }
.more__bar { width: 220px; height: 3px; background: var(--stone-2); margin: 0 auto 20px; position: relative; }
.more__bar i { position: absolute; inset: 0; background: var(--green); transform-origin: left; transition: transform .6s var(--ease); }
.empty { text-align: center; padding: 60px 24px; background: var(--white); border: 1px dashed var(--line-2); }
.empty svg { width: 64px; height: 64px; margin: 0 auto 18px; }
.empty p { color: var(--muted); max-width: 420px; margin: 10px auto 22px; }
.empty .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: clamp(28px, 4.4vw, 56px); margin-bottom: var(--sec); background: var(--ink); color: var(--on-ink); box-shadow: 12px 12px 0 0 var(--green); }
.cta-band h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); text-transform: uppercase; }
.cta-band p { color: var(--on-ink-m); margin-top: 12px; max-width: 540px; }
.cta-band .btns { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band__tiles { position: absolute; right: 30%; top: -20px; display: grid; grid-template-columns: repeat(3, 44px); gap: 6px; opacity: .2; transform: rotate(12deg); }
.cta-band__tiles i { width: 44px; height: 44px; border: 1.5px solid var(--green-l); }
.cta-band__tiles i:nth-child(2n) { background: var(--green); }

/* швидкий перегляд */
.qv { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 16px; visibility: hidden; }
.qv.is-open { visibility: visible; }
.qv__bg { position: absolute; inset: 0; background: rgba(28, 27, 35, .72); opacity: 0; transition: opacity .4s; }
.qv.is-open .qv__bg { opacity: 1; }
.qv__box { position: relative; width: min(1040px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--paper); display: grid; grid-template-columns: 1fr 1fr; transform: translateY(30px); opacity: 0; transition: transform .6s var(--ease), opacity .4s; box-shadow: 12px 12px 0 0 var(--green); overscroll-behavior: contain; }
.qv.is-open .qv__box { transform: none; opacity: 1; }
.qv__close { position: absolute; right: 12px; top: 12px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); transition: transform .4s var(--ease); }
.qv__close:hover { transform: rotate(90deg); }
.qv__close svg { width: 18px; height: 18px; }
.qv__gal { background: var(--stone); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.qv__main { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--white); }
.qv__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.qv__thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.qv__thumbs button { width: 60px; height: 60px; overflow: hidden; outline: 2px solid transparent; outline-offset: -2px; }
.qv__thumbs button.is-on { outline-color: var(--green); }
.qv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv__info { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.qv__info .pcard__tags { position: static; }
.qv__type { font: 500 .78rem/1.3 var(--f-m); color: var(--muted); }
.qv__info h2 { font-size: clamp(2rem, 3.6vw, 3rem); padding-right: 40px; }
.qv__price { display: flex; align-items: baseline; gap: 10px; }
.qv__price b { font-family: var(--f-d); font-weight: 700; font-size: 2.6rem; line-height: 1; }
.qv__price span { color: var(--muted); }
.qv__price s { color: var(--sale); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.specs div { background: var(--white); padding: 10px 14px; font-size: .9rem; }
.specs small { display: block; font: 500 .68rem/1.4 var(--f-m); color: var(--muted); text-transform: uppercase; }
.qv__formats { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: .86rem; color: var(--muted); }
.qv__formats:empty { display: none; }
.qv__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; padding-top: 6px; }
.qv__btns #qvAsk { grid-column: 1 / -1; }
.qv__note { font-size: .8rem; color: var(--muted); }
#qvPick.is-on { background: var(--ink); color: var(--on-ink); }

/* ---------- анімації ---------- */
@keyframes blink { 50% { opacity: .35; } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6) rotate(45deg); opacity: 0; } }
@keyframes spinSq { to { transform: rotate(360deg); } }
@keyframes streak { 0%, 100% { transform: rotate(var(--r, -9deg)) scaleX(.2); opacity: 0; } 40%, 60% { transform: rotate(var(--r, -9deg)) scaleX(1); opacity: 1; } }
@keyframes swipe { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
@keyframes bump { 40% { transform: scale(1.2) rotate(-6deg); } }
@keyframes logoNudge { 40% { transform: rotate(-8deg) scale(1.08); } }
@keyframes pillIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes pickIn { from { opacity: 0; transform: translate(-50%, 40px); } }
.hero__streaks i:first-child { --r: -9deg; }
.hero__streaks i:last-child { --r: -14deg; }

/* ---------- адаптив ---------- */
@media (max-width: 1240px) {
  .nav a { padding: 8px 10px; }
  .header__tel span { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result { grid-template-columns: 1fr auto; }
  .result__cells { grid-column: 1 / -1; border-bottom: 1px dashed var(--line-2); }
  .result__total { border-right: 0; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__act { margin-left: auto; }
  .header__tel span { display: inline; }
  .hero__globe { right: -18vw; width: 90vw; opacity: .9; }
  .hero__row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .showroom__grid, .hits__grid, .faq-grid, .contacts__grid { grid-template-columns: 1fr; }
  .hits__grid { gap: 40px; }
  .deck { justify-self: start; }
  .calc__top { grid-template-columns: 1fr; grid-template-areas: "viewer" "panel"; }
  .viewer { position: relative; top: 0; height: 60vh; min-height: 420px; }
  .lay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lay__t:nth-child(2) { border-right: 0; }
  .lay__t:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .revs { grid-template-columns: 1fr 1fr; }
  .rev--big { grid-row: auto; grid-column: 1 / -1; }
  .rev:nth-child(2) { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .looks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chero__globe { width: 70vw; right: -24vw; opacity: .5; }

  /* фільтри — висувна панель */
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; left: 0; top: 0; bottom: 0; z-index: 420; width: min(360px, 88vw); max-height: none; background: var(--paper); padding: 20px 20px 90px; transform: translateX(calc(-100% - 16px)); transition: transform .55s var(--ease); box-shadow: 10px 0 0 0 var(--green); }
  .filters.is-open { transform: none; }
  .filters__apply { display: flex !important; position: sticky; bottom: -70px; margin-top: 20px; }
  .f-shade { display: block; position: fixed; inset: 0; z-index: 410; background: rgba(28, 27, 35, .6); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .f-shade.is-on { opacity: 1; visibility: visible; }
  .f-open { display: inline-flex !important; }
  .drawer-open .pickbar, .drawer-open .mbar { opacity: 0; pointer-events: none; }
}
@media (max-width: 760px) {
  :root { --sec: 60px; }
  body { font-size: 15px; }
  .header__in { height: 66px; gap: 10px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__txt { font-size: .98rem; }
  .logo__txt small { font-size: .56rem; }
  .header__tel { display: none; }
  .hero { padding: 0 0 30px; align-items: stretch; flex-direction: column; justify-content: flex-end; }
  .hero__globe { position: relative; right: auto; left: 0; top: 0; width: 100%; height: 50svh; min-height: 330px; margin-top: 56px; opacity: 1; flex-shrink: 0; }
  .hero__in { margin-top: -38px; }
  .hero__title { font-size: clamp(3.2rem, 17.5vw, 5.6rem); margin-top: 14px; }
  .hero__kicker { font-size: .72rem; padding: 8px 10px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__facts { grid-template-columns: 1fr; gap: 12px; margin-top: 26px; padding-top: 18px; }
  .hero__facts b { font-size: 1.7rem; min-width: 52px; }
  .hero__hint { display: none; }
  .sec-head--row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .spots { box-shadow: 8px 8px 0 0 var(--green); margin-right: 8px; }
  .spot__card { width: 200px; }
  .mats { flex-direction: column; height: auto; }
  .mat { flex: none; height: 74px; padding: 18px 18px; transition: height .7s var(--ease); justify-content: center; }
  .mat.is-on { height: 330px; justify-content: flex-end; }
  .mat:not(.is-on) h3 { transform: none; position: static; }
  .mat h3 { font-size: 1.25rem; padding-left: 38px; white-space: normal; }
  .mat.is-on h3 { padding-left: 0; }
  .mat__n { left: 18px; top: 50%; transform: translateY(-50%); transition: opacity .3s; }
  .mat.is-on .mat__n { opacity: 0; }
  .mat__img { object-position: center 40%; }
  .deck { height: 500px; max-width: 100%; }
  .dcard { inset: 0 18px 22px 0; }
  .dcard[data-i="1"] { transform: translate(10px, 10px) rotate(2deg); }
  .dcard[data-i="2"], .dcard[data-i="3"], .dcard[data-i="x"] { transform: translate(18px, 18px) rotate(4deg); }
  .deck-nav .link-u { margin-left: 0; width: 100%; justify-content: flex-start; }
  .panel { padding: 18px; }
  .step:first-child .step__hint { display: none; }
  .viewer { height: 56svh; min-height: 360px; }
  .viewer__top { left: 10px; right: 10px; top: 10px; }
  .vbtns button { padding: 0 9px; height: 34px; min-width: 34px; font-size: .8rem; }
  .viewer__tile { left: 10px; bottom: 48px; }
  .viewer__tile-i { font-size: .76rem; padding: 5px 10px 5px 5px; }
  .viewer__tile i { width: 28px; height: 28px; }
  .swatch-list { grid-template-columns: repeat(5, 1fr); }
  .sliders { grid-template-columns: 1fr; }
  .result { grid-template-columns: 1fr; }
  .result__cells { grid-template-columns: 1fr 1fr; }
  .result__cells > div { padding: 16px; border-bottom: 1px dashed var(--line-2); }
  .result__cells > div:nth-child(2n) { border-right: 0; }
  .result b { font-size: 1.6rem; }
  .result__total { min-width: 0; padding: 18px 16px; }
  .result__total b { font-size: 2.2rem; }
  .result__btns { padding: 16px; }
  .lay { grid-template-columns: 1fr; border: 0; gap: 10px; }
  .lay__t { aspect-ratio: auto; min-height: 0; border: 1px solid var(--line-2) !important; padding: 20px 80px 20px 18px; }
  .lay__n { font-size: 3.4rem; left: auto; right: 16px; top: 14px; }
  .gitem { height: 260px; }
  .revs { grid-template-columns: 1fr; }
  .rev--big, .rev:nth-child(2) { grid-column: auto; }
  .rev--big { box-shadow: 8px 8px 0 0 var(--green); margin-right: 8px; }
  .faq details p { padding-right: 0; }
  .cdl div { grid-template-columns: 1fr; gap: 4px; }
  .contacts__btns .btn { flex: 1 1 calc(50% - 7px); }
  .map { min-height: 320px; box-shadow: 8px 8px 0 0 var(--green); margin-right: 8px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .mbar { display: grid; }
  .pickbar { bottom: calc(70px + env(safe-area-inset-bottom)); gap: 10px; padding: 8px 8px 8px 10px; box-shadow: 6px 6px 0 0 var(--green); }
  .pickbar__thumbs img:nth-child(n+3) { display: none; }
  .toast { left: 10px; right: 10px; bottom: calc(70px + env(safe-area-inset-bottom)); max-width: none; }
  .send__steps { grid-template-columns: 1fr; }
  .send__btns { grid-template-columns: 1fr; }

  .sitem { grid-template-columns: 40px minmax(0, 1fr) 32px; }
  .sitem img { width: 40px; height: 40px; }
  .sitem > span:nth-child(3) { grid-column: 2; grid-row: 2; font-size: .9rem; margin-top: -6px; }
  .sitem button { grid-column: 3; grid-row: 1 / span 2; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }

  .chero { padding: 96px 0 30px; }
  .chero__globe { width: 100vw; right: -50vw; opacity: .35; }
  .chero__stats div { padding: 12px 14px; }
  .chero__stats b { font-size: 1.5rem; }
  .looks-wrap { padding-bottom: 20px; }
  .looks { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; }
  .looks::-webkit-scrollbar { display: none; }
  .look { flex: 0 0 auto; padding: 8px 12px 8px 8px; }
  .look__sq { width: 36px; height: 36px; }
  .shop { padding-top: 22px; }
  .toolbar__r { width: 100%; }
  .toolbar__r .select { flex: 1; }
  .toolbar__r .select select { width: 100%; }
  .grid { gap: 8px; }
  .pcard__media { margin: 6px 6px 0; }
  .pcard__body { padding: 10px 10px 12px; gap: 6px; }
  .pcard__name { font-size: 1.05rem; }
  .pcard__meta { font-size: .64rem; }
  .pcard__specs li { font-size: .66rem; padding: 2px 5px; }
  .pcard__specs li:nth-child(n+3) { display: none; }
  .price b { font-size: 1.4rem; }
  .pcard__actions { grid-template-columns: 1fr 40px; }
  .pcard__actions .ibtn { height: 40px; min-width: 40px; font-size: .78rem; padding: 0 4px; gap: 5px; }
  .pcard__actions .ibtn--pick svg { display: none; }
  .tag { height: 22px; font-size: .62rem; padding: 0 6px; }
  .stock { height: 22px; font-size: .62rem; padding: 0 6px; }
  .pcard:hover { transform: none; box-shadow: none; }
  .pcard__qv { display: none; }
  .grid.is-list .pcard__media { width: 120px; }
  .grid.is-list .pcard__name { font-size: 1.2rem; }
  .grid.is-list .pcard__table { display: none; }
  .grid.is-list .pcard__foot { flex-direction: column; align-items: stretch; }
  .cta-band { grid-template-columns: 1fr; box-shadow: 8px 8px 0 0 var(--green); margin-right: 8px; }
  .cta-band .btn { flex: 1 1 auto; }
  .qv__box { grid-template-columns: 1fr; }
  .qv__gal { padding: 10px; }
  .qv__main { aspect-ratio: 4 / 3; }
  .qv__btns { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .logo__txt small { display: none; }
  .hero__facts li:nth-child(3) { display: none; }
  .btn { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* поки працює анімаційний рушій — заголовок hero схований, щоб не «блимав» (запобіжник у <head>) */
.js:not(.ready) .hero__in, .js:not(.ready) .chero .wrap { visibility: hidden; }
.steps { padding-bottom: 24px; }

.has-picks .toast { bottom: 96px; }
@media (max-width: 760px) { .has-picks .toast { bottom: calc(136px + env(safe-area-inset-bottom)); } }
