/* ==========================================================
   Світ кераміки · Чернігів
   Палітра з вивіски: чорна панель, лазурний напис, білі таблички брендів.
   Шрифти: Lobster (як напис на вивісці), Jost (заголовки), Ysabeau Office (текст).
   ========================================================== */
:root {
  --ink: #0E1013;
  --ink-2: #151920;
  --ink-3: #1D232B;
  --blue: #0A7BDB;
  --blue-hi: #3EA2FF;
  --blue-deep: #0659A3;
  --blue-soft: #E3F0FB;
  --por: #F4F6F9;   /* лише підкладки карток і полів; фон сторінки — білий */
  --paper: #FFFFFF;
  --stone: #DDE3E9;
  --text: #13161B;
  --muted: #5B6570;
  --muted-d: #9AA6B2;
  --line: rgba(19, 22, 27, .12);
  --line-d: rgba(255, 255, 255, .12);
  --in: #1B9A57;
  --order: #C8851A;
  --sale: #D8232A;
  --r: 18px;
  --r-sm: 12px;
  --f-h: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --f-b: 'Ysabeau Office', 'Segoe UI', system-ui, sans-serif;
  --f-s: 'Lobster', 'Segoe Script', cursive;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(56px, 7vw, 96px);
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-anchor: none; scroll-padding-top: 90px; }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 17px/1.6 var(--f-b); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-h); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.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; z-index: 999; top: 10px; left: 10px; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--blue); color: #fff; border-radius: 10px; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gut); }
.script { font-family: var(--f-s); font-weight: 400; color: var(--blue); letter-spacing: 0; display: inline-block; }
.sec { padding-block: var(--sec); position: relative; }
.sec--ink { background: var(--ink); color: #fff; }
.sec--ink .script { color: var(--blue-hi); text-shadow: 0 0 24px rgba(62, 162, 255, .45); }
.sec--paper { background: #fff; border-top: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.sec-head p { max-width: 440px; color: var(--muted); }
.sec--ink .sec-head p { color: var(--muted-d); }
.h2 { font-size: clamp(36px, 5.6vw, 76px); font-weight: 600; }
.h2 .script { font-size: 1.04em; padding-right: .06em; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.wi { display: inline-block; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 15px/1 var(--f-h); letter-spacing: .01em; white-space: nowrap; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(10, 123, 219, .7); }
.btn--blue:hover { background: var(--blue-hi); }
.btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.btn--line { border: 1.5px solid var(--text); color: var(--text); }
.btn--line:hover { background: var(--text); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-soft); }
.btn--viber { background: #7360F2; color: #fff; }
.btn--viber:hover { background: #8676ff; }
.btn--tg { background: #2AABEE; color: #fff; }
.btn--tg:hover { background: #47b9f4; }
.btn.is-done { background: var(--in); }

/* ---------- шапка: чорна «вивіска» ---------- */
.header { position: fixed; z-index: 90; top: 10px; left: 0; right: 0; padding-inline: 10px; transition: transform .5s var(--ease); pointer-events: none; }
.header.is-hidden { transform: translateY(calc(-100% - 20px)); }
.header__plate { pointer-events: auto; max-width: 1340px; margin-inline: auto; height: 64px; display: flex; align-items: center; gap: 18px; padding: 0 10px 0 22px; background: rgba(14, 16, 19, .9); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6); }
.logo { display: inline-flex; flex-direction: column; line-height: 1; flex: none; }
.logo__script { font: 400 27px/1 var(--f-s); color: var(--blue-hi); text-shadow: 0 0 18px rgba(62, 162, 255, .55); white-space: nowrap; }
.logo__sub { margin-top: 3px; font: 600 9.5px/1 var(--f-h); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-hi); opacity: .85; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 10px; font: 500 15px/1 var(--f-h); color: rgba(255, 255, 255, .78); transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.header__act { display: flex; align-items: center; gap: 6px; }
.nav + .header__act { margin-left: 8px; }
.hbtn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #fff; transition: background .2s; }
.hbtn svg { width: 20px; height: 20px; }
.hbtn--viber:hover { background: #7360F2; }
.hbtn--tg:hover { background: #2AABEE; }
.header__tel { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 12px; font: 600 15px/1 var(--f-h); background: rgba(255, 255, 255, .07); white-space: nowrap; transition: background .2s; }
.header__tel:hover { background: var(--blue); }
.header__tel svg { width: 16px; height: 16px; color: var(--blue-hi); }
.header__tel:hover svg { color: #fff; }
.bag-btn { position: relative; width: 44px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--blue); color: #fff; }
.bag-btn svg { width: 20px; height: 20px; }
.bag-btn b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 99px; background: #fff; color: var(--ink); font: 700 11px/1 var(--f-h); transform: scale(0); transition: transform .35s var(--ease); }
.bag-btn.has b { transform: scale(1); }
.bag-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18) rotate(-6deg); } }
.burger { display: none; width: 44px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); place-items: center; align-content: center; gap: 5px; }
.burger i { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s; }
.menu-open .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- мобільне меню: зразки висуваються зі стенду ---------- */
.mmenu { position: fixed; inset: 0; z-index: 85; background: var(--ink); color: #fff; visibility: hidden; opacity: 0; transition: opacity .4s, visibility 0s .5s; overflow-y: auto; }
.menu-open .mmenu { visibility: visible; opacity: 1; transition: opacity .3s; }
.mmenu__in { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 96px var(--gut) calc(24px + env(safe-area-inset-bottom)); }
.mmenu__rack { display: grid; gap: 8px; }
.mmenu__rack a { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line-d); font: 600 clamp(22px, 6vw, 30px)/1 var(--f-h); transform: translateX(110%) rotate(3deg); transition: transform .7s var(--ease), background .2s; }
.mmenu__rack a:hover { background: var(--ink-3); }
.menu-open .mmenu__rack a { transform: none; }
.mmenu__rack a:nth-child(1) { transition-delay: .05s; } .mmenu__rack a:nth-child(2) { transition-delay: .1s; } .mmenu__rack a:nth-child(3) { transition-delay: .15s; }
.mmenu__rack a:nth-child(4) { transition-delay: .2s; } .mmenu__rack a:nth-child(5) { transition-delay: .25s; } .mmenu__rack a:nth-child(6) { transition-delay: .3s; }
.mmenu__rack .chip { width: 46px; height: 46px; border-radius: 9px; background-size: cover; background-position: center; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.mmenu__rack small { font: 600 12px/1 var(--f-h); color: var(--blue-hi); letter-spacing: .1em; }
.mmenu__foot { display: grid; gap: 10px; opacity: 0; transform: translateY(16px); transition: opacity .5s .3s, transform .6s .3s var(--ease); }
.menu-open .mmenu__foot { opacity: 1; transform: none; }
.mmenu__msg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mmenu__foot p { color: var(--muted-d); font-size: 14px; text-align: center; }

/* ---------- ролета й вивіска (прелоадер, перехід між сторінками) ---------- */
.shutter { position: fixed; inset: 0; z-index: 9000; display: none; flex-direction: column; pointer-events: none; }
.shutter.is-on { display: flex; pointer-events: auto; }
.shutter > i { flex: 1; margin-bottom: -1px; transform-origin: 50% 0; background: linear-gradient(180deg, #1A1F26 0%, #12161B 70%, #0B0D10 100%); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .05); }
.pre { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.pre__sign { text-align: center; padding: 26px 40px 22px; border-radius: 22px; background: #08090B; border: 1px solid rgba(255, 255, 255, .06); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.pre__script { display: block; font: 400 clamp(46px, 11vw, 96px)/1.1 var(--f-s); color: #20384f; transition: color .3s, text-shadow .3s; white-space: nowrap; }
.pre.is-lit .pre__script { color: var(--blue-hi); text-shadow: 0 0 12px rgba(62, 162, 255, .9), 0 0 42px rgba(10, 123, 219, .75); animation: flick 1.2s steps(1) 1; }
@keyframes flick { 0% { opacity: 1; } 8% { opacity: .35; } 14% { opacity: 1; } 22% { opacity: .5; } 26% { opacity: 1; } }
.pre__sign small { display: block; margin-top: 6px; font: 600 12px/1 var(--f-h); letter-spacing: .3em; text-transform: uppercase; color: var(--blue-hi); }

/* ---------- курсор-крапля ---------- */
.has-cur, .has-cur * { cursor: none !important; }
.has-cur input[type="text"], .has-cur input[type="search"], .has-cur input[type="number"], .has-cur textarea { cursor: text !important; }
.cur { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.cur.is-hidden { opacity: 0; }
.cur__drop { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; color: var(--blue); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease); will-change: transform; }
.cur__drop svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 6px rgba(10, 123, 219, .45)); transition: opacity .25s; }
.cur.on-dark .cur__drop { color: var(--blue-hi); }
.cur.is-link .cur__drop { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
.cur.is-link .cur__drop svg { opacity: .35; }
.cur.is-down .cur__drop { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
.cur__drop span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0); padding: 9px 14px; border-radius: 99px; background: var(--blue); color: #fff; font: 600 13px/1 var(--f-h); white-space: nowrap; transition: transform .35s var(--ease); }
.cur.is-label .cur__drop svg { opacity: 0; }
.cur.is-label .cur__drop span { transform: translate(-50%, -50%) scale(1); }
.cur__rip { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 1.5px solid var(--blue-hi); opacity: .6; animation: rip .9s var(--ease) forwards; }
.cur__rip--big { border-width: 2px; animation-duration: .8s; }
@keyframes rip { to { transform: scale(5); opacity: 0; } }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 96px 96px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.hero__glow { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -20vmax; top: -25vmax; border-radius: 50%; background: radial-gradient(circle, rgba(10, 123, 219, .35), transparent 62%); pointer-events: none; }
.hero__3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__in { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--hdr) + 40px); padding-bottom: 40px; pointer-events: none; }
.hero__copy { max-width: 640px; pointer-events: auto; }
.hero__kick { display: inline-flex; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-d); font: 500 13px/1 var(--f-h); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin-bottom: 22px; background: rgba(14, 16, 19, .4); }
.hero__title { font-weight: 700; font-size: clamp(66px, 10vw, 150px); line-height: .92; letter-spacing: -.035em; }
.hero__ln { display: inline-block; }
.hero__script { display: block; font: 400 clamp(64px, 9.4vw, 140px)/1.05 var(--f-s); color: var(--blue-hi); letter-spacing: 0; margin: -.02em 0 .1em -.03em; text-shadow: 0 0 22px rgba(62, 162, 255, .6), 0 0 70px rgba(10, 123, 219, .55); }
.hero__ln--sm { display: block; font-size: clamp(19px, 2vw, 26px); font-weight: 500; letter-spacing: 0; line-height: 1.25; color: rgba(255, 255, 255, .88); max-width: 520px; }
.hero__lead { margin-top: 20px; max-width: 520px; color: rgba(255, 255, 255, .68); font-size: 18px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__info { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font: 500 14px/1.2 var(--f-h); color: rgba(255, 255, 255, .78); }
.hero__info > * { display: inline-flex; align-items: center; gap: 8px; }
.hero__info svg { width: 16px; height: 16px; color: var(--blue-hi); }
.open-dot { display: inline-flex; align-items: center; gap: 8px; }
.open-dot i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 2s infinite; flex: none; }
.open-dot.is-closed i { background: var(--order); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.hero__drag { position: absolute; right: var(--gut); bottom: 28px; display: inline-flex; gap: 8px; align-items: center; font: 500 13px/1 var(--f-h); color: rgba(255, 255, 255, .5); }
.hero__drag svg { width: 18px; height: 18px; }

/* бренди — таблички, як на вивісці */
.plates { position: relative; z-index: 1; border-top: 1px solid var(--line-d); padding: 16px 0; overflow: hidden; background: rgba(8, 9, 11, .6); }
.plates__track { display: flex; gap: 10px; width: max-content; }
.plate { display: inline-flex; align-items: center; justify-content: center; height: 44px; min-width: 128px; padding: 0 22px; border-radius: 6px; font: 700 19px/1 var(--f-h); letter-spacing: .04em; white-space: nowrap; }
.plate--ravak { background: #D8232A; color: #fff; font-style: italic; letter-spacing: .02em; }
.plate--grohe { background: #1F2B6E; color: #fff; letter-spacing: .14em; font-size: 16px; }
.plate--volle { background: #F4F5F6; color: #2b2f36; font-weight: 400; letter-spacing: .18em; font-size: 17px; }
.plate--volle i { color: #D8232A; font-style: normal; }
.plate--roca { background: #121417; color: #fff; font-style: italic; border: 1px solid rgba(255, 255, 255, .15); }
.plate--bedco { background: #fff; color: #6d7680; font-weight: 500; text-transform: lowercase; letter-spacing: .06em; box-shadow: inset 0 -4px 0 var(--blue); }
.plate--plain { color: rgba(255, 255, 255, .7); border: 1px solid var(--line-d); font-weight: 500; font-size: 16px; }

/* ---------- ВИД ЗГОРИ: липка сцена + блоки, що їдуть угору ---------- */
.track { position: relative; height: 400vh; background: var(--ink); --u: min(calc(100vh / 800), calc(100vw / 716)); }
.scene { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.scene canvas { width: 100%; height: 100%; }
.scene__tint { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .02) 30%, rgba(0, 0, 0, .02) 70%, rgba(0, 0, 0, .12)); }
.scene__veil { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.track__content { position: absolute; inset: 0; color: #F9F9F9; pointer-events: none; }
.tb { position: absolute; width: calc(300 * var(--u)); text-shadow: 0 calc(4 * var(--u)) calc(16 * var(--u)) rgba(0, 0, 0, .55); }
.tb--intro { top: calc(940vh / 8); left: 50%; width: calc(1280 * var(--u)); max-width: 100vw; transform: translateX(-50%); text-align: center; }
.tb__eyebrow { font: 600 calc(7.4 * var(--u) + 6px)/1 var(--f-h); letter-spacing: .304em; text-transform: uppercase; color: #F7F5EF; margin-bottom: calc(18 * var(--u)); }
.tb__title { font: 700 calc(56 * var(--u))/calc(62 * var(--u)) var(--f-h); text-transform: uppercase; letter-spacing: -.01em; color: #F7F5EF; text-shadow: 0 calc(12 * var(--u)) calc(32 * var(--u)) rgba(0, 0, 0, .5); }
.tb__title span { display: block; white-space: nowrap; }
.tb__title span:nth-child(4) { font-family: var(--f-s); font-weight: 400; text-transform: none; color: var(--blue-hi); font-size: 1.12em; letter-spacing: 0; text-shadow: 0 0 calc(30 * var(--u)) rgba(62, 162, 255, .65), 0 calc(10 * var(--u)) calc(28 * var(--u)) rgba(0, 0, 0, .5); }
.tb h3 { font: 600 calc(19.6 * var(--u))/calc(20.5 * var(--u)) var(--f-h); text-transform: uppercase; letter-spacing: .02em; margin-bottom: calc(10 * var(--u)); }
.tb h3 span, .tb p span { display: block; }
.tb p { font: 400 calc(12.3 * var(--u) + 1px)/calc(15.4 * var(--u) + 2px) var(--f-b); color: rgba(255, 255, 255, .88); }
.tb__ico { display: block; width: calc(34 * var(--u)); height: calc(34 * var(--u)); margin-bottom: calc(30 * var(--u)); color: #F9F9F9; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.tb__ico svg { width: 100%; height: 100%; }
.tb--l1, .tb--l2 { text-align: right; }
.tb--l1 .tb__ico, .tb--l2 .tb__ico { margin-left: auto; }
.tb--l1 { top: calc(1500vh / 8); right: calc(50% + 78 * var(--u)); }
.tb--r1 { top: calc(1500vh / 8); left: calc(50% + 78 * var(--u)); }
.tb--l2 { top: calc(1759vh / 8); right: calc(50% + 88 * var(--u)); }
.tb--r2 { top: calc(1759vh / 8); left: calc(50% + 88 * var(--u)); }
.tb--c3 { top: calc(2063vh / 8); left: 50%; transform: translateX(-50%); text-align: center; }
.tb--c3 .tb__ico { margin-inline: auto; }
/* біла секція виходить із «пари» */
.trust { position: relative; z-index: 2; margin-top: -34vh; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, #fff 34vh); padding-top: 34vh; color: #141516; }
.trust__in { max-width: 1120px; margin: 0 auto; padding: 0 64px var(--sec); }
.trust__head { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid rgba(20, 21, 22, .16); }
.trust__head h2 { font: 700 clamp(34px, 4.4vw, 60px)/1 var(--f-h); text-transform: uppercase; letter-spacing: -.02em; }
.trust__head h2 span { display: block; }
.trust__grey { color: #8f8b8a; }
.trust__head p { font-size: 15px; color: rgba(20, 21, 22, .7); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 22px 4px 0; display: grid; gap: 6px; align-content: start; }
.fact + .fact { padding-left: 22px; border-left: 1px solid rgba(20, 21, 22, .16); }
.fact b { font: 600 clamp(38px, 4.4vw, 60px)/1 var(--f-h); letter-spacing: -.02em; color: var(--ink); }
.fact b small { font-size: .42em; margin-left: 4px; color: var(--blue); }
.fact span { color: var(--muted); font-size: 15px; max-width: 220px; }
/* портрет / вузький екран: одна колонка по центру */
@media (max-width: 609px), (orientation: portrait) {
  .track { --u: min(calc(100vw / 390), 1.6px); }
  .track__content { position: relative; inset: auto; height: 100%; padding: 112vh 22px 0; display: flex; flex-direction: column; align-items: center; }
  .tb { position: relative; inset: auto !important; transform: none !important; width: min(100%, calc(330 * var(--u))); text-align: center !important; margin-top: 16vh; }
  .tb--intro { width: 100%; margin-top: 0; }
  .tb--l1 { margin-top: 24vh; }
  .tb__title { font-size: clamp(34px, calc(46 * var(--u)), 72px); line-height: 1.08; }
  .tb__title span { white-space: normal; }
  .tb .tb__ico { margin: 0 auto calc(18 * var(--u)) !important; width: 40px; height: 40px; }
  .tb h3 { font-size: 22px; line-height: 1.1; }
  .tb h3 span, .tb p span { display: inline; }
  .tb p { font-size: 15.5px; line-height: 1.5; }
}
@media (max-width: 760px) {
  .trust__in { padding: 0 22px var(--sec); }
  .trust__head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(20, 21, 22, .16); margin-top: 22px; }
}

/* ---------- МАТЕРІАЛИ: стенд з дошками ---------- */
.rack { display: flex; align-items: flex-end; gap: 12px; height: clamp(380px, 40vw, 520px); padding-bottom: 18px; position: relative; }
.rack::after { content: ''; position: absolute; left: -10px; right: -10px; bottom: 0; height: 18px; border-radius: 6px; background: linear-gradient(180deg, #2a313a, #151a20); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.board { position: relative; flex: 1 1 0; height: var(--h); min-width: 0; border-radius: 12px 12px 4px 4px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; transition: flex-grow .7s var(--ease), translate .6s var(--ease); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); isolation: isolate; }
.board__tex { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1s var(--ease); }
.board::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(8, 10, 13, .88)); }
.board::after { content: ''; position: absolute; top: 14px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #c9d3dc; box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .35); }
.board:hover, .board:focus-visible { flex-grow: 1.7; translate: 0 -16px; }
.board:hover .board__tex { transform: scale(1.06); }
.board__n { font: 600 12px/1 var(--f-h); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-hi); }
.board__name { font: 600 clamp(19px, 1.8vw, 26px)/1.1 var(--f-h); margin-top: 8px; }
.board__more { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .75); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s; white-space: nowrap; }
.board__more svg { width: 16px; height: 16px; }
.board:hover .board__more, .board:focus-visible .board__more { max-height: 40px; opacity: 1; }
.board--santeh { background: radial-gradient(circle at 50% 30%, #3EA2FF 0, #0A7BDB 35%, #06416f 100%); }
.board--santeh::before { background: linear-gradient(180deg, transparent 40%, rgba(4, 30, 54, .75)); }
.board--santeh .board__tex { display: none; }
.board--santeh .board__n { color: #cfe8ff; }

/* ---------- САНТЕХНІКА ---------- */
.santeh__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.santeh__photo { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 720px; background: var(--stone); }
.santeh__photo img { width: 100%; height: 100%; object-fit: cover; }
.spots { position: absolute; inset: 0; }
.spot { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; }
.spot > i { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 6px rgba(255, 255, 255, .25); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.spot > i::before, .spot > i::after { content: ''; position: absolute; width: 14px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .3s var(--ease); }
.spot > i::after { transform: rotate(90deg); }
.spot:hover > i, .spot.is-open > i { background: var(--blue); transform: scale(1.08); }
.spot:hover > i::before, .spot:hover > i::after, .spot.is-open > i::before, .spot.is-open > i::after { background: #fff; }
.spot.is-open > i::after { transform: rotate(0); }
.spot::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #fff; animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(.8); opacity: .8; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.spot__card { position: absolute; left: 50%; bottom: calc(100% + 12px); width: 230px; transform: translate(-50%, 8px) scale(.96); opacity: 0; visibility: hidden; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--text); text-align: left; display: grid; gap: 4px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s; z-index: 2; }
.spot.is-open .spot__card, .spot:hover .spot__card { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .3s, transform .4s var(--ease); }
.spot__card b { font: 600 15px/1.2 var(--f-h); }
.spot__card small { color: var(--muted); font-size: 13px; }
.spot__card em { justify-self: start; margin-top: 6px; padding: 7px 12px; border-radius: 99px; background: var(--blue); color: #fff; font: 600 12px/1 var(--f-h); font-style: normal; cursor: pointer; }
.spot__card em.is-on { background: var(--in); }
.santeh__lead { color: var(--muted); max-width: 520px; margin-top: 18px; }
.santeh__list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 8px; }
.sitem-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 8px 8px 8px 8px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.sitem-row:hover { border-color: var(--blue); transform: translateX(4px); }
.sitem-row img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.sitem-row b { display: block; font: 600 15px/1.25 var(--f-h); }
.sitem-row small { color: var(--muted); font-size: 13px; }
.sitem-row__p { font: 600 17px/1 var(--f-h); white-space: nowrap; }
.sitem-row__p small { font-size: 12px; }
.santeh__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* іконкові кнопки (картки, колода) */
.ibtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; min-width: 42px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line); font: 600 13px/1 var(--f-h); white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.ibtn svg { width: 16px; height: 16px; }
.ibtn:hover { border-color: var(--blue); color: var(--blue); }
.ibtn--pick { background: var(--ink); color: #fff; border-color: var(--ink); }
.ibtn--pick:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.ibtn--pick.is-on { background: var(--in); border-color: var(--in); color: #fff; }
.sitem-row .ibtn--pick { width: 42px; padding: 0; }
.sitem-row .ibtn--pick span { display: none; }

/* ---------- ХІТИ: колода ---------- */
.hits__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hits__copy p { color: var(--muted); margin: 18px 0 26px; max-width: 400px; }
.deck-nav { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.dnav { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--text); display: grid; place-items: center; transition: background .25s, color .25s; }
.dnav:hover { background: var(--ink); color: #fff; }
.dnav svg { width: 20px; height: 20px; }
.deck-count { font: 500 15px/1 var(--f-h); color: var(--muted); }
.deck-count b { font-size: 28px; color: var(--text); }
.deck { position: relative; height: 560px; outline: none; touch-action: pan-y; }
.dcard { position: absolute; inset: 0 60px 30px 0; display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(14, 16, 19, .45); transition: transform .6s var(--ease), opacity .45s; transform-origin: 50% 100%; user-select: none; }
.dcard[data-i="1"] { transform: translate(20px, 14px) rotate(2.5deg) scale(.97); z-index: 3; }
.dcard[data-i="2"] { transform: translate(40px, 28px) rotate(5deg) scale(.94); z-index: 2; }
.dcard[data-i="3"] { transform: translate(60px, 42px) rotate(7.5deg) scale(.91); z-index: 1; opacity: .7; }
.dcard[data-i="x"] { transform: translate(60px, 42px) rotate(8deg) scale(.9); opacity: 0; z-index: 0; }
.dcard[data-i="0"] { z-index: 4; }
.dcard.is-out { transform: translateY(-110%) rotate(-6deg) !important; opacity: 0; }
.dcard__media { position: relative; background: var(--por); overflow: hidden; }
.dcard__media img { width: 100%; height: 100%; object-fit: cover; }
.dcard__photo { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.dcard:hover .dcard__photo { opacity: 1; }
.dcard--san .dcard__media > img:first-child { object-fit: contain; padding: 30px; background: #EEF2F6; }
.dcard__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.dcard__meta { font: 600 12px/1.3 var(--f-h); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.dcard__name { font-size: clamp(26px, 2.6vw, 36px); }
.dcard__spec { color: var(--muted); font-size: 15px; }
.dcard__row { margin-top: auto; display: grid; gap: 14px; }
.dcard__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.price small { display: block; color: var(--muted); font-size: 13px; }
.price small s { margin-left: 4px; color: var(--sale); }
.price b { font: 600 30px/1 var(--f-h); letter-spacing: -.01em; }
.price b span { font-size: 14px; font-weight: 500; color: var(--muted); }

/* бейджі */
.pcard__tags { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 5px; z-index: 2; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; background: #fff; font: 600 11px/1 var(--f-h); letter-spacing: .04em; color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.tag--hit { background: var(--blue); color: #fff; }
.tag--sale { background: var(--sale); color: #fff; }
.tag--lino { background: #F3E6D0; color: #6b4a1d; }
.tag--san { background: var(--ink); color: #fff; }
.tag--new { background: #E9F6EE; color: #1B7A47; }
.stock { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; background: rgba(255, 255, 255, .92); font: 600 11px/1 var(--f-h); }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--in); }
.stock--order { color: var(--order); }

/* ---------- 3D-КІМНАТА ---------- */
.calc-sec { background: radial-gradient(ellipse at 80% 0%, rgba(10, 123, 219, .18), transparent 55%), var(--ink); }
.calc__top { display: grid; grid-template-columns: minmax(330px, 420px) minmax(0, 1fr); gap: 18px; align-items: start; }
.panel { display: grid; gap: 10px; }
.step { padding: 16px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line-d); }
.step__t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; font: 600 15px/1.2 var(--f-h); }
.step__t b { color: var(--blue-hi); margin-right: 8px; font-size: 13px; }
.step__hint { font: 500 12px/1.2 var(--f-b); color: var(--muted-d); text-align: right; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg label { position: relative; flex: 1 1 0; min-width: 0; }
.seg--wrap label { flex: 0 0 auto; }
.seg input, .grout input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; margin: 0; }
.seg span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 44px; padding: 8px 12px; border-radius: 11px; background: var(--ink-3); border: 1px solid transparent; font: 500 14px/1.15 var(--f-h); text-align: center; cursor: pointer; transition: background .25s, border-color .25s, color .25s; white-space: nowrap; }
.seg span em { font-style: normal; font-size: 11px; color: var(--muted-d); }
.seg label:hover span { border-color: rgba(62, 162, 255, .5); }
.seg input:checked + span { background: var(--blue); color: #fff; }
.seg input:checked + span em { color: rgba(255, 255, 255, .8); }
.seg input:focus-visible + span { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
.sliders { display: grid; gap: 14px; }
.slider[data-walls].is-off { opacity: .45; }
.slider__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 14px; color: var(--muted-d); }
.slider__row b { font: 600 18px/1 var(--f-h); color: #fff; }
.slider__row small { font-size: 12px; color: var(--muted-d); margin-left: 3px; }
.rng { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; margin: 0; --p: 50%; }
.rng::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue-hi) var(--p), rgba(255, 255, 255, .14) var(--p)); }
.rng::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.rng::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--blue-hi); }
.rng::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); box-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.rng::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); }
.kinds { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--ink-3); margin-bottom: 12px; }
.kinds button { flex: 1; height: 36px; border-radius: 9px; font: 500 14px/1 var(--f-h); color: var(--muted-d); transition: background .25s, color .25s; }
.kinds button.is-on { background: #fff; color: var(--ink); }
.picks { margin-bottom: 8px; }
.picks__t { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 8px; font: 500 13px/1 var(--f-h); color: var(--muted-d); }
.picks__t b { color: #fff; }
.picks__t button { font-size: 12px; color: var(--blue-hi); text-decoration: underline; text-underline-offset: 3px; }
.swatch-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 7px; margin-bottom: 8px; }
.sw { position: relative; aspect-ratio: 1; border-radius: 10px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .25s var(--ease), box-shadow .25s; }
.sw:hover { transform: translateY(-2px); }
.sw.is-on { box-shadow: 0 0 0 2px var(--ink-2), 0 0 0 4px var(--blue-hi); }
.sw.is-hidden { display: none; }
.sw em { position: absolute; left: 3px; right: 3px; bottom: 3px; padding: 2px 0; border-radius: 4px; background: rgba(0, 0, 0, .6); font: 600 8.5px/1 var(--f-h); font-style: normal; text-align: center; color: #fff; }
.sw--san { background-color: #EEF2F6; }
.sw-name { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; padding-top: 6px; font-size: 14px; }
.sw-name b { font: 600 15px/1.3 var(--f-h); }
.sw-name span { color: var(--muted-d); font-size: 13px; }
.fmt-own { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted-d); }
.fmt-own input { width: 68px; height: 36px; padding: 0 8px; border-radius: 9px; border: 1px solid var(--line-d); background: var(--ink-3); color: #fff; text-align: center; }
.fmt-own i { font-style: normal; }
.fmt-note { margin-top: 8px; font-size: 13px; color: #FFD58A; }
.grout { display: flex; gap: 8px; flex-wrap: wrap; }
.grout label { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--ink-3); border: 1px solid transparent; cursor: pointer; font: 500 14px/1 var(--f-h); }
.grout label i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.grout label:has(input:checked) { border-color: var(--blue-hi); }
.stech { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.stech__b { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 30px 6px 6px; border-radius: 12px; background: var(--ink-3); border: 1px solid transparent; text-align: left; transition: border-color .25s, background .25s; }
.stech__b img { width: 40px; height: 40px; border-radius: 8px; flex: none; }
.stech__b b { display: block; font: 600 13px/1.15 var(--f-h); }
.stech__b small { font-size: 11.5px; color: var(--muted-d); }
.stech__b i { position: absolute; right: 9px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 1.5px solid var(--muted-d); transition: background .25s, border-color .25s; }
.stech__b:hover { border-color: rgba(62, 162, 255, .5); }
.stech__b.is-on { background: rgba(10, 123, 219, .22); border-color: var(--blue-hi); }
.stech__b.is-on i { background: var(--blue-hi) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: var(--blue-hi); }

/* липке 3D-вікно — у своїй обгортці разом із панеллю (не наїжджає на результат) */
.viewer-wrap { position: sticky; top: 92px; }
.viewer { position: relative; height: min(76vh, 680px); min-height: 420px; border-radius: 22px; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #26303b, #0b0e12 75%); border: 1px solid var(--line-d); touch-action: none; }
.viewer canvas { width: 100%; height: 100%; }
.viewer.is-drag { cursor: grabbing; }
.viewer__top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; pointer-events: none; }
.vbtns { display: flex; gap: 3px; padding: 3px; border-radius: 12px; background: rgba(14, 16, 19, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: auto; }
.vbtns button { min-width: 36px; height: 34px; padding: 0 10px; border-radius: 9px; display: grid; place-items: center; font: 500 13px/1 var(--f-h); color: rgba(255, 255, 255, .75); }
.vbtns button svg { width: 15px; height: 15px; }
.vbtns button.is-on, .vbtns button:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.dim3d { position: absolute; left: 0; top: 0; padding: 4px 8px; border-radius: 6px; background: var(--blue); color: #fff; font: 600 12px/1 var(--f-h); pointer-events: none; transition: opacity .3s; white-space: nowrap; }
.viewer__tile { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.viewer__tile-i { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 12px; background: rgba(14, 16, 19, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; }
.viewer__tile-i i { width: 34px; height: 34px; border-radius: 8px; background-size: cover; background-position: center; background-color: #EEF2F6; }
.viewer__tile-i b { display: block; font: 600 13px/1.2 var(--f-h); }
.viewer__tile-i small { font-size: 11.5px; color: var(--muted-d); }
.viewer__hint { position: absolute; right: 14px; bottom: 64px; display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: rgba(14, 16, 19, .7); color: rgba(255, 255, 255, .8); font: 500 12px/1 var(--f-h); pointer-events: none; transition: opacity .5s; }
.viewer.was-dragged .viewer__hint { opacity: 0; }
.viewer__fail { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; text-align: center; color: var(--muted-d); }
.result { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) auto; gap: 14px; align-items: stretch; padding: 16px; border-radius: 20px; background: #fff; color: var(--text); }
.result__cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.result__cells > div, .result__total { padding: 12px 14px; border-radius: 14px; background: var(--por); }
.result small { display: block; font: 500 12px/1 var(--f-h); color: var(--muted); margin-bottom: 8px; letter-spacing: .04em; text-transform: uppercase; }
.result b { font: 600 26px/1 var(--f-h); letter-spacing: -.01em; white-space: nowrap; }
.result b span + span { font-size: 13px; color: var(--muted); margin-left: 4px; font-weight: 500; }
.result__total { background: var(--ink); color: #fff; }
.result__total small { color: var(--muted-d); }
.result__total b { font-size: 32px; color: var(--blue-hi); }
.result__total b span + span { color: var(--muted-d); }
.result__btns { display: grid; gap: 8px; align-content: center; }
.calc-split { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.calc-split span { padding: 8px 12px; border-radius: 10px; background: var(--blue-soft); }
.calc-split b { margin-right: 6px; font-family: var(--f-h); color: var(--blue-deep); }
.calc-note { margin-top: 12px; font-size: 13px; color: var(--muted-d); text-align: center; }

/* ---------- ЯК ЗАМОВИТИ: цінники на рейці ---------- */
.rail { list-style: none; padding: 34px 0 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.rail::before { content: ''; position: absolute; left: -8px; right: -8px; top: 8px; height: 10px; border-radius: 6px; background: linear-gradient(180deg, #e6ebf0, #9aa6b2); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .35); }
.label { position: relative; padding: 34px 22px 24px; border-radius: 6px 6px 18px 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 40px -30px rgba(14, 16, 19, .5); }
.label::before { content: ''; position: absolute; top: -26px; left: 50%; width: 2px; height: 30px; background: #9aa6b2; }
.label__hole { position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--por); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .25); }
.label b { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--blue); color: #fff; font: 600 14px/1 var(--f-h); }
.label h3 { font-size: 22px; margin: 14px 0 8px; }
.label p { color: var(--muted); font-size: 15px; }
.label:nth-child(2) b { background: var(--ink); }
.label:nth-child(3) b { background: #1F2B6E; }
.label:nth-child(4) b { background: var(--sale); }

/* ---------- ФОТО: бенто ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 10px; grid-template-areas: 'a a b c' 'a a b d' 'e f g h'; }
.gitem { position: relative; overflow: hidden; border-radius: 16px; background: var(--stone); }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gitem:hover img { transform: scale(1.06); }
.gitem::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10, 123, 219, .35)); opacity: 0; transition: opacity .4s; }
.gitem:hover::after { opacity: 1; }
.g1 { grid-area: a; } .g2 { grid-area: b; } .g3 { grid-area: c; } .g4 { grid-area: d; } .g5 { grid-area: e; } .g6 { grid-area: f; } .g7 { grid-area: g; } .g8 { grid-area: h; }

/* ---------- ВІДГУКИ: переписка ---------- */
.rev__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.rev__side { position: sticky; top: 110px; }
.rev__score { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 26px 0; }
.rev__score b { font: 600 64px/1 var(--f-h); }
.rev__score small { width: 100%; color: var(--muted-d); font-size: 14px; }
.stars { display: inline-flex; gap: 3px; color: #FFC531; }
.stars svg { width: 22px; height: 22px; }
.stars--sm svg { width: 13px; height: 13px; }
.stars .star-part { color: rgba(255, 197, 49, .35); }
.rev__quote { margin: 0; padding: 22px 24px; border-left: 3px solid var(--blue-hi); background: var(--ink-2); border-radius: 0 16px 16px 0; font: 500 20px/1.4 var(--f-h); }
.rev__quote cite { display: block; margin-top: 12px; font: 400 14px/1.3 var(--f-b); color: var(--muted-d); font-style: normal; }
.chat { border-radius: 28px; background: #0B1118; border: 1px solid var(--line-d); padding: 0 16px 20px; box-shadow: 0 40px 80px -40px rgba(10, 123, 219, .45); display: grid; gap: 12px; }
.chat__bar { display: flex; align-items: center; gap: 12px; margin: 0 -16px 6px; padding: 14px 18px; border-bottom: 1px solid var(--line-d); }
.chat__bar b { display: block; font: 600 15px/1.2 var(--f-h); }
.chat__bar small { color: var(--muted-d); font-size: 12px; }
.chat__ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--f-h); }
.chat__ava--shop { background: var(--blue); }
.msg { display: flex; align-items: flex-end; gap: 10px; max-width: 92%; }
.msg__ava { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--a); font: 600 14px/1 var(--f-h); }
.msg__b { padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: #1A2430; }
.msg__b b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 600 14px/1.2 var(--f-h); margin-bottom: 6px; }
.msg__b p { font-size: 16px; line-height: 1.5; color: #E8EEF4; }
.msg__b small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted-d); }
.msg--me { margin-left: auto; }
.msg--me .msg__b { background: var(--blue); border-radius: 18px 18px 6px 18px; }
.msg--me .msg__b small { color: rgba(255, 255, 255, .7); text-align: right; }

/* ---------- ПИТАННЯ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__lead { color: var(--muted); margin: 18px 0 24px; max-width: 360px; }
.faq { display: grid; gap: 8px; }
.faq details { border-radius: 16px; background: var(--paper); border: 1px solid var(--line); transition: border-color .3s; }
.faq details[open]:not(.is-closing) { border-color: var(--blue); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font: 600 18px/1.3 var(--f-h); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--por); transition: background .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease), background .3s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open]:not(.is-closing) summary i { background: var(--blue); transform: rotate(180deg); }
.faq details[open]:not(.is-closing) summary i::before, .faq details[open]:not(.is-closing) summary i::after { background: #fff; }
.faq details[open]:not(.is-closing) summary i::after { transform: rotate(0); }
.faq__a > div { padding: 0 22px 20px; color: var(--muted); }

/* ---------- КОНТАКТИ ---------- */
.con__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 14px; align-items: stretch; }
.con__map { border-radius: 24px; overflow: hidden; min-height: 460px; background: var(--stone); }
.con__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: saturate(.85); }
.con__card { padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 18px; }
.con__logo { font: 400 40px/1 var(--f-s); color: var(--blue-hi); text-shadow: 0 0 20px rgba(62, 162, 255, .5); }
.con__title { font-size: clamp(26px, 2.6vw, 34px); }
.con__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.con__list li { display: flex; gap: 14px; align-items: flex-start; }
.con__list li > svg { width: 22px; height: 22px; color: var(--blue-hi); margin-top: 2px; }
.con__list b { display: block; font: 600 17px/1.3 var(--f-h); }
.con__list li span { color: var(--muted-d); font-size: 15px; }
.con__list li span b { color: #fff; }
.con__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* ---------- ФУТЕР ---------- */
.footer { background: var(--ink); color: #fff; padding: clamp(48px, 6vw, 80px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer__sign { font: 400 clamp(64px, 15vw, 230px)/1 var(--f-s); color: transparent; -webkit-text-stroke: 1px rgba(62, 162, 255, .45); white-space: nowrap; text-align: center; margin-bottom: clamp(28px, 4vw, 48px); transition: color 1s, text-shadow 1s; }
.footer__sign.is-lit { color: var(--blue-hi); -webkit-text-stroke-color: transparent; text-shadow: 0 0 30px rgba(62, 162, 255, .5), 0 0 90px rgba(10, 123, 219, .45); }
.footer__sign span { display: inline-block; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line-d); }
.footer__about { margin-top: 14px; color: var(--muted-d); font-size: 15px; max-width: 360px; }
.footer h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-hi); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.footer ul a:hover { color: var(--blue-hi); }
.footer__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: 13px; color: var(--muted-d); }

/* ---------- мобільна панель «Дзвінок / Viber / Telegram» ---------- */
.mbar { position: fixed; z-index: 70; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: none; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 18px; background: rgba(14, 16, 19, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6); transform: translateY(140%); transition: transform .5s var(--ease); }
.mbar.is-on { transform: none; }
.mbar__b { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 13px; color: #fff; font: 600 14px/1 var(--f-h); }
.mbar__b svg { width: 18px; height: 18px; }
.mbar__b--call { background: var(--blue); }
.mbar__b--viber { background: #7360F2; }
.mbar__b--tg { background: #2AABEE; }

/* ---------- панель підбірки ---------- */
.pickbar { position: fixed; z-index: 75; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .65); animation: barIn .6s var(--ease); max-width: calc(100% - 20px); }
.pickbar[hidden] { display: none; }
@keyframes barIn { from { transform: translate(-50%, 140%); } }
.pickbar__thumbs { display: flex; }
.pickbar__thumbs img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; border: 2px solid var(--ink); background: #EEF2F6; }
.pickbar__thumbs img + img { margin-left: -12px; }
.pickbar__txt { font: 500 14px/1 var(--f-h); white-space: nowrap; }
.pickbar__x { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--muted-d); }
.pickbar__x:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.pickbar__x svg { width: 16px; height: 16px; }

/* тост — завжди над панеллю підбірки */
.toast { position: fixed; z-index: 95; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px); opacity: 0; visibility: hidden; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; max-width: calc(100% - 24px); border-radius: 14px; background: #fff; color: var(--text); font: 500 14px/1.3 var(--f-h); box-shadow: 0 20px 50px -16px rgba(0, 0, 0, .45); transition: transform .45s var(--ease), opacity .3s, visibility 0s .45s; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .45s var(--ease), opacity .3s; }
.toast button { padding: 9px 14px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 600; white-space: nowrap; }
.has-picks .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }

/* ---------- вікно «скопіюйте — вставте» ---------- */
.send { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.send.is-open { visibility: visible; }
.send__bg { position: absolute; inset: 0; background: rgba(8, 10, 13, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.send.is-open .send__bg { opacity: 1; }
.send__box { position: relative; width: min(640px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: clamp(20px, 3vw, 32px); border-radius: 26px; background: var(--paper); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); transform: translateY(40px) scale(.96); opacity: 0; transition: transform .55s var(--ease), opacity .35s; overscroll-behavior: contain; }
.send.is-open .send__box { transform: none; opacity: 1; }
.send__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--por); }
.send__x svg { width: 18px; height: 18px; }
.send__head { padding-right: 46px; }
.send__kick { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font: 500 13px/1.2 var(--f-h); color: var(--muted); }
.send__kick .logo__script { font-size: 22px; color: var(--blue); text-shadow: none; }
.send__head h2 { font-size: clamp(26px, 3.4vw, 34px); margin-top: 6px; }
.send__steps { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.send__steps li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--por); font: 500 13px/1.25 var(--f-h); transition: background .3s; }
.send__steps b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 13px; }
.send__steps li.is-done { background: #E6F5EC; }
.send__steps li.is-done b { background: var(--in); }
.send__list { display: grid; gap: 6px; margin-bottom: 14px; max-height: 220px; overflow-y: auto; }
.send__list:empty { display: none; }
.sitem { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 36px; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; border: 1px solid var(--line); }
.sitem img { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; background: #EEF2F6; }
.sitem b { display: block; font: 600 14px/1.2 var(--f-h); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sitem small { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sitem__p { font: 600 13px/1 var(--f-h); white-space: nowrap; }
.sitem button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); }
.sitem button:hover { background: #FDECEC; color: var(--sale); }
.sitem button svg { width: 15px; height: 15px; }
.send__label { display: block; margin-bottom: 8px; font: 500 13px/1 var(--f-h); color: var(--muted); }
.send__bubble { position: relative; border-radius: 18px 18px 6px 18px; background: var(--blue-soft); padding: 4px; }
.send__bubble textarea { display: block; width: 100%; min-height: 180px; resize: vertical; border: 0; border-radius: 15px 15px 4px 15px; padding: 14px 16px; background: transparent; font: 400 15px/1.5 var(--f-b); color: var(--text); outline: none; }
.send__bubble:focus-within { box-shadow: 0 0 0 2px var(--blue); }
.send__btns { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; margin-top: 14px; }
.send__btns .btn { padding: 0 14px; }
.send__note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.send__note a { color: var(--blue); font-weight: 600; }

/* ---------- лайтбокс ---------- */
.lightbox { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; background: rgba(8, 10, 13, .94); visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity .35s; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox img { max-height: 80vh; margin-inline: auto; border-radius: 14px; }
.lightbox figcaption { margin-top: 12px; color: rgba(255, 255, 255, .75); font: 500 15px/1.3 var(--f-h); }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.lb-btn:hover { background: var(--blue); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -25px; }
.lb-next { right: 16px; top: 50%; margin-top: -25px; }
.lb-count { position: absolute; top: 28px; left: 24px; color: rgba(255, 255, 255, .6); font: 500 14px/1 var(--f-h); }

/* ==========================================================
   КАТАЛОГ
   ========================================================== */
.chero { position: relative; background: var(--ink); color: #fff; padding: calc(var(--hdr) + 56px) 0 48px; overflow: hidden; isolation: isolate; }
.chero .hero__glow { right: -30vmax; top: -40vmax; }
.chero__in { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.crumbs { display: flex; gap: 8px; font: 500 14px/1 var(--f-h); color: var(--muted-d); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.chero__title { font-size: clamp(52px, 8vw, 110px); font-weight: 700; line-height: .95; letter-spacing: -.03em; }
.chero__title .hero__script { display: inline-block; font-size: .9em; margin: 0 0 0 .1em; }
.chero__lead { margin-top: 18px; max-width: 560px; color: rgba(255, 255, 255, .7); }
.chero__stats { display: flex; gap: 10px; }
.chero__stats > div { padding: 14px 18px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line-d); font-size: 13px; color: var(--muted-d); min-width: 110px; }
.chero__stats b { display: block; font: 600 32px/1 var(--f-h); color: #fff; margin-bottom: 4px; }
.looks-wrap { background: var(--ink); padding-bottom: 28px; position: relative; }
.looks { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 6px; scroll-snap-type: x proximity; }
.looks::-webkit-scrollbar { display: none; }
.look { flex: 1 0 auto; display: flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line-d); color: #fff; text-align: left; scroll-snap-align: start; transition: background .25s, border-color .25s; }
.look:hover { border-color: rgba(62, 162, 255, .5); }
.look.is-on { background: var(--blue); border-color: var(--blue); }
.look__sq { width: 46px; height: 46px; border-radius: 11px; background-size: cover; background-position: center; flex: none; }
.look__sq--all { background: conic-gradient(from 45deg, #d9cdb8, #7d8a96, #0A7BDB, #b65b3a, #d9cdb8); }
.look__sq--santeh { background: #EEF2F6 url(../img/st-shower.svg) center / cover; }
.look span { font: 600 15px/1.15 var(--f-h); white-space: nowrap; }
.look small { display: block; font: 500 12px/1.2 var(--f-b); color: var(--muted-d); margin-top: 2px; }
.look.is-on small { color: rgba(255, 255, 255, .8); }

.shop { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; padding-block: 32px 56px; align-items: start; }
.filters { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain; padding: 18px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); scrollbar-width: thin; }
.filters__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.filters__head h2 { font-size: 22px; margin-right: auto; }
.f-reset { font: 500 13px/1 var(--f-h); color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.f-close { display: none; width: 38px; height: 38px; border-radius: 10px; place-items: center; background: var(--por); }
.f-close svg { width: 16px; height: 16px; }
.fgrp { border-top: 1px solid var(--line); }
.fgrp summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font: 600 15px/1 var(--f-h); cursor: pointer; }
.fgrp summary::-webkit-details-marker { display: none; }
.fgrp summary svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.fgrp[open]:not(.is-closing) summary svg { transform: rotate(180deg); }
.fgrp__body > div { padding-bottom: 14px; }
.checks { display: grid; gap: 4px; }
.check { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; cursor: pointer; }
.check input, .switch input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; margin: 0; }
.check i { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #b9c2cb; flex: none; transition: background .2s, border-color .2s; }
.check input:checked + i { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: var(--blue); }
.check input:focus-visible + i { outline: 2px solid var(--blue); outline-offset: 2px; }
.check em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.check.is-empty { opacity: .4; }
.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
.cswatch { display: flex; align-items: center; gap: 8px; padding: 5px 4px; border-radius: 8px; font-size: 14px; text-align: left; transition: background .2s; }
.cswatch i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.cswatch:hover { background: var(--por); }
.cswatch.is-on { background: var(--blue-soft); font-weight: 600; }
.cswatch.is-on i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }
.cswatch.is-empty, .fchip.is-empty { opacity: .4; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { padding: 8px 12px; border-radius: 99px; border: 1.5px solid var(--line); font: 500 13px/1 var(--f-h); transition: background .2s, border-color .2s, color .2s; }
.fchip:hover { border-color: var(--blue); }
.fchip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.prange { position: relative; height: 28px; }
.prange__track { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--stone); }
.prange__fill { position: absolute; top: 0; bottom: 0; background: var(--blue); border-radius: 4px; }
.prange input { position: absolute; left: 0; top: 0; width: 100%; height: 28px; margin: 0; -webkit-appearance: none; appearance: none; background: none; pointer-events: none; }
.prange input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); cursor: pointer; }
.prange input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); cursor: pointer; }
.pinputs { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.pinputs input { width: 100%; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--por); text-align: center; }
.fnote { margin-top: 8px; font-size: 12px; color: var(--muted); }
.switch { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); font: 600 15px/1 var(--f-h); cursor: pointer; }
.switch i { position: relative; width: 44px; height: 26px; border-radius: 99px; background: var(--stone); transition: background .25s; flex: none; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.switch input:checked + i { background: var(--blue); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--blue); outline-offset: 2px; }
.filters__apply { display: none; margin-top: 10px; }
.f-shade { display: none; }

.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.search { position: relative; flex: 1 1 260px; display: flex; align-items: center; }
.search svg { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 48px; padding: 0 16px 0 46px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--paper); outline: none; transition: border-color .2s; }
.search input:focus { border-color: var(--blue); }
.toolbar__count { font-size: 14px; color: var(--muted); }
.toolbar__count b { color: var(--text); }
.toolbar__r { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.f-open { display: none; }
.select { position: relative; display: flex; align-items: center; }
.select select { -webkit-appearance: none; appearance: none; height: 42px; padding: 0 38px 0 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--paper); font: 500 14px/1 var(--f-h); cursor: pointer; }
.select svg { position: absolute; right: 14px; width: 14px; height: 14px; pointer-events: none; }
.vtoggle { display: flex; padding: 3px; border-radius: 99px; background: var(--paper); border: 1.5px solid var(--line); }
.vtoggle button { width: 36px; height: 34px; border-radius: 99px; display: grid; place-items: center; color: var(--muted); }
.vtoggle button.is-on { background: var(--ink); color: #fff; }
.vtoggle svg { width: 16px; height: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pills:empty { display: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 6px 0 12px; border-radius: 99px; background: var(--blue-soft); color: var(--blue-deep); font: 500 13px/1 var(--f-h); }
.pill span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.pill svg { width: 11px; height: 11px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.pcard { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(14, 16, 19, .45); border-color: rgba(10, 123, 219, .35); }
.pcard__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #EEF2F6; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__photo { position: absolute; inset: 0; opacity: 0; transition: opacity .6s, transform 1.2s var(--ease); transform: scale(1.06); }
.pcard:hover .pcard__photo { opacity: 1; transform: none; }
.pcard--san .pcard__cut { object-fit: contain; padding: 18px; }
.pcard__qv { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 99px; background: var(--ink); color: #fff; font: 600 12px/1 var(--f-h); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease); }
.pcard__qv svg { width: 15px; height: 15px; }
.pcard:hover .pcard__qv, .pcard__qv:focus-visible { opacity: 1; transform: none; }
.pcard__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.pcard__meta { font: 600 11px/1.3 var(--f-h); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.pcard__name { font-size: 20px; }
.pcard__name button { text-align: left; }
.pcard__name button:hover { color: var(--blue); }
.pcard__specs { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.pcard__specs li { padding: 4px 8px; border-radius: 6px; background: var(--por); font-size: 12px; color: var(--muted); }
.pcard__specs li:empty { display: none; }
.pcard__table { display: none; }
.pcard__foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.pcard__foot .price b { font-size: 24px; }
.pcard__actions { display: flex; gap: 6px; }
.pcard__actions .ibtn--pick { padding: 0 12px; }
.grid.is-list { grid-template-columns: 1fr; }
.grid.is-list .pcard { flex-direction: row; }
.grid.is-list .pcard__media { width: 210px; flex: none; aspect-ratio: auto; min-height: 210px; }
.grid.is-list .pcard__table { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 6px; font-size: 14px; }
.grid.is-list .pcard__table small { display: block; font-size: 11px; color: var(--muted); }
.grid.is-list .pcard__specs { display: none; }
.empty { text-align: center; padding: 56px 20px; border-radius: 20px; background: var(--paper); border: 1px dashed var(--line); }
.empty .logo__script { font-size: 40px; color: var(--blue); text-shadow: none; }
.empty h3 { font-size: 26px; margin: 10px 0 8px; }
.empty p { color: var(--muted); max-width: 420px; margin: 0 auto 18px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.more { display: grid; justify-items: center; gap: 12px; margin-top: 28px; }
.more[hidden] { display: none; }
.more p { font-size: 14px; color: var(--muted); }
.more__bar { width: 200px; height: 3px; border-radius: 3px; background: var(--stone); overflow: hidden; }
.more__bar i { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: var(--sec); padding: clamp(24px, 4vw, 44px); border-radius: 26px; background: radial-gradient(ellipse at 100% 0%, rgba(62, 162, 255, .35), transparent 60%), var(--ink); color: #fff; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); }
.cta-band p { color: var(--muted-d); margin-top: 8px; max-width: 520px; }
.cta-band .btns { justify-content: flex-start; }

/* швидкий перегляд */
.qv { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.qv.is-open { visibility: visible; }
.qv__bg { position: absolute; inset: 0; background: rgba(8, 10, 13, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.qv.is-open .qv__bg { opacity: 1; }
.qv__box { position: relative; width: min(1000px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 26px; background: var(--paper); transform: translateY(40px) scale(.97); opacity: 0; transition: transform .55s var(--ease), opacity .35s; }
.qv.is-open .qv__box { transform: none; opacity: 1; }
.qv__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--por); }
.qv__close svg { width: 18px; height: 18px; }
.qv__gal { padding: 14px; background: #EEF2F6; }
.qv__main { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #fff; }
.qv__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.qv__thumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; }
.qv__thumbs button { width: 60px; height: 60px; flex: none; border-radius: 10px; overflow: hidden; opacity: .6; transition: opacity .2s, box-shadow .2s; }
.qv__thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--blue); }
.qv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv__info { position: relative; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.qv__info .pcard__tags { position: static; }
.qv__type { font: 600 12px/1.3 var(--f-h); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.qv__info h2 { font-size: clamp(28px, 3vw, 38px); padding-right: 40px; }
.qv__price { display: flex; align-items: baseline; gap: 8px; }
.qv__price b { font: 600 38px/1 var(--f-h); }
.qv__price span { color: var(--muted); }
.qv__price s { color: var(--sale); margin-left: 6px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.specs div { padding: 10px 12px; border-radius: 12px; background: var(--por); font: 500 14px/1.3 var(--f-h); }
.specs small { display: block; font: 400 12px/1.2 var(--f-b); color: var(--muted); margin-bottom: 3px; }
.qv__formats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.qv__formats:empty { display: none; }
.qv__note { font-size: 14px; color: var(--muted); }
.qv__btns { display: grid; gap: 8px; margin-top: auto; }

/* ---------- пояснення «як працює 3D» у каталозі ---------- */
.guide3d { margin-top: 28px; border-radius: 24px; background: linear-gradient(135deg, #fff 0%, var(--blue-soft) 100%); border: 1px solid rgba(10, 123, 219, .22); overflow: hidden; }
.guide3d__head { display: flex; align-items: center; gap: 16px; padding: 20px 22px; }
.guide3d__ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(10, 123, 219, .8); }
.guide3d__ico svg { width: 26px; height: 26px; }
.guide3d__head h2 { font-size: clamp(20px, 2.2vw, 26px); }
.guide3d__head p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.guide3d__toggle { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font: 600 13px/1 var(--f-h); }
.guide3d__toggle svg { width: 15px; height: 15px; transform: rotate(180deg); transition: transform .4s var(--ease); }
.guide3d.is-closed .guide3d__toggle svg { transform: none; }
.guide3d__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease); }
.guide3d.is-closed .guide3d__body { grid-template-rows: 0fr; }
.guide3d__body > div { overflow: hidden; min-height: 0; }
.guide3d__steps { list-style: none; margin: 0; padding: 0 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.guide3d__steps li { position: relative; padding: 18px 16px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.guide3d__steps li > b { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 12px/1 var(--f-h); }
.guide3d__pic { display: flex; flex-wrap: wrap; gap: 6px; min-height: 42px; align-items: center; margin-bottom: 12px; padding-right: 30px; }
.guide3d__pic i { font-style: normal; pointer-events: none; }
.guide3d__chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 99px; border: 1.5px solid var(--line); font: 600 12px/1 var(--f-h); }
.guide3d__chip svg { width: 15px; height: 15px; }
.guide3d__chip--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.guide3d__steps h3 { font-size: 17px; margin-bottom: 6px; }
.guide3d__steps p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.guide3d__btns { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 22px 22px; }
[data-picks-3d].is-empty { opacity: .55; }
.t3d b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #fff; color: var(--blue); font-size: 12px; }
.qv__3d { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qv__3d .btn { padding: 0 12px; }
.qv__3d:has(.btn[hidden]) .btn { grid-column: 1 / -1; }
.picks__act { display: inline-flex; gap: 12px; align-items: center; }
.picks__all { font-size: 12px; font-weight: 600; color: #fff; background: var(--blue); padding: 6px 10px; border-radius: 99px; }
@media (max-width: 1100px) {
  .guide3d__steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .guide3d { margin-top: 20px; border-radius: 20px; }
  .guide3d__head { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .guide3d__head > div { flex: 1 1 calc(100% - 70px); }
  .guide3d__ico { width: 44px; height: 44px; border-radius: 13px; }
  .guide3d__toggle { margin-left: 0; width: 100%; justify-content: center; }
  .guide3d__steps { grid-template-columns: minmax(0, 1fr); padding: 0 16px; }
  .guide3d__btns { padding: 14px 16px 16px; }
  .guide3d__btns .btn { flex: 1 1 100%; }
  .guide3d__steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .guide3d__steps::-webkit-scrollbar { display: none; }
  .guide3d__steps li { scroll-snap-align: start; }
  .qv__3d { grid-template-columns: 1fr; }
  .toolbar__r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .toolbar__r .btn { width: 100%; }
  .pcard__meta { font-size: 10px; letter-spacing: .04em; }
  .dcard { inset: 0 14px 24px 0; }
  .dcard[data-i="1"] { transform: translate(6px, 10px) rotate(1.5deg) scale(.97); }
  .dcard[data-i="2"] { transform: translate(12px, 20px) rotate(3deg) scale(.94); }
  .dcard[data-i="3"], .dcard[data-i="x"] { transform: translate(16px, 28px) rotate(4deg) scale(.91); }
  .hero__kick .kick-addr { display: none; }
}

/* ==========================================================
   АДАПТИВ
   ========================================================== */
@media (max-width: 1240px) {
  .nav a { padding: 10px 10px; font-size: 14px; }
  .header__tel span { display: none; }
  .header__tel { width: 42px; padding: 0; justify-content: center; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__act { margin-left: auto; }
  .calc__top { grid-template-columns: minmax(0, 1fr); }
  .viewer-wrap { position: relative; top: 0; order: -1; }
  .viewer { height: min(62vh, 520px); min-height: 340px; }
  .result { grid-template-columns: 1fr 1fr; }
  .result__cells { grid-column: 1 / -1; }
  .shop { grid-template-columns: minmax(0, 1fr); }
  /* висувна панель фільтрів: тінь з'являється лише відкритою — з-за краю не видно */
  .filters { position: fixed; z-index: 100; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); max-height: none; border-radius: 0 22px 22px 0; transform: translateX(-102%); transition: transform .5s var(--ease), box-shadow .4s, visibility 0s .5s; box-shadow: none; padding-bottom: calc(18px + env(safe-area-inset-bottom)); visibility: hidden; }
  .filters.is-open { transform: none; box-shadow: 30px 0 60px -20px rgba(0, 0, 0, .45); visibility: visible; transition: transform .5s var(--ease), box-shadow .5s .1s, visibility 0s; }
  .f-close { display: grid; }
  .filters__apply { display: flex; position: sticky; bottom: 0; }
  .f-shade { display: block; position: fixed; inset: 0; z-index: 99; background: rgba(8, 10, 13, .5); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
  .f-shade.is-on { opacity: 1; visibility: visible; transition: opacity .4s; }
  .f-open { display: inline-flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --hdr: 68px; }

  body { font-size: 16px; }
  .mbar { display: grid; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .pickbar { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .has-picks .toast { bottom: calc(142px + env(safe-area-inset-bottom)); }
  .santeh__grid, .hits__grid, .rev__grid, .faq__grid, .con__grid { grid-template-columns: minmax(0, 1fr); }
  .santeh__photo { aspect-ratio: 4 / 4.4; }
  .rev__side { position: static; }
  .rail { grid-template-columns: 1fr 1fr; row-gap: 46px; }
  .rail::before { display: none; }
  .label { margin-top: 10px; }
  .label::before { height: 26px; top: -24px; }
  .label::after { content: ''; position: absolute; top: -30px; left: 8%; right: 8%; height: 6px; border-radius: 4px; background: linear-gradient(180deg, #e6ebf0, #9aa6b2); }
  .deck { height: 600px; }
  .dcard { grid-template-columns: 1fr; grid-template-rows: 46% 1fr; inset: 0 34px 28px 0; }
  .qv__box { grid-template-columns: minmax(0, 1fr); }
  .con__map, .con__map iframe { min-height: 340px; }
}
@media (max-width: 760px) {
  .header { top: 8px; padding-inline: 8px; }
  .header__plate { height: 58px; padding-left: 14px; gap: 8px; border-radius: 16px; }
  .logo__script { font-size: 23px; }
  .logo__sub { font-size: 8.5px; letter-spacing: .14em; }
  .hbtn { display: none; }
  .header__tel, .bag-btn, .burger { width: 40px; height: 40px; }
  .hero { min-height: 100svh; }
  .hero__in { justify-content: flex-start; padding-top: calc(var(--hdr) + 28px); padding-bottom: 20px; }
  .hero::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(14, 16, 19, .55) 0%, rgba(14, 16, 19, .2) 55%, rgba(14, 16, 19, .7) 100%); pointer-events: none; }
  .hero__kick { font-size: 11px; letter-spacing: .05em; margin-bottom: 16px; }
  .hero__title { font-size: clamp(58px, 18vw, 84px); }
  .hero__script { font-size: clamp(56px, 17vw, 80px); }
  .hero__lead { font-size: 16px; margin-top: 14px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__drag { display: none; }
  .plate { height: 38px; min-width: 100px; font-size: 16px; }
  .rack { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: stretch; padding: 22px 2px 26px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .rack::-webkit-scrollbar { display: none; }
  .rack::after { display: none; }
  .board { flex: 0 0 62%; height: 340px; scroll-snap-align: center; }
  .board:hover, .board:focus-visible { flex-grow: 0; translate: none; }
  .board__more { max-height: 40px; opacity: 1; }
  .sitem-row { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .sitem-row img { width: 48px; height: 48px; }
  .sitem-row__p { grid-column: 2; grid-row: 2; font-size: 15px; }
  .sitem-row .ibtn--pick { grid-column: 3; grid-row: 1 / span 2; }
  .stech { grid-template-columns: 1fr; }
  .result { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .result__cells { grid-template-columns: 1fr 1fr; }
  .result b { font-size: 22px; }
  .rail { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .label::after { left: 25%; right: 25%; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; grid-template-areas: 'a a' 'a a' 'b c' 'b d' 'e f' 'g h'; }
  .chat { padding: 0 10px 14px; border-radius: 22px; }
  .chat__bar { margin: 0 -10px 4px; }
  .msg { max-width: 100%; }
  .msg__b p { font-size: 15px; }
  .rev__quote { font-size: 17px; }
  .send__steps { grid-template-columns: minmax(0, 1fr); }
  .send__btns { grid-template-columns: 1fr 1fr; }
  .send__btns .btn:first-child { grid-column: 1 / -1; }
  .sitem { grid-template-columns: 40px minmax(0, 1fr) 34px; }
  .sitem__p { display: none; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .chero { padding-top: calc(var(--hdr) + 36px); }
  .chero__stats { width: 100%; }
  .chero__stats > div { flex: 1; min-width: 0; padding: 12px; }
  .chero__stats b { font-size: 26px; }
  .toolbar__count { order: 3; width: 100%; }
  .toolbar__r { margin-left: 0; width: 100%; }
  .select { flex: 1; }
  .select select { width: 100%; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard__body { padding: 12px; }
  .pcard__name { font-size: 16px; }
  .pcard__specs li:nth-child(n+3) { display: none; }
  .pcard__foot { flex-direction: column; align-items: stretch; }
  .pcard__foot .price b { font-size: 20px; }
  .pcard__actions .ibtn--pick { flex: 1; padding: 0 8px; }
  .pcard__actions .ibtn--pick span { font-size: 12px; }
  .pcard__qv { opacity: 1; transform: none; height: 30px; padding: 0 10px; font-size: 0; gap: 0; }
  .pcard__qv svg { width: 16px; height: 16px; }
  .grid.is-list .pcard { flex-direction: column; }
  .grid.is-list .pcard__media { width: 100%; min-height: 0; aspect-ratio: 1; }
  .grid.is-list .pcard__table { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .pickbar { gap: 6px; padding: 6px 6px 6px 8px; width: calc(100% - 20px); }
  .pickbar__txt { margin-right: auto; }
  .pickbar__thumbs img:nth-child(n+3) { display: none; }
  .pickbar .btn--sm { padding: 0 12px; }
}
@media (max-width: 400px) {
  .pickbar__thumbs { display: none; }
  .deck { height: 620px; }
}
/* ==========================================================
   ТЕМНА ГАМА ВИВІСКИ + наскрізний 3D-фон
   білими лишаються тільки картки; секції напівпрозорі, щоб плитки фону було видно
   ========================================================== */
.bg3d { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: .62; }
body { background: var(--ink); color: #fff; }
main, .footer { position: relative; z-index: 1; }
.sec { background: transparent; }
.sec--paper { background: rgba(21, 25, 32, .55); border-top: 1px solid var(--line-d); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.sec--ink { background: rgba(14, 16, 19, .82); }
.sec .script, .sec--paper .script { color: var(--blue-hi); text-shadow: 0 0 24px rgba(62, 162, 255, .45); }
.sec-head p, .santeh__lead, .hits__copy p, .faq__lead, .deck-count { color: var(--muted-d); }
.deck-count b { color: #fff; }
.h2 { color: #fff; }
.btn--line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.qv .btn--line, .result .btn--line, .empty .btn--line, .guide3d .btn--line { border-color: var(--text); color: var(--text); }
.qv .btn--line:hover, .result .btn--line:hover, .empty .btn--line:hover, .guide3d .btn--line:hover { background: var(--text); color: #fff; }
.dnav { border-color: rgba(255, 255, 255, .6); color: #fff; }
.dnav:hover { background: #fff; color: var(--ink); }
/* білі картки — темний текст усередині */
.sitem-row, .label, .faq details, .dcard, .pcard, .filters, .guide3d, .empty, .qv__box, .send__box, .result { color: var(--text); }
.sitem-row { background: rgba(255, 255, 255, .96); }
.faq details { background: rgba(255, 255, 255, .96); }
.label { background: rgba(255, 255, 255, .97); }
/* «Як замовити» — темні цінники з синьою смугою, щоб не було суцільного білого */
.how .label { background: var(--ink-2); color: #fff; border-color: var(--line-d); box-shadow: 0 24px 40px -30px rgba(0, 0, 0, .9), inset 0 3px 0 var(--blue); }
.how .label p { color: var(--muted-d); }
.how .label__hole { background: var(--ink); }
/* фото-секція на темному */
.photos.sec--paper { background: rgba(21, 25, 32, .6); }
/* контакти */
.con__card { background: rgba(21, 25, 32, .92); border: 1px solid var(--line-d); }
/* «Вид згори»: фото замість 3D */
.scene__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.scene__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 13, .55), rgba(8, 10, 13, .72) 30%, rgba(8, 10, 13, .72) 70%, rgba(8, 10, 13, .55)); }
.scene__veil { background: var(--ink); }
.scene__glow { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(circle at 50% 60%, rgba(62, 162, 255, .45), rgba(10, 123, 219, .12) 35%, transparent 65%); }
.trust { background: linear-gradient(180deg, rgba(14, 16, 19, 0) 0, var(--ink) 34vh); color: #fff; }
.trust__head { border-bottom-color: var(--line-d); }
.trust__grey { color: var(--muted-d); }
.trust__head p { color: var(--muted-d); }
.fact + .fact { border-left-color: var(--line-d); }
.fact b { color: #fff; }
.fact b small { color: var(--blue-hi); }
.fact span { color: var(--muted-d); }
/* каталог */
.chero, .looks-wrap { background: rgba(14, 16, 19, .78); }
.toolbar__count, .more p { color: var(--muted-d); }
.toolbar__count b { color: #fff; }
.more__bar { background: rgba(255, 255, 255, .15); }
.cta-band { background: radial-gradient(ellipse at 100% 0%, rgba(62, 162, 255, .55), transparent 60%), linear-gradient(135deg, #0A7BDB 0%, #06416f 100%); }
.cta-band p { color: rgba(255, 255, 255, .8); }
.cta-band .btn--blue { background: #fff; color: var(--ink); box-shadow: none; }
.guide3d { background: rgba(255, 255, 255, .96); }
@media (max-width: 760px) {
  .fact:nth-child(n+3) { border-top-color: var(--line-d); }
  /* футер: усе місце заповнене — посилання у дві колонки, контакти на всю ширину */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer__grid > div:first-child, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__grid > div:last-child ul { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .footer__bot { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* білі секції — через одну з темними, щоб білого було в міру */
.sec--light { background: #fff; color: var(--text); }
.sec--light + .sec--light { border-top: 1px solid var(--line); }
.sec--light .h2 { color: var(--text); }
.sec--light .script { color: var(--blue); text-shadow: none; }
.sec--light .sec-head p, .sec--light .santeh__lead, .sec--light .hits__copy p, .sec--light .faq__lead, .sec--light .deck-count { color: var(--muted); }
.sec--light .deck-count b { color: var(--text); }
.sec--light .btn--line { border-color: var(--text); color: var(--text); }
.sec--light .btn--line:hover { background: var(--text); color: #fff; }
.sec--light .dnav { border-color: var(--text); color: var(--text); }
.sec--light .dnav:hover { background: var(--ink); color: #fff; }
.sec--light .sitem-row, .sec--light .faq details { background: #fff; border-color: var(--line); }
.sec--light .faq details:hover { border-color: rgba(10, 123, 219, .4); }
.sec--light .dcard { box-shadow: 0 30px 60px -36px rgba(14, 16, 19, .55); }

/* поля на білому тлі — темний текст (після переходу на темну гаму) */
.search input, .select select, .pinputs input, .send__bubble textarea { color: var(--text); }
.select svg { color: var(--text); }

/* ==========================================================
   МОБІЛЬНЕ МЕНЮ: розкривається колом від кнопки
   ========================================================== */
.mmenu { --mx: calc(100% - 40px); --my: 40px; visibility: visible; opacity: 1; pointer-events: none; background: radial-gradient(circle at 85% 0%, rgba(10, 123, 219, .35), transparent 55%), radial-gradient(circle at 0% 100%, rgba(62, 162, 255, .18), transparent 50%), #0B0D10; clip-path: circle(0 at var(--mx) var(--my)); transition: clip-path .7s cubic-bezier(.7, 0, .2, 1); }
.menu-open .mmenu { pointer-events: auto; clip-path: circle(150% at var(--mx) var(--my)); transition: clip-path .8s cubic-bezier(.7, 0, .2, 1); }
.mmenu__in { justify-content: flex-start; gap: 22px; padding: 92px var(--gut) calc(22px + env(safe-area-inset-bottom)); }
.mmenu__quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mq { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; min-height: 112px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-align: left; overflow: hidden; isolation: isolate; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(20px) scale(.96); transition: opacity .5s, transform .6s var(--ease), background .2s; }
.mq > svg { width: 26px; height: 26px; margin-bottom: auto; color: var(--blue-hi); }
.mq b { font: 600 15px/1.1 var(--f-h); }
.mq small { font-size: 11.5px; color: rgba(255, 255, 255, .65); line-height: 1.2; }
.mq__tex { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .9; }
.mq__tex::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .75)); }
.mq--blue { background: linear-gradient(145deg, #3EA2FF, #0A7BDB 55%, #06416f); border-color: transparent; }
.mq--blue > svg { color: #fff; }
.mq--blue small { color: rgba(255, 255, 255, .85); }
.mq:active { transform: scale(.97); }
.mmenu__list { display: grid; border-top: 1px solid rgba(255, 255, 255, .08); }
.mmenu__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 600 clamp(24px, 7vw, 32px)/1 var(--f-h); letter-spacing: -.01em; color: #fff; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .7s var(--ease), color .2s; }
.mmenu__list a i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.mmenu__list a i svg { width: 16px; height: 16px; transform: rotate(-45deg); }
.mmenu__list a:active i, .mmenu__list a:hover i { background: var(--blue); border-color: var(--blue); transform: rotate(45deg); }
.menu-open .mq, .menu-open .mmenu__list a { opacity: 1; transform: none; }
.menu-open .mq:nth-child(1) { transition-delay: .18s; } .menu-open .mq:nth-child(2) { transition-delay: .23s; } .menu-open .mq:nth-child(3) { transition-delay: .28s; }
.menu-open .mmenu__list a:nth-child(1) { transition-delay: .3s; } .menu-open .mmenu__list a:nth-child(2) { transition-delay: .34s; } .menu-open .mmenu__list a:nth-child(3) { transition-delay: .38s; }
.menu-open .mmenu__list a:nth-child(4) { transition-delay: .42s; } .menu-open .mmenu__list a:nth-child(5) { transition-delay: .46s; } .menu-open .mmenu__list a:nth-child(6) { transition-delay: .5s; }
.mmenu__foot { margin-top: auto; gap: 12px; }
.menu-open .mmenu__foot { transition-delay: .5s; }
.mmenu__info { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; font: 500 13px/1.3 var(--f-h); color: rgba(255, 255, 255, .7); }
.mmenu__msg { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mm-b { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 66px; border-radius: 16px; color: #fff; font: 600 12.5px/1 var(--f-h); }
.mm-b svg { width: 22px; height: 22px; }
.mm-b--call { background: var(--blue); }
.mm-b--viber { background: #7360F2; }
.mm-b--tg { background: #2AABEE; }

/* ==========================================================
   КНОПКА ЗВ'ЯЗКУ збоку внизу
   ========================================================== */
.mbar { display: none !important; }
body { padding-bottom: 0 !important; }
.fab { position: fixed; z-index: 96; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transition: opacity .3s; }
.fab__btn { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #5cb3ff, var(--blue) 55%, var(--blue-deep)); color: #fff; box-shadow: 0 14px 34px -8px rgba(10, 123, 219, .75), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .35s var(--ease); }
.fab__btn:hover { transform: scale(1.06); }
.fab__btn::before, .fab__btn::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(62, 162, 255, .7); animation: fabPing 2.6s cubic-bezier(.2, .6, .3, 1) infinite; pointer-events: none; }
.fab__btn::after { animation-delay: 1.3s; }
@keyframes fabPing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.75); opacity: 0; } }
.fab__icons { position: relative; width: 26px; height: 26px; transition: opacity .25s; }
.fab__icons svg { position: absolute; inset: 0; width: 26px; height: 26px; opacity: 0; animation: fabIco 7.5s infinite; }
.fab__icons svg:nth-child(2) { animation-delay: 2.5s; }
.fab__icons svg:nth-child(3) { animation-delay: 5s; }
@keyframes fabIco { 0% { opacity: 0; transform: scale(.6) rotate(-20deg); } 5%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: scale(.6) rotate(20deg); } }
.fab__x { position: absolute; width: 24px; height: 24px; opacity: 0; transform: rotate(-90deg); transition: opacity .25s, transform .35s var(--ease); }
.fab.is-open .fab__icons { opacity: 0; }
.fab.is-open .fab__x { opacity: 1; transform: none; }
.fab.is-open .fab__btn::before, .fab.is-open .fab__btn::after { animation: none; opacity: 0; }
.fab__menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.fab__i { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .3s, transform .45s var(--ease); }
.fab__i span { padding: 9px 14px; border-radius: 12px; background: #fff; color: var(--text); font: 600 14px/1 var(--f-h); white-space: nowrap; box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .5); }
.fab__i i { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.fab__i i svg { width: 22px; height: 22px; }
.fab__i--call i { background: var(--blue); }
.fab__i--viber i { background: #7360F2; }
.fab__i--tg i { background: #2AABEE; }
.fab.is-open .fab__menu { pointer-events: auto; }
.fab.is-open .fab__i { opacity: 1; transform: none; }
.fab.is-open .fab__i:nth-child(3) { transition-delay: .02s; } .fab.is-open .fab__i:nth-child(2) { transition-delay: .07s; } .fab.is-open .fab__i:nth-child(1) { transition-delay: .12s; }
.fab__tip { position: absolute; right: 74px; bottom: 14px; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: #fff; color: var(--text); font: 600 14px/1.2 var(--f-h); white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.fab.tip .fab__tip { opacity: 1; transform: none; }
.menu-open .fab, .send.is-open ~ .fab, body:has(.send.is-open) .fab, body:has(.qv.is-open) .fab { opacity: 0; pointer-events: none; }
.toast { bottom: calc(26px + env(safe-area-inset-bottom)); }
.has-picks .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (max-width: 900px) {
  /* телефон: панель підбірки ліворуч від кнопки зв'язку, в один ряд */
  .pickbar { left: 10px; right: 82px; transform: none; width: auto; max-width: none; bottom: calc(16px + env(safe-area-inset-bottom)); animation: barInM .6s var(--ease); }
  @keyframes barInM { from { transform: translateY(140%); } }
  .fab { right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .fab__btn { width: 58px; height: 58px; }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); left: 12px; right: 12px; transform: translateY(30px); max-width: none; }
  .toast.is-on { transform: none; }
  .has-picks .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .pickbar .btn--sm { padding: 0 10px; font-size: 13px; }
}

/* ==========================================================
   ВІКНО «СКОПІЮЙТЕ — ВСТАВТЕ» у стилі месенджера
   ========================================================== */
.send__box { padding: 0; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; width: min(600px, 100%); background: #fff; }
.send__top { position: relative; flex: none; padding: 22px 24px 18px; color: #fff; background: radial-gradient(circle at 100% 0%, rgba(62, 162, 255, .5), transparent 55%), linear-gradient(160deg, #141a22, #0B0D10); }
.send__grab { display: none; }
.send__x { top: 16px; right: 16px; background: rgba(255, 255, 255, .1); color: #fff; }
.send__x:hover { background: rgba(255, 255, 255, .2); }
.send__who { display: flex; align-items: center; gap: 12px; padding-right: 50px; }
.send__ava { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #0B0C0E; border: 2px solid var(--blue-hi); font: 400 20px/1 var(--f-s); color: var(--blue-hi); box-shadow: 0 0 18px rgba(62, 162, 255, .45); }
.send__who b { display: block; font: 600 16px/1.2 var(--f-h); }
.send__who small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.send__who small i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .25); }
.send__top h2 { margin: 16px 0 14px; font-size: clamp(24px, 3.2vw, 30px); color: #fff; }
.send__steps { margin: 0; gap: 0; position: relative; grid-template-columns: repeat(3, 1fr); }
.send__steps li { flex-direction: column; align-items: center; text-align: center; gap: 7px; padding: 0 4px; background: none !important; border-radius: 0; font: 500 12px/1.2 var(--f-h); color: rgba(255, 255, 255, .6); position: relative; }
.send__steps li::before { content: ''; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: rgba(255, 255, 255, .15); z-index: 0; }
.send__steps li:first-child::before { display: none; }
.send__steps li.is-done::before, .send__steps li.is-active::before { background: var(--blue-hi); }
.send__steps b { position: relative; z-index: 1; width: 30px; height: 30px; background: rgba(255, 255, 255, .12); color: #fff; transition: background .3s, box-shadow .3s; }
.send__steps li.is-active { color: #fff; }
.send__steps li.is-active b { background: var(--blue); box-shadow: 0 0 0 5px rgba(62, 162, 255, .25); animation: stepPulse 1.6s infinite; }
.send__steps li.is-done { color: #9ff0c4; }
.send__steps li.is-done b { background: var(--in); font-size: 0; }
.send__steps li.is-done b::after { content: '✓'; font-size: 14px; }
@keyframes stepPulse { 50% { box-shadow: 0 0 0 9px rgba(62, 162, 255, 0); } }
.send__body { padding: 18px 20px 20px; overflow-y: auto; overscroll-behavior: contain; color: var(--text); }
.send__chat { padding: 14px; border-radius: 18px; background-color: #E6EEF6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23d6e1ec' stroke-width='1'/%3E%3C/svg%3E"); }
.send__bubble { position: relative; margin-left: 18px; border-radius: 18px 18px 4px 18px; background: #DCF1FF; box-shadow: 0 2px 0 rgba(10, 60, 110, .08); padding: 2px; }
.send__bubble::after { content: ''; position: absolute; right: -6px; bottom: 0; border: 8px solid transparent; border-left-color: #DCF1FF; border-bottom-color: #DCF1FF; }
.send__bubble textarea { min-height: 150px; padding: 12px 14px 22px; font-size: 14.5px; }
.send__meta { position: absolute; right: 12px; bottom: 6px; font: 500 11px/1 var(--f-h); color: #6a8aa6; }
.send__meta i { font-style: normal; color: var(--blue); }
.send__bubble:focus-within { box-shadow: 0 0 0 2px var(--blue); }
.send__hint { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #E9F8EF, #DFF3FF); border: 1px solid rgba(27, 154, 87, .25); }
.send__hint[hidden] { display: none !important; }
.send__hint-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--in); color: #fff; }
.send__hint-ico svg { width: 18px; height: 18px; }
.send__hint b { font: 600 15px/1.2 var(--f-h); }
.send__hint p { margin-top: 4px; font-size: 14px; line-height: 1.45; color: #2f4252; }
.send__hint kbd { display: inline-block; padding: 1px 7px; border-radius: 6px; background: #fff; border: 1px solid #c9d6e2; box-shadow: 0 2px 0 #c9d6e2; font: 600 12px/1.5 var(--f-h); color: var(--text); }
.send__copy { margin-top: 12px; min-height: 54px; font-size: 16px; }
.send__btns { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.send.is-copied .send__btns .btn { animation: msgNudge 1.8s var(--ease) 2; }
@keyframes msgNudge { 0%, 100% { transform: none; } 15% { transform: translateY(-4px); } 30% { transform: none; } 45% { transform: translateY(-2px); } }
.send.is-copied .send__copy { background: var(--in); box-shadow: none; }
.send__label { margin-top: 4px; }
.send__list { max-height: 180px; }
@media (max-width: 760px) {
  /* телефон: вікно виїжджає знизу як шторка */
  .send { place-items: end center; padding: 0; }
  .send__box { width: 100%; max-height: 92dvh; border-radius: 26px 26px 0 0; transform: translateY(100%); opacity: 1; transition: transform .55s cubic-bezier(.2, .9, .2, 1); }
  .send.is-open .send__box { transform: none; }
  .send__grab { display: block; width: 44px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); margin: -8px auto 12px; }
  .send__top { padding: 18px 18px 16px; }
  .send__steps li span { font-size: 11px; }
  .send__list { max-height: 128px; }
  .send__bubble textarea { min-height: 120px; }
  .send__body { padding: 14px 14px calc(16px + env(safe-area-inset-bottom)); }
  .send__btns { grid-template-columns: 1fr 1fr; }
  .send__btns .btn:first-child { grid-column: auto; }
}
@media (max-width: 480px) {
  /* вузький телефон: панель підбірки — дві кнопки на всю ширину поруч із кнопкою зв'язку */
  .pickbar { gap: 6px; padding: 6px; }
  .pickbar__txt { display: none; }
  .pickbar .btn--sm { flex: 1 1 0; min-width: 0; padding: 0 8px; }
  .pickbar__x { width: 34px; height: 34px; flex: none; }
}

/* перетягування сантехніки в 3D */
.viewer.is-grab, .viewer.is-grab canvas { cursor: grab; }
.viewer.is-moving, .viewer.is-moving canvas { cursor: grabbing; }
.has-cur .viewer.is-grab, .has-cur .viewer.is-moving { cursor: none; }
#vResetSan { font: 600 17px/1 var(--f-h); }
.viewer.is-moving .viewer__hint { opacity: 0; }

/* шапка: помітна плашка-вивіска, не ховається при прокрутці */
.header, .header.is-hidden { transform: none !important; }
.header__plate { position: relative; background: linear-gradient(180deg, rgba(30, 37, 47, .9), rgba(17, 21, 27, .92)); border: 1px solid rgba(62, 162, 255, .3); box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); transition: border-color .4s, box-shadow .4s, background .4s; }
.header__plate::after { content: ''; position: absolute; left: 8%; right: 8%; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--blue-hi), transparent); box-shadow: 0 0 14px rgba(62, 162, 255, .8); opacity: .9; pointer-events: none; }
.header.is-scrolled .header__plate { border-color: rgba(62, 162, 255, .45); box-shadow: 0 22px 48px -16px rgba(0, 0, 0, .9), 0 0 0 4px rgba(10, 123, 219, .08), inset 0 1px 0 rgba(255, 255, 255, .1); }
.nav a { color: rgba(255, 255, 255, .88); position: relative; }
.nav a.is-on { color: #fff; background: rgba(62, 162, 255, .16); box-shadow: inset 0 0 0 1px rgba(62, 162, 255, .35); }
.nav a.is-on::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 8px var(--blue-hi); }

/* сантехніка: бренди й переваги замість дрібного списку */
.sbrands { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 8px; }
.sbrands .plate { height: 56px; min-width: 0; flex: 1 1 120px; font-size: 22px; box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .55); }
.sbrands .plate--volle { border: 1px solid var(--line); }
.sfeat { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; gap: 12px; }
.sfeat li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 18px; background: #F5F8FB; border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.sfeat li:hover { border-color: rgba(10, 123, 219, .45); transform: translateX(4px); }
.sfeat__ico { flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--ink); color: var(--blue-hi); box-shadow: inset 0 0 0 1px rgba(62, 162, 255, .35); }
.sfeat__ico svg { width: 26px; height: 26px; }
.sfeat b { display: block; font: 600 19px/1.2 var(--f-h); margin-bottom: 5px; }
.sfeat p { font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (max-width: 760px) { .sbrands .plate { height: 46px; font-size: 18px; flex-basis: 40%; } .sfeat li { padding: 14px; } .sfeat__ico { width: 44px; height: 44px; } }

/* питання: темна секція, ліва колонка — картка консультанта */
.faq-sec .faq__grid > div:first-child { position: sticky; top: 100px; }
.faq__card { position: relative; margin-top: 28px; border-radius: 24px; overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; isolation: isolate; border: 1px solid var(--line-d); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.faq__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.faq__card:hover > img { transform: scale(1.05); }
.faq__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 13, 16, .1) 0%, rgba(11, 13, 16, .55) 45%, rgba(11, 13, 16, .95) 100%); }
.faq__card-in { padding: 24px; display: grid; gap: 10px; color: #fff; }
.faq__card h3 { font-size: clamp(24px, 2.4vw, 30px); }
.faq__card p { color: rgba(255, 255, 255, .78); font-size: 15px; }
.faq__card .open-dot { font: 500 13px/1 var(--f-h); color: rgba(255, 255, 255, .85); }
.faq__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.faq__call { grid-column: 1 / -1; }
.faq-sec .faq details { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.faq-sec .faq details:hover { border-color: rgba(62, 162, 255, .45); }
.faq-sec .faq details[open]:not(.is-closing) { background: rgba(10, 123, 219, .12); border-color: var(--blue-hi); }
.faq-sec .faq summary i { background: rgba(255, 255, 255, .1); }
.faq-sec .faq summary i::before, .faq-sec .faq summary i::after { background: #fff; }
.faq-sec .faq__a > div { color: rgba(255, 255, 255, .78); }
@media (max-width: 900px) { .faq-sec .faq__grid > div:first-child { position: static; } .faq__card { min-height: 340px; } }

.faq__cta { display: flex; align-items: center; gap: 16px; margin-top: 4px; padding: 18px 20px; border-radius: 16px; background: linear-gradient(120deg, #0A7BDB, #06416f); color: #fff; box-shadow: 0 20px 40px -22px rgba(10, 123, 219, .8); transition: transform .4s var(--ease); }
.faq__cta:hover { transform: translateY(-3px); }
.faq__cta-ico { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.faq__cta-ico svg { width: 24px; height: 24px; }
.faq__cta b { display: block; font: 600 18px/1.2 var(--f-h); }
.faq__cta small { display: block; margin-top: 3px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.faq__cta-arr { width: 20px; height: 20px; margin-left: auto; flex: none; }
