.w25p {
    width: 25%;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

[name*="_FIZ_L"], [name*="_YR_L"] {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.ajax-loader {
    background: url(/images/ajax-loader-eclipse-60x60.gif) no-repeat 0 0 !important;
    height: 200px;
    width: 200px;
}

/*CHF*/
.promo__top select,
.hero.section select {
    height: 50px;
    width: 93%;
    padding-left: 10px;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .promo__top select, .hero.section select {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        border-radius: 10px;
    }
}

/*CHF*/

.warning-note {
    color: #C8C8C8;
    font-size: 24px;
    line-height: 1.2;
    margin: 20px auto 50px;
    width: fit-content;
    text-align: center;
}

.warning-note a {
    border-bottom: 1px solid;
    color: #C8C8C8;
    transition: color 0.3s;
}

.warning-note a:hover {
    color: #A28042;
}

.text-section {
    font-family: Georgia, serif;
}

.text-section h1 {
    font-family: "Alegreya Sans", sans-serif;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-section p {
    font-size: 18px;
}

.text-section p:not(:last-child) {
    margin-bottom: 15px;
}

.text-section ul {
    padding-left: 32px;
    margin-bottom: 15px;
}

.text-section ul li {
    list-style: disc;
    line-height: 1.48;
}

.text-section ul li:not(:last-child) {
    margin-bottom: 8px;
}

@media screen and (max-width: 767px) {
    .text-section p {
        font-size: 16px;
    }
}

.cookies {
    padding: 16px 0;
    max-width: 100%;
    will-change: max-width;
    transition: all 0.3s;
}

.cookies__col {
    margin: 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cookies__title {
    font-size: 18px;
    line-height: 1.4;
}

.cookies__text {
    font-size: 14px;
    flex-grow: 1;
    width: 45%;
}

.cookies__text ul {
    margin-bottom: 5px;
}

.cookies__text a {
    display: inline-block;
}

.cookies__text.sm-text {
    display: none;
    margin: 0 15px 0 0;
    max-width: 135px;
}

.cookies__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookies__btns .btn {
    width: 160px;
    height: 40px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookies-sm {
    max-width: 300px;
    right: 6px;
    bottom: 6px;
    left: auto;
    padding: 10px 0;
    border-radius: 12px;
}

.cookies-sm .cookies__col {
    width: 100%;
}

.cookies-sm .cookies__text.full-text {
    display: none;
}

.cookies-sm .cookies__text.sm-text {
    display: block;
}

.cookies-sm .btn.cookies-reject {
    display: none;
}

.cookies-sm .cookies__btns .btn {
    width: 116px;
    height: 36px;
    font-size: 15px;
    border-radius: 8px;
}

@media screen and (max-width: 991px) {
    .cookies__title {
        font-size: 16px;
    }

    .cookies__text {
        font-size: 13px;
        width: 100%;
        margin-bottom: 15px;
    }

    .cookies__btns .btn {
        width: 140px;
        height: 36px;
        font-size: 15px;
    }
}

.single__text {
    max-width: 100%;
    padding-right: 15px;
}

.single__text p:not(:last-child) {
    margin-bottom: 16px;
}

.single__text--service-detail {
    width: 100%;
    padding-right: 0;
}

.popup-block__text:last-child {
    margin-bottom: 0;
}

.reviews__title {
    font-size: 28px;
    line-height: 41px;
    font-family: 'Trajan Pro 3', serif;
    color: #5B5B5B;
}

.reviews__send-review {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: 50px;
    border: 1px solid #A28042;
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 500;
    line-height: 1.4;
    color: #A28042;
    text-transform: none;
    background: #ffffff;
    transition: all 0.3s;
}

.reviews__send-review:hover {
    color: #FAFAFA;
    background: #A28042;
}

.popup-reviews-form,
.rate-form {
    border-radius: 12px;
}

.rating-area:not(:checked) > label:hover,
.rating-area:not(:checked) > label:hover ~ label,
.rating-area > input:checked ~ label,
.rating-area > input:checked + label:hover,
.rating-area > input:checked + label:hover ~ label,
.rating-area > input:checked ~ label:hover,
.rating-area > input:checked ~ label:hover ~ label,
.rating-area > label:hover ~ input:checked ~ label {
    color: #A28042;
}

.rating__active::before,
.review-card__rating-active::before {
    color: #A28042;
}

.total-rating {
    color: #A28042;
}

.review-card__text-more {
    color: #A28042;
    font-weight: 500;
}

.rate-form__submit {
    border: 1px solid #A28042;
    border-radius: 12px;
    background: #ffffff;
    color: #A28042;
    width: 100%;
    font-weight: 500;
    transition: all 0.3s;
}

.rate-form__submit:hover {
    color: #FAFAFA;
    background: #A28042;
}

.rate-form__name-input {
    outline: none !important;
    -webkit-appearance: none;
    background: none;
    overflow: hidden;
    height: 50px;
    background: #FAFAFA;
    border-radius: 12px;
    line-height: 48px;
    color: #808080;
    width: 100%;
    text-transform: none;
    font-size: 16px;
    font-family: 'Alegreya Sans', sans-serif;
    font-weight: 400;
    border: 1px solid #FAFAFA;
    transition: border-color 0.3s;
}

.rate-form__name-input:focus {
    border: 1px solid #A28042;
}

.rate-form__name-label {
    top: 27px;
    font-weight: 400;
    color: #808080;
    margin-bottom: 0;
    transition: all 0.3s;
}

.rate-form__text-input {
    outline: none !important;
    -webkit-appearance: none;
    background: none;
    overflow: hidden;
    background: #FAFAFA;
    border-radius: 12px;
    line-height: 110%;
    padding: 15px 35px 15px 15px;
    color: #808080;
    border: 1px solid #FAFAFA;
    width: 100%;
    text-transform: none;
    resize: none;
    font-size: 16px;
    transition: border-color 0.3s;
}

.rate-form__text-input:focus {
    border: 1px solid #A28042;
}

.rate-form__file-label {
    border-radius: 12px;
}

.rate-form__close {
    border-radius: 0 12px 0 0;
}

.reviews__slider-button-prev,
.reviews__slider-button-next {
    border-radius: 50%;
    background-size: contain;
    border: 1px solid #C8C8C8;
}

@media screen and (max-width: 767px) {
    .reviews__title {
        font-size: 20px;
        line-height: 29px;
    }
}

.filter .select2 .selection {
    padding-top: 50px;
}

.filter .select2-container--default .select2-selection--multiple {
    width: 100%;
    font-size: 16px;
    line-height: 50px;
    padding: 0 15px;
    color: #808080;
    height: 50px;
    background: #FAFAFA;
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

.filter .select2-container--default .select2-search--inline .select2-search__field {
    height: 50px;
    margin: 0;
    cursor: pointer;
}

.filter .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: none;
    height: 36px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.filter .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    max-height: 100%;
    display: inline-flex;
    align-items: center;
}

.filter .select2-container--default .select2-selection--multiple .select2-selection__clear {
    margin-top: 0px;
    font-size: 1.2em;
    margin-right: 0;
    font-weight: 500;
}

.filter .select2-selection--multiple:not(:has(.select2-selection__arrow)):not(:has(.select2-selection__choice))::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 26px;
    height: 50px;
    background-image: url(/local/templates/booking/img/down-chevron.svg);
    background-repeat: no-repeat;
    background-position: center left;
    padding-right: 15px;
}

@media screen and (max-width: 767px) {
    .select2-container--default .select2-results > .select2-results__options {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }
}

.single__text--stable-detail {
    width: 100%;
    padding-right: 0;
}

/* ============================================================
   ТИПОГРАФИКА - единая шкала. Добавлено 25.07.2026.
   Откат: удалить весь этот блок.
   Бэкап оригинала: template_styles.css.backup-20260725-before-typography
   ============================================================ */

.text-section, .text-section p, .text-section li, .text-section td,
.text-section span, .text-section b, .text-section strong, .text-section a,
.single__text, .single__text p, .single__text li, .single__text span,
.single__text b, .single__text strong, .single__text a {
    font-family: "Alegreya Sans", Arial, sans-serif;
}

.text-section i, .text-section em,
.single__text i, .single__text em {
    font-style: normal;
}

.text-section blockquote i, .text-section blockquote em,
.single__text blockquote i, .single__text blockquote em {
    font-style: italic;
}

.text-section, .single__text {
    font-size: 18px;
    line-height: 1.55;
}

.text-section p, .single__text p {
    margin: 0 0 14px;
}

.text-section {
    max-width: 740px;
}

.text-section h1, .single__text h1 {
    font-family: "Trajan Pro 3", serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.25;
}

.text-section h2, .single__text h2 {
    font-family: "Alegreya Sans SC", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.3;
    margin: 32px 0 12px;
}

.text-section h3, .single__text h3 {
    font-family: "Alegreya Sans SC", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.35;
    margin: 24px 0 8px;
}

.text-section b, .text-section strong,
.single__text b, .single__text strong {
    font-weight: 500;
}

.text-section p, .text-section li, .text-section td,
.single__text p, .single__text li, .single__text td {
    font-weight: 400;
}

/* Пустое состояние списков (было blockquote — кавычка и курсив). Добавлено 25.07.2026. */
.empty-state,
.text-block__text p.empty-state {
    font-family: "Alegreya Sans", Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.55;
    margin: 8px 0 24px;
}

/* Фото с обтеканием — мобильная адаптация (добавлено 25.07.2026, часть блока ТИПОГРАФИКА) */
.text-section .img-left {
  float: left;
  width: 300px;
  max-width: 100%;
  margin: 4px 20px 12px 0;
}
@media (max-width: 640px) {
  .text-section .img-left {
    float: none;
    display: block;
    width: 100%;
    margin: 0 0 16px;
  }
}

/* ── Мобильная карточка раздела каталога — 26.07.2026, часть блока ТИПОГРАФИКА ──
   БЫЛО (main.css, @media max-width 767.98px): Trajan Pro 3, 20px/29px, #808080.
   Два дефекта: цвет не совпадал с десктопным золотым (там #A28042), и при 20px
   строка занимает 288px при доступных в карточке 285px — текст подъезжал под шеврон.
   ПЕРВАЯ РЕДАКЦИЯ этого блока (26.07) ставила Alegreya Sans SC 18px/500 #5B5B5B —
   ОТМЕНЕНА в тот же день по решению пользователя: мобильная версия не должна
   отличаться от компьютерной, а разные гарнитуры на разных экранах — рассогласование.
   СТАЛО: гарнитура, вес и цвет РОВНО как на десктопе. Меняется только кегль —
   десктопные 36px в карточку высотой 64px не помещаются.
   main.css сознательно не правим: это код шаблона, его затрёт при обновлении. */
@media (max-width: 767.98px) {
  .categories__item .categories__item-title {
    font-family: "Trajan Pro 3";
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    color: #A28042;
  }
}
/* Ступени для узких экранов. Замеры ширины строки в Trajan: 18px = 259px, 16px = 230px,
   15px = 216px. Доступно в карточке: 285px на экране 390, 255px на 360, 230px на 320.
   Ступень вниз делала и Астония (у неё 20px, ниже 350px — 18px).
   Порог 363.98px: при vw ≥ 364 доступно ≥ 259px, то есть 18px влезает (проверено расчётом
   avail = vw − 105 для vw ≥ 360). iPhone SE 375px и iPhone 12/13/14 390px → 18px. */
@media (max-width: 363.98px) {
  .categories__item .categories__item-title { font-size: 16px; }
}
@media (max-width: 329.98px) {
  .categories__item .categories__item-title { font-size: 15px; }
}

/* ── Мобильная карточка раздела каталога: обводка как у кнопок — 26.07.2026 ──
   Замечание пользователя: «а кнопка почему не обведена золотым, как другие?»
   Шаблон на мобильной рисует этот элемент карточкой (белый фон, тень 0 2px 10px,
   радиус 10px, БЕЗ рамки), а рядом стоят .btn--bordered с рамкой 1px #A28042,
   радиусом 12px, прозрачным фоном и высотой 50px.
   РЕШЕНИЕ пользователя: полное совпадение с кнопкой, чтобы не возвращаться к вопросу.
   Шеврон › справа СОХРАНЁН сознательно — он сообщает, что это переход в раздел,
   а не действие на месте. Высота 50px проходит по нормам тап-таргета (Apple 44pt,
   Google 48dp). */
@media (max-width: 767.98px) {
  .categories .categories__item {
    border: 1px solid #A28042;
    border-radius: 12px;
    box-shadow: none;
    background: transparent;
    height: 50px;
  }
}

/* Шеврон › в мобильной карточке — в цвет рамки, 26.07.2026.
   Шаблон подставляет /img/chevron-right-grey.svg (серый). Когда карточка получила
   золотую рамку и золотой текст, серая стрелка осталась единственной серой деталью.
   Файл шаблона не трогаем — подставляем ту же стрелку инлайновым SVG в цвете #A28042
   (без отдельного запроса к серверу). Решение пользователя 26.07. */
@media (max-width: 767.98px) {
  .categories .categories__item::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath d='M1 1l6 6-6 6' fill='none' stroke='%23A28042' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}


/* Правка 25, 13.09.2026: фото показываются целиком, без обрезки.
   В main.css у этих картинок object-fit: cover - рамка заполнялась с обрезкой краёв.
   Рамки те же, картинка вписывается целиком, свободное место - светлые поля. */
.card__img img,
.stable-card__img img,
.single__slider-item img,
.single__slider-thumbs-item img,
.service-card-hor__img img,
.service-card__img img,
.lesson__img img,
.contacts__images-item img,
.upload-files__item img,
.info-block__img,
.rabout img {
  object-fit: contain;
  background-color: #EFEBE4;
}

/* Правка 26, 13.09.2026: плавный переход от фото к полям.
   Под фото - размытая копия того же снимка; адрес задаёт шаблон в стиле рамки:
   style="--bh-photo: url('...')". Без адреса - прежний ровный фон #EFEBE4. */
.card__img,
.stable-card__img,
.single__slider-item,
.single__slider-thumbs-item,
.service-card-hor__img,
.service-card__img,
.lesson__img,
.contacts__images-item {
  overflow: hidden;
  isolation: isolate;
}
.single__slider-item,
.stable-card__img {
  position: relative;
}
.card__img::before,
.stable-card__img::before,
.single__slider-item::before,
.single__slider-thumbs-item::before,
.service-card-hor__img::before,
.service-card__img::before,
.lesson__img::before,
.contacts__images-item::before {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  bottom: -24px;
  left: -24px;
  z-index: -1;
  pointer-events: none;
  background: #EFEBE4 var(--bh-photo, none) center / cover no-repeat;
  filter: blur(22px);
}
.card__img img,
.stable-card__img img,
.single__slider-item img,
.single__slider-thumbs-item img,
.service-card-hor__img img,
.service-card__img img,
.lesson__img img,
.contacts__images-item img {
  background-color: transparent;
}
