/**
 * Распродажа 11.11 (/11-11/, классы .sbf*).
 *
 * Шкала шрифтов (6 ступеней, больше не добавлять):
 *   --t-display  11.11                Unbounded 800
 *   --t-h2       40 → 28 на телефоне  Unbounded 800, капс  — заголовки секций, подзаголовок героя
 *   --t-h3       20                   Unbounded 800, капс  — заголовки карточек и шагов
 *   --t-lead     18 → 16              Inter 400
 *   --t-body     16                   Inter 400 / 600 — весь остальной текст, поля, кнопки
 *   --t-small    14                   Inter 400 — подписи, примечания
 * Отступы: 8 · 16 · 24 · 32 · 48 · 96. Скругления: 16 (поля, кнопки, слой) и 24 (карточки). Линия одна: #E6E8EC.
 */
body.sr-bf-page { background: #0E0F12 !important; }
html:has(body.sr-bf-page) { scroll-padding-top: 96px; }

.sbf {
	--t-display: clamp(64px, 9vw, 136px);
	--t-h2: clamp(28px, 3.4vw, 40px);
	--t-h3: 20px;
	--t-lead: 18px;
	--t-body: 16px;
	--t-small: 14px;
	--s-line: #E6E8EC;
	--s-soft: #F7F8FA;
	--s-muted: #6B7280;
	--s-ease: cubic-bezier(.22, 1, .36, 1);
	padding: 24px 0 96px;
	color: var(--c-text);
	font-size: var(--t-body);
}
.sbf p, .sbf h1, .sbf h2, .sbf h3 { margin: 0; }
.sbf ul, .sbf ol { margin: 0; padding: 0; list-style: none; }
.sbf li { margin: 0; }
.sbf li::before { content: none !important; }
.sbf [hidden] { display: none !important; }

/* Заголовки — только эти три */
.sbf-h2, .sbf-sub, .sbf-panel__title { font-family: var(--font-heading); font-weight: 800; font-size: var(--t-h2); line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; text-wrap: balance; }
.sbf-steps h3 { font-family: var(--font-heading); font-weight: 800; font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.02em; text-transform: uppercase; }
.sbf-h2 { margin-bottom: 32px !important; }

.sbf-sim { margin-top: 16px !important; font-size: var(--t-small); color: var(--s-muted); }
.sbf-sim a { color: var(--c-accent); }

/* Кнопки */
.sbf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; padding: 0 24px; border: 1px solid transparent; border-radius: 16px; background: var(--c-accent); color: #fff !important; font-size: var(--t-body); font-weight: 600; text-decoration: none !important; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, opacity .2s ease; }
.sbf-btn:hover { background: var(--c-primary-dark); }
.sbf-btn svg { transition: transform .3s var(--s-ease); }
.sbf-btn:hover svg { transform: translateX(3px); }
.sbf-btn.is-busy { opacity: .6; pointer-events: none; }
.sbf-btn--ghost { background: #fff; border-color: var(--s-line); color: var(--c-text) !important; }
.sbf-btn--ghost:hover { background: #fff; border-color: var(--c-text); }
.sbf-btn.is-done { background: var(--c-text); }

/* ---------- Первый экран ---------- */
.sbf-hero { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 16px; align-items: start; margin-top: 32px; }
.sbf-hero__text { grid-column: 1 / 4; }
.sbf-hero__text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.sbf-title { margin-top: -0.06em !important; font-family: var(--font-heading); font-weight: 800; font-size: var(--t-display); line-height: .8; letter-spacing: -0.07em; white-space: nowrap; color: var(--c-text); }
.sbf-title span { color: var(--c-accent); }
.sbf-sub { margin-top: 32px !important; }
.sbf-lead { max-width: 520px; margin-top: 16px !important; font-size: var(--t-lead); line-height: 28px; color: var(--s-muted); text-wrap: pretty; }

.sbf-timer { display: flex; flex-direction: column; gap: 16px; width: 100%; margin-top: 48px; }
.sbf-timer__label { font-size: var(--t-small); color: var(--s-muted); }
.sbf-timer__row { display: flex; align-items: flex-start; gap: 32px; }
.sbf-timer__cell { display: flex; flex-direction: column; gap: 8px; }
.sbf-timer__cell b { display: block; min-width: 2ch; font-family: var(--font-heading); font-weight: 800; font-size: var(--t-h2); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sbf-timer__cell b.is-tick { animation: sbf-tick .32s var(--s-ease); }
@keyframes sbf-tick { from { opacity: .35; transform: translateY(.12em); } }
.sbf-timer__cell span { font-size: var(--t-small); color: var(--s-muted); }

/* ---------- Карточка с формой ---------- */
.sbf-hero__side { grid-column: 4 / 6; display: flex; flex-direction: column; min-width: 0; }
.sbf-card { display: flex; flex-direction: column; }
.sbf-panel { display: none; flex-direction: column; gap: 24px; }
.sbf-card[data-panel="form"] [data-p="form"],
.sbf-card[data-panel="code"] [data-p="code"],
.sbf-card[data-panel="wait"] [data-p="wait"],
.sbf-card[data-panel="scratch"] [data-p="scratch"],
.sbf-card[data-panel="over"] [data-p="over"] { display: flex; animation: sbf-in .4s var(--s-ease) both; }
@keyframes sbf-in { from { transform: translateY(8px); } }

.sbf-head { display: flex; flex-direction: column; gap: 8px; }
.sbf-panel__text { font-size: var(--t-body); line-height: 1.55; color: var(--s-muted); }
.sbf-panel__text b { font-weight: 600; color: var(--c-text); }

.sbf-fields { display: flex; flex-direction: column; gap: 16px; }
.sbf-field { display: flex; flex-direction: column; gap: 8px; }
.sbf-field__label { font-size: var(--t-small); color: var(--s-muted); }
.sbf-field__input { width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--s-line); border-radius: 16px; background: #fff; font: 400 var(--t-body)/1 var(--font-body); color: var(--c-text); outline: none; transition: border-color .2s ease; }
.sbf-field__input:hover { border-color: var(--s-muted); }
.sbf-field__input:focus { border-color: var(--c-accent); }
.sbf-field__input.is-bad { border-color: var(--c-error); }
.sbf-hp { display: none !important; }

.sbf-check { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.sbf-check input { position: absolute; opacity: 0; pointer-events: none; }
.sbf-check__box { flex: 0 0 20px; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border: 1px solid var(--s-muted); border-radius: 6px; color: transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.sbf-check input:checked + .sbf-check__box { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.sbf-check input:focus-visible + .sbf-check__box { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.sbf-check__text { font-size: var(--t-small); line-height: 1.5; color: var(--s-muted); }

.sbf-actions { display: flex; flex-direction: column; gap: 16px; }
.sbf-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sbf-error { font-size: var(--t-small); color: var(--c-error); }
.sbf-note { font-size: var(--t-small); line-height: 1.5; color: var(--s-muted); text-align: center; }
.sbf-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sbf-links { display: flex; justify-content: center; gap: 24px; }
.sbf-link { min-height: 44px; padding: 0 8px; border: 0; background: none; font-size: var(--t-small); color: var(--s-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sbf-link:hover { color: var(--c-text); }
.sbf-link[disabled] { opacity: .6; cursor: default; text-decoration: none; }

.sbf-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.sbf-otp input { width: 100%; height: 64px; padding: 0; border: 1px solid var(--s-line); border-radius: 16px; background: #fff; font: 800 var(--t-h3)/1 var(--font-heading); color: var(--c-text); text-align: center; outline: none; caret-color: var(--c-accent); transition: border-color .2s ease; }
.sbf-otp input:focus { border-color: var(--c-accent); }
.sbf-otp.is-bad input { border-color: var(--c-error); animation: sbf-shake .35s ease; }
@keyframes sbf-shake { 30% { transform: translateX(-3px); } 70% { transform: translateX(3px); } }

/* Стираемый слой */
.sbf-scratch { position: relative; height: 168px; border-radius: 16px; overflow: hidden; user-select: none; -webkit-user-select: none; }
.sbf-scratch__under { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 16px; border-radius: 16px; background: var(--s-soft); }
.sbf-scratch__code { font-family: var(--font-heading); font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); line-height: 1; letter-spacing: .02em; white-space: nowrap; user-select: all; -webkit-user-select: all; }
.sbf-scratch__cover { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; transition: opacity .6s var(--s-ease); }
.sbf-scratch__cover:active { cursor: grabbing; }
.sbf-scratch.is-clearing .sbf-scratch__cover { opacity: 0; pointer-events: none; }
.sbf-scratch.is-done .sbf-scratch__code { animation: sbf-code .6s var(--s-ease) both; }
@keyframes sbf-code { from { opacity: .3; transform: scale(.96); } }
.sbf-flakes { position: fixed; inset: 0; z-index: 9998; pointer-events: none; }

/* ---------- Витрина секретных товаров ---------- */
.sbf-sum { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 16px; margin-bottom: 32px; padding: 24px 0; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); }
.sbf-sum__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sbf-sum__label { font-size: var(--t-small); color: var(--s-muted); }
.sbf-sum__old, .sbf-sum__new, .sbf-sum__save { font-family: var(--font-heading); font-weight: 800; font-size: var(--t-h2); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.sbf-sum__old { color: var(--s-muted); text-decoration-thickness: 2px; }
.sbf-sum__new { color: var(--c-accent); }
.sbf-sum__note { grid-column: 4 / 6; justify-self: end; max-width: 320px; font-size: var(--t-small); line-height: 20px; color: var(--s-muted); text-align: right; text-wrap: pretty; }

.sbf-secret { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 16px; }
.sbf-secret__item { display: flex; flex-direction: column; gap: 8px; }
.sbf-secret__cover { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--s-soft); color: var(--s-muted); }
.sbf-secret__n { position: absolute; left: 16px; top: 16px; font-size: var(--t-small); font-weight: 600; }
.sbf-secret__lock { position: absolute; right: 16px; top: 16px; }
.sbf-secret__q { font-family: var(--font-heading); font-weight: 800; font-size: var(--t-h2); line-height: 1; color: var(--c-accent); }
.sbf-secret__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; min-height: 28px; }
.sbf-secret__price b { font-family: var(--font-heading); font-weight: 800; font-size: var(--t-h3); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.sbf-secret__price s { font-size: var(--t-small); color: var(--s-muted); }
.sbf-secret__tba { font-size: var(--t-small); line-height: 28px; color: var(--s-muted); }
.sbf-after-teaser { width: auto; margin-top: 48px; }

/* появление при прокрутке — по рядам */
.sbf-js .sbf-secret__item { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--s-ease), transform .6s var(--s-ease); transition-delay: calc(var(--i) * 50ms); }
.sbf-js .sbf-secret__item.is-in { opacity: 1; transform: none; }

/* ---------- Секции ---------- */
.sbf-sec { margin-top: 96px; }
.sbf-sec__lead { max-width: 560px; margin: -16px 0 32px !important; font-size: var(--t-body); line-height: 1.55; color: var(--s-muted); }

/* Товары */
.sbf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sbf-prod { display: flex; flex-direction: column; gap: 16px; padding: 8px 8px 16px; border: 1px solid var(--s-line); border-radius: 24px; background: #fff; transition: border-color .2s ease; }
.sbf-prod:hover { border-color: var(--s-muted); }
.sbf-prod__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--s-soft); }
.sbf-prod__img img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.sbf-prod__name { display: -webkit-box; min-height: 3em; padding: 0 8px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: var(--t-body); font-weight: 600; line-height: 1.5; color: var(--c-text) !important; text-decoration: none !important; }
.sbf-prod__foot { display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin-top: auto; padding: 0 8px; }
.sbf-prod .added_to_cart { display: none !important; }
.sbf-prod__price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.sbf-prod__price b { font-size: var(--t-lead); font-weight: 600; }
.sbf-prod__price s { font-size: var(--t-small); color: var(--s-muted); }
.sbf-add { width: 100%; height: 44px; padding: 0 16px; white-space: nowrap; border: 0; border-radius: 16px; background: var(--c-accent); color: #fff; font-size: var(--t-small); font-weight: 600; cursor: pointer; transition: background-color .2s ease; }
.sbf-add:hover { background: var(--c-primary-dark); }
.sbf-add.is-added { background: var(--c-text); }
.sbf-add[disabled] { background: var(--s-soft); color: var(--s-muted); cursor: default; }
.sbf-prod__left { margin-inline-start: auto; font-size: var(--t-small); font-weight: 600; color: var(--c-accent); }
.sbf-prod__badge { position: absolute; inset-block-start: 16px; inset-inline-start: 16px; padding: 4px 12px; border-radius: 16px; background: var(--c-text); color: #fff; font-size: var(--t-small); font-weight: 600; line-height: 20px; }
.sbf-prod.is-out:hover { border-color: var(--s-line); }
.sbf-prod.is-out .sbf-prod__img img { filter: grayscale(1); opacity: .45; transition: filter .3s ease, opacity .3s ease; }
.sbf-prod.is-out .sbf-prod__name, .sbf-prod.is-out .sbf-prod__price b { color: var(--s-muted) !important; }

/* Шаги: номер и заголовок в одной строке, одна линия сверху вместо рамок */
.sbf-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sbf-steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--s-line); }
.sbf-steps h3 { display: flex; gap: 16px; letter-spacing: -0.01em; }
.sbf-steps h3 span { color: var(--c-accent); }
.sbf-steps p { font-size: var(--t-body); line-height: 1.55; color: var(--s-muted); }

/* Вопросы: список с линиями, без рамок */
.sbf-faq { border-top: 1px solid var(--s-line); }
.sbf-faq__item { border-bottom: 1px solid var(--s-line); }
.sbf-faq__item summary { position: relative; padding: 24px 48px 24px 0; font-size: var(--t-body); font-weight: 600; line-height: 1.5; cursor: pointer; list-style: none; transition: color .2s ease; }
.sbf-faq__item summary:hover { color: var(--c-accent); }
.sbf-faq__item summary::-webkit-details-marker { display: none; }
.sbf-faq__plus { position: absolute; right: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; transition: transform .25s ease; }
.sbf-faq__plus::before, .sbf-faq__plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
.sbf-faq__plus::after { transform: rotate(90deg); }
.sbf-faq__item[open] .sbf-faq__plus { transform: rotate(45deg); }
.sbf-faq__item p { max-width: 720px; padding: 0 48px 24px 0; font-size: var(--t-body); line-height: 1.6; color: var(--s-muted); }

/* Поддержка — одна строка вместо баннера */
.sbf-help { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 96px; padding: 32px; border-radius: 24px; background: var(--s-soft); }
.sbf-help p { font-size: var(--t-lead); line-height: 1.5; }
.sbf-help .sbf-btn { width: auto; flex: 0 0 auto; }

/* Фокус с клавиатуры */
.sbf :is(a, button, summary):focus-visible { outline: 2px solid var(--c-text); outline-offset: 2px; }
.sbf .sbf-field__input:focus, .sbf .sbf-otp input:focus { outline: none !important; border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(76, 155, 255, .18) !important; }
.sbf-panel__text, .sbf-steps p, .sbf-faq__item p, .sbf-sec__lead { text-wrap: pretty; }

/* Плавающий Roomy на этой странице перекрывает форму и цены */
body.sr-bf-page #sr-roomy { display: none !important; }

/* Панель корзины и уведомление */
.sbf-bar { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 9990; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.sbf-bar__in { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 480px; padding: 8px 8px 8px 24px; border-radius: 24px; background: var(--c-text); color: #fff; pointer-events: auto; animation: sbf-in .4s var(--s-ease) both; }
.sbf-bar__text { flex: 1 1 auto; font-size: var(--t-body); }
.sbf-bar .sbf-btn { width: auto; height: 48px; }
.sbf-toast { position: fixed; left: 50%; bottom: 96px; z-index: 9999; padding: 16px 24px; border-radius: 16px; background: var(--c-text); color: #fff; font-size: var(--t-small); font-weight: 600; transform: translateX(-50%); }

@media (max-width: 1100px) {
	.sbf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sbf-secret { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.sbf { --t-display: 19vw; --t-lead: 16px; padding-bottom: 64px; }
	.sbf-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 24px; }
	.sbf-hero__text, .sbf-hero__side { grid-column: 1 / -1; }
	.sbf-timer { margin-top: 32px; }
	.sbf-timer__row { gap: 24px; }
	.sbf-sub { margin-top: 24px !important; }
	.sbf-card { max-width: none; padding: 32px 0 0; border-top: 1px solid var(--s-line); }
	.sbf-scratch { height: 144px; }
	.sbf-scratch__code { font-size: var(--t-h3); letter-spacing: .04em; }
	.sbf-sec, .sbf-help { margin-top: 64px; }
	.sbf-h2 { margin-bottom: 24px !important; }
	.sbf-sec__lead { margin: -8px 0 24px !important; }
	.sbf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.sbf-sum { grid-template-columns: 1fr 1fr; padding: 24px 0; margin-bottom: 24px; }
	.sbf-sum__col:nth-child(3) { grid-column: 1 / -1; }
	.sbf-sum__note { grid-column: 1 / -1; justify-self: start; max-width: none; text-align: left; }
	.sbf-sum__old, .sbf-sum__new, .sbf-sum__save { font-size: var(--t-h3); }
	.sbf-secret { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; }
	.sbf-secret__cover { aspect-ratio: 1; }
	.sbf-secret__n, .sbf-secret__lock { display: none; }
	.sbf-secret__price { flex-direction: column; gap: 0; }
	.sbf-secret__price b { font-size: var(--t-body); }
	.sbf-secret__tba { line-height: 20px; }
	.sbf-after-teaser { width: 100%; margin-top: 32px; }
	.sbf-prod { padding: 8px 8px 16px; border-radius: 16px; }
	.sbf-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.sbf-help { flex-direction: column; align-items: stretch; padding: 24px 16px; }
	.sbf-help .sbf-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.sbf *, .sbf *::before { animation: none !important; transition: none !important; }
	.sbf-js .sbf-secret__item { opacity: 1; transform: none; }
}

/* 10.11: разобранный товар — серая карточка, без кликов */
.sbf-prod.is-out { background: var(--s-soft); border-color: var(--s-line); cursor: default; }
.sbf-prod.is-out .sbf-prod__img, .sbf-prod.is-out .sbf-prod__name { pointer-events: none; cursor: default; }
.sbf-prod.is-out .sbf-prod__price s { opacity: .6; }
.sbf-prod.is-out .sbf-add, .sbf-prod.is-out .sbf-add[disabled] { background: transparent; border: 1px solid var(--s-line); color: var(--s-muted); pointer-events: none; }
/* 10.11: «Осталось N шт.» не вылезает за карточку на телефоне — переносится строкой ниже */
.sbf-prod__price { flex-wrap: wrap; row-gap: 4px; }
@media (max-width: 600px) { .sbf-prod__left { flex-basis: 100%; margin-inline-start: 0; } }

/* 10.11: формат лицензии — надзаголовок над названием: мелко, капсом, приглушённо, со значком ключа */
.sbf-prod__lic { display: flex; align-items: center; gap: 6px; margin: 4px 8px -8px; color: var(--s-muted); font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; }
.sbf-prod__lic::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--c-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='M10.7 12.3 20 3M16 7l3 3M18 5l2 2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='M10.7 12.3 20 3M16 7l3 3M18 5l2 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.sbf-prod.is-out .sbf-prod__lic::before { background: var(--s-muted); }
@media (min-width: 900px) { .sbf-prod__lic { font-size: 12px; } }
@media (max-width: 600px) { .sbf-prod__lic { gap: 5px; font-size: 10px; letter-spacing: .03em; } .sbf-prod__lic::before { width: 12px; height: 12px; } }

/* 11.11: таймер жизни промокода — под кодом и в нижней плашке */
.sbf-burn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: var(--t-small); color: var(--s-muted); }
.sbf-burn[hidden] { display: none; }
.sbf-burn b, .sbf-bar__burn b { font-family: var(--font-heading); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--c-text); }
.sbf-burn i, .sbf-bar__burn i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; box-shadow: 0 0 0 0 rgba(255,59,48,.5); animation: sbf-burn 1.6s ease-out infinite; }
.sbf-burn.is-hot b { color: #FF3B30; }
@keyframes sbf-burn { 70% { box-shadow: 0 0 0 7px rgba(255,59,48,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); } }
.sbf-bar__col { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sbf-bar__burn { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.3; color: rgba(255,255,255,.65); }
.sbf-bar__burn b { color: #fff; }
.sbf-bar__burn.is-hot b { color: #FF6B61; }
@media (prefers-reduced-motion: reduce) { .sbf-burn i, .sbf-bar__burn i { animation: none; } }

/* ---------- Black Friday: логотип UA, заголовок в две строки, ступени цен ---------- */
.sbf-ua { display: block; width: auto; height: 40px; margin-bottom: 32px; }
html[data-theme="dark"] .sbf-ua { filter: invert(1); }
.sbf-title { line-height: .86; text-transform: uppercase; letter-spacing: -0.05em; }
@media (min-width: 1101px) { .sbf-tier[data-tier="290"] .sbf-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sbf-tier + .sbf-tier { margin-top: 48px; }
.sbf-tier__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sbf-tier__price { font-family: var(--font-heading); font-weight: 800; font-size: var(--t-h2); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.sbf-tier__text { font-size: var(--t-small); color: var(--s-muted); }
.sbf-tier__text b { font-weight: 600; color: var(--c-text); }
.sbf-prod__price s { white-space: nowrap; }
@media (max-width: 640px) {
	.sbf-ua { height: 32px; margin-bottom: 24px; }
	.sbf-tier + .sbf-tier { margin-top: 32px; }
	.sbf-tier__head { margin-bottom: 16px; }
}

/* =========================================================================
 * 19.11: чёрный формат (владелец: «как в артефакте, красиво»).
 * Страница всегда тёмная: тёмная тема сайта включается только здесь (soundroom-bf.php),
 * а сама страница задаёт свои цвета — палитра тёмной темы SoundRoom, один синий акцент, линии 1px, без градиентов.
 * ========================================================================= */
body.sr-bf-page .sr-theme-toggle { display: none !important; }
.sbf {
	--c-text: #EDEEF0;
	--s-line: #262930;
	--s-soft: #16181D;
	--s-muted: #9AA0AA;
	--sbf-bg: #0E0F12;
	--sbf-panel: #15171C;
	--sbf-line-2: #363A43;
	--c-primary-dark: #3A8CF5;
	background: var(--sbf-bg);
	color: var(--c-text);
}
.sbf .rv-crumbs a, .sbf .rv-crumbs span { color: var(--s-muted); }
.sbf .rv-crumbs [aria-current] { color: var(--c-text); }

/* Заголовок: BLACK контуром (без внутренних линий шрифта), FRIDAY сплошным */
.sbf-title { line-height: .86; }
.sbf-title__row { display: block; overflow: hidden; padding-block: .02em .04em; }
/* Без «выезда» строк: заголовок виден сразу, даже если анимации в браузере притормаживают. */
.sbf-title__row > span { display: inline-block; }
.sbf-title .sbf-title__row + .sbf-title__row > span { color: var(--c-text); }
.sbf-title .sbf-title__o { color: var(--sbf-bg); -webkit-text-stroke: max(3px, .028em) var(--c-text); paint-order: stroke fill; }
@keyframes sbf-rise { from { transform: translateY(105%); } }
.sbf-sub { color: var(--c-accent); }
.sbf-ua { filter: invert(1); }

/* Карточка записи */
.sbf-card { padding: 32px; border: 1px solid var(--s-line); border-radius: 24px; background: var(--sbf-panel); }
.sbf-btn--ghost, .sbf-btn--ghost:hover { background: transparent; border-color: var(--sbf-line-2); }
.sbf-btn--ghost:hover { border-color: var(--c-text); }
.sbf-btn.is-done { color: var(--sbf-bg) !important; }
.sbf-field__input, .sbf-otp input { background: var(--sbf-bg); border-color: #6B717C; color: var(--c-text); }
.sbf-field__input::placeholder { color: var(--s-muted); }
.sbf-check__box { border-color: #6B717C; }
.sbf-scratch__under { background: var(--sbf-bg); border: 1px solid var(--s-line); }

/* Полоса цен: VU-метр в ромбе UA + три ступени */
.sbf-band { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 16px; align-items: center; margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--s-line); }
.sbf-inst { grid-column: 1 / 3; width: 100%; max-width: 440px; aspect-ratio: 1; justify-self: center; }
.sbf-inst svg { width: 100%; height: 100%; display: block; overflow: visible; }
.sbf-inst__lbl { font-family: var(--font-heading); font-weight: 500; font-size: 13px; fill: var(--s-muted); }
.sbf-inst__vu { font-family: var(--font-heading); font-weight: 800; font-size: 22px; letter-spacing: -1px; fill: var(--c-text); }
.sbf-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sbf-draw 1.4s var(--s-ease) forwards; }
.sbf-d2 { animation-delay: .2s; } .sbf-d3 { animation-delay: .4s; } .sbf-d4 { animation-delay: .9s; }
@keyframes sbf-draw { to { stroke-dashoffset: 0; } }
.sbf-needle { transform-box: view-box; transform-origin: 300px 392px; transform: rotate(14deg);
	animation: sbf-power 1.1s cubic-bezier(.3, 1.4, .5, 1) 1.2s both, sbf-idle 3.2s cubic-bezier(.3, .8, .4, 1) 2.3s infinite; }
@keyframes sbf-power { from { transform: rotate(-46deg); } to { transform: rotate(14deg); } }
@keyframes sbf-idle {
	0% { transform: rotate(14deg); } 9% { transform: rotate(20deg); } 17% { transform: rotate(9deg); } 29% { transform: rotate(17deg); }
	38% { transform: rotate(4deg); } 51% { transform: rotate(19deg); } 60% { transform: rotate(12deg); } 72% { transform: rotate(23deg); }
	81% { transform: rotate(10deg); } 100% { transform: rotate(14deg); }
}
.sbf-rails { grid-column: 3 / 6; display: grid; border-top: 1px solid var(--s-line); }
.sbf-rail { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; padding: 24px 0; border-bottom: 1px solid var(--s-line); color: var(--c-text) !important; text-decoration: none !important; }
.sbf-rail__top { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-heading); font-weight: 700; font-size: var(--t-small); letter-spacing: .12em; text-transform: uppercase; color: var(--s-muted); }
.sbf-rail__price { font-family: var(--font-heading); font-weight: 800; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.05em; white-space: nowrap; font-variant-numeric: tabular-nums; transition: color .2s ease; }
.sbf-rail__meta { align-self: end; display: flex; gap: 16px; align-items: baseline; font-size: var(--t-small); color: var(--s-muted); white-space: nowrap; }
.sbf-rail__meta b { color: var(--c-text); font-weight: 600; }
.sbf-rail__text { grid-column: 1 / -1; font-size: var(--t-small); color: var(--s-muted); }
@media (hover: hover) { .sbf-rail:hover .sbf-rail__price { color: var(--c-accent); } }

/* Бегущая строка */
.sbf-marq { margin-top: 96px; padding-block: 24px; border-block: 1px solid var(--s-line); overflow: hidden; }
.sbf-marq__track { display: flex; width: max-content; animation: sbf-marq 56s linear infinite; }
.sbf-marq:hover .sbf-marq__track, .sbf-marq:focus-within .sbf-marq__track { animation-play-state: paused; }
.sbf-marq a, .sbf-marq span { display: inline-flex; align-items: center; gap: .5em; padding-right: .5em; font-family: var(--font-heading); font-weight: 800; font-size: var(--t-h2); line-height: 1.1; letter-spacing: -0.05em; text-transform: uppercase; white-space: nowrap; text-decoration: none !important; color: var(--sbf-bg) !important; -webkit-text-stroke: 2px var(--sbf-line-2); paint-order: stroke fill; transition: -webkit-text-stroke-color .2s ease; }
.sbf-marq .is-on { color: var(--c-text) !important; -webkit-text-stroke: 0; }
.sbf-marq a::after, .sbf-marq span::after { content: ""; flex: 0 0 auto; width: .24em; height: .24em; background: var(--c-accent); transform: rotate(45deg); }
@media (hover: hover) { .sbf-marq a:not(.is-on):hover { -webkit-text-stroke-color: var(--c-accent); } }
@keyframes sbf-marq { to { transform: translateX(-50%); } }

/* Сумма и плагины */
.sbf-sum { border-color: var(--s-line); }
.sbf-tier { scroll-margin-top: 96px; }
.sbf-prod { background: var(--sbf-panel); border-color: var(--s-line); }
.sbf-prod:hover { border-color: var(--sbf-line-2); }
.sbf-prod__name { color: var(--c-text) !important; }
.sbf-prod__img { background: var(--sbf-bg); }
.sbf-add.is-added, .sbf-prod__badge { color: var(--sbf-bg); }
.sbf-add[disabled] { background: var(--s-soft); }
.sbf-prod.is-out { background: var(--sbf-bg); }

/* Шаги, вопросы, помощь, нижняя панель */
.sbf-steps h3 span { color: var(--c-accent); }
.sbf-faq__item summary { color: var(--c-text); }
.sbf-help { background: var(--sbf-panel); border: 1px solid var(--s-line); }
.sbf-bar__in { background: #1C1F25; border: 1px solid var(--sbf-line-2); color: var(--c-text); }
.sbf-bar__burn b { color: var(--c-text); }
.sbf-toast { background: var(--c-text); color: var(--sbf-bg); }

@media (max-width: 980px) {
	.sbf-band { grid-template-columns: minmax(0, 1fr); margin-top: 64px; }
	.sbf-inst, .sbf-rails { grid-column: 1; }
	.sbf-inst { max-width: 360px; }
}
@media (max-width: 640px) {
	.sbf-card { padding: 24px 16px; }
	.sbf-marq { margin-top: 64px; padding-block: 16px; }
	.sbf-rail__meta { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
	.sbf-draw { animation: none; stroke-dashoffset: 0; }
	.sbf-needle, .sbf-marq__track, .sbf-title__row > span { animation: none !important; }
}

/* 19.11: до 27.11 плагины секретные — размытые обложки (размыты на сервере), без названий */
.sbf-prod.is-secret { cursor: default; }
.sbf-prod.is-secret .sbf-prod__img img { transform: scale(1.2); filter: blur(14px) saturate(1.1); }
.sbf-prod__q { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 56px; line-height: 1; color: rgba(237, 238, 240, .9); }
.sbf-prod.is-secret .sbf-prod__name { color: var(--s-muted) !important; }
.sbf-prod__paint { position: absolute; inset: -4%; width: 108%; height: 108%; }
.sbf-prod.is-secret .sbf-prod__q { z-index: 1; color: #EDEEF0; }

/* =========================================================================
 * 19.11: первый экран по макету владельца — волна (wave-wide / wave-square.webp от владельца),
 * сетка частот, наклейка «27.11», строка «34 · 290 ₽ · 27.11» и компактный таймер.
 * ========================================================================= */
.sbf-hero { position: relative; isolation: isolate; margin-top: 24px; padding-top: 48px; align-items: center; }
.sbf-hero__deco { position: absolute; inset: 0 0 -24px; z-index: -1; pointer-events: none; }
.sbf-hero__text { position: relative; }

/* Сетка частот: 5 тонких вертикальных линий с подписями, как на анализаторе */
.sbf-freq { position: absolute; top: 0; bottom: 0; left: 33%; width: 30%; display: flex; justify-content: space-between; }
.sbf-freq span { position: relative; height: 100%; font-size: 11px; line-height: 1; letter-spacing: .02em; color: var(--s-muted); white-space: nowrap; transform: translateX(-50%); }
.sbf-freq span::after { content: ""; position: absolute; top: 20px; bottom: 0; left: 50%; width: 1px; background: var(--s-line); }
.sbf-freq span:nth-child(2) { margin-left: -6%; }

/* Волна: широкая — за заголовком до формы; квадратная — на телефоне */
.sbf-wave { position: absolute; max-width: none; height: auto; user-select: none; }
.sbf-wave--wide { left: -6%; top: 16%; width: 76%; }
.sbf-wave--sq { display: none; }
@media (prefers-reduced-motion: no-preference) {
	.sbf-wave { animation: sbf-wave 9s ease-in-out infinite alternate; }
}
@keyframes sbf-wave { to { transform: translate3d(1.2%, -1.5%, 0) scale(1.02); } }

/* Крестики-метки */
.sbf-cross { position: absolute; width: 24px; height: 24px; }
.sbf-cross::before, .sbf-cross::after { content: ""; position: absolute; background: var(--s-muted); }
.sbf-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.sbf-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.sbf-cross--a { left: -12px; top: 0; }
.sbf-cross--b { left: calc(63% - 12px); bottom: 0; }

/* Логотип UA с надписью */
.sbf-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.sbf-brand .sbf-ua { height: 44px; margin: 0; }
.sbf-brand span { font-family: var(--font-body); font-weight: 400; font-size: 22px; letter-spacing: .32em; text-transform: uppercase; color: var(--c-text); white-space: nowrap; }

/* Заголовок и наклейка */
.sbf-title { --t-display: clamp(64px, 8.6vw, 148px); position: relative; }
.sbf-title__row:first-child { overflow: visible; }
.sbf-sticker { position: absolute; left: calc(100% + .06em); top: -.06em; display: inline-block; padding: .14em .22em .1em; background: var(--c-accent); color: #0E0F12; font-family: var(--font-heading); font-weight: 800; font-size: .34em; line-height: 1; letter-spacing: -0.04em; -webkit-text-stroke: 0; transform: rotate(-10deg); transform-origin: left bottom; white-space: nowrap; }
.sbf-title .sbf-title__row:first-child { display: inline-block; position: relative; }
.sbf-title .sbf-title__row + .sbf-title__row { display: block; }
.sbf-sub { margin-top: 48px !important; font-size: clamp(36px, 4.6vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.sbf-lead { margin-top: 16px !important; color: var(--c-text); font-size: 20px; line-height: 1.5; max-width: 560px; }

/* Форма справа без рамки, как в макете */
.sbf-card { padding: 0; border: 0; background: transparent; }
.sbf-hero__side { align-self: start; padding-top: 72px; }

/* Строка с цифрами */
.sbf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--sbf-line-2); }
.sbf-stats__cell { display: flex; flex-direction: column; gap: 8px; padding-inline: 32px; border-left: 1px solid var(--sbf-line-2); }
.sbf-stats__cell:first-child { padding-left: 0; border-left: 0; }
.sbf-stats__cell b { font-family: var(--font-heading); font-weight: 800; font-size: clamp(40px, 5.4vw, 88px); line-height: .95; letter-spacing: -0.05em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sbf-stats__cell span { font-size: var(--t-body); letter-spacing: .2em; text-transform: uppercase; color: var(--c-text); }

/* Таймер одной строкой под цифрами */
.sbf-timer { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-top: 32px; }
.sbf-timer__label { font-size: var(--t-small); color: var(--s-muted); }
.sbf-timer__row { gap: 16px; align-items: baseline; }
.sbf-timer__cell { flex-direction: row; align-items: baseline; gap: 4px; }
.sbf-timer__cell b { font-size: var(--t-h3); min-width: 0; }
.sbf-timer__cell span { font-size: var(--t-small); }

@media (max-width: 1100px) {
	.sbf-freq, .sbf-cross--b { display: none; }
	.sbf-wave--wide { width: 96%; top: 22%; }
}
@media (max-width: 900px) {
	.sbf-hero { padding-top: 24px; }
	.sbf-hero__side { padding-top: 0; }
	.sbf-wave--wide { display: none; }
	.sbf-wave--sq { display: block; right: -18%; top: 4%; width: 110%; opacity: .95; }
	.sbf-brand span { font-size: 15px; letter-spacing: .24em; }
	.sbf-brand .sbf-ua { height: 32px; }
	.sbf-title { --t-display: 17vw; }
	.sbf-sticker { left: auto; right: -.1em; top: -.5em; }
	.sbf-sub { margin-top: 32px !important; font-size: 10vw; }
	.sbf-lead { font-size: 17px; }
	.sbf-stats { margin-top: 48px; padding-top: 24px; }
	.sbf-stats__cell { padding-inline: 12px; }
	.sbf-stats__cell b { font-size: 8.6vw; }
	.sbf-stats__cell span { font-size: 11px; letter-spacing: .12em; }
	.sbf-cross--a { display: none; }
}
.sbf-title .sbf-sticker { color: #0E0F12; top: .1em; }
@media (max-width: 900px) { .sbf-title .sbf-sticker { top: -.42em; } }
/* Волна заканчивается до формы, чтобы не мешать полям */
@media (min-width: 1101px) { .sbf-wave--wide { left: -5%; top: 12%; width: 66%; } }
@media (max-width: 900px) {
	.sbf-stats__cell { padding-inline: 10px; }
	.sbf-stats__cell b { font-size: 7.2vw; letter-spacing: -0.06em; }
}

/* =========================================================================
 * 19.11 правка по референсу владельца: волна привязана к заголовку (размеры в em от кегля заголовка),
 * проходит МЕЖДУ «FRIDAY» и «UAD ОТ 290 ₽», не заходит под текст цены и заканчивается с отступом до формы.
 * ========================================================================= */
.sbf-titlebox { --t-display: clamp(64px, 8.6vw, 148px); position: relative; z-index: 0; font-size: var(--t-display); padding-bottom: .78em; }
.sbf-titlebox .sbf-title { font-size: 1em; position: relative; z-index: 1; }
.sbf-titlebox .sbf-wave { z-index: 0; animation: none; }
.sbf-titlebox .sbf-wave--wide { display: block; left: -.42em; top: -.93em; width: 6.86em; }
.sbf-titlebox .sbf-wave--sq { display: none; }
.sbf-titlebox + .sbf-sub { margin-top: 0 !important; position: relative; z-index: 1; }
.sbf-hero__side { padding-left: 32px; position: relative; z-index: 1; }
@media (max-width: 1100px) {
	.sbf-titlebox .sbf-wave--wide { width: 6.4em; }
}
@media (max-width: 900px) {
	.sbf-titlebox { --t-display: 17vw; padding-bottom: 1.45em; }
	.sbf-titlebox .sbf-wave--wide { display: none; }
	.sbf-titlebox .sbf-wave--sq { display: block; left: auto; right: -.9em; top: -1.15em; width: 5.4em; opacity: 1; }
	.sbf-hero__side { padding-left: 0; }
}
/* Заголовок с наклейкой и волна не выходят за свою колонку: кегль от ширины колонки (container query) */
.sbf-hero__text { container-type: inline-size; }
@supports (width: 1cqi) {
	.sbf-titlebox { --t-display: min(148px, 15.5cqi); }
	.sbf-titlebox .sbf-wave--wide { width: 6.4em; }
}
@media (max-width: 900px) {
	@supports (width: 1cqi) { .sbf-titlebox { --t-display: 15.5cqi; } }
}
/* Подзаголовок в две строки, как в тексте владельца */
@media (min-width: 901px) { .sbf-lead { max-width: 680px; } }

/* 19.11 правки владельца: «UAD ОТ 290 ₽» на ~12% меньше; сетка частот темнее и гаснет книзу */
.sbf-titlebox + .sbf-sub { font-size: clamp(32px, 4vw, 63px); }
@media (max-width: 900px) { .sbf-titlebox + .sbf-sub { font-size: 8.8vw; } }
.sbf-freq span { color: #6B717C; }
.sbf-freq span::after { background: linear-gradient(to bottom, #1E2128 0%, #1E2128 35%, rgba(30, 33, 40, 0) 70%); }

/* =========================================================================
 * 19.11 владелец: блок цен «интереснее, выделить 290 ₽, в стиле главного блока».
 * Слева — большая карточка хитов: 290 синим во всю ширину, ₽ контуром, наклейка −78%, волна.
 * Справа — VU-метр и 490 / 790 контурными цифрами, как BLACK.
 * ========================================================================= */
.sbf-band { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.sbf-hit { grid-column: 1 / 4; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 16px; min-height: 100%; padding: 40px; border: 1px solid var(--s-line); border-radius: 24px; background: var(--sbf-panel); color: var(--c-text) !important; text-decoration: none !important; transition: border-color .25s ease; container-type: inline-size; }
.sbf-hit__wave { position: absolute; z-index: -1; right: -14%; bottom: -26%; width: 74%; max-width: none; opacity: .9; pointer-events: none; transition: transform .8s var(--s-ease); }
.sbf-hit__top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-heading); font-weight: 700; font-size: var(--t-small); letter-spacing: .12em; text-transform: uppercase; color: var(--s-muted); }
.sbf-hit__top span:first-child { color: var(--c-accent); }
.sbf-hit__price { position: relative; display: flex; align-items: flex-start; gap: .04em; margin-top: auto; font-family: var(--font-heading); font-weight: 800; font-size: clamp(96px, 30cqi, 240px); line-height: .82; letter-spacing: -0.06em; white-space: nowrap; }
.sbf-hit__price b { color: var(--c-accent); }
.sbf-hit__price i { font-style: normal; font-size: .62em; margin-top: .06em; color: var(--sbf-panel); -webkit-text-stroke: max(2px, .03em) var(--c-text); paint-order: stroke fill; }
.sbf-hit__off { position: absolute; left: 3.1em; top: -.08em; padding: .14em .22em .1em; background: var(--c-text); color: #0E0F12; font-size: .2em; line-height: 1; letter-spacing: -0.04em; transform: rotate(-10deg); white-space: nowrap; }
.sbf-hit__meta { font-size: var(--t-body); color: var(--s-muted); }
.sbf-hit__meta s { color: var(--c-text); text-decoration-thickness: 2px; text-decoration-color: var(--c-accent); }
.sbf-hit__text { max-width: 440px; font-size: var(--t-lead); line-height: 1.5; color: var(--c-text); }
.sbf-hit__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-accent); }
.sbf-hit__go svg { transition: transform .3s var(--s-ease); }
@media (hover: hover) {
	.sbf-hit:hover { border-color: var(--c-accent); }
	.sbf-hit:hover .sbf-hit__wave { transform: translate3d(-2%, -2%, 0) scale(1.04); }
	.sbf-hit:hover .sbf-hit__go svg { transform: translateX(4px); }
}

.sbf-side { grid-column: 4 / 6; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sbf-side .sbf-inst { grid-column: auto; max-width: 300px; width: 82%; margin: 0 auto; }
.sbf-side .sbf-rails { grid-column: auto; border-top: 1px solid var(--s-line); }
.sbf-side .sbf-rail { padding: 24px 0; }
.sbf-side .sbf-rail__price { font-size: clamp(44px, 4.6vw, 72px); color: var(--sbf-bg); -webkit-text-stroke: 2px var(--c-text); paint-order: stroke fill; }
@media (hover: hover) { .sbf-side .sbf-rail:hover .sbf-rail__price { color: var(--c-text); } }
.sbf-side .sbf-rail__meta { align-self: center; }

@media (max-width: 980px) {
	.sbf-band { grid-template-columns: minmax(0, 1fr); }
	.sbf-hit, .sbf-side { grid-column: 1; }
	.sbf-hit { padding: 24px; min-height: 0; }
	.sbf-hit__price { font-size: 34cqi; }
	.sbf-hit__wave { width: 90%; right: -20%; bottom: -30%; }
	.sbf-side .sbf-inst { width: 70%; }
}
/* Волна заполняет пустой верх карточки, наклейка не перекрывает цифры */
.sbf-hit__wave { right: -12%; bottom: auto; top: -18%; width: 82%; opacity: .85; }
.sbf-hit__off { top: -.46em; left: 2.2em; }
@media (max-width: 980px) { .sbf-hit__wave { top: -24%; width: 100%; right: -24%; } }
@media (max-width: 640px) { .sbf-hit__top span + span { display: none; } }
/* 19.11 владелец: больше воздуха между частями, карточка 290 ₽ чуть меньше, у ценников больше отступов */
.sbf-band { column-gap: 64px; }
.sbf-hit { padding: 36px; }
.sbf-hit__price { font-size: clamp(88px, 26cqi, 200px); }
.sbf-side .sbf-rail { padding: 32px 0; gap: 12px 24px; }
.sbf-side .sbf-rail__text { margin-top: 4px; }
.sbf-side .sbf-inst { margin-bottom: 16px; }
@media (max-width: 980px) {
	.sbf-band { row-gap: 32px; }
	.sbf-hit { padding: 24px; }
	.sbf-hit__price { font-size: 30cqi; }
	.sbf-side .sbf-rail { padding: 28px 0; }
}

/* 19.11 владелец: вместо «72 ч» — большой таймер в строке цифр; меньше отступ до блока цен */
.sbf-stats__timer { margin: 0; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 8px; }
.sbf-stats__timer .sbf-timer__row { display: flex; align-items: flex-start; gap: 0; }
.sbf-stats__timer .sbf-timer__cell { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.sbf-stats__timer .sbf-timer__cell + .sbf-timer__cell::before { content: ":"; position: absolute; margin-left: -.42em; font-family: var(--font-heading); font-weight: 800; font-size: clamp(32px, 3.6vw, 60px); line-height: .95; color: var(--sbf-line-2); }
.sbf-stats__timer .sbf-timer__cell { position: relative; padding-left: .5em; font-size: clamp(32px, 3.6vw, 60px); }
.sbf-stats__timer .sbf-timer__cell:first-child { padding-left: 0; }
.sbf-stats__timer .sbf-timer__cell b { display: block; min-width: 1.35em; font-family: var(--font-heading); font-weight: 800; font-size: 1em; line-height: .95; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--c-accent); }
.sbf-stats__timer .sbf-timer__cell small { font-family: var(--font-body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--s-muted); }
.sbf-stats__timer > span { font-size: var(--t-body); letter-spacing: .2em; text-transform: uppercase; color: var(--c-text); }
.sbf-stats { align-items: end; }
.sbf-stats__note { margin-top: 24px !important; font-size: var(--t-small); color: var(--s-muted); }
.sbf-band { margin-top: 48px; padding-top: 48px; }
@media (max-width: 900px) {
	.sbf-stats { grid-template-columns: 1fr 1fr; row-gap: 24px; }
	.sbf-stats__timer { grid-column: 1 / -1; padding: 24px 0 0 !important; border-left: 0 !important; border-top: 1px solid var(--sbf-line-2); }
	.sbf-stats__timer .sbf-timer__cell, .sbf-stats__timer .sbf-timer__cell + .sbf-timer__cell::before { font-size: 11.5vw; }
	.sbf-stats__timer > span { font-size: 11px; letter-spacing: .12em; }
	.sbf-stats__cell b { font-size: 11vw; }
	.sbf-band { margin-top: 32px; padding-top: 32px; }
}
/* Двоеточия белые и ровно посередине между группами цифр */
.sbf-stats__timer .sbf-timer__cell { padding-left: .56em; }
.sbf-stats__timer .sbf-timer__cell:first-child { padding-left: 0; }
.sbf-stats__timer .sbf-timer__cell + .sbf-timer__cell::before { left: .12em; top: 0; margin-left: 0; font-size: 1em; color: var(--c-text); }
.sbf-stats__timer .sbf-timer__cell b { min-width: 0; }

/* 19.11: обложки «плагин под тканью» (cover-290/490/790.webp от владельца) вместо размытия */
.sbf-prod.is-secret .sbf-prod__img { background: #050608; }
.sbf-prod.is-secret .sbf-prod__img img { transform: none; filter: none; object-fit: cover; }
.sbf-prod.is-secret .sbf-prod__q { align-items: end; padding-bottom: 22%; font-size: 40px; color: rgba(237, 238, 240, .75); text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
@media (hover: hover) {
	.sbf-prod.is-secret .sbf-prod__img img { transition: transform .6s var(--s-ease); }
	.sbf-prod.is-secret:hover .sbf-prod__img img { transform: scale(1.04); }
}

/* Блок «Остались вопросы?» на фоне VU-метра (help-vu.webp) */
.sbf-help { position: relative; overflow: hidden; min-height: 220px; padding: 48px; background: #060709 var(--sbf-help-bg) right center / auto 100% no-repeat; border: 1px solid var(--s-line); }
.sbf-help p { position: relative; max-width: 460px; font-family: var(--font-heading); font-weight: 800; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.02em; text-transform: uppercase; }
.sbf-help .sbf-btn { position: relative; margin-right: auto; }
.sbf-help { flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; }
@media (max-width: 640px) {
	.sbf-help { padding: 32px 24px; min-height: 0; background-size: auto 60%; background-position: right bottom; padding-bottom: 140px; }
}
/* 19.11 владелец: таймер и двоеточия контуром, как BLACK */
.sbf-stats__timer .sbf-timer__cell b,
.sbf-stats__timer .sbf-timer__cell + .sbf-timer__cell::before { color: var(--sbf-bg); -webkit-text-stroke: max(2px, .035em) var(--c-text); paint-order: stroke fill; }
.sbf-stats__timer .sbf-timer__cell b, .sbf-stats__timer .sbf-timer__cell + .sbf-timer__cell::before { -webkit-text-stroke-width: max(2.5px, .045em); }
/* «UAD от» белым, цена синим — как на постере */
.sbf-sub .sbf-sub__w { color: var(--c-text); }

/* 19.11 владелец: блок вопросов — коротко, акцент синим, иконка Telegram */
.sbf-help { gap: 16px; }
.sbf-help .sbf-help__title { position: relative; margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: clamp(32px, 3.4vw, 52px); line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; color: var(--c-text); }
.sbf-help .sbf-help__title span { color: var(--c-accent); }
.sbf-help .sbf-help__text { position: relative; max-width: none; margin: 0 0 8px; font-family: var(--font-body); font-weight: 400; font-size: var(--t-lead); line-height: 1.5; letter-spacing: 0; text-transform: none; color: var(--s-muted); }
.sbf-help .sbf-help__btn { width: auto; gap: 10px; padding: 0 28px; }
.sbf-help .sbf-help__btn svg { flex: none; transform: translateX(-2px); }
/* Цифры 490/790 контуром не наезжают друг на друга (в т.ч. при наведении) */
.sbf-side .sbf-rail__price { letter-spacing: 0.01em; }
/* Подзаголовок героя серым, как текст у формы записи */
.sbf-hero .sbf-lead { color: var(--s-muted); }

/* 19.11 владелец: вместо VU-метра — каскад окон плагинов UAD (Ampex ATR-102, Fairchild, 1176), как на постере. Декорация. */
.sbf-rack { position: relative; width: 100%; aspect-ratio: 1 / .86; margin-bottom: 24px; }
.sbf-rack__w { position: absolute; display: block; height: auto; max-width: none; border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); }
.sbf-rack__w--a { z-index: 1; width: 56%; right: 0; top: 0; }
.sbf-rack__w--b { z-index: 2; width: 66%; left: 0; top: 22%; }
.sbf-rack__w--c { z-index: 3; width: 64%; right: 4%; bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
	.sbf-rack__w { animation: sbf-float 7s ease-in-out infinite alternate; }
	.sbf-rack__w--b { animation-delay: -2.3s; }
	.sbf-rack__w--c { animation-delay: -4.6s; }
}
@keyframes sbf-float { to { transform: translate3d(0, -8px, 0); } }
@media (max-width: 980px) { .sbf-rack { max-width: 520px; margin: 0 auto 16px; } }
.sbf-rack__w { border-radius: 0; }

/* =========================================================================
 * 19.11 владелец: витрина «скучная» → три группы-«вывески».
 * Слева липкая крупная цена ступени (290 синим, 490/790 контуром, как BLACK), справа сетка 3 колонки
 * с широкими карточками-акцентами, чтобы ряды закрывались ровно.
 * ========================================================================= */
.sbf-tier { position: relative; display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 48px; padding-top: 40px; border-top: 1px solid var(--s-line); }
.sbf-tier + .sbf-tier { margin-top: 96px; }
.sbf-tier__head { position: sticky; top: 112px; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin: 0; }
.sbf-tier__no { display: flex; gap: .3em; margin-bottom: 20px; font-family: var(--font-heading); font-weight: 800; font-size: 13px; line-height: 1; letter-spacing: .04em; color: var(--c-text); }
.sbf-tier__no i { font-style: normal; color: var(--sbf-line-2); }
.sbf .sbf-tier__price { position: relative; display: flex; align-items: flex-start; margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: clamp(88px, 8.4vw, 136px); line-height: .82; letter-spacing: -0.05em; color: var(--sbf-bg); -webkit-text-stroke: max(2.5px, .022em) var(--c-text); paint-order: stroke fill; white-space: nowrap; }
.sbf-tier__price i { margin: .04em 0 0 .06em; font-style: normal; font-size: .36em; letter-spacing: 0; color: var(--s-muted); -webkit-text-stroke: 0; }
.sbf-tier[data-tier="290"] .sbf-tier__price span { color: var(--c-accent); -webkit-text-stroke: 0; }
.sbf-tier__off { position: absolute; left: 62%; bottom: -.34em; padding: .32em .5em .26em; background: var(--c-text); color: #0E0F12; font-size: 18px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; -webkit-text-stroke: 0; transform: rotate(-8deg); transform-origin: left center; white-space: nowrap; }
.sbf-tier[data-tier="290"] .sbf-tier__off { background: var(--c-text); }
.sbf-tier:not([data-tier="290"]) .sbf-tier__off { background: var(--c-accent); }
.sbf-tier__name { margin: 40px 0 0 !important; font-family: var(--font-heading); font-weight: 800; font-size: 26px; line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; color: var(--c-text); }
.sbf-tier .sbf-tier__text { margin: 12px 0 0 !important; max-width: 300px; font-size: var(--t-body); line-height: 1.5; color: var(--s-muted); text-wrap: pretty; }
.sbf-tier__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 20px 0 0 !important; padding-top: 16px; border-top: 1px solid var(--s-line); font-size: var(--t-small); line-height: 20px; color: var(--s-muted); }
.sbf-tier__meta span { font-weight: 600; color: var(--c-text); }
.sbf-tier__meta s { text-decoration-thickness: 1px; }
.sbf-tier__meta s .woocommerce-Price-amount { color: inherit; }

/* Сетка 3 колонки; широкие карточки закрывают ряды (data-sp3 считает PHP по числу плагинов) */
.sbf-tier .sbf-grid, .sbf-tier[data-tier="290"] .sbf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; grid-auto-flow: row dense; }
@media (min-width: 1101px) {
.sbf-tier .sbf-prod.is-w3 { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 20px; row-gap: 12px; padding: 8px 20px 8px 8px; }
.sbf-tier .sbf-prod.is-w3 .sbf-prod__img { grid-row: 1 / 4; aspect-ratio: auto; min-height: 100%; }
.sbf-tier .sbf-prod.is-w3 .sbf-prod__lic { margin: 16px 0 0; }
.sbf-tier .sbf-prod.is-w3 .sbf-prod__name { padding: 0; min-height: 0; font-family: var(--font-heading); font-weight: 800; font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; -webkit-line-clamp: 3; }
.sbf-tier .sbf-prod.is-w3 .sbf-prod__foot { align-self: end; padding: 0 0 12px; }
.sbf-tier .sbf-prod.is-w3 .sbf-prod__price b { font-family: var(--font-heading); font-weight: 800; font-size: 32px; letter-spacing: -0.03em; }
}

/* Карточки: квадратные углы, как окна плагинов в героe; цена ступени синим */
.sbf-tier .sbf-prod { border-radius: 0; padding: 8px 8px 16px; }
.sbf-tier .sbf-prod__img { border-radius: 0; }
.sbf-tier .sbf-prod__price b { color: var(--c-accent); }
.sbf-tier[data-tier="290"] .sbf-prod { border-color: rgba(76, 155, 255, .28); }
@media (hover: hover) { .sbf-tier .sbf-prod:not(.is-out):hover { border-color: var(--c-accent); } }

/* Секретные карточки: крупный номер контуром на обложке */
.sbf-prod__no { position: absolute; left: 14px; top: 10px; z-index: 1; font-family: var(--font-heading); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(237, 238, 240, .8); }
@media (min-width: 1101px) { .sbf-tier .sbf-prod.is-secret.is-w3 .sbf-prod__no { font-size: 64px; } }

@media (max-width: 1100px) {
	.sbf-tier { grid-template-columns: minmax(220px, 260px) minmax(0, 1fr); gap: 32px; }
	.sbf .sbf-tier__price { font-size: 88px; }
	.sbf-tier .sbf-grid, .sbf-tier[data-tier="290"] .sbf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sbf-tier .sbf-grid > .sbf-prod { grid-column: auto; }
}
@media (max-width: 1100px) {
	/* 2 колонки: широкой делаем только первую карточку и только при нечётном числе */
	.sbf-tier .sbf-prod.is-w2 { grid-column: 1 / -1; }
	.sbf-tier .sbf-prod.is-w2 .sbf-prod__img { aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
	.sbf-tier { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; }
	.sbf-tier + .sbf-tier { margin-top: 64px; }
	.sbf-tier__head { position: static; }
	.sbf-tier__no { margin-bottom: 16px; }
	.sbf .sbf-tier__price { font-size: clamp(80px, 25vw, 112px); }
	.sbf-tier__off { font-size: 15px; }
	.sbf-tier__name { margin-top: 32px !important; font-size: 22px; }
	.sbf-tier .sbf-tier__text { margin-top: 8px !important; max-width: none; }
	.sbf-tier__meta { align-self: stretch; }
	.sbf-tier .sbf-grid, .sbf-tier[data-tier="290"] .sbf-grid { gap: 8px; }
	.sbf-tier .sbf-prod__no { font-size: 28px !important; left: 10px; top: 8px; }
}
/* Широкая карточка: обложка заполняет всю левую половину по высоте */
@media (min-width: 1101px) {
	.sbf-tier .sbf-prod.is-w3 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
	.sbf-tier .sbf-prod.is-w3 .sbf-prod__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 50% 62%; }
}
/* 19.11 владелец: у контурных номеров на обложках просвечивали внутренние линии глифов —
 * заливка цветом фона поверх обводки (как у BLACK), обводка толще; отступ между вывеской и сеткой больше */
.sbf-prod__no { color: #050608; -webkit-text-stroke: 3px rgba(237, 238, 240, .8); paint-order: stroke fill; }
.sbf-tier { column-gap: 80px; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); }
.sbf .sbf-tier__price { font-size: clamp(80px, 7.4vw, 120px); }
@media (max-width: 1100px) { .sbf-tier { column-gap: 48px; grid-template-columns: minmax(220px, 250px) minmax(0, 1fr); } .sbf .sbf-tier__price { font-size: 80px; } }
@media (max-width: 760px) { .sbf-tier { grid-template-columns: minmax(0, 1fr); } .sbf .sbf-tier__price { font-size: clamp(80px, 25vw, 112px); } .sbf-prod__no { -webkit-text-stroke-width: 2.5px; } }
/* 19.11 владелец: «290 ₽» ближе к «30+», чтобы таймер не вылезал за правую линию сетки */
@media (min-width: 901px) {
	.sbf-stats { grid-template-columns: max-content max-content minmax(0, 1fr); }
	.sbf-stats__cell { padding-inline: clamp(32px, 4vw, 64px); }
	.sbf-stats__cell:first-child { padding-left: 0; }
	.sbf-stats__cell:last-child { padding-right: 0; }
}
/* 19.11 владелец: после «В корзину» кнопка сливалась с карточкой (тёмный текст на тёмном) —
 * состояние «В корзине»: синяя обводка, синий текст и галочка; карточка подсвечена синей рамкой */
.sbf .sbf-add.is-added, .sbf .sbf-add.is-added[disabled] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: rgba(76, 155, 255, .12); border: 1px solid var(--c-accent); color: var(--c-accent); opacity: 1; cursor: default; }
.sbf .sbf-add.is-added::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.sbf .sbf-prod:has(.sbf-add.is-added) { border-color: var(--c-accent); }
/* Обычная неактивная кнопка (лимит/ошибка) тоже читается на тёмном */
.sbf .sbf-prod:not(.is-out) .sbf-add[disabled]:not(.is-added) { background: var(--sbf-line-2); color: var(--s-muted); }

/* 19.11 владелец: 27–29.11 для гостя (почта не узнана) — «Распродажа началась, введите почту, с которой записывались» */
.sbf-live { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin-bottom: 8px; padding: 8px 14px 8px 12px; border: 1px solid rgba(76, 155, 255, .45); background: rgba(76, 155, 255, .1); color: var(--c-accent); font-family: var(--font-heading); font-weight: 800; font-size: 13px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }
.sbf-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.sbf-live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--c-accent); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .sbf-live i::after { animation: sbf-ping 1.6s ease-out infinite; } }
@keyframes sbf-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.sbf-lead .sbf-lead__live { font-weight: 600; color: var(--c-text); }
.sbf-late { margin: 4px 0 0 !important; padding-top: 16px; border-top: 1px solid var(--s-line); font-size: var(--t-small); line-height: 1.5; color: var(--s-muted); text-wrap: pretty; }
.sbf-late a, .sbf-sum__note a { color: var(--c-accent) !important; text-decoration: none !important; font-weight: 600; }
.sbf .sbf-add--ghost { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--sbf-line-2); color: var(--c-text) !important; text-decoration: none !important; }
@media (hover: hover) { .sbf .sbf-add--ghost:hover { background: transparent; border-color: var(--c-accent); color: var(--c-accent) !important; } }

/* =========================================================================
 * 19.11 владелец: акция 5 + 1 — блок в каталоге, прогресс у покупателя, подписи в корзине
 * ========================================================================= */
.sbf-gift { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 56px; margin: 0 0 72px; padding: 40px 48px; border: 1px solid var(--s-line); background: linear-gradient(100deg, rgba(76, 155, 255, .1), rgba(76, 155, 255, 0) 55%), var(--sbf-panel); overflow: hidden; }
.sbf-gift__big { display: flex; align-items: center; gap: .08em; font-family: var(--font-heading); font-weight: 800; font-size: clamp(88px, 9vw, 148px); line-height: .8; letter-spacing: -0.05em; white-space: nowrap; }
.sbf-gift__o { color: var(--sbf-panel); -webkit-text-stroke: max(2.5px, .022em) var(--c-text); paint-order: stroke fill; }
.sbf-gift__big i { font-style: normal; font-size: .6em; color: var(--s-muted); }
.sbf-gift__one { position: relative; color: var(--c-accent); }
.sbf-gift__one b { position: absolute; left: 55%; bottom: -.3em; padding: .3em .5em .24em; background: var(--c-text); color: #0E0F12; font-size: 16px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; transform: rotate(-8deg); }
.sbf .sbf-gift__title { margin: 0 !important; font-family: var(--font-heading); font-weight: 800; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; color: var(--c-text); }
.sbf .sbf-gift__text { margin: 12px 0 0 !important; max-width: 560px; font-size: var(--t-body); line-height: 1.55; color: var(--s-muted); text-wrap: pretty; }
.sbf-gift__track { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.sbf-gift__dots { display: flex; gap: 6px; margin: 0 !important; padding: 0 !important; list-style: none; }
.sbf-gift__dots li { width: 28px; height: 28px; margin: 0; border: 1px solid var(--sbf-line-2); background: transparent; transition: background-color .25s ease, border-color .25s ease; }
.sbf-gift__dots li.is-on { background: var(--c-text); border-color: var(--c-text); }
.sbf-gift__dots li.is-gift { position: relative; border-color: var(--c-accent); border-style: dashed; }
.sbf-gift__dots li.is-gift::after { content: "1"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 14px; color: var(--c-accent); }
.sbf-gift__dots li.is-gift.is-on { background: var(--c-accent); border-style: solid; }
.sbf-gift__dots li.is-gift.is-on::after { color: #0E0F12; }
.sbf-gift__now { font-size: var(--t-small); font-weight: 600; color: var(--c-text); }
.sbf-gift__track.has-gift .sbf-gift__now { color: var(--c-accent); }
@media (max-width: 900px) {
	.sbf-gift { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-bottom: 48px; padding: 32px 24px; }
	.sbf-gift__big { font-size: clamp(72px, 24vw, 110px); }
	.sbf-gift__one b { font-size: 13px; }
	.sbf-gift__dots li { width: 24px; height: 24px; }
}
/* наклейка «в подарок» под единицей, не наезжает на текст */
.sbf-gift { column-gap: 72px; }
.sbf-gift__big { padding-bottom: .22em; }
.sbf-gift__one b { left: 50%; bottom: -.12em; transform: translateX(-62%) rotate(-8deg); }
/* 5 + 1: «в корзине → платите за» — чтобы никто не думал, что подарок добавляется сверху */
.sbf .sbf-gift__eq { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0 !important; padding: 0 !important; list-style: none; }
.sbf-gift__eq li { margin: 0; padding: 8px 14px; border: 1px solid var(--sbf-line-2); font-size: var(--t-small); line-height: 20px; color: var(--s-muted); white-space: nowrap; }
.sbf-gift__eq b { font-family: var(--font-heading); font-weight: 800; font-size: 16px; color: var(--c-text); }
.sbf-gift__eq li b:last-child { color: var(--c-accent); }
.sbf-gift__eq i { font-style: normal; margin: 0 4px; color: var(--sbf-line-2); }
@media (max-width: 600px) { .sbf-gift__eq li { padding: 6px 10px; } }
/* клетки 5+1 с обложками плагинов из корзины */
.sbf-gift__dots li { position: relative; width: 48px; height: 48px; overflow: hidden; }
.sbf-gift__dots li img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.sbf-gift__dots li.has-img { border-color: var(--c-text); background: #050608; }
@media (prefers-reduced-motion: no-preference) { .sbf-gift__dots li.has-img img { animation: sbf-pop .35s var(--s-ease, ease) both; } }
@keyframes sbf-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.sbf-gift__dots li.is-gift.has-img { border: 2px solid var(--c-accent); }
.sbf-gift__dots li.is-gift.has-img::after { content: "0 ₽"; inset: auto 0 0; display: block; padding: 2px 0; background: var(--c-accent); color: #0E0F12; font-size: 10px; line-height: 1.2; text-align: center; }
@media (max-width: 600px) { .sbf-gift__dots { gap: 5px; } .sbf-gift__dots li { width: 40px; height: 40px; } }
/* 19.11 владелец: плашки «6 в корзине → платите за 5» одним шрифтом Inter */
.sbf-gift__eq li, .sbf-gift__eq b { font-family: var(--font-body); }
.sbf-gift__eq b { font-weight: 700; font-size: inherit; }
/* 19.11 проверка: нижняя панель «Оформить» на узких телефонах (360 px) была шире экрана — страница ездила вбок */
.sbf-bar__in { min-width: 0; box-sizing: border-box; }
.sbf-bar__col, .sbf-bar__text { min-width: 0; overflow-wrap: anywhere; }
.sbf-bar__burn { flex-wrap: wrap; }
.sbf-bar .sbf-btn { flex: none; }
@media (max-width: 420px) {
	.sbf-bar { padding: 0 12px; bottom: 12px; }
	.sbf-bar__in { gap: 10px; padding: 8px 8px 8px 16px; border-radius: 20px; }
	.sbf-bar__text { font-size: 14px; line-height: 1.3; }
	.sbf-bar__burn { font-size: 11px; }
	.sbf-bar .sbf-btn { height: 44px; padding: 0 16px; gap: 6px; }
}
/* Длинные подписи кнопок карточки переносятся, а не распирают узкую карточку (2 колонки на телефоне) */
.sbf .sbf-prod .sbf-add { height: auto; min-height: 44px; padding: 10px 12px; line-height: 1.25; white-space: normal; text-align: center; overflow-wrap: anywhere; }
/* телефон: кнопки карточки в одну строку (узкие карточки в 2 колонки) */
@media (max-width: 600px) { .sbf .sbf-prod .sbf-add { padding: 8px 6px; font-size: 13px; letter-spacing: -0.01em; } }
/* 19.11 владелец: на телефоне волну на первом экране убираем — не вписывается; отступ под заголовком обычный */
@media (max-width: 900px) {
	.sbf-titlebox .sbf-wave, .sbf-hero .sbf-wave { display: none !important; }
	.sbf-titlebox { padding-bottom: .5em; }
}

/* 20.11 Итог «все плагины»: две цены, без экономии */
.sbf .sbf-sum { position: relative; display: grid; grid-template-columns: auto auto auto minmax(0, 1fr); grid-template-areas: "k k k k" "old arr new note"; align-items: end; column-gap: clamp(24px, 3vw, 48px); row-gap: 28px; margin: 0 0 32px; padding: 32px 40px 36px; background: radial-gradient(120% 140% at 100% 0%, rgba(76,155,255,.14), rgba(76,155,255,0) 55%), var(--sbf-panel, #15171C); border: 1px solid var(--sbf-line-2, #363A43); border-radius: 0; }
.sbf-sum__kicker { grid-area: k; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--s-muted); }
.sbf-sum__item { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sbf-sum__item:first-of-type { grid-area: old; }
.sbf-sum__item:last-of-type { grid-area: new; }
.sbf .sbf-sum__label { font-size: var(--t-small); color: var(--s-muted); }
.sbf-sum__item:last-of-type .sbf-sum__label { color: var(--c-accent); font-weight: 600; }
.sbf .sbf-sum__old, .sbf .sbf-sum__new { display: inline-flex; align-items: flex-start; font-family: var(--font-heading); font-weight: 800; line-height: .85; letter-spacing: -0.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sbf .sbf-sum__old { position: relative; align-self: flex-start; font-size: clamp(36px, 3.6vw, 56px); text-decoration: none; color: var(--sbf-bg, #0E0F12); -webkit-text-stroke: max(1.5px, .03em) var(--s-muted); paint-order: stroke fill; }
.sbf .sbf-sum__old::after { content: ""; position: absolute; left: -4%; right: -4%; top: 50%; height: 3px; background: var(--c-accent); transform: rotate(-8deg); transform-origin: center; }
.sbf .sbf-sum__new { font-size: clamp(64px, 6.6vw, 112px); color: var(--c-accent); }
.sbf-sum__old i, .sbf-sum__new i { margin: .06em 0 0 .08em; font-style: normal; font-size: .42em; letter-spacing: 0; -webkit-text-stroke: 0; }
.sbf-sum__old i { color: var(--s-muted); }
.sbf-sum__new i { color: var(--c-text); }
.sbf-sum__arrow { grid-area: arr; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: .2em; border: 1px solid var(--sbf-line-2, #363A43); border-radius: 50%; color: var(--c-text); }
.sbf .sbf-sum__note { grid-area: note; grid-column: auto; justify-self: end; align-self: end; max-width: 260px; margin: 0; font-size: var(--t-small); line-height: 20px; color: var(--s-muted); text-align: right; }
@media (max-width: 1000px) {
	.sbf .sbf-sum { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "k k k" "old arr new" "note note note"; padding: 28px; }
	.sbf .sbf-sum__note { justify-self: start; text-align: left; max-width: none; }
}
@media (max-width: 600px) {
	.sbf .sbf-sum { grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "old" "new" "note"; row-gap: 20px; padding: 24px 20px; }
	.sbf-sum__arrow { display: none; }
	.sbf .sbf-sum__old { font-size: 36px; }
	.sbf .sbf-sum__new { font-size: clamp(56px, 17vw, 80px); }
	.sbf-sum__kicker { font-size: 11px; letter-spacing: .12em; }
}

/* 20.11 ответы FAQ — на всю ширину блока, как вопросы */
.sbf .sbf-faq__item p { max-width: none; }
.sbf .sbf-faq__item p a { color: var(--c-accent); text-decoration: none; font-weight: 600; }
.sbf .sbf-faq__item p a:hover { text-decoration: underline; }

/* 20.11 подсказка при опечатке в почте */
.sbf .sbf-hint { margin: 8px 0 0; font-size: var(--t-small); line-height: 20px; color: var(--c-text); }
.sbf .sbf-hint__fix { display: inline; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; word-break: break-all; }
.sbf .sbf-hint__fix:hover { text-decoration-thickness: 2px; }

/* 24.11: плагин, раскрытый заранее (анонс) — среди секретных карточек */
.sbf .sbf-prod__badge--open { background: var(--c-accent); color: #fff; }
.sbf .sbf-prod.is-revealed { box-shadow: inset 0 0 0 1px var(--c-accent); }
.sbf .sbf-prod__badge--open { white-space: nowrap; }
@media (max-width: 600px) { .sbf .sbf-prod__badge--open { inset-block-start: 8px; inset-inline-start: 8px; padding: 2px 8px; border-radius: 8px; font-size: 11px; line-height: 18px; } }
