/* Rilbox — публічний вигляд конструктора (html.public, ?public=1). Тільки CSS-перекриття та стиль; логіка — box-ui.js.
   Композиція (09.11.2026, за макетом): шапка · великий заголовок · 3D на чистому тлі · рядок параметрів під моделлю ·
   рядок «Тип / Товщина / Перегородки / Ручка» таблетками · підсумок. Вузли переставляє rilbox-public.js. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── токени ── */
html.public {
  --bg: #ffffff; --surface: #ffffff; --bd2: #e9e7e2; --chip-bg: #f4f2ee; --chip-tx: #3b3b3b;
  --tx1: #111315; --tx2: #3d4248; --tx3: #7a7f85;
  --accent: #FF530D; --accent-tx: #e04a0b; --accent-soft: #fff1ea;
  --stage: #ffffff; --stage2: #ffffff;
  --sel-bg: #111315; --sel-tx: #ffffff; --thumb: #111315; --track: #d9d6d0;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;
  --teal: #0BA3A3;
}
html.public[data-theme="dark"] {
  --bg: #17191c; --surface: #17191c; --bd2: #2c3035; --chip-bg: #22262b; --chip-tx: #d7d9dc;
  --tx1: #f3f3f1; --tx2: #c9ccd0; --tx3: #8d9298;
  --accent: #FF530D; --accent-tx: #ff7a40; --accent-soft: #3a2419;
  --stage: #17191c; --stage2: #17191c;
  --sel-bg: #f3f3f1; --sel-tx: #17191c; --thumb: #f3f3f1; --track: #3a3f45;
}
html.public body { background: var(--bg); color: var(--tx1); -webkit-font-smoothing: antialiased; }
html.public .wrap { display: block; max-width: 1160px; margin: 0 auto; padding: 0 24px 56px; }
html.public #boxWrap > section:not(.card) { display: none !important; }   /* ліва колонка: все потрібне вже переставлено */

/* ── шапка: логотип · «На головну» по центру · мови капсом праворуч ── */
html.public .top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 24px; max-width: 1160px; margin: 0 auto;
  padding: 22px 24px 10px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border: 0; box-shadow: none; }
html.public .top h1, html.public .top .sp, html.public #mode, html.public #prodbar { display: none !important; }
html.public .top .rb-logo { display: inline-flex; align-items: center; color: var(--tx1); }
html.public .top .rb-logo img { height: 26px; width: auto; display: block; }
html.public .top .rb-logo svg { display: none; height: 24px; width: auto; }
html.public[data-theme="dark"] .top .rb-logo img { display: none; }
html.public[data-theme="dark"] .top .rb-logo svg { display: block; }
html.public .top .rb-back { flex: 1; text-align: center; font-size: 14px; font-weight: 450; color: var(--tx2); text-decoration: none; }
html.public .top .rb-back:hover { color: var(--accent-tx); }
html.public .top .seg#lang { display: inline-flex; gap: 2px; padding: 0; background: transparent; border-radius: 0; }
html.public .top .seg#lang button { padding: 4px 7px; border-radius: 6px; font-size: 12px; font-weight: 450; letter-spacing: .04em; color: var(--tx3); background: transparent; box-shadow: none; }
html.public .top .seg#lang button[aria-pressed="true"] { color: var(--tx1); font-weight: 700; }
html.public .top .seg#lang button:hover { color: var(--tx1); }

/* ── заголовок ── */
html.public .rb-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 24px 48px; align-items: end; padding: 36px 0 12px; }
html.public .rb-hero h1 { margin: 0; font-size: clamp(40px, 6.2vw, 84px); font-weight: 500; line-height: .98; letter-spacing: -.035em; color: var(--tx1); }
html.public .rb-hero h1 em { font-style: normal; color: var(--accent); }
html.public .rb-hero .rb-lead { margin: 0 0 10px; font-size: 17px; line-height: 1.5; color: var(--tx3); font-weight: 400; }

/* ── сцена: без картки, 3D на чистому тлі з м'якою тінню ── */
html.public #boxWrap > section.card { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0; border-radius: 0; }
html.public #bView { display: none !important; }
html.public .box-stage { background: var(--bg); border-radius: 0; min-height: 440px; overflow: visible; }
html.public .box3d { height: 440px; }
html.public .box-stage::after { content: ""; position: absolute; left: 50%; bottom: 11%; width: 46%; height: 34px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.13), rgba(0,0,0,0)); pointer-events: none; z-index: 0; }
html.public[data-theme="dark"] .box-stage::after { background: radial-gradient(closest-side, rgba(0,0,0,.6), rgba(0,0,0,0)); }
html.public .box-stage > * { position: relative; z-index: 1; }
html.public .box-stage > .zoombar { z-index: 2; }
html.public .zoombar { bottom: 4px; left: auto; right: 0; transform: none; background: transparent; border: 0; box-shadow: none; gap: 0; }
html.public .zoombar button { min-width: 28px; height: 26px; font-size: 13px; color: var(--tx3); padding: 0 6px; }
html.public .zoombar button:hover { background: var(--chip-bg); color: var(--tx1); }
html.public .zoombar .lvl { font: 12px var(--mono); min-width: 40px; }
html.public .zoombar .fit { color: var(--tx2); font-weight: 500; }
/* панель 3D (Розміри · Вигляд · Ракурс) і «Збірка» — тонкий текстовий рядок під моделлю */
html.public .rb-3dbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; margin: 6px 0 0; }
html.public .tb3d { margin: 0; gap: 6px 22px; justify-content: center; }
html.public .tb3d .tbl { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); }
html.public body .tb3d .pills.segc { background: transparent; padding: 0; gap: 2px; }
html.public body .tb3d .segc .pill { padding: 4px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 450; color: var(--tx2); border: 0; box-shadow: none; }
html.public body .tb3d .segc .pill[aria-pressed="true"] { background: var(--chip-bg); color: var(--tx1); font-weight: 600; border: 0; box-shadow: none; }
html.public body .tb3d .segc .pill:not([aria-pressed="true"]):hover { background: transparent; color: var(--tx1); }
html.public .tb3d .pill svg { width: 13px; height: 13px; }
html.public #bAsmRow { display: inline-flex !important; align-items: center; gap: 10px; margin: 0 !important; min-width: 200px; }
html.public #bAsmRow[hidden] { display: none !important; }
html.public #bAsmRow .lbl { display: contents; }
html.public #bAsmRow .lbl > span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); font-weight: 500; }
html.public #bAsmRow .lbl > b { order: 3; font: 500 12.5px var(--mono); color: var(--tx2); min-width: 40px; text-align: right; }
html.public #bAsmRow input[type=range] { order: 2; width: 110px !important; flex: none; }
html.public .legend { justify-content: center; margin-top: 10px; }

/* ── рядок параметрів: Розміри задані · Ширина · Висота · Глибина · Ціна + Замовити ── */
html.public .rb-params { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; margin-top: 22px;
  border-top: 1px solid var(--bd2); border-bottom: 1px solid var(--bd2); }
html.public .rb-params > * { padding: 18px 22px 20px; border-left: 1px solid var(--bd2); margin: 0 !important; min-width: 0; }
html.public .rb-params > *:first-child { border-left: 0; padding-left: 0; }
html.public .rb-params > *:last-child { padding-right: 0; }
html.public .rb-lbl, html.public .rb-params .lbl > span, html.public .rb-opts .lbl > span, html.public .rb-opts .lbl, html.public .rb-divs .lbl > span {
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); }
/* розмір: підпис — моношир. значення (саме поле вводу) + «мм»; повзунок під ними */
html.public .rb-dim { display: grid; grid-template-columns: 1fr auto auto; grid-template-rows: auto auto; align-items: baseline; column-gap: 4px; row-gap: 14px; }
html.public .rb-dim .lbl, html.public .rb-dim .row { display: contents; }
html.public .rb-dim .lbl > span { grid-area: 1 / 1; align-self: center; white-space: nowrap; }
html.public .rb-dim .lbl > b { grid-area: 1 / 3; font-weight: 400; font-size: 12px; color: var(--tx3); letter-spacing: 0; }
html.public .rb-dim .lbl > b > span:first-child { display: none; }   /* дублікат числа — значення показує саме поле */
html.public .rb-dim .num { grid-area: 1 / 2; width: 4ch; padding: 0; border: 0; background: transparent; color: var(--tx1); text-align: right;
  font: 500 28px/1 var(--mono); letter-spacing: -.02em; border-radius: 4px; -moz-appearance: textfield; appearance: textfield; }
html.public .rb-dim .num::-webkit-inner-spin-button, html.public .rb-dim .num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html.public body .rb-dim .num:focus { outline: none; box-shadow: 0 2px 0 var(--accent); border: 0; }
html.public .rb-dim input[type=range] { grid-area: 2 / 1 / 3 / 4; width: 100%; }
/* повзунок: тонка лінія, чорний круглий бігунок */
html.public input[type=range] { -webkit-appearance: none; appearance: none; height: 16px; margin: 0; background: transparent; accent-color: var(--thumb); cursor: pointer; }
html.public input[type=range]::-webkit-slider-runnable-track { height: 1.5px; background: var(--track); border-radius: 2px; }
html.public input[type=range]::-moz-range-track { height: 1.5px; background: var(--track); border-radius: 2px; }
html.public input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7.25px; border-radius: 50%; background: var(--thumb); border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
html.public input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--thumb); border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
html.public input[type=range]:focus-visible { outline: none; }
html.public input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
/* «Розміри задані»: зовні / зсередини — текстовий перемикач */
html.public .rb-dims { display: grid; align-content: space-between; row-gap: 14px; }
html.public .rb-dims .lbl { display: block; }
html.public body .rb-dims .pills.segc { background: transparent; padding: 0; gap: 2px; display: flex; flex-wrap: nowrap; }
html.public body .rb-dims .segc .pill { padding: 5px 10px; border: 0; border-radius: 999px; font-size: 13px; font-weight: 450; color: var(--tx2); box-shadow: none; white-space: nowrap; }
html.public body .rb-dims .segc .pill[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-tx); font-weight: 600; border: 0; box-shadow: none; }
html.public body .rb-dims .segc .pill:not([aria-pressed="true"]):hover { background: var(--chip-bg); }

/* ціна + кількість + «Замовити» */
html.public .rb-order { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 18px; row-gap: 10px; align-items: center;
  background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0; padding-top: 16px !important; }
html.public .rb-order .rb-price-lbl, html.public .rb-order .rb-dims-txt, html.public .rb-order .rb-note { display: none; }
html.public .rb-order .rb-price { grid-area: 1 / 1; font: 500 26px/1.1 var(--mono); letter-spacing: -.02em; color: var(--tx1); white-space: nowrap; }
html.public .rb-order .rb-price::before { content: "≈ "; color: var(--tx3); }
html.public .rb-order .rb-price small { display: none; }
html.public .rb-order .rb-total { grid-area: 2 / 1; margin: 0; min-height: 0; font-size: 11.5px; letter-spacing: .04em; color: var(--tx3); white-space: nowrap; }
html.public .rb-order .rb-total b { font-family: var(--mono); font-weight: 500; color: var(--tx2); }
html.public .rb-order .rb-cta { grid-area: 1 / 2; width: auto; margin: 0; min-height: 46px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 600; }
html.public .rb-qty { grid-area: 2 / 2; display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0; }
html.public .rb-qty .lbl { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); font-weight: 500; flex: none; }
html.public .rb-step { display: inline-flex; align-items: center; border: 1px solid var(--bd2); border-radius: 999px; overflow: hidden; background: transparent; }
html.public .rb-step button { width: 28px; height: 28px; border: 0; background: transparent; color: var(--tx2); font-size: 16px; line-height: 1; cursor: pointer; }
html.public .rb-step button:hover { background: var(--chip-bg); color: var(--tx1); }
html.public .rb-step input { width: 36px; height: 28px; border: 0; background: transparent; text-align: center; font: 500 14px var(--mono); color: var(--tx1); -moz-appearance: textfield; appearance: textfield; }
html.public .rb-step input::-webkit-inner-spin-button, html.public .rb-step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html.public .rb-step input:focus { outline: none; }
html.public .rb-cta { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: background .15s, transform .1s; }
html.public .rb-cta:hover { background: #e94a09; }
html.public .rb-cta:active { transform: scale(.98); }
html.public .rb-cta:focus-visible { outline: 2px solid var(--tx1); outline-offset: 2px; }

/* ── рядок «Тип / Товщина / Перегородки / Ручка» ── */
html.public .rb-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px; padding: 16px 0; border-bottom: 1px solid var(--bd2); }
html.public .rb-opts > .field, html.public .rb-opts > .field > .dyn-in { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0 !important; }
html.public .rb-opts .lbl { display: inline-flex; margin: 0; gap: 0; }
html.public .rb-opts .lbl > b { display: none; }
/* тип: плитки → текстові таблетки, схему ховаємо */
html.public .typegrid { display: flex; gap: 2px; }
html.public .ttile { display: inline-flex; padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--tx2); font-size: 13.5px; font-weight: 450; box-shadow: none; line-height: 1.2; white-space: nowrap; }
html.public .ttile svg { display: none; }
html.public .ttile[aria-pressed="true"], html.public .ttile[aria-pressed="true"]:hover { background: var(--sel-bg); color: var(--sel-tx); font-weight: 600; border: 0; box-shadow: none; }
html.public .ttile:not([aria-pressed="true"]):hover { background: var(--chip-bg); border: 0; box-shadow: none; color: var(--tx1); }
html.public .ttile[data-type]:not([data-type="open"]):not([data-type="lid"]) { display: none !important; }
/* товщина */
html.public #bThick { display: flex; gap: 2px; }
html.public #bThick .pill { padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--tx2); font-size: 13.5px; font-weight: 450; white-space: nowrap; }
html.public #bThick .pill::after { content: " мм"; }
html.public #bThick .pill[aria-pressed="true"] { background: var(--sel-bg); color: var(--sel-tx); font-weight: 600; }
html.public #bThick .pill:not([aria-pressed="true"]):hover { background: var(--chip-bg); color: var(--tx1); }
html.public #bThick [data-thick]:not([data-thick="3"]):not([data-thick="4"]), html.public #bThickNum { display: none !important; }
/* перегородки: X · Z — маленькі моноширинні поля */
html.public .rb-divs .row { gap: 6px; }
html.public .rb-divs .row > span { min-width: 0 !important; font-size: 12.5px !important; font-weight: 450 !important; color: var(--tx2) !important; }
html.public .rb-divs .num { width: 44px; padding: 4px 6px; border: 1px solid var(--bd2); border-radius: 999px; background: transparent; color: var(--tx1); text-align: center; font: 500 13.5px var(--mono); -moz-appearance: textfield; appearance: textfield; }
html.public .rb-divs .num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
html.public body .rb-divs .num:focus { border-color: var(--tx1); box-shadow: none; }
html.public .row:has(#bDivH), html.public #bDivHHint { display: none !important; }
/* ручка на кришці: чекбокс → таблетка-перемикач (лише коли тип — зі знімною кришкою, це робить .dyn.off у box-ui) */
html.public #bLidRow.dyn { display: flex; transition: opacity .16s ease; }
html.public #bLidRow.dyn.off { display: none; }
html.public #bLidRow .dyn-in { overflow: visible; }
html.public #bLidRow .row:has(#bRadius) { display: none !important; }
html.public #bLidRow label.row { position: relative; display: inline-flex; margin: 0; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-size: 13.5px !important; font-weight: 450 !important; color: var(--tx2) !important; transition: background .14s, color .14s; user-select: none; }
html.public #bLidRow label.row:hover { background: var(--chip-bg); color: var(--tx1) !important; }
html.public #bLidRow label.row:has(:checked) { background: var(--sel-bg); color: var(--sel-tx) !important; font-weight: 600 !important; }
html.public #bLidRow label.row input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
html.public #bLidRow label.row:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── підсумок: чипи → один рядок тексту ── */
html.public .rb-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 14px 0 0; }
html.public #bStats.stats { margin: 0; gap: 0; }
html.public #bStats .chip { border: 0; padding: 0; background: transparent; font-size: 13px; color: var(--tx3); }
html.public #bStats .chip b { font-weight: 500; color: var(--tx2); font-family: var(--mono); font-size: 12.5px; }
html.public #bStats .chip + .chip::before { content: "·"; margin: 0 8px; color: var(--tx3); }
html.public #bStats .chip[data-box-env] { display: none; }
html.public .rb-note { margin: 0; font-size: 12.5px; color: var(--tx3); line-height: 1.45; max-width: 460px; text-align: right; }
html.public .warn { margin: 12px 0 0; border-radius: 10px; }
html.public .warn:empty { display: none; }
html.public #bDxf, html.public #bSvg, html.public #bAttach, html.public #bAsmBtn, html.public #bActions, html.public #bPriceBar,
html.public .card:has(#bEngr), html.public .field:has(> .pills#bUnits), html.public .field:has(> #bLift), html.public .field:has(#bGrips) { display: none !important; }

/* ── телефон і планшет ── */
html.public .rb-bar { display: none; }
@media (max-width: 920px) {
  html.public .top { padding: 16px 16px 8px; gap: 12px; }
  html.public .top .rb-back { text-align: right; }
  html.public .wrap { padding: 0 16px 40px; }
  html.public .rb-hero { grid-template-columns: 1fr; gap: 10px; padding: 18px 0 6px; }
  html.public .rb-hero .rb-lead { font-size: 15px; margin: 0; }
  html.public .box-stage { min-height: 340px; } html.public .box3d { height: 340px; }
  html.public .rb-params { grid-template-columns: 1fr 1fr; }
  html.public .rb-params > * { padding: 14px 0 16px; border-left: 0; border-top: 1px solid var(--bd2); }
  html.public .rb-params > .rb-dims { grid-column: 1 / -1; border-top: 0; align-content: start; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  html.public .rb-params > .rb-dim:nth-child(2) { grid-column: 1 / -1; }
  html.public .rb-params > .rb-dim:nth-child(3) { padding-right: 14px; }
  html.public .rb-params > .rb-dim:nth-child(4) { padding-left: 14px; border-left: 1px solid var(--bd2); }
  html.public .rb-params > .rb-order { grid-column: 1 / -1; grid-template-columns: 1fr auto; }
  html.public .rb-dim .num { font-size: 24px; }
  html.public .rb-opts { gap: 10px 20px; padding: 14px 0; }
  html.public .rb-foot { flex-direction: column; }
  html.public .rb-note { text-align: left; }
  html.public #bAsmRow { min-width: 0; }
}
@media (max-width: 600px) {
  html.public .rb-bar { display: flex; position: sticky; bottom: 8px; z-index: 6; margin: 0 12px 8px; align-items: center; justify-content: space-between; gap: 10px;
    padding: 8px 8px 8px 16px; background: var(--surface); border: 1px solid var(--bd2); border-radius: 999px; box-shadow: 0 8px 24px -8px rgba(0,0,0,.3); }
  html.public .rb-bar .rb-bar-price { font: 500 16px var(--mono); color: var(--tx1); }
  html.public .rb-bar .rb-bar-price small { display: block; font: 11px Inter, system-ui, sans-serif; color: var(--tx3); }
  html.public .rb-bar .rb-cta { min-height: 40px; padding: 0 18px; font-size: 14px; }
  html.public .rb-params > .rb-order .rb-cta { display: none; }   /* на телефоні кнопка — у липкій смужці */
  html.public .rb-params > .rb-order { grid-template-columns: 1fr auto; }
  html.public .rb-params > .rb-order .rb-qty { grid-area: 1 / 2 / 3 / 3; }
}

/* ── форма заявки ── */
html.public .rb-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(17,19,21,.45); }
html.public .rb-modal[hidden] { display: none; }
html.public .rb-dialog { width: min(440px, 100%); background: var(--surface); color: var(--tx1); border-radius: 20px; padding: 24px 24px 22px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); max-height: calc(100dvh - 32px); overflow: auto; }
html.public .rb-dialog h2 { margin: 0 0 4px; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
html.public .rb-dialog .rb-sum { margin: 0 0 16px; font-size: 13px; color: var(--tx3); line-height: 1.5; }
html.public .rb-dialog .rb-sum b { color: var(--tx1); font-weight: 500; font-family: var(--mono); }
html.public .rb-dialog label { display: block; margin-top: 12px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); }
html.public .rb-dialog input, html.public .rb-dialog textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--bd2); border-radius: 0; font: inherit; font-size: 15px; color: var(--tx1); background: transparent; }
html.public .rb-dialog input:focus, html.public .rb-dialog textarea:focus { outline: none; border-color: var(--tx1); }
html.public .rb-dialog textarea { min-height: 64px; resize: vertical; }
html.public .rb-dialog .rb-row { display: flex; gap: 10px; margin-top: 22px; }
html.public .rb-dialog .rb-row .rb-cta { margin: 0; flex: 1; min-height: 46px; font-size: 15px; }
html.public .rb-dialog .rb-cancel { min-height: 46px; padding: 0 18px; border: 1px solid var(--bd2); border-radius: 999px; background: transparent; color: var(--tx2); font: inherit; font-weight: 500; cursor: pointer; }
html.public .rb-dialog .rb-done { text-align: center; padding: 10px 0 4px; }
html.public .rb-dialog .rb-done svg { width: 44px; height: 44px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
html.public .rb-dialog .rb-done p { margin: 10px 0 0; color: var(--tx2); line-height: 1.5; }

/* вікно «Онлайн-заявки скоро» (10.11.2026): телефони й пошта — кнопки на всю ширину, одна під одною */
#rbOffLinks { flex-direction: column; align-items: stretch; gap: 8px; }
#rbOffLinks a.rb-cta { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: auto; line-height: 1.3; }
#rbOffSum { font-family: 'JetBrains Mono', ui-monospace, monospace; }
