.catalog-main {
    width: 100%;
}

.catalog-item__main {
    width: 48.5rem
}

.ss-content.ss-open-below {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: center top;
    border-bottom-left-radius: var(--ss-border-radius);
    border-bottom-right-radius: var(--ss-border-radius)
}

/* неактивность для инпутов */

.input-no-content {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    background-color: #f0f0f0;
}
.dop-list__el {
    font-size: .9rem;
}
body .dop-list a.dop-list__el svg {
    opacity: 1;
    margin-top: 3px;
}

.news-item h3 {
    -webkit-line-clamp: 3 !important;
}

.header-top {
    z-index: 25;
}
.header {
    z-index: 15;
}

#question-form {
    max-width: 100vw;
    overflow: hidden;
}


/*.filter-cruise__form {*/
/*    display: flex;*/
/*}*/

/*.filter-radio-new {*/
/*    position: relative;*/
/*}*/

/*.filter-radio__cruise.active {*/
/*    color: white;*/
/*    background: var(--blue);*/
/*}*/

.catalog-sidebar .simplebar-content-wrapper {
    padding-right: 1.25rem;
}

/* Каталог: шапка «Фильтры» / «Сбросить все» остаётся видимой при прокрутке списка фильтров */
.catalog-sidebar .filter-head {
    position: sticky;
    top: 0;
    z-index: 15;
    background-color: var(--white, #fff);
    padding-bottom: 1.25rem;
}

body a.button-white {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cruise-services-modal__content--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
    align-content: start;
    align-items: start;
}

.cruise-services-modal__content--grid > .cruise-services-section {
    align-self: start;
    height: auto;
}

.cruise-services-section {
    margin-bottom: 0 !important;
    display: flex;
    gap: 20px;
}

.cruise-services-section__header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.cruise-services-section__title {
    margin: 0;
}

.cruise-services-section__icon {
    flex: 0 0 1.5rem;
    width: 1.2rem;
    height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cruise-services-section__icon img,
.cruise-services-section__icon svg {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cruise-services-section__icon.cruise-services-section__icon--promo {
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
}

.cruise-services-section.cruise-services-section--promo:not(:last-child) {
    margin-bottom: 1.5rem !important;
}

.cruise-services-modal__content--grid > .cruise-services-section.cruise-services-section--promo {
    margin-bottom: 0 !important;
}

.cruise-services-section--promo {
    align-items: flex-start;
}

.cruise-services-section__content {
    min-width: 0;
    flex: 1 1 auto;
}

.cruise-services-section__body {
    margin-left: 0;
}

.cruise-services-section--promo .cruise-services-section__body {
    margin-left: 0;
}

.footer-pay-desktop {
    display: flex;
}

body .cruise-cities_list {
    margin: 3vw 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.filter-price-hint {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
    font-size: 0.75rem;
    font-style: normal;
    color: var(--gray-500, #9C9C9C);
    cursor: help;
    vertical-align: middle;
}

@media (max-width: 991px) {
    .container {
        padding: 0 1rem;
    }
    .catalog-item__main {
        padding: 1rem;
    }

    /*
     * Синие «ушки» из async.css на страницах без баннера дают белый выступ на шапку —
     * отключаем. На страницах с .start-block — синяя подложка под скруглениями, без зазора.
     */
    .start-section:not(:has(.start-block)):before,
    .start-section:not(:has(.start-block)):after {
        content: none;
        display: none;
    }

    .start-section:has(.start-block) {
        position: relative;
    }

    .start-section:has(.start-block):before {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: -2.5rem;
        width: auto;
        height: 4rem;
        background: var(--blue);
        z-index: 0;
    }

    .start-section:has(.start-block):after {
        content: none;
        display: none;
    }

    .start-section:has(.start-block) .container {
        position: relative;
        z-index: 1;
    }

    /*
     * Full-bleed блоки в critical/async рассчитаны на padding .container = 1.625rem.
     * После смены на 1rem отрицательный margin -1.625rem даёт ~10px overflow с каждой стороны
     * (микроскролл на главной и многих внутренних страницах).
     */
    .start-container {
        margin-left: -1rem;
        margin-right: -1rem;
    }
    .start-block {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    body .section-special {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    body .read-block {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    body .question-container {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .catalog-none {
        margin-left: -1rem;
        margin-right: -1rem;
    }

    /* Поп-ап «Расписание маршрута» в каталоге и карточках: видимый горизонтальный скролл */
    .modal-table {
        overflow-x: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #9c9c9c #e8e8e8;
        scrollbar-gutter: stable;
    }

    .modal-table::-webkit-scrollbar {
        display: block;
        width: 10px;
        height: 10px;
    }

    .modal-table::-webkit-scrollbar-track {
        background: #e8e8e8;
        border-radius: 4px;
    }

    .modal-table::-webkit-scrollbar-thumb {
        background-color: #9c9c9c;
        border-radius: 4px;
        min-width: 2.5rem;
    }

    .modal-table::-webkit-scrollbar-thumb:hover {
        background-color: #6e6e6e;
    }

    body .cruise-cities_list {
        grid-template-columns: repeat(2, 1fr);
    }
    .swiper-arrow_next {
        right: 0;
    }
    .swiper-arrow_prev {
        left: 0;
    }
}


@media (max-width: 767px) {
    body .cruise-cities_list {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* Базовые стили модалок (списки и полноэкранные) */
.modal-nofull .modal-content,
.modal-fullscreen .modal-content,
.modal-discount .modal-content {
    position: relative;
    background: var(--white);
    padding: 1.875rem;
    color: var(--black);
    box-sizing: border-box;
    border-radius: 1.875rem;
}

.modal-content.waitlist-modal {
    border-radius: 1.875rem;
}


/* Safari iOS: видимая высота через --vh (custom-script.js / detail-cruise.js) и 100dvh */
.modal-nofull.show,
.modal-fullscreen.show {
    overscroll-behavior: contain;
}

@media (max-width: 991.98px) {
    .modal-nofull.show,
    .modal-fullscreen.show {
        overflow: hidden;
        padding: 0;
        height: calc(var(--vh, 1vh) * 100);
        height: 100dvh;
        max-height: calc(var(--vh, 1vh) * 100);
        max-height: 100dvh;
    }
}


.modal-nofull .modal-content > .close-modal,
.modal-fullscreen .modal-content > .close-modal {
    position: absolute;
    top: 1.875rem;
    right: 1.875rem;
    z-index: 10;
}

.modal-nofull .modal-content > h2,
.modal-fullscreen .modal-content > h2 {
    padding-right: 3rem;
}

@media (max-width: 991px) {
    .modal-nofull .modal-content,
    .modal-fullscreen .modal-content {
        padding: 1rem 0.7rem;
    }

    .modal-nofull .modal-content > .close-modal,
    .modal-fullscreen .modal-content > .close-modal {
        top: max(0.7rem, env(safe-area-inset-top, 0px));
        right: 0.7rem;
    }
}

.modal-nofull .close-modal .icon,
.modal-fullscreen .close-modal .icon {
    stroke: var(--blue);
}

.modal-nofull .close-modal:hover,
.modal-fullscreen .close-modal:hover {
    background: var(--blue);
}

.modal-nofull .close-modal:hover .icon,
.modal-fullscreen .close-modal:hover .icon {
    stroke: var(--white);
}

.modal-fullscreen .modal-content--cabin {
    padding: 3.75rem;
    padding-bottom: 6.25rem;
    overflow: hidden;
    max-width: 81.25rem;
    border-radius: 1.25rem;
}

@media (max-width: 991px) {
    .modal-fullscreen .modal-content--cabin {
        padding: 1.25rem 1.25rem 0;
    }
}

/* --- modal-content--simple: простой список, скролл всего поп-апа --- */
.modal-nofull.show {
    align-items: center;
    justify-content: center;
}

.modal-nofull .modal-content--simple {
    width: 100%;
    max-width: 36rem;
    max-height: min(90vh, calc(var(--vh, 1vh) * 100 - 2rem));
    max-height: min(90dvh, calc(var(--vh, 1vh) * 100 - 2rem));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* --- modal-content--services: услуги / акции, flex + скролл списка --- */
.modal-nofull .modal-content--services {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    max-height: min(90vh, calc(var(--vh, 1vh) * 100 - 2rem));
    max-height: min(90dvh, calc(var(--vh, 1vh) * 100 - 2rem));
    min-height: 0;
    overflow: hidden !important;
}

.modal-nofull .modal-content--services > h2 {
    flex-shrink: 0;
    padding-right: 3rem;
    word-break: break-word;
}


.modal-nofull .modal-content--services > .cruise-services-modal__content {
    flex: 0 0 auto;
    min-height: 0;
    height: auto;
    overflow-x: hidden;
    overflow-y: visible;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    position: relative;
    z-index: 1;
}

.modal-nofull .modal-content--services.is-scrollable > .cruise-services-modal__content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    box-sizing: border-box;
    padding-right: 0.5rem;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #c3cbdf transparent;
}

.modal-nofull .modal-content--services.is-scrollable > .cruise-services-modal__content::-webkit-scrollbar {
    width: 0.375rem;
}

.modal-nofull .modal-content--services.is-scrollable > .cruise-services-modal__content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-nofull .modal-content--services.is-scrollable > .cruise-services-modal__content::-webkit-scrollbar-thumb {
    background-color: #c3cbdf;
    border-radius: 0.25rem;
}

.modal-nofull .modal-content--services.modal-content--wide {
    max-width: 69.0625rem;
}

@media (max-width: 991.98px) {
    .modal-nofull.show:has(> .modal-content--services) {
        overflow: hidden;
        align-items: flex-end;
        justify-content: center;
    }

    .modal-nofull.show {
        align-items: flex-end;
        justify-content: center;
    }

    .modal-nofull .modal-content--simple {
        max-width: 100%;
        max-height: calc(var(--vh, 1vh) * 100);
        max-height: 100dvh;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }

    .modal-nofull .modal-content--services {
        max-height: calc(var(--vh, 1vh) * 100);
        max-height: 100dvh;
        height: auto;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }


    .modal-nofull .modal-content--services > h2 {
        padding-top: max(0.25rem, env(safe-area-inset-top, 0px));
    }

    .cruise-services-modal__content--grid {
        grid-template-columns: 1fr;
    }
}

/* Десктопный сайдбар на деталке круиза: класс hidden-mobile = скрыть только на узкой шторке */
@media (min-width: 992px) {
    .detailc-infoblock.hidden-mobile {
        display: block !important;
    }

    .filter-cruise__item .button {
        width: 100%;
    }

    .filter-cruise {
        bottom: 2.75rem;
        left: 2.75rem;
        width: calc(100% - 5.5rem);
    }
}

.detailc-infoblock .bord-item__icon {
    margin-right: 20px;
}

/* Строка «название (5⚓S-класс)»: без flex у текста — baseline не «ломается» у встроенного img */
.ship-inline-meta {
    min-width: 0;
}

/* Ряд название + «Услуги на борту» в сайдбаре деталки */
.detailc-infoblock__ship .detailc-infoblock__ship-info {
    flex: 1 1 auto;
    min-width: 0;
}

.detailc-infoblock__ship-class {
    margin-top: 4px;
}

.detailc-infoblock__ship .ship-inline-meta {
    flex: 1 1 auto;
    min-width: 0;
}

.detailc-infoblock__ship .all-service-board {
    flex-shrink: 0;
    margin-left: 8px;
    white-space: nowrap;
}

/* Деталка, мобилка: даты слева/справа одинаковой ширины — блок «дней/ночей» по центру */
@media (max-width: 991px) {
    .detailc-infoblock__head {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .detailc-infoblock__timeline.flex {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        column-gap: 0.5rem;
    }

    .detailc-infoblock__timeline > .flex.flex-column {
        min-width: 0;
    }

    .detailc-infoblock__timeline > .flex.flex-column:last-child {
        align-items: flex-end;
        text-align: right;
    }

    .detailc-infoblock__timeline > .flex.flex-column p,
    .detailc-infoblock__timeline > .flex.flex-column span {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .detailc-infoblock__timeline .detailc-infoblock__timemid {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* Иконка якоря внутри текста: размер как у шрифта, выравнивание как у инлайн-глифа */
img.anchor-pic {
    display: inline;
    max-width: none;
    height: 1em;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: -0.12em;
    object-fit: contain;
}

/* Dual-range: активная точка сверху; при наложении у второй отключаем hit-area */
.filter-price__input.is-active {
    z-index: 5;
}

.filter-price__input.is-behind::-webkit-slider-thumb,
.filter-price__input.is-behind::-moz-range-thumb,
.filter-price__input.is-behind::-ms-thumb {
    pointer-events: none !important;
}

.clamp-text  {
    line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Превью описания акции в карточке (деталка круиза), полный текст — в модалке */
.discount__item-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
    word-break: break-word;
}

/* Тултип акций (files/tooltip.js): полный текст, перенос длинных строк */
.custom-tooltip {
    position: fixed;
    z-index: 10050;
    display: none;
    max-width: min(420px, calc(100vw - 24px));
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.45;
    color: #333;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow-wrap: break-word;
    word-wrap: break-word;
    pointer-events: none;
}

/* Модалка «Описание каюты»: колонка с фото и текстом */
.modal-leftd {
    max-height: 41.9rem;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-leftd::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.modal-leftd__content,
.modal-leftd__descr,
.modal-leftd__services {
    min-width: 0;
    max-width: 100%;
}

.modal-leftd__info {
    max-width: 100%;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modal-leftd__info-item {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.modal-leftd__services {
    align-items: flex-start;
}

.modal-leftd__service {
    min-width: 0;
    max-width: 100%;
    flex: 0 1 auto;
    align-items: flex-start;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.modal-leftd__service img,
.modal-leftd__service svg {
    flex-shrink: 0;
}

/* Модалка «Описание каюты»: выбор варианта размещения (как в статической вёрстке detail-cruise.html) */
.modal-rightd-select {
    position: relative;
    width: 100%;
}

.modal-rightd-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d1d6;
    border-radius: 0.625rem;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.modal-rightd-select__trigger .icon {
    flex-shrink: 0;
    width: 0.75rem;
    height: 0.75rem;
    color: var(--gray-500, #9c9c9c);
    stroke: currentColor;
    fill: none;
    transition: transform 0.2s ease;
}

.modal-rightd-select.is-open .modal-rightd-select__trigger .icon {
    transform: rotate(180deg);
}

.modal-rightd-select__trigger-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    min-width: 0;
}

.modal-rightd-select__name {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--gray-500, #9c9c9c);
}

.modal-rightd-select__value {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--black, #2a2a2a);
}

.modal-rightd-select__menu {
    display: none;
    flex-direction: column;
    margin-top: 0.5rem;
    padding: 0.25rem 0;
    border: 1px solid #d1d1d6;
    border-radius: 0.625rem;
    background: #fff;
    overflow: hidden;
}

.modal-rightd-select.is-open .modal-rightd-select__menu {
    display: flex;
}

.modal-rightd-select__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--black, #2a2a2a);
    text-align: left;
    cursor: pointer;
}

.modal-rightd-select__option:hover {
    background: #f5f7fa;
}

.modal-rightd-select__option > span {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.modal-rightd-select__option .icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    color: var(--blue, #102563);
    visibility: hidden;
}

.modal-rightd-select__option.is-active .icon {
    visibility: visible;
}

.modal-tourists__add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--blue-2, #035398);
    border-radius: 0.625rem;
    background: #fff;
    color: var(--blue-2, #035398);
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
}

.modal-tourists__add:hover {
    background: var(--light-blue, #f3faff);
    text-decoration: none;
}

.modal-tourist-row {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.modal-tourist-row__select {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0 !important;
}

.modal-tourist-row__remove {
    flex: 0 0 auto;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    min-height: 3.75rem;
    padding: 0;
    border: 1px solid #d1d1d6;
    border-radius: 0.625rem;
    background: #fff;
    color: var(--gray-500, #9c9c9c);
    cursor: pointer;
}

.modal-tourist-row__remove .icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    color: var(--gray-500, #9c9c9c);
}

.modal-tourist-row__remove:hover {
    background: #f5f7fa;
}

.modal-tourist-row__remove:disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Селект размещения: кастомный dropdown (как у туристов), без нативного <select>. */
.modal-tourists-placement__field {
    position: relative;
    width: 100%;
    min-width: 0;
}

.modal-tourists-placement-select-ui .modal-rightd-select__trigger {
    min-height: 2.75rem;
}

.modal-tourists-placement-select__label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--black, #2a2a2a);
    text-align: left;
}

.modal-tourists-placement-select-ui .modal-rightd-select__option > span {
    white-space: normal;
}

.modal-tourists-placement-select--native {
    display: none;
}

[data-modal-tourists] .modal-rightd-select__option {
    align-items: flex-start;
}

[data-modal-tourists] .modal-tourist-row__select .modal-rightd-select__trigger {
    min-height: 3.75rem;
}

[data-modal-tourists] .modal-rightd-select__trigger .icon {
    width: 3rem;
    height: 3rem;
    align-self: center;
    color: var(--gray-500, #9c9c9c);
}

[data-modal-tourists] > .modal-tourists-summary {
    padding-bottom: 1.25rem;
    margin-bottom: 0.25rem;
}

.modal-tourists-summary__main {
    flex: 1 1 auto;
    min-width: 0;
}

.modal-tourists-summary__prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.modal-tourists-summary__total-row {
    flex-wrap: nowrap;
    align-items: flex-start;
}

[data-modal-tourists] .modal-tourists-summary__total-row .tooltip-btn.icon {
    width: 1.125rem;
    height: 1.125rem;
    margin: 0.15rem 0 0 0.5rem;
    flex-shrink: 0;
}

[data-modal-tourists] [data-modal-tourist-perperson][hidden] {
    display: none;
}

/* Тултип цены: фиксированное позиционирование задаётся в tooltip.js */
.custom-tooltip {
    box-sizing: border-box;
    max-width: min(22rem, calc(100vw - 1.25rem));
    padding: 0.75rem 0.875rem;
    border-radius: 0.5rem;
    background: #fff;
    color: var(--black, #2a2a2a);
    font-size: 0.875rem;
    line-height: 1.45;
    box-shadow: 0 0.5rem 1.5rem rgba(42, 42, 42, 0.12);
    border: 1px solid #e8e8ed;
}

svg.tooltip-btn {
    cursor: pointer;
    flex-shrink: 0;
}

/* Заявка на круиз */

.modal-fullscreen.modal--order.show,
#cruise-order.modal.show {
    overflow: hidden;
}

.modal-fullscreen .modal-content--order {
    display: flex;
    flex-direction: column;
    max-width: 36rem;
    width: 100%;
    max-height: min(90vh, calc(var(--vh, 1vh) * 100 - 2rem));
    max-height: min(90dvh, calc(var(--vh, 1vh) * 100 - 2rem));
    overflow: hidden !important;
    box-sizing: border-box;
}

#cruise-order .cruise-order-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-bottom: 1.25rem;
}

#cruise-order .cruise-order-modal__head .cruise-order-modal__title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}

#cruise-order .cruise-order-modal__head > .close-modal {
    position: static;
    top: auto;
    right: auto;
    flex-shrink: 0;
    margin: 0.125rem 0 0;
}

#cruise-order .cruise-order-modal__head + div {
    flex-shrink: 0;
}

#cruise-order .cruise-order-form {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#cruise-order .cruise-order-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem 1rem;
}

#cruise-order .cruise-order-form > .cruise-order-form__grid {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#cruise-order .cruise-order-form > .cruise-order-form__grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

@media (min-width: 520px) {
    #cruise-order .cruise-order-form__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .catalog-item__main .all-service-board {
        white-space: nowrap;
    }
}

@media (max-width: 580px) {
    body .header-menu__item-drop {
        padding: 1.1rem 0;
    }
    body .dop-menu .dop-list {
        margin-bottom: 1rem;
        margin-top: .3rem;
    }
    .dop-list__el {
        font-size: .8rem
    }
    .choose-room__extra-btn {
        height: 2.7rem;
    }
    .choose-room__extra-btn button.infobutton {
        padding: .3rem .75rem;
    }
}

#cruise-order .cruise-order-form__full {
    grid-column: 1 / -1;
}

#cruise-order .cruise-order-form__grid .form-item {
    margin-bottom: 0;
}

#cruise-order .cruise-order-passengers-select {
    width: 100%;
    max-width: none;
}

#cruise-order .cruise-order-passengers-select .modal-rightd-select__value {
    font-size: 1rem;
    font-weight: 500;
}

#cruise-order .cruise-order-passengers-select .modal-rightd-select__value.is-placeholder {
    font-weight: 400;
    color: var(--gray-500, #9c9c9c);
}

#cruise-order .cruise-order-passengers-select.is-invalid .modal-rightd-select__trigger {
    border-color: var(--red, #e5241b);
}

#cruise-order .cruise-order-summary {
    white-space: pre-line;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d1d6;
    border-radius: 0.625rem;
    background: #f8f9fb;
    color: var(--black, #2a2a2a);
    font-size: 1rem;
    line-height: 1.45;
    min-height: 3rem;
}

#cruise-order .cruise-order-passengers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#cruise-order .cruise-order-passenger {
    padding: 1rem 1.25rem;
    border: 1px solid #d1d1d6;
    border-radius: 0.625rem;
    background: #fff;
}

#cruise-order .cruise-order-passenger__child {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #d1d1d6;
}

#cruise-order .cruise-order-passenger__fields.cruise-order-form__grid {
    overflow: visible;
    overscroll-behavior: auto;
}

#cruise-order .cruise-order-passenger__fields .form-item {
    margin-bottom: 0;
}

#cruise-order .cruise-order-dinner-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#cruise-order .cruise-order-dinner-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

#cruise-order .cruise-order-dinner-option input {
    flex-shrink: 0;
}

#cruise-order .agreed-text.color-white,
#cruise-order .agreed-text.color-white a {
    color: var(--black, #2a2a2a);
}

/* Белая модалка: в critical.css у .agreed-icon-check рамка var(--white) — чекбокс не виден */
#cruise-order .agreed-icon-check {
    border: 0.0625rem solid var(--gray-500, #9c9c9c);
    background: #fff;
}

#cruise-order .agreed-icon .input-absolute:checked + .agreed-icon-check {
    border-color: var(--blue, #102563);
    background: #fff;
}

#cruise-order .agreed-icon .input-absolute.error + .agreed-icon-check {
    border-color: var(--red, #e5241b);
}

#cruise-order .cruise-order-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
    padding-top: 1rem;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #fff;
}

#cruise-order .modal-content--order {
    position: relative;
}

#cruise-order .cruise-order-preloader {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(2px);
    cursor: wait;
}

#cruise-order .cruise-order-preloader[hidden] {
    display: none;
}

#cruise-order .cruise-order-preloader__spinner {
    width: 3rem;
    height: 3rem;
    border: 0.25rem solid #dce2ef;
    border-top-color: var(--blue, #102563);
    border-radius: 50%;
    animation: cruise-order-preloader-spin 0.8s linear infinite;
}

#cruise-order .cruise-order-preloader__text {
    color: var(--blue, #102563);
    font-size: 1rem;
    font-weight: 500;
}

@keyframes cruise-order-preloader-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 991.98px) {
    .modal-fullscreen.modal--order.show,
    #cruise-order.modal.show {
        align-items: flex-end;
        justify-content: center;
    }

    .modal-fullscreen .modal-content--order,
    #cruise-order .modal-content--order {
        max-width: 100%;
        width: 100%;
        max-height: calc(var(--vh, 1vh) * 100);
        max-height: 100dvh;
        padding: max(1.25rem, env(safe-area-inset-top, 0px)) 1.25rem 1.25rem;
        padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    }

    #cruise-order .cruise-order-modal__head {
        margin-bottom: 1rem;
    }

    #cruise-order .cruise-order-modal__head .cruise-order-modal__title {
        font-size: 1rem;
        line-height: 1.3;
        font-weight: 500;
    }

    #cruise-order .cruise-order-form__actions {
        flex-direction: column;
        align-items: stretch;
    }

    #cruise-order .cruise-order-form__actions .button {
        width: 100%;
    }

    /* iOS/Android: при клавиатуре не сжимать форму — скролл только в полях */
    body.cruise-order-keyboard-open #cruise-order.modal.show {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        overflow: hidden;
    }

    body.cruise-order-keyboard-open #cruise-order.modal.show .modal-content--order {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden !important;
    }

    body.cruise-order-keyboard-open #cruise-order.modal.show .cruise-order-modal__head {
        flex-shrink: 0;
        margin-bottom: 0.75rem;
    }

    body.cruise-order-keyboard-open #cruise-order.modal.show .cruise-order-form {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }

    body.cruise-order-keyboard-open #cruise-order.modal.show .cruise-order-form > .cruise-order-form__grid {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    body.cruise-order-keyboard-open #cruise-order.modal.show .cruise-order-form__actions {
        display: none;
    }
}


/* Модалка «Заявка на лист ожидания / подбор кают» (страница кruиза) */
.waitlist-modal {
    max-width: 42rem;
    width: 100%;
    text-align: left;
    overflow: hidden !important;
}

.waitlist-modal__title {
    padding-right: 2.5rem;
}

.waitlist-modal__ship-dot {
    margin: 0 0.35rem;
    color: var(--gray-500, #9c9c9c);
}

.waitlist-modal__ship-anchors {
    margin-left: 0.35rem;
    gap: 0.15rem;
    font-size: 0.9em;
}

.waitlist-modal__dates {
    background: #f2f3f5;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.waitlist-modal__dates-mid {
    margin: 0.35rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.waitlist-modal__dur {
    font-weight: 500;
}

.waitlist-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.waitlist-modal__field--full {
    grid-column: 1 / -1;
}

.waitlist-modal__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: var(--black, #2a2a2a);
}

.waitlist-modal__label--sub {
    margin-top: 0.25rem;
}

.waitlist-modal__req {
    color: #c62828;
}

.waitlist-modal__form .input,
.waitlist-modal__form textarea.input {
    width: 100%;
    box-sizing: border-box;
}

.waitlist-modal .waitlist-modal__select {
    margin-bottom: 0.75rem;
}

.waitlist-modal__select .modal-rightd-select__trigger-left.waitlist-modal__select-trigger-inner {
    flex-direction: row;
    align-items: center;
    gap: 0.625rem;
}

.waitlist-modal__select-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.waitlist-modal__select-icon .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--gray-500, #9c9c9c);
}

.waitlist-modal__select-single {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--black, #2a2a2a);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.waitlist-modal__select .modal-rightd-select__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    margin-top: 0.375rem;
    max-height: min(55vh, 280px);
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(42, 42, 42, 0.12);
    padding: 0.5rem 0;
}

.waitlist-modal__select .modal-rightd-select__menu .filter-cruise__list.sm {
    padding: 0 0.5rem;
}

.waitlist-modal__agreed .agreed {
    margin-bottom: 0.75rem;
}

.waitlist-modal__agreed .agreed-text {
    color: var(--black, #2a2a2a);
    font-size: 0.9375rem;
}

/* Белая модалка: в critical.css у .agreed-icon-check рамка var(--white) — на белом фоне не видна */
.waitlist-modal__agreed .agreed-icon-check {
    border: 0.0625rem solid var(--gray-500, #9c9c9c);
    background: #fff;
}

.waitlist-modal__agreed .agreed-icon .input-absolute:checked + .agreed-icon-check {
    border-color: var(--blue, #102563);
    background: #fff;
}

.waitlist-modal__agreed .agreed-icon .input-absolute.error + .agreed-icon-check {
    border-color: var(--red, #e5241b);
}

.waitlist-modal__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e4e6ea;
}

.waitlist-modal__cancel {
    min-width: 9rem;
}

.waitlist-modal__submit {
    min-width: 9rem;
}

.waitlist-modal__err {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #ffebee;
    color: #b71c1c;
    font-size: 0.9375rem;
}

@media (max-width: 640px) {
    .waitlist-modal__grid {
        grid-template-columns: 1fr;
    }
}

/* Поп-ап услуг поверх «Описание каюты» (detail-cruise.js, modal stack) */
.modal.show[data-modal-stack-layer="1"] {
    z-index: 10001;
}

/* Модалка «Описание каюты»: подвал и колонка ИТОГО как в detail-cruise.html */
.description-modal__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.description-modal__bottom-left {
    flex: 1 1 18rem;
    min-width: 0;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.description-modal__bottom > .button {
    flex-shrink: 0;
    align-self: center;
}

.modal-content--cabin .modal-rightd__price > .flex.flex-column.justify-between {
    gap: 0.25rem;
    align-items: flex-end;
}

/* --- modal-content--wide: полноэкранный контент (теплоход, маршрут) --- */
.modal-fullscreen.show {
    align-items: flex-start;
    justify-content: center;
    padding-top: 1.875rem;
}

.modal-fullscreen .modal-content--wide {
    width: 100%;
    max-width: 69.0625rem;
    max-height: min(92vh, calc(var(--vh, 1vh) * 100 - 2rem));
    max-height: min(92dvh, calc(var(--vh, 1vh) * 100 - 2rem));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Модалки на мобилке: скругление только сверху */
@media (max-width: 991.98px) {
    .modal-nofull .modal-content,
    .modal-nofull .modal-content--simple,
    .modal-nofull .modal-content--services,
    .modal-fullscreen .modal-content,
    .modal-fullscreen .modal-content--wide,
    .modal-fullscreen .modal-content--cabin,
    .modal-fullscreen .modal-content--order,
    #cruise-order .modal-content--order,
    .modal-discount .modal-content,
    .modal-content.waitlist-modal {
        border-top-left-radius: 1.25rem;
        border-top-right-radius: 1.25rem;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

/* --- modal-content--cabin: описание каюты --- */
@media (max-width: 991.98px) {
    .modal-fullscreen.show {
        padding-top: 0;
    }

    .modal-fullscreen.show:has(> .modal-content--wide) {
        align-items: flex-end;
        justify-content: center;
    }

    .modal-fullscreen .modal-content--wide {
        max-height: calc(var(--vh, 1vh) * 100);
        max-height: 100dvh;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }

    .modal-fullscreen.show:has(> .modal-content--cabin) {
        z-index: 10000;
        align-items: stretch;
        justify-content: flex-end;
    }

    .modal-fullscreen .modal-content--cabin {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: calc(var(--vh, 1vh) * 100);
        height: 100dvh;
        min-height: calc(var(--vh, 1vh) * 100);
        min-height: 100dvh;
        max-height: calc(var(--vh, 1vh) * 100);
        max-height: 100dvh;
        overflow: hidden !important;
        /* Не 0.7rem: на S21 Ultra / скруглении 1.25rem крестик еле влезает */
        padding: max(1.25rem, env(safe-area-inset-top, 0px)) max(1.25rem, env(safe-area-inset-right, 0px)) 0 max(1.25rem, env(safe-area-inset-left, 0px));
        box-sizing: border-box;
    }

    .modal-fullscreen .modal-content--cabin > .close-modal {
        top: max(1.25rem, env(safe-area-inset-top, 0px));
        right: max(1.25rem, env(safe-area-inset-right, 0px));
    }

    /* Шапка «202 / Свободно» не должна заезжать под крестик */
    .modal-fullscreen .modal-content--cabin .modal-leftd__header.hidden-desktop {
        padding-right: 2.75rem;
        box-sizing: border-box;
    }
    
    .modal-fullscreen .modal-content--cabin > h2,
    .modal-fullscreen .modal-content--cabin > .description-modal__bottom {
        flex-shrink: 0;
    }

    .modal-fullscreen .modal-content--cabin > h2 {
        padding-right: 3rem;
    }

    .modal-fullscreen .modal-content--cabin > .modal-rowd {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }

    .modal-fullscreen .modal-content--cabin .modal-leftd {
        flex: 1 1 auto;
        max-height: none;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .modal-fullscreen .modal-content--cabin > .description-modal__bottom {
        position: static;
        flex-shrink: 0;
        width: auto;
        margin-top: auto;
        flex-shrink: 0;
        border-radius: 0;
        box-shadow: 0 -0.125rem 0.5rem rgba(0, 0, 0, 0.06);
        padding: 1rem 0;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }

    .modal-content--cabin .modal-rightd--cabin-tourists {
        display: none;
    }

    .modal-content--cabin [data-cabin-mobile-to-order] {
        display: none !important;
    }

    .modal-content--cabin.is-tourists-step .modal-leftd {
        display: none;
    }

    .modal-content--cabin.is-tourists-step .modal-rightd--cabin-tourists {
        display: block;
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        padding-bottom: 1rem;
    }

    .modal-content--cabin.is-tourists-step > .modal-rowd {
        flex-direction: column;
    }

    .modal-content--cabin.is-tourists-step [data-cabin-mobile-to-tourists] {
        display: none !important;
    }

    .modal-content--cabin.is-tourists-step [data-cabin-mobile-to-order] {
        display: flex !important;
    }

    .cabin-mobile-tourists-head {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .cabin-mobile-tourists-back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        border: 1px solid #d1d1d6;
        border-radius: 0.625rem;
        background: #fff;
        color: var(--blue, #102563);
    }

    .cabin-mobile-tourists-back .icon {
        width: 1.25rem;
        height: 1.25rem;
        stroke: currentColor;
        fill: none;
    }
}

/* Любая модалка или мобильная панель фильтров кают: не перекрывать фиксированную кнопку «Выбрать каюту» */
body.modal-open .detailc-fixed-cabin-btn,
body.show-placing-filter .detailc-fixed-cabin-btn {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* Шапка не перекрывает модалки (акции, формы и т.д.) */
body.modal-open .header-top,
body.modal-open .header {
    /* opacity: 0; */
    pointer-events: none;
}

/* Поп-ап скидки/акции (иконка «i» в блоке «Акции и бонусы») */
.modal-discount.show {
    overflow: hidden !important;
}

.modal-discount .modal-content {
    display: flex;
    flex-direction: column;
    max-height: min(90vh, calc(var(--vh, 1vh) * 100 - 1rem));
    overflow: hidden !important;
    box-sizing: border-box;
}

.modal-discount .modal-content > .close-modal {
    position: absolute;
    z-index: 3;
    top: 1.25rem;
    right: 1.25rem;
    flex-shrink: 0;
}

.modal-discount .modal__discount {
    min-width: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

@media (max-width: 991.98px) {
    .modal-discount.show {
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }

    .modal-discount .modal-content {
        max-width: 100%;
        max-height: calc(var(--vh, 1vh) * 100);
        margin: 0;
    }

    .modal-discount .modal-content > .close-modal {
        top: 0.7rem;
        right: 0.7rem;
        background: rgba(255, 255, 255, 0.95);
    }
}

.modal-discount .modal__discount .size-14 {
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.modal-discount .modal__discount .size-14 p {
    margin: 0 0 0.5em;
}

.modal-discount .modal__discount .size-14 p:last-child {
    margin-bottom: 0;
}

.choose-room__extra-btn.open-modal {
    cursor: pointer;
}

.sea-placing-loading-root {
    position: relative;
}

.sea-placing-loading-root.is-sea-placing-loading {
    min-height: 18rem;
}

.sea-placing-preloader {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding-top: clamp(8rem, 20vh, 14rem);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(2px);
    cursor: wait;
    box-sizing: border-box;
}

.sea-placing-preloader[hidden] {
    display: none;
}

.sea-placing-preloader__spinner {
    width: 3rem;
    height: 3rem;
    border: 0.25rem solid #dce2ef;
    border-top-color: var(--blue, #102563);
    border-radius: 50%;
    animation: sea-placing-preloader-spin 0.8s linear infinite;
}

.sea-placing-preloader__text {
    color: var(--blue, #102563);
    font-size: 1rem;
    font-weight: 500;
}

@keyframes sea-placing-preloader-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sea-placing-preloader__spinner {
        animation-duration: 1.6s;
    }
}

#sea-placing-wrapper .choose-room__extra-btn.is-sea-cabin-pick {
    cursor: pointer;
}

#sea-placing-wrapper .choose-room__extra-btn.is-sea-cabin-pick .infobutton {
    pointer-events: none;
}

#sea-placing-wrapper .choose-room__extra-btn.is-sea-cabin-pick .cart {
    pointer-events: none;
}

#sea-placing-wrapper .choose-room__extra-btn_free button,
#sea-placing-wrapper .choose-room__extra-btn_free .infobutton {
    background-color: #e0ffec;
}

#sea-placing-wrapper .choose-room__extra-btn_free.is-sea-cabin-pick:hover button,
#sea-placing-wrapper .choose-room__extra-btn_free.is-sea-cabin-pick:hover .infobutton {
    background-color: #d1f7de;
}

#sea-placing-wrapper .choose-room__extra-btn_bron button,
#sea-placing-wrapper .choose-room__extra-btn_bron .infobutton {
    background-color: #fbf6de;
}

#sea-placing-wrapper .choose-room__extra-btn_not button,
#sea-placing-wrapper .choose-room__extra-btn_not .infobutton {
    background-color: var(--red);
    color: #fff;
}

#sea-placing-wrapper .choose-room__extra-btn_not .infobutton__info,
#sea-placing-wrapper .choose-room__extra-btn_not .infobutton__info p,
#sea-placing-wrapper .choose-room__extra-btn_not .infobutton__info span {
    color: #fff;
}

/* Кнопки кают: цвет фона по статусу (как в легенде .choose-room__info-sqr) */
.choose-room__extra-btn--free button {
    background-color: #e0ffec;
}

.choose-room__extra-btn--free button:hover {
    background-color: #d1f7de;
}

.choose-room__extra-btn--bron button {
    background-color: #fbf6de;
}

.choose-room__extra-btn--bron button:hover {
    background-color: #f3eccc;
}

.choose-room__extra-btn--not button {
    background-color: var(--red);
}

.choose-room__extra-btn--not button:hover {
    background-color: var(--red-2);
}

.choose-room__extra-btn--not .infobutton__info,
.choose-room__extra-btn--not .infobutton__info p,
.choose-room__extra-btn--not .infobutton__info span {
    color: #fff;
}

.choose-room__extra-btn--not button svg path {
    fill: #fff !important;
}

.choose-room__extra-btn--not button.cart {
    border-right-color: rgba(255, 255, 255, 0.35);
}

/* Мобильная панель фильтров кают на детальной странице круиза */
@media (max-width: 991.98px) {
    body.show-placing-filter {
        overflow: hidden !important;
    }

    .placing-filters-form__mobile-head,
    .placing-filters-form__mobile-foot {
        display: none;
    }

    body.show-placing-filter .placing-filters-form {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        z-index: 10050;
        background: #fff;
        padding: 3.125rem 1.625rem 1.875rem;
        margin-bottom: 0 !important;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    body.show-placing-filter .placing-filters-form__mobile-head {
        display: flex;
        flex-shrink: 0;
    }

    .placing-filters-form .placing-filters-form__close.filter-close-icon {
        display: none;
    }

    body.show-placing-filter .placing-filters-form .placing-filters-form__close.filter-close-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 1.125rem;
        right: 1.125rem;
        z-index: 1;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
    }

    body.show-placing-filter .placing-filters-form .placing-filters-form__close.filter-close-icon .icon {
        width: 1.5rem;
        height: 1.5rem;
        stroke: var(--black);
        fill: transparent;
    }

    body.show-placing-filter .placing-filters-form__mobile-foot {
        display: block;
        margin-top: auto;
        padding-top: 1.5rem;
        flex-shrink: 0;
    }

    body.show-placing-filter .open-placing-filter {
        display: none !important;
    }

    body.show-placing-filter .header-top {
        opacity: 0;
        pointer-events: none;
    }

    body.show-placing-filter .filter-cruise__dropdown.is-active {
        z-index: 10051;
    }

    /* Фильтр на мобилке при открытой клавиатуре: без нижнего отступа, скролл только у списка */
    .filter-cruise__dropdown.is-active.is-keyboard-open,
    .calendar__dropdown.is-active.is-keyboard-open {
        display: flex !important;
        flex-direction: column;
        overflow: hidden !important;
        padding-bottom: 0 !important;
    }

    .filter-cruise__dropdown.is-active.is-keyboard-open > .filter-cruise__dropdown-top {
        flex-shrink: 0;
    }

    .filter-cruise__dropdown.is-active.is-keyboard-open > .filter-cruise__list {
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .filter-cruise__dropdown.is-active.is-keyboard-open > .filter-cruise__dropdown-bottom,
    .calendar__dropdown.is-active.is-keyboard-open > .calendar__dropdown-bottom {
        display: none !important;
    }

    .calendar__dropdown.is-active.is-keyboard-open > .calendar {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Вкладка «Схема»: легенда занятости и масштаб */
.placing-scheme__legend {
    margin-bottom: 1.5rem;
}

.placing-scheme__legend .choose-room__infos {
    justify-content: center;
}

.placing-scheme__legend-note {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.placing-scheme__legend-note p + p {
    margin-top: 0.25rem;
}

.placing-scheme__body {
    position: relative;
}

.placing-scheme__viewport {
    overflow: auto;
    width: 100%;
    max-height: min(72vh, 40rem);
    -webkit-overflow-scrolling: touch;
    padding-top: 3.5rem;
}

.placing-scheme__scale {
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    transition: width 0.2s ease;
}

.placing-scheme__viewport--pannable {
    cursor: grab;
    touch-action: pan-x pan-y;
}

.placing-scheme__viewport--dragging {
    cursor: grabbing;
    user-select: none;
}

.placing-scheme__viewport--dragging * {
    cursor: grabbing;
}

.placing-scheme__zoom {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    background: var(--white, #fff);
    border-radius: 999px;
    box-shadow: 0 0.25rem 1rem rgba(15, 23, 42, 0.12);
    border: 0.0625rem solid #e5e7eb;
}

.placing-scheme__zoom-btn {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    line-height: 1;
    color: var(--blue, #102563);
    font-weight: 500;
}

.placing-scheme__zoom-btn:hover:not(:disabled) {
    background: var(--light-blue, #f3faff);
}

.placing-scheme__zoom-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.placing-scheme__zoom-divider {
    width: 0.0625rem;
    height: 1.5rem;
    background: #e5e7eb;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .placing-scheme__viewport {
        padding-top: 3.25rem;
        max-height: none;
    }
}

.placing-scheme-svg--raster img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 280px;
    object-fit: contain;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.placing-scheme-svg object {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

#ship-cruise .ship-scheme {
    margin-top: 2.5rem;
}

#ship-cruise .ship-scheme .placing-scheme__viewport {
    max-height: min(68vh, 36rem);
}

body .cause-item {
    min-height: 15.625rem;
    height: fit-content;
}

/* Согласие в формах: ссылки заметны на светлом тексте label */
.agreed-text.color-white a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

.agreed-text.color-white a:hover {
    text-decoration-thickness: 0.12em;
}

/* Фильтр круизов: видимый тонкий скролл у колонки месяцев (как на Infoflot) */
.calendar .calendar-left {
    scrollbar-width: thin;
    scrollbar-color: #b8bdc9 #ebeff5;
    -ms-overflow-style: auto;
}

.calendar .calendar-left::-webkit-scrollbar {
    width: 5px;
}

.calendar .calendar-left::-webkit-scrollbar-track {
    background: #ebeff5;
    border-radius: 3px;
}

.calendar .calendar-left::-webkit-scrollbar-thumb {
    background: #c3c9d6;
    border-radius: 3px;
}

.calendar .calendar-left::-webkit-scrollbar-thumb:hover {
    background: #a8b0c2;
}


/* Футер: стрелка справа от блока текста, без переноса на отдельную строку при появлении на hover */
.footer-menu__link {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.125rem;
}

.footer-menu__link-text {
    flex: 1 1 auto;
    min-width: 0;
}

.footer-menu__link svg.icon {
    flex-shrink: 0;
    margin-left: 0;
}

/* Детальная круиза: герой — обёртка для флага русской группы (морские круизы) */
.detailc-photo-wrap {
    position: relative;
    width: 100%;
}

.detailc-russian-squad-flag {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    width: 48px;
    height: 48px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(16, 37, 99, 0.25);
    pointer-events: none;
}

.detailc-russian-squad-flag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Детальная круиза: герой-слайдер — размеры до подстановки фона (убирает узкую полоску и «растягивание») */
.detailc-slider {
    width: 100%;
}

.detailc-slider .swiper-slide {
    height: auto;
}

.detailc-slide {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f2f4f6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.detailc-photo-single,
.detailc-slider .swiper-slide {
    position: relative;
}

.detailc-tag {
    padding: 1.3125rem 1.78125rem;
    background-color: #fff;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    border-bottom-left-radius: 1.25rem;
    line-height: 1.4;
}

.detailc-tag__text--short {
    display: none;
}

/* Деталка круиза: отступы у крошек вдвое меньше, чем глобальные */
body:has(.detailc-layout) .header {
    margin-bottom: 1rem; /* было 2rem */
}

.detailc-layout > .breadcrumbs.mb-40 {
    margin-bottom: 1.25rem; /* было 2.5rem */
}

.detailc-infoblock {
    border-radius: 1.2rem;
}

@media (max-width: 1240px) {
    .detailc-layout > .breadcrumbs.mb-40 {
        margin-bottom: 1.09375rem; /* было 2.1875rem */
    }
}

@media (max-width: 991px) {
    .detailc-layout > .breadcrumbs.mb-40 {
        margin-bottom: 1rem; /* было 2rem */
    }

    /* Full-bleed по бокам как в макете; margin = padding .container на мобилке (1rem) */
    .detailc-start .start-container {
        margin: 0 -1rem;
        background: transparent;
    }

    /* На макете у фото слайдера нет скруглений и рамки */
    body .detailc-slider,
    body .detailc-photo-single,
    .detailc-photo-wrap {
        border-radius: 0;
        border: none;
    }

    /* Выше на ~72px относительно critical height:10.875rem */
    .detailc-slide {
        height: calc(10.875rem + 4.5rem);
        aspect-ratio: auto;
        border-radius: 0;
    }

    .detailc-russian-squad-flag {
        top: 16px;
        bottom: auto;
    }

    .detailc-tag {
        display: block !important;
        padding: 0.5rem 0.75rem;
        max-width: calc(100% - 0.5rem);
        box-sizing: border-box;
        border-bottom-left-radius: 0.75rem;
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .detailc-tag__text--full {
        display: none;
    }

    .detailc-tag__text--short {
        display: inline;
    }

    .detailc-infoblock {
        border-radius: 1.2rem 1.2rem 0 0;
    }
}

/* Swiper: у отключённых стрелок стоит pointer-events:none — клик доходит до <a href="#"> под слайдом и даёт скролл на # */
body .swiper-arrow[disabled],
body .swiper-arrow.swiper-button-disabled {
    pointer-events: auto !important;
    cursor: not-allowed;
}

/* Баннер согласия на cookie */
.cookie-consent {
    display: none;
}

.cookie-consent.is-visible {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    padding: 1rem 0 1.25rem;
    background: var(--white);
    border-top: 1px solid var(--gray-200, #C3CBDF);
    box-shadow: 0 -4px 24px rgba(16, 37, 99, 0.08);
    font-family: Inter, sans-serif;
    color: var(--black, #2A2A2A);
}

body.cookie-consent-visible {
    padding-bottom: 7rem;
}

@media (min-width: 768px) {
    body.cookie-consent-visible {
        padding-bottom: 6rem;
    }
}

.cookie-consent__inner {
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .cookie-consent__inner {
        justify-content: space-between;
    }
}

.cookie-consent__text {
    flex: 1 1 16rem;
    margin: 0;
    line-height: 1.45;
    color: var(--black, #2A2A2A);
    max-width: 100%;
}

.cookie-consent__link {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.cookie-consent__link:hover {
    color: var(--blue-2, #035398) !important;
}

.cookie-consent__accept {
    flex: 0 0 auto;
    min-width: 10rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Страницы политик и cookie */
.legal-page .start-section {
    padding-bottom: 4rem;
}

.legal-page .start-block--legal {
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
}

.legal-page__hero-title {
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
}

.legal-page__content {
    line-height: 1.55;
    color: var(--black, #2A2A2A);
    font-size: 1rem;
}

.legal-page__content h2.legal-page__heading {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 1.5rem;
    color: var(--black, #2A2A2A);
}

.legal-page__content > p,
.legal-page__content > [id^="bx_incl_area"] > p {
    margin-bottom: 1rem;
}

.legal-page__content > p:last-child,
.legal-page__content > [id^="bx_incl_area"] > p:last-child {
    margin-bottom: 0;
}

.legal-page__muted {
    color: var(--gray-500, #9C9C9C);
}

.legal-page__content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 1.5rem 0 0.75rem;
    color: var(--blue, #102563);
}


.legal-page__content a {
    color: var(--blue, #102563);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.legal-page__content a:hover {
    color: var(--blue-2, #035398);
}

.legal-page__content ul {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.legal-page__content ul > li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.legal-page__content ul > li::before {
    content: ">";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gray-200, #C3CBDF);
    font-weight: 500;
    line-height: 1.55;
}

.legal-page__content ul.is-disc {
    margin-left: 1.25rem;
    list-style: disc;
}

.legal-page__content ul.is-disc > li {
    padding-left: 0;
    margin-bottom: 0.5rem;
}

.legal-page__content ul.is-disc > li::before {
    content: none;
}

.legal-page__doc-header {
    gap: 1rem;
}

.legal-page__content .mt-48 {
    margin-top: 3rem;
}

.legal-page__content .mt-32 {
    margin-top: 2rem;
}

.legal-page__content .mt-16 {
    margin-top: 1rem;
}

.legal-page__content .mt-12 {
    margin-top: 0.75rem;
}

.legal-page__accordion .accordion__item {
    border-top: 1px solid var(--gray-200, #C3CBDF);
}

.legal-page__accordion .accordion__item:last-child {
    border-bottom: 1px solid var(--gray-200, #C3CBDF);
}

.legal-page__accordion .accordion__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    cursor: pointer;
}

.legal-page__accordion .accordion__content-main {
    padding-bottom: 1.5rem;
}

.legal-page .modal-table {
    width: 100%;
    max-width: 100%;
    margin: 0.75rem 0 0;
}

.legal-page .modal-table--cols-2 .modal-table__header,
.legal-page .modal-table--cols-2 .modal-table__row {
    grid-template-columns: 1fr 1fr;
}

/* Таблицы в оферте и других legal-страницах (в т.ч. вставка из Word) */
.legal-page__table-wrap {
    margin: 1.5rem 0 2rem;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.legal-page__content table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--black, #2a2a2a);
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 0 0 0.0625rem #c3cbdf;
}

.legal-page__content table thead {
    background-color: #035398;
    color: #fff;
}

.legal-page__content table th,
.legal-page__content table td {
    padding: 0.875rem 1.25rem;
    vertical-align: top;
    text-align: left;
    border: 0.0625rem solid #c3cbdf;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.45 !important;
    font-size: 1rem !important;
    font-weight: 400;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Сброс ширин из Word (width="310" и т.п.) */
.legal-page__content table [width] {
    width: auto !important;
}

.legal-page__content table th {
    font-weight: 600;
    color: #fff;
    border-color: #999;
}

.legal-page__content table th:first-child,
.legal-page__content table td:first-child {
    width: 32%;
    max-width: 18rem;
}

.legal-page__content table td * {
    line-height: inherit !important;
    max-height: none !important;
    transform: none !important;
}

.legal-page__content table p {
    margin: 0 0 0.5rem;
    font-size: inherit !important;
    line-height: inherit !important;
}

.legal-page__content table p:last-child {
    margin-bottom: 0;
}

.legal-page__content table ul {
    margin: 0.25rem 0 0;
    padding: 0 0 0 1.25rem;
    list-style: disc;
}

.legal-page__content table ul > li {
    position: static;
    padding-left: 0;
    margin-bottom: 0.35rem;
}

.legal-page__content table ul > li::before {
    content: none;
}

.legal-page__content table ul.is-disc > li::before {
    content: none;
}

.legal-page__content table.d-table {
    box-shadow: 0 0 0 0.0625rem #999;
}

@media (max-width: 991px) {
    .legal-page__content table {
        font-size: 0.875rem;
        table-layout: fixed;
    }

    .legal-page__content table th,
    .legal-page__content table td {
        padding: 0.75rem 0.625rem;
        font-size: 0.875rem !important;
    }

    .legal-page__content table th:first-child,
    .legal-page__content table td:first-child {
        width: 42% !important;
        min-width: 8.75rem;
        max-width: none;
    }

    .legal-page__content table th:last-child,
    .legal-page__content table td:last-child {
        width: 58% !important;
    }

    .legal-page__content h2.legal-page__heading {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .legal-page__hero-title {
        font-size: 1.75rem;
    }

    .legal-page__doc-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .legal-page__content table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .legal-page__content table tbody,
    .legal-page__content table thead {
        display: table;
        width: 100%;
        min-width: 20rem;
        table-layout: fixed;
    }

    .legal-page__content table th:first-child,
    .legal-page__content table td:first-child {
        width: 40% !important;
        min-width: 7.5rem;
    }

    .legal-page__content table th:last-child,
    .legal-page__content table td:last-child {
        width: 60% !important;
    }

}

@media (max-width: 767px) {
    .cookie-consent.is-visible {
        padding: 0.625rem 0 calc(0.625rem + env(safe-area-inset-bottom, 0px));
    }

    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0.625rem;
    }

    .cookie-consent__text {
        flex: 1 1 6rem;
        font-size: 0.875rem;
        line-height: 1.35;
    }

    .cookie-consent__accept {
        width: 100%;
        min-height: 2.75rem;
        height: 2.75rem !important;
    }
}

/* Удобства и услуги на детальной круиза: список в одну колонку */
#services-cruise .board-service-items {
    grid-template-columns: 1fr;
    column-gap: 0;
}

#services-cruise .services-price-item__text p {
    margin: 0;
}

#services-cruise .services-price-item__text p + p {
    margin-top: 0.5rem;
}

/* Вложенные списки в HTML из API: единый размер с родителем (inline font-size в <p> не попадает в <ul>) */
#services-cruise .services-price-item__text ul,
#services-cruise .services-price-item__text ol {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    list-style: disc;
    font-size: inherit;
    line-height: inherit;
}

#services-cruise .services-price-item__text ol {
    list-style: decimal;
}

#services-cruise .services-price-item__text li,
#services-cruise .services-price-item__text p,
#services-cruise .services-price-item__text span {
    font-size: inherit !important;
    line-height: inherit !important;
}

/* Блок «Удобства и услуги»: таблицы в HTML-описании услуг */
#services-cruise .services-price-item__text table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: inherit;
    line-height: inherit;
}

#services-cruise .services-price-item__text th,
#services-cruise .services-price-item__text td {
    padding: 0.625rem 0.875rem;
    border: 1px solid #c3cbdf;
    vertical-align: top;
    text-align: left;
    font-size: inherit !important;
    line-height: inherit !important;
    overflow-wrap: break-word;
}

#services-cruise .services-price-item__text thead th {
    font-weight: 600;
    background: #f2f4f6;
    color: var(--black, #2a2a2a);
}

#services-cruise .services-price-item__text table [width] {
    width: auto !important;
}

@media (max-width: 767px) {
    #services-cruise .services-price-item__text table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #services-cruise .services-price-item__text table thead,
    #services-cruise .services-price-item__text table tbody {
        display: table;
        width: 100%;
        min-width: 20rem;
    }

    .catalog-item__count {
        font-size: 12px;
    }
}

/* Блок «Теплоход» на детальной: описание из API */
#ship-cruise .ship-description.hidden-mobile p {
    font-size: 18px;
    line-height: 1.4;
}

/* Блок «Теплоход» (и модалка «О теплоходе»): таблицы из API/Word — без “мелкого” шрифта */
#ship-cruise .ship-description table,
#crucestar-info .ship-description-big-intro table,
#crucestar-info .accordion__content-main table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: inherit;
    line-height: inherit;
}

#ship-cruise .ship-description table th,
#ship-cruise .ship-description table td,
#crucestar-info .ship-description-big-intro table th,
#crucestar-info .ship-description-big-intro table td,
#crucestar-info .accordion__content-main table th,
#crucestar-info .accordion__content-main table td {
    padding: 0.75rem 1rem;
    border: 1px solid #c3cbdf;
    vertical-align: top;
    text-align: left;
    font-size: inherit !important;
    line-height: inherit !important;
    word-break: normal;
    overflow-wrap: break-word;
}

#ship-cruise .ship-description table thead th,
#crucestar-info .ship-description-big-intro table thead th,
#crucestar-info .accordion__content-main table thead th {
    font-weight: 600;
    background: #f2f4f6;
    color: var(--black, #2a2a2a);
}

/* Сброс ширин из Word (width="310" и т.п.) */
#ship-cruise .ship-description table [width],
#crucestar-info .ship-description-big-intro table [width],
#crucestar-info .accordion__content-main table [width] {
    width: auto !important;
}

/* Горизонтальный скролл на узких экранах */
@media (max-width: 767px) {
    #ship-cruise .ship-description table,
    #crucestar-info .ship-description-big-intro table,
    #crucestar-info .accordion__content-main table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #ship-cruise .ship-description table thead,
    #ship-cruise .ship-description table tbody,
    #crucestar-info .ship-description-big-intro table thead,
    #crucestar-info .ship-description-big-intro table tbody,
    #crucestar-info .accordion__content-main table thead,
    #crucestar-info .accordion__content-main table tbody {
        display: table;
        width: 100%;
        min-width: 20rem;
    }
}

/* Поп-ап «О теплоходе» (#crucestar-info): стрелки слайдера на мобильных (в critical скрыты) */
@media (max-width: 991px) {
    #crucestar-info .detail-ship-slider .detail-ship-arrow_prev.swiper-arrow,
    #crucestar-info .detail-ship-slider .detail-ship-arrow_next.swiper-arrow {
        display: flex !important;
    }

    #crucestar-info .detail-ship-slider .detail-ship-arrow_prev {
        left: 0.5rem;
    }

    #crucestar-info .detail-ship-slider .detail-ship-arrow_next {
        right: 0.5rem;
    }
}

#crucestar-info .detail-ship-slider .swiper-arrow {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(16, 37, 99, 0.15);
}

#crucestar-info .detail-ship-slider .swiper-arrow .icon {
    stroke: var(--blue, #102563);
}

#crucestar-info .detail-ship-slider .swiper-arrow:hover {
    background: var(--white, #fff);
}

/* Маркеры-стрелки во внешнем HTML описания (img внутри strong/p, иначе display:block из reset) */
#crucestar-info .accordion__content-main strong > img,
#crucestar-info .accordion__content-main p img[width],
#crucestar-info .ship-description-big-intro strong > img,
#crucestar-info .ship-description-big-intro p img[width],
#ship-cruise .ship-description strong > img,
#ship-cruise .ship-description p img[width] {
    display: inline-block;
    vertical-align: middle;
    max-width: none;
    width: auto;
    height: auto;
    margin: 0 0.35em 0 0;
}

.page-url-copy-toast {
    position: fixed;
    z-index: 10050;
    right: 24px;
    bottom: 24px;
    left: auto;
    transform: translateY(12px);
    padding: 12px 20px;
    border-radius: 8px;
    background: var(--blue, #102563);
    color: var(--white, #fff);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 24px rgba(16, 37, 99, 0.2);
}

.page-url-copy-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Детальная круиза: выпадающий список «Поделиться» */
.detailc-share {
    position: relative;
    flex-shrink: 0;
}

.detailc-infoblock__btns .detailc-share .button {
    width: 50px;
    min-width: 50px;
    height: 50px;
    padding: 0;
}

.detailc-share__dropdown {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 20;
    min-width: 220px;
    padding: 8px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 37, 99, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.detailc-share.is-open .detailc-share__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.detailc-share__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detailc-share__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #2a2a2a;
    text-align: left;
    transition: background-color 0.2s ease;
}

.detailc-share__item:hover {
    background: #f2f4f6;
}

.detailc-share__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.detailc-share__icon img,
.detailc-share__icon svg {
    display: block;
}

.detailc-share__icon--max {
    background: linear-gradient(135deg, #48c4fe 0%, #ae42ff 100%);
}

.detailc-share__icon--vk {
    background: #0077ff;
}

.detailc-share__icon--copy {
    background: #102563;
}

.detailc-share__label {
    white-space: nowrap;
}

/* Каталог: диапазон дат круиза в одну строку */
.catalog-item__date-range {
    white-space: nowrap;
}

/* Онлайн табло отправлений */
.section-start_departure {
    margin-top: -3.5rem;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.section-start_departure .departure-board-section__title {
    margin-bottom: 2.5rem;
}

/*
 * Выпадающие списки поиска: custom-script.js переносит их в body (appendChild).
 * z-index: 2 из critical.css ниже табло — поднимаем только активные.
 * 5 > табло (1), < шапка .header-top (6).
 */
@media (min-width: 992px) {
    body > .filter-cruise__dropdown.is-active,
    body > .calendar__dropdown.is-active,
    .filter-cruise__dropdown.is-active,
    .calendar__dropdown.is-active {
        z-index: 5;
    }
}

/*
 * Мобильные выпадающие фильтры: в critical.css z-index: 10, ниже .header-top (25) —
 * крестик закрытия (top: 1.125rem) перекрывается шапкой.
 */
@media (max-width: 991.98px) {
    body > .filter-cruise__dropdown.is-active,
    body > .calendar__dropdown.is-active,
    .filter-cruise__dropdown.is-active,
    .calendar__dropdown.is-active {
        z-index: 30;
    }
}

.section-start_departure .start-container {
    width: 100%;
}

.departure-board {
    --departure-board-border: var(--red, #e5241b);
    --departure-board-radius: 20px;
    width: 100%;
    margin-top: 0;
    background: var(--white, #fff);
    border: 2px solid var(--departure-board-border);
    border-radius: var(--departure-board-radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16, 37, 99, 0.08);
}

.departure-board__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 5rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.departure-board__summary::-webkit-details-marker {
    display: none;
}

.departure-board__summary-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.departure-board__title {
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue, #102563);
}

.departure-board__calendar {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--blue, #102563);
}

.departure-board__calendar svg {
    width: 28px;
    height: 28px;
}

.departure-board__toggle {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--blue-2, #035398);
}

.departure-board__toggle-icon {
    width: 28px;
    height: 28px;
    transition: transform 0.2s ease;
}

.departure-board[open] .departure-board__toggle-icon {
    transform: rotate(180deg);
}

.departure-board__body {
    padding: 0 2rem 2rem;
}

.departure-board__toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.departure-board__dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.departure-board__date {
    padding: 8px 14px;
    border-radius: 8px;
    background: #eef2f6;
    color: var(--black, #2a2a2a);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.departure-board__date.is-active {
    background: #dde4ec;
    color: var(--blue, #102563);
    font-weight: 600;
}

.departure-board__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
    text-align: right;
}

.departure-board__contacts-label {
    font-size: 14px;
    line-height: 1.3;
    color: var(--black, #2a2a2a);
}

.departure-board__phone {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--blue-2, #035398);
}

.departure-board__phone:hover {
    text-decoration: underline;
}

.departure-board__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.departure-board__city {
    padding: 10px 16px;
    border-radius: 999px;
    background: #eef2f6;
    color: var(--black, #2a2a2a);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.departure-board__city.is-active {
    background: var(--blue-2, #035398);
    color: var(--white, #fff);
}

.departure-board__table-wrap {
    overflow-x: auto;
    margin-bottom: 20px;
}

.departure-board__table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.departure-board__table th,
.departure-board__table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e6ebf0;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.35;
    color: var(--black, #2a2a2a);
}

.departure-board__table th {
    padding-top: 0;
    padding-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #667085;
    border-bottom-color: #d8dee6;
}

.departure-board__table tbody tr:last-child td {
    border-bottom: none;
}

.departure-board__table td:first-child {
    font-weight: 500;
}

.departure-board__empty {
    padding: 24px 12px !important;
    text-align: center;
    color: #667085;
    font-weight: 400 !important;
}

.departure-board__loading {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    color: #667085;
}

.catalog-item__count--loading {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 148px;
    min-height: 20px;
    white-space: nowrap;
}

.catalog-item__count-loading-text {
    color: var(--blue-2, #035398);
}

.catalog-item__count-spinner {
    flex-shrink: 0;
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(3, 83, 152, 0.2);
    border-top-color: var(--blue-2, #035398);
    border-radius: 50%;
    animation: catalog-item-count-spin 0.7s linear infinite;
}

@keyframes catalog-item-count-spin {
    to {
        transform: rotate(360deg);
    }
}

.departure-board__docks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 32px;
    margin-bottom: 16px;
}

.departure-board__dock {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.departure-board__dock-icon {
    display: inline-flex;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--blue-2, #035398);
}

.departure-board__dock-name {
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--black, #2a2a2a);
}

.departure-board__dock-address {
    font-size: 13px;
    line-height: 1.35;
    color: var(--blue-2, #035398);
}

.departure-board__dock-address:hover {
    text-decoration: underline;
}

.departure-board__note {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #667085;
}

@media screen and (max-width: 992px) {
    /* Не наследовать full-bleed и синий фон .start-container из блока поиска */
    .section-start_departure {
        margin-top: 0;
        padding-top: 1.5rem;
        padding-bottom: 2rem;
        overflow-x: clip;
    }

    .section-start_departure .departure-board-section__title {
        margin-bottom: 1.75rem;
    }

    .section-start_departure .start-container {
        margin: 0;
        background: transparent;
        max-width: 100%;
    }

    .departure-board {
        max-width: 100%;
    }

    .departure-board__summary {
        min-height: auto;
        gap: 12px;
        padding: 1rem 1rem;
    }

    .departure-board__summary-main {
        flex: 1;
        min-width: 0;
    }

    .departure-board__body {
        padding: 0 1rem 1.25rem;
    }

    .departure-board__title {
        font-size: 0.8125rem;
        letter-spacing: 0.02em;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .departure-board__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .departure-board__contacts {
        align-items: flex-start;
        text-align: left;
    }

    .departure-board__docks {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .section-start_departure {
        padding-top: 0.75rem;
    }

    .departure-board__summary-main {
        gap: 8px;
    }

    .departure-board__summary {
        padding: 0.875rem 0.75rem;
    }

    .departure-board__body {
        padding: 0 0.75rem 1rem;
    }

    .departure-board__calendar {
        display: none;
    }

    .departure-board__city {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Страница «Онлайн-табло» */
.departure-board-page__title {
    text-align: center;
}

.departure-board-page__content {
    max-width: 100%;
}

.departure-board--page {
    margin-top: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.departure-board--page .departure-board__body {
    padding: 0;
}

.route-time-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f2f2f2;
    border-radius: 0.5rem;
    padding: 0.625rem 1rem;
}

.route-time-notice svg {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    fill: var(--gray-500, #9c9c9c);
}

.route-time-notice p {
    margin: 0;
    color: var(--gray-500, #9c9c9c);
}

.accordion__route-times {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.accordion__route-time-label {
    color: var(--gray-500, #9c9c9c);
    margin-bottom: 0.25rem;
}

.accordion__route-textblock ol,
.accordion__route-textblock ul {
    list-style: revert;
    padding-left: 1.5em;
    margin: 0 0 1rem;
}

.accordion__route-textblock ol.accordion__route-list,
.accordion__route-textblock ol {
    list-style: decimal;
}

.accordion__route-textblock ul {
    list-style: disc;
}

.accordion__route-textblock li + li {
    margin-top: 1rem;
}

.accordion__route-textblock p + p,
.accordion__route-textblock ol + p,
.accordion__route-textblock p + ol {
    margin-top: 1rem;
}

/* Описание категории каюты (HTML из API / админки) */
.placing-item__main-c-info ul,
.placing-item__main-c-info ol {
    margin: 0 0 1rem;
    padding: 0;
}

.placing-item__main-c-info ul {
    list-style: none;
}

.placing-item__main-c-info ol {
    list-style: decimal;
    padding-left: 1.5em;
}

.placing-item__main-c-info li + li {
    margin-top: 0.35rem;
}

.placing-item__main-c-info p {
    margin: 0 0 0.75rem;
}

.placing-item__main-c-info p:last-child {
    margin-bottom: 0;
}

.placing-item__main-c-info ul:last-child,
.placing-item__main-c-info ol:last-child {
    margin-bottom: 0;
}

.placing-item__main-c-info a[href] {
    color: #009bda;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.placing-item__main-c-info a[href]:hover {
    color: var(--blue-2, #035398);
}

.placing-item__main-c-info img {
    display: inline;
    vertical-align: middle;
    max-width: none;
    width: auto;
    height: auto;
    margin-right: 0.15rem;
}

.content-page_data table {
    display: block;
    overflow-x: scroll;
}

.content-page_data table tbody {
    display: block;
    min-width: 700px;
}

/* Sea cruise placing (from volgafront critical.css) */
.placing-people{background:#f4f6f9;border-radius:1rem;padding:1.5rem}@media (max-width:767px){.placing-people{padding:1rem;border-radius:.75rem}}.placing-people__title{color:#102563}@media (max-width:991px){.placing-people__title{font-size:1rem;line-height:130%;font-weight:600}}.placing-people__inner{gap:1.5rem;flex-wrap:wrap;background:var(--white);border-radius:.75rem;padding:1.25rem 1.5rem}@media (max-width:991px){.placing-people__inner{gap:1rem;flex-direction:column;align-items:stretch;padding:1rem}}.placing-people__group{gap:1.25rem}@media (max-width:767px){.placing-people__group{width:100%;justify-content:space-between}}.placing-people__label{flex-shrink:0}.placing-people__head{gap:1rem}.placing-people__reset{gap:.5rem;border:none;background:0 0;padding:0;cursor:pointer;flex-shrink:0}.placing-people__reset[hidden]{display:none!important}.placing-people__counter{gap:.75rem;background:#f4f6f9;border-radius:6.25rem;padding:.25rem .5rem}.placing-people__btn{width:2.25rem;height:2.25rem;border:none;border-radius:50%;background:var(--white);display:flex;align-items:center;justify-content:center;padding:0;font-size:1.25rem;line-height:1;color:#102563;cursor:pointer;flex-shrink:0}.placing-people__btn:disabled{opacity:.4}.placing-people__value{min-width:1.25rem;text-align:center}.placing-people__children{gap:.75rem;flex-wrap:wrap}.placing-people__child{position:relative;background:#f4f6f9;border-radius:.5rem;padding:.75rem 1.5rem .75rem .75rem;min-width:9.25rem}@media (max-width:991px){.placing-people__child{min-width:auto;padding-right:2.5rem}}.placing-people__child-remove{position:absolute;top:.5rem;right:.5rem;width:1.25rem;height:1.25rem;border:none;background:0 0;padding:0;font-size:1.125rem;line-height:1;color:#9c9c9c;cursor:pointer}.placing-people__child-title{color:#102563;margin-bottom:.25rem}.placing-people__add-wrap{position:relative;flex-shrink:0}@media (max-width:991px){.placing-people__add-wrap{width:100%;max-width:22.5rem}}.placing-people__add{flex-shrink:0;white-space:nowrap;padding:0 1.25rem;width:100%}.placing-people__add[hidden]{display:none!important}.placing-people__ages{position:absolute;top:calc(100% + .5rem);left:0;z-index:5;min-width:13.75rem;background:var(--white);border:.0625rem solid #c3cbdf;border-radius:.5rem;box-shadow:0 .5rem 1.5rem rgba(16,37,99,.12);padding:.5rem 0;max-height:17.5rem;overflow-y:auto}.placing-people__ages[hidden]{display:none}.placing-people__ages-list{list-style:none;margin:0;padding:0}.placing-people__ages-item{display:block;width:100%;text-align:left;border:none;background:0 0;padding:.625rem 1rem;cursor:pointer;color:#2a2a2a}.placing-people__ages-item:hover{background:#f4f6f9}.placing-people__submit{margin-left:auto;border-radius:.5rem;padding:0 1.5rem;white-space:nowrap}@media (max-width:991px){.placing-people__submit{margin-left:0}}.placing-people__notice{display:flex;gap:.75rem;margin-bottom:1rem;padding:1rem;background:var(--white);border:.0625rem solid #c3cbdf;border-radius:.75rem}@media (max-width:991px){.placing-people__notice{flex-direction:column;gap:.5rem}}.placing-people__notice[hidden]{display:none}.placing-people__notice-icon{flex-shrink:0;fill:var(--blue)}.placing-people__notice-title{color:#102563;margin-bottom:.5rem}.placing-people__notice-text{color:#2a2a2a;margin:0}.placing-wrapper{position:relative}.placing-wrapper .placing-message{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(255,255,255,.7);z-index:1}.placing-wrapper .placing-message[hidden]{display:none}.placing-wrapper .placing-message__item{font-size:1.125rem;line-height:130%;font-weight:500;padding:1rem;border-radius:1rem;background:var(--white);border:.0625rem solid #c3cbdf;max-width:34.375rem;width:100%;text-align:center}.placing-wrapper .placing-message__item span{color:var(--blue)}.placing-wrapper .placing-message{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(255,255,255,.7);z-index:1}.placing-wrapper .placing-message[hidden]{display:none}.placing-wrapper .placing-message__item{font-size:1.125rem;line-height:130%;font-weight:500;padding:1rem;border-radius:1rem;background:var(--white);border:.0625rem solid #c3cbdf;max-width:34.375rem;width:100%;text-align:center}.placing-wrapper .placing-message__item span{color:var(--blue)}.placing-top-switch{position:relative;display:flex;align-items:center;gap:1.25rem;cursor:pointer;user-select:none}.placing-top-switch-label{white-space:nowrap}.placing-top-switch-input{position:absolute;opacity:0;width:0;height:0}.placing-top-switch-slider{position:relative;flex-shrink:0;width:3rem;height:1.5rem;background-color:#b3b3b3;border-radius:31.25rem;transition:background-color .3s ease}.placing-top-switch-slider::before{content:"";position:absolute;top:50%;left:.125rem;width:1.25rem;height:1.25rem;background-color:#f2f2f2;border-radius:50%;transform:translateY(-50%);transition:transform .3s ease}.placing-top-switch-input:checked+.placing-top-switch-slider{background-color:#1890ff}.placing-top-switch-input:checked+.placing-top-switch-slider::before{transform:translateY(-50%) translateX(1.5rem)}.placing-tariff-select-field{width:100%;max-width:22.5rem}.placing-tariff-select__label{color:#102563}.placing-tariff-select{width:100%}.placing-tariff-select .select-main__default{width:100%;background:#fff;border:.0625rem solid #c3cbdf;border-radius:.5rem;padding:.625rem .9375rem;cursor:pointer}.placing-tariff-select__content{display:flex;flex-direction:column;align-items:flex-start;gap:.125rem;min-width:0;text-align:left}.placing-tariff-select__name,.placing-tariff-select__option-name{font-size:.625rem;line-height:100%;font-weight:500;color:#9c9c9c;white-space:normal}.placing-tariff-select__option-price,.placing-tariff-select__value{font-size:.875rem;line-height:130%;font-weight:500;color:#2a2a2a;white-space:normal}.placing-tariff-select__items{padding:.5rem 0;border-color:#c3cbdf}.placing-tariff-select__item{width:100%;border:none;background:0 0;display:flex;flex-direction:column;align-items:flex-start;gap:.125rem;text-align:left;cursor:pointer}

/* News / discounts listing layout */
.tabs__nav.discounts {
    width: 100%;
}

#news-list .catalog-main__head,
#discounts-list .catalog-main__head {
    width: 100%;
}

/* News / discounts listing tabs */
#news-list .tabs__nav.discounts,
#discounts-list .tabs__nav.discounts {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 1rem;
}

#news-list .tabs__tab.discounts,
#discounts-list .tabs__tab.discounts {
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
    white-space: nowrap;
    height: auto;
    min-height: 3.125rem;
    padding: 0;
}

#news-list .tabs__tab.discounts a,
#discounts-list .tabs__tab.discounts a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 3.125rem;
    padding: 0.84375rem 1.25rem;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 991px) {
    #news-list .tabs__nav.discounts,
    #discounts-list .tabs__nav.discounts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        flex-wrap: unset;
        gap: 0.625rem;
    }

    #news-list .tabs__tab.discounts,
    #discounts-list .tabs__tab.discounts {
        width: 100%;
        white-space: normal;
        text-align: center;
        padding: 0;
        min-height: 2.625rem;
        height: auto;
        box-sizing: border-box;
    }

    #news-list .tabs__tab.discounts a,
    #discounts-list .tabs__tab.discounts a {
        white-space: normal;
        min-height: 2.625rem;
        padding: 0.75rem;
    }
}

a.catalog-item--discount {
    color: inherit;
    text-decoration: none;
}

/* Utility used in news cards (date label etc.): margin-* needs non-inline display */
.block {
    display: block;
}

.news-button-more[hidden] {
    display: none !important;
}

.news-all-link {
    width: fit-content;
    max-width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.start-section .start-block.align-start {
    align-items: flex-start;
    justify-content: center;
}

@media (min-width: 992px) {
    .start-section:has(+ #news-list) .start-block,
    .start-section:has(+ #discounts-list) .start-block {
        align-items: center;
        justify-content: center;
    }

    .start-section:has(+ #news-list) .start-block .size-52,
    .start-section:has(+ #discounts-list) .start-block .size-52 {
        width: 100%;
        text-align: center;
    }
}

.catalog-item--discount .size-28 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 767px) {
    .catalog-item--discount .size-28 {
        margin-bottom: 16px !important;
        font-size: 22px;
    }

    .catalog-item--discount .size-16 {
        font-size: 16px;
    }

    .catalog-item--discount .catalog-item__main-c {
        margin-bottom: 20px;
    }
}

.discounts-info {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-items.discounts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 991px) {
    .catalog-items.discounts-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .catalog-items.discounts-list .catalog-item--discount .catalog-item__bg {
        display: none !important;
    }
}

.catalog-item__tag.discounts {
    background-color: #E5241B;
    color: #fff;
    text-transform: uppercase;
    border-color: #E5241B;
    margin-left: auto;
    text-align: center;
}

.news-item--split .link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.news-item--split h3 a {
    color: inherit;
    text-decoration: none;
}

.news-item--split h3 a:hover,
.news-item--split .link-arrow:hover {
    color: var(--blue);
}

/* @media screen and (max-width: 524px) {
    .modal {
        align-items: flex-start;
        overflow: hidden !important;
    }

    .modal-content {
        max-width: unset !important;
        width: unset !important;
        border-radius: 0px;
    }
} */

.detailc-infoblock.hidden-mobile.modal-host-open {
    z-index: 1000;
}

.placing-item__main .placing-item__count {
    font-size: .8rem;
}

.placing-item__main .placing-item__services {
    border: 1px solid #000;
    border-radius: 1.5rem;
    padding: .7rem;
}
.placing-item__main .placing-item__service {
    font-size: .7rem;
}
.choose-room__extra .choose-room__extra-text {
    font-size: .8rem;
}

.infobutton__info .size-12 {
    font-size: .8rem;
}

.placing-item__main .placing-item__main-c-title {
    font-size: 1.6rem;
}

/* Поп-ап подбора круиза */
.cruise-picker {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cruise-picker.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cruise-picker__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 51, 0.55);
}

.cruise-picker__dialog {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    max-width: 460px;
    width: 100%;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 28px 28px 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 20px 50px -15px rgba(15, 23, 51, 0.35);
    transform: translateY(12px);
    transition: transform 0.25s ease;
}

.cruise-picker-preloader {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(2px);
    cursor: wait;
}

.cruise-picker-preloader[hidden] {
    display: none;
}

.cruise-picker-preloader__spinner {
    width: 3rem;
    height: 3rem;
    border: 0.25rem solid #dce2ef;
    border-top-color: var(--blue, #102563);
    border-radius: 50%;
    animation: cruise-picker-preloader-spin 0.8s linear infinite;
}

.cruise-picker-preloader__text {
    color: var(--blue, #102563);
    font-size: 1rem;
    font-weight: 500;
}

@keyframes cruise-picker-preloader-spin {
    to {
        transform: rotate(360deg);
    }
}

.cruise-picker.is-open .cruise-picker__dialog {
    transform: translateY(0);
}

.cruise-picker__close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #0f1f4d;
    font-size: 20px;
    line-height: 1;
    width: 28px;
    height: 28px;
    padding: 0;
}

.cruise-picker__title {
    font-size: 20px;
    font-weight: 800;
    color: #0f1f4d;
    margin: 0 0 4px;
    padding-right: 28px;
}

.cruise-picker__subtitle {
    font-size: 13px;
    color: #5b6478;
    margin: 0 0 20px;
}

.cruise-picker__step-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #c1272d;
    margin: 0 0 8px;
}

.cruise-picker__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.cruise-picker__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1.5px solid #e6e8ef;
    background: #fff;
    padding: 0 13px;
    border-radius: 20px;
    font-size: 12.5px;
    line-height: 1;
    font-weight: 600;
    color: #1c2333;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
}

.cruise-picker__chip.is-active {
    background: #0f1f4d;
    border-color: #0f1f4d;
    color: #fff;
}

.cruise-picker__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #5b6478;
    margin-bottom: 6px;
}

.cruise-picker__select,
.cruise-picker__input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e6e8ef;
    border-radius: 9px;
    font-size: 13.5px;
    color: #1c2333;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
}

.cruise-picker__select {
    margin-bottom: 18px;
    min-height: 42px;
    display: block !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231c2333' d='M1.4.3L6 4.9 10.6.3 12 1.7l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 36px;
    cursor: pointer;
}

.cruise-picker__select.ss-hide {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.cruise-picker .ss-main {
    display: none !important;
}

.cruise-picker__messages {
    margin-top: 10px;
}

.cruise-picker__error {
    padding: 10px 12px;
    background: #f44336;
    color: #fff;
    border-radius: 8px;
    font-size: 12.5px;
    line-height: 1.4;
    text-align: center;
}

.cruise-picker__fields {
    display: flex;
    gap: 10px;
    margin-bottom: 6px;
    flex-direction: column;
}

.cruise-picker__field {
    flex: 1;
    min-width: 0;
}

.cruise-picker__field--full {
    flex: 1 1 100%;
}

.cruise-picker__agree {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 4px;
}

.cruise-picker__agree input {
    margin-top: 3px;
    flex-shrink: 0;
}

.cruise-picker__agree label {
    font-size: 11.5px;
    color: #5b6478;
    line-height: 1.5;
}

.cruise-picker__policy-link {
    color: var(--blue, #102563);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.cruise-picker__policy-link:hover {
    color: var(--blue-2, #035398);
}

.cruise-picker__submit {
    width: 100%;
    margin-top: 14px;
    background: #c1272d;
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease;
}

.catalog-item__main-c__buttons {
    display: flex;
    gap: 10px;
    /* margin-bottom: 12px; */
}
.catalog-item__main-c__buttons > * {
    flex-basis: 50%;
}

.cruise-picker__submit:hover {
    background: #a3181e;
}

@media (max-width: 991.98px) {
    .cruise-picker {
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
        height: calc(var(--vh, 1vh) * 100);
        height: 100dvh;
        max-height: calc(var(--vh, 1vh) * 100);
        max-height: 100dvh;
        overflow: hidden;
        overscroll-behavior: contain;
    }

    .cruise-picker__backdrop {
        display: none;
    }

    .cruise-picker__dialog {
        max-width: none;
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
        box-shadow: none;
        transform: translateY(8px);
        -webkit-overflow-scrolling: touch;
    }

    .cruise-picker.is-open .cruise-picker__dialog {
        transform: translateY(0);
    }

    .cruise-picker__close {
        top: max(16px, env(safe-area-inset-top, 0px));
        right: 16px;
    }

    .cruise-picker__title {
        padding-top: env(safe-area-inset-top, 0px);
    }

    .cruise-picker__fields {
        flex-direction: column;
    }
}


/* --- 404 --- */
.page-404 {
    padding: 4rem 0 5rem;
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(3, 83, 152, 0.08), transparent 70%),
        linear-gradient(180deg, var(--light-blue) 0%, #fff 100%);
}

.page-404__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
    padding: 3.75rem 1.5rem;
    background: var(--white);
    border-radius: 1.25rem;
    box-shadow: 0 0.75rem 2.5rem rgba(16, 37, 99, 0.08);
    overflow: hidden;
}

.page-404__badge {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(6rem, 18vw, 9rem);
    font-weight: 600;
    line-height: 1;
    color: var(--blue);
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
}

.page-404__icon {
    position: relative;
    width: 7.75rem;
    height: 7.75rem;
    margin-bottom: 1.5rem;
    animation: page-404-float 4.5s ease-in-out infinite;
}

.page-404__title {
    position: relative;
    color: var(--black);
    margin-bottom: 1rem;
}

.page-404__text {
    position: relative;
    color: var(--gray-500);
    margin-bottom: 2rem;
    max-width: 28rem;
}

.page-404__actions {
    position: relative;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.page-404__actions .button {
    min-width: 12.5rem;
}

@keyframes page-404-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-0.5rem); }
}

@media (max-width: 991px) {
    .page-404 {
        padding: 2.5rem 0 3.5rem;
    }

    .page-404__inner {
        padding: 2.5rem 1.25rem;
        border-radius: 1rem;
    }

    .page-404__icon {
        width: 5.5rem;
        height: 5.5rem;
        margin-bottom: 1.25rem;
    }

    .page-404__text {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .page-404__actions {
        flex-direction: column;
        width: 100%;
    }

    .page-404__actions .button {
        width: 100%;
        min-width: 0;
    }
}
=======
/* Pages hub (разводящие категории меню) */
.pages-hub__toolbar {
    gap: 1rem;
}

.pages-hub__search {
    position: relative;
    display: block;
    width: 100%;
    max-width: 22.5rem;
    flex: 1 1 15rem;
    min-width: 0;
}

.pages-hub__search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 1.125rem;
    height: 1.125rem;
    color: #8a8f9b;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    line-height: 0;
}

.pages-hub__search-icon svg {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

.pages-hub__search-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.6875rem 1rem 0.6875rem 2.5rem;
    border: 0.0625rem solid #dde1e8;
    border-radius: 0.625rem;
    font: inherit;
    font-size: 0.9375rem;
    color: var(--blue);
    background: var(--white);
    -webkit-appearance: none;
    appearance: none;
}

.pages-hub__search-input::-webkit-search-decoration,
.pages-hub__search-input::-webkit-search-cancel-button,
.pages-hub__search-input::-webkit-search-results-button,
.pages-hub__search-input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.pages-hub__search-input:focus {
    outline: none;
    border-color: var(--blue);
}

.pages-hub__sort {
    gap: 0.5rem;
}

.pages-hub__sort-label {
    margin-right: 0.25rem;
}

.pages-hub__sort-btn {
    padding: 0.5625rem 1rem;
    border-radius: 0.5rem;
    border: 0.0625rem solid #dde1e8;
    background: var(--white);
    color: var(--blue);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s linear;
}

.pages-hub__sort-btn.is-active,
.pages-hub__sort-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.pages-hub__card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pages-hub__card p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pages-hub__card-bg--empty {
    background: #e8ecf2;
}

.pages-hub__empty {
    margin-top: 1rem;
}

.pages-hub__pagination {
    gap: 1rem;
}

@media (max-width: 991px) {
    .pages-hub__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .pages-hub__search {
        flex: none;
        max-width: none;
        width: 100%;
    }

    .pages-hub__sort {
        width: 100%;
        flex-wrap: wrap;
        margin-top: 1rem;
    }
}
