/*
 * Конфигуратор «Моя детская» (module_roombuilder.content.tpl.html).
 * Подключается только на этой странице (css.tpl.html по флагу $rb_page),
 * в сборку all.css не входит.
 * 01.12.2026: сцена — готовый кадр комнаты (4:3, плавная смена), под ним
 * подпись ИИ; ниже/справа — «Мебель» и «Для спального места» (вариант A,
 * accessories-design.md). Все <button> — со сбросом float: в легаси-стилях
 * button{float:right}.
 */
.rb-page {
	--rb-bg: #FBF6EE; --rb-ink: #3D1503; --rb-ink2: #7A5A48;
	--rb-line: #EEE4D6; --rb-cta: #F8B056; --rb-ok: #2E8B57; --rb-warn: #B7791F; --rb-warnbg: #FFF4DC;
	color: var(--rb-ink);
	font-family: var(--font-main, 'Manrope', Arial, sans-serif);
}
.rb-page * { box-sizing: border-box; }
.rb-page [hidden] { display: none !important; }
.rb-page button { float: none; font: inherit; color: inherit; cursor: pointer; margin: 0; }
.rb-page img { display: block; max-width: 100%; }

.rb-page { background: var(--rb-bg); padding-bottom: 96px; }
/* Липкой колонке кадра (компьютер) мешают легаси body { overflow: hidden } и
   overflow-x: hidden у #container: они делают их контейнерами прокрутки.
   Класс rb-body ставит index.tpl.html только на этой странице; открытое меню
   (body.no-scroll) не трогаем. */
body.rb-body:not(.no-scroll) { overflow: visible; }
body.rb-body #container { overflow: visible; }
.rb-wrap { max-width: 1340px; margin: 0 auto; }
.rb-title { font-size: 20px; font-weight: 800; margin: 0; padding: 12px 16px 8px; }

/* ---------- кадр комнаты ---------- */
.rb-stage { background: var(--rb-bg); }
.rb-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #EFE6DA; }
.rb-frame__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.rb-frame__img.is-on { opacity: 1; cursor: zoom-in; }
.rb-frame.is-wait:after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
	background: linear-gradient(90deg, transparent, var(--rb-cta), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: rbload 1s linear infinite; }
@keyframes rbload { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.rb-frame__none { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
	padding: 16px; text-align: center; font-size: 14px; font-weight: 600; color: var(--rb-ink2); background: #F4ECE1; }
.rb-frame__none p { margin: 0; max-width: 320px; }
.rb-frame__thumbs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.rb-frame__thumbs img { width: 120px; height: 90px; object-fit: contain; mix-blend-mode: multiply; }
.rb-zoom { position: absolute; right: 10px; top: 10px; z-index: 2; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 0;
	background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(61,21,3,.18); display: flex; align-items: center; justify-content: center; color: var(--rb-ink); }
.rb-frame__note { margin: 8px 16px 0; font-size: 12px; font-weight: 700; color: var(--rb-warn); background: var(--rb-warnbg); border-radius: 8px; padding: 6px 10px; }
.rb-ai-note { display: grid; grid-template-columns: 18px 1fr; gap: 0 8px; padding: 8px 16px 0; font-size: 12px; line-height: 1.45; color: var(--rb-ink2); }
.rb-ai-note p { margin: 0; grid-column: 2; }
.rb-ai-note__i { grid-row: 1; width: 16px; height: 16px; margin-top: 1px; border: 1px solid currentColor; border-radius: 50%;
	font: italic 700 10px/14px Georgia, serif; text-align: center; }
.rb-ai-note .rb-link { font-size: 12px; padding: 0; min-height: 0; font-weight: 700; color: var(--rb-ink2); }
.rb-ai-note__full { margin-top: 6px !important; }
.rb-tools { display: flex; gap: 8px; padding: 8px 16px 0; flex-wrap: wrap; }
.rb-tool { border: 1px solid #e3d5c2; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; min-height: 36px;
	display: inline-flex; align-items: center; gap: 6px; color: var(--rb-ink); }
.rb-tool[hidden] { display: none !important; }

/* ---------- блоки выбора ---------- */
.rb-side { padding: 12px 16px 8px; }
.rb-sec { padding: 6px 0 14px; }
.rb-sec + .rb-sec { border-top: 8px solid #F3EBDF; margin: 0 -16px; padding: 14px 16px; }
.rb-sec__title { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.rb-frow { padding: 10px 0; border-bottom: 1px solid var(--rb-line); }
.rb-frow__label { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--rb-ink2); margin-bottom: 4px; }
.rb-frow__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 4px 0; }
.rb-frow__item img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.rb-frow__name { font-size: 14px; font-weight: 700; line-height: 1.25; }
.rb-frow__meta { font-size: 12px; color: var(--rb-ink2); }
.rb-frow__acts { display: flex; align-items: center; gap: 4px; }
.rb-frow__add { border: 1px dashed #d8c6ae; background: #fff; border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 700; min-height: 44px; width: 100%; text-align: left; }
.rb-frow--kit { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--rb-ink2); }
.rb-frow--kit .rb-price { margin: 0; color: var(--rb-ink); }
.rb-hint { font-size: 13px; background: #fff; border-radius: 10px; padding: 10px 12px; margin: 6px 0; line-height: 1.35; }

/* «Для спального места» */
.rb-acc__fit { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--rb-ok); }
.rb-acc__fit:before { content: "✓ "; }
.rb-acc__group { padding: 10px 0 4px; }
.rb-acc__group + .rb-acc__group { border-top: 1px solid var(--rb-line); }
.rb-acc__label { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--rb-ink2); }
.rb-acc__label:empty { display: none; }
.rb-acc__more { display: block; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--rb-line); background: none; padding: 12px 0; font-size: 14px; font-weight: 700; min-height: 44px; }
.rb-acc__more:after { content: " ▾"; }
.rb-acc__more[aria-expanded="true"]:after { content: " ▴"; }
.rb-acc__wa { margin: 12px 0 0; font-size: 13px; }
.rb-acc__wa a { color: var(--rb-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* карточки */
.rb-card__out { font-size: 11px; color: var(--rb-warn); font-weight: 700; }
.rb-price { display: block; font-size: 14px; font-weight: 800; margin-top: 2px; white-space: nowrap; }
.rb-price s { font-weight: 500; color: var(--rb-ink2); font-size: 12px; }
.rb-badge { display: inline-block; margin-top: 3px; font-size: 11px; font-weight: 700; color: var(--rb-ok); background: #eaf5ee; border-radius: 6px; padding: 1px 6px; }
.rb-badge--sale { color: #9a3b1e; background: #fbeee6; }
.rb-card__btn { margin-top: 6px !important; align-self: flex-start; border: 1px solid var(--rb-ink); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; min-height: 36px; }
.rb-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 2px; }
.rb-swatch { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #d9cbb8; padding: 0; position: relative; }
.rb-swatch.is-active { box-shadow: 0 0 0 2px var(--rb-ink); }
.rb-swatch.is-out:after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: #9b8573; transform: rotate(45deg); }
.rb-qty { display: flex; align-items: center; border: 1px solid #e3d5c2; border-radius: 999px; background: #fff; width: max-content; margin-top: 6px; }
.rb-qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 16px; font-weight: 700; padding: 0; }
.rb-qty span { min-width: 18px; text-align: center; font-weight: 700; font-size: 13px; }
.rb-qty-row { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; }
.rb-qty-row__dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px #d9cbb8; flex: none; }
.rb-qty-row__name { flex: 1; min-width: 0; font-weight: 600; }
.rb-qty-row .rb-qty { margin-top: 0; }

/* короткий путь: размер спального места */
.rb-bed { margin: 6px 0; }
.rb-bed__q { font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.rb-bed__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rb-chip { border: 1px solid #e3d5c2; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; min-height: 40px; }
.rb-chip.is-on { background: var(--rb-ink); color: #fff; border-color: var(--rb-ink); }
.rb-chip--ask { font-weight: 600; }
.rb-bedcots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; }
.rb-bedcot { display: flex; align-items: center; gap: 8px; border: 0; background: #fff; border-radius: 10px; padding: 6px; text-align: left; font-size: 12px; font-weight: 700; min-height: 44px; }
.rb-bedcot img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; flex: none; }
.rb-bedcot small { display: block; font-weight: 500; color: var(--rb-ink2); }

/* ---------- старт ---------- */
.rb-start { margin-bottom: 14px; font-size: 14px; }
.rb-start__benefit { font-size: 13px; font-weight: 700; color: var(--rb-ok); margin: 0 0 10px; }
.rb-start__looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.rb-look { border: 0; background: none; padding: 0; text-align: left; }
.rb-look img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.rb-look span { display: block; font-size: 12px; font-weight: 700; margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }
.rb-start__back { margin: 8px 0 0; }
.rb-link { border: 0; background: none; padding: 4px 0; font-weight: 600; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--rb-ink); min-height: 32px; }

/* ---------- подсказка выгоды ---------- */
.rb-hintbar { margin: 0 0 12px; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 600; line-height: 1.35;
	display: flex; align-items: center; justify-content: space-between; gap: 10px; box-shadow: inset 3px 0 0 var(--rb-ok); }
.rb-hintbar__btn { flex: none; border: 1px solid var(--rb-ink); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 800; min-height: 36px; }

/* ---------- состав ---------- */
.rb-summary { margin-top: 10px; border-top: 1px solid var(--rb-line); padding-top: 10px; }
.rb-summary__head { font-size: 17px; font-weight: 800; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
/* свёрнутый состав: видны только матрас и строки с предупреждением */
.rb-summary.is-collapsed .rb-line:not(.rb-line--keep) { display: none; }
.rb-lines { list-style: none; margin: 0; padding: 0; }
.rb-line { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rb-line); }
.rb-line img { width: 44px; height: 44px; object-fit: contain; mix-blend-mode: multiply; }
.rb-line--kit { grid-template-columns: 1fr auto; }
.rb-line__name { font-size: 13px; font-weight: 700; line-height: 1.25; }
.rb-line__why { font-size: 11px; color: var(--rb-ok); font-weight: 700; }
.rb-line__why--muted { color: var(--rb-ink2); font-weight: 600; }
.rb-line__warn { font-size: 12px; color: var(--rb-warn); font-weight: 600; }
.rb-line.is-warn { background: var(--rb-warnbg); margin: 0 -8px; padding: 10px 8px; border-radius: 10px; }
.rb-line__side { text-align: right; font-size: 13px; white-space: nowrap; }
.rb-line__side s { display: block; color: var(--rb-ink2); font-size: 11px; }
.rb-line__side b { display: block; font-weight: 800; }
.rb-line__qty { display: block; font-size: 11px; color: var(--rb-ink2); }
.rb-x { border: 0; background: none; font-size: 18px; line-height: 1; color: var(--rb-ink2); min-width: 44px; min-height: 44px;
	display: inline-flex; align-items: center; justify-content: center; padding: 0; margin: -6px -10px -6px 0; }
.rb-note { font-size: 12px; font-weight: 700; color: var(--rb-ok); margin-top: 8px; }
.rb-promo-note { font-size: 12px; color: var(--rb-ink2); margin-top: 8px; }
.rb-summary__acts { display: flex; gap: 18px; }
.rb-share { border: 0; background: none; padding: 8px 0; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- итог и кнопка ---------- */
.rb-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; box-shadow: 0 -2px 12px rgba(61,21,3,.12);
	padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rb-bar__sum { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; border: 0; background: none; padding: 0; text-align: left; min-height: 44px; }
.rb-bar__label { font-size: 11px; color: var(--rb-ink2); }
.rb-bar__label small { font-size: 10px; }
.rb-bar__total { font-size: 17px; font-weight: 800; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.rb-bar__total:after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--rb-ink); border-top: 2px solid var(--rb-ink); transform: rotate(-45deg); margin-top: 4px; }
.rb-bar__saving { font-size: 12px; color: var(--rb-ok); font-weight: 700; white-space: nowrap; }
.rb-bar__btn { border: 0; border-radius: 999px; background: var(--rb-cta); color: var(--rb-ink); font-weight: 800; font-size: 14px; letter-spacing: .3px;
	min-height: 46px; padding: 0 16px; text-transform: uppercase; display: inline-flex; align-items: center; text-decoration: none; }
.rb-bar__btn[disabled] { cursor: progress; }
.rb-bar__msg { flex-basis: 100%; order: -1; font-size: 12px; font-weight: 700; color: var(--rb-ok); }
.rb-bar__other { flex-basis: 100%; order: -1; font-size: 11px; color: var(--rb-ink2); }
.rb-bar__test { flex-basis: 100%; order: -2; font-size: 11px; font-weight: 800; color: #9a3b1e; }

/* увеличенный кадр / фото интерьера */
.rb-lightbox { position: fixed; inset: 0; z-index: 100001; background: rgba(20,12,6,.82); display: flex; align-items: center; justify-content: center; padding: 16px; }
.rb-lightbox[hidden] { display: none; }
.rb-lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.rb-lightbox__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 24px; line-height: 44px; padding: 0; text-align: center; }

/* ---------- на этой странице: без плавающих кнопок поверх выбора ---------- */
/* WhatsApp — строкой в блоке «Для спального места» (решение владельца 29.11) */
body.rb-body #wa-chat-btn { display: none !important; }
/* пилюля скидки за подписку не перекрывает подписи карточек */
body.rb-body .popup-button-container { display: none !important; }
/* cookie-полоса — внизу; на телефоне над нижней панелью */
body.rb-body #jkcookie { top: auto !important; bottom: 0 !important; }
@media (max-width: 1023.98px) {
	body.rb-body.buybar-visible #jkcookie { bottom: var(--rb-bar-h, 96px) !important; }
}

/* ---------- компьютер ---------- */
@media (min-width: 1024px) {
	.rb-page { padding-bottom: 40px; }
	.rb-title { font-size: 28px; padding: 18px 24px 12px; }
	.rb-layout { display: grid; grid-template-columns: 58% 42%; padding: 0 24px; align-items: start; }
	/* кадр слева прилипает, выбор справа прокручивается. Отступ один и тот же
	   до и после закрепления шапки (yk-header-stuck, до 125 px) — без рывка */
	.rb-stage { position: sticky; top: 140px; }
	.rb-frame { border-radius: 16px; }
	.rb-ai-note, .rb-tools { padding-left: 0; padding-right: 0; }
	.rb-frame__note { margin-left: 0; margin-right: 0; }
	.rb-side { padding: 0 0 0 28px; }
	.rb-sec + .rb-sec { margin: 0; padding: 14px 0; border-top-width: 1px; border-top-color: var(--rb-line); }
		.rb-bar__total:after { display: none; }
	/* итог — в потоке правой колонки и липнет к низу окна */
	.rb-bar { position: sticky; bottom: 0; z-index: 5; margin-top: 16px; box-shadow: 0 -8px 12px -8px rgba(61,21,3,.12);
		border-top: 1px solid var(--rb-line); padding: 12px 0; background: var(--rb-bg); }
	/* cookie-полоса — только под кадром, правая колонка с итогом свободна */
	body.rb-body #jkcookie { right: auto !important; max-width: 56% !important; }
}

/* ---------- 01.12, правки дизайнера (design-frames.md) ---------- */
/* метка ИИ поверх кадра на языке страницы */
.rb-frame__ai { position: absolute; right: 8px; bottom: 8px; z-index: 2; font-size: 10px; line-height: 1; color: #fff; background: rgba(20,12,6,.38);
	border-radius: 999px; padding: 4px 8px; pointer-events: none; }
/* пустая комната: кадр-пример */
.rb-example { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.rb-example__badge { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.92); border-radius: 999px; padding: 5px 10px; }
.rb-example__btn { pointer-events: auto; position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); border: 0; border-radius: 999px;
	background: var(--rb-cta); color: var(--rb-ink); font-weight: 800; font-size: 15px; min-height: 46px; padding: 0 22px; white-space: nowrap;
	box-shadow: 0 2px 10px rgba(61,21,3,.2); }
.rb-frame.is-example .rb-zoom { display: none !important; }
.rb-start__links { margin: 0; font-size: 13px; }
/* плашка «верх продаётся отдельно» с кнопкой */
.rb-frame__note--top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rb-frame__note--top .rb-hintbar__btn { color: var(--rb-ink); }
/* подсказка выгоды: место держим, страница не прыгает */
.rb-hintbar { min-height: 58px; }
.rb-hintbar.is-empty { visibility: hidden; }
/* строки товаров (вариант A): фото 90 px, справа текст и одна кнопка */
.rb-row { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rb-line); position: relative; }
.rb-row:first-child { border-top: 0; }
.rb-row__img { width: 90px; height: 90px; object-fit: contain; mix-blend-mode: multiply; }
.rb-row.is-out .rb-row__img { opacity: .55; }
.rb-row__label { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--rb-ink2); }
.rb-row__name { font-size: 14px; font-weight: 700; line-height: 1.25; }
.rb-row__meta { font-size: 12px; color: var(--rb-ink2); }
.rb-row__acts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 6px; }
.rb-row__acts .rb-qty, .rb-row__acts .rb-card__btn { margin-top: 0 !important; }
.rb-inroom { font-size: 13px; font-weight: 800; color: var(--rb-ok); }
.rb-pick { margin-top: 6px; }
.rb-acc__group .rb-row { border-top: 0; }
/* простыни: вкладки моделей и кружки со счётчиком */
.rb-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 2px; }
.rb-tab { border: 1px solid #e3d5c2; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; min-height: 36px; }
.rb-tab.is-on { background: var(--rb-ink); color: #fff; border-color: var(--rb-ink); }
.rb-swatch b { position: absolute; right: -8px; top: -8px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--rb-ink); color: #fff;
	font-size: 11px; line-height: 18px; text-align: center; padding: 0 4px; }
.rb-qty-row .rb-x { margin: 0 -10px 0 0; }
/* состав: свёрнуто — только число и сумма в заголовке */
.rb-summary__head small { font-size: 13px; font-weight: 600; color: var(--rb-ink2); }
/* телефон: cookie-полоса над общей панелью сайта «оформить заказ», пока панели конфигуратора нет */
@media (max-width: 1023.98px) {
	body.rb-body.gobar-visible:not(.buybar-visible) #jkcookie { bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important; }
}
.rb-bar__btn.is-busy { opacity: .75; cursor: progress; }
/* «Можно выбрать из N вариантов комнаты» — одна строка под заголовком */
.rb-variants { margin: -4px 0 0; padding: 0 16px 8px; font-size: 13px; font-weight: 600; color: var(--rb-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1024px) { .rb-variants { padding: 0 24px 12px; font-size: 14px; } }
/* категории кроватей: три вкладки над строкой кровати, на телефоне — одна строка с прокруткой вбок */
.rb-ctype { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 4px -16px 10px; padding: 2px 16px; }
.rb-ctype::-webkit-scrollbar { display: none; }
.rb-ctype .rb-tab { flex: none; white-space: nowrap; font-size: 14px; min-height: 42px; padding: 8px 14px; }
@media (min-width: 1024px) { .rb-ctype { margin: 4px 0 10px; padding: 2px 0; } }

/* ---------- 02.12: категории овальными кнопками, сетка карточек, колонки ---------- */
.rb-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.rb-fcard { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1.5px solid var(--rb-line); border-radius: 14px; background: #fff; }
.rb-fcard.is-chosen { border-color: var(--rb-cta); box-shadow: 0 0 0 2px var(--rb-cta); }
.rb-fcard.is-out .rb-fcard__img { opacity: .55; }
.rb-fcard__img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 4px; }
.rb-fcard__name { font-size: 14px; font-weight: 700; line-height: 1.25; }
.rb-fcard__meta { font-size: 12px; color: var(--rb-ink2); }
.rb-fcard__mine { position: absolute; left: 8px; top: 8px; z-index: 1; font-size: 11px; font-weight: 800; color: var(--rb-ink); background: var(--rb-cta); border-radius: 999px; padding: 3px 8px; }
.rb-fcard .rb-swatches { margin-top: 6px; }
.rb-fcard .rb-card__btn { margin-top: auto !important; align-self: stretch; text-align: center; }
.rb-fcard__rm { align-self: flex-start; margin-top: auto; }
.rb-tab.has-pick:not(.is-on) { border-color: var(--rb-ink); }
@media (min-width: 1024px) {
	.rb-fgrid { grid-template-columns: 1fr 1fr 1fr; }
	/* левая колонка — на всю высоту ряда, чтобы кадр в ней прилипал */
	.rb-left { align-self: stretch; }
	.rb-left .rb-title { padding: 0 0 4px; }
	.rb-left .rb-variants { padding: 0 0 12px; }
	.rb-layout { padding-top: 18px; }
	.rb-side .rb-sec--furn { padding-top: 0; }
	.rb-side .rb-sec--furn .rb-sec__title { font-size: 28px; line-height: 1.2; margin: 0 0 12px; }
}
@media (min-width: 1024px) {
	/* компьютер: категории переносятся, без прокрутки вбок */
	.rb-ctype { flex-wrap: wrap; overflow: visible; }
}

/* «Такой комнаты мы ещё не создали» (владелец 02.12): телефон — сразу под кадром во всю
   ширину, акцентный фон и полоса слева; компьютер — поверх низа кадра (.is-over, JS
   placeRequest), если помещается в 35 % высоты кадра, иначе тоже под кадром */
.rb-req { position: relative; margin: 0; background: #FFF4DC; border-left: 4px solid var(--rb-cta);
	padding: 12px 40px 12px 14px; color: var(--rb-ink); }
.rb-req.is-over { position: absolute; left: 16px; right: 16px; z-index: 3; margin: 0; border-radius: 12px; background: rgba(255, 246, 228, .96);
	box-shadow: 0 2px 12px rgba(61,21,3,.18); }
.rb-req.is-folded { padding: 0; }
.rb-req__fold { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 12px 14px; font-size: 14px; font-weight: 800; color: var(--rb-ink); min-height: 44px; }
.rb-req__fold:after { content: " ›"; }
.rb-req__x { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--rb-ink2); padding: 0; }
.rb-req__t { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.25; }
.rb-req__p { margin: 2px 0 8px; font-size: 13px; line-height: 1.4; }
.rb-req__form { display: flex; gap: 6px; }
.rb-req__in { flex: 1; min-width: 0; height: 40px; border: 1px solid #d9cbb8; border-radius: 999px; padding: 0 12px; font-size: 14px; background: #fff; }
.rb-req__btn { flex: none; height: 40px; border: 0; border-radius: 999px; background: var(--rb-cta); color: var(--rb-ink); font-weight: 800; font-size: 13px; padding: 0 14px; white-space: nowrap; }
.rb-req__btn[disabled] { opacity: .6; }
.rb-req__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rb-req__c { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 0; font-size: 12px; line-height: 1.3; color: var(--rb-ink2); cursor: pointer; }
.rb-req__c input { margin: 1px 0 0; flex: none; }
.rb-req__msg { margin: 4px 0 0; font-size: 12px; font-weight: 700; color: #B3261E; }
.rb-req__now { margin: 4px 0 0; font-size: 12px; color: var(--rb-ink2); }
.rb-req__ok { margin: 0; font-size: 14px; font-weight: 700; color: var(--rb-ok); }
/* пока плашка поверх кадра — метка ИИ переезжает наверх, чтобы не прятаться под ней */
.rb-frame.has-req .rb-frame__ai { bottom: auto; top: 10px; left: 10px; right: auto; }
@media (min-width: 1024px) {
	.rb-req { border-radius: 12px; margin-top: 10px; }
	.rb-req.is-over { padding: 12px 40px 12px 16px; }
	.rb-req__t { font-size: 16px; }
}
/* «Соберите комнату — скидка на весь комплект» — акцентом под заголовком */
.rb-slogan { margin: -4px 0 0; padding: 0 16px 2px; font-size: 13px; font-weight: 800; color: var(--rb-ok); }
@media (min-width: 1024px) { .rb-left .rb-slogan { padding: 0 0 2px; font-size: 15px; } }
/* «Поделиться» у кадра и меню каналов */
.rb-sharewrap { position: relative; }
.rb-share-btn svg { flex: none; }
.rb-sharemenu { position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; min-width: 200px; background: #fff; border-radius: 12px; box-shadow: 0 6px 24px rgba(61,21,3,.18); padding: 6px; display: flex; flex-direction: column; }
.rb-sharemenu[hidden] { display: none; }
.rb-sharemenu__it { display: block; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--rb-ink); text-decoration: none; min-height: 40px; }
.rb-sharemenu__it:hover { background: var(--rb-bg); }
/* меню «Поделиться» открывается вверх (кнопка у нижнего края липкого кадра); кнопка справа —
   слева внизу у сайта круглая «наверх» */
.rb-sharewrap { margin-left: auto; }
.rb-sharemenu { top: auto; bottom: calc(100% + 6px); left: auto; right: 0; }
/* что именно не нарисовано (например, шкаф) — заметно, с «Убрать» */
.rb-req__miss { margin: 4px 0 2px; font-size: 13px; font-weight: 800; color: #9a3b1e; }
.rb-req__miss-it { white-space: nowrap; }
.rb-req__miss .rb-link { font-size: 12px; padding: 0 0 0 4px; min-height: 0; color: var(--rb-ink); }
/* убрали комод/шкаф при смене кровати — заметно под кадром, с «Вернуть» */
.rb-auto-note { margin: 8px 16px 0; padding: 8px 12px; border-radius: 10px; background: #FFF4DC; border-left: 4px solid var(--rb-warn); font-size: 13px; font-weight: 700; line-height: 1.35; }
.rb-auto-note .rb-link { font-size: 13px; padding: 0; min-height: 0; font-weight: 800; }
@media (min-width: 1024px) { .rb-auto-note { margin: 10px 0 0; } }
.rb-fcard__noimg { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--rb-ink2); background: #F3EBDF; border-radius: 6px; padding: 1px 6px; }
/* «Сбросить выбор» — неброская текстовая кнопка рядом с «Поделиться» */
.rb-clearwrap { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.rb-clearwrap[hidden] { display: none; }
.rb-clear { color: var(--rb-ink2); font-size: 13px; }
.rb-clear__ask { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.rb-clear__ask[hidden] { display: none; }
.rb-clear__yes { font-weight: 800; color: #B3261E; }
.rb-tools { align-items: center; }
/* наличие — точка цвета + строка, как на карточке товара */
.rb-stock { display: flex; align-items: baseline; gap: 6px; margin-top: 3px; font-size: 12px; line-height: 1.3; color: var(--rb-ink2); }
.rb-stock i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #2E8B57; transform: translateY(-1px); }
.rb-stock--low i { background: #D98A1E; }
.rb-stock--out i { background: #B3261E; }
.rb-stock--out { color: #9a3b1e; font-weight: 600; }
.rb-card__btn[disabled] { opacity: .45; cursor: not-allowed; }
@media (max-width: 1023.98px) { .rb-stock__est { display: none; } }
.rb-bar__count { display: block; font-size: 11px; color: var(--rb-ink2); }
.rb-bar__skip { flex-basis: 100%; order: -1; font-size: 12px; font-weight: 700; color: #9a3b1e; }
/* разделы аксессуаров — аккордеон (02.12) */
.rb-sacc { border-top: 1px solid var(--rb-line); }
.rb-sacc__head { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 12px 0; border: 0; background: none; text-align: left; font: inherit; font-size: 15px; font-weight: 700; color: var(--rb-ink); cursor: pointer; }
.rb-sacc__title { flex: 1 1 auto; min-width: 0; }
.rb-sacc__n { font-weight: 400; color: var(--rb-ink2); font-size: 13px; margin-left: 4px; }
.rb-sacc__picked { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--rb-ok); white-space: nowrap; }
.rb-sacc__arrow { flex: 0 0 auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 4px 4px 0; transition: transform .15s; }
.rb-sacc.is-open .rb-sacc__arrow { transform: rotate(-135deg); margin: 4px 4px 0 0; }
.rb-sacc__body { padding: 0 0 8px; }
.rb-sacc__body .rb-acc__group:first-child { padding-top: 0; }
/* «Поделиться» — круглый значок на кадре слева от лупы, меню вниз (02.12) */
@media (max-width: 1023px) { .rb-stage { position: relative; } }
.rb-sharewrap { position: absolute; top: 10px; right: 58px; z-index: 4; margin: 0; }
.rb-zoom[hidden] ~ .rb-sharewrap, .rb-frame.is-example ~ .rb-sharewrap { right: 10px; }
.rb-share-btn { width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.92);
	box-shadow: 0 1px 4px rgba(61,21,3,.18); display: flex; align-items: center; justify-content: center; color: var(--rb-ink); cursor: pointer; }
.rb-share-btn[hidden] { display: none; }
.rb-sharewrap .rb-sharemenu { top: calc(100% + 6px); bottom: auto; right: 0; left: auto; }
.rb-sharemenu__it { display: flex; align-items: center; gap: 10px; }
.rb-sharemenu__ic { flex: none; }
/* «↺ Сбросить выбор» в строке заголовка «Мебель» */
.rb-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rb-sec__head .rb-clearwrap { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }
.rb-sec__head .rb-clearwrap.is-ask { white-space: normal; flex: 1 1 100%; justify-content: flex-end; }
.rb-sec__head .rb-clear { padding: 4px 0; min-height: 32px; }
/* «Iesakām» у самого продаваемого подходящего матраса */
.rb-rec { display: inline-block; margin: 0 0 4px; padding: 2px 8px; border-radius: 999px; background: #E6F2E8; color: var(--rb-ok); font-size: 11px; font-weight: 800; }
/* точки мебели и миниатюры добавленного на кадре (02.12) */
.rb-hot { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s; }
.rb-hot.is-on { opacity: 1; }
.rb-hot > * { pointer-events: auto; }
.rb-hot:not(.is-on) > * { pointer-events: none; }
.rb-dot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rb-dot span { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 1px 6px rgba(61,21,3,.3); color: var(--rb-ink); font: 700 18px/28px sans-serif; text-align: center; animation: rbpulse 2.4s ease-in-out infinite; }
@keyframes rbpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.7), 0 1px 6px rgba(61,21,3,.3); } 50% { box-shadow: 0 0 0 8px rgba(255,255,255,0), 0 1px 6px rgba(61,21,3,.3); } }
.rb-chip { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px rgba(61,21,3,.28); cursor: pointer; overflow: visible; }
.rb-chip img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.rb-chip b { position: absolute; right: -6px; top: -6px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; background: var(--rb-ink); color: #fff; font-size: 11px; line-height: 20px; text-align: center; }
.rb-chip--more { display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--rb-ink); cursor: default; }
.rb-chip.is-new { animation: rbpop .5s ease-out; }
@keyframes rbpop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
.rb-fly { position: fixed; z-index: 2000; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; pointer-events: none; transition: transform .4s ease-in, opacity .4s ease-in; box-shadow: 0 2px 8px rgba(61,21,3,.3); }
@media (prefers-reduced-motion: reduce) { .rb-dot span, .rb-chip.is-new { animation: none; } .rb-hot { transition: none; } }
.rb-hot-hint { position: absolute; left: 10px; top: 10px; z-index: 3; max-width: 60%; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(61,21,3,.18); font-size: 12px; font-weight: 700; color: var(--rb-ink); }
.rb-hot-hint[hidden] { display: none; }
.rb-frame.is-example .rb-hot-hint { display: none; }
/* мини-карточка */
.rb-pop { position: absolute; z-index: 30; width: 300px; background: #fff; border-radius: 14px; box-shadow: 0 8px 28px rgba(61,21,3,.22); padding: 14px; }
.rb-pop[hidden], .rb-pop-bg[hidden] { display: none; }
.rb-pop__x { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--rb-ink); cursor: pointer; }
.rb-pop__top { display: flex; gap: 12px; padding-right: 28px; }
.rb-pop__top img { flex: none; width: 84px; height: 84px; object-fit: contain; mix-blend-mode: multiply; }
.rb-pop__main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rb-pop__name { font-size: 14px; font-weight: 800; line-height: 1.3; }
.rb-pop__sw { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; }
.rb-pop__acts { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; }
.rb-pop__card { display: block; margin: 12px 0 0; padding: 10px; border: 1px solid var(--rb-ink); border-radius: 999px; text-align: center; font-size: 14px; font-weight: 700; color: var(--rb-ink); text-decoration: none; }
.rb-pop.is-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; z-index: 1001; border-radius: 16px 16px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
.rb-pop-bg { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.3); }
/* тост «+ … pievienots» у нижней панели (кадр не виден) */
.rb-toast { position: absolute; left: 12px; right: 12px; bottom: calc(100% + 8px); display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--rb-ink); color: #fff; font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.rb-toast.is-on { opacity: 1; transform: none; }
.rb-toast img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #fff; }
/* строка над кадром с продолжением — до 2 строк, без рывка (текст из сервера) */
.rb-variants { white-space: normal; overflow: hidden; text-overflow: clip; line-height: 1.35; }
/* текст не обрезаем: обрезанное «…» хуже третьей строки; строка — из сервера, кадр не прыгает */
@media (max-width: 1023px) { .rb-variants { font-size: 12px; } }
/* мини-карточка из правого блока на компьютере — окно по центру */
.rb-pop.is-modal { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 360px; z-index: 1001; }
.rb-pop.is-modal .rb-pop__top img, .rb-pop.is-sheet .rb-pop__top img { width: 120px; height: 120px; }
.rb-pop__acts .rb-card__btn { flex: 0 0 auto; }
/* фото и название карточек нажимаются (мини-карточка) */
.rb-fcard__img, .rb-fcard__name, .rb-row__img, .rb-row__name { cursor: pointer; }
@media (hover: hover) {
	.rb-fcard__img, .rb-row__img { transition: transform .15s; }
	.rb-fcard__img:hover, .rb-row__img:hover { transform: scale(1.04); }
	.rb-fcard__name:hover, .rb-row__name:hover { text-decoration: underline; text-underline-offset: 3px; }
}
/* «Есть похожие комнаты» в плашке запроса: миниатюры кадров, на телефоне — ряд с прокруткой */
.rb-alt__t { margin: 8px 0 6px; font-size: 13px; font-weight: 800; }
.rb-alt { display: flex; gap: 10px; overflow-x: auto; padding: 0 0 6px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
.rb-alt__it { flex: 0 0 150px; display: flex; flex-direction: column; gap: 4px; scroll-snap-align: start; }
.rb-alt__it img { width: 150px; height: 112px; object-fit: cover; border-radius: 8px; display: block; }
.rb-alt__l { font-size: 12px; font-weight: 700; line-height: 1.3; min-height: 2.6em; }
.rb-alt__btn { align-self: flex-start; }
.rb-req__more { display: block; border: 0; background: none; padding: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--rb-ink); text-decoration: underline; text-underline-offset: 3px; min-height: 36px; }
.rb-auto-sug__t { font-weight: 700; }
.rb-auto-sug { font-weight: 800; }
/* телефон: категории без прокрутки вбок — переносятся, все кнопки видны (владелец 02.12) */
@media (max-width: 1023px) {
	.rb-ctype { flex-wrap: wrap; overflow: visible; margin: 4px 0 10px; padding: 0; gap: 6px; }
	.rb-ctype .rb-tab { font-size: 13px; min-height: 36px; padding: 6px 10px; }
}
/* телефон: «Ir līdzīgas istabas» — список без прокрутки вбок: миниатюра слева, кнопка справа */
@media (max-width: 1023px) {
	.rb-alt { flex-direction: column; overflow: visible; gap: 8px; scroll-snap-type: none; }
	.rb-alt__it { flex: none; flex-direction: row; align-items: center; gap: 10px; }
	.rb-alt__it img { width: 96px; height: 72px; flex: none; }
	.rb-alt__l { flex: 1 1 auto; min-width: 0; min-height: 0; }
	.rb-alt__btn { align-self: center; flex: none; }
}
/* зелёная галочка выбора в кнопках категорий и заголовках разделов */
.rb-check { display: inline-flex; flex: none; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; border-radius: 50%; }
.rb-check circle { fill: var(--rb-ok); }
.rb-tab.is-on .rb-check { box-shadow: 0 0 0 2px #fff; }
.rb-tab { display: inline-flex; align-items: center; }
/* нет кадра: плашка-кнопка поверх кадра вверху слева и окно похожих (02.12) */
.rb-req-chip { position: absolute; left: 10px; top: 10px; z-index: 4; max-width: calc(100% - 120px); display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
	padding: 7px 12px 7px 10px; border: 0; border-left: 4px solid var(--rb-cta); border-radius: 10px; background: rgba(255, 246, 228, .94); box-shadow: 0 2px 8px rgba(61,21,3,.2);
	font: inherit; font-size: 13px; line-height: 1.3; color: var(--rb-ink); text-align: left; cursor: pointer; }
.rb-req-chip[hidden] { display: none; }
.rb-req-chip b { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.rb-req-chip__w { color: #B26A00; }
.rb-frame.has-req .rb-frame__ai { bottom: 10px; top: auto; left: auto; right: 10px; }
.rb-req.is-pop { position: absolute; left: 10px; top: 58px; z-index: 6; width: min(440px, calc(100% - 20px)); max-height: calc(100% - 68px); overflow: auto;
	margin: 0; padding: 14px 40px 14px 16px; border-radius: 12px; background: #FFF8EA; border-left: 4px solid var(--rb-cta); box-shadow: 0 8px 28px rgba(61,21,3,.25); }
.rb-req.is-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 1001; max-height: 85vh; overflow: auto; margin: 0;
	padding: 16px 44px calc(16px + env(safe-area-inset-bottom)) 16px; border-radius: 16px 16px 0 0; border-left: 0; background: #FFF8EA; }
.rb-req-bg { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.3); }
.rb-req-bg[hidden] { display: none; }
.rb-nofr { display: block; margin: 6px 0 0; padding: 6px 8px; border: 0; border-radius: 8px; background: #FFF4DC; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.3; color: #8a4b00; text-align: left; cursor: pointer; }
@media (max-width: 1023px) { .rb-req-chip { font-size: 12px; padding: 6px 10px 6px 8px; } }
/* мебель в комнате, но не на кадре — кружок внизу слева с подписью */
.rb-chip--miss { border-color: #F2C14E; }
.rb-chip--miss img { opacity: .9; }
.rb-chip--miss i { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 2px; padding: 1px 6px; border-radius: 6px; background: #F2C14E; color: var(--rb-ink); font: 700 10px/1.4 sans-serif; font-style: normal; white-space: nowrap; }
.rb-req-chip.is-mini { padding: 0; width: 40px; height: 40px; justify-content: center; border-left: 0; border-radius: 50%; font-size: 18px; }
.rb-req__keep { display: block; margin: 10px 0 0; padding: 9px 14px; border: 1px solid var(--rb-ink); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--rb-ink); cursor: pointer; }
.rb-tag-nopic { display: inline-block; margin: 2px 0; padding: 1px 8px; border-radius: 6px; background: #F2C14E; color: var(--rb-ink); font-size: 11px; font-weight: 800; }
/* без строки «из N вариантов» оффер стоит прямо над кадром — небольшой отступ */
.rb-slogan { padding-bottom: 10px; }
@media (min-width: 1024px) { .rb-left .rb-slogan { padding-bottom: 12px; } }
/* «↺ Notīrīt izvēli» в конце ряда категорий, справа */
.rb-ctype .rb-clearwrap { margin-left: auto; align-self: center; white-space: nowrap; }
.rb-ctype .rb-clearwrap.is-ask { flex: 1 1 100%; justify-content: flex-end; white-space: normal; }
.rb-ctype .rb-clear { padding: 4px 0; min-height: 32px; }
@media (min-width: 1024px) { .rb-side .rb-sec--furn { padding-top: 0; } .rb-side .rb-sec--furn > .rb-ctype { margin-top: 0; } }
/* телефон: «↺ Notīrīt izvēli» — маленькой строкой справа над рядом кнопок (в конец ряда не помещается) */
@media (max-width: 1023px) {
	.rb-ctype .rb-clearwrap { order: -1; flex: 1 1 100%; justify-content: flex-end; display: flex; margin: -4px 0 -2px; }
	.rb-ctype .rb-clear { min-height: 28px; padding: 2px 0; font-size: 12px; }
}
/* H1 визуально скрыт, левая колонка начинается с фото (02.12) */
.rb-sr { position: absolute !important; width: 1px; height: 1px; padding: 0 !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* фото в карточках мебели — во всю ширину карточки, товар без белых полей (products_pict/rb, 02.12) */
.rb-fcard { overflow: hidden; }
.rb-fcard__img { display: block; width: calc(100% + 20px); max-width: none !important; margin: -10px -10px 8px; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; mix-blend-mode: normal; border-radius: 12px 12px 0 0; }
.rb-fcard__mine { left: 6px; top: 6px; font-size: 10px; padding: 2px 7px; box-shadow: 0 1px 3px rgba(61,21,3,.2); }
@media (hover: hover) { .rb-fcard__img:hover { transform: none; } }
.rb-row__img { width: 112px; height: 84px; object-fit: contain; mix-blend-mode: normal; background: #fff; border-radius: 8px; }
/* место под метку «Jūsu izvēle» в углу — чтобы не наезжала на мебель */
.rb-fcard__img { padding: 20px 4px 2px; }
.rb-frame.is-example .rb-zoom { display: flex !important; }
.rb-start__back { margin: 8px 0 0; padding: 0 16px; }
@media (min-width: 1024px) { .rb-start__back { padding: 0; } }
/* пустая комната: подсказка «Sāciet ar gultiņu…» — по центру верхней трети */
.rb-empty-tip { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max-content; max-width: min(440px, calc(100% - 48px));
	padding: 22px 32px 20px; border-radius: 20px; background: rgba(255,255,255,.84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	box-shadow: 0 12px 36px rgba(61,21,3,.16); color: var(--rb-ink); text-align: center; pointer-events: none; animation: rbTipIn .5s ease both; }
.rb-empty-tip b { display: block; font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.rb-empty-tip span { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; line-height: 1.35; opacity: .75; }
.rb-empty-tip__arr { display: inline-block; font-style: normal; font-weight: 800; color: #D98A2B; animation: rbNudgeX 1.4s ease-in-out infinite; }
.rb-empty-tip__arr.is-down { animation-name: rbNudgeY; }
@keyframes rbTipIn { from { opacity: 0; transform: translate(-50%, -42%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes rbNudgeX { 50% { transform: translateX(5px); } }
@keyframes rbNudgeY { 50% { transform: translateY(4px); } }
@media (max-width: 1023px) { .rb-empty-tip { padding: 14px 20px 13px; border-radius: 16px; max-width: calc(100% - 40px); }
	.rb-empty-tip b { font-size: 17px; } .rb-empty-tip span { margin-top: 4px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .rb-empty-tip, .rb-empty-tip__arr { animation: none; } }
