/* =====================================================================
   SOLT · каталоги «Построить дом», «Готовые дома», страница дома (сентябрь 2026)
   Один файл на три шаблона из catalogs-patch/. Все свои классы — с префиксом
   solt-, так что с Bootstrap 4 (.card, .badge, .modal, .dropdown-*) и с темой
   не пересекаемся. Классы темы переопределяем только внутри своих скоупов:
   .solt-cat (страницы) и .modal.solt-modal (две наши модалки).

   Токены темы: #ff1c1c, #3a3f42, #666f80, #b7bfcd, #eeeff6, #e6e6e6, Ubuntu.
   Брейкпоинты те же, что в боевом villages.css: 1200 / 991 / 767 / 599 / 413 / 359.
   ===================================================================== */

/* ---------- Скоуп и сбросы ---------- */
.solt-cat {
    font-size: 15px;
    line-height: 1.5;
    color: #3a3f42;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
.solt-cat h1, .solt-cat h2, .solt-cat h3, .solt-cat h4,
.solt-cat p, .solt-cat ul, .solt-cat dl, .solt-cat dd, .solt-cat dt,
.modal.solt-modal h4, .modal.solt-modal p, .modal.solt-modal dl, .modal.solt-modal dd, .modal.solt-modal dt {
    margin: 0;
    padding: 0;
}
.solt-cat ul, .modal.solt-modal ul { list-style: none; }
/* Шапка темы фиксированная: .l-page даёт 70px под неё на десктопе, ниже — см. адаптив
   (замеры из боевого villages.css: ≤1200 — 105px, ≤413 — 138px) */
.l-page.solt-cat { padding-top: 71px; }
.solt-cat a { color: inherit; text-decoration: none; }
.solt-cat .nb, .modal.solt-modal .nb { white-space: nowrap; }
.solt-cat [hidden], .modal.solt-modal [hidden] { display: none !important; }
.solt-cat .is-muted { color: #666f80; font-weight: 400; }

/* Кнопки темы: .btn держит min-width 140px и bold 13px — приводим к макету */
.solt-cat .btn,
.modal.solt-modal .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Размеры и вид взяты с кнопок темы в контенте: 52px, вес 700,
       обычный регистр. Капса и чёрных рамок в системе сайта нет —
       вторичная кнопка это светлая рамка с красной надписью. */
    height: 52px;
    min-width: 0;
    margin: 0;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.solt-cat .btn span, .modal.solt-modal .btn span { display: inline; }
.solt-cat .btn.btn-primary,
.modal.solt-modal .btn.btn-primary {
    background-color: #ff1c1c;
    border-color: #ff1c1c;
    color: #fff;
}
.solt-cat .btn.btn-primary:hover, .solt-cat .btn.btn-primary:focus,
.modal.solt-modal .btn.btn-primary:hover, .modal.solt-modal .btn.btn-primary:focus {
    background-color: #ff3030;
    border-color: #ff3030;
    color: #fff;
}
.solt-cat .btn.btn-border,
.modal.solt-modal .btn.btn-border {
    background-color: transparent;
    border-color: #3a3f42;
    color: #3a3f42;
}
.solt-cat .btn.btn-border:hover, .solt-cat .btn.btn-border:focus,
.modal.solt-modal .btn.btn-border:hover, .modal.solt-modal .btn.btn-border:focus {
    background-color: #3a3f42;
    border-color: #3a3f42;
    color: #fff;
}
.solt-cat .btn:focus-visible, .modal.solt-modal .btn:focus-visible {
    outline: 2px solid #3a3f42;
    outline-offset: 2px;
}
.solt-cat .btn.solt-btn-block, .modal.solt-modal .btn.solt-btn-block { width: 100%; }
/* Кнопка-заглушка на время отправки (класс ставит JS темы) */
.modal.solt-modal .btn.is-loading { color: transparent !important; }

/* ---------- Первый экран раздела ----------
   Конструкция первого экрана страницы «Ипотека» темы (.page-mortgage .page-header):
   светлый фон, слева колонка текста (крошки, H1, два коротких абзаца, кнопка),
   справа вырезанное фото человека, прижатое к нижнему краю; под ними — полоса
   фактов раздела на том же фоне. Без фото (.solt-intro без --photo) колонка
   текста занимает всю ширину — это штатное состояние, пока фото нет.

   Фон во всю ширину окна. Блок лежит глубоко в контейнере темы
   (.container > .row > .col-md-12 > .content-area > .l-page), и растяжка через
   100vw / calc(-50vw + 50%) считает ширину вместе с полосой прокрутки —
   на десктопе страница получает горизонтальный скролл. Поэтому фон рисуем
   тенью со spread: box-shadow — «ink overflow», в scrollWidth не входит никогда,
   а clip-path оставляет от неё только горизонтальную полосу высотой с блок.
   За краями окна её режет .l-main-wrapper { overflow: hidden } самой темы. */
.solt-intro {
    position: relative;
    overflow: hidden;
    background: #eff4f7;  /* фон первого экрана «Ипотеки» */
    box-shadow: 0 0 0 100vmax #eff4f7;
    clip-path: inset(0 -100vmax);
}
.solt-intro__wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.solt-intro__text {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 760px;
    padding: 40px 0 40px;
}
.solt-intro--photo .solt-intro__text {
    flex: 0 1 540px;
    max-width: 540px;
    padding-right: 24px;
}
/* Фото: высота задаёт рост блока, ширина — от пропорций кадра; при нехватке места
   картинка ужимается по ширине (object-fit) и остаётся прижатой к правому низу.
   Отступ сверху — воздух над головой, справа выходит на край карточки. */
.solt-intro__image {
    flex: 0 1 auto;
    align-self: flex-end;
    max-width: 54%;
    margin: 0 -15px 0 auto;
    padding-top: 24px;
    font-size: 0;
    line-height: 0;
}
.solt-intro__image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 520px;
    object-fit: contain;
    object-position: right bottom;
}
.solt-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.4;
    color: #666f80;
}
.solt-crumbs li { display: inline; }
.solt-crumbs li + li::before { content: "/"; margin-right: 8px; color: #b7bfcd; }
.solt-crumbs li:last-child, .solt-crumbs [aria-current] { color: #3a3f42; }
.solt-crumbs a:hover { color: #ff1c1c; }
/* Крошки Breadcrumb NavXT в классе темы .breadcrumbs — только отступ и цвет */
.solt-cat .breadcrumbs.solt-crumbs--bcn { display: block; margin-bottom: 20px; font-size: 13px; color: #666f80; }
.solt-cat .breadcrumbs.solt-crumbs--bcn a { color: #666f80; }
.solt-cat .breadcrumbs.solt-crumbs--bcn a:hover { color: #ff1c1c; }

.solt-intro__title {
    max-width: 760px;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;
}
/* Абзацы как на «Ипотеке»: 16/22, тёмный текст, короткие строки через <br> */
.solt-intro__lead {
    max-width: 700px;
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.4;
    color: #3a3f42;
}
.solt-intro__title + .solt-intro__lead { margin-top: 28px; }
.solt-intro__actions { margin-top: 32px; }
.solt-cat .btn.solt-intro__btn {
    height: 56px;
    min-width: 240px;
    padding: 0 32px;
    border-radius: 4px;
}

/* Полоса фактов внутри первого экрана: цифры раздела (проекты, цены, срок)
   под кнопкой, на том же фоне, отделены тонкой линией; фото стоит на этой линии. */
.solt-intro__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 0;
    padding: 20px 0 24px;
    border-top: 1px solid rgba(58, 63, 66, 0.14);
}
.solt-intro__facts li {
    display: flex;
    flex-direction: column;
    padding: 0 36px;
    border-left: 1px solid rgba(58, 63, 66, 0.14);
}
.solt-intro__facts li:first-child { padding-left: 0; border-left: 0; }
.solt-intro__facts strong { font-size: 20px; line-height: 1.2; font-weight: 700; }
.solt-intro__facts span { margin-top: 3px; font-size: 13px; line-height: 1.3; color: #666f80; }

/* ---------- Фильтр, сортировка, результат ---------- */
.solt-catalog { padding: 32px 0 64px; }
.solt-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e6e6e6;
}
.solt-filter__groups { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.solt-filter__right { display: flex; align-items: flex-end; gap: 12px; margin-left: auto; }
.solt-fgroup__label {
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    color: #b7bfcd;
}

/* Чипы */
.solt-types { display: flex; flex-wrap: wrap; gap: 6px; }
.solt-types button {
    display: inline-flex;
    align-items: center;
    height: 36px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    color: #3a3f42;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.solt-types button:hover { border-color: #ff1c1c; color: #ff1c1c; }
.solt-types button.is-active:hover { color: #fff; }
.solt-types button:focus-visible { outline: 2px solid #3a3f42; outline-offset: 2px; }
/* Активный чип — красный, как всё активное на сайте. Тёмной заливки в системе нет. */
.solt-types button.is-active { background: #ff1c1c; border-color: #ff1c1c; color: #fff; }
.solt-types button small { margin-left: 5px; font-size: 12px; font-weight: 400; color: #b7bfcd; }
.solt-types button.is-active small { color: rgba(255, 255, 255, 0.6); }

/* Свой дропдаун — облик .dropdown-custom темы, классы свои (см. README) */
.solt-sort { min-width: 220px; }
.solt-select { position: relative; }
.solt-select__toggle {
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
    margin: 0;
    padding: 0 34px 0 12px;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    color: #3a3f42;
    text-align: left;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s;
}
.solt-select__toggle span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.solt-select__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-right: 2px solid #666f80;
    border-bottom: 2px solid #666f80;
    transform: rotate(45deg);
    transition: transform 0.15s;
    pointer-events: none;
}
.solt-select__toggle:hover { border-color: #3a3f42; }
.solt-select__toggle:focus-visible { outline: 2px solid #3a3f42; outline-offset: 2px; }
.solt-select.is-open .solt-select__toggle { border-color: #ff1c1c; }
.solt-select.is-open .solt-select__toggle::after { margin-top: -1px; transform: rotate(-135deg); }
.solt-select__menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    min-width: 220px;
    padding: 5px;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(58, 63, 66, 0.16);
}
.solt-select.is-up .solt-select__menu { top: auto; bottom: calc(100% + 4px); }
.solt-select__item {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 10px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.3;
    color: #3a3f42;
    cursor: pointer;
    outline: none;
    transition: background-color 0.12s, color 0.12s;
}
.solt-select__item:hover, .solt-select__item:focus { background: #eeeff6; }
.solt-select__item.is-active { background: #ff1c1c; color: #fff; }
.solt-select__item.is-active:hover, .solt-select__item.is-active:focus { background: #ff3030; }
.solt-select__item:focus-visible { box-shadow: inset 0 0 0 2px #3a3f42; }

.solt-result {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px 24px;
    margin: 16px 0 18px;
    font-size: 13px;
    color: #666f80;
}
.solt-result strong { font-weight: 500; color: #3a3f42; }

/* Пустое состояние: по фильтру и когда каталог пуст целиком */
.solt-empty {
    display: none;
    padding: 40px 20px;
    border: 1px dashed #e6e6e6;
    border-radius: 10px;
    text-align: center;
    color: #666f80;
}
.solt-empty.is-visible { display: block; }
.solt-empty p + p { margin-top: 8px; }
.solt-empty__title { font-size: 20px; font-weight: 700; color: #3a3f42; }
.solt-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}
.solt-empty--page { padding: 56px 24px; max-width: 640px; margin: 0 auto; }

/* ---------- Пустое состояние во всю ширину сетки ----------
   Узкая карточка по центру (.solt-empty--page) оставляла полполосы пустого
   места и никуда не вела. Широкий вариант делит полосу на две части:
   слева объяснение и действия, справа — то, что компания строит сейчас.
   Собственный модификатор нужен, чтобы не задеть узкое состояние фильтра
   («ничего не найдено»), у которого та же база .solt-empty. */
.solt-empty--wide {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    padding: 0;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #fff;
    text-align: left;
    overflow: hidden; /* иначе фон левой колонки вылезает за скругление */
}
.solt-empty--wide.is-visible { display: grid; }

.solt-empty__intro {
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: #eff4f7;
    border-right: 1px solid #e6e6e6;
}
.solt-empty__label {
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: #666f80;
}
.solt-empty--wide .solt-empty__title {
    margin-bottom: 12px;
    font-size: 24px !important; /* тема: 26px через .content-area h2 */
    line-height: 1.25;
}
.solt-empty__text {
    font-size: 15px;
    line-height: 1.55;
    color: #666f80;
}
/* Кнопки прижаты к низу колонки: тогда низ левой и правой частей
   выравнивается независимо от длины текста. */
.solt-empty--wide .solt-empty__actions {
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
}
.solt-empty--wide .solt-empty__actions .btn { width: 100%; margin-top: 0; }

.solt-empty__projects {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px 28px 24px;
}
.solt-empty__projects-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.solt-empty--wide .solt-empty__projects-title { font-size: 15px !important; /* тема: 22px через .content-area h3 */ line-height: 1.35; font-weight: 700; color: #3a3f42; }
.solt-empty__projects-link {
    font-size: 13px;
    font-weight: 500;
    color: #ff1c1c;
    white-space: nowrap;
}
.solt-empty__projects-link:hover { color: #ff1c1c; text-decoration: underline; }

/* Компактная карточка проекта: та же .solt-card, ужаты отступы и кегли */
.solt-cards--teaser { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.solt-card--teaser { color: inherit; }
.solt-card--teaser .solt-card__body { padding: 12px 14px 14px; }
.solt-card--teaser .solt-card__title { display: block; font-size: 16px; }
.solt-card__meta { margin-top: 4px; font-size: 12px; line-height: 1.5; color: #666f80; }
.solt-card__meta span { display: block; }
.solt-card__price { margin-top: 8px; font-size: 15px; font-weight: 700; color: #3a3f42; white-space: nowrap; }
.solt-card__price small { font-size: 12px; font-weight: 400; color: #666f80; }
.solt-empty--page .btn { margin-top: 18px; }
.solt-empty--page .solt-empty__actions .btn { margin-top: 0; }
.solt-empty--page .solt-empty__title { font-size: 24px; }

/* ---------- Сетка карточек ---------- */
.solt-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.solt-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}
.solt-card.is-hidden { display: none; }
.solt-card__img {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: #dfe3ea;
    overflow: hidden;
}
.solt-card__cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.solt-card__img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eeeff6 repeating-linear-gradient(118deg, rgba(58, 63, 66, 0.04) 0 2px, transparent 2px 40px);
}
.solt-card__nophoto {
    padding: 0 20px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: none;
    text-align: center;
    color: #b7bfcd;
}
.solt-badge {
    position: absolute;
    z-index: 1;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 2px;
    background: #ff1c1c;
    color: #fff;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: none;
    white-space: nowrap;
}
.solt-badge--dark { background: rgba(58, 63, 66, 0.84); }
.solt-badge--photos {
    top: auto;
    right: 12px;
    bottom: 10px;
    left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(58, 63, 66, 0.84);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}
.solt-badge--photos::before {
    content: "";
    width: 12px;
    height: 9px;
    border: 1.5px solid #fff;
    border-radius: 2px;
    box-shadow: 3px -3px 0 -2px #fff;
}
.solt-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 16px 18px 18px;
}
.solt-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.solt-card__title { font-size: 19px; line-height: 1.25; font-weight: 700; transition: color 0.18s; }
.solt-card__title a { color: inherit; }
.solt-card__area { font-size: 19px; font-weight: 700; white-space: nowrap; }
.solt-card__sub { margin-top: 2px; font-size: 13px; color: #666f80; }
.solt-card__place { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: #666f80; }
.solt-card__place::before {
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50% 50% 50% 0;
    background: #ff1c1c;
    transform: rotate(-45deg);
}
.solt-card__specs { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 10px; font-size: 13px; }
.solt-card__specs li { display: flex; align-items: center; white-space: nowrap; }
.solt-card__specs li + li::before { content: ""; width: 3px; height: 3px; margin: 0 10px; border-radius: 50%; background: #b7bfcd; }
.solt-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.solt-card__chips li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px 3px 6px;
    border-radius: 2px;
    background: #eeeff6;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}
.solt-card__chips li i { position: relative; flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; background: #ff1c1c; }
.solt-card__chips li i::after {
    content: "";
    position: absolute;
    top: 1.5px;
    left: 3.5px;
    width: 3px;
    height: 6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}
.solt-card__chips li.is-optional i { background: #b7bfcd; }
.solt-card__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; margin-top: 12px; }
.solt-card__facts--1 { grid-template-columns: minmax(0, 1fr); }
.solt-card__facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.solt-card__facts div { display: flex; flex-direction: column; min-width: 0; }
.solt-card__facts dt { font-size: 11px; letter-spacing: 0; text-transform: none; color: #b7bfcd; }
.solt-card__facts dd { font-size: 14px; font-weight: 500; white-space: nowrap; }
.solt-card__comms { margin-top: 12px; padding-top: 10px; border-top: 1px solid #e6e6e6; font-size: 13px; line-height: 1.4; }
.solt-card__label { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: 0; text-transform: none; color: #b7bfcd; }
.solt-card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e6e6e6;
}
.solt-card__bottom > div { display: flex; flex-direction: column; min-width: 0; }
.solt-card__bottom dt { font-size: 12px; color: #666f80; }
.solt-card__bottom dd { font-size: 20px; line-height: 1.2; font-weight: 700; white-space: nowrap; }
.solt-card__bottom dd.is-muted { font-size: 15px; font-weight: 500; color: #3a3f42; white-space: normal; }
.solt-card__bottom dd small { margin-right: 3px; font-size: 12px; font-weight: 400; color: #666f80; }
.solt-card__note { margin-top: 1px; font-size: 12px; color: #666f80; }
.solt-card__term { text-align: right; }
.solt-card__term dd { font-size: 15px; font-weight: 500; }
.solt-card__status { font-size: 13px; text-align: right; }
.solt-card__status.is-building { color: #666f80; }
.solt-card__status b { font-weight: 500; color: #3a3f42; }
.solt-card__actions { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 14px; }
.solt-card__actions .btn { height: 46px; padding: 0 14px; }
.solt-card__more {
    font-size: 13px;
    line-height: 1.3;
    color: #666f80;
    border-bottom: 1px solid #b7bfcd;
    transition: color 0.15s, border-color 0.15s;
}
.solt-card__more:hover { color: #ff1c1c; border-color: #ff1c1c; }
@media (hover: hover) {
    .solt-card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 16px 36px rgba(58, 63, 66, 0.16); }
    .solt-card:hover .solt-card__cover { transform: scale(1.06); }
    .solt-card:hover .solt-card__title { color: #ff1c1c; }
}

/* ---------- CTA под каталогом ---------- */
.solt-cta { padding: 44px 0; background: #3a3f42; color: #fff; }
.solt-cta__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.solt-cta h3 { font-size: 24px; line-height: 1.25; font-weight: 700; color: #fff; }
.solt-cta p { max-width: 620px; margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, 0.78); }

/* ---------- Модалки (Bootstrap-разметка темы, свой облик) ---------- */
.modal.solt-modal { font-size: 15px; line-height: 1.5; color: #3a3f42; }
.modal.solt-modal .modal-dialog { max-width: 480px; margin: 120px auto 40px; }
/* 160px = место под крестик темы (60px + 70px выноса) с каждой стороны */
.modal.solt-modal--project .modal-dialog { max-width: 1040px; width: calc(100% - 160px); }
.modal.solt-modal .modal-dialog .modal-content {
    padding: 36px 40px 40px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.modal.solt-modal--project .modal-dialog .modal-content { padding: 32px 36px 36px; }
/* Крестик темы — красный круг за пределами окна; ниже 767 прячем внутрь */
.modal.solt-modal .modal-dialog .modal-content .modal-close { top: -70px; right: -70px; }
.modal.solt-modal .solt-modal__title { padding-right: 20px; font-size: 24px; line-height: 1.25; font-weight: 700; }
.modal.solt-modal .solt-modal__lead { margin-top: 8px; font-size: 14px; line-height: 1.5; color: #666f80; }

/* Форма темы (.common-form / .label-abs) внутри нашей модалки: компактнее полей темы */
.modal.solt-modal .solt-form { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.modal.solt-modal .solt-form .form-group { margin: 0; }
/* Фон — на обёртке: у темы инпут прозрачный с z-index 2 поверх абсолютной подписи,
   непрозрачный инпут её просто закроет */
.modal.solt-modal .solt-form .form-group.label-abs { background: #fff; border-radius: 3px; }
.modal.solt-modal .solt-form .form-group.label-abs .form-control {
    height: 52px;
    padding: 20px 14px 6px;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.3;
    color: #3a3f42;
    box-shadow: none;
}
.modal.solt-modal .solt-form .form-group.label-abs .form-control:hover { border-color: #b7bfcd; }
.modal.solt-modal .solt-form .form-group.label-abs .form-control:focus { border-color: #3a3f42; }
.modal.solt-modal .solt-form .form-group.label-abs label {
    top: 50%;
    left: 14px;
    height: auto;
    margin: 0;
    transform: translateY(-50%);
    font-size: 15px;
    line-height: 1.2;
    color: #666f80;
    pointer-events: none;
    transition: all 0.15s;
}
.modal.solt-modal .solt-form .form-group.label-abs.is-filled label,
.modal.solt-modal .solt-form .form-group.label-abs .form-control:focus + label {
    top: 9px;
    transform: none;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    color: #b7bfcd;
}
.modal.solt-modal .solt-form .form-group.has-error .form-control,
.modal.solt-modal .solt-form .form-group.has-danger .form-control { border-color: #fe3f3f !important; }
.modal.solt-modal .solt-form .form-group.solt-form__project { background: #eeeff6; }
.modal.solt-modal .solt-form .solt-form__project .form-control {
    padding-right: 90px;
    border-color: #eeeff6;
    background: transparent;
    font-weight: 500;
}
.modal.solt-modal .solt-form__change {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 14px;
    margin: 0;
    padding: 4px 0;
    border: 0;
    border-bottom: 1px solid transparent;
    background: none;
    font-family: inherit;
    font-size: 13px;
    line-height: 1;
    color: #ff1c1c;
    cursor: pointer;
    transform: translateY(-50%);
}
.modal.solt-modal .solt-form__change:hover { border-color: currentColor; }
.modal.solt-modal .solt-form__villages { margin-top: 4px; }
.modal.solt-modal .solt-types--form button { height: 40px; }
/* Согласие: разметка темы .privacy > label.checkbox + p */
.modal.solt-modal .solt-form .solt-form__bottom { display: block; padding: 0; }
.modal.solt-modal .solt-form .solt-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 14px;
    font-size: 13px;
    line-height: 1.4;
    color: #666f80;
    user-select: none;
}
.modal.solt-modal .solt-form .solt-form__privacy label.checkbox { flex: 0 0 auto; margin: 1px 0 0; }
.modal.solt-modal .solt-form .solt-form__privacy label.checkbox i { margin: 0; }
.modal.solt-modal .solt-form .solt-form__privacy p { flex: 1; font-size: 13px; line-height: 1.4; color: #666f80; }
.modal.solt-modal .solt-form .solt-form__privacy a { color: inherit; border-bottom: 1px solid #b7bfcd; }
.modal.solt-modal .solt-form .solt-form__privacy a:hover { color: #ff1c1c; border-color: #ff1c1c; }
.modal.solt-modal .solt-form .btn.submit { width: 100%; }
.modal.solt-modal .solt-form__hint { margin-top: 0; font-size: 12px; text-align: center; color: #666f80; }

/* Модалка проекта */
.solt-project { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
.solt-project--nogallery { grid-template-columns: minmax(0, 1fr); }
.modal.solt-modal--project.is-nogallery .modal-dialog { max-width: 560px; }
.solt-project__eyebrow { font-size: 11px; letter-spacing: 0; text-transform: none; color: #b7bfcd; }
.modal.solt-modal .solt-project__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin-top: 2px;
    padding-right: 10px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}
.modal.solt-modal .solt-project__title small { font-size: 18px; font-weight: 500; color: #666f80; }
.solt-props { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 16px; }
.solt-props > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e6e6e6;
    font-size: 14px;
}
.solt-props dt { color: #666f80; white-space: nowrap; }
.solt-props dd { font-weight: 500; text-align: right; }
.solt-props dd.is-muted { font-size: 13px; font-weight: 400; color: #666f80; white-space: normal; }
.solt-props > .solt-props__wide { grid-column: 1 / -1; }
.solt-project__price { display: flex; flex-direction: column; margin-top: 16px; padding: 14px 16px; border-radius: 3px; background: #eeeff6; }
.solt-project__price span { font-size: 12px; color: #666f80; }
.solt-project__price strong { font-size: 24px; line-height: 1.2; font-weight: 700; }
.solt-project__price small { margin-top: 2px; font-size: 12px; color: #666f80; }
.modal.solt-modal .solt-project__info .btn { margin-top: 14px; }

/* ---------- Галерея (одна и для модалки, и для страницы дома) ---------- */
.solt-gallery { outline: none; }
.solt-gallery:focus-visible { outline: 2px solid #3a3f42; outline-offset: 4px; }
.solt-gallery__main {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 3px;
    background: #eeeff6;
    overflow: hidden;
    touch-action: pan-y;
}
.solt-gallery__link { display: block; width: 100%; height: 100%; }
.solt-gallery__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.solt-gallery__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.15s;
}
.solt-gallery__arrow:hover { background: #fff; }
.solt-gallery__arrow:focus-visible { outline: 2px solid #3a3f42; }
.solt-gallery__arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid #3a3f42;
    border-right: 2px solid #3a3f42;
}
.solt-gallery__arrow--prev { left: 12px; }
.solt-gallery__arrow--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.solt-gallery__arrow--next { right: 12px; }
.solt-gallery__arrow--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.solt-gallery__counter {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 10px;
    padding: 3px 8px;
    border-radius: 2px;
    background: rgba(58, 63, 66, 0.84);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
}
.solt-gallery__nav {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
}
.solt-gallery__thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: #eeeff6;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.15s, box-shadow 0.15s;
}
.solt-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.solt-gallery__thumb:hover, .solt-gallery__thumb.is-active { opacity: 1; }
.solt-gallery__thumb.is-active { box-shadow: inset 0 0 0 2px #ff1c1c; }
.solt-gallery__thumb:focus-visible { outline: 2px solid #3a3f42; outline-offset: 1px; opacity: 1; }

/* ---------- Страница дома ---------- */
.solt-cat--house > .container { padding-top: 26px; padding-bottom: 64px; }
.solt-house__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px 32px;
    margin-bottom: 22px;
}
.solt-house__title { font-size: 34px; line-height: 1.15; font-weight: 700; }
.solt-house__place { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; color: #666f80; }
.solt-house__place::before {
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50% 50% 50% 0;
    background: #ff1c1c;
    transform: rotate(-45deg);
}
.solt-house__place a { color: #3a3f42; border-bottom: 1px solid #b7bfcd; }
.solt-house__place a:hover { color: #ff1c1c; border-color: #ff1c1c; }
.solt-house__status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.solt-pill {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}
.solt-pill--ready { background: #ff1c1c; color: #fff; }
.solt-pill--building { background: #3a3f42; color: #fff; }
.solt-pill--soft { background: #eeeff6; color: #3a3f42; font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; }

.solt-house__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas: "gallery aside" "content aside";
    gap: 24px 32px;
    align-items: start;
}
.solt-house__grid--nogallery { grid-template-areas: "content aside"; }
.solt-house__gallery { grid-area: gallery; min-width: 0; }
.solt-house__gallery .solt-gallery__main { aspect-ratio: 16 / 10; }
/* auto-fill: 6 фото — 6 колонок, 7 (с планом) — 7, а не одинокий кадр во второй строке */
.solt-house__gallery .solt-gallery__nav { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.solt-house__content { grid-area: content; min-width: 0; }
.solt-house__aside { grid-area: aside; position: sticky; top: 90px; /* фиксированная шапка темы 71px */ }

.solt-aside { border: 1px solid #e6e6e6; border-radius: 10px; overflow: hidden; }
.solt-aside__price { padding: 20px 22px 16px; background: #eeeff6; }
.solt-aside__price span { display: block; font-size: 12px; color: #666f80; }
.solt-aside__price strong { display: block; font-size: 28px; line-height: 1.2; font-weight: 700; }
.solt-aside__price strong.is-muted { font-size: 20px; font-weight: 500; color: #3a3f42; }
.solt-aside__price small { display: block; margin-top: 4px; font-size: 12px; color: #666f80; }
.solt-aside__body { padding: 16px 22px 22px; }
.solt-aside__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.solt-aside__facts div { display: flex; flex-direction: column; }
.solt-aside__facts dt { font-size: 11px; letter-spacing: 0; text-transform: none; color: #b7bfcd; }
.solt-aside__facts dd { font-size: 15px; font-weight: 500; }
.solt-aside__status {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 3px;
    background: #eeeff6;
    font-size: 13px;
    line-height: 1.4;
}
.solt-aside__facts + .solt-aside__status { margin-top: 14px; }
.solt-aside__status i { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #ff1c1c; }
.solt-aside__status.is-building i { background: #b7bfcd; }
.solt-aside__status b { font-weight: 500; }
.solt-aside__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.solt-aside__body > .solt-aside__actions:first-child { margin-top: 0; }
.solt-aside__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e6e6e6;
    font-size: 13px;
}
.solt-aside__links a { display: inline-flex; align-items: center; gap: 6px; color: #3a3f42; }
.solt-aside__links a:hover { color: #ff1c1c; }
.solt-aside__links a::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-top: 2px solid #ff1c1c;
    border-right: 2px solid #ff1c1c;
    transform: rotate(45deg);
}
.solt-aside__links small { font-size: 12px; color: #666f80; }

.solt-hsec { margin-top: 32px; }
.solt-house__content > .solt-hsec:first-child { margin-top: 0; }
/* !important — mobile.css темы ставит h2 { font-size: 32/30/24px !important } глобально */
.solt-hsec h2 { margin-bottom: 12px; font-size: 22px !important; line-height: 1.25; font-weight: 700; }
.solt-hsec .solt-props { margin-top: 0; }
.solt-plan { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.solt-plan--noimage, .solt-plan--norooms { grid-template-columns: minmax(0, 1fr); }
.solt-plan--norooms { max-width: 720px; }
.solt-plan__img { display: block; border: 1px solid #e6e6e6; border-radius: 3px; background: #f7f7fa; overflow: hidden; }
.solt-plan__img img { display: block; width: 100%; height: auto; }
.solt-rooms { font-size: 14px; }
.solt-rooms li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #e6e6e6; }
.solt-rooms li span:last-child { font-weight: 500; white-space: nowrap; }
.solt-rooms li span:only-child { font-weight: 400; white-space: normal; }
.solt-rooms li.is-total { border-bottom: 0; color: #666f80; }
.solt-rooms li.is-total span:last-child { color: #3a3f42; }
.solt-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.solt-spec > div { padding: 8px 0; border-bottom: 1px solid #e6e6e6; font-size: 14px; }
.solt-spec dt { font-size: 11px; letter-spacing: 0; text-transform: none; color: #b7bfcd; }
.solt-spec dd { margin-top: 1px; font-weight: 500; }
.solt-spec dd small { display: block; font-size: 13px; font-weight: 400; color: #666f80; }
.solt-comms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.solt-comms li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 3px;
    background: #eeeff6;
    font-size: 13px;
    line-height: 1.4;
}
.solt-comms li i { flex: 0 0 auto; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: #ff1c1c; }
.solt-comms li.is-progress i { background: #b7bfcd; }
.solt-comms li b { display: block; font-weight: 500; }
.solt-comms li span { color: #666f80; }
.solt-village-mini {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 20px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    overflow: hidden;
}
.solt-village-mini--noimage { grid-template-columns: minmax(0, 1fr); gap: 0; }
.solt-village-mini__img { min-height: 140px; background: #eeeff6; }
.solt-village-mini__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.solt-village-mini__body { display: flex; flex-direction: column; padding: 16px 20px 16px 0; }
.solt-village-mini--noimage .solt-village-mini__body { padding-left: 20px; }
.solt-village-mini h3 { font-size: 18px; font-weight: 700; }
.solt-village-mini p { margin-top: 6px; font-size: 14px; color: #666f80; }
.solt-village-mini__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: auto; padding-top: 12px; font-size: 14px; }
.solt-link { color: #ff1c1c; font-weight: 500; }
.solt-link:hover { color: #ff3030; text-decoration: underline; }
.solt-link--ext::after { content: "\2197"; margin-left: 4px; font-size: 0.9em; }

/* ---------- Запасной режим модалок без Bootstrap JS (catalogs.js) ---------- */
.modal.solt-modal.solt-modal--open { display: block; opacity: 1; overflow-x: hidden; overflow-y: auto; }
.solt-modal-backdrop { position: fixed; z-index: 1040; inset: 0; background: rgba(74, 82, 88, 0.7); }
body.solt-modal-lock { overflow: hidden; }

/* =====================================================================
   Адаптив
   ===================================================================== */
@media screen and (max-width: 1200px) {
    .l-page.solt-cat { padding-top: 105px; }
    .solt-intro__title { font-size: 36px; }
    .solt-intro--photo .solt-intro__text { flex-basis: 460px; max-width: 460px; }
    .solt-intro__image { max-width: 50%; padding-top: 20px; }
    .solt-intro__image img { height: 440px; }
    .solt-project { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
    .solt-house__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
    .solt-house__aside { top: 120px; /* шапка темы в два ряда */ }
}

@media screen and (max-width: 991px) {
    /* Планшет и телефон: фото не выводим — как тема прячет фото «Ипотеки» на ≤1200.
       Вырезанный человек под текстом добавил бы экран прокрутки до каталога,
       ради которого страница и открыта. Текст занимает всю ширину. */
    .solt-intro__image { display: none; }
    .solt-intro__text, .solt-intro--photo .solt-intro__text { flex: 1 1 auto; max-width: 760px; padding: 32px 0 40px; }
    .solt-intro__title { font-size: 32px; }
    .solt-intro__title + .solt-intro__lead { margin-top: 22px; }
    .solt-intro__actions { margin-top: 28px; }
    .solt-intro__text, .solt-intro--photo .solt-intro__text { padding-bottom: 32px; }
    .solt-intro__facts { padding: 16px 0 20px; }
    .solt-intro__facts li { padding: 0 24px; }
    .solt-intro__facts strong { font-size: 19px; }
    .solt-catalog { padding: 24px 0 52px; }
    .solt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .solt-cta { padding: 36px 0; }
    .solt-cta h3 { font-size: 21px; }
    /* Крестик темы — внутрь (над окном справа), окну больше не нужны поля под вынос */
    .modal.solt-modal .modal-dialog { margin: 84px auto 30px; }
    .modal.solt-modal--project .modal-dialog { width: auto; max-width: calc(100% - 40px); }
    .modal.solt-modal--project .modal-dialog .modal-content { padding: 28px 24px 28px; }
    .modal.solt-modal .modal-dialog .modal-content .modal-close { top: -64px; right: 0; width: 48px; height: 48px; background-size: 20px; }
    .solt-project { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .solt-props { gap: 0 20px; }
    .solt-house__title { font-size: 28px; }
    .solt-house__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "aside" "content"; gap: 20px; }
    .solt-house__grid--nogallery { grid-template-areas: "aside" "content"; }
    .solt-house__aside { position: static; }
    .solt-aside { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
    .solt-aside__price { display: flex; flex-direction: column; justify-content: center; grid-row: 1 / 3; }
    .solt-aside__body { padding: 16px 20px 18px; }
    .solt-plan { grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; }
}

@media screen and (max-width: 767px) {
    .solt-crumbs, .solt-cat .breadcrumbs.solt-crumbs--bcn { margin-bottom: 14px; }
    .solt-intro__text, .solt-intro--photo .solt-intro__text { padding: 24px 0 32px; }
    .solt-intro__title { font-size: 26px; }
    .solt-intro__lead { margin-top: 10px; font-size: 15px; line-height: 1.45; }
    .solt-intro__lead br { display: none; /* короткие строки — только на широком экране */ }
    .solt-intro__title + .solt-intro__lead { margin-top: 16px; }
    .solt-intro__actions { margin-top: 22px; }
    .solt-cat .btn.solt-intro__btn { width: 100%; height: 52px; min-width: 0; }
    .solt-intro__text, .solt-intro--photo .solt-intro__text { padding: 24px 0 24px; }
    .solt-intro__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding: 16px 0 20px; }
    .solt-intro__facts li { padding: 0; border-left: 0; }
    .solt-intro__facts strong { font-size: 18px; }
    .solt-intro__facts span { font-size: 12px; }
    .solt-filter { gap: 14px; padding-bottom: 16px; }
    .solt-filter__groups { gap: 12px 20px; }
    .solt-types button { height: 40px; padding: 0 12px; }
    .solt-filter__right { width: 100%; margin-left: 0; }
    .solt-sort { width: 100%; min-width: 0; }
    .solt-select__toggle { height: 44px; font-size: 14px; }
    .solt-select__item { min-height: 44px; padding: 8px 12px; font-size: 14px; }
    .solt-result { margin: 14px 0; }
    .solt-cards { gap: 14px; }
    .solt-card__body { padding: 14px 16px 16px; }
    .solt-card__actions .btn { width: 100%; }
    .solt-cta__row .btn { width: 100%; }
    .solt-empty { padding: 32px 16px; }
    .solt-empty--page { padding: 40px 16px; }
    .solt-empty__actions .btn { width: 100%; }

    /* Модалки: окно во всю ширину с полями 10px */
    .modal.solt-modal .modal-dialog { max-width: none; margin: 64px 10px 20px; }
    .modal.solt-modal--project .modal-dialog { width: auto; max-width: none; }
    .modal.solt-modal .modal-dialog .modal-content { padding: 28px 20px; }
    .modal.solt-modal--project .modal-dialog .modal-content { padding: 24px 16px; }
    .modal.solt-modal .modal-dialog .modal-content .modal-close { top: -54px; right: 0; width: 44px; height: 44px; background-size: 18px; }
    .modal.solt-modal .solt-modal__title { font-size: 21px; }
    .modal.solt-modal .solt-form .form-group.label-abs .form-control { height: 50px; font-size: 16px; /* 16px — iOS не зумит поле */ }
    .modal.solt-modal .solt-form .form-group.label-abs label { font-size: 15px; }
    .modal.solt-modal .solt-types--form button { height: 44px; }
    .modal.solt-modal .solt-project__title { font-size: 22px; }
    .solt-props { grid-template-columns: minmax(0, 1fr); }

    /* Миниатюры — горизонтальная лента, а не скрытые лишние кадры */
    .solt-gallery__nav {
        display: flex;
        gap: 6px;
        margin: 8px -15px 0;
        padding: 0 15px 4px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .solt-gallery__nav::-webkit-scrollbar { display: none; }
    .solt-gallery__thumb { flex: 0 0 72px; width: 72px; scroll-snap-align: start; }
    .modal.solt-modal .solt-gallery__nav { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
    .solt-gallery__arrow { width: 36px; height: 36px; }
    .solt-house__gallery .solt-gallery__nav { grid-template-columns: none; }

    .solt-cat--house > .container { padding-top: 20px; padding-bottom: 48px; }
    .solt-house__head { margin-bottom: 16px; }
    .solt-house__title { font-size: 24px; }
    .solt-aside { display: block; }
    .solt-aside__price { padding: 16px 18px 14px; }
    .solt-aside__price strong { font-size: 24px; }
    .solt-aside__body { padding: 14px 18px 18px; }
    .solt-hsec { margin-top: 26px; }
    .solt-hsec h2 { font-size: 20px !important; }
    .solt-plan { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .solt-spec { grid-template-columns: minmax(0, 1fr); }
    .solt-comms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .solt-comms li { padding: 10px 12px; }
    .solt-village-mini { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .solt-village-mini__img { aspect-ratio: 16 / 9; min-height: 0; }
    .solt-village-mini__body { padding: 14px 16px 16px; }
}

@media screen and (max-width: 599px) {
    .solt-cards { grid-template-columns: minmax(0, 1fr); }
    .solt-card__img { aspect-ratio: 16 / 10; }
}

@media screen and (max-width: 413px) {
    .l-page.solt-cat { padding-top: 138px; }
    .solt-card__facts { gap: 8px; }
    .solt-card__facts dd { font-size: 13px; }
    .solt-comms { grid-template-columns: minmax(0, 1fr); }
    .solt-types button { padding: 0 10px; font-size: 12px; }
    .solt-card__actions .btn, .solt-cta .btn, .solt-empty .btn, .modal.solt-modal .btn { padding-left: 12px; padding-right: 12px; font-size: 12px; }
}

@media screen and (max-width: 359px) {
    .solt-intro__facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .solt-card__bottom { flex-direction: column; align-items: flex-start; }
    .solt-card__term, .solt-card__status { text-align: left; }
    .solt-card__head { flex-wrap: wrap; }
    .solt-aside__facts { grid-template-columns: minmax(0, 1fr); }
    .solt-cat .btn, .modal.solt-modal .btn { white-space: normal; height: auto; min-height: 46px; padding-top: 10px; padding-bottom: 10px; line-height: 1.2; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .solt-card, .solt-card__cover, .solt-select__toggle::after, .solt-gallery__thumb { transition: none; }
    .solt-card:hover { transform: none; }
}

/* ---------- Пустое состояние во всю ширину: адаптив ---------- */

/* Планшет: колонки в стопку, три карточки в ряд остаются */
@media (max-width: 991px) {
    .solt-empty--wide { grid-template-columns: minmax(0, 1fr); }
    .solt-empty__intro { border-right: 0; border-bottom: 1px solid #e6e6e6; }
    .solt-empty--wide .solt-empty__actions { flex-direction: row; }
    .solt-empty--wide .solt-empty__actions .btn { width: auto; }
    /* Планшетный медиазапрос каталога переводит .solt-cards на две колонки
       и идёт ниже по файлу — возвращаем витрине три карточки в ряд,
       иначе третья уезжает на вторую строку и блок вырастает вдвое. */
    .solt-cards--teaser { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}

/* Телефон: одна колонка, кнопки во всю ширину, карточки — лентой.
   Стопкой три фото 4:3 растянули бы блок втрое и утопили главное
   действие; в ленте край второй карточки подсказывает, что можно листать. */
@media (max-width: 599px) {
    .solt-empty__intro { padding: 20px; }
    .solt-empty--wide .solt-empty__title { font-size: 20px; }
    .solt-empty__text { font-size: 14px; }
    .solt-empty--wide .solt-empty__actions { flex-direction: column; padding-top: 20px; }
    .solt-empty--wide .solt-empty__actions .btn { width: 100%; }

    .solt-empty__projects { padding: 20px 0 18px; }
    .solt-empty__projects-head { margin-bottom: 12px; padding: 0 20px; }
    .solt-empty__projects-title-tail { display: none; }
    /* остаётся короткое «Строим сейчас» — переносить нечего,
       иначе flex ужимает заголовок под ссылку и рвёт его надвое */
    .solt-empty--wide .solt-empty__projects-title { flex: 0 0 auto; white-space: nowrap; }
    .solt-empty__note { margin-top: 12px; padding: 0 20px; }

    .solt-cards--teaser {
        display: flex;
        gap: 12px;
        padding: 0;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .solt-cards--teaser > .solt-card:first-child { margin-left: 20px; }
    .solt-cards--teaser::-webkit-scrollbar { display: none; }
    .solt-cards--teaser .solt-card { flex: 0 0 78%; min-width: 200px; max-width: 260px; scroll-snap-align: start; }
}

/* ============================================================
   Общие компоненты разделов.

   Жили в owners.css и потому работали только в «Собственникам»:
   на «О компании» те же классы падали на стили темы, и заголовки,
   подписи и отступы кнопок разъезжались. Место им здесь —
   catalogs.css подключается на всех наших страницах.
   ============================================================ */

.solt-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 24px;
}
.solt-section__title { font-size: 26px; line-height: 1.2; font-weight: 700; text-transform: none; letter-spacing: 0; }
.solt-section__sub { font-size: 14px; line-height: 1.45; color: #666f80; }
.solt-section__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #ff1c1c;
    white-space: nowrap;
}
.solt-section__link::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.solt-intro__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.solt-intro__hint { font-size: 13px; color: #666f80; }

.solt-card__text { margin-top: 8px; font-size: 14px; line-height: 1.5; color: #666f80; }
.solt-card__actions { display: flex; align-items: flex-start; margin-top: auto; padding-top: 18px; }

@media (max-width: 767px) {
    .solt-section__title { font-size: 21px; }
    .solt-intro__actions { margin-top: 20px; }
    .solt-intro__actions .btn { width: 100%; }
}

/* ============================================================
   Вторичная кнопка — как у темы: светлая рамка, красная надпись.
   Тёмной рамки и капса в системе сайта нет.
   ============================================================ */
.solt-cat .btn.btn-border,
.modal.solt-modal .btn.btn-border {
    background-color: transparent;
    border-color: #cdcdcd;
    color: #ff1c1c;
}
.solt-cat .btn.btn-border:hover,
.solt-cat .btn.btn-border:focus,
.modal.solt-modal .btn.btn-border:hover,
.modal.solt-modal .btn.btn-border:focus {
    background-color: transparent;
    border-color: #ff1c1c;
    color: #ff1c1c;
}

/* Заголовки секций: у темы они 34px, вес 700, без капса. */
.solt-section__title {
    font-size: 34px;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
}
@media (max-width: 767px) {
    .solt-section__title { font-size: 24px; }
}

/* Цена в карточке продукта: подпись и сумма. Правило жило в about.css,
   при чистке дублей потерялось — «от» слипалось с числом. */
.solt-card__price { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; font-size: 13px; color: #666f80; }
.solt-card__price b { font-size: 18px; line-height: 1.2; font-weight: 700; color: #3a3f42; }

/* ---------- Правки по итогам ревью раздела «Участки» ---------- */

/* Число в полосе фактов мельчало: правило для подписи задевало
   неразрывный span внутри strong. Та же ловушка, что была на «О компании». */
.solt-intro__facts strong .nb { display: inline; margin: 0; font-size: inherit; line-height: inherit; color: inherit; }

/* Ссылка-акцент внутри наших страниц была тёмной: `.solt-cat a { color: inherit }`
   сильнее `.solt-link`. Возвращаем красный. */
.solt-cat .solt-link,
.modal.solt-modal .solt-link { color: #ff1c1c; font-weight: 500; }
.solt-cat .solt-link:hover,
.modal.solt-modal .solt-link:hover { color: #ff3030; text-decoration: underline; }

/* Группы фильтра выравниваем по низу: кнопка сброса ниже подписей и
   вставала на уровень заголовков групп, а не чипов. */
.solt-filter__groups { align-items: flex-end; }
