/* nsk /test/ — «Чёрная пятница» (16.11.2026): баннер внизу, окно заявки, плашка «Таврида 0», цена SFA 1000,
   3 варианта первого экрана (?hero=1..3), исправление окна «Купить в кредит». */
:root { --bf-red: #e3141c; --bf-black: #0a0a0a; }

/* ---------- окно заявки: панели «Кредит» и «Чёрная пятница» — высота по содержимому, ровные отступы ---------- */
.lead-modal:has([data-panel="credit"]:not([hidden])), .lead-modal:has([data-panel="bf"]:not([hidden])) { height: -webkit-fit-content; height: fit-content; min-height: 362px; padding-right: 36px; padding-bottom: 26px; }
.lead-modal:has([data-panel="credit"]:not([hidden])) .lead-modal__pic, .lead-modal:has([data-panel="bf"]:not([hidden])) .lead-modal__pic { height: 100%; }
.lead-modal__panel--drive[data-panel="credit"], .lead-modal__panel--bf { padding-top: 26px; }
.lead-modal__panel--drive[data-panel="credit"] .lead-modal__title, .lead-modal__panel--bf .lead-modal__title { width: auto; padding-right: 44px; font-size: 34px; line-height: 38px; }
.lead-modal__panel--drive[data-panel="credit"] .lead-modal__sub, .lead-modal__panel--bf .lead-modal__sub { margin-top: 10px; font-size: 18px; line-height: 24px; }
.lead-modal__panel--drive[data-panel="credit"] .lead-modal__credit { margin: 14px 0 0; }
.lead-modal__panel--drive[data-panel="credit"] .lead-modal__form, .lead-modal__panel--bf .lead-modal__form { width: 100%; max-width: 411px; margin-top: 16px; }
.lead-modal__panel--drive[data-panel="credit"] .consent--modal, .lead-modal__panel--bf .consent--modal { margin-top: 12px; }
.lead-modal__bf-label { display: inline-block; margin: 0 0 10px; padding: 6px 12px; background: var(--bf-black); transform: skewX(-12deg); }
.lead-modal__bf-label span { display: block; font-weight: 900; font-size: 18px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; color: var(--bf-red); -webkit-text-stroke: 1.5px #fff; paint-order: stroke fill; }
.lead-modal__bf-note { margin-top: 12px; max-width: 411px; font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, .7); }
@media (max-width: 1023px) {
  .lead-modal:has([data-panel="credit"]:not([hidden])), .lead-modal:has([data-panel="bf"]:not([hidden])) { height: -webkit-fit-content; height: fit-content; min-height: 0; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 236.4px 19px 22px; }
  .lead-modal:has([data-panel="credit"]:not([hidden])) .lead-modal__pic, .lead-modal:has([data-panel="bf"]:not([hidden])) .lead-modal__pic { height: 218px; }
  .lead-modal__panel--drive[data-panel="credit"], .lead-modal__panel--bf { padding-top: 0; }
  .lead-modal__panel--drive[data-panel="credit"] .lead-modal__title, .lead-modal__panel--bf .lead-modal__title { width: auto; padding-right: 0; font-size: 30px; line-height: 34px; }
  .lead-modal__panel--drive[data-panel="credit"] .lead-modal__sub, .lead-modal__panel--bf .lead-modal__sub { width: auto; font-size: 18px; line-height: 23px; }
  .lead-modal__panel--drive[data-panel="credit"] .lead-modal__form, .lead-modal__panel--bf .lead-modal__form { width: 100%; margin-top: 16px; }
  .lead-modal__panel--drive[data-panel="credit"] .consent--modal, .lead-modal__panel--bf .consent--modal { width: 100%; margin-top: 14px; }
}

/* ---------- плашка «Таврида 0» (слева от адреса; на телефоне — под формой) ---------- */
.bf-zero { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 14px; border-radius: 16px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); color: #fff; cursor: pointer; transition: background-color .2s; }
.bf-zero:hover, .bf-zero:focus-visible { background: rgba(0, 0, 0, .75); outline: none; }
.bf-zero .tl__brand, .bf-zero .tl__zero { font-size: 19px; }
.bf-zero__txt { font: 600 13px/1.3 'Exo 2', Arial, sans-serif; letter-spacing: .01em; color: #fff; text-align: left; }
.bf-zero__l1, .bf-zero__l2 { display: block; white-space: nowrap; }
.bf-zero__l2 { font-weight: 800; font-size: 15px; }
.bf-zero__txt sup { font-size: .7em; }
.bf-zero-m { display: none; }
@media (max-width: 1023px) {
  .bf-zero-m { display: block; position: absolute; left: 26px; top: 655px; z-index: 2; }
  .bf-zero--m { flex-direction: row; align-items: center; gap: 10px; padding: 9px 14px; }
  .bf-zero--m .tl__brand, .bf-zero--m .tl__zero { font-size: 16px; }
  .bf-zero--m .bf-zero__txt { font-size: 12.5px; line-height: 1.25; }
  .bf-zero--m .bf-zero__l2 { font-size: 14px; }
}

/* ---------- цена SFA 1000 в блоке товара ---------- */
.bfp-hidden { display: none !important; }
.bfp { position: relative; display: block; max-width: 320px; margin: 4px 0 12px; padding: 12px 14px 12px; background: var(--bf-black); border-radius: 12px; color: #fff; font-family: 'Exo 2', Arial, sans-serif; overflow: hidden; }
.bfp__label { display: block; margin-bottom: 8px; transform: skewX(-8deg); transform-origin: 0 50%; font-weight: 900; font-size: 19px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; color: var(--bf-red); -webkit-text-stroke: 2px #fff; paint-order: stroke fill; text-shadow: 2px 2px 0 #fff, 4px 4px 0 #000; }
.bfp__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 2px solid var(--bf-red); }
.bfp__new { font-weight: 800; font-size: 26px; line-height: 1.05; white-space: nowrap; }
.bfp__new sup { font-size: .5em; vertical-align: top; }
.bfp__badge { flex: none; padding: 5px 8px; background: var(--bf-red); transform: skewX(-12deg); font-weight: 900; font-size: 12px; white-space: nowrap; }
.bfp__old { display: block; margin-top: 6px; font-size: 15px; color: #9a9a9a; text-decoration: line-through; text-decoration-color: var(--bf-red); text-decoration-thickness: 2px; }
@media (max-width: 1023px) { .bfp { max-width: none; } .bfp__label { font-size: 17px; } .bfp__new { font-size: 22px; } }

/* ---------- первый экран: варианты «Чёрной пятницы» ---------- */
body.bfh-on .hero__title, body.bfh-on .hero__title-m { visibility: hidden; }
.bfh[hidden] { display: none !important; }
.bfh { left: 15px; top: 180px; width: 680px; z-index: 2; color: #fff; font-family: 'Exo 2', Arial, sans-serif; }
.bfh__old { color: rgba(255, 255, 255, .78); text-decoration: line-through; text-decoration-color: var(--bf-red); text-decoration-thickness: 3px; white-space: nowrap; }
.bfh__new { white-space: nowrap; }
.bfh__new sup { font-size: .45em; vertical-align: top; margin-left: 2px; }

/* 1 — «Постер» (как нижний баннер) */
.bfh1__title { display: flex; gap: .25em; margin: 0; transform: rotate(-4deg) skewX(-8deg); transform-origin: 0 50%; font-weight: 900; font-size: 82px; line-height: .95; text-transform: uppercase; letter-spacing: .01em; color: var(--bf-red); -webkit-text-stroke: 5px #fff; paint-order: stroke fill; text-shadow: 3px 3px 0 #fff, 7px 7px 0 #000, 9px 9px 0 #000; }
.bfh1__till { display: inline-block; margin: 26px 0 0; padding: 7px 14px; background: var(--bf-black); transform: skewX(-12deg); font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }
.bfh1__prices { display: flex; align-items: center; gap: 22px; margin: 18px 0 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.bfh1__prices .bfh__old { font-size: 30px; font-weight: 600; }
.bfh1__prices .bfh__new { font-size: 54px; font-weight: 900; line-height: 1; }
.bfh1__badge { padding: 8px 12px; background: var(--bf-red); transform: skewX(-12deg) rotate(-3deg); font-weight: 900; font-size: 20px; white-space: nowrap; text-shadow: none; box-shadow: 4px 4px 0 #000; }

/* 2 — «Ценник» (бирка с верёвкой, штамп) */
.bfh--2 { top: 150px; width: 470px; }
.bfh2__tag { position: relative; padding: 26px 30px 26px 76px; background: var(--bf-black); clip-path: polygon(46px 0, 100% 0, 100% 100%, 46px 100%, 0 50%); transform: rotate(-5deg); transform-origin: 0 50%; box-shadow: 0 20px 40px rgba(0, 0, 0, .45); animation: bfhSwing 6s ease-in-out infinite; }
.bfh2__hole { position: absolute; left: 30px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #d9d9d9; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .6); }
.bfh2__title { margin: 0; font-weight: 900; font-size: 44px; line-height: 1; text-transform: uppercase; letter-spacing: .03em; }
.bfh2__till { margin: 8px 0 0; font-weight: 600; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; color: #bdbdbd; }
.bfh2__old { margin: 18px 0 0; font-size: 26px; font-weight: 600; }
.bfh2__new { margin: 2px 0 0; font-size: 60px; font-weight: 900; line-height: 1; color: #fff; }
.bfh2__stamp { position: absolute; z-index: 2; right: -22px; top: -26px; padding: 10px 16px; border: 4px solid var(--bf-red); border-radius: 10px; color: var(--bf-red); background: rgba(255, 255, 255, .92); font-weight: 900; font-size: 28px; letter-spacing: .02em; transform: rotate(12deg); box-shadow: 0 0 0 3px rgba(227, 20, 28, .25) inset; }
@keyframes bfhSwing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(-2.5deg); } }

/* 3 — «Обратный отсчёт» */
.bfh--3 { top: 150px; width: 640px; }
.bfh3__title { position: relative; display: inline-block; margin: 0; font-weight: 900; font-size: 58px; line-height: 1; text-transform: uppercase; letter-spacing: .01em; transform: skewX(-8deg); text-shadow: 0 4px 18px rgba(0, 0, 0, .6); }
.bfh3__title i { position: absolute; left: 0; bottom: -10px; height: 8px; width: 100%; background: var(--bf-red); transform-origin: 0 50%; animation: bfhLine .9s .2s cubic-bezier(.2, .8, .2, 1) both; }
.bfh3__timer { display: flex; gap: 8px; margin-top: 22px; }
.bfh3__timer span { display: flex; flex-direction: column; align-items: center; min-width: 70px; padding: 7px 6px 6px; background: rgba(10, 10, 10, .78); border-top: 3px solid var(--bf-red); backdrop-filter: blur(4px); }
.bfh3__timer b { font-weight: 800; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.bfh3__timer small { margin-top: 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #bdbdbd; }
.bfh3__prices { display: flex; align-items: baseline; gap: 18px; margin: 14px 0 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.bfh3__old { position: relative; font-size: 24px; font-weight: 600; }
.bfh3__old .bfh__old { text-decoration: none; }
.bfh3__old i { position: absolute; left: -4px; right: -4px; top: 52%; height: 4px; background: var(--bf-red); transform-origin: 0 50%; animation: bfhLine .6s 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.bfh3__prices .bfh__new { font-size: 46px; font-weight: 900; line-height: 1; }
.bfh3__ast { font-size: 24px; margin-left: -14px; }
.bfh3__till { display: inline-block; margin: 10px 0 0; padding: 6px 12px; background: var(--bf-red); transform: skewX(-12deg); font-weight: 800; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
@keyframes bfhLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 1023px) {
  .bfh { left: 18px; top: 250px; width: 366px; }
  .bfh1__title { font-size: 38px; -webkit-text-stroke: 3px #fff; text-shadow: 2px 2px 0 #fff, 4px 4px 0 #000, 5px 5px 0 #000; }
  .bfh1__till { margin-top: 14px; font-size: 15px; padding: 5px 10px; }
  .bfh1__prices { gap: 12px; margin-top: 10px; flex-wrap: wrap; }
  .bfh1__prices .bfh__old { font-size: 18px; }
  .bfh1__prices .bfh__new { font-size: 32px; }
  .bfh1__badge { font-size: 14px; padding: 5px 9px; }
  .bfh--2 { top: 245px; width: 340px; }
  .bfh2__tag { padding: 16px 18px 16px 52px; clip-path: polygon(32px 0, 100% 0, 100% 100%, 32px 100%, 0 50%); }
  .bfh2__hole { left: 20px; width: 12px; height: 12px; margin-top: -6px; }
  .bfh2__title { font-size: 28px; }
  .bfh2__till { font-size: 12px; margin-top: 5px; }
  .bfh2__old { font-size: 16px; margin-top: 8px; }
  .bfh2__new { font-size: 36px; }
  .bfh2__stamp { right: -2px; top: -34px; font-size: 16px; padding: 5px 9px; border-width: 3px; }
  .bfh--3 { top: 245px; width: 366px; }
  .bfh3__title { font-size: 38px; }
  .bfh3__title i { height: 5px; bottom: -6px; }
  .bfh3__timer { gap: 6px; margin-top: 18px; }
  .bfh3__timer span { min-width: 60px; padding: 6px 4px 5px; }
  .bfh3__timer b { font-size: 24px; }
  .bfh3__timer small { font-size: 9px; letter-spacing: .08em; }
  .bfh3__prices { gap: 12px; margin-top: 12px; }
  .bfh3__old { font-size: 18px; }
  .bfh3__prices .bfh__new { font-size: 34px; }
  .bfh3__ast { font-size: 16px; margin-left: -8px; }
  .bfh3__till { font-size: 13px; padding: 5px 9px; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .bfh2__tag, .bfh3__title i, .bfh3__old i { animation: none; } }

/* ---------- нижний баннер (как на tavridamoto.ru), клик — окно «Получить скидку» ---------- */
.tv-bf { position: fixed; left: 0; right: 0; bottom: 0; z-index: 18; height: 45px; box-sizing: content-box; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--bf-black); font-family: 'Exo 2', Arial, sans-serif; color: #fff; -webkit-font-smoothing: antialiased; }
body.tv-bf-on { padding-bottom: calc(45px + env(safe-area-inset-bottom, 0px)); }
.tv-bf__link { position: absolute; inset: 0 48px 0 0; display: block; width: auto; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.tv-bf__stage { position: absolute; inset: 0; bottom: env(safe-area-inset-bottom, 0px); clip-path: inset(-90px 0 0 0); }
.tv-bf__slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transform: translateY(110%); opacity: 0; transform-origin: 50% 0; }
.tv-bf__title { display: inline-block; margin-top: -18px; font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; color: var(--bf-red); -webkit-text-stroke: 3px #fff; paint-order: stroke fill; transform: rotate(-4deg) skewX(-8deg); text-shadow: 2px 2px 0 #fff, 4px 4px 0 #000, 5px 5px 0 #000, 6px 6px 0 #000; }
.tv-bf.is-run .tv-bf__title { animation: tvBfPulse 9s infinite; }
@keyframes tvBfPulse { 0%, 8% { transform: rotate(-4deg) skewX(-8deg) scale(1.25); } 14% { transform: rotate(-4deg) skewX(-8deg) scale(.96); } 18%, 100% { transform: rotate(-4deg) skewX(-8deg) scale(1); } }
.tv-bf__offer { position: relative; display: flex; align-items: center; justify-content: center; gap: 34px; width: min(1040px, 100%); height: 100%; }
.tv-bf__img { display: block; height: 76px; width: auto; align-self: flex-end; margin-bottom: -3px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6)); }
.tv-bf__img--snow { height: 72px; }
.tv-bf__deal { position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; padding-bottom: 4px; }
.tv-bf__big { display: block; margin-bottom: 6px; font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; color: var(--bf-red); -webkit-text-stroke: 3px #fff; paint-order: stroke fill; transform: rotate(-3deg) skewX(-8deg); text-shadow: 2px 2px 0 #fff, 4px 4px 0 #000, 5px 5px 0 #000, 6px 6px 0 #000; }
.tv-bf__big sup { font-size: .55em; vertical-align: top; position: relative; top: -.1em; margin-left: 2px; }
.tv-bf__cond { display: block; font: 400 11px/1 'Exo 2', Arial, sans-serif; color: #9a9a9a; white-space: nowrap; letter-spacing: .02em; }
.tv-bf__close { position: absolute; right: 0; top: 0; width: 48px; height: 45px; border: 0; background: transparent; color: #bbb; font-size: 24px; line-height: 45px; cursor: pointer; padding: 0; }
.tv-bf__close:hover, .tv-bf__close:focus-visible { color: #fff; background: #1d1d1d; outline: none; }
.tv-bf.is-run .tv-bf__slide--a { animation: tvBfA 9s infinite; }
.tv-bf.is-run .tv-bf__slide--b { animation: tvBfB 9s infinite; }
@keyframes tvBfA { 0% { transform: translateY(-120%); opacity: 0; filter: blur(2px); } 5% { transform: translateY(0); opacity: 1; filter: blur(0); } 37% { transform: translateY(0) scaleY(1); opacity: 1; filter: blur(0); } 42% { transform: translateY(10%) scaleY(1.7); opacity: 1; filter: blur(.6px); } 48% { transform: translateY(120%) scaleY(2.4); opacity: 0; filter: blur(2px); } 100% { transform: translateY(120%); opacity: 0; } }
@keyframes tvBfB { 0%, 46% { transform: translateY(130%); opacity: 0; } 53% { transform: translateY(0); opacity: 1; } 89% { transform: translateY(0) scaleY(1); opacity: 1; filter: blur(0); } 94% { transform: translateY(12%) scaleY(1.5); opacity: 1; filter: blur(.6px); } 100% { transform: translateY(140%) scaleY(2.2); opacity: 0; filter: blur(2px); } }
@media (max-width: 1023px) {
  .tv-bf { height: 42px; }
  body.tv-bf-on { padding-bottom: calc(42px + var(--bf-consult, 0px) + env(safe-area-inset-bottom, 0px)); }
  .tv-bf__link { right: 38px; }
  .tv-bf__close { width: 38px; height: 42px; line-height: 42px; font-size: 22px; }
  .tv-bf__title { font-size: clamp(20px, 5.6vw, 30px); margin-top: -14px; -webkit-text-stroke: 2.5px #fff; }
  .tv-bf__offer { position: relative; display: block; width: 100%; }
  .tv-bf__img { position: absolute; bottom: 4px; left: 6px; margin-bottom: 0; height: clamp(56px, 15vw, 76px); }
  .tv-bf__img--snow { left: auto; right: 6px; height: clamp(52px, 14vw, 72px); }
  .tv-bf__deal { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: 3px; }
  .tv-bf__big { font-size: clamp(13px, 4.3vw, 24px); margin-bottom: 5px; -webkit-text-stroke: 2px #fff; text-shadow: 1px 1px 0 #fff, 3px 3px 0 #000, 4px 4px 0 #000; }
  .tv-bf__cond { font-size: 10px; }
}
@media (max-width: 374px) { .tv-bf__img { height: 52px; } .tv-bf__img--snow { left: auto; right: 0; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .tv-bf.is-run .tv-bf__title { animation: none; } }

/* сноска в подвале */
.bf-footnote { padding: 0 15px 24px; font-size: 13px; line-height: 1.45; color: #e6e6e6; }

/* ===================== SFA 1000: единый блок «цена ЧП + Таврида 0 + расчёт + консультация» — 6 вариантов (?price=1..6) ===================== */
.product:has(.bfc-host), .product__info.bfc-host, .product:has(.bfc-host) .product__media { height: auto; }
.product:has(.bfc-host) { padding-bottom: 48px; }
.product__colors.bfc-colors-moved { align-self: flex-start; justify-content: flex-start; margin: 18px 0 0; }
.product__colors[data-pos="above"] { margin: 0 0 14px; }
.bfc { --g: #1fd65f; align-self: flex-end; width: 560px; margin: 26px -3px 8px 0; font-family: 'Exo 2', Arial, sans-serif; color: #141414; box-sizing: border-box; }
.bfc * { box-sizing: border-box; }
.bfc button { font-family: inherit; cursor: pointer; }
.bfc__price { position: relative; }
.bfc__label { display: inline-block; font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: .02em; }
.bfc__till { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.bfc__old { display: block; color: #8a8a8a; font-weight: 600; text-decoration: line-through; text-decoration-color: var(--bf-red); text-decoration-thickness: 2px; white-space: nowrap; }
.bfc__new { display: block; font-weight: 900; line-height: 1; white-space: nowrap; }
.bfc__new sup { font-size: .45em; vertical-align: top; margin-left: 2px; }
.bfc__badge { display: inline-block; padding: 5px 9px; background: var(--bf-red); color: #fff; font-weight: 900; font-size: 13px; transform: skewX(-12deg); white-space: nowrap; }
.bfc__tabs { display: none; }
.bfc__zero { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 0; border-radius: 12px; background: var(--bf-black); color: #fff; text-align: left; }
.bfc__zero .tl__brand, .bfc__zero .tl__zero { font-size: 18px; }
.bfc__zt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bfc__zt b { font-size: 15px; line-height: 1.15; }
.bfc__zt small { font-size: 12.5px; line-height: 1.2; color: #cfcfcf; }
.bfc__zt em { font-style: normal; color: var(--g); font-weight: 700; }
.bfc__calc, .bfc__consult { display: flex; align-items: center; justify-content: center; height: 48px; padding: 0 18px; border-radius: 48px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background-color .2s, color .2s; }
.bfc__calc { border: 2px solid var(--bf-red); background: #fff; color: var(--bf-red); }
.bfc__calc:hover { background: var(--bf-red); color: #fff; }
.bfc__consult { border: 0; background: var(--bf-red); color: #fff; }
.bfc__consult:hover { background: #b80f16; }

/* 1 — «Чек»: чёрная карточка, цена сверху, «Таврида 0» во всю ширину, ниже две кнопки */
.bfc--v1 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px; border-radius: 18px; background: var(--bf-black); color: #fff; }
.bfc--v1 .bfc__price { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 14px; row-gap: 8px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 2px solid var(--bf-red); }
.bfc--v1 .bfc__label { grid-column: 1 / 3; font-size: 24px; color: var(--bf-red); -webkit-text-stroke: 2px #fff; paint-order: stroke fill; transform: skewX(-8deg); }
.bfc--v1 .bfc__till { grid-column: 3; justify-self: end; color: #bdbdbd; }
.bfc--v1 .bfc__new { grid-column: 1 / 3; font-size: 42px; }
.bfc--v1 .bfc__badge { grid-column: 3; justify-self: end; font-size: 15px; }
.bfc--v1 .bfc__old { grid-column: 1 / -1; font-size: 17px; color: #9a9a9a; }
.bfc--v1 .bfc__zero { grid-column: 1 / -1; background: #1c1c1c; box-shadow: inset 0 0 0 1px rgba(31, 214, 95, .45); }
.bfc--v1 .bfc__calc { background: transparent; border-color: #fff; color: #fff; }
.bfc--v1 .bfc__calc:hover { background: #fff; color: var(--bf-black); }

/* 2 — «Лента»: четыре ячейки в одну полосу на всю ширину колонки */
.bfc--v2 { width: 840px; display: grid; grid-template-columns: 1.35fr 1.35fr 1fr 1fr; min-height: 118px; border-radius: 16px; overflow: hidden; background: var(--bf-black); }
.bfc--v2 .bfc__price { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 14px 18px; background: var(--bf-black); color: #fff; }
.bfc--v2 .bfc__label { font-size: 15px; color: var(--bf-red); -webkit-text-stroke: 1.2px #fff; paint-order: stroke fill; transform: skewX(-8deg); transform-origin: 0 50%; }
.bfc--v2 .bfc__till { display: none; }
.bfc--v2 .bfc__new { font-size: 28px; }
.bfc--v2 .bfc__old { font-size: 14px; }
.bfc--v2 .bfc__badge { display: none; }
.bfc--v2 .bfc__zero { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; border-radius: 0; background: #1c1c1c; border-left: 1px solid #333; }
.bfc--v2 .bfc__calc, .bfc--v2 .bfc__consult { height: auto; border-radius: 0; white-space: normal; text-align: center; font-size: 16px; line-height: 1.2; }
.bfc--v2 .bfc__calc { border: 0; background: #f2f2f2; color: var(--bf-black); }
.bfc--v2 .bfc__calc:hover { background: #e4e4e4; color: var(--bf-black); }

/* 3 — «Ценник + столбик»: красный наклонный ценник слева, три кнопки столбиком справа */
.bfc--v3 { display: grid; grid-template-columns: 1fr 250px; gap: 22px; align-items: center; width: 640px; }
.bfc--v3 .bfc__price { grid-row: 1 / 4; padding: 22px 22px 20px; background: var(--bf-red); color: #fff; transform: rotate(-2.5deg); box-shadow: 8px 8px 0 var(--bf-black); }
.bfc--v3 .bfc__label { display: inline-block; padding: 6px 10px; background: var(--bf-black); font-size: 17px; transform: skewX(-12deg); }
.bfc--v3 .bfc__till { display: block; margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, .85); }
.bfc--v3 .bfc__old { margin-top: 14px; font-size: 18px; color: rgba(255, 255, 255, .8); text-decoration-color: #fff; }
.bfc--v3 .bfc__new { margin-top: 4px; font-size: 40px; }
.bfc--v3 .bfc__badge { position: absolute; right: -14px; top: -16px; background: #fff; color: var(--bf-red); border: 3px solid var(--bf-red); font-size: 15px; transform: rotate(10deg); }
.bfc--v3 .bfc__zero { flex-direction: column; align-items: flex-start; gap: 8px; }
.bfc--v3 .bfc__calc, .bfc--v3 .bfc__consult { width: 100%; }

/* 4 — «Минимал»: крупная типографика без подложки, кнопки — одна строка */
.bfc--v4 { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; width: 640px; text-align: right; }
.bfc--v4 .bfc__price { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 16px; row-gap: 6px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid #e3e3e3; }
.bfc--v4 .bfc__label { grid-column: 1 / -1; justify-self: end; padding-left: 12px; border-left: 4px solid var(--bf-red); font-size: 16px; color: var(--bf-red); letter-spacing: .12em; }
.bfc--v4 .bfc__till { display: none; }
.bfc--v4 .bfc__old { grid-column: 1; grid-row: 2; justify-self: end; align-self: center; font-size: 20px; }
.bfc--v4 .bfc__new { grid-column: 2; grid-row: 2 / 4; align-self: center; font-size: 56px; color: var(--bf-black); letter-spacing: -.01em; }
.bfc--v4 .bfc__badge { grid-column: 1; grid-row: 3; justify-self: end; margin-top: -4px; font-size: 14px; }
.bfc--v4 .bfc__zero { width: auto; padding: 9px 14px; border-radius: 48px; background: #fff; color: var(--bf-black); box-shadow: inset 0 0 0 1px #d6d6d6; --tl-fg: var(--bf-black); }
.bfc--v4 .bfc__zero .tl__brand, .bfc--v4 .bfc__zero .tl__zero { font-size: 15px; }
.bfc--v4 .bfc__zt b { display: none; }
.bfc--v4 .bfc__zt small { color: #555; font-size: 13px; }
.bfc--v4 .bfc__calc { height: auto; padding: 0 4px; border: 0; border-radius: 0; background: none; color: var(--bf-black); text-decoration: underline; text-underline-offset: 4px; }
.bfc--v4 .bfc__calc:hover { background: none; color: var(--bf-red); }
.bfc--v4 .bfc__consult { background: var(--bf-black); }
.bfc--v4 .bfc__consult:hover { background: #333; }

/* 5 — «Сразу / В кредит»: переключатель способа оплаты, под ним цена или кредит */
.bfc--v5 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; border: 2px solid var(--bf-black); border-radius: 18px; background: #fff; }
.bfc--v5 .bfc__tabs { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 40px; background: #efefef; }
.bfc--v5 .bfc__tab { height: 40px; border: 0; border-radius: 40px; background: none; font-weight: 700; font-size: 15px; color: #555; }
.bfc--v5 .bfc__tab.is-on { background: var(--bf-black); color: #fff; }
.bfc--v5 .bfc__price { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: end; row-gap: 6px; padding: 6px 4px 4px; }
.bfc--v5 .bfc__label { font-size: 18px; color: var(--bf-red); transform: skewX(-8deg); transform-origin: 0 50%; }
.bfc--v5 .bfc__till { justify-self: end; color: #777; }
.bfc--v5 .bfc__new { font-size: 44px; }
.bfc--v5 .bfc__old { align-self: center; justify-self: end; font-size: 17px; }
.bfc--v5 .bfc__badge { display: none; }
.bfc--v5 .bfc__zero { grid-column: 1 / -1; }
.bfc--v5[data-mode="cash"] .bfc__zero, .bfc--v5[data-mode="cash"] .bfc__calc { display: none; }
.bfc--v5[data-mode="cash"] .bfc__consult { grid-column: 1 / -1; height: 54px; font-size: 17px; }
.bfc--v5[data-mode="zero"] .bfc__price { display: none; }
.bfc--v5[data-mode="zero"] .bfc__zero { padding: 18px 16px; }

/* 6 — «Купон»: красный корешок «Чёрная пятница −100 000 ₽», линия отрыва, цена и кнопки справа */
.bfc--v6 { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; width: 640px; padding: 18px 18px 18px 132px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 2px var(--bf-black); }
.bfc--v6::before { content: "ЧЁРНАЯ ПЯТНИЦА"; position: absolute; left: 0; top: 0; bottom: 0; width: 110px; display: flex; align-items: center; justify-content: center; border-radius: 14px 0 0 14px; background: var(--bf-red); color: #fff; font-weight: 900; font-size: 22px; letter-spacing: .06em; writing-mode: vertical-rl; transform: rotate(180deg); }
.bfc--v6::after { content: ""; position: absolute; left: 110px; top: 10px; bottom: 10px; border-left: 3px dashed var(--bf-black); }
.bfc--v6 .bfc__price { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: end; column-gap: 14px; }
.bfc--v6 .bfc__label { display: none; }
.bfc--v6 .bfc__till { grid-column: 1 / -1; margin-bottom: 6px; color: #777; }
.bfc--v6 .bfc__new { font-size: 42px; }
.bfc--v6 .bfc__old { align-self: center; font-size: 17px; }
.bfc--v6 .bfc__badge { align-self: center; font-size: 14px; }
.bfc--v6 .bfc__zero { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; }
.bfc--v6 .bfc__zero .tl__brand, .bfc--v6 .bfc__zero .tl__zero { font-size: 15px; }
.bfc--v6 .bfc__zt b { font-size: 13px; }
.bfc--v6 .bfc__zt small { font-size: 11px; }
.bfc--v6 .bfc__calc, .bfc--v6 .bfc__consult { height: auto; min-height: 48px; padding: 6px 10px; border-radius: 12px; white-space: normal; text-align: center; line-height: 1.15; }

/* телефон: блок под фото (на месте прежних кнопок), все варианты — в одну колонку */
[data-bfc-mslot]:empty { display: none; }
@media (max-width: 1023px) {
  [data-bfc-mslot] { padding: 18px 17.6px 26px; background: #fff; }
  .bfc, .bfc--v2, .bfc--v3, .bfc--v4, .bfc--v6 { width: 100%; margin: 0; }
  .bfc--v1 { padding: 16px; grid-template-columns: 1fr; }
  .bfc--v1 .bfc__new, .bfc--v5 .bfc__new { font-size: 34px; }
  .bfc--v2 { grid-template-columns: 1fr 1fr; }
  .bfc--v2 .bfc__price, .bfc--v2 .bfc__zero { grid-column: 1 / -1; }
  .bfc--v2 .bfc__zero { border-left: 0; border-top: 1px solid #333; padding: 14px 18px; }
  .bfc--v2 .bfc__calc, .bfc--v2 .bfc__consult { min-height: 54px; }
  .bfc--v3 { grid-template-columns: 1fr; gap: 12px; }
  .bfc--v3 .bfc__price { grid-row: auto; margin: 10px 8px 14px 0; }
  .bfc--v3 .bfc__new { font-size: 34px; }
  .bfc--v3 .bfc__badge { right: -4px; }
  .bfc--v4 { justify-content: stretch; text-align: left; }
  .bfc--v4 .bfc__new { font-size: 40px; }
  .bfc--v4 .bfc__zero, .bfc--v4 .bfc__consult { width: 100%; justify-content: center; }
  .bfc--v4 .bfc__calc { width: 100%; justify-content: center; }
  .bfc--v6 { grid-template-columns: 1fr; padding: 70px 14px 14px; }
  .bfc--v6::before { width: auto; right: 0; bottom: auto; height: 52px; border-radius: 14px 14px 0 0; writing-mode: horizontal-tb; transform: none; font-size: 20px; }
  .bfc--v6::after { left: 10px; right: 10px; top: 52px; bottom: auto; border-left: 0; border-top: 3px dashed var(--bf-black); }
  .bfc--v6 .bfc__new { font-size: 34px; }
  .bfc--v6 .bfc__zero { flex-direction: row; align-items: center; }
}
@media (max-width: 1023px) {
  .bfc--v1 .bfc__price, .bfc--v5 .bfc__price, .bfc--v6 .bfc__price { grid-template-columns: 1fr auto; }
  .bfc--v1 .bfc__label { grid-column: 1; font-size: 20px; }
  .bfc--v1 .bfc__till { grid-column: 2; }
  .bfc--v1 .bfc__new { grid-column: 1 / -1; }
  .bfc--v1 .bfc__old { grid-column: 1; }
  .bfc--v1 .bfc__badge { grid-column: 2; grid-row: 4; }
  .bfc--v5 .bfc__label { white-space: nowrap; font-size: 17px; }
  .bfc--v5 .bfc__new { grid-column: 1 / -1; }
  .bfc--v5 .bfc__old { grid-column: 1; justify-self: start; }
  .bfc--v6 .bfc__till { grid-column: 1 / -1; }
  .bfc--v6 .bfc__new { grid-column: 1 / -1; }
  .bfc--v6 .bfc__old { grid-column: 1; }
  .bfc--v6 .bfc__badge { grid-column: 2; justify-self: end; }
  .bfc--v4 .bfc__price { grid-template-columns: 1fr auto; }
  .bfc--v4 .bfc__label { justify-self: start; }
  .bfc--v4 .bfc__new { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .bfc--v4 .bfc__old { grid-column: 1; grid-row: 3; justify-self: start; }
  .bfc--v4 .bfc__badge { grid-column: 2; grid-row: 3; margin: 0; }
}
@media (max-width: 359px) { .bfc__new { font-size: 30px !important; } }

/* ТЕСТ: переключатель вариантов (только /test/) */
.bf-sw { position: fixed; left: 12px; bottom: 60px; z-index: 30; max-width: calc(100vw - 24px); padding: 10px 12px 10px; border-radius: 14px; background: rgba(20, 20, 20, .92); color: #fff; font: 600 13px/1.2 'Exo 2', Arial, sans-serif; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.bf-sw__toggle { display: block; width: 100%; margin: 0 0 8px; padding: 0; border: 0; background: none; color: #bdbdbd; font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-align: left; cursor: pointer; }
.bf-sw__toggle::after { content: " ▾"; }
.bf-sw.is-min { padding: 8px 12px; }
.bf-sw.is-min .bf-sw__toggle { margin: 0; color: #fff; }
.bf-sw.is-min .bf-sw__toggle::after { content: " ▸"; }
.bf-sw.is-min .bf-sw__body { display: none; }
.bf-sw__row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bf-sw__t { width: 100px; color: #d9d9d9; }
.bf-sw__b { min-width: 34px; height: 30px; padding: 0 9px; border: 1px solid #555; border-radius: 8px; background: #2a2a2a; color: #fff; font: inherit; cursor: pointer; }
.bf-sw__b:hover { border-color: #fff; }
.bf-sw__b.is-on { background: var(--bf-red); border-color: var(--bf-red); }
.bf-sw__hint { margin: 8px 0 0; color: #9a9a9a; font-size: 11px; font-weight: 400; }
@media (max-width: 1023px) {
  .bf-sw { bottom: 104px; left: 8px; padding: 8px 10px; }
  .bf-sw__t { width: 100%; }
  .bf-sw__b { min-width: 32px; height: 32px; }
}

/* первый экран, вариант 1: обратный отсчёт вместо даты (17.11) */
.bfh1__timer { display: inline-flex; align-items: stretch; gap: 6px; margin: 26px 0 0; padding: 7px 10px; background: var(--bf-black); transform: skewX(-12deg); }
.bfh1__timer > span { display: flex; align-items: baseline; gap: 3px; transform: skewX(12deg); }
.bfh1__timer b { font-weight: 800; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.bfh1__timer small { font-size: 13px; font-weight: 600; color: #bdbdbd; }
.bfh1__timer > span + span::before { content: ":"; margin-right: 3px; font-weight: 800; font-size: 22px; color: var(--bf-red); }
.bfh1__timer > span.bfh1__tl + span::before { content: none; }
.bfh1__tl { align-self: center; margin-right: 6px; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--bf-red); }
@media (max-width: 1023px) {
  .bfh1__timer { margin-top: 14px; padding: 5px 8px; gap: 4px; }
  .bfh1__timer b { font-size: 18px; }
  .bfh1__timer small { font-size: 10px; }
  .bfh1__timer > span + span::before { font-size: 15px; margin-right: 2px; }
  .bfh1__tl { font-size: 10px; margin-right: 4px; letter-spacing: .06em; }
}

/* блок цены, вариант 4: цвета под фото в форме знака «Таврида», по центру, с отступом от фото (17.11) */
.product__colors[data-pos="under"] { margin-top: 26px; }
.bfc-v4-host .product__colors[data-pos="under"] { align-self: stretch; justify-content: center; gap: 12px; margin: 30px 0 0; }
.bfc-v4-host .product__colors[data-pos="under"] .product__color { width: 54px; height: 44px; border: 0; outline: 0; background-size: cover !important;
  -webkit-mask: url('../assets/img/logo-mark.svg') center / contain no-repeat; mask: url('../assets/img/logo-mark.svg') center / contain no-repeat;
  opacity: .75; transform: scale(.92); transition: opacity .2s, transform .2s; }
.bfc-v4-host .product__colors[data-pos="under"] .product__color:hover { opacity: .9; }
.bfc-v4-host .product__colors[data-pos="under"] .product__color[aria-checked='true'] { opacity: 1; transform: scale(1.15); }
@media (max-width: 1023px) {
  .bfc-v4-host .product__color { width: 40px; height: 33px; border: 0; outline: 0; background-size: cover !important;
    -webkit-mask: url('../assets/img/logo-mark.svg') center / contain no-repeat; mask: url('../assets/img/logo-mark.svg') center / contain no-repeat; opacity: .75; }
  .bfc-v4-host .product__color[aria-checked='true'] { opacity: 1; transform: scale(1.15); }
}

/* ТУР: та же композиция без скидки — нет зачёркнутой цены, бейджа и даты; подпись «Цена» спокойная */
.bfc--nodisc .bfc__old, .bfc--nodisc .bfc__badge, .bfc--nodisc .bfc__till { display: none !important; }
.bfc--nodisc .bfc__label { color: #8a8a8a !important; -webkit-text-stroke: 0 !important; text-shadow: none !important; border-left-color: #c9c9c9 !important; letter-spacing: .12em; }
.bfc--nodisc .bfc__new sup { display: none; }
.bfc--v4.bfc--nodisc .bfc__new { grid-row: 2; }

/* первый экран, вариант 4 — «Таврида 0» (кредит) в стилистике варианта 1 */
.bfh--4 { top: 158px; }
.bfh4__brand { display: flex; align-items: center; gap: 18px; margin: 0; transform: rotate(-4deg) skewX(-8deg); transform-origin: 0 50%; }
.bfh4__t { font-weight: 900; font-size: 74px; line-height: .95; text-transform: uppercase; letter-spacing: .01em; color: var(--bf-red); -webkit-text-stroke: 5px #fff; paint-order: stroke fill; text-shadow: 3px 3px 0 #fff, 7px 7px 0 #000, 9px 9px 0 #000; }
.bfh4__z { display: inline-grid; place-items: center; width: 1.15em; height: 1.15em; font-weight: 900; font-size: 68px; line-height: 1; color: var(--tz-green-text, #0b2a15); background: var(--tz-green, #1fd65f); border-radius: .2em; box-shadow: 0 0 0 5px #fff, 7px 7px 0 5px #000, 0 0 40px rgba(31, 214, 95, .55); }
.bfh4__sub { display: inline-block; margin: 22px 0 0; padding: 6px 12px; background: var(--bf-black); transform: skewX(-12deg); font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.bfh4__sub sup { font-size: .55em; }
.bfh4__pay { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.bfh4__pay b { font-size: 50px; font-weight: 900; line-height: 1; white-space: nowrap; }
.bfh4__pay small { font-size: 26px; font-weight: 700; }
.bfh4__badge { align-self: center; margin-left: 16px; padding: 8px 12px; background: var(--tz-green, #1fd65f); color: #0b2a15; transform: skewX(-12deg) rotate(-3deg); font-weight: 900; font-size: 18px; text-transform: uppercase; white-space: nowrap; text-shadow: none; box-shadow: 4px 4px 0 #000; }
.bfh4__terms { margin: 6px 0 0; font-weight: 600; font-size: 17px; letter-spacing: .04em; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
@media (max-width: 1023px) {
  .bfh--4 { top: 250px; }
  .bfh4__brand { gap: 10px; }
  .bfh4__t { font-size: 42px; -webkit-text-stroke: 3px #fff; text-shadow: 2px 2px 0 #fff, 4px 4px 0 #000, 5px 5px 0 #000; }
  .bfh4__z { font-size: 40px; box-shadow: 0 0 0 3px #fff, 4px 4px 0 3px #000, 0 0 24px rgba(31, 214, 95, .55); }
  .bfh4__sub { margin-top: 14px; font-size: 13px; padding: 5px 10px; }
  .bfh4__pay { margin-top: 10px; flex-wrap: wrap; }
  .bfh4__pay b { font-size: 36px; }
  .bfh4__pay small { font-size: 16px; }
  .bfh4__badge { margin-left: 8px; font-size: 12px; padding: 5px 8px; }
  .bfh4__terms { font-size: 13px; margin-top: 6px; }
}

/* первый экран, вариант 4: строку «Квадроцикл Таврида SFA 1000» не показываем — её перекрывал «ТАВРИДА 0» (17.11) */
.hero.is-v4 .hero__eyebrow { display: none; }

/* логотип программы со словом на красной ленте (как на tavrida-finance.ru) */
.tl__band { display: inline-block; padding: .14em .38em .1em; background: var(--bf-red); color: #fff; font-weight: 900; font-size: 22px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; transform: skewX(-12deg); }

/* шапка: плашки «Таврида Старт» и «Таврида Лайт» слева от адреса (вместо одной «Таврида 0») */
.bf-prog { display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 11px 13px; border: 0; border-radius: 16px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); color: #fff; text-align: left; cursor: pointer; transition: background-color .2s; }
.bf-prog:hover, .bf-prog:focus-visible { background: rgba(0, 0, 0, .78); outline: none; }
.bf-prog .tl__brand, .bf-prog .tl__band { font-size: 16px; }
.bf-prog__txt { font: 600 12.5px/1.3 'Exo 2', Arial, sans-serif; letter-spacing: .01em; }
.bf-prog__l1, .bf-prog__l2 { display: block; white-space: nowrap; }
.bf-prog__l1 { font-weight: 800; font-size: 16px; }
.bf-prog__l1 sup { font-size: .6em; }
.bf-progs-m { display: none; }
@media (max-width: 1023px) {
  .bf-progs-m { display: flex; gap: 8px; position: absolute; left: 18px; right: 18px; top: 650px; z-index: 2; }
  .bf-prog--m { flex: 1 1 0; min-width: 0; padding: 8px 10px; gap: 5px; }
  .bf-prog--m .tl__brand, .bf-prog--m .tl__band { font-size: 13px; }
  .bf-prog--m .bf-prog__l1 { font-size: 14px; }
  .bf-prog--m .bf-prog__l2 { font-size: 10.5px; white-space: normal; }
}

/* программы над калькулятором */
.bf-progs { padding: 72px 0 8px; background: #f6f6f6; font-family: 'Exo 2', Arial, sans-serif; }
.bf-progs__title { margin: 0 0 30px; font-size: 48px; line-height: 58px; font-weight: 700; color: var(--text, #141414); }
.bf-progs__title span { color: var(--red, #e3141c); }
.bf-progs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bf-pc { display: flex; flex-direction: column; gap: 16px; padding: 26px 24px 24px; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 #e7e7e7, 0 10px 30px rgba(0, 0, 0, .05); color: #141414; }
.bf-pc .tl__brand { --tl-fg: #141414; font-size: 22px; }
.bf-pc__big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; font-weight: 900; font-size: 56px; line-height: 1; color: var(--bf-red); }
.bf-pc__big small { flex-basis: 100%; font-size: 15px; font-weight: 600; color: #777; letter-spacing: .04em; text-transform: uppercase; }
.bf-pc__big sup { font-size: .4em; }
.bf-pc__badge { align-self: center; margin-left: 6px; padding: 6px 10px; border-radius: 30px; background: var(--tz-green, #1fd65f); color: #0b2a15; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.bf-pc__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 14px 0 0; border-top: 1px solid #ececec; list-style: none; font-size: 16px; }
.bf-pc__list li { display: flex; justify-content: space-between; gap: 12px; }
.bf-pc__list span { color: #666; }
.bf-pc__list sup { font-size: .65em; }
.bf-pc__btn { margin-top: auto; height: 52px; border: 0; border-radius: 52px; background: var(--bf-red); color: #fff; font: 700 16px/1 'Exo 2', Arial, sans-serif; cursor: pointer; transition: background-color .2s; }
.bf-pc__btn:hover { background: #b80f16; }
.bf-pc--zero { background: var(--bf-black); color: #fff; box-shadow: 0 0 0 2px rgba(31, 214, 95, .55), 0 10px 30px rgba(0, 0, 0, .2); }
.bf-pc--zero .tl__brand { --tl-fg: #fff; }
.bf-pc--zero .bf-pc__big { color: var(--tz-green, #1fd65f); }
.bf-pc--zero .bf-pc__big small, .bf-pc--zero .bf-pc__list span { color: #aaa; }
.bf-pc--zero .bf-pc__list { border-top-color: #2b2b2b; }
.bf-pc--zero .bf-pc__btn { background: var(--tz-green, #1fd65f); color: #0b2a15; }
.bf-pc--zero .bf-pc__btn:hover { background: #18b850; }
.bf-progs + .tcalc { padding-top: 48px; }
@media (max-width: 1023px) {
  .bf-progs { padding: 34px 0 4px; }
  .bf-progs .wrap { padding: 0 17.6px; }
  .bf-progs__title { font-size: 28px; line-height: 34px; margin-bottom: 18px; }
  .bf-progs__grid { grid-template-columns: 1fr; gap: 12px; }
  .bf-pc--zero { order: -1; }
  .bf-pc { padding: 20px 18px; gap: 12px; }
  .bf-pc__big { font-size: 44px; }
  .bf-progs + .tcalc { padding-top: 26px; }
}

/* 17.11: в шапке «Таврида 0» — для вариантов 1–3; «Таврида Старт» и «Таврида Лайт» — только в варианте 4 */
.hero:not(.is-v4) .bf-prog, .hero:not(.is-v4) .bf-progs-m { display: none !important; }
.hero.is-v4 .hero__cards .bf-zero, .hero.is-v4 .bf-zero-m { display: none !important; }

/* 17.11: плашка «Таврида Лизинг · ДЛЯ ЮР.ЛИЦ» — только в первом экране варианта 1 (и на его слайде в варианте 5) */
.bf-lease { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 10px 13px; border: 0; border-radius: 16px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); color: #fff; text-align: left; cursor: pointer; transition: background-color .2s; }
.bf-lease:hover, .bf-lease:focus-visible { background: rgba(0, 0, 0, .78); outline: none; }
.bf-lease .tl__brand, .bf-lease .tl__band { font-size: 16px; }
.bf-lease__who { align-self: flex-start; padding: 3px 7px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 6px; font: 800 11px/1 'Exo 2', Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.bf-lease__txt { display: flex; flex-direction: column; font: 600 12.5px/1.3 'Exo 2', Arial, sans-serif; white-space: nowrap; }
.bf-lease-m { display: none; }
.hero:not(.is-c1) .hero__cards .bf-lease, .hero:not(.is-c1) .bf-lease-m { display: none !important; }
@media (max-width: 1023px) {
  .hero.is-c1 .bf-lease-m { display: block; position: absolute; left: 26px; top: 716px; z-index: 2; }
  .bf-lease--m { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 12px; }
  .bf-lease--m .tl__brand, .bf-lease--m .tl__band { font-size: 14px; }
  .bf-lease--m .bf-lease__txt { flex-direction: row; gap: 8px; font-size: 11.5px; }
}

/* «Выберите свою программу»: 4 карточки в ряд, лизинг — со значком «Для юр.лиц» */
.bf-progs__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bf-pc { padding: 24px 20px 22px; }
.bf-pc__big { font-size: 48px; }
.bf-pc__badge--biz { background: var(--bf-black); color: #fff; }
@media (max-width: 1279px) and (min-width: 1024px) { .bf-pc__big { font-size: 40px; } .bf-pc__list { font-size: 14px; } }
@media (max-width: 1023px) { .bf-progs__grid { grid-template-columns: 1fr; } .bf-pc__big { font-size: 44px; } }

/* вариант 5 — слайдер 1 ↔ 4: плавная смена */
body.bfh-slider .bfh--1, body.bfh-slider .bfh--4 { transition: opacity .6s ease, visibility .6s; }
body.bfh-slider .bfh.is-off { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { body.bfh-slider .bfh--1, body.bfh-slider .bfh--4 { transition: none; } }

/* 17.11: телефон, первый экран 1 — «Таврида 0» и «Таврида Лизинг» в одну строку под формой (иначе лизинг уходил за низ экрана) */
@media (max-width: 1023px) {
  .hero.is-c1 .bf-zero-m { left: auto; right: 18px; width: 178px; top: 650px; }
  .hero.is-c1 .bf-zero-m .bf-zero--m { width: 100%; flex-direction: column; align-items: flex-start; gap: 5px; padding: 8px 10px; }
  .hero.is-c1 .bf-zero-m .bf-zero__l1 { white-space: normal; font-size: 10.5px; }
  .hero.is-c1 .bf-zero-m .bf-zero__l2 { font-size: 13px; }
  .hero.is-c1 .bf-lease-m { left: 18px; right: auto; width: 178px; top: 650px; }
  .hero.is-c1 .bf-lease-m .bf-lease--m { width: 100%; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 5px; padding: 8px 10px; }
  .hero.is-c1 .bf-lease-m .bf-lease__txt { flex-direction: column; gap: 0; font-size: 10.5px; }
  .hero.is-c1 .bf-lease-m .tl__brand, .hero.is-c1 .bf-lease-m .tl__band, .hero.is-c1 .bf-zero-m .tl__brand, .hero.is-c1 .bf-zero-m .tl__zero { font-size: 13px; }
  .hero.is-c1 .bf-lease-m .bf-lease__who { font-size: 9.5px; padding: 2px 5px; }
}

/* 17.11: нижний ряд плашек — карточки выровнены по нижнему краю (top ряда подгоняет bf.js по низу формы) */
.hero__cards { align-items: flex-end; }

/* слайдер первого экрана: варианты 5 (стрелки) и 6 (точки); листается вся область — прокрутка дорожки, без transform (иначе «поедут» закреплённые полоса и кнопка) */
.bfs { position: relative; }
.bfs:not(.is-on) .bfs-b, .bfs__arrow, .bfs__dots { display: none; }
.bfs.is-on .bfs__track { display: flex; overflow-x: hidden; overscroll-behavior-x: contain; }
.bfs.is-on .bfs__track > .hero { flex: 0 0 100%; }
.bfs__arrow { position: absolute; top: 50%; z-index: 6; width: 54px; height: 54px; margin-top: -27px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .5); backdrop-filter: blur(4px); cursor: pointer; align-items: center; justify-content: center; transition: background-color .2s; }
.bfs__arrow:hover, .bfs__arrow:focus-visible { background: var(--bf-red); outline: none; }
.bfs__arrow--prev { left: 18px; }
.bfs__arrow--next { right: 18px; transform: scaleX(-1); }
.bfs.is-on.bfs--arrows .bfs__arrow { display: flex; }
.bfs__dots { position: absolute; left: 50%; bottom: 20px; z-index: 6; gap: 16px; transform: translateX(-50%); }
.bfs.is-on.bfs--dots .bfs__dots { display: flex; }
.bfs__dot { width: 20px; height: 20px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: rgba(255, 255, 255, .3); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); transition: background-color .2s, transform .2s; }
.bfs__dot.is-on { background: var(--bf-red); transform: scale(1.2); }
@media (max-width: 1023px) {
  .bfs.is-on .bfs__track > .hero { flex: 0 0 auto; }
  .bfs__arrow { width: 38px; height: 38px; margin-top: -19px; top: 44%; }
  .bfs__arrow--prev { left: 6px; } .bfs__arrow--next { right: 6px; }
  .bfs__dots { bottom: 8px; gap: 14px; }
  .bfs__dot { width: 16px; height: 16px; }
}

/* 17.11: сноска — под подвалом отдельной полосой (у подвала фиксированная высота, внутри текст обрезался) */
.bf-footnote-sec { background: #111; }
.bf-footnote-sec .bf-footnote { padding: 18px 15px 26px; margin: 0 auto; font-size: 13px; line-height: 1.5; color: #e6e6e6; }
@media (max-width: 1023px) { .bf-footnote-sec .bf-footnote { padding: 16px 17.6px 22px; font-size: 12px; } }

/* 17.11: вариант 4 — ряд выбора цвета на светло-серой подложке-«таблетке» (форма как у кнопки «Перезвоните мне») */
.bfc-v4-host .product__colors[data-pos="under"] { align-self: center; width: auto; padding: 10px 26px; border-radius: 999px; background: #efefef; }
@media (max-width: 1023px) {
  .bfc-v4-host .product__colors { padding: 6px 14px; border-radius: 999px; background: #efefef; }
}
.bfc-v4-host .product__colors[data-pos="under"] { width: -webkit-fit-content; width: fit-content; margin-left: auto; margin-right: auto; }
@media (max-width: 1023px) {
  .bfc-v4-host .product__colors { gap: 8px; padding: 5px 12px; }
  .bfc-v4-host .product__colors span { width: auto; margin-right: 4px; }
  .bfc-v4-host .product__color { width: 36px; height: 30px; }
}

/* 17.11: ряд плашек у формы — все одной высоты (верх и низ вровень с плашкой адреса) */
.hero__cards { align-items: stretch !important; }
.hero__cards > * { box-sizing: border-box; }
/* вариант 4: ряд цвета SFA 1000 не упирается в край колонки */
.bfc-v4-host .product__colors[data-pos="under"] { gap: 8px; padding: 10px 20px; }
.bfc-v4-host .product__colors[data-pos="under"] .product__color { width: 50px; height: 40px; }

/* 17.11: телефон — в вариантах 1 и 4 (и на их слайдах) надпись выше, в пустое небо, чтобы не закрывать квадроцикл */
@media (max-width: 1023px) {
  .hero.is-c1 .hero__eyebrow { top: 120px; }
  .hero.is-c1 .bfh--1 { top: 182px; }
  .hero.is-v4 .bfh--4 { top: 150px; }
}
@media (max-width: 1023px) {
  .hero.is-c1 .bfh1__prices { flex-wrap: nowrap; gap: 9px; margin-top: 8px; }
  .hero.is-c1 .bfh1__prices .bfh__old { font-size: 15px; }
  .hero.is-c1 .bfh1__prices .bfh__new { font-size: 29px; }
  .hero.is-c1 .bfh1__badge { font-size: 12px; padding: 4px 7px; }
}

/* галерея фото товара: стрелки на большом фото и счётчик */
.bf-gal__arrow { position: absolute; top: 50%; z-index: 20; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #141414; box-shadow: 0 3px 12px rgba(0, 0, 0, .25); cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.bf-gal__arrow:hover, .bf-gal__arrow:focus-visible { background: var(--bf-red); color: #fff; outline: none; }
.bf-gal__arrow:active { transform: scale(.94); }
.bf-gal__arrow--prev { left: 12px; }
.bf-gal__arrow--next { right: 12px; }
.bf-gal__arrow--next svg { transform: scaleX(-1); }
.bf-gal__count { position: absolute; right: 12px; bottom: 10px; z-index: 20; padding: 4px 10px; border-radius: 20px; background: rgba(20, 20, 20, .7); color: #fff; font: 600 13px/1 'Exo 2', Arial, sans-serif; pointer-events: none; }
.bf-gal__count:empty { display: none; }
@media (max-width: 1023px) {
  .bf-gal__arrow { width: 36px; height: 36px; margin-top: -18px; }
  .bf-gal__arrow--prev { left: 8px; } .bf-gal__arrow--next { right: 8px; }
  .bf-gal__count { font-size: 11px; padding: 3px 8px; right: 8px; bottom: 8px; }
}

/* «Наши салоны продаж»: режим работы, карта Яндекса для салонов вне НСК, 6 вкладок */
.dealers-restored .dealers__hours { margin: 6px 0 0; font-size: 18px; line-height: 1.3; color: #555; }
.dealers-restored .dealers__hours[hidden] { display: none; }
.dealers-restored .dealers-map-view--ya { overflow: hidden; background: #e9e6df; }
.dealers-restored .dealers-map-view--ya .bf-ya-map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dealers-restored .bf-ya-route { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 40px; background: #fff; color: #141414; font: 700 15px/1 'Exo 2', Arial, sans-serif; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.dealers-restored .bf-ya-route:hover { background: var(--bf-red); color: #fff; }
.dealers-restored .dealers__tabs { flex-wrap: wrap; }
@media (max-width: 1023px) {
  .dealers-restored .dealers__hours { font-size: 14px; }
  .dealers-restored .bf-ya-route { right: 10px; bottom: 10px; padding: 8px 12px; font-size: 13px; }
}
/* телефон: вкладки городов — одна строка с прокруткой вбок (подсказка — затухание у правого края) */
@media (max-width: 1023px) {
  .dealers-restored .dealers__tabs { flex-wrap: nowrap !important; overflow-x: auto; gap: 24px !important; width: 100% !important; padding: 2px 28px 8px 0; scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .dealers-restored .dealers__tabs::-webkit-scrollbar { display: none; }
  .dealers-restored .dealers__tabs button { flex: none; width: auto !important; white-space: nowrap; scroll-snap-align: start; }
  .dealers-restored .dealers__tabs.is-end { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 1023px) { .dealers-restored .dealers__tabs { box-sizing: border-box; max-width: 100%; } }

/* 17.11: телефон — плашки первого экрана отдельным блоком под ним, сеткой 2 в ряд, одинаковые по ширине и высоте, ровные отступы */
.bf-mcards[hidden] { display: none !important; }
@media (max-width: 1023px) {
  .bf-zero-m, .bf-lease-m, .bf-progs-m { display: none !important; }   /* прежние плашки под формой — заменены блоком */
  .bf-mcards { padding: 12px 16px 14px; background: #1b1b1b; }
  .bf-mcards .hero__cards { position: static !important; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; width: auto !important; height: auto !important; margin: 0 !important; transform: none !important; inset: auto !important; }
  .bf-mcards .hero__cards > * { position: static !important; display: flex !important; flex-direction: column; justify-content: center; gap: 6px; width: auto !important; height: auto !important; min-height: 78px; margin: 0 !important; padding: 10px 12px !important; border-radius: 14px !important; box-sizing: border-box; text-align: left; }
  /* какие плашки видны — как в первом экране: вариант 1 (лизинг + Таврида 0), вариант 4 (Старт + Лайт), остальные — Таврида 0 */
  .bf-mcards:not(.is-c1) .bf-lease, .bf-mcards:not(.is-v4) .bf-prog, .bf-mcards.is-v4 .bf-zero { display: none !important; }
  .bf-mcards .bf-lease, .bf-mcards .bf-zero, .bf-mcards .bf-prog, .bf-mcards .hero__2gis { background: rgba(255, 255, 255, .08) !important; }
  .bf-mcards .tl__brand, .bf-mcards .tl__band, .bf-mcards .tl__zero { font-size: 14px !important; }
  .bf-mcards .bf-zero__l1, .bf-mcards .bf-prog__l2, .bf-mcards .bf-lease__txt { white-space: normal !important; font-size: 11.5px !important; line-height: 1.25 !important; }
  .bf-mcards .bf-zero__l2, .bf-mcards .bf-prog__l1 { font-size: 14px !important; }
  .bf-mcards .bf-lease__who { font-size: 9.5px !important; }
  .bf-mcards .hero__address { background: rgba(255, 255, 255, .92) !important; color: #141414; cursor: pointer; }
  .bf-mcards .hero__address-title { font-size: 13px !important; font-weight: 700; margin: 0; }
  .bf-mcards .hero__address-text { font-size: 12px !important; line-height: 1.3 !important; margin: 0; }
  .bf-mcards .hero__2gis { align-items: center; justify-content: center; color: #fff; text-align: center; }
  .bf-mcards .hero__2gis img { width: 28px; height: 28px; }
  .bf-mcards .hero__2gis-name { font-size: 15px !important; font-weight: 800; }
  .bf-mcards .hero__2gis-note { font-size: 10px !important; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
}
.hero__address { cursor: pointer; }
.hero__address:hover .hero__address-text { text-decoration: underline; }
@media (max-width: 374px) {
  .bf-mcards { padding: 10px 12px 12px; }
  .bf-mcards .hero__cards { gap: 8px; }
  .bf-mcards .hero__cards > * { padding: 9px 9px !important; }
  .bf-mcards .tl__brand, .bf-mcards .tl__band, .bf-mcards .tl__zero { font-size: 12px !important; }
  .bf-mcards .bf-zero__l1, .bf-mcards .bf-prog__l2, .bf-mcards .bf-lease__txt { font-size: 10.5px !important; }
  .bf-mcards .bf-zero__l2, .bf-mcards .bf-prog__l1 { font-size: 13px !important; }
}
/* 17.11: телефон — стрелки слайдера ниже, в свободную полосу между надписью и формой */
@media (max-width: 1023px) { .bfs__arrow { top: 50%; } }
/* 17.11: сноска под подвалом — контейнер по ширине экрана (стандартный .wrap лендинга 402 px расширял страницу → белая полоса справа) */
@media (max-width: 1023px) { .bf-footnote-sec .bf-footnote { width: auto !important; max-width: 100%; box-sizing: border-box; } }
@media (max-width: 1023px) { .bfh4__terms { white-space: normal; } }

/* калькулятор на телефоне: сначала результат, при прокрутке настроек — липкая полоска платежа */
.bf-tcbar[hidden] { display: none !important; }
@media (max-width: 1023px) {
  .tcalc__res { order: -1; }
  .tcalc__grid { display: flex !important; flex-direction: column; }
  .bf-tcbar { position: fixed; left: 0; right: 0; z-index: 21; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; background: var(--tz-ink, #141414); color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); font-family: 'Exo 2', Arial, sans-serif; }
  .bf-tcbar__nums { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; min-width: 0; }
  .bf-tcbar__k { font-size: 11px; color: rgba(255, 255, 255, .6); }
  .bf-tcbar__pay { font-size: 18px; font-weight: 800; white-space: nowrap; }
  .bf-tcbar__rate { font-size: 16px; font-weight: 800; }
  .bf-tcbar__zero { align-self: center; padding: 2px 8px; border-radius: 20px; background: var(--tz-green, #1fd65f); color: var(--tz-green-text, #0b2a15); font-size: 11px; font-weight: 700; white-space: nowrap; }
  .bf-tcbar__zero[hidden] { display: none; }
  .bf-tcbar__btn { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 36px; background: var(--bf-red); color: #fff; font: 700 14px/1 'Exo 2', Arial, sans-serif; }
}
