/* Основна світла версія: перший екран → байндер летить у ряд (другий блок) */
:root { --cw: clamp(200px, 16.5vw, 280px); }

.bg-aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

/* ---------- перший екран ---------- */
.hero { position: relative; min-height: max(100svh, 680px); overflow: hidden; }
.hero-text { position: absolute; z-index: 5; left: var(--gutter); top: 52%; transform: translateY(-50%); width: min(580px, 42vw); }
.b-anchor { position: absolute; left: 66%; top: 55%; width: var(--bw); height: var(--bh); margin: calc(var(--bh) / -2) 0 0 calc(var(--bw) / -2); pointer-events: none; }
.hero .gc-in p { text-align: center; }

/* ---------- байндер-актор ---------- */
.actor {
  position: fixed; z-index: 30; left: 0; top: 0; width: var(--bw); height: var(--bh);
  pointer-events: none; perspective: 1900px; transform-origin: 50% 50%; will-change: transform;
}
.actor .b-tilt, .actor .b3d { position: absolute; inset: 0; transform-style: preserve-3d; }
.actor .b-back { overflow: visible; background: none !important; }
.actor .b-back img { position: absolute; inset: 0; width: 100%; height: 100%; }
.actor-shadow {
  position: absolute; left: -8%; right: -8%; top: 92%; height: 22%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40,55,95,.34), transparent); filter: blur(10px);
}
/* колір байндера задається змінними — і в актора, і в ряду */
.actor .bf-out-unused {
  background: var(--leather), radial-gradient(120% 70% at 25% 0%, rgba(255,255,255,.4), transparent 60%),
    linear-gradient(90deg, rgba(40,60,90,.22), transparent 8%), linear-gradient(165deg, var(--bl-hi), var(--bl) 55%, var(--bl-in));
}
.actor .b-back { background: var(--leather), linear-gradient(165deg, var(--bl), var(--bl-lo)); }
.actor .bf-in, .actor .b-inside { background: var(--leather), linear-gradient(90deg, rgba(0,0,0,.14), transparent 10%), linear-gradient(170deg, var(--bl), var(--bl-in)); }
.actor .pocket { background: var(--leather), linear-gradient(180deg, var(--bl-hi), var(--bl)); }
.actor .b-spine { background: var(--leather), linear-gradient(90deg, var(--bl-lo), var(--bl) 45%, var(--bl-in)); }

/* торці — у кольорі обкладинки, без білих сторінок */
.actor .b-edge-r { background: linear-gradient(90deg, var(--bl-lo), var(--bl) 50%, var(--bl-lo)); }
.actor .b-edge-t, .actor .b-edge-b { background: linear-gradient(180deg, var(--bl-lo), var(--bl) 50%, var(--bl-lo)); }
.bf-photo { position: absolute; left: -1.944%; top: -1.275%; width: 112.500%; height: 102.550%; max-width: none; }
.actor .b-back, .actor .b-inside { border-radius: 3px 10px 10px 3px; }

/* ---------- другий блок: ряд байндерів ---------- */
.pick { position: relative; padding: 110px 0 90px; text-align: center; }
.pick-head { padding: 0 var(--gutter); }
.pick-head .lead { margin-left: auto; margin-right: auto; }
.pick .h2 .hand { font-size: 1.25em; }
.cf {
  position: relative; height: calc(var(--cw) * 1.525 + 90px); margin-top: 64px; perspective: 1500px; outline: none;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow: hidden;
}
.cf:focus-visible { outline: 2.5px solid var(--ink); outline-offset: -6px; border-radius: 20px; }
.cv {
  position: absolute; left: 50%; top: 34px; width: var(--cw); height: calc(var(--cw) * 1.525); margin-left: calc(var(--cw) / -2);
  transform-style: preserve-3d; cursor: pointer;
}
.cv::after { /* тінь */
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -9%; height: 14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40,55,95,.3), transparent); filter: blur(8px); z-index: -1;
}
.cv img { position: absolute; left: -1.944%; top: -1.275%; width: 112.500%; height: 102.550%; max-width: none; filter: drop-shadow(0 18px 18px rgba(40,60,110,.3)); user-select: none; -webkit-user-drag: none; }
.cf { cursor: grab; }
.cf.is-drag, .cf.is-drag .cv { cursor: grabbing; }
.cv.is-active { cursor: zoom-in; }
.cv.is-hidden { visibility: hidden; } /* поки на це місце летить актор */

.cf-ui { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; padding: 0 16px; }
.cf-arrow {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-deep);
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 10px 24px -12px rgba(40,60,110,.4);
  transition: background .25s, transform .25s cubic-bezier(.22,1,.36,1);
}
.cf-arrow:hover { background: #fff; transform: scale(1.06); }
.cf-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cf-info { display: flex; align-items: center; gap: 14px; min-width: 300px; padding: 12px 22px 12px 14px; border-radius: 99px; text-align: left; }
.cf-dot { width: 34px; height: 34px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 3px rgba(255,255,255,.75), 0 4px 10px rgba(40,60,110,.25); }
.cf-info div { flex: 1; display: flex; flex-direction: column; }
.cf-info b { font-family: var(--f-head); font-size: 19px; color: var(--ink-deep); }
.cf-info small { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.cf-info strong { font-size: 22px; font-weight: 900; color: var(--ink-deep); white-space: nowrap; }
.cf-cta { margin-top: 22px; }
.cf-set { max-width: 640px; margin: 18px auto 0; padding: 0 16px; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--muted); }
.cf-set b { color: var(--ink-deep); font-weight: 900; }

/* ---------- перегляд байндера ---------- */
.lock { overflow: hidden; }
.bm { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bm[hidden] { display: none; }
.bm-back { position: absolute; inset: 0; background: rgba(35, 45, 75, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bm-box {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px;
  width: min(940px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; padding: 36px 56px; border-radius: 32px;
  background: linear-gradient(140deg, rgba(255,255,255,.93), rgba(240,245,252,.88));
}
.bm-fig { margin: 0; display: flex; justify-content: center; }
.bm-fig img { width: min(100%, 360px); height: auto; filter: drop-shadow(0 26px 26px rgba(40,60,110,.35)); }
.bm-x, .bm-nav { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink-deep); box-shadow: 0 8px 18px -8px rgba(40,60,110,.45); z-index: 2; }
.bm-x svg, .bm-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bm-x { top: 14px; right: 14px; }
.bm-nav { top: 50%; margin-top: -22px; }
.bm-prev { left: 8px; } .bm-next { right: 8px; }
.bm-name { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; color: var(--ink-deep); }
.bm-text { margin: 12px 0 0; font-size: 16.5px; line-height: 1.55; font-weight: 600; color: var(--muted); }
.bm-price { display: block; margin: 16px 0; font-size: 36px; font-weight: 900; letter-spacing: -.02em; color: var(--ink-deep); }
.bm-set { display: block; width: 100%; margin-top: 14px; padding: 12px 14px; border-radius: 16px; text-align: left; font-size: 15px; font-weight: 700; color: var(--ink-deep); background: rgba(238,245,0,.28); border: 1px solid rgba(180,185,0,.45); transition: background .25s; }
.bm-set[hidden] { display: none; }
.bm-set:hover { background: rgba(238,245,0,.5); }
.bm-set small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- блок челенджів ---------- */
.shop { position: relative; padding: 80px var(--gutter) 150px; text-align: center; }
.shop .pick-head { padding: 0; }
.shop .pick-head .lead { margin-left: auto; margin-right: auto; }
.tiers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.tiers span { padding: 8px 16px; border-radius: 99px; font-size: 14.5px; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); transition: background .3s, color .3s; }
.tiers b { color: var(--ink-deep); font-weight: 900; transition: color .3s; }
.tiers span.is-on { background: var(--ink); color: #fff; }
.tiers span.is-on b { color: var(--lemon); }
.shop-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; max-width: 1240px; margin: 30px auto 0; }
.sc { display: flex; flex-direction: column; padding: 12px; border-radius: 22px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 16px 30px -18px rgba(40,60,110,.3); text-align: center; }
.sc img { height: clamp(200px, 19vw, 280px); width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(30,45,80,.2)); }
.sc b { display: block; margin-top: 10px; font-size: 15.5px; font-weight: 800; color: var(--ink-deep); }
.sc small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.step-q { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.step-q button { width: 42px; height: 42px; border-radius: 50%; font-size: 22px; font-weight: 700; line-height: 1; background: rgba(31,55,132,.09); color: var(--ink-deep); transition: background .2s, color .2s; }
.step-q button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.step-q button:disabled { opacity: .35; cursor: default; }
.step-q span { min-width: 26px; font-weight: 900; font-size: 17px; color: var(--ink-deep); }
.shop-sub { margin: 40px 0 16px; font-family: var(--f-head); font-weight: 700; font-size: 24px; color: var(--ink-deep); }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 980px; margin: 0 auto; }
.ex { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 20px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); text-align: left; }
.ex b { font-size: 15.5px; font-weight: 800; color: var(--ink-deep); }
.ex small { font-size: 13.5px; font-weight: 600; color: var(--muted); }

/* ---------- плаваючий калькулятор ---------- */
.calc { position: fixed; z-index: 60; right: 20px; bottom: 20px; width: 370px; max-width: calc(100vw - 24px); padding: 8px; border-radius: 26px;
  background: linear-gradient(140deg, rgba(255,255,255,.66), rgba(255,255,255,.42));
  backdrop-filter: blur(26px) saturate(1.9); -webkit-backdrop-filter: blur(26px) saturate(1.9);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 24px 50px -18px rgba(30,45,90,.45), inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(255,255,255,.25); }
.lite .calc { background: rgba(255,255,255,.93); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .calc { background: rgba(255,255,255,.93); } }
.calc[hidden] { display: none; }
.calc-list { display: none; max-height: 42svh; overflow-y: auto; padding: 8px 8px 2px; }
.calc-go, .calc-form, .calc-done { display: none; }
.calc.is-open[data-view="cart"] .calc-list { display: block; }
.calc.is-open[data-view="cart"] .calc-go { display: inline-flex; width: 100%; justify-content: space-between; height: 54px; margin: 8px 0 2px; }
.calc[data-view="form"] { width: 410px; }
.calc[data-view="form"] .calc-form { display: flex; }
.calc[data-view="form"] .calc-hint, .calc[data-view="form"] .calc-bar, .calc[data-view="done"] .calc-hint, .calc[data-view="done"] .calc-bar { display: none; }
.calc[data-view="done"] .calc-done { display: block; }
.calc-form { flex-direction: column; gap: 10px; max-height: min(78svh, 680px); overflow-y: auto; padding: 10px; text-align: left; }
.calc-back { align-self: flex-start; font-size: 14px; font-weight: 800; color: var(--muted); }
.calc-title { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 22px; color: var(--ink-deep); }
.f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.f label, .f-pay legend { font-size: 13.5px; font-weight: 800; color: var(--ink-deep); }
.f small { font-weight: 600; color: var(--muted); }
.f input, .f textarea { width: 100%; padding: 11px 14px; border-radius: 13px; border: 1.5px solid rgba(31,55,132,.2); background: rgba(255,255,255,.85); color: var(--ink-deep); font: 600 16px var(--f-body); resize: none; }
.f input:focus, .f textarea:focus { outline: 0; border-color: var(--ink); }
.f em { font-style: normal; font-size: 12.5px; font-weight: 700; color: #b3261e; }
.f em:empty { display: none; }
.f.is-bad input { border-color: #b3261e; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f-pay { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; }
.f-pay legend { margin-bottom: 5px; padding: 0; }
.f-pay label { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 13px; background: rgba(255,255,255,.7); border: 1.5px solid rgba(31,55,132,.12); font-size: 14.5px; font-weight: 800; color: var(--ink-deep); cursor: pointer; }
.f-pay label:has(input:checked) { border-color: var(--ink); }
.f-pay input { margin: 3px 0 0; accent-color: var(--ink); }
.f-pay small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.f-err { margin: 0; font-size: 14px; font-weight: 700; color: #b3261e; }
.calc-send { position: sticky; bottom: 0; z-index: 2; width: 100%; justify-content: space-between; flex: none; height: 54px; }
.calc-done { padding: 18px 14px 14px; text-align: center; color: var(--muted); font-weight: 600; }
.calc-done p { margin: 8px 0 14px; }
.calc-done .calc-title { margin-top: 12px; }
.done-ball { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--lemon); color: var(--ink-deep); }
.done-ball svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- каталог ---------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cat { position: relative; max-width: 1280px; margin: 0 auto; padding: 110px var(--gutter) 130px; }
.crumbs { margin-bottom: 14px; font-size: 14px; font-weight: 700; color: var(--muted); }
.crumbs a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cat .lead { max-width: 760px; }
.cat section { scroll-margin-top: 90px; }
.cat-h { margin: 44px 0 18px; font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); color: var(--ink-deep); }
.cat-h small { display: block; margin-top: 4px; font: 700 15px var(--f-body); color: var(--muted); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.pc { display: flex; flex-direction: column; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 16px 30px -18px rgba(40,60,110,.3); scroll-margin-top: 90px; }
.pc-img { display: block; padding: 0; cursor: zoom-in; }
.pc-img img { width: 100%; height: auto; transition: transform .35s cubic-bezier(.22,1,.36,1); filter: drop-shadow(0 10px 12px rgba(30,45,80,.25)); }
.pc-img:hover img { transform: scale(1.04); }
.pc h3 { margin: 10px 0 2px; font-size: 16.5px; font-weight: 800; color: var(--ink-deep); }
.pc p { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.pc-buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.pc-buy b { font-size: 20px; font-weight: 900; color: var(--ink-deep); white-space: nowrap; }
.pc-add { height: 40px; padding: 0 14px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; white-space: nowrap; transition: background .25s; }
.pc-add:hover { background: var(--ink-deep); }
.cat .tiers { justify-content: flex-start; margin-top: 0; }
.cat .sc h3, .ex h3 { margin: 10px 0 0; font-size: 15.5px; font-weight: 800; color: var(--ink-deep); }
.ex h3 { margin: 0; }
.cat .extras { margin: 0; max-width: none; }
.cat-cta { position: relative; padding: 70px var(--gutter) 30px; text-align: center; }
.cat-cta .lead { margin-left: auto; margin-right: auto; }
.faq { position: relative; max-width: 860px; margin: 0 auto; padding: 60px var(--gutter) 130px; scroll-margin-top: 80px; }
.faq > .h2 { text-align: center; }
.fq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.fq { border-radius: 20px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); }
.fq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 700; line-height: 1; color: var(--ink); }
.fq[open] summary::after { content: "−"; }
.fq h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink-deep); }
.fq p { margin: 0; padding: 0 20px 18px; font-size: 16px; line-height: 1.6; font-weight: 600; color: var(--muted); }
.cl { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(31,55,132,.16); font-size: 14.5px; font-weight: 700; color: var(--ink-deep); text-align: left; }
.cl > span:first-child { flex: 1; min-width: 0; }
.cl small { display: block; font-size: 12.5px; font-weight: 700; color: #3b4663; }
.cl .step-q { margin: 0; padding: 0; gap: 4px; }
.cl .step-q button { width: 28px; height: 28px; font-size: 16px; }
.cl .step-q span { min-width: 18px; font-size: 14px; text-align: center; }
.cl > b { min-width: 58px; text-align: right; font-weight: 900; white-space: nowrap; }
.cl.is-gift > b { color: #2f7d3b; }
.calc-hint { margin: 0; padding: 8px 12px; border-radius: 16px; font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--ink-deep); background: rgba(238,245,0,.5); }
.calc-hint:empty { display: none; }
.calc-bar { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 6px; padding: 8px 16px 8px 8px; border-radius: 20px; background: rgba(31,55,132,.9); color: #fff; text-align: left; }
.calc-n { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 17px; background: var(--lemon); color: var(--ink-deep); font-weight: 900; font-size: 15px; }
.calc-lab { flex: 1; display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; }
.calc-lab svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.calc.is-open .calc-lab svg { transform: rotate(180deg); }
.calc-sum { font-size: 22px; font-weight: 900; letter-spacing: -.02em; white-space: nowrap; }
.hd-cart.has { box-shadow: 0 0 0 3px var(--lemon); }

/* ---------- суть на першому екрані ---------- */
:root { --bh: calc(var(--bw) * 1.525); --muted: #475370; --sky: #0f7299; }  /* темніший сірий — читається на переливах */
.how { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: h; }
.how li {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 99px;
  font-weight: 800; font-size: 15px; color: var(--ink-deep);
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9);
}
.how li + li::before { content: "→"; position: absolute; left: -9px; transform: translateX(-50%); color: var(--muted); font-weight: 900; }
.how li + li { margin-left: 14px; }
.how b { font-size: 17px; }

/* zip-конверт у розвороті та більші картки */
.actor .sl-grid { grid-template-columns: repeat(2, 1fr); gap: calc(var(--bw) * .05); }
.actor .sl img { max-width: 92%; max-height: 94%; }
.actor .sleeve::before { /* застібка-«блискавка» конверта */
  content: ""; position: absolute; left: 6%; right: 6%; top: 3.2%; height: 5px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, #c9d2dd 0 3px, #f3f6f9 3px 6px); box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.actor .sleeve::after { /* бігунок */
  content: ""; position: absolute; right: 5%; top: 1.6%; width: 9%; height: 13px; border-radius: 3px 3px 6px 6px;
  background: linear-gradient(180deg, #f2f5f8, #b7c1cd); box-shadow: 0 2px 3px rgba(0,0,0,.2);
}
.actor .sl-h { margin-top: 4%; }

/* ---------- крок 3: картка зафарбовується ---------- */
.paint { position: fixed; z-index: 33; left: 0; top: 0; width: 330px; pointer-events: none; opacity: 0; transform-origin: 50% 50%; }
.pt-card {
  padding: 22px 22px 18px; border-radius: 6px; color: #4a5c80;
  background: #fbfaf6; box-shadow: 0 2px 0 #ece8dd, 0 40px 70px -24px rgba(40,60,110,.5), 0 12px 24px -12px rgba(40,60,110,.3);
}
.pt-title { margin: 0 0 12px; text-align: center; font-family: "Lora", Georgia, serif; font-size: 32px; font-weight: 500; line-height: 1; border-bottom: 1.5px solid #8794ad; padding-bottom: 10px; }
.pt-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.pt-cell { position: relative; display: grid; place-items: center; aspect-ratio: 1.7; font-family: "Lora", Georgia, serif; font-size: 16px; border-bottom: 1.5px dashed rgba(135,148,173,.55); }
.pt-cell span { position: relative; z-index: 2; transition: color .3s; }
.pt-cell svg { position: absolute; inset: 8% 6%; width: 88%; height: 84%; overflow: visible; }
.pt-cell path { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; opacity: .88; stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset .35s cubic-bezier(.4,0,.2,1); }
.pt-cell.is-on span { color: #fff; }
.pt-cell.is-on path { stroke-dashoffset: 0; }
.pt-meter { margin-top: 14px; font-family: var(--f-body); }
.pt-meter p { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.pt-meter b { font-size: 20px; font-weight: 900; color: var(--ink-deep); }
.pt-bar { height: 8px; margin-top: 8px; border-radius: 8px; background: rgba(31,55,132,.1); overflow: hidden; }
.pt-bar i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--sky), var(--ink)); border-radius: inherit; }
.pt-plus {
  position: absolute; right: -18px; top: -18px; padding: 9px 16px; border-radius: 99px; white-space: nowrap;
  background: var(--lemon); color: var(--ink-deep); font-weight: 900; font-size: 15px; box-shadow: 0 12px 24px -10px rgba(140,140,0,.55);
  opacity: 0;
}
.pt-plus.is-pop { animation: ptPop .9s cubic-bezier(.22,1,.36,1); }
@keyframes ptPop { 0% { opacity: 0; transform: translateY(12px) scale(.7); } 25% { opacity: 1; transform: translateY(0) scale(1.05); } 70% { opacity: 1; transform: translateY(-6px) scale(1); } 100% { opacity: 0; transform: translateY(-18px); } }

.sl-mini { position: absolute; left: 50%; top: 50%; transform-origin: 50% 50%; opacity: 0; pointer-events: none; filter: drop-shadow(0 3px 4px rgba(0,0,0,.22)); }
.sl-mini .pt-card { box-shadow: none; }

/* ---------- полегшений режим для слабких телефонів ---------- */
.lite .glass, .lite .gc-in, .lite .step.is-active, .lite .hd, .lite .fly, .lite .chip, .lite .how li {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(255,255,255,.88) !important;
}
.lite .aurora i { animation: none !important; }
.lite .aurora { filter: blur(30px) !important; }
@media (prefers-reduced-transparency: reduce) {
  .glass, .gc-in, .step.is-active, .hd, .fly { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.9); }
}

/* ---------- історія ---------- */
.story { position: relative; height: 400svh; }
.pin { position: sticky; top: 0; height: 100svh; min-height: 600px; overflow: visible; }
.steps {
  position: absolute; left: 60%; right: var(--gutter); top: 50%; transform: translateY(-50%);
  margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.step {
  position: relative; display: flex; gap: 18px; padding: 18px 22px; border-radius: 24px;
  border: 1px solid transparent; transition: background .5s, border-color .5s, box-shadow .5s, opacity .5s; opacity: .5;
}
.step + .step::before { content: ""; position: absolute; left: 43px; top: -10px; height: 10px; width: 2px; background: rgba(31,55,132,.18); }
.step.is-done { opacity: .75; }
.step.is-active {
  opacity: 1;
  background: linear-gradient(140deg, rgba(255,255,255,.62), rgba(255,255,255,.28));
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-color: rgba(255,255,255,.8); box-shadow: 0 20px 40px -18px rgba(40,60,110,.3), inset 0 1px 0 #fff;
}
.st-n {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-weight: 900; font-size: 18px; color: var(--ink-deep); background: rgba(255,255,255,.7); border: 2px solid rgba(31,55,132,.16);
  transition: background .5s, color .5s, border-color .5s, transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s;
}
.step.is-active .st-n { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.06); box-shadow: 0 0 0 6px rgba(238,245,0,.55); }
.step.is-done .st-n { background: var(--lemon); border-color: var(--lemon); }
.st-b h3 { margin: 9px 0 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(20px, 1.75vw, 28px); line-height: 1.15; color: var(--ink-deep); }
.st-b p {
  margin: 0; min-height: 0; overflow: hidden; opacity: 0; font-size: 16.5px; line-height: 1.55; font-weight: 600; color: var(--muted);
  transition: opacity .5s;
}
.st-b p::before { content: ""; display: block; height: var(--st-gap, 10px); }
.st-b { display: grid; grid-template-rows: auto 0fr; transition: grid-template-rows .6s cubic-bezier(.22,1,.36,1); }
.step.is-active .st-b { grid-template-rows: auto 1fr; }
.step.is-active .st-b p { opacity: 1; }
.st-price {
  position: fixed; z-index: 31; left: 0; top: 0; padding: 10px 20px 10px 18px; border-radius: 20px; pointer-events: none;
  display: flex; flex-direction: column; opacity: 0;
}
.st-price small { font-family: var(--f-hand); font-size: 21px; font-weight: 700; line-height: 1; color: var(--muted); }
.st-price b { font-size: 28px; font-weight: 900; color: var(--ink-deep); letter-spacing: -.02em; white-space: nowrap; line-height: 1.1; }
.fly-layer { position: fixed; inset: 0; z-index: 32; pointer-events: none; }
.fly {
  position: absolute; left: 0; top: 0; width: var(--gw); padding: 8px; border-radius: 18px; opacity: 0;
  background: linear-gradient(140deg, rgba(255,255,255,.62), rgba(255,255,255,.25));
  backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.8); box-shadow: 0 22px 40px -16px rgba(40,60,110,.4); transform-origin: 50% 50%;
}
.fly img { width: 100%; border-radius: 6px; }

/* ---------- купюри й конверт ---------- */
.bn-fly, .bn-stack i {
  display: flex; align-items: center; justify-content: center; width: 84px; height: 40px; border-radius: 3px;
  background: linear-gradient(120deg, #efd9e4, #e2c1d4 50%, #efd9e4); border: 1px solid #b98aa6; color: #7a4766;
  box-shadow: 0 3px 6px rgba(60,30,50,.25), inset 0 0 0 2px rgba(255,255,255,.45);
}
.bn-fly::after, .bn-stack i::after { content: "200 ₴"; font: 800 14px var(--f-body); }
.bn-fly { position: absolute; left: 0; top: 0; opacity: 0; }
.bn-stack { position: absolute; inset: 0; }
.bn-stack i { position: absolute; left: 50%; top: 50%; width: 92%; height: 34%; opacity: 0; }
.bn-stack i::after { font-size: calc(var(--bw) * .035); }
.sl[data-slot="vidp"] { background: linear-gradient(115deg, rgba(255,255,255,.7), rgba(220,230,240,.35)); border-style: solid; border-top: 4px solid #cdd6e0; }
.sl-mini { z-index: 2; }

/* ---------- кнопки ---------- */
.hero-set { display: inline-block; margin-top: 14px; font-weight: 800; font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(31,55,132,.35); pointer-events: auto; }
.cf-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; padding: 0 16px; }
.btn-line { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 22px; border-radius: 99px; border: 1.5px solid rgba(31,55,132,.3); font-weight: 800; font-size: 15.5px; color: var(--ink-deep); background: rgba(255,255,255,.45); transition: background .25s, border-color .25s; }
.btn-line:hover { background: rgba(255,255,255,.8); border-color: var(--ink); }

/* ---------- як ми працюємо, доставка ---------- */
.work, .deliv, .reviews { position: relative; max-width: 1240px; margin: 0 auto; padding: 70px var(--gutter) 10px; scroll-margin-top: 80px; }
.work > .h2, .deliv > .h2, .reviews > .h2 { text-align: center; }
.work-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.work-list li { padding: 22px; border-radius: 24px; }
.work-list b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 900; font-size: 17px; box-shadow: 0 0 0 5px rgba(238,245,0,.55); }
.work-list h3, .deliv h3 { margin: 16px 0 6px; font-family: var(--f-head); font-weight: 700; font-size: 21px; color: var(--ink-deep); }
.work-list p, .deliv p { margin: 0; font-size: 15.5px; line-height: 1.55; font-weight: 600; color: var(--muted); }
.deliv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.deliv article { padding: 22px; border-radius: 24px; }
.deliv h3 { margin-top: 0; }
.deliv p + p { margin-top: 8px; }
.deliv b { color: var(--ink-deep); }
.deliv a { color: var(--ink); }
.rv-grid { columns: 3 280px; column-gap: 14px; margin-top: 30px; }
.rv { break-inside: avoid; margin: 0 0 14px; padding: 16px; border-radius: 22px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); }
.rv img { width: 100%; height: auto; border-radius: 12px; }
.rv blockquote { margin: 10px 0; font-weight: 600; line-height: 1.5; color: var(--text); }
.rv figcaption { font-weight: 800; color: var(--ink-deep); }

/* ---------- каталог: бічне меню й набори ---------- */
.cat-wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 12px; }
.cat-side { position: sticky; top: 92px; margin-top: 44px; }
.cat-nav { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 22px; }
.cat-t { margin: 2px 10px 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cat-nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 13px; font-weight: 800; font-size: 15px; color: var(--ink-deep); transition: background .25s, color .25s; }
.cat-nav a small { font-size: 12.5px; font-weight: 800; opacity: .55; }
.cat-nav a.is-sub { margin-left: 12px; padding: 8px 12px; font-weight: 700; font-size: 14.5px; color: var(--muted); }
.cat-nav a:hover { background: rgba(255,255,255,.65); }
.cat-nav a.is-on { background: var(--ink); color: #fff; }
.cat-nav a.is-main.is-on[data-spy="binders"] { background: rgba(31,55,132,.12); color: var(--ink-deep); }
.cat-anchor, .cat-main section { scroll-margin-top: 90px; }
.cat-main .pgrid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.cat-main .shop-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-left: 0; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.st-card { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 26px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 16px 30px -18px rgba(40,60,110,.3); }
.st-vis { position: relative; display: flex; justify-content: center; height: 240px; overflow: hidden; }
.st-b-img { position: absolute; left: 12%; top: 0; width: auto; height: 100%; filter: drop-shadow(0 12px 14px rgba(30,45,80,.3)); z-index: 2; }
.st-fan { position: absolute; right: 4%; top: 18px; width: 52%; height: 200px; }
.st-fan img { position: absolute; left: 0; top: 0; height: 100%; width: auto; filter: drop-shadow(0 6px 8px rgba(30,45,80,.25)); }
.st-fan img:nth-child(1) { transform: rotate(-8deg) translateX(0); }
.st-fan img:nth-child(2) { transform: rotate(2deg) translateX(30%); }
.st-fan img:nth-child(3) { transform: rotate(11deg) translateX(58%); }
.st-txt h3 { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 21px; color: var(--ink-deep); }
.st-txt ul { margin: 10px 0 12px; padding: 0 0 0 18px; font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--muted); }
.st-txt label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 800; color: var(--ink-deep); }
.st-txt select { padding: 11px 12px; border-radius: 13px; border: 1.5px solid rgba(31,55,132,.2); background: #fff; color: var(--ink-deep); font: 700 15.5px var(--f-body); }
.st-txt .pc-buy { padding-top: 14px; flex-wrap: wrap; }
.st-txt .pc-buy b { font-size: 28px; }
.st-note { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- згода в формі, cookie, документи ---------- */
.f-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; font-weight: 700; line-height: 1.4; color: var(--ink-deep); }
.f-agree input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.f-agree a { color: var(--ink); }
.ck { position: fixed; z-index: 80; left: 20px; bottom: 20px; width: min(420px, calc(100vw - 24px)); padding: 16px 18px; border-radius: 22px; background: linear-gradient(140deg, rgba(255,255,255,.72), rgba(255,255,255,.42)); }
.ck p { margin: 0 0 12px; font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink-deep); }
.ck a { color: var(--ink); }
.ck div { display: flex; gap: 8px; }
.ck button { flex: 1; height: 42px; border-radius: 99px; font-weight: 800; font-size: 14px; }
.ck-yes { background: var(--ink); color: #fff; }
.ck-no { background: rgba(255,255,255,.7); color: var(--ink-deep); border: 1px solid rgba(31,55,132,.25); }
.doc { position: relative; max-width: 820px; margin: 0 auto; padding: 110px var(--gutter) 70px; }
.doc h2 { margin: 28px 0 8px; font-family: var(--f-head); font-weight: 700; font-size: 21px; color: var(--ink-deep); scroll-margin-top: 90px; }
.doc p { margin: 0 0 10px; font-size: 16px; line-height: 1.65; font-weight: 500; color: var(--text); }
.doc a { color: var(--ink); }
.doc-note { margin-top: 14px !important; padding: 10px 14px; border-radius: 12px; background: rgba(238,245,0,.45); font-weight: 700 !important; }
.doc-btn { height: 44px; padding: 0 18px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 800; }

/* ---------- попап ---------- */
.pop { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pop-back { position: absolute; inset: 0; background: rgba(35,45,75,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pop-box { position: relative; display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: center; gap: 28px; width: min(720px, 100%); padding: 34px; border-radius: 30px; background: linear-gradient(140deg, rgba(255,255,255,.9), rgba(240,245,252,.78)); }
.pop-box > img { width: 100%; height: auto; filter: drop-shadow(0 20px 22px rgba(40,60,110,.35)); }
.pop-t { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; color: var(--ink-deep); }
.pop-t .hand { font-size: 1.25em; }
.pop-p { margin: 12px 0 20px; font-size: 16px; line-height: 1.55; font-weight: 600; color: var(--muted); }
.pop-no { display: block; margin-top: 12px; padding: 6px 0; font-size: 14.5px; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- карусель карток ---------- */
.pick-cards { padding-top: 40px; scroll-margin-top: 80px; }
.pick-head-c { padding: 0 var(--gutter); }
.pick-head-c .lead { margin-left: auto; margin-right: auto; }
.cf-cards { --cw: clamp(190px, 15vw, 250px); margin-top: 26px; }
.cf-cards .cv img { left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }
.cf-cards .cv::after { display: none; }

/* ---------- іконки доставки ---------- */
.d-ic { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 14px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 0 0 5px rgba(238,245,0,.55); }
.d-ic svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- гайд ---------- */
.guide { position: relative; max-width: 1100px; margin: 0 auto; padding: 70px var(--gutter) 0; scroll-margin-top: 80px; }
.guide-box { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: center; gap: 40px; padding: clamp(24px, 4vw, 44px); border-radius: 32px; background: linear-gradient(140deg, rgba(255,255,255,.62), rgba(255,255,255,.28)); }
.guide-box > img { width: 100%; height: auto; border-radius: 10px; transform: rotate(-3deg); box-shadow: 0 26px 40px -16px rgba(30,45,90,.5); }
.guide-box .btn { margin-top: 22px; }
.guide-note { margin: 10px 0 0; font-size: 13.5px; font-weight: 700; color: var(--muted); }

/* ---------- вибір карток ---------- */
.sp { position: fixed; inset: 0; z-index: 105; display: flex; align-items: center; justify-content: center; padding: 20px; }
.sp-box { position: relative; display: flex; flex-direction: column; width: min(980px, 100%); max-height: calc(100svh - 40px); padding: 24px; border-radius: 28px; background: linear-gradient(140deg, rgba(255,255,255,.95), rgba(240,245,252,.9)); }
.sp-head { display: flex; align-items: center; gap: 14px; padding-right: 44px; }
.sp-head img { width: 46px; height: auto; }
.sp-head .kicker { margin-bottom: 2px; }
.sp-grid { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 14px 0; padding: 4px; }
.sp-c { position: relative; display: flex; flex-direction: column; align-items: center; padding: 8px; border-radius: 16px; background: #fff; border: 2px solid transparent; box-shadow: 0 6px 14px -8px rgba(30,45,90,.4); text-align: center; transition: border-color .2s, opacity .2s, transform .2s; }
.sp-c:hover { transform: translateY(-2px); }
.sp-c img { width: 100%; height: auto; aspect-ratio: 500 / 860; object-fit: contain; }
.sp-c span { margin-top: 6px; font-size: 13.5px; font-weight: 800; color: var(--ink-deep); line-height: 1.2; }
.sp-c small { font-size: 12px; font-weight: 600; color: var(--muted); }
.sp-c i { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-weight: 900; font-size: 14px; color: var(--ink-deep); background: rgba(255,255,255,.9); border: 2px solid rgba(31,55,132,.3); }
.sp-c[aria-pressed="true"] { border-color: var(--ink); }
.sp-c[aria-pressed="true"] i { background: var(--lemon); border-color: var(--ink); }
.sp-c.is-off { opacity: .45; }
.sp-foot { display: flex; align-items: center; gap: 16px; }
.sp-foot b { font-size: 18px; font-weight: 900; color: var(--ink-deep); white-space: nowrap; }
.sp-foot .btn { margin-left: auto; height: 54px; }
.sp-foot .btn:disabled { opacity: .45; cursor: not-allowed; }
.sp-foot .pop-no { margin: 0; }

/* ---------- шкала калькулятора ---------- */
.calc-meter { padding: 8px 12px 6px; }
.calc-meter[hidden] { display: none; }
.calc[data-view="form"] .calc-meter, .calc[data-view="done"] .calc-meter { display: none; }
.cm-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 800; color: var(--ink-deep); }
.cm-top b { color: #1f7a35; font-weight: 900; white-space: nowrap; }
.cm-bar { height: 8px; margin-top: 6px; border-radius: 8px; background: rgba(31,55,132,.14); overflow: hidden; }
.cm-bar i { display: block; height: 100%; border-radius: inherit; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--ink), var(--sky)); transition: transform .5s cubic-bezier(.22,1,.36,1); }
.cm-steps { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--muted); }
.cm-steps .is-on { color: var(--ink-deep); font-weight: 900; }
.calc-ship { margin: 8px 0 2px; font-size: 12.5px; font-weight: 700; color: var(--muted); }

/* ---------- відгуки ---------- */
.reviews { text-align: center; }
.reviews .lead { margin-left: auto; margin-right: auto; }
.rv-strip { display: flex; gap: 12px; overflow-x: auto; margin: 26px 0 20px; padding: 6px 4px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rv-strip img { flex: none; width: auto; height: 460px; border-radius: 18px; scroll-snap-align: center; box-shadow: 0 14px 28px -14px rgba(30,45,90,.45); }

.bm-open { margin: 12px 0 0; display: flex; align-items: center; gap: 10px; }
.bm-open[hidden] { display: none; }
.bm-open img { width: 96px; height: auto; border-radius: 8px; box-shadow: 0 6px 12px -6px rgba(30,45,90,.5); }
.bm-open figcaption { font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.35; }

/* читабельність там, де під склом контент */
.hd { background: linear-gradient(140deg, rgba(255,255,255,.82), rgba(255,255,255,.62)); }
.hd.is-menu { background: rgba(255,255,255,.96); }
.calc[data-view="form"], .calc[data-view="done"], .calc.is-open { background: linear-gradient(140deg, rgba(255,255,255,.9), rgba(255,255,255,.8)); }

/* ---------- відгуки ---------- */
.reviews { max-width: none; padding-left: 0; padding-right: 0; }
.reviews > .kicker, .reviews > .h2, .reviews > .lead, .reviews > .rv-note { padding-left: var(--gutter); padding-right: var(--gutter); }
.rw-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; max-width: 1320px; margin: 30px auto 0; padding: 0 var(--gutter); }
.rw { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; border-radius: 24px; text-align: left; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.rw:hover { transform: translateY(-4px); }
.rw b { font-family: var(--f-head); font-weight: 700; font-size: clamp(25px, 2.2vw, 33px); line-height: 1.08; color: var(--ink-deep); }
.rw span { flex: 1; font-size: 14.5px; line-height: 1.45; font-weight: 600; color: var(--muted); }
.rw small { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.rc-row { overflow-x: auto; margin-top: 26px; padding: 8px 0 22px; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.rc-row::-webkit-scrollbar { display: none; }
.rc-row.is-drag { cursor: grabbing; }
.rc-track { display: flex; gap: 14px; width: max-content; padding: 0 14px; }
.rc { flex: none; width: 236px; padding: 9px; border-radius: 26px; cursor: pointer; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.rc:hover { transform: translateY(-5px) rotate(-.6deg); }
.rc span { display: flex; align-items: center; justify-content: center; height: 330px; overflow: hidden; border-radius: 18px; background: #0f1116; }
.rc img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.rv-note { margin: 2px 0 18px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.rvl { position: fixed; inset: 0; z-index: 108; display: flex; align-items: center; justify-content: center; padding: 20px; }
.rvl img { position: relative; max-width: min(520px, 100%); max-height: calc(100svh - 40px); width: auto; height: auto; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.rvl .bm-prev { left: 16px; } .rvl .bm-next { right: 16px; }
@media (max-width: 1200px) { .rw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .rw-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 14px 10px; gap: 10px; margin-top: 22px; }
  .rw-grid::-webkit-scrollbar { display: none; }
  .rw { flex: 0 0 76vw; scroll-snap-align: center; }
  .rc { width: 190px; }
  .rc span { height: 268px; }
  .rvl .bm-nav { top: auto; bottom: 18px; }
}

/* ---------- фільтри карток ---------- */
.flt { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.flt button { height: 40px; padding: 0 14px; border-radius: 99px; font-weight: 800; font-size: 14px; color: var(--ink-deep); background: rgba(255,255,255,.7); border: 1px solid rgba(31,55,132,.14); white-space: nowrap; transition: background .2s, color .2s; }
.flt small { font-weight: 800; opacity: .55; }
.flt button:hover { background: #fff; }
.flt button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sc[hidden], .sp-c[hidden] { display: none; }
.sp-flt { flex-wrap: nowrap; overflow-x: auto; margin: 12px 0 0; padding-bottom: 4px; scrollbar-width: none; flex: none; }
.sp-flt::-webkit-scrollbar { display: none; }
.sp-flt button { flex: none; }
.sp-grid { align-content: start; }
@media (max-width: 900px) {
  .cat .flt:not(.sp-flt) { flex-wrap: nowrap; overflow-x: auto; margin-left: -14px; margin-right: -14px; padding: 0 14px 4px; scrollbar-width: none; }
  .cat .flt:not(.sp-flt)::-webkit-scrollbar { display: none; }
  .cat .flt button { flex: none; }
}

/* ---------- немає в наявності ---------- */
.na { display: inline-block; margin-top: auto; padding: 8px 12px; border-radius: 99px; background: rgba(31,55,132,.1); color: var(--ink-deep); font-size: 13px; font-weight: 800; text-align: center; }
.btn:disabled, .btn-line:disabled { opacity: .5; cursor: not-allowed; }
.sp-c.is-na { opacity: .45; cursor: not-allowed; }

/* ---------- футер ---------- */
.ft { position: relative; padding: 40px 16px 16px; }
.ft-card { max-width: 1300px; margin: 0 auto; padding: clamp(24px, 4vw, 52px); border-radius: 34px; background: linear-gradient(140deg, rgba(255,255,255,.62), rgba(255,255,255,.28)); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr); gap: 40px; }
.ft-big { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(36px, 4.6vw, 70px); line-height: 1.02; letter-spacing: -.02em; color: var(--ink-deep); }
.ft-big .hand { font-size: 1.22em; line-height: .95; }
.ft-sub { margin: 14px 0 22px; max-width: 420px; font-size: 16.5px; line-height: 1.5; font-weight: 600; color: var(--muted); }
.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ft-cols p { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ft-cols a { display: block; padding: 6px 0; font-weight: 700; font-size: 15.5px; color: var(--ink-deep); transition: color .2s, transform .25s; }
.ft-cols a:hover { color: var(--sky); transform: translateX(3px); }
.ft-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(31,55,132,.16); font-size: 14px; font-weight: 700; color: var(--muted); }
.ft-bottom p { margin: 0; }
.ft-soc { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ft-brand, .ft-ig { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink-deep); }
.ft-brand img { width: 40px; height: 40px; border-radius: 50%; }
.ft-ig svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; }

/* ---------- телефон ---------- */
@media (max-width: 1000px) {
  .cat-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cat-side { position: sticky; top: 74px; z-index: 20; margin: 14px -14px 0; }
  .cat-nav { background: rgba(255,255,255,.92); }
  .cat-nav { flex-direction: row; overflow-x: auto; gap: 4px; padding: 6px 10px; border-radius: 0; scrollbar-width: none; }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-t { display: none; }
  .cat-nav a, .cat-nav a.is-sub { flex: none; margin: 0; gap: 6px; padding: 8px 12px; font-size: 14px; white-space: nowrap; }
  .ft-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1280px) {
  .hd-nav a { padding: 0 11px; font-size: 14.5px; }
}
@media (max-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hd.is-menu { flex-wrap: wrap; border-radius: 26px; }
  .hd.is-menu .hd-nav { display: flex; order: 3; width: 100%; flex-direction: column; align-items: stretch; margin: 4px 0 6px; }
  .hd.is-menu .hd-nav a { height: 46px; }
}
@media (max-width: 900px) {
  :root { --cw: min(46vw, 200px); }
  .hero { min-height: max(100svh, 790px); }
  .hero-text { left: 20px; right: 20px; width: auto; top: 78px; transform: none; }
  .hero .lead { display: none; }
  .hero .scroll-hint { display: none; }
  .b-anchor { left: 50%; top: max(68%, 550px); }
  .pick { padding: 70px 0 70px; }
  .hero-set { margin-top: 8px; font-size: 14px; }
  .guide { padding: 50px 14px 0; }
  .guide-box { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .guide-box > img { width: 56%; margin: 0 auto; }
  .guide-box .btn { width: 100%; justify-content: space-between; }
  .cf-cards { --cw: min(46vw, 190px); }
  .pop { padding: 0; align-items: flex-end; }
  .pop-box { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; padding: 24px 16px 20px; border-radius: 26px 26px 0 0; }
  .pop-box .btn { padding-left: 16px; gap: 8px; font-size: 14.5px; }
  .pop-t { padding-right: 34px; }
  .gc[data-id="kosmos"] { --y: 60% !important; }
  .gc[data-id="derevo"] { --y: 60% !important; }
  .work-list, .deliv-grid { grid-template-columns: minmax(0, 1fr); }
  .work-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .work-list li { padding: 16px; }
  .work-list h3 { font-size: 18px; }
  .work-list p { font-size: 14px; }
  .work, .deliv { padding: 50px 14px 10px; }
  .st-grid { grid-template-columns: minmax(0, 1fr); }
  .st-txt .btn { width: 100%; justify-content: space-between; }
  .cf-cta .btn, .cf-cta .btn-line { width: 100%; justify-content: space-between; }
  .cf-cta .btn-line { justify-content: center; }
  .ck { left: 8px; right: 8px; bottom: 8px; width: auto; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 16px; }
  .ck p { flex: 1; margin: 0; font-size: 11.5px; line-height: 1.3; }
  .ck div { flex: none; flex-direction: column; gap: 4px; }
  .ck button { flex: none; height: 30px; padding: 0 10px; font-size: 11.5px; }
  .cat-main .pgrid, .cat-main .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rv-strip img { height: 340px; }
  .sp { padding: 0; align-items: flex-end; }
  .sp-box { width: 100%; max-height: 94svh; padding: 18px 14px 14px; border-radius: 24px 24px 0 0; }
  .sp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .sp-foot { flex-wrap: wrap; gap: 8px 12px; }
  .bm-open { display: none; }
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc { padding: 84px 16px 40px; }
  .cat { padding: 84px 14px 130px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc { padding: 10px; }
  .pc-buy { flex-wrap: wrap; }
  .pc-add { width: 100%; }
  .f-row { grid-template-columns: 1fr; }
  .calc[data-view="form"] { width: auto; }
  .calc-form { max-height: 82svh; }
  .bm { padding: 0; align-items: flex-end; }
  .bm-box { grid-template-columns: 1fr; gap: 12px; width: 100%; max-height: 94svh; padding: 22px 18px 24px; border-radius: 26px 26px 0 0; }
  .bm-fig img { width: auto; max-height: 34svh; }
  .bm-nav { top: 17svh; }
  .bm-price { margin: 10px 0; font-size: 30px; }
  .bm-info .btn { width: 100%; justify-content: space-between; }
  .shop { padding: 60px 14px 130px; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sc img { height: 210px; }
  .extras { grid-template-columns: 1fr; }
  .tiers span { padding: 6px 11px; font-size: 13px; }
  .calc { right: 10px; left: 10px; bottom: 10px; width: auto; max-width: none; }
  .story { height: 320svh; }
  .how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
  .how li { flex-direction: column; gap: 2px; padding: 8px 4px; border-radius: 16px; font-size: 12.5px; text-align: center; line-height: 1.2; }
  .how li + li { margin-left: 0; }
  .how li + li::before { display: none; }
  .how b { font-size: 18px; }
  .hero .row { flex-wrap: nowrap; gap: 8px; }
  .hero .btn { padding-left: 18px; gap: 10px; font-size: 15px; }
  .hero .from { padding: 0 12px; font-size: 14px; }
  .hero .from b { font-size: 16px; }
  .pt-meter p { font-size: 12.5px; white-space: nowrap; }
  .pt-meter b { font-size: 17px; }
  .paint { width: 260px; }
  .pt-card { padding: 16px 16px 14px; }
  .pt-title { font-size: 26px; }
  .pt-cell { font-size: 13.5px; }
  .pt-plus { right: -6px; font-size: 13.5px; }
  .steps { left: 16px; right: 16px; top: 82px; transform: none; gap: 4px; }
  .step { padding: 8px 12px; gap: 12px; border-radius: 18px; }
  .step + .step::before { display: none; }
  .st-n { width: 34px; height: 34px; font-size: 15px; }
  .st-b h3 { margin-top: 6px; font-size: 17px; }
  .st-b p { font-size: 14.5px; }
  .st-b { --st-gap: 4px; }
  .st-price { padding: 7px 14px; border-radius: 14px; }
  .st-price small { font-size: 16px; }
  .st-price b { font-size: 20px; }
  .cf-info { min-width: 0; flex: 1; padding: 10px 16px 10px 10px; }
  .cf-arrow { width: 46px; height: 46px; flex: none; }
  .cf-set { font-size: 14.5px; }
  .cf-info b { font-size: 16px; }
  .cf-info small { display: none; }
  .cf { margin-top: 30px; }
  .cf-info strong { font-size: 18px; }
}

/* невисокі телефони: компактніші кроки, щоб байндер не наїжджав на текст */
@media (max-width: 900px) and (max-height: 720px) {
  .steps { top: 70px; }
  .step { padding: 6px 10px; }
  .st-b h3 { font-size: 15.5px; }
  .st-b p { font-size: 13px; line-height: 1.4; }
}
