/* ==========================================================================
   Страница машины — новый дизайн (templates/car-v3.php). Поверх home.css и catalog-v3.css (токены, кнопки, карточки,
   оформление SEO-текста). Всё — под .bhv: другие страницы не затрагиваются.
   ========================================================================== */
.bhv { --r: 16px; --hd: var(--bh-hd-h, 64px); padding-bottom: 24px; }
/* main у темы — flex-колонка: блоки страницы — на всю ширину */
.bhv > * { min-width: 0; }
.bhv > .bh-wrap, .bhv > .bhv-nav, .bhv > .bhv-about { width: 100%; }
.bhv .bh-btn { font-family: var(--sans); }
/* цены (.js-price темы) — шрифтом и цветом своего места */
.bhv .js-price, .bhv .js-price span { font: inherit; color: inherit; }

/* хлебные крошки (разметка темы — breadcrumbs-single.php, микроразметка BreadcrumbList) */
.bhv-crumbs { padding-top: 18px; }
.bhv-crumbs .breadcrumbs { display: flex; flex-wrap: wrap; margin: 0; font: 400 14px/1.4 var(--sans); color: var(--mut); }
.bhv-crumbs .breadcrumbs__item { opacity: 1; }
.bhv-crumbs .breadcrumbs__item:not(:last-child)::after { content: "/"; margin: 0 8px; color: var(--mut2); }
.bhv-crumbs .breadcrumbs__link { color: var(--mut); text-decoration: none; }
.bhv-crumbs .breadcrumbs__link:hover { color: var(--red); }
.bhv-crumbs .breadcrumbs__item.active .breadcrumbs__link { color: var(--ink); }
/* крошки — всегда в одну строку: не помещаются — листаются пальцем (сразу виден конец — текущая машина),
   у обрезанного края буквы плавно растворяются */
.bhv-crumbs .breadcrumbs { --fl: #000; --fr: #000; flex-wrap: nowrap; width: max-content; max-width: 100%; overflow-x: auto; white-space: nowrap;
  scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, var(--fl) 0, #000 44px, #000 calc(100% - 44px), var(--fr) 100%); mask-image: linear-gradient(90deg, var(--fl) 0, #000 44px, #000 calc(100% - 44px), var(--fr) 100%); }
.bhv-crumbs .breadcrumbs::-webkit-scrollbar { display: none; }
.bhv-crumbs .breadcrumbs__item { flex: none; }
.bhv-crumbs .breadcrumbs.is-l { --fl: transparent; }
.bhv-crumbs .breadcrumbs.is-r { --fr: transparent; }

/* --------------------------------------------------------------------------
   Первый экран: галерея + карточка брони
   -------------------------------------------------------------------------- */
.bhv-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(360px, 1fr); grid-template-areas: "gal book"; column-gap: 28px; align-items: start; padding-top: 16px; }
.bhv-gal { grid-area: gal; }
.bhv-book { grid-area: book; }

.bhv-gal { min-width: 0; }
.bhv-gal__main { position: relative; overflow: hidden; border-radius: var(--r); background: #dcd7d7; aspect-ratio: 3 / 2; }
.bhv-gal__track { display: flex; height: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bhv-gal__track::-webkit-scrollbar { display: none; }
.bhv-gal__slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.bhv-gal__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.bhv-gal__open img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bhv-gal__badge { top: 16px; left: 16px; font-size: 15px; padding: 6px 11px; }
.bhv-gal__arr { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 4px 16px rgba(0,0,0,.16); cursor: pointer; transition: transform .15s; }
.bhv-gal__arr:hover { transform: scale(1.06); }
.bhv-gal__arr svg { width: 20px; height: 20px; }
.bhv-gal__arr--p { inset-inline-start: 16px; }
.bhv-gal__arr--n { inset-inline-end: 16px; }
[dir="rtl"] .bhv-gal__arr svg, [dir="rtl"] .bhv-lb__arr svg { transform: scaleX(-1); }
.bhv-gal__count { position: absolute; bottom: 16px; inset-inline-end: 16px; z-index: 2; padding: 4px 11px; border-radius: 20px; background: rgba(35,31,32,.74); color: #fff; font: 600 13px/20px var(--sans); font-variant-numeric: tabular-nums; pointer-events: none; }
.bhv .bhv-gal__thumbs { display: flex; gap: 10px; margin-top: 12px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: thin; }
.bhv-gal__thumbs li { flex: none; }
/* полоса миниатюр: прокрутка пальцем и перетаскивание мышью; картинки не «тащатся» вместо полосы */
.bhv .bhv-gal__thumbs { touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.bhv .bhv-gal__thumbs.is-drag { cursor: grabbing; scroll-behavior: auto; }
.bhv .bhv-gal__thumbs.is-drag button { cursor: grabbing; }
.bhv-gal__thumbs img { pointer-events: none; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
/* телефон и сенсорные экраны: листают пальцем — полоса прокрутки не нужна */
@media (max-width: 700px), (pointer: coarse) {
  .bhv .bhv-gal__thumbs { padding-bottom: 0; scrollbar-width: none; }
  .bhv .bhv-gal__thumbs::-webkit-scrollbar { display: none; }
}
.bhv-gal__thumbs button { position: relative; display: block; width: 104px; aspect-ratio: 3 / 2; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: #dcd7d7; cursor: pointer; opacity: .7; transition: opacity .15s, border-color .15s; }
.bhv-gal__thumbs button:hover { opacity: 1; }
.bhv-gal__thumbs button[aria-current="true"] { border-color: var(--red); opacity: 1; }
.bhv-gal__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bhv-gal__thumbs .is-video svg { position: absolute; inset: 0; width: 24px; height: 24px; margin: auto; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }

/* видео YouTube: превью, по нажатию — плеер */
.bhv-yt { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: #000; cursor: pointer; }
.bhv-yt img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.bhv-yt__play { position: absolute; inset: 0; display: grid; place-items: center; width: 80px; height: 80px; margin: auto; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .15s; }
.bhv-yt:hover .bhv-yt__play { transform: scale(1.06); }
.bhv-yt__play svg { width: 30px; height: 30px; margin-inline-start: 4px; }
.bhv-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* видеообзор — карточка: видео слева, справа заголовок, характеристики, цена и кнопки */
.bhv-vid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); align-items: stretch; overflow: hidden; border-radius: var(--r); background: #fff; }
.bhv-vid__player { aspect-ratio: 16 / 9; height: auto; border-radius: 0; }
.bhv-vid__info { display: flex; flex-direction: column; justify-content: center; padding: 30px 32px; }
.bhv-vid__info .bhv-h2 { margin-bottom: 4px; font-size: clamp(22px, 2.2vw, 30px); }
.bhv-vid__spec { margin-top: 18px; }
.bhv .bhv-vid__price { margin-top: 18px; }
.bhv-vid__act { display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 8px; margin-top: 18px; }
.bhv-vid__act .bh-btn { height: 52px; }
.bhv-vid__act .bh-btn--wa { width: 52px; }

/* карточка брони */
.bhv-book { position: sticky; top: calc(var(--hd) + 16px); padding: 24px; border-radius: var(--r); background: #fff; box-shadow: 0 18px 44px rgba(35,31,32,.07); }
.bhv-book__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.bhv-chip { padding: 4px 11px; border-radius: 20px; background: var(--tint); color: var(--mut); font-size: 13px; line-height: 20px; text-decoration: none; }
.bhv-chip:hover { color: var(--ink); }
.bhv-rate { font-size: 14px; }
.bhv-h1 { margin: 12px 0 0; font: 800 clamp(26px, 2.5vw, 34px)/1.08 var(--sans); font-variation-settings: "wdth" 112; letter-spacing: -.01em; text-transform: none; color: var(--ink); text-wrap: balance; }
.bhv-short { margin-top: 18px; }
.bhv-price { margin-top: 20px; }
.bhv-price .a2-day.bh-car__price { margin-top: 0; }
.bhv-price .a2-day b { font-size: 36px; line-height: 1; }
.bhv .bhv-tiers { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.bhv-tiers button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; height: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-family: var(--sans); font-variant-numeric: tabular-nums; text-align: start; cursor: pointer; transition: border-color .15s, background .15s; }
.bhv-tiers button:hover { border-color: #c9c1c2; }
.bhv-tiers button[aria-pressed="true"] { border-color: var(--ink); background: var(--tint); box-shadow: inset 0 0 0 1px var(--ink); }
.bhv-tiers span { font-size: 12px; color: var(--mut); white-space: nowrap; }
.bhv-tiers b { font-size: 16px; font-weight: 800; }
.bhv-tiers b .js-price, .bhv-tiers b .js-price span { color: inherit; font: inherit; }
.bhv-tiers em, .bhv-save { display: inline-block; padding: 0 6px; border-radius: 5px; background: #E5F4EA; color: #17663A; font: 700 11px/18px var(--sans); font-style: normal; }

.bhv-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.bhv-date { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-family: var(--sans); text-align: start; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.bhv-date:hover { border-color: #c9c1c2; }
.bhv-date.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bhv-date span { font-size: 12px; color: var(--mut); }
.bhv-date b { font: 600 15px/24px var(--sans); white-space: nowrap; }
.bhv .bhv-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: var(--tint); font-variant-numeric: tabular-nums; }
.bhv .bhv-sum[hidden] { display: none; }
.bhv-sum > span { font-size: 14px; color: var(--mut); }
.bhv-sum i { font-style: normal; color: var(--ink); font-weight: 600; }
.bhv-sum b { margin-inline-start: auto; font-size: 22px; font-weight: 800; }
.bhv-sum b .js-price, .bhv-sum b .js-price span { color: inherit; font: inherit; }
.bhv-sum small { flex-basis: 100%; font-size: 13px; color: #17663A; text-align: end; }
.bhv-sum small:empty { display: none; }

.bhv-act { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 52px); gap: 8px; margin-top: 16px; }
.bhv-act .bh-btn { height: 54px; }
.bhv-act .bh-btn--red { font-size: 17px; }
.bhv-act .bh-btn--wa { width: 52px; }
.bhv-call svg { width: 20px; height: 20px; color: var(--ink); }
.bhv-call:hover { border-color: var(--ink); }

.bhv .bhv-facts { display: grid; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.bhv-facts li { display: flex; align-items: flex-start; gap: 10px; }
.bhv-facts svg { flex: none; width: 18px; height: 18px; }
.bhv-facts li > span { display: flex; flex: 1; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
.bhv-facts b { font-weight: 400; color: var(--mut); }
.bhv-facts em { font-style: normal; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Первый экран «hero»: чистое фото на всю ширину (без текста на машине), снизу переходит в тёмную полосу —
   в ней название, три цифры и «Start the engine»; карточка брони заходит на фото справа
   -------------------------------------------------------------------------- */
.bhv > .bhv-hero { width: 100%; }
.bhv-hero { --hero-bg: #141112; position: relative; background: var(--hero-bg); color: #fff; }
.bhv .bhv-hero__media { --hh: clamp(440px, 62vh, 740px); position: relative; height: var(--hh); overflow: hidden; border-radius: 0; aspect-ratio: auto; background: var(--hero-bg); transform-origin: 50% 60%; }
.bhv-hero__media .bhv-gal__track { height: 100%; }
/* фото — целиком, в своих пропорциях (3:2), по центру; по бокам — оно же, размытое, края — мягкие */
/* фото — по центру экрана, не уже 1280 px, на широком экране по бокам — оно же, размытое; карточка брони — ниже, фото не перекрывает */
.bhv-hero__media .bhv-gal__open { position: relative; display: flex; justify-content: center; overflow: hidden; }
.bhv-hero__media .bhv-gal__open > img:not(.bhv-hero__amb) { position: relative; width: min(100%, max(calc(var(--hh) * 1.5), 1280px)); height: 100%; object-fit: cover; object-position: center 66%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  animation: bhv-hero-in 1.8s cubic-bezier(.2,.7,.2,1) both; }
.bhv-hero__amb { position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); object-fit: cover; filter: blur(40px) brightness(.5) saturate(1.15); }
.bhv-hero__media .bhv-yt img { width: min(100%, calc(var(--hh) * 1.78)); margin: 0 auto; }
@keyframes bhv-hero-in { from { transform: scale(1.05); } to { transform: none; } }
.bhv-hero__media::after { content: ""; position: absolute; inset: auto 0 0; height: 20%; z-index: 1; pointer-events: none; background: linear-gradient(0deg, var(--hero-bg) 0%, rgba(20,17,18,.6) 45%, rgba(20,17,18,0) 100%); }
.bhv-hero .bhv-gal__arr { top: 45%; background: rgba(255,255,255,.85); }
.bhv-hero .bhv-gal__count { top: 20px; bottom: auto; }
/* полоса под фото: миниатюры (сразу под фото), под ними слева — название и цифры (тёмный фон), ниже — условия (светлый фон);
   карточка брони справа — от заголовка вниз, стоит на стыке тёмного и светлого */
.bhv-hero__band { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(360px, 1fr); grid-template-rows: auto auto 1fr; column-gap: 28px; align-items: start; }
.bhv-hero__strip { grid-area: 1 / 1 / 2 / -1; min-width: 0; padding: 10px 0 20px; }
.bhv-hero__strip .bhv-gal__thumbs { margin-top: 0; }
.bhv-hero__strip .bhv-gal__thumbs button { width: 72px; border-color: transparent; opacity: .55; }
.bhv-hero__strip .bhv-gal__thumbs button:hover { opacity: .9; }
.bhv-hero__strip .bhv-gal__thumbs button[aria-current="true"] { border-color: var(--red); opacity: 1; }
.bhv-hero__low { grid-area: 3 / 1; align-self: stretch; position: relative; z-index: 0; min-width: 0; padding: 16px 0 28px; }
/* светлый фон на всю ширину экрана — тенью, обрезанной по высоте блока (без overflow: тень карточки не режется) */
.bhv-hero__low::before { content: ""; position: absolute; inset: 0 0 -2px; z-index: -1; background: var(--ground); box-shadow: 0 0 0 100vmax var(--ground); clip-path: inset(0 -100vmax); }
/* условия — крупными плашками: значок, значение, подпись */
.bhv .bhv-perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }   /* высоту под низ карточки брони (в исходном виде) ставит car-v3.js */
.bhv-perks li { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding: 14px 16px 12px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(35,31,32,.05); }
.bhv-perks__ic { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 6px; border-radius: 11px; background: #FDECEC; color: var(--red); }
.bhv-perks__ic svg { width: 20px; height: 20px; }
.bhv-perks b { font: 700 16px/1.25 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.bhv-perks b .js-price, .bhv-perks b .js-price span { color: inherit; font: inherit; }
.bhv-perks li > span:last-child { font-size: 12px; line-height: 1.3; color: var(--mut); }
.bhv-hero__text { animation: bhv-hero-txt .9s .25s cubic-bezier(.2,.7,.2,1) both; }
@keyframes bhv-hero-txt { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bhv-hero__h1 { margin: 0; font-family: var(--sans); text-transform: none; color: #fff; }
.bhv-hero__pre, .bhv-hero__post { display: block; font: 500 15px/1.3 var(--sans); color: rgba(255,255,255,.62); }
.bhv-hero__name { display: block; margin: 6px 0; font: 700 clamp(40px, 5vw, 72px)/1 var(--sans); letter-spacing: -.015em; text-wrap: balance; }
.bhv-hero__name.is-long { font-size: clamp(34px, 3.8vw, 56px); }   /* длинное название — в одну строку */
.bhv-hero__name.is-xlong { font-size: clamp(28px, 2.8vw, 42px); }
.bhv-hero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.bhv .bhv-hero__stats { display: flex; flex-wrap: wrap; margin: 0; }
.bhv-hero__stats div { display: flex; flex-direction: column-reverse; gap: 4px; padding-inline-end: 28px; margin-inline-end: 28px; border-inline-end: 1px solid rgba(255,255,255,.14); }
.bhv-hero__stats div:last-child { margin: 0; padding: 0; border: 0; }
.bhv-hero__stats dd { margin: 0; font: 600 26px/1 var(--sans); font-variant-numeric: tabular-nums; }
.bhv-hero__stats dt { font-size: 12px; color: rgba(255,255,255,.55); }
.bhv-hero__rev { display: inline-flex; flex: none; align-items: center; gap: 10px; height: 46px; margin-top: 0; padding: 0 20px 0 6px; border: 1px solid rgba(255,255,255,.22); border-radius: 40px; background: rgba(255,255,255,.06); color: #fff; font: 600 15px var(--sans); cursor: pointer; transition: background .2s, border-color .2s; }
.bhv-hero__rev:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); }
.bhv-hero__rev-ic { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); }
.bhv-hero__rev-ic svg { width: 14px; height: 14px; margin-inline-start: 2px; }
.bhv-hero__rev-ic i { display: none; width: 10px; height: 12px; border-inline: 3.5px solid #fff; }
.bhv-hero__rev.is-playing { background: var(--red); border-color: var(--red); }
.bhv-hero__rev.is-playing .bhv-hero__rev-ic { background: rgba(0,0,0,.22); }
.bhv-hero__rev.is-playing svg { display: none; }
.bhv-hero__rev.is-playing .bhv-hero__rev-ic i { display: block; }
.bhv-hero__text { grid-area: 2 / 1; padding-bottom: 26px; }
.bhv-hero .bhv-book { grid-column: 2; grid-row: 2 / span 2; align-self: start; position: relative; z-index: 3; top: auto; margin-top: 0; margin-bottom: 28px; color: var(--ink); box-shadow: 0 2px 6px rgba(20,17,18,.06), 0 22px 48px rgba(20,17,18,.16); }
/* хлебные крошки — поверх фото сверху; для читаемости — лёгкое затемнение у верхнего края */
.bhv .bhv-hero__crumbs { position: absolute; top: 0; inset-inline: 0; z-index: 4; padding-top: 18px; padding-bottom: 18px; text-shadow: 0 1px 6px rgba(0,0,0,.5); pointer-events: none; }
.bhv-hero__crumbs a, .bhv-hero__crumbs .breadcrumbs { pointer-events: auto; }
.bhv-hero__media::before { content: ""; position: absolute; inset: 0 0 auto; height: 120px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20,17,18,.55) 0%, rgba(20,17,18,0) 100%); }
.bhv-hero .bhv-gal__badge { top: 60px; left: auto; right: auto; inset-inline-start: calc(max(0px, (100% - var(--max)) / 2) + var(--gut)); }   /* по левому краю контента (как хлебные крошки), а не экрана */
.bhv-hero__crumbs .breadcrumbs, .bhv-hero__crumbs .breadcrumbs__link { color: rgba(255,255,255,.62); }
.bhv-hero__crumbs .breadcrumbs__link:hover { color: #fff; }
.bhv-hero__crumbs .breadcrumbs__item.active .breadcrumbs__link { color: #fff; }
.bhv-hero__crumbs .breadcrumbs__item:not(:last-child)::after { color: rgba(255,255,255,.32); }

/* --------------------------------------------------------------------------
   Календарь интервала (вынесен в body, поэтому свои токены)
   -------------------------------------------------------------------------- */
.bhv-cal { --ink: #231F20; --red: #E32320; --mut: #6F686A; --line: #E5E1E1; --tint: #F6F4F3; --range: #FBE3E2;
  position: fixed; z-index: 100050; width: 640px; max-width: calc(100vw - 24px); padding: 20px 22px 16px; border-radius: 16px; background: #fff; color: var(--ink);
  box-shadow: 0 24px 60px rgba(20,17,18,.22), 0 2px 8px rgba(20,17,18,.08); font: 400 14px/1.4 "Archivo", "Proxima Nova", Arial, sans-serif; }
.bhv-cal[hidden] { display: none; }
.bhv-cal *, .bhv-cal *::before { box-sizing: border-box; }
.bhv-cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bhv-cal__t { display: block; margin-bottom: 12px; font: 700 15px var(--sans, inherit); text-align: center; text-transform: capitalize; }
.bhv-cal__wd, .bhv-cal__g { display: grid; grid-template-columns: repeat(7, 1fr); }
.bhv-cal__wd span { padding-bottom: 6px; font-size: 12px; color: var(--mut); text-align: center; text-transform: capitalize; }
.bhv-cal__g > * { height: 40px; }
.bhv-cal__g button { position: relative; margin: 1px 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); font: 500 14px inherit; font-family: inherit; font-variant-numeric: tabular-nums; cursor: pointer; }
.bhv-cal__g button:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 10px; }
.bhv-cal__g button:disabled { color: #C9C3C4; cursor: default; }
.bhv-cal__g button.is-today { font-weight: 800; }
.bhv-cal__g button.is-today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
/* интервал: дни между — розовая полоса, начало и конец — красные */
.bhv-cal__g button.is-in, .bhv-cal__g button.is-preview { background: var(--range); }
.bhv-cal__g button.is-start, .bhv-cal__g button.is-end { background: var(--red); color: #fff; font-weight: 700; border-radius: 10px; }
.bhv-cal__g button.is-start.is-today::after, .bhv-cal__g button.is-end.is-today::after { background: #fff; }
.bhv-cal__g button.is-preview.is-end { background: var(--red); }
.bhv-cal__nav { position: absolute; top: 14px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.bhv-cal__nav:hover:not(:disabled) { border-color: var(--ink); }
.bhv-cal__nav:disabled { opacity: .35; cursor: default; }
.bhv-cal__nav svg { width: 16px; height: 16px; }
.bhv-cal__nav--p { left: 16px; }
.bhv-cal__nav--n { right: 16px; }
[dir="rtl"] .bhv-cal__nav--p { left: auto; right: 16px; } [dir="rtl"] .bhv-cal__nav--n { right: auto; left: 16px; }
[dir="rtl"] .bhv-cal__nav svg { transform: scaleX(-1); }
.bhv-cal__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.bhv-cal__info { display: flex; flex-direction: column; gap: 2px; margin: 0; min-width: 0; }
.bhv-cal__info b { font-size: 15px; font-weight: 700; }
.bhv-cal__info span { font-size: 13px; color: var(--mut); }
.bhv-cal__info .js-price, .bhv-cal__info .js-price span { color: var(--ink); font-weight: 700; }
.bhv-cal__done { flex: none; height: 44px; padding: 0 26px; border: 0; border-radius: 10px; background: var(--red); color: #fff; font: 700 15px inherit; font-family: inherit; cursor: pointer; }
.bhv-cal__done:disabled { opacity: .4; cursor: default; }
@media (max-width: 700px) {
  /* телефон — панель снизу, месяцы друг под другом */
  .bhv-cal { inset: auto 0 0 0 !important; width: 100%; max-width: none; max-height: 86dvh; overflow-y: auto; padding: 18px 16px calc(14px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; }
  .bhv-cal__months { grid-template-columns: 1fr; gap: 18px; }
  .bhv-cal__foot { position: sticky; bottom: calc(-14px - env(safe-area-inset-bottom)); margin: 14px -16px 0; padding: 12px 16px; background: #fff; }
  html.bhv-cal-lock { overflow: hidden; }
  html.bhv-cal-lock body::after { content: ""; position: fixed; inset: 0; z-index: 100040; background: rgba(20,17,18,.45); }
}

/* --------------------------------------------------------------------------
   Меню разделов
   -------------------------------------------------------------------------- */
.bhv-nav { position: sticky; top: var(--hd); z-index: 20; margin-top: 44px; border-bottom: 1px solid var(--line); background: rgba(241,240,239,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bhv-nav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.bhv-nav ul::-webkit-scrollbar { display: none; }
.bhv-nav a, .bhv-nav__tab { display: block; padding: 15px 12px 13px; border-bottom: 2px solid transparent; color: var(--mut); font: 600 15px var(--sans); text-decoration: none; white-space: nowrap; }
.bhv-nav a:hover, .bhv-nav__tab:hover { color: var(--ink); }
.bhv-nav__tab { display: inline-flex; align-items: center; gap: 4px; margin: 0; border-top: 0; border-inline: 0; background: none; cursor: pointer; }
.bhv-nav__tab svg { width: 15px; height: 15px; margin-inline-start: 2px; transition: transform .2s; }
.bhv-nav__tab[aria-expanded="true"] { color: var(--ink); }
.bhv-nav__tab[aria-expanded="true"] svg { transform: rotate(180deg); }
.bhv-nav__tab.is-on { border-color: var(--red); color: var(--ink); }
.bhv-nav a.is-on { border-color: var(--red); color: var(--ink); }
.bhv-nav a span, .bhv-nav__tab span { margin-inline-start: 4px; padding: 1px 7px; border-radius: 10px; background: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Разделы
   -------------------------------------------------------------------------- */
.bhv-sec { padding-top: 56px; scroll-margin-top: calc(var(--hd) + 56px); }
.bhv-h2 { margin: 0 0 20px; font: 800 clamp(24px, 2.6vw, 34px)/1.1 var(--sans); font-variation-settings: "wdth" 112; letter-spacing: -.01em; text-transform: none; color: var(--ink); text-wrap: balance; }
.bhv-h3 { margin: 0; font: 700 20px/1.25 var(--sans); text-transform: none; color: inherit; text-wrap: balance; }

/* требования к водителю (главный блок раздела) + характеристики (узкая карточка) */
.bhv-sec--req { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr); gap: 28px; align-items: stretch; }
.bhv-req, .bhv-spec-card { scroll-margin-top: calc(var(--hd) + 64px); border-radius: var(--r); background: #fff; }
.bhv-req { padding: 32px; }
.bhv-req .bhv-h2 { margin-bottom: 22px; }
.bhv .bhv-req__key { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bhv-req__key li { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 12px; background: var(--tint); }
.bhv-req__ic { display: grid; flex: none; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: var(--red); color: #fff; }
.bhv-req__ic svg { width: 26px; height: 26px; }
.bhv-req__key b { font: 800 20px/1.25 var(--sans); font-variation-settings: "wdth" 106; }
.bhv-req__docs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 24px; }
.bhv-req__docs h3 { margin: 0 0 12px; font: 700 15px/1.3 var(--sans); text-transform: none; color: var(--mut); }
.bhv-req__docs li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.4; }
.bhv-req__docs li + li { margin-top: 10px; }
.bhv-req__docs svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }

.bhv-spec-card { padding: 24px 24px 14px; }
.bhv-spec-card .bhv-h3 { margin-bottom: 6px; }
/* характеристики — два столбца: значок, подпись, значение */
.bhv-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; margin: 0; }
.bhv-specs > div { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.bhv-specs > div:nth-child(-n+2) { border-top: 0; }
.bhv-specs dt { display: contents; font-size: 12px; line-height: 1.3; color: var(--mut); }
.bhv-specs__ic { grid-row: 1 / 3; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--tint); color: var(--red); }
.bhv-specs__ic svg { width: 17px; height: 17px; }
.bhv-specs dd { grid-column: 2; margin: 0; font: 700 15px/1.3 var(--sans); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* вкладки в меню разделов (комплектация; отзывы, когда их нет): содержимое — под меню, только по нажатию */
.bhv-panels { scroll-margin-top: calc(var(--hd) + 64px); }
.bhv-panel { margin-top: 28px; padding: 28px 32px 32px; border-radius: var(--r); background: #fff; scroll-margin-top: calc(var(--hd) + 66px); }
.bhv-panel[hidden] { display: none; }
.bhv-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.bhv-panel__head .bhv-h2 { margin: 0; }
.bhv-panel__x { display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.bhv-panel__x:hover { border-color: var(--ink); }
.bhv-panel__x svg { width: 18px; height: 18px; }
.bhv-panel .bhv-equip li { background: var(--tint); }
.bhv-panel .bhv-rv--none { padding: 0; background: none; }
.bhv-panel .bhv-rv__form .reviews-form { margin-top: 20px; padding: 0; background: none; }

/* таблица цен */
.bhv-ptable { overflow: hidden; border-radius: var(--r); background: #fff; }
.bhv-ptable table { width: 100%; margin: 0; border-collapse: collapse; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.bhv-ptable th, .bhv-ptable td { padding: 16px 22px; border-top: 1px solid var(--line); text-align: start; vertical-align: middle; }
.bhv-ptable thead th { border-top: 0; background: var(--tint); color: var(--mut); font-size: 13px; font-weight: 600; }
.bhv-ptable tbody th { font-weight: 700; white-space: nowrap; }
.bhv-ptable td b { font-size: 18px; font-weight: 800; }
.bhv-ptable .js-price, .bhv-ptable .js-price span { color: inherit; font: inherit; }
.bhv-ptable small { font-size: 13px; color: var(--mut); }
.bhv-ptable s { font-size: 14px; color: var(--mut2); }
.bhv-ptable .bhv-save { font-size: 13px; line-height: 22px; padding: 0 8px; }
.bhv-ptable tr.is-best > * { background: #F3FAF5; }
.bhv-ptable .bhv-save--m { display: none; }
.bhv-cap { margin-top: 10px !important; font-size: 13px; color: var(--mut); }

/* комплектация */
.bhv-equip { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.bhv-equip li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: 12px; background: #fff; font-size: 15px; line-height: 1.3; }
.bhv-equip img { flex: none; width: 28px; height: 28px; object-fit: contain; }

/* звук выхлопа — полоса на всю ширину после меню: фото машины фоном, кнопка, название, эквалайзер в такт звуку, время */
.bhv-sec--snd { padding-top: 28px; }
.bhv-sec--snd + .bhv-sec--req { padding-top: 20px; }
.bhv-snd { position: relative; display: flex; align-items: center; gap: 20px; min-height: 104px; padding: 20px 26px 20px 22px; overflow: hidden; border-radius: var(--r); background: var(--ink); color: #fff; isolation: isolate; }
.bhv-snd__bg { position: absolute; inset: 0; z-index: -2; }
.bhv-snd__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transform: scale(1.02); transition: transform 8s ease; }
.bhv-snd.is-playing .bhv-snd__bg img { transform: scale(1.07); }
.bhv-snd::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,17,18,.92) 0%, rgba(20,17,18,.78) 32%, rgba(20,17,18,.45) 100%); }
.bhv-snd__play { position: relative; flex: none; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(227,35,32,.4); cursor: pointer; transition: transform .15s, background .15s; }
.bhv-snd__play:hover { background: var(--red-d); transform: scale(1.05); }
.bhv-snd__play svg { position: relative; width: 22px; height: 22px; margin-inline-start: 3px; }
.bhv-snd__play i { display: none; position: relative; width: 16px; height: 18px; border-inline: 5px solid #fff; }
.bhv-snd.is-playing .bhv-snd__play svg { display: none; }
.bhv-snd.is-playing .bhv-snd__play i { display: block; }
.bhv-snd__ring, .bhv-snd__ring::after { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); opacity: 0; pointer-events: none; }
.bhv-snd__ring::after { content: ""; inset: -2px; }
.bhv-snd.is-playing .bhv-snd__ring { animation: bhv-ring 1.6s ease-out infinite; }
.bhv-snd.is-playing .bhv-snd__ring::after { animation: bhv-ring 1.6s ease-out .8s infinite; }
@keyframes bhv-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.75); opacity: 0; } }
.bhv-snd__body { flex: 0 1 300px; min-width: 0; }
.bhv .bhv-snd__h { margin: 0; font: 700 18px/1.25 var(--sans); text-transform: none; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.bhv .bhv-snd__sub { margin-top: 3px; font-size: 13px; color: rgba(255,255,255,.72); }
.bhv-snd__spec { display: flex; flex: 1; align-items: center; justify-content: space-between; min-width: 0; height: 52px; cursor: pointer; }
.bhv-snd__spec b { display: block; flex: 0 0 3px; height: var(--h); border-radius: 2px; background: rgba(255,255,255,.5); transition: background .15s; }
.bhv-snd__spec b.is-on { background: var(--red); box-shadow: 0 0 8px rgba(227,35,32,.7); }
.bhv-snd__time { flex: none; min-width: 3em; padding: 3px 10px; border-radius: 20px; background: rgba(255,255,255,.14); font: 600 14px var(--sans); font-variant-numeric: tabular-nums; text-align: center; }
.bhv-snd__time:empty { display: none; }
/* без живого звука (другой домен, старый браузер) — полоски «дышат» сами */
.bhv-snd.is-playing.is-css .bhv-snd__spec b { animation: bhv-bar .9s ease-in-out infinite alternate; }
.bhv-snd.is-playing.is-css .bhv-snd__spec b:nth-child(3n) { animation-duration: .7s; }
.bhv-snd.is-playing.is-css .bhv-snd__spec b:nth-child(4n+1) { animation-duration: 1.1s; animation-delay: -.3s; }
@keyframes bhv-bar { from { transform: scaleY(.45); } to { transform: scaleY(1.1); } }

/* отзывы */
.bhv-rv { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.bhv-rv__sum { position: sticky; top: calc(var(--hd) + 72px); padding: 24px; border-radius: var(--r); background: #fff; }
.bhv-rv__big { display: flex; align-items: center; gap: 16px; }
.bhv-rv__big > b { font: 800 60px/1 var(--sans); font-variation-settings: "wdth" 112; font-variant-numeric: tabular-nums; }
.bhv-rv__big span { display: block; margin-top: 4px; font-size: 14px; color: var(--mut); }
.bhv-stars { position: relative; display: inline-block; color: #E4DEDE; font-size: 20px; line-height: 1; letter-spacing: 2px; white-space: nowrap; }
.bhv-stars::before { content: "★★★★★"; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--v); overflow: hidden; color: #F2A93B; }
.bhv-rv__by { display: grid; gap: 10px; margin: 22px 0; }
.bhv-rv__by > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 10px; font-size: 14px; }
.bhv-rv__by dt { color: var(--mut); }
.bhv-rv__by dd { display: flex; align-items: center; gap: 10px; margin: 0; }
.bhv-rv__by i { position: relative; flex: 1; height: 6px; overflow: hidden; border-radius: 3px; background: var(--tint); }
.bhv-rv__by i::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--v); border-radius: 3px; background: var(--ink); }
.bhv-rv__by b { width: 2em; font-variant-numeric: tabular-nums; text-align: end; }
.bhv-rv__sum .bh-btn { width: 100%; }
.bhv-rv__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bhv-rv__list li { padding: 20px 22px; border-radius: var(--r); background: #fff; }
.bhv-rv__list:not(.is-open) li.is-more { display: none; }
.bhv-more--m { display: none; }
.bhv-rv__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bhv-rv__av { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 15px var(--sans); }
.bhv-rv__head b { display: block; font-size: 15px; line-height: 1.3; }
.bhv-rv__head time { font-size: 13px; color: var(--mut); }
.bhv-rv__score { margin-inline-start: auto; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bhv-rv__score i { margin-inline-end: 3px; color: #F2A93B; font-style: normal; }
.bhv-rv__list p { font: 400 16px/1.6 var(--serif); color: #3d3637; }
.bhv-rv--none { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border-radius: var(--r); background: #fff; }
.bhv-rv--none p { font-size: 17px; }
/* форма отзыва — штатная (comments/form.php), только оформление */
.bhv-rv__form .reviews-form { margin: 20px 0 0; padding: 28px; border-radius: var(--r); background: #fff; font-family: var(--sans); }
.bhv-rv__form .reviews-form.disable-block { display: none; }
.bhv-rv__form .reviews-form__title { margin: 0 0 18px; font: 700 22px/1.25 var(--sans); text-transform: none; color: var(--ink); }

/* описание машины — оформление SEO-текста каталога; заголовок раздела — как у прежнего шаблона */
.bhv-about { padding-top: 40px; scroll-margin-top: calc(var(--hd) + 40px); }

/* перед белым блоком отзывов Google — отступ */
.bhv > .bhv-sec + .bh-sec, .bhv > .bhv-about + .bh-sec { margin-top: 72px; }

/* одиночная карточка в тексте («Good to know:», «Important:») — по ширине колонки текста, а не в половину сетки */
.bhv.a2 .bh-guide-sec .bd-post .a2b--n1 { grid-column: text; grid-template-columns: minmax(0, 1fr); }

/* другие машины модели, похожие модели */
.bhv .bhv-same { margin-top: 0; }
.bhv-sim { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.bhv-sim a { display: flex; flex-direction: column; gap: 3px; height: 100%; padding-bottom: 16px; overflow: hidden; border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; transition: box-shadow .2s; }
.bhv-sim a:hover { box-shadow: 0 12px 30px rgba(35,31,32,.1); }
.bhv-sim__img { display: block; margin-bottom: 10px; overflow: hidden; background: var(--tint); aspect-ratio: 3 / 2; }
.bhv-sim__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bhv-sim a:hover .bhv-sim__img img { transform: scale(1.04); }
.bhv-sim b, .bhv-sim a > span:last-child { padding-inline: 16px; }
.bhv-sim b { font-size: 16px; line-height: 1.25; }
.bhv-sim a:hover b { color: var(--red); }
.bhv-sim a > span:last-child { font-size: 13px; color: var(--mut); font-variant-numeric: tabular-nums; }
.bhv-sim .js-price, .bhv-sim .js-price span { color: inherit; font: inherit; }

/* полноэкранный просмотр фото */
.bhv-lb { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18,16,17,.97); color: #fff; }
.bhv-lb[open] { display: grid; place-items: center; }
.bhv-lb::backdrop { background: rgba(18,16,17,.9); }
.bhv-lb img { max-width: 94vw; max-height: 86vh; max-height: 86dvh; object-fit: contain; user-select: none; }
.bhv-lb__x, .bhv-lb__arr { position: fixed; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.bhv-lb__x:hover, .bhv-lb__arr:hover { background: rgba(255,255,255,.24); }
.bhv-lb__x svg, .bhv-lb__arr svg { width: 22px; height: 22px; }
.bhv-lb__x { top: 16px; inset-inline-end: 16px; }
.bhv-lb__arr { top: 50%; margin-top: -26px; }
.bhv-lb__arr--p { inset-inline-start: 16px; }
.bhv-lb__arr--n { inset-inline-end: 16px; }
.bhv-lb__n { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font: 600 14px var(--sans); font-variant-numeric: tabular-nums; }

/* панель брони внизу экрана (телефон, планшет) */
.bhv-bar { display: none; }

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .bhv-top, .bhv-sec--req { grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr); }
  .bhv .bhv-perks { grid-template-columns: 1fr 1fr; }
  .bhv .bhv-req__key { grid-template-columns: 1fr; }
  .bhv-rv { grid-template-columns: 300px minmax(0, 1fr); }
  .bhv-rv__list { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .bhv-top, .bhv-sec--req { grid-template-columns: 1fr; gap: 16px; }
  .bhv-top { grid-template-areas: "gal" "book"; }
  .bhv-hero__band { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 0; }
  .bhv-hero__text { padding-bottom: 24px; }
  .bhv-hero .bhv-book { grid-area: auto; align-self: start; margin-top: 0; margin-bottom: 28px; }
  .bhv-hero__strip, .bhv-hero__low { grid-area: auto; }
  .bhv-book { position: static; }
  .bhv .bhv-req__key { grid-template-columns: 1fr 1fr; }
  .bhv-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
  .bhv-specs > div:nth-child(3) { border-top: 0; }
  .bhv-rv { grid-template-columns: 1fr; }
  .bhv-rv__sum { position: static; }
  .bhv-vid { grid-template-columns: 1fr; }
  .bhv-vid__info { padding: 22px 20px 24px; }
  .bhv-rv__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bhv-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: minmax(0, 1fr) auto 50px; align-items: center; gap: 8px;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 24px rgba(35,31,32,.12); transform: translateY(110%); transition: transform .25s ease; }
  .bhv-bar.is-on { transform: none; }
  .bhv-bar__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; min-width: 0; font-variant-numeric: tabular-nums; }
  .bhv-bar__price b { font-size: 20px; font-weight: 800; white-space: nowrap; }
  .bhv-bar__price span { font-size: 13px; color: var(--mut); }
  .bhv-bar .js-price, .bhv-bar .js-price span { color: inherit; font: inherit; }
  .bhv-bar .bh-btn { height: 48px; }
  .bhv-bar .bh-btn--red { padding: 0 22px; }
  .bhv-bar .bh-btn--wa { width: 50px; }
}
@media (max-width: 700px) {
  .bhv-crumbs { padding-top: 12px; }
  .bhv-crumbs .breadcrumbs { font-size: 13px; }
  .bhv-top { gap: 18px; padding-top: 12px; }
  .bhv-gal { margin-inline: calc(var(--gut) * -1); }
  .bhv-gal__main { border-radius: 0; aspect-ratio: 4 / 3; }
  .bhv-gal__arr { display: none; }
  .bhv .bhv-hero__media { --hh: calc(100vw * .75); height: var(--hh); }
  .bhv-hero .bhv-gal__count { top: auto; bottom: 14px; }
  .bhv .bhv-hero__crumbs { padding-top: 12px; }
  .bhv-hero__media .bhv-gal__open > img:not(.bhv-hero__amb) { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .bhv-hero__strip { padding: 10px 0 18px; }
  .bhv-hero__strip .bhv-gal__thumbs button { width: 64px; }
  .bhv-hero__low { padding-top: 18px; }
  .bhv .bhv-perks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bhv-perks li { padding: 14px; }
  .bhv-perks__ic { width: 34px; height: 34px; }
  .bhv-hero__name { font-size: clamp(34px, 10vw, 46px); }
  .bhv-hero__row { margin-top: 16px; padding-top: 14px; }
  .bhv-hero__stats div { padding-inline-end: 16px; margin-inline-end: 16px; }
  .bhv-hero__stats dd { font-size: 21px; }
  .bhv-hero__rev { margin-top: 2px; }
  .bhv-gal__thumbs { padding-inline: var(--gut); gap: 8px; }
  .bhv-gal__thumbs button { width: 76px; border-radius: 8px; }
  .bhv-book { padding: 18px; }
  .bhv-price .a2-day b { font-size: 32px; }
  .bhv-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bhv-act { grid-template-columns: minmax(0, 1fr) repeat(3, 48px); }
  .bhv-act .bh-btn--wa { width: 48px; }
  .bhv-act .bh-btn { height: 50px; }
  .bhv-nav { margin-top: 32px; }
  .bhv-nav a, .bhv-nav__tab { padding: 13px 10px 11px; font-size: 14px; }
  .bhv-sec { padding-top: 44px; }
  .bhv-req { padding: 22px 18px; }
  .bhv .bhv-req__key { grid-template-columns: 1fr; gap: 8px; }
  .bhv-req__key li { gap: 14px; padding: 14px; }
  .bhv-req__ic { width: 44px; height: 44px; border-radius: 11px; }
  .bhv-req__ic svg { width: 22px; height: 22px; }
  .bhv-req__key b { font-size: 17px; }
  .bhv-req__docs { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
  .bhv-req__docs li { font-size: 15px; }
  .bhv-spec-card { padding: 20px 18px 8px; }
  .bhv-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .bhv-specs > div:nth-child(3) { border-top: 1px solid var(--line); }
  .bhv-specs > div { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .bhv-specs__ic { display: none; }
  .bhv-specs dd { grid-column: 1; }
  .bhv-panel { margin-top: 18px; padding: 20px 18px 22px; }
  .bhv-panel__x { width: 40px; height: 40px; }
  /* телефон: экономия — под сроком, без отдельной колонки */
  .bhv-ptable th, .bhv-ptable td { padding: 12px 10px; font-size: 14px; }
  .bhv-ptable td b { font-size: 16px; }
  .bhv-ptable td b, .bhv-ptable td > .js-price { white-space: nowrap; }
  .bhv-ptable small { display: block; }
  .bhv-ptable thead th:last-child, .bhv-ptable td:last-child { display: none; }
  .bhv-ptable .bhv-save--m { display: table; margin-top: 4px; }
  .bhv-equip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bhv-equip li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; font-size: 14px; }
  .bhv-sec--snd { padding-top: 20px; }
  .bhv-snd { flex-wrap: wrap; gap: 12px 14px; padding: 16px; }
  .bhv-snd__play { width: 52px; height: 52px; }
  .bhv-snd__body { flex: 1 1 0; }
  .bhv .bhv-snd__h { font-size: 16px; }
  .bhv-snd__spec { order: 5; flex: 1 0 100%; height: 40px; }
  .bhv-snd__spec b:nth-child(n+57) { display: none; }
  .bhv-rv__list { grid-template-columns: 1fr; }
  .bhv-rv__list:not(.is-open) li:nth-child(n+4) { display: none; }
  .bhv .bhv-more--m { display: flex; }
  .bhv-rv__big > b { font-size: 52px; }
  .bhv-rv__form .reviews-form { padding: 18px; }
  .bhv-sim { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bhv-sim b, .bhv-sim a > span:last-child { padding-inline: 12px; }
  .bhv-sim b { font-size: 15px; }
  .bhv-lb__arr { display: none; }
  .bhv { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .bhv *, .bhv *::before, .bhv *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* справа налево (ar): числа, счётчики и проценты — слева направо внутри строки */
[dir="rtl"] .bhv .bhv-gal__count, [dir="rtl"] .bhv .bhv-lb__n, [dir="rtl"] .bhv .bhv-tiers em, [dir="rtl"] .bhv .bhv-save,
[dir="rtl"] .bhv .bhv-rv__by b, [dir="rtl"] .bhv .bhv-rv__big > b, [dir="rtl"] .bhv .bhv-rv__score, [dir="rtl"] .bhv .bhv-snd__time,
[dir="rtl"] .bhv .bhv-tiers b, [dir="rtl"] .bhv .bhv-price b, [dir="rtl"] .bhv .bhv-sum b, [dir="rtl"] .bhv .bhv-ptable td { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .bhv .bhv-ptable td { text-align: end; }
