/*
  Кандидат CSS для нового index.php.
  Важно: здесь прямо восстановлены рабочие стили старых блоков hero, promo
  и мини-корзины. Не используем @import, потому что PHP читает этот файл
  внутрь <style>, а импорт может не отработать стабильно.

  Последняя новая корзина НЕ смешивается с этим файлом:
  analizy-new/card-new/card.php подключает /analizy-new/card-new/style.css.
*/

:root {
  --green: #46c162;
  --green-dark: #35a852;
  --teal: #0b605b;
  --teal-deep: #043936;
  --ink: #123c39;
  --muted: #607b76;
  --light: #9aafab;
  --bg: #f3f8f7;
  --paper: #fff;
  --mint: #eaf8f1;
  --mint-soft: #f7fcf9;
  --border: #dbe9e5;
  --rose: #fff0f6;
  --blue: #eaf5ff;
  --yellow: #fff7dc;
  --orange: #fff1df;
  --shadow: 0 24px 80px rgba(4, 57, 54, .12);
  --shadow-soft: 0 12px 34px rgba(4, 57, 54, .07);
  --max: 1180px;
  --font: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bm-lab-page-new * {
  box-sizing: border-box;
}

.bm-lab-page-new {
  --bm-green: #46c162;
  --bm-green-hover: #3db358;
  --bm-teal: #0b605b;
  --bm-teal-mid: #127a72;
  --bm-teal-deep: #084a46;
  --bm-white: #ffffff;
  --bm-bg-soft: #f6f9f8;
  --bm-bg-mint: #43bd6352;
  --bm-border: #e8efed;
  --bm-muted: #5a6f6d;
  --bm-light: #8fa8a3;
  --bm-shadow: 0 3px 5px rgba(11, 96, 91, 0.08);
  --bm-font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(circle at 12% 4%, rgba(70, 193, 98, .14), transparent 26%),
    radial-gradient(circle at 88% 0%, rgba(11, 96, 91, .1), transparent 25%),
    var(--bg);
}

.bm-lab-page-new button,
.bm-lab-page-new input {
  font: inherit;
}

.bm-lab-page-new a {
  color: inherit;
}

/* ── Сброс h2 на всей странице ─────────────────────────── */
/* Базовый сброс */
.bm-lab-page-new h2 {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--bm-font, "Manrope", system-ui, sans-serif) !important;
  font-size: clamp(26px, 4vw, 42px) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em !important;
  color: var(--bm-teal-deep, #084a46) !important;
  text-transform: none !important;
  border: none !important;
  background: none !important;
}

/* Перебиваем Bitrix: body.page > main.page-content h2 { font-size: 24px !important }
   Добавляем .bm-lab-page-new в цепочку — специфичность выше, побеждаем */
@media screen and (min-width: 769px) {
  body.page > main.page-content .bm-lab-page-new h2 {
    font-size: clamp(26px, 4vw, 30px) !important;
  }
}

/* Рабочий старый hero-баннер */
.bm-lab-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 12px !important;
}

.bm-lab-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0px;
  gap: 14px;
  align-items: stretch;
}

.bm-lab-hero-slider {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--bm-teal) 0%, var(--bm-teal-mid) 42%, var(--bm-green) 100%);
  box-shadow: var(--bm-shadow);
}

.bm-lab-hero-slider__bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bm-lab-hero-slider__bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.bm-lab-hero-slider__bubble--1 { width: 220px; height: 220px; top: -60px; right: 10%; }
.bm-lab-hero-slider__bubble--2 { width: 140px; height: 140px; bottom: -30px; left: 35%; }
.bm-lab-hero-slider__bubble--3 { width: 80px; height: 80px; top: 40%; left: 8%; }
.bm-lab-hero-slider__bubble--4 { width: 100px; height: 100px; right: 28%; bottom: 20%; background: rgba(255, 255, 255, 0.1); }

.bm-lab-hero-slider__stage {
  position: relative;
  z-index: 1;
  min-height: 400px;
}

.bm-lab-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 40px 40px 88px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.bm-lab-hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bm-lab-hero-slide__copy {
  max-width: 520px;
  color: var(--bm-white);
}

.bm-lab-hero-slide__badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff !important;
  background: #ff6363;
  border-radius: 999px;
}

.bm-lab-hero-slide__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.8vw, 27px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.bm-lab-hero-slide__text {
  max-width: 400px;
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.bm-lab-hero-slide__offer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-bottom: 26px;
}

.bm-lab-hero-slide__offer-label,
.bm-lab-hero-slide__offer-note {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.bm-lab-hero-slide__offer-old {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
}

.bm-lab-hero-slide__offer-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--bm-white);
}

.bm-lab-hero-slide__offer-price strong {
  font-size: 42px;
  line-height: 1;
}

.bm-lab-hero-slide__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bm-lab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

.bm-lab-btn:hover,
.bm-lab-btn:focus-visible {
  transform: translateY(-2px);
}

.bm-lab-btn:active {
  transform: translateY(0);
}

.bm-lab-btn--light {
  color: var(--bm-teal) !important;
  background: var(--bm-white);
}

.bm-lab-btn--light:hover,
.bm-lab-btn--light:focus-visible {
  background: #e8f7f6;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.bm-lab-btn--glass {
  color: var(--bm-white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.bm-lab-btn--glass:hover,
.bm-lab-btn--glass:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.bm-lab-hero-slider__controls {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bm-lab-hero-nav,
.bm-lab-promo-carousel__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--bm-teal);
  background: var(--bm-white);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.bm-lab-hero-dots {
  display: flex;
  gap: 6px;
  margin-left: 6px;
}

.bm-lab-hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.bm-lab-hero-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--bm-white);
}

.bm-lab-hero-aside {
  display: grid;
  gap: 14px;
}

.bm-lab-hero-card {
  position: relative;
  min-height: 193px;
  overflow: hidden;
  padding: 22px;
  text-decoration: none;
  color: var(--bm-teal);
  background: #c3eacd;
  border-radius: 20px;
  box-shadow: var(--bm-shadow);
}

.bm-lab-hero-card--accent {
  background: var(--bm-bg-mint);
}

.bm-lab-hero-card__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 999px;
  background: var(--bm-white);
}

.bm-lab-hero-card__title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.bm-lab-hero-card__sub {
  margin: 0;
  font-size: 14px;
  color: var(--bm-muted);
}

.bm-lab-hero-slider__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent 0%, black 30%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
  pointer-events: none;
  border-radius: inherit;
}

/* Рабочий старый блок акций */
.bm-lab-promo {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 56px !important;
  scroll-margin-top: 200px;
}

.bm-lab-promo__title {
  margin: 0 0 28px;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--bm-teal);
}

.bm-lab-promo__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 25px 0px 0px 0px;
}

.bm-lab-promo-filter {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 565px;
  max-height: 565px;
  min-height: 0;
  padding: 20px 16px 16px;
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: 12px;
}

.bm-lab-promo-filter__title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
}

.bm-lab-promo-filter__list-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 4px;
}

.bm-lab-promo-filter__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bm-lab-promo-filter__label {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  color: var(--bm-muted);
}

.bm-lab-promo-filter__label:hover {
  color: var(--bm-teal);
}

.bm-lab-promo-filter__checkbox {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 2px solid #b8ccc9;
  border-radius: 4px;
  background: #fff;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
}

.bm-lab-promo-filter__checkbox.is-checked {
  background: var(--bm-green);
  border-color: var(--bm-green);
}

.bm-lab-promo-filter__checkbox.is-checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.bm-lab-promo-filter__text {
  flex: 1;
  min-width: 0;
  line-height: 1.1;
  font-size: 14px;
}

.bm-lab-promo-filter__actions {
  display: grid;
  gap: 8px;
  flex-shrink: 0;
  margin-top: auto;
}

.bm-lab-promo-filter__btn {
  min-height: 40px;
  font: 700 14px var(--bm-font);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.bm-lab-promo-filter__btn--apply {
  color: var(--bm-white);
  background: var(--bm-green);
}

.bm-lab-promo-filter__btn--reset {
  color: var(--bm-teal);
  background: var(--bm-bg-soft);
}

.bm-lab-promo-content {
  min-width: 0;
}

.bm-lab-promo-carousel {
  min-width: 0;
}

.bm-lab-promo-carousel__viewport {
  overflow: hidden;
  padding: 4px;
  margin: -4px;
}

.bm-lab-promo-carousel__track {
  display: flex;
  gap: 16px;
  transition: transform 0.3s ease;
}

.bm-lab-promo-card {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
  text-decoration: none;
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: 12px;
  transition: box-shadow 0.25s ease;
}

.bm-lab-promo-card:hover {
  box-shadow: var(--bm-shadow);
}

.bm-lab-promo-card[hidden] {
  display: none;
}

.bm-lab-promo-card__media {
  position: relative;
  flex: 0 0 150px;
  height: 150px;
  min-height: 315px;
  overflow: hidden;
  background-color: #eef8f3;
  background-image: linear-gradient(135deg, #eef8f3 0%, #ffffff 100%);
  background-size: cover;
  background-position: center;
}

.bm-lab-promo-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bm-lab-promo-card__image[hidden] {
  display: none;
}

.bm-lab-promo-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
}

.bm-lab-promo-card__badge--complex {
  color: var(--bm-teal);
  background: var(--bm-bg-mint);
}

.bm-lab-promo-card__badge--sale {
  color: var(--bm-white);
  background: #c62828d9;
}

.bm-lab-promo-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 16px 16px;
}

.bm-lab-promo-card__title {
  margin: 0 0 10px;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.1;
  color: #084a46;
}

.bm-lab-promo-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.bm-lab-promo-card__tag {
  padding: 5px 9px;
  font-size: 12px;
  color: var(--bm-muted);
  background: var(--bm-bg-soft);
  border-radius: 999px;
}

.bm-lab-promo-card__prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  line-height: 1.2;
}

.bm-lab-promo-card__price {
  font-size: 20px;
  font-weight: 600;
}

.bm-lab-promo-card__old {
  font-size: 16px;
  color: var(--bm-light);
  text-decoration: line-through;
}

.bm-lab-promo-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-shrink: 0;
}

.bm-lab-promo-card__body:not(:has(.bm-lab-promo-card__prices)) .bm-lab-promo-card__actions {
  margin-top: auto;
  padding-top: 16px;
}

.bm-lab-promo-card__signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: #0b605b;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(11,96,91,.18);
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
  cursor: pointer;
}

.bm-lab-promo-card__signup:hover {
  background: #053e3b;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(11,96,91,.28);
}

.bm-lab-promo-card__signup:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(11,96,91,.18);
}

.bm-lab-promo-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 4px;
  color: #0b605b !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.bm-lab-promo-card__more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: #0b605b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.bm-lab-promo-card__more:hover {
  color: #053e3b !important;
}

.bm-lab-promo-card__more:hover::after {
  transform: scaleX(1);
}

.bm-lab-promo-carousel__empty {
  margin: 0;
  padding: 36px;
  text-align: center;
  color: var(--bm-muted);
  background: var(--bm-bg-soft);
  border-radius: 16px;
}

.bm-lab-promo-carousel__nav {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 16px;
  flex-shrink: 0;
}

.bm-lab-promo-carousel__arrow {
  border: 1px solid var(--bm-border);
}

.bm-lab-promo-carousel__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.bm-lab-promo-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: var(--bm-font);
}

.bm-lab-promo-modal[hidden] {
  display: none !important;
}

.bm-lab-promo-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 57, 54, 0.58);
}

.bm-lab-promo-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 30px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(4, 57, 54, 0.24);
  transform: translateZ(0);
  contain: layout paint;
}

.bm-lab-promo-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eef8f3;
  color: #0b605b;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.bm-lab-promo-modal__kicker {
  margin: 0 0 8px;
  color: var(--bm-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bm-lab-promo-modal__title {
  margin: 0 0 10px;
  color: var(--bm-teal);
  font-size: 28px !important;
  line-height: 1.15;
}

.bm-lab-promo-modal__lead {
  margin: 0 0 22px;
  color: var(--bm-muted);
  font-size: 15px;
  line-height: 1.5;
}

.bm-lab-promo-form {
  display: grid;
  gap: 14px;
}

.bm-lab-promo-form__field {
  display: grid;
  gap: 7px;
  color: var(--bm-teal);
  font-size: 13px;
  font-weight: 700;
}

.bm-lab-promo-form__field input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--bm-border);
  border-radius: 12px;
  background: #fbfefd;
  color: var(--bm-teal);
  font: 500 15px var(--bm-font);
  outline: none;
  transition: none;
}

.bm-lab-promo-form__field input:focus {
  border-color: var(--bm-green);
  box-shadow: 0 0 0 3px rgba(70, 193, 98, 0.16);
}

.bm-lab-promo-form__policy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--bm-muted);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}

.bm-lab-promo-form__policy-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bm-lab-promo-form__policy-box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 2px solid #b8ccc9;
  border-radius: 4px;
  background: #fff;
  position: relative;
}

.bm-lab-promo-form__policy-input:checked + .bm-lab-promo-form__policy-box {
  background: var(--bm-green);
  border-color: var(--bm-green);
}

.bm-lab-promo-form__policy-input:checked + .bm-lab-promo-form__policy-box::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.bm-lab-promo-form__policy-text {
  flex: 1;
  min-width: 0;
}

.bm-lab-promo-form__policy-text a {
  color: var(--bm-teal);
  text-decoration: underline;
}

.bm-lab-promo-form__captcha {
  min-height: 78px;
}

.bm-lab-promo-form__submit {
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: var(--bm-green);
  color: #fff;
  font: 800 15px var(--bm-font);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(70, 193, 98, 0.22);
}

.bm-lab-promo-form__submit:hover,
.bm-lab-promo-form__submit:focus-visible {
  background: var(--bm-green);
  color: #fff;
}

.bm-lab-promo-form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.bm-lab-promo-form__message {
  min-height: 18px;
  margin: 0;
  color: var(--bm-muted);
  font-size: 13px;
  line-height: 1.35;
}

.bm-lab-promo-form__message.is-error {
  color: #c62828;
}

.bm-lab-promo-form__message.is-success {
  color: var(--bm-green-dark);
}

/* Рабочая мини-корзина */
.bm-cart-widget {
  position: fixed;
  bottom: 20px !important;
  right: 100px !important;
  z-index: 9999;
  font-family: Manrope, system-ui, -apple-system, sans-serif;
}

.bm-cart-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px !important;
  height: 52px !important;
  border: none;
  border-radius: 50%;
  background: #0b605b !important;
  color: #0b605b !important;
  cursor: pointer;
  box-shadow: 0 4px 24px rgb(11 96 91 / 58%) !important;
  transition: background .2s, transform .15s;
  line-height: 0;
  border: 1px solid rgb(255 255 255 / 46%);
}
.bm-cart-toggle svg,
.bm-cart-toggle__icon {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.bm-cart-toggle__icon {
  background: center / contain no-repeat url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAIAklEQVR4Aeydi5EkNQyG54iADIBIgEg4IgEiATIgAyASIBLO31W5rs8jT79sPdbaap27bdmWfv0td3v2Zr945M/SCCQBlg7/45EESAIsjsDi7mcGSAIsjsDi7mcGSAIsjsCi7le3MwNUJBYtkwCLBr66nQSoSCxaJgEWDXx1OwlQkVi0TAIsGvjqdhKgIrFomQRYLPCtu0mAFpHFrpMAiwW8dXckAd6XwY/Kd0X36yJ5GCMwggAE8p/ix68n5M+iSx/6ltM8rBAYQYAfivFXAwlpSvc8rBAYQQDS/lX7cym4itygfiMI8NtNW8ggN4fI7lcRGEGA38vkkODfUl45yAJX+mWfEwj0VEcQgMD/WCb4psi7Hfm5tLcHBLj6DNGOldcnERhBgDNT/t1RhgSdpqyeiYA2Af4qzpAxSvHZkc8Bn8Ghd6FNADzjeYFyK2SAXAa2iCidWxAglwGl4B6ZxoIAuQwciYySjgUBcA0SUG4ll4EtGkrnVgRg70ByERJI9Vl3EYG9blYEIANIbwN8NvB/MTrl8QADPjD7qeAx7bAiAA5BAsqUPgK8GbF5No0ElgToLQN9ONZtmbY0WhKADCAtA+uGue/5NJwsCYC7kIAy5TUCvb2T170OtFoTYJpjB3yPpDLtRrEmANvC09JbpAi/sHUqRtYEwO9p7GbwVeWo3x4IkMvA62hNfVvyQICpKe41tiFap2ZIDwQgCvkcAArPws3xXDuwxgsBpqa5gXhpDzV9efRCgOlM147coPmmpn9s9EIAbMllABQ+CTfFdEw8EQCHP7mfZyoIeCLA9PVOBdFxk1x6Ljo7vScCsN5NT3lnATLUB4/p03siAM7mMgAKj4caDt4IkMvA4+OPGg7eCEDay2Xg8QCHh8aPNwLgs1r6YzKHgv9qN4FHAqilP4fBVzfJIwFIf2p3gDri+xOqvP5VMzwSANsgAeWKcsn3q0B5JYDqXXAVvAn9WP8nDNsf0isBuAtWXAbUn3+8EgDKQgLKlUTdZ88EUL8bjJlG+lfPep4JYAKIMQnUp/dMAMBQT4lMaiQmD77eCbDSMmBCdu8EWGUZwM9LieduJ+8EwD/1ByMmVRazTBeBACZrozIBTNI/PkYgAOnxLWcBU/8iEACivmUxJXcUAnCXvEUSkPp/sXQsCgF6zwF/FPD4ouqIwpdrf1/sNz2iEIA0ibRgfVkqyA4RRfKnuKN7RCEAqBBkyq3w5Ul8k9a2bonzUU5GIkDvXRkSjMJjuXEiEYAHJilt5lfN36BtJALgZi4DoDBQohEgl4GBwWeoaATIZYCoDZRoBMB1SEC5FR4E+aJp74Kdrt5aIhKgtyn0vjDCu/Anc109tEYkABlAehso8Q9x8O3fl7PAaA8jEgAMIAFlyk0EohKAD1CiZgHsRm6Gbkz3qAQAQD4AIp2yNxBFsJkPgcZEb8AoUQmA6ywDZAJAjSIQFdvdSGQCuAExsiFJgMjRG2B7EmAAiJGHSAIEid4sMyMTgM0Udv74k2rssNW/s8d2MPVsu87C7dW4zCvZRB1tr/qqt0UlAGDyRxUJNq+CFdhKCuohBUKdBrDYgE3MKdlEHW3ooKth0+4c0QhAMAERMHedKwoAjT6EKZfTDsZnHuzbmwQddOmzpzu9PRIBAO7K3UM/CDMLcILJ+GeDRR/8OdtvqH4kApDW7zg/47kAUpFlrtoFORnjav/b/aIQAJB6QLMtzN1UhR1CCRjAvkui7biMx5zbunqOTez60c4uJee1rS1nELOdo3sdhQAAKTlBPXvrbAlX4T9bUEcQ2j4EDcDb+ivXPTJBQOYn8NhE8DmnDnvbubCpN1arO/w6AgF6AQNMAJZAIfgQQWob9QsZUkYi+L15sYlfZkGntQsStHUfr2f/E4EA3wogAGIv+FUdwLn76nUtR4DdI+URm8gG1ZZtKRFq2z7lPAIBJGAI7hFAuONaPQiAtPUjriHm3jjYjrR6EtFbneHXEQggBav36+EtQBLQ6EhjUn9UpGAdCX4dX7Lrrk117FNlBAJIwH51ystnZSkAz1r9Gqn/mQBKutKYfQsGtUQggOSqtCyc0bsLtpSBpKBKNlEn6f5Hg7ZEIICUASAAsocX+wetjvRg2OrsXfcIdOR1rqcj+blnx+32CASQ7jYcB0jpTqINYYv2VTs6VwUCIG1/3g4k0lU92pF6vS2l8bbtU84jEIA7A2kBILgEGcBrNqCOa/bYa13bb+9VrdXvXffGYX8Cuwg09iDYQh2klcZ72juQlGbURSAAfvfenQG3Al5/H4Br6unXCkCPutNYSiRiMicBJ9gQESH41NHWCmMgbb3KdRQCELQeCY4CBcjIUf0jetiEbUd0ezqM0WubXh+FAADBHcfdzflZIfDc/Wf77ekTfMal3NNt2+lztW871uXrSATASdZdPlQBPK73BD1IA9B7ulfbmYPxmefoGOjiB8Q82meKXjQCAEIFnNRJVuCa+ipcIxVkSFPbZpXMxzwEFZukwKJDG2RBd5Ytp8aNSAAcrGBCAkBHABbhHLEAGbuwqdpBibwrRmMTbRI5SrPNEZUALVoAD7BI22Z17dGmJyzeCgGeHItaoW13EkAbcWfzJQGcBUTbnCSANuLO5ksCOAuItjlJAG3Enc2XBHAWEG1zkgDaiDubLwngJCBWZiQBrJB3Mm8SwEkgrMxIAlgh72TeJICTQFiZkQSwQt7JvEkAJ4GwMiMJYIW8k3mTAMaBsJ7+AwAAAP//4PalbQAAAAZJREFUAwDzhdcQFoFI8AAAAABJRU5ErkJggg==");
  filter: brightness(0) invert(1);
}

.bm-cart-toggle:hover {
  background: #053e3b !important;
  color: white !important;
  transform: scale(1.06);
}

.bm-cb {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: #ef4444;
  color: #fff;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 20px;
  text-align: center;
  pointer-events: none;
}

.bm-cart-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 320px;
  max-height: 480px;
  display: none !important;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  overflow: hidden;
}

.bm-cart-panel.is-open {
  display: flex !important;
}

.bm-cart-panel[hidden] {
  display: none !important;
}

.bm-cart-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #0b605b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.bm-cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #e5e7eb;
}

.bm-cart-panel__title {
  font-weight: 600;
  font-size: 16px;
  color: #0b605b;
}

.bm-cart-empty {
  padding: 28px 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
  flex: 1;
}

.bm-cart-list {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.bm-ci {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  transition: background .15s;
}

.bm-ci:hover { background: #f9fafb; }
.bm-ci__body { flex: 1; min-width: 0; }
.bm-ci__name {
  display: block;
  overflow: hidden;
  color: #111;
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bm-ci__price { display: block; margin-top: 2px; color: #6b7280; font-size: 13px; }
.bm-ci__rm {
  flex-shrink: 0;
  padding: 2px 4px;
  border: none;
  border-radius: 4px;
  background: none;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.bm-cart-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 20px 18px;
  border-top: 1px solid #e5e7eb;
}

.bm-cart-foot[hidden] {
  display: none !important;
}

.bm-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #374151;
  font-size: 14px;
}

.bm-cart-total strong {
  color: #111;
  font-weight: 700;
}

.bm-cart-go {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.bm-cart-toast {
  position: fixed;
  right: 28px;
  bottom: 96px;
  z-index: 10000;
  max-width: 260px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #1f2937;
  color: #fff;
  font-size: 13px;
  line-height: 1.15;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}

.bm-cart-toast.is-on {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bm-cart-pop {
  0% { transform: scale(1); }
  30% { transform: scale(1.22) rotate(-8deg); }
  55% { transform: scale(0.92) rotate(5deg); }
  75% { transform: scale(1.08) rotate(-3deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.bm-cart-toggle.is-adding {
  animation: bm-cart-pop .55s cubic-bezier(.36,.07,.19,.97) forwards;
}

@media (max-width: 1100px) {
  .bm-lab-hero__grid,
  .bm-lab-promo__layout {
    grid-template-columns: 1fr;
  }

  .bm-lab-promo-filter {
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .bm-lab-promo-filter__list-wrap {
    flex: none;
    max-height: 200px;
  }

  .bm-lab-promo-content {
    min-width: 0;
  }

  .bm-lab-hero-aside {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bm-lab-promo {
    scroll-margin-top: 0;
  }

  .bm-lab-hero-slider__photo {
    width: 100%;
    opacity: 1;
    mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0, 0, 0, 0.55) 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0, 0, 0, 0.55) 78%, transparent 100%);
  }
}

@media (max-width: 720px) {
  .bm-lab-hero,
  .bm-lab-promo {
    padding-left: 16px;
    padding-right: 16px;
  }

  .bm-lab-hero-slider,
  .bm-lab-hero-slider__stage {
    min-height: 360px;
  }

  .bm-lab-hero-slide {
    padding: 28px 24px 84px;
  }

  .bm-lab-hero-aside {
    grid-template-columns: 1fr;
  }

  .bm-lab-promo-card {
    flex-basis: 280px;
  }

  .bm-cart-widget {
    right: 16px !important;
  }
}

.bm-new-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.bm-new-section {
  padding: 37px 0 !important;
}

.bm-new-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.bm-new-kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bm-new-section h2 {
  margin: 0;
  color: var(--teal-deep);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
  letter-spacing: -.06em;
}

.bm-new-section__desc {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.bm-new-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #fff !important;
  font-weight: 900;
  text-decoration: none;
  background: var(--green);
  border-radius: 8px;
  transition: background 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

.bm-new-primary-btn:hover,
.bm-new-primary-btn:focus-visible {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 96, 91, 0.25);
}

.bm-new-primary-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.bm-new-search-block {
  padding: 34px 0 42px !important;
}

.bm-new-consult-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
}

.bm-new-consult-search__main,
.bm-new-consult-search__result {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: 0 4px 120px rgb(4 57 54 / 7%);
}

.bm-new-consult-search__main {
  padding: 34px;
}

.bm-new-consult-search__main::before {
  content: "";
  position: absolute;
  right: -130px;
  top: -130px;
  width: 330px;
  height: 330px;
  background: var(--mint);
  border-radius: 50%;
}

.bm-new-consult-search__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.bm-new-assistant-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: var(--teal);
  font-size: 42px;
  border: 2px solid #448e85;
  border-radius: 20px;
}

.bm-new-assistant-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none !important;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
}

.bm-new-assistant-avatar::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 22px;
  height: 22px;
  background: var(--green);
  border: 4px solid #fff;
  border-radius: 50%;
}

.bm-new-consult-search__badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 11px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  background: var(--mint);
  border-radius: 999px;
}

.bm-new-consult-search h1 {
  margin: 0;
  color: var(--teal-deep);
  font-size: clamp(24px, 5vw, 28px);
  line-height: 1;
  letter-spacing: -.07em;
}

.bm-new-consult-search__lead {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.bm-new-dialog-search {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 780px;
  margin-bottom: 20px;
  padding: 8px;
  background: var(--mint-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.bm-new-dialog-search input {
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 16px;
  background: transparent;
}

.bm-new-dialog-search button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  color: #fff;
  font-weight: 900;
  background: var(--green);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(70, 193, 98, .18);
  transition: background .2s ease, box-shadow .2s ease, transform .18s ease;
}

.bm-new-dialog-search button:hover,
.bm-new-dialog-search button:focus-visible {
  background: var(--green-dark);
  box-shadow: 0 14px 30px rgba(70, 193, 98, .25);
  transform: translateY(-1px);
}

.bm-new-scenario-title {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 900;
}

.bm-new-scenario-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bm-new-scenario {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--border);
  color: var(--ink);
  text-align: left;
  background: var(--paper);
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(4, 57, 54, .04);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease, color .22s ease;
}

.bm-new-scenario::after {
  content: "";
  position: absolute;
  inset: auto -20% -70% -20%;
  height: 80%;
  background: radial-gradient(circle, rgba(70, 193, 98, .22), transparent 68%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.bm-new-scenario:hover {
  transform: translateY(-4px);
  border-color: rgba(70,193,98,.65);
  box-shadow: 0 16px 34px rgba(4, 57, 54, .1);
}

.bm-new-scenario:hover::after,
.bm-new-scenario:focus-visible::after {
  opacity: 1;
  transform: translateY(-10px);
}

.bm-new-scenario:focus-visible {
  outline: 3px solid rgba(70, 193, 98, .28);
  outline-offset: 3px;
}

.bm-new-scenario.is-active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: 0 18px 38px rgba(11, 96, 91, .16);
}

.bm-new-scenario span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  font-size: 18px;
  background: var(--tone, var(--mint));
  border-radius: 12px;
}

.bm-new-scenario.is-active span {
  color: var(--teal);
  background: #fff;
}

.bm-new-scenario strong {
  display: block;
  position: relative;
  z-index: 2;
  font-size: 14px;
  line-height: 1.2;
}

.bm-new-scenario__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  transition: transform .3s ease;
}

/* Градиент поверх фото — текст слева читается, фото справа яркое */
.bm-new-scenario::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--paper) 42%,
    rgba(255,255,255,0) 72%
  );
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
  transition: background .25s ease;
}

.bm-new-scenario:hover .bm-new-scenario__img {
  transform: scale(1.04);
}

/* Активная кнопка: градиент от тёмного тила */
.bm-new-scenario.is-active::before {
  background: linear-gradient(
    to right,
    var(--teal) 40%,
    rgba(11, 96, 91, 0) 70%
  );
}

.bm-new-consult-search__result {
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 16%, rgba(255,255,255,.28), transparent 24%),
    linear-gradient(145deg, var(--teal), #12856e);
}

.bm-new-consult-search__result h2,
body.page > main.page-content .bm-lab-page-new .bm-new-consult-search__result h2 {
  margin: 0 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.04em !important;
  color: #fff !important;
}

.bm-new-consult-search__result p {
  margin: 12px 0 18px;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.55;
}

.bm-new-recommend-list {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.bm-new-recommend-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  background: rgba(255,255,255,.93);
  border-radius: 15px;
}

.bm-new-recommend-list span:last-child {
  color: var(--green-dark);
  white-space: nowrap;
}

.bm-new-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.bm-new-result-actions a,
.bm-new-result-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 15px;
  border: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(4, 57, 54, .08);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .18s ease, border-color .2s ease;
}

.bm-new-result-actions a:hover,
.bm-new-result-actions button:hover,
.bm-new-result-actions a:focus-visible,
.bm-new-result-actions button:focus-visible {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 26px rgba(4, 57, 54, .14);
  transform: translateY(-1px);
}

.bm-new-result-actions a:last-child {
  color: #fff;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
}

.bm-new-result-actions a:last-child:hover,
.bm-new-result-actions a:last-child:focus-visible {
  color: var(--teal);
  background: #fff;
  border-color: #fff;
}

.bm-new-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.bm-new-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.bm-new-tab {
  min-height: 33px;
  padding: 0 16px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 850;
  background: var(--paper);
  border-radius: 12px;
  cursor: pointer;
}

.bm-new-tab.is-active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.bm-new-analysis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bm-new-analysis-card {
  display: flex;
  flex-direction: column;
  min-height: 265px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.bm-new-analysis-card[hidden] {
  display: none;
}

.bm-new-analysis-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.bm-new-code {
  color: var(--light);
  font-size: 12px;
  font-weight: 500;
}

.bm-new-mini-badge {
  padding: 5px 8px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  background: var(--mint);
  border-radius: 999px;
}

.bm-new-mini-badge--sale {
  color: #fff;
  background: #e53935;
}

.bm-new-analysis-card h3 {
  margin: 0 0 14px;
  color: var(--teal-deep);
  font-size: 20px !important;
  line-height: 1.28;
  letter-spacing: -.03em;
}

.bm-new-analysis-card__meta {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.bm-new-analysis-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.bm-new-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.4;
}

.bm-new-price del {
  color: var(--light);
  font-size: 13px;
  font-weight: 700;
}

.bm-new-price strong {
  color: var(--teal);
  font-size: 23px;
  line-height: 1;
  letter-spacing: -.04em;
}

.bm-new-add {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  background: #0b605b;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.bm-new-add:hover {
  background: var(--teal);
}

.bm-new-add.is-added,
.bm-new-add.is-in-cart {
  background: #46c162 !important;
  color: #fff !important;
  cursor: default;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  transform: scale(0.97);
}

.bm-new-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bm-new-category {
  position: relative;
  overflow: hidden;
  min-height: 158px;
  padding: 20px;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bm-new-category:hover {
  transform: translateY(-4px);
  border-color: rgba(70,193,98,.55);
  box-shadow: var(--shadow);
}

.bm-new-category__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  font-size: 28px;
  background: var(--tone, var(--mint));
  border-radius: 18px;
}

.bm-new-category h3 {
  margin: 0;
  color: var(--teal);
  font-size: 18px;
  letter-spacing: -.03em;
}

.bm-new-category p {
  max-width: 210px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.bm-new-category__arrow {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--teal);
  background: var(--mint-soft);
  border-radius: 50%;
}

/* ── Flip-карточки категорий ─────────────────────────── */
.bm-new-cat-flip {
  perspective: 900px;
  min-height: 250px;
  cursor: pointer;
}

.bm-new-cat-flip__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px;
  transform-style: preserve-3d;
  transition: transform 0.52s cubic-bezier(.4,0,.2,1);
}

.bm-new-cat-flip:hover .bm-new-cat-flip__inner,
.bm-new-cat-flip.is-flipped .bm-new-cat-flip__inner {
  transform: rotateY(180deg);
}

.bm-new-cat-flip__front,
.bm-new-cat-flip__back {
  position: absolute;
  inset: 0;
  padding: 20px;
  border-radius: 24px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.bm-new-cat-flip__front {
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.bm-new-cat-flip__front .bm-new-category__icon {
  margin-bottom: 14px;
}

.bm-new-cat-flip__front h3 {
  margin: 0;
  color: var(--teal);
  font-size: 18px;
  letter-spacing: -0.03em;
}

.bm-new-cat-flip__front p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.bm-new-cat-flip__back {
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(145deg, var(--teal), #12856e);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bm-new-cat-flip__back h3 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

.bm-new-cat-flip__back ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bm-new-cat-flip__back ul li {
  position: relative;
  padding-left: 14px;
  color: rgba(255,255,255,.88);
  font-size: 13px;
  line-height: 1.35;
}

.bm-new-cat-flip__back ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: rgba(255,255,255,.5);
  font-size: 16px;
  line-height: 1;
}

.bm-new-cat-flip__back a {
  display: inline-block;
  margin-top: auto;
  padding: 7px 14px;
  color: var(--teal) !important;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s ease, transform 0.15s ease;
}

.bm-new-cat-flip__back a:hover {
  background: #e8f7f6;
  transform: translateY(-1px);
}

.bm-new-checkup-shell {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
}

.bm-new-checkup-panel,
.bm-new-checkup-main {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.bm-new-checkup-panel {
  padding: 22px;
  align-self: start;
}

.bm-new-checkup-panel h3 {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 22px;
  letter-spacing: -.04em;
}

.bm-new-checkup-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  margin-bottom: 10px;
  padding: 0 16px;
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 850;
  background: var(--mint-soft);
  border-radius: 18px;
  cursor: pointer;
}

.bm-new-checkup-choice.is-active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.bm-new-checkup-main {
  padding: 24px;
}

.bm-new-checkup-programs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bm-new-program-card {
  padding: 18px;
  border: 1px solid var(--border);
  text-align: left;
  background: var(--mint-soft);
  border-radius: 22px;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.bm-new-program-card:hover {
  transform: translateY(-2px);
  border-color: rgba(70,193,98,.6);
}

.bm-new-program-card.is-active {
  color: #fff;
  border-color: var(--teal);
  background: linear-gradient(145deg, var(--teal), #12856e);
}

.bm-new-program-card__badge {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 7px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  background: var(--mint);
  border-radius: 8px;
}

.bm-new-program-card.is-active .bm-new-program-card__badge {
  color: var(--teal);
  background: #fff;
}

.bm-new-program-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.16;
  letter-spacing: -.04em;
}

.bm-new-program-card p {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.bm-new-program-card.is-active p {
  color: rgba(255,255,255,.75);
}

.bm-new-program-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 900;
}

.bm-new-program-card__price del {
  color: var(--light);
  font-size: 13px;
}

.bm-new-program-card__price strong {
  color: var(--teal);
  font-size: 24px;
  letter-spacing: -.04em;
}

.bm-new-program-card.is-active .bm-new-program-card__price strong {
  color: #fff;
}

.bm-new-program-detail {
  margin-top: 16px;
  padding: 20px;
  background: var(--mint-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.bm-new-program-detail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.bm-new-program-detail h3 {
  margin: 0;
  color: var(--teal);
  font-size: 24px;
  letter-spacing: -.045em;
}

.bm-new-program-detail__summary {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.bm-new-checkup-table-wrap {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 420px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.bm-new-checkup-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.bm-new-checkup-table th,
.bm-new-checkup-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}

.bm-new-checkup-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--mint);
}

.bm-new-checkup-table td {
  color: var(--muted);
}

/* Анализ — занимает всё свободное место */
.bm-new-checkup-table td:nth-child(1),
.bm-new-checkup-table th:nth-child(1) {
  width: 100%;
}

/* Колонки цен — сжаты к минимуму, стоят рядом справа */
.bm-new-checkup-table td:nth-child(2),
.bm-new-checkup-table th:nth-child(2),
.bm-new-checkup-table td:nth-child(3),
.bm-new-checkup-table th:nth-child(3) {
  width: 1px;
  text-align: right;
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 16px;
}

/* Старая цена — зачёркнутая и светлее */
.bm-new-checkup-table tbody td:nth-child(2) {
  text-decoration: line-through;
  color: #b0b8b6;
  font-size: 13px;
}

/* Цена со скидкой — акцентная */
.bm-new-checkup-table tbody td:nth-child(3) {
  color: var(--teal);
  font-weight: 700;
}

/* ИТОГО — прилипает к низу (sticky нужен на td, не на tfoot) */
.bm-new-checkup-table tfoot td {
  position: sticky;
  bottom: 0;
  z-index: 2;
  color: var(--teal);
  font-weight: 900;
  font-size: 15px;
  background: #e4f5ef;
  border-bottom: 0;
  border-top: 2px solid var(--border);
}

/* Старая цена в ИТОГО тоже зачёркнута */
.bm-new-checkup-table tfoot td:nth-child(2) {
  text-decoration: line-through;
  color: #9ab5b0;
  font-weight: 700;
  font-size: 13px;
}

.bm-new-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: steps;
}

.bm-new-step {
  position: relative;
  padding: 22px;
  background: var(--mint-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.bm-new-step::before {
  counter-increment: steps;
  content: "0" counter(steps);
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.05em;
}

.bm-new-step h3 {
  line-height: 1.05;
  color: var(--teal);
  font-size: 17px;
}

.bm-new-step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.bm-new-results {
  display: grid;
  grid-template-columns: minmax(140px, 150px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: stretch;
  padding: clamp(18px, 4vw, 18px);
  background: #ffffff8c;
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bm-new-phone {
  position: relative;
  align-self: center;
  width: min(100%, 150px);
  margin: 0 auto;
  /* обрезаем прозрачные поля PNG сверху и снизу */
  overflow: hidden;
}

.bm-new-phone__img {
  display: block;
  width: 100%;
  height: auto;
  /* сдвигаем вверх, убирая прозрачный отступ сверху */
  margin-top: -12%;
  margin-bottom: -12%;
  position: relative;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.bm-new-phone__screen {
  position: absolute;
  top: 4%;
  left: 9%;
  right: 9%;
  bottom: 4%;
  padding: 1px 7px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
}

.bm-new-phone__pill {
  width: 25px;
  height: 3px;
  margin: 0 auto 9px;
  background: #b8d6ce;
  border-radius: 999px;
}

.bm-new-result-line {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
  padding: 6px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 9px rgba(11,96,91,.07);
  line-height: 1.01;
}

.bm-new-result-line__logo {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  object-fit: contain;
  border-radius: 5px;
}

.bm-new-result-line strong {
  display: block;
  color: var(--teal);
  font-size: 7px;
}

.bm-new-result-line small {
  color: var(--muted);
  font-size: 6px;
}

.bm-new-results__content {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 100%;
}

.bm-new-results__content h2 {
  margin-bottom: 0 !important;
}

.bm-new-results__lead {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.bm-new-results__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.bm-new-results__card {
  min-height: 150px;
  padding: 16px;
  background: #f7fbf8;
  border: 1px solid var(--border);
  border-radius: 22px;
}

.bm-new-results__card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  background: var(--green);
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.bm-new-results__card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 15px;
  line-height: 1.25;
}

.bm-new-results__card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.bm-new-results__bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 2px;
}

.bm-new-results__bottom span {
  color: var(--muted);
  font-size: 14px;
}

.bm-new-results__list {
  display: grid;
  gap: 14px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.bm-new-results__list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.bm-new-results__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  background: var(--green);
  border-radius: 50%;
}

.bm-new-faq {
  display: grid;
  gap: 10px;
}

.bm-new-faq details {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(11,96,91,.05);
}

.bm-new-faq summary {
  padding: 18px 20px;
  color: var(--teal);
  font-weight: 850;
  cursor: pointer;
}

.bm-new-faq p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1060px) {
  .bm-new-consult-search,
  .bm-new-checkup-shell,
  .bm-new-results {
    grid-template-columns: 1fr;
  }

  .bm-new-results__content {
    align-content: flex-start;
  }

  .bm-new-analysis-grid,
  .bm-new-categories,
  .bm-new-checkup-programs,
  .bm-new-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .bm-new-wrap {
    width: min(100% - 24px, var(--max));
  }

  .bm-new-search-block {
    padding-top: 22px;
  }

  .bm-new-consult-search__main,
  .bm-new-consult-search__result,
  .bm-new-checkup-main,
  .bm-new-results {
    padding: 22px;
    border-radius: 26px;
  }

  .bm-new-consult-search__top,
  .bm-new-dialog-search,
  .bm-new-scenario-grid,
  .bm-new-analysis-grid,
  .bm-new-categories,
  .bm-new-results__cards,
  .bm-new-checkup-programs,
  .bm-new-steps {
    grid-template-columns: 1fr;
  }

  .bm-new-assistant-avatar {
    width: 72px;
    height: 72px;
  }

  .bm-new-section__head,
  .bm-new-program-detail__head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ============================================================
   ПОСАДОЧНАЯ СТРАНИЦА АНАЛИЗА (.bm-posadka)
   ============================================================ */

.bm-posadka {
  --ps-teal: #0b605b;
  --ps-teal-dark: #053e3b;
  --ps-green: #46c162;
  --ps-mint: #e8f8ef;
  --ps-paper: #fff;
  --ps-soft: #f4faf8;
  --ps-border: #dcebe7;
  --ps-text: #1b2d2a;
  --ps-muted: #6b7d79;
  --ps-warning: #fff5e8;
  --ps-warning-border: #f0d2a9;
  --ps-shadow: 0 22px 60px rgba(11, 96, 91, .12);
  --ps-radius: 28px;
  --ps-max: 1180px;

  width: min(100% - 32px, var(--ps-max));
  margin: 0 auto;
  padding: 24px 0 80px;
  color: var(--ps-text);
}

.bm-posadka a {
  color: inherit;
}

/* Хлебные крошки */
.bm-posadka .ps-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 22px;
  color: var(--ps-muted);
  font-size: 13px;
}

.bm-posadka .ps-breadcrumbs a {
  color: var(--ps-muted);
  text-decoration: none;
}

.bm-posadka .ps-breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: #aac2bd;
}

/* Первый экран — герой */
.bm-posadka .ps-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
  margin-bottom: 0;
}

.bm-posadka .ps-hero__main {
  padding: clamp(24px, 4vw, 42px);
  background: var(--ps-paper);
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow);
}

.bm-posadka .ps-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--ps-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bm-posadka .ps-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ps-green);
}

.bm-posadka h1 {
  max-width: 780px;
  margin: 0 0 16px !important;
  color: var(--ps-teal-dark) !important;
  font-size: clamp(30px, 4vw, 30px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
}

.bm-posadka .ps-lead {
  max-width: 740px;
  margin: 0 0 22px;
  color: var(--ps-muted);
  font-size: 17px;
  line-height: 1.7;
}

.bm-posadka .ps-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.bm-posadka .ps-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--ps-soft);
  border: 1px solid var(--ps-border);
  border-radius: 999px;
  color: var(--ps-teal);
  font-size: 14px;
  font-weight: 700;
}

.bm-posadka .ps-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bm-posadka .ps-summary__item {
  padding: 16px;
  background: #fbfefd;
  border: 1px solid var(--ps-border);
  border-radius: 20px;
  line-height: 1.2;
}

.bm-posadka .ps-summary__item span {
  display: block;
  margin-bottom: 6px;
  color: var(--ps-muted);
  font-size: 15px;
}

.bm-posadka .ps-summary__item strong {
  display: block;
  color: var(--ps-teal-dark);
  font-size: 16px;
  line-height: 1.2;
}

/* Карточка покупки */
.bm-posadka .ps-buy-card {
  position: sticky;
  top: 22px;
  padding: 24px;
  background: var(--ps-teal-dark);
  border-radius: var(--ps-radius);
  color: #fff;
  box-shadow: var(--ps-shadow);
}

.bm-posadka .ps-buy-card__code {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.bm-posadka .ps-price {
  margin: 0 0 8px;
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.bm-posadka .ps-buy-card__hint {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.bm-posadka .ps-buy-card__list {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.bm-posadka .ps-buy-card__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .76);
}

.bm-posadka .ps-buy-card__list strong {
  color: #fff;
  text-align: right;
}

.bm-posadka .ps-buy-card__note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

/* Кнопки */
.bm-posadka .ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 12px;
  font: 600 17px/1 Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s, background .2s, box-shadow .2s;
}

.bm-posadka .ps-btn:hover {
  transform: translateY(-2px);
}

.bm-posadka .ps-btn--primary {
  width: 100%;
  background: var(--ps-green);
  color: #fff;
  box-shadow: 0 14px 26px rgba(70, 193, 98, .28);
}

.bm-posadka .ps-btn--primary:hover {
  background: #35a950;
}

.bm-posadka .ps-btn--ghost {
  width: 100%;
  margin-top: 10px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

/* Якорная навигация */
.bm-posadka .ps-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 8px;
  margin: 26px 0;
  padding: 8px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--ps-border);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  overflow-x: auto;
}

.bm-posadka .ps-nav a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--ps-teal);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.bm-posadka .ps-nav a:hover {
  background: var(--ps-soft);
}

/* Двухколоночный контент */
.bm-posadka .ps-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.bm-posadka .ps-sections {
  display: grid;
  gap: 20px;
}

.bm-posadka .ps-section {
  padding: clamp(22px, 3vw, 32px);
  background: var(--ps-paper);
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius);
  box-shadow: 0 12px 34px rgba(11, 96, 91, .06);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.bm-posadka .ps-section:hover {
  box-shadow: 0 22px 52px rgba(11, 96, 91, .14);
  border-color: #b6d8d0;
  transform: translateY(-3px);
}

.bm-posadka .ps-section h2 {
  margin: 0 0 16px !important;
  color: var(--ps-teal-dark) !important;
  font-size: clamp(23px, 3vw, 32px) !important;
  line-height: 1.2 !important;
  letter-spacing: -.03em !important;
}

.bm-posadka .ps-section h3 {
  margin: 0 0 10px !important;
  color: var(--ps-teal-dark) !important;
  font-size: 18px !important;
  line-height: 1.3;
}

.bm-posadka .ps-section p {
  margin: 14px 0 14px;
  color: var(--ps-muted);
}

/* Симптомы */
.bm-posadka .ps-symptoms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bm-posadka .ps-symptom {
  min-height: 130px;
  padding: 16px;
  background: var(--ps-soft);
  border: 1px solid var(--ps-border);
  border-radius: 22px;
}

.bm-posadka .ps-symptom span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  background: var(--ps-green);
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.bm-posadka .ps-symptom strong {
  display: block;
  color: var(--ps-teal-dark);
  line-height: 1.25;
}

/* Шаги подготовки */
.bm-posadka .ps-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bm-posadka .ps-step {
  padding: 18px;
  background: #fbfefd;
  border: 1px solid var(--ps-border);
  border-radius: 22px;
}

.bm-posadka .ps-step span {
  display: block;
  margin-bottom: 12px;
  color: var(--ps-green);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.bm-posadka .ps-step p {
  margin: 0;
  color: var(--ps-muted);
}

/* Двухколоночный грид */
.bm-posadka .ps-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bm-posadka .ps-info-card {
  padding: 18px;
  background: var(--ps-soft);
  border: 1px solid var(--ps-border);
  border-radius: 20px;
}

.bm-posadka .ps-info-card p {
  margin-bottom: 0;
  font-size: 14px;
}

/* Врачи */
.bm-posadka .ps-doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bm-posadka .ps-doctor-card {
  display: grid;
  gap: 10px;
  min-height: 148px;
  padding: 18px;
  background: var(--ps-soft);
  border: 1px solid var(--ps-border);
  border-radius: 22px;
  text-decoration: none;
}

.bm-posadka .ps-doctor-card span {
  color: var(--ps-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bm-posadka .ps-doctor-card strong {
  color: var(--ps-teal-dark);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
}

.bm-posadka .ps-doctor-card p {
  margin: 0;
  color: var(--ps-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Предупреждение */
.bm-posadka .ps-warning {
  margin-top: 14px;
  padding: 18px;
  background: var(--ps-warning);
  border: 1px solid var(--ps-warning-border);
  border-radius: 20px;
  color: #7a5525;
  line-height: 1.3;
}

/* Связанные анализы */
.bm-posadka .ps-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bm-posadka .ps-related {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #fbfefd;
  border: 1px solid var(--ps-border);
  border-radius: 18px;
  text-decoration: none;
}

.bm-posadka .ps-related span {
  color: var(--ps-muted);
  font-size: 12px;
}

.bm-posadka .ps-related strong {
  color: var(--ps-teal-dark);
  line-height: 1.25;
  font-size: 19px !important;
  font-weight: 600;
}

.bm-posadka .ps-related b {
  color: var(--ps-green);
  font-size: 15px;
}

/* Боковые ссылки */
.bm-posadka .ps-side-links {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
}

.bm-posadka .ps-side-box {
  padding: 20px;
  background: var(--ps-soft);
  border: 1px solid var(--ps-border);
  border-radius: 22px;
}

.bm-posadka .ps-side-box h3 {
  margin: 0 0 16px !important;
  color: var(--ps-teal-dark) !important;
  font-size: 22px !important;
}

.bm-posadka .ps-side-box ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bm-posadka .ps-side-box a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  margin: -6px -10px;
  border-radius: 10px;
  color: var(--ps-teal);
  font-weight: 400;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.bm-posadka .ps-side-box a::before {
  content: "";
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ps-green);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.bm-posadka .ps-side-box a:hover {
  background: var(--ps-mint);
  color: var(--ps-teal-dark);
  transform: translateX(4px);
}

.bm-posadka .ps-side-box a:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* FAQ */
.bm-posadka .ps-faq {
  display: grid;
  gap: 10px;
}

.bm-posadka details {
  padding: 18px;
  background: var(--ps-soft);
  border: 1px solid var(--ps-border);
  border-radius: 18px;
}

.bm-posadka summary {
  color: var(--ps-teal-dark);
  font-weight: 800;
  cursor: pointer;
}

.bm-posadka details p {
  margin: 12px 0 0 !important;
  color: var(--ps-muted);
}

.page-inner section h2 {
  margin-bottom: 10px !important;
}

/* SEO-футер */
.bm-posadka .ps-seo-footer {
  margin-top: 20px;
  padding: 26px;
  background: var(--ps-teal-dark);
  border-radius: var(--ps-radius);
  color: #fff;
}

.bm-posadka .ps-seo-footer h2 {
  color: #fff !important;
}

.bm-posadka .ps-seo-footer p {
  color: rgba(255, 255, 255, .76);
}

.bm-posadka .ps-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.bm-posadka .ps-seo-links a {
  padding: 8px 12px;
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

/* Адаптив */
@media (max-width: 980px) {
  .bm-posadka .ps-hero,
  .bm-posadka .ps-content {
    grid-template-columns: 1fr;
  }

  .bm-posadka .ps-buy-card,
  .bm-posadka .ps-side-links {
    position: static;
  }

  .bm-posadka .ps-summary,
  .bm-posadka .ps-symptoms,
  .bm-posadka .ps-related-grid,
  .bm-posadka .ps-doctor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bm-posadka {
    width: min(100% - 20px, var(--ps-max));
    padding-top: 14px;
  }

  .bm-posadka .ps-summary,
  .bm-posadka .ps-symptoms,
  .bm-posadka .ps-steps,
  .bm-posadka .ps-grid-2,
  .bm-posadka .ps-related-grid,
  .bm-posadka .ps-doctor-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   КАТАЛОГ АНАЛИЗОВ (.bm-catalog)
   ============================================================ */

.bm-catalog {
  --ct-teal: #0b605b;
  --ct-teal-dark: #053e3b;
  --ct-green: #46c162;
  --ct-mint: #e8f8ef;
  --ct-paper: #fff;
  --ct-soft: #f4faf8;
  --ct-border: #dcebe7;
  --ct-text: #1b2d2a;
  --ct-muted: #6b7d79;
  --ct-blue: #edf7ff;
  --ct-blue-text: #26749f;
  --ct-rose: #fff0f4;
  --ct-rose-text: #b7335a;
  --ct-amber: #fff6e5;
  --ct-amber-text: #9b681c;
  --ct-shadow: 0 20px 52px rgba(11, 96, 91, .12);
  --ct-radius: 28px;
  --ct-max: 1180px;

  width: min(100% - 32px, var(--ct-max));
  margin: 0 auto;
  padding: 24px 0 80px;
  color: var(--ct-text);
}

.bm-catalog a {
  color: inherit;
}

/* Хлебные крошки */
.bm-catalog .ct-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--ct-muted);
  font-size: 13px;
}

.bm-catalog .ct-breadcrumbs a {
  color: var(--ct-muted);
  text-decoration: none;
}

.bm-catalog .ct-breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: #aac2bd;
}

/* Баннер-герой */
.bm-catalog .ct-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
  background:
    radial-gradient(circle at 86% 20%, rgba(70, 193, 98, .22), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eef8f3 100%);
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  box-shadow: var(--ct-shadow);
}

.bm-catalog .ct-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: end;
}

.bm-catalog .ct-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--ct-green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bm-catalog .ct-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ct-green);
}

.bm-catalog h1 {
  max-width: 760px;
  margin: 0 0 14px !important;
  color: var(--ct-teal-dark) !important;
  font-size: clamp(32px, 5vw, 36px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.05em !important;
}

.bm-catalog .ct-lead {
  max-width: 700px;
  margin: 0 0 26px;
  color: var(--ct-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* Поиск */
.bm-catalog .ct-search-card {
  padding: 12px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--ct-border);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(11, 96, 91, .08);
  backdrop-filter: blur(12px);
}

.bm-catalog .ct-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.bm-catalog .ct-search input {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--ct-border);
  border-radius: 16px;
  color: var(--ct-text);
  font: 500 16px/1 Arial, sans-serif;
  outline: none;
}

.bm-catalog .ct-search input:focus {
  border-color: var(--ct-green);
  box-shadow: 0 0 0 4px rgba(70, 193, 98, .16);
}

/* Кнопки */
.bm-catalog .ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 14px;
  font: 500 18px/1 Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease;
}

.bm-catalog .ct-btn:hover {
  transform: translateY(-2px);
}

.bm-catalog .ct-btn--primary {
  background: var(--ct-green);
  color: #fff;
  box-shadow: 0 14px 26px rgba(70, 193, 98, .28);
}

.bm-catalog .ct-btn--primary:hover {
  background: #35a950;
}

/* Чипы-сценарии */
.bm-catalog .ct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.bm-catalog .ct-chip {
  padding: 8px 11px;
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: 999px;
  color: var(--ct-teal);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.bm-catalog .ct-chip:hover {
  background: var(--ct-mint);
  transform: translateY(-1px);
}

/* Статистика в герое */
.bm-catalog .ct-hero-stats {
  display: grid;
  gap: 12px;
}

.bm-catalog .ct-hero-stat {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: 20px;
  line-height: 1.15;
}

.bm-catalog .ct-hero-stat span {
  display: block;
  margin-bottom: 4px;
  color: var(--ct-muted);
  font-size: 16px;
  font-weight: 700;
}

.bm-catalog .ct-hero-stat strong {
  color: var(--ct-teal-dark);
  font-size: 20px;
}

/* Основная раскладка: левый разделы + правый список */
.bm-catalog .ct-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
}

/* Панель анализов */
.bm-catalog .ct-analysis-panel {
  order: 2;
  overflow: hidden;
  background: var(--ct-paper);
  border: 1px solid var(--ct-border);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(11, 96, 91, .06);
}

.bm-catalog .ct-analysis-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-bottom: 1px solid var(--ct-border);
}

.bm-catalog .ct-analysis-panel__head h2 {
  margin: 0 !important;
  color: var(--ct-teal-dark) !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.03em !important;
}

.bm-catalog .ct-analysis-panel__head p {
  margin: 6px 0 0;
  color: var(--ct-muted);
}

/* Табы фильтрации */
.bm-catalog .ct-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.bm-catalog .ct-tabs a {
  padding: 8px 10px;
  border: 1px solid var(--ct-border);
  border-radius: 999px;
  color: var(--ct-teal);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
}

.bm-catalog .ct-tabs a:first-child {
  background: var(--ct-mint);
  border-color: transparent;
}

/* Список анализов */
.bm-catalog .ct-analysis-list {
  display: grid;
}

.bm-catalog .ct-analysis-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 124px;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--ct-border);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.bm-catalog .ct-analysis-card:hover {
  position: relative;
  z-index: 1;
  background: #fbfefd;
  box-shadow: 0 18px 36px rgba(11, 96, 91, .08);
  transform: translateY(-2px);
}

.bm-catalog .ct-analysis-card__title {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--ct-teal-dark);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.bm-catalog .ct-analysis-card__title:hover {
  color: var(--ct-teal);
}

.bm-catalog .ct-analysis-card__text {
  margin: 0 0 10px;
  color: var(--ct-muted);
  font-size: 14px;
}

.bm-catalog .ct-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.bm-catalog .ct-tag {
  padding: 5px 8px;
  background: var(--ct-soft);
  border: 1px solid var(--ct-border);
  border-radius: 999px;
  color: var(--ct-teal);
  font-size: 12px;
  font-weight: 800;
}

.bm-catalog .ct-tag--seo {
  background: var(--ct-blue);
  border-color: #cfe8f7;
  color: var(--ct-blue-text);
}

.bm-catalog .ct-analysis-meta {
  display: grid;
  gap: 8px;
  color: var(--ct-muted);
  font-size: 13px;
  line-height: 1.3;
}

.bm-catalog .ct-analysis-meta strong {
  display: block;
  color: var(--ct-teal-dark);
  font-size: 14px;
}

.bm-catalog .ct-analysis-buy {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.bm-catalog .ct-price {
  color: var(--ct-teal-dark);
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.bm-catalog .ct-analysis-buy .ct-btn {
  min-height: 40px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
}

.bm-catalog .ct-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  width: 100%;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: 999px;
  color: var(--ct-teal);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.bm-catalog .ct-more::after {
  content: "→";
  font-size: 14px;
  line-height: 1;
  transition: transform .18s ease;
}

.bm-catalog .ct-more:hover {
  background: var(--ct-mint);
  border-color: #b6d8d0;
  color: var(--ct-teal-dark);
  transform: translateY(-1px);
}

.bm-catalog .ct-more:hover::after {
  transform: translateX(2px);
}

/* Боковая панель с разделами */
.bm-catalog .ct-side-panel {
  order: 1;
  position: sticky;
  top: 18px;
  align-self: stretch;
  padding: 20px;
  background: var(--ct-paper);
  border: 1px solid var(--ct-border);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(11, 96, 91, .06);
}

.bm-catalog .ct-side-panel h2 {
  margin: 0 !important;
  color: var(--ct-teal-dark) !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.03em !important;
}

.bm-catalog .ct-side-panel__lead {
  margin: 8px 0 18px;
  color: var(--ct-muted);
  font-size: 14px;
}

.bm-catalog .ct-side-categories {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.bm-catalog .ct-side-category {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px;
  background: var(--ct-soft);
  border: 1px solid transparent;
  border-radius: 18px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.bm-catalog .ct-side-category:hover {
  background: #fff;
  border-color: #b6d8d0;
  box-shadow: 0 12px 28px rgba(11, 96, 91, .08);
  transform: translateX(4px);
}

.bm-catalog .ct-side-category--active {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, var(--ct-mint) 100%);
  border-color: var(--ct-green);
  box-shadow: 0 16px 34px rgba(70, 193, 98, .18);
  transform: none;
}

.bm-catalog .ct-side-category--active::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 4px;
  background: var(--ct-green);
  border-radius: 0 999px 999px 0;
}

.bm-catalog .ct-side-category--active .ct-side-category__icon {
  background: var(--ct-green);
  color: #fff;
}

.bm-catalog .ct-side-category--active strong {
  color: var(--ct-teal) !important;
}

.bm-catalog .ct-side-category__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--ct-mint);
  border-radius: 14px;
  color: var(--ct-teal);
  font-weight: 900;
}

.bm-catalog .ct-side-category__icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bm-catalog .ct-side-category:nth-child(2) .ct-side-category__icon {
  background: var(--ct-blue);
  color: var(--ct-blue-text);
}

.bm-catalog .ct-side-category:nth-child(3) .ct-side-category__icon {
  background: var(--ct-rose);
  color: var(--ct-rose-text);
}

.bm-catalog .ct-side-category:nth-child(4) .ct-side-category__icon {
  background: var(--ct-amber);
  color: var(--ct-amber-text);
}

.bm-catalog .ct-side-category strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ct-teal-dark);
  line-height: 1.2;
  font-weight: 600;
}

.bm-catalog .ct-side-category > span > span {
  display: block;
  color: var(--ct-muted);
  font-size: 13px;
  line-height: 1.35;
}

.bm-catalog .ct-side-panel__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  background: var(--ct-teal-dark);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.bm-catalog .ct-side-panel__all:hover {
  background: var(--ct-teal);
  transform: translateY(-2px);
}

/* Секции ниже */
.bm-catalog .ct-section {
  margin-top: 24px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--ct-paper);
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  box-shadow: 0 12px 34px rgba(11, 96, 91, .06);
}

.bm-catalog .ct-section h2 {
  margin: 0 !important;
  color: var(--ct-teal-dark) !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.03em !important;
}

.bm-catalog .ct-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.bm-catalog .ct-section-head p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--ct-muted);
}

.bm-catalog .ct-cluster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bm-catalog .ct-cluster-card {
  padding: 18px;
  background: var(--ct-soft);
  border: 1px solid var(--ct-border);
  border-radius: 22px;
}

.bm-catalog .ct-cluster-card h3 {
  margin: 0 0 10px !important;
  color: var(--ct-teal-dark) !important;
  font-size: 18px !important;
}

.bm-catalog .ct-cluster-card p {
  margin: 0 0 14px;
  color: var(--ct-muted);
  font-size: 14px;
}

.bm-catalog .ct-link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bm-catalog .ct-link-cloud a {
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: 999px;
  color: var(--ct-teal);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

/* FAQ */
.bm-catalog .ct-faq {
  display: grid;
  gap: 10px;
}

.bm-catalog details {
  padding: 18px;
  background: var(--ct-soft);
  border: 1px solid var(--ct-border);
  border-radius: 18px;
}

.bm-catalog summary {
  color: var(--ct-teal-dark);
  font-weight: 900;
  cursor: pointer;
}

.bm-catalog details p {
  margin: 12px 0 0;
  color: var(--ct-muted);
}

/* Адаптив */
@media (max-width: 1080px) {
  .bm-catalog .ct-hero__grid,
  .bm-catalog .ct-layout {
    grid-template-columns: 1fr;
  }

  .bm-catalog .ct-side-panel {
    position: static;
  }

  .bm-catalog .ct-cluster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bm-catalog .ct-analysis-panel__head,
  .bm-catalog .ct-analysis-card {
    grid-template-columns: 1fr;
  }

  .bm-catalog .ct-section-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bm-catalog .ct-tabs {
    justify-content: flex-start;
  }

  .bm-catalog .ct-analysis-buy {
    justify-items: stretch;
  }

  .bm-catalog .ct-cluster-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .bm-catalog {
    width: min(100% - 20px, var(--ct-max));
    padding-top: 14px;
  }

  .bm-catalog .ct-search {
    grid-template-columns: 1fr;
  }
}

/* Mini-cart final polish: checkout button and full item names. */
#bmCartWidget.bm-cart-widget #bmCartPanel.bm-cart-panel #bmCartGo.bm-cart-go,
body #bmCartGo.bm-cart-go,
body button#bmCartGo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #0b605b 0%, #127a72 48%, #46c162 100%) !important;
  background-color: #0b605b !important;
  color: #ffffff !important;
  font-family: var(--bm-font, var(--font, Manrope, system-ui, -apple-system, sans-serif)) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
  box-shadow: 0 14px 30px rgba(11, 96, 91, 0.24) !important;
  cursor: pointer !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}

#bmCartWidget.bm-cart-widget #bmCartPanel.bm-cart-panel #bmCartGo.bm-cart-go:hover,
body #bmCartGo.bm-cart-go:hover,
body button#bmCartGo:hover,
#bmCartWidget.bm-cart-widget #bmCartPanel.bm-cart-panel #bmCartGo.bm-cart-go:focus-visible,
body #bmCartGo.bm-cart-go:focus-visible,
body button#bmCartGo:focus-visible {
  background: linear-gradient(135deg, #084945 0%, #0b605b 48%, #3db358 100%) !important;
  background-color: #0b605b !important;
  color: #ffffff !important;
  filter: saturate(1.04) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 17px 34px rgba(11, 96, 91, 0.3) !important;
}

#bmCartWidget.bm-cart-widget #bmCartPanel.bm-cart-panel .bm-cart-list {
  overflow-x: hidden !important;
}

#bmCartWidget.bm-cart-widget #bmCartPanel.bm-cart-panel .bm-ci {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

#bmCartWidget.bm-cart-widget #bmCartPanel.bm-cart-panel .bm-ci__body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
}

#bmCartWidget.bm-cart-widget #bmCartPanel.bm-cart-panel .bm-ci__name,
#bmCartWidget.bm-cart-widget #bmCartPanel.bm-cart-panel .bm-ci__body > strong,
body .bm-cart-panel .bm-ci__name,
body .bm-cart-panel .bm-ci__body > strong {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  overflow: visible !important;
  color: #1f2933 !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.28 !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  padding: 5px 0px;
}
