/* Блок «Цены» */
.price{
  background:#fff;
  border-radius:14px;
  padding:36px 40px;
  box-shadow:0 10px 32px rgba(16,24,40,.08);
  font-family:Manrope,Helvetica,Arial,sans-serif;
  max-width:1040px;
  display:flex;
  flex-direction:column;
  gap:24px;
}
.price__head{ display:flex; flex-direction:column; gap:6px; }
.price__title{ margin:0; font-size:30px; font-weight:800; letter-spacing:-.015em; line-height:1.15; color:#12161c; }
.price__note{ margin:0; font-size:14px; line-height:1.5; color:#6b7280; text-wrap:pretty; }

/* Строка поиска и кнопка */
.price__tools{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:12px;
}
.price__search{
  grid-column:span 2;
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  border:1px solid #d9deea;
  border-radius:9px;
  color:#8a919c;
}
.price__search:focus-within{ border-color:#0b5fc7; }
.price__search input{
  flex:1;
  min-width:0;
  border:0;
  outline:none;
  background:none;
  padding:13px 0;
  font-family:inherit;
  font-size:15px;
  color:#12161c;
}
.price__search input::placeholder{ color:#6b7280; }
.price__cta{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border-radius:9px;
  background:#f7941e;
  color:#fff;
  font-size:15px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  text-decoration:none;
}
.price__cta:hover{ background:#e5850f; color:#fff; }

/* Разделы */
.price__list{ display:flex; flex-direction:column; gap:14px; }
.price__group{ border:1px solid #e3e6ee; border-radius:12px; overflow:hidden; }
.price__group-head{
  width:100%;
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px 22px;
  background:#f3f6fb;
  border:0;
  cursor:pointer;
  text-align:left;
  font-family:inherit;
  min-height:44px;
}
.price__group-head:hover{ background:#eaf0f9; }
.price__group-head:focus-visible{ outline:2px solid #0b5fc7; outline-offset:-2px; }
.price__group-title{ flex:1; font-size:18px; font-weight:700; line-height:1.35; color:#12161c; text-wrap:pretty; }
.price__group-count{ flex:none; font-size:14px; color:#6b7280; white-space:nowrap; }

/* Знак «+» / «−» — CSS, без иконок */
.price__sign{ position:relative; flex:none; width:16px; height:16px; }
.price__sign::before,
.price__sign::after{
  content:""; position:absolute; left:50%; top:50%;
  width:12px; height:2px; margin:-1px 0 0 -6px;
  background:#0b5fc7; transition:transform .18s ease;
}
.price__sign::after{ transform:rotate(90deg); }
.price__group.is-open .price__sign::after{ transform:rotate(0deg); }

.price__rows{ display:none; flex-direction:column; }
.price__group.is-open .price__rows{ display:flex; }

/* Строка услуги */
.price__row{
  display:flex;
  align-items:baseline;
  gap:28px;
  flex-wrap:wrap;
  padding:18px 22px;
  border-top:1px solid #eef1f6;
}
.price__row:hover{ background:#fafbfd; }
.price__row[hidden]{ display:none; }
.price__info{ flex:1 1 420px; min-width:0; display:flex; flex-direction:column; gap:5px; }
.price__name{ font-size:16px; font-weight:600; line-height:1.45; color:#12161c; text-wrap:pretty; }
.price__meta{ font-size:13px; line-height:1.45; color:#6b7280; }
.price__value{ flex:none; margin-left:auto; font-size:18px; font-weight:700; color:#12161c; white-space:nowrap; }

.price__empty{ margin:0; padding:28px 2px; font-size:16px; line-height:1.6; color:#6b7280; text-wrap:pretty; }
.price__foot{
  margin:0;
  padding-top:18px;
  border-top:1px solid #e3e6ee;
  font-size:14px;
  line-height:1.6;
  color:#6b7280;
  text-wrap:pretty;
}
.price__foot a{ color:#0b5fc7; font-weight:600; text-decoration:none; }
.price__foot a:hover{ color:#f7941e; }

@media (max-width:900px){
  .price{ padding:28px 24px; }
}
@media (max-width:600px){
  .price{ padding:24px 16px; border-radius:10px; }
  .price__title{ font-size:24px; }
  .price__search{ grid-column:span 1; }
  .price__group-head{ padding:16px; gap:12px; }
  .price__group-title{ font-size:16px; }
  .price__group-count{ display:none; }
  .price__row{ padding:16px; gap:12px; }
  .price__info{ flex:1 1 100%; }
  .price__value{ margin-left:0; font-size:17px; }
}

/* ===== Дополнения для страницы /price/ ===== */
.price__group[hidden]{ display:none; }
.price__group-note{
  margin:0;
  padding:16px 22px;
  font-size:14px;
  line-height:1.55;
  color:#4a5260;
  background:#fffaf2;
  border-top:1px solid #eef1f6;
  text-wrap:pretty;
}
.price__meta{ overflow-wrap:anywhere; }

/* ===== Тексты под прайсом ===== */
.price-text{
  max-width:1040px;
  margin-top:28px;
  padding:0 40px 8px;
  font-family:Manrope,Helvetica,Arial,sans-serif;
  color:#2b313a;
  font-size:16px;
  line-height:1.7;
}
.price-text p{ margin:0 0 14px; text-wrap:pretty; }
.price-text a{ color:#0b5fc7; text-decoration:none; border-bottom:1px solid rgba(11,95,199,.3); }
.price-text a:hover{ color:#f7941e; border-bottom-color:#f7941e; }
.price-text b{ font-weight:700; color:#12161c; }
.price-text__intro{ margin-bottom:28px; }
.price-text__title{ margin:0 0 22px; font-size:26px; font-weight:800; line-height:1.2; letter-spacing:-.01em; color:#12161c; }
.price-text__sub{ margin:34px 0 12px; font-size:18px; font-weight:700; line-height:1.4; color:#12161c; }

.price-steps{ list-style:none; margin:0; padding:0; counter-reset:step; }
.price-steps__item{
  position:relative;
  counter-increment:step;
  padding:0 0 26px 58px;
}
.price-steps__item::before{
  content:counter(step);
  position:absolute; left:0; top:0;
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#f7941e; color:#fff; font-size:15px; font-weight:700;
}
.price-steps__item::after{
  content:""; position:absolute; left:17px; top:42px; bottom:6px; width:2px; background:#f6d3a6;
}
.price-steps__item:last-child{ padding-bottom:6px; }
.price-steps__item:last-child::after{ display:none; }
.price-steps__item h3{ margin:4px 0 8px; font-size:18px; font-weight:700; line-height:1.4; color:#12161c; text-wrap:pretty; }
.price-steps__item ul{ margin:0 0 6px; }

.price-text ul{ list-style:none; padding:0; }
.price-text ul li{ position:relative; padding-left:20px; margin:0 0 8px; }
.price-text ul li::before{ content:""; position:absolute; left:2px; top:.7em; width:7px; height:7px; border-radius:50%; background:#f7941e; }
.price-text__list{ margin:0 0 20px; }

.price-result{
  margin-top:24px;
  padding:24px 28px;
  border-radius:12px;
  background:#f3f6fb;
}
.price-result__title{ font-size:18px; font-weight:800; color:#12161c; margin-bottom:10px; }
.price-result__list{ margin:0 0 12px; }
.price-result__list li{ margin-bottom:4px; }
.price-result__total{ font-size:20px; font-weight:800; color:#12161c; }

@media (max-width:900px){
  .price-text{ padding:0 24px 8px; }
}
@media (max-width:600px){
  .price-text{ padding:0 16px 8px; font-size:15px; }
  .price-text__title{ font-size:22px; }
  .price-steps__item{ padding-left:48px; }
  .price-steps__item::before{ width:32px; height:32px; font-size:14px; }
  .price-steps__item::after{ left:15px; top:38px; }
  .price-steps__item h3{ font-size:16px; }
  .price-result{ padding:20px 18px; }
  .price-result__total{ font-size:18px; }
}

/* ===== Сверка с макетом на живом сайте (шрифты, кнопка, карточка текста) ===== */
/* Стили шаблона сайта (.m-container *) принудительно ставят Inter — возвращаем шрифт макета */
.m-container .price,
.m-container .price *,
.m-container .price-text,
.m-container .price-text *{ font-family:Manrope,Helvetica,Arial,sans-serif; }
.m-container .price{ font-size:16px; line-height:normal; color:#000; }
.m-container .price__value,
.m-container .price__group-count,
.m-container .price__search input{ line-height:normal; }
/* глобальный p{line-height:24px} сайта сбивал межстрочное в текстах */
.m-container .price-text,
.m-container .price-text p,
.m-container .price-text li,
.m-container .price-text ul{ line-height:1.7; }
.m-container .price-text h3{ line-height:1.4; }
.m-container .price-text__title{ line-height:1.2; }
/* карточка с текстами под прайсом, как в макете */
.price-text{
  background:#fff;
  border-radius:14px;
  padding:32px 40px 24px;
  box-shadow:0 10px 32px rgba(16,24,40,.08);
}
@media (max-width:900px){ .price-text{ padding:24px; } }
@media (max-width:600px){ .price-text{ padding:20px 16px; } }

/* Кнопка записи — как «Онлайн-консультация» в шапке сайта */
.m-container .price__cta{
  font-family:Inter,sans-serif;
  background:#fff;
  color:#2a5fa8;
  border:1px solid #3b6fb4;
  border-radius:6px;
  padding:13px 18px;
  font-size:12px;
  font-weight:600;
  line-height:15px;
  text-transform:uppercase;
  text-align:center;
  justify-content:center;
  transition:.2s;
}
.m-container .price__cta:hover{ background:#fff; color:#2a5fa8; opacity:.8; }

/* Без фона и тени вокруг блоков; счётчик услуг убран */
.m-container .price,
.m-container .price-text{
  background:none;
  box-shadow:none;
  border-radius:0;
  padding-left:0;
  padding-right:0;
}
.m-container .price{ padding-top:0; padding-bottom:0; }
.m-container .price-text{ padding-top:8px; padding-bottom:8px; }
.price__group-count{ display:none; }

/* Фон плашек разделов — как у бокового меню «Услуги» */
.m-container .price__group-head{ background:#f6f7f9; }
.m-container .price__group-head:hover{ background:#eef1f6; }
.m-container .price-result{ background:#f6f7f9; }

/* ===== Шрифты строк прайса — мельче; цены не крупнее названий ===== */
.m-container .price__title{ font-size:28px; }
.m-container .price__group-title{ font-size:16px; }
.m-container .price__name{ font-size:15px; }
.m-container .price__meta{ font-size:12px; }
.m-container .price__value{ font-size:15px; }

/* ===== Ссылки на страницы услуг ===== */
.m-container .price__name-link{
  color:#3b6fb4;
  text-decoration:none;
  border-bottom:1px solid rgba(59,111,180,.45);
}
.m-container .price__name-link:hover{ color:#2a5fa8; border-bottom-color:#2a5fa8; }

/* ===== Выравнивание по левому краю сайта (вложенный .container давал +15px) ===== */
.m-container-wrap--price > .container{ padding-left:0; }
.breadcrumbs--price .container{ padding-left:0; }

/* ===== Хлебные крошки — как на странице услуги ===== */
.breadcrumbs--price .breadcrumbs__list{ display:flex; flex-wrap:wrap; align-items:center; gap:0; margin:0; padding:0; list-style:none; }
.breadcrumbs--price .breadcrumbs__item{ font-size:13px; line-height:1.2; flex:0 0 auto; white-space:nowrap; }
.breadcrumbs--price .breadcrumbs__item::after{ display:none !important; content:none !important; }
.breadcrumbs--price .breadcrumbs__item + .breadcrumbs__item::before{ content:"›"; margin:0 7px; color:rgba(18,22,28,.4); }
.breadcrumbs--price .breadcrumbs__link{ font-size:13px !important; font-weight:400 !important; color:#3b6fb4 !important; text-decoration:none; }
.breadcrumbs--price .breadcrumbs__item:last-child .breadcrumbs__link{ color:#898989 !important; }

/* ===== Боковое меню — разделители и шрифты как на страницах услуг ===== */
.m-sidebar .m-sidebar__nav-item-title { font-size:15px !important; font-weight:500 !important; line-height:1.35 !important; padding:12px 26px 12px 0 !important; color:#2d2d2d !important; }
.m-sidebar .m-sidebar__nav-item-title::before, .m-sidebar .m-sidebar__nav-item-title::after { border-radius:1px; width:10px !important; height:1.5px !important; right:3px !important; background:#9aa4b5 !important; }
.m-sidebar .m-sidebar__nav-item-title:hover::before, .m-sidebar .m-sidebar__nav-item-title:hover::after { background:#3b6fb4 !important; }
.m-sidebar .m-sidebar__nav-item { border-bottom:1px solid rgba(0,0,0,.06) !important; }
.m-sidebar .m-sidebar__nav-item:last-child { border-bottom:0 !important; }

/* Кнопка «Поиск» и крестик очистки */
.m-container .price__find{ font-family:Inter,sans-serif; cursor:pointer; width:100%; }
.price__search input::-webkit-search-cancel-button,
.price__search input::-webkit-search-decoration{ -webkit-appearance:none; appearance:none; display:none; }
.price__clear{
  flex:none; display:flex; align-items:center; justify-content:center;
  width:26px; height:26px; padding:0; margin-right:-6px;
  border:0; border-radius:50%; background:none; color:#b8bec9; cursor:pointer;
  transition:color .15s, background .15s;
}
.price__clear[hidden]{ display:none; }
.price__clear:hover{ color:#6b7280; background:#eef1f6; }

/* Наведение на кнопку — как у кнопок шапки (.sButton:hover): только прозрачность 0.8, без заливки */
.m-container .price__cta,
.m-container .price__find{ transition:opacity .2s; }
.m-container .price__cta:hover,
.m-container .price__cta:focus-visible,
.m-container .price__find:hover,
.m-container .price__find:focus-visible{
  background:#fff; color:#2a5fa8; border-color:#3b6fb4; opacity:.8; box-shadow:none; transform:none; outline:none;
}

/* Размеры чуть крупнее — на macOS мелкий текст читался плохо */
.m-container .price__meta{ font-size:14px; line-height:1.5; color:#5b6472; }
.m-container .price__name{ font-size:16px; }
.m-container .price__value{ font-size:16px; }
.m-container .price__cta,.m-container .price__find{ font-size:13px; }
.m-container .price__search input{ font-size:16px; }

/* ===== Текст под прайсом — как на странице услуги «Консультация репродуктолога» ===== */
.m-container .price-text,
.m-container .price-text *{ font-family:Inter,sans-serif; }
.m-container .price-text,
.m-container .price-text p,
.m-container .price-text li{ font-size:14px; line-height:21px; font-weight:400; color:#2d2d2d; }
.m-container .price-text p{ margin:0 0 16px; text-wrap:auto; }
.m-container .price-text b,
.m-container .price-text strong{ font-weight:700; color:#2d2d2d; }
.m-container .price-text__title{ margin:36px 0 14px; font-size:24px; font-weight:600; line-height:30px; letter-spacing:normal; color:#12161c; }
.m-container .price-text__sub{ margin:36px 0 14px; font-size:24px; font-weight:600; line-height:30px; color:#12161c; }
.m-container .price-steps__item h3{ margin:4px 0 6px; font-size:16px; font-weight:600; line-height:22px; color:#12161c; text-wrap:auto; }
.m-container .price-text li{ margin:0 0 6px; line-height:20px; }
.m-container .price-text__list{ margin:0 0 16px; }
.m-container .price-text a{ color:#3b6fb4; border-bottom:1px solid rgba(59,111,180,.45); text-decoration:none; }
.m-container .price-text a:hover{ color:#2a5fa8; border-bottom-color:#2a5fa8; }

/* Кнопка «Поиск» при наведении — как «Онлайн-консультация» в шапке: светло-голубая заливка, прозрачность .8 */
.m-container .price__cta:hover,
.m-container .price__cta:focus-visible,
.m-container .price__find:hover,
.m-container .price__find:focus-visible{
  background:#eef3fb; color:#2a5fa8; border-color:#3b6fb4; opacity:.8;
}

/* Этапы — просто текстом: без кружков с цифрами и линии */
.m-container .price-steps__item{ padding:0; margin:0; }
.m-container .price-steps__item::before,
.m-container .price-steps__item::after{ display:none !important; content:none !important; }
.m-container .price-steps__item h3{ margin:20px 0 6px; }
.m-container .price-steps__item:first-child h3{ margin-top:0; }
.m-container .price-steps__item p{ margin:0 0 12px; }
