@charset "UTF-8";

.l-left .search-form {
    background-color: #328cd1;
    border-radius: 5px;
    padding: 15px;
}

.l-left .search-form label {
    margin-bottom: 0;
}

.l-left .search-form .form-group {
    margin-bottom: 10px;
}

.l-left .search-form .form-control,
.l-left .search-form .input-group-text {
    border-color: #d4dbe4;
}

.l-left .search-form .input-group-text {
    background-color: #fff;
}

.l-left .search-form-wrap .close {
    display: none;
}

.layout-search-info {
    display: none;
}

.hn-search-form-block .form-control-sm {
    height: calc(1.5em + .5rem + 2px);
}

.hn-search-panel,
.hn-filters {
    border: 1px solid #378ccd;
    border-top-width: 4px;
    border-radius: 4px;
    padding: 16px;
}

.hn-search-grid {
    display: grid;
    grid-template-columns: minmax(190px, 1.5fr) repeat(4, minmax(120px, 1fr)) minmax(160px, auto);
    gap: 12px;
    align-items: end;
}

.hn-search-field label,
.hn-filters label span,
.hn-children-ages label span {
    display: block;
    margin-bottom: 5px;
    color: #4c5f78;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

.hn-search-field .form-control,
.hn-search-field .form-select,
.hn-filters .form-control,
.hn-filters .form-select,
.hn-children-ages .form-select {
    min-height: 38px;
    border-color: #a9c6df;
    border-radius: 3px;
    font-size: 15px;
}

.hn-search-destination input {
    background-color: #f4fafd;
    color: #003d7d;
    font-weight: 600;
}

.hn-search-action .btn-green {
    min-height: 38px;
    width: 100%;
    border: 0;
    cursor: pointer;
}

.hn-search-action .btn-green[disabled] {
    cursor: wait;
    opacity: .75;
}

.hn-children-ages {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.hn-children-ages label {
    min-width: 132px;
    margin-bottom: 0;
}

.hn-search-status {
    margin-top: 12px;
    padding: 9px 11px;
    border: 1px solid #c7dff2;
    background: #f4fafd;
    color: #003d7d;
    font-weight: 600;
}

.l-left .search-form .hn-search-status {
    border-color: #dbeefd;
    background: #f4fafd;
}

.hn-search-status.is-error {
    border-color: #df9a9a;
    background: #fff5f5;
    color: #9b1f1f;
}

.hn-filters-row {
    display: grid;
    grid-template-columns: minmax(170px, 1.2fr) repeat(3, minmax(120px, 1fr));
    gap: 12px;
    align-items: end;
}

.hn-filters-row label,
.hn-stars-row label {
    margin-bottom: 0;
}

.hn-stars-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 14px;
    margin-top: 12px;
}

.hn-stars-row label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
    color: #25364d;
    white-space: nowrap;
}

.hn-no-results {
    border-top-width: 4px;
    color: #25364d;
    font-weight: 600;
}

.js-hn-property-list {
    position: relative;
    min-height: 120px;
}

.l-property-list-preloader {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    min-height: 180px;
    background-color: rgba(255, 255, 255, .4);
}

.l-property-list-preloader > div {
    width: 450px;
    height: 100px;
    max-width: 100%;
}

.js-hn-property-list.hn-progress-visible .l-property-list-preloader {
    position: relative;
    z-index: 35;
    height: auto;
    min-height: 0;
    padding: 10px 0 12px;
    margin-bottom: 12px;
    background: transparent;
}

.js-hn-property-list.hn-progress-visible .l-property-list-preloader > div {
    min-height: 112px;
    margin-top: 0 !important;
    border-width: 2px !important;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(1, 89, 195, .16);
}

.l-property-list-preloader > div .image {
    width: 64px;
    height: 22px;
    background-image: url(/img/preloader-new.gif);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.js-hn-results {
    transition: opacity .15s ease;
}

.js-hn-property-list.is-loading .js-hn-results {
    opacity: .78;
}

.js-hn-property-list.hn-initial-cache-refresh .js-hn-results {
    opacity: .96;
    filter: saturate(.98);
}

.hn-progress-panel {
    position: relative;
    z-index: 30;
    margin: 0 0 18px;
    padding: 12px 14px;
    color: #25364d;
    background: #fff;
    border: 1px solid #d5e1f0;
    border-left: 4px solid #5379b3;
    box-shadow: 0 8px 18px rgba(37, 54, 77, .08);
}

@media (max-width: 575.98px) {
    .js-hn-property-list.hn-progress-visible .l-property-list-preloader {
        padding-top: 8px;
        padding-bottom: 10px;
    }

    .js-hn-property-list.hn-progress-visible .l-property-list-preloader > div {
        min-height: 96px;
        margin-top: 0 !important;
    }

    .hn-progress-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

.hn-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.hn-progress-title {
    font-weight: 700;
}

.hn-progress-panel.is-busy .hn-progress-title::after {
    content: "...";
    display: inline-block;
    width: 1.35em;
    overflow: hidden;
    vertical-align: bottom;
}

.hn-progress-count {
    color: #5379b3;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.hn-progress-track {
    position: relative;
    height: 8px;
    overflow: hidden;
    background: #e8eef6;
    border-radius: 999px;
}

.hn-progress-bar {
    position: relative;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #5379b3, #1e9b72);
    border-radius: inherit;
    transition: width .25s ease;
}

.hn-progress-panel.is-busy .hn-progress-bar {
    min-width: 54px;
    transition: none;
}

.hn-progress-panel.is-busy .hn-progress-bar::after {
    display: none;
}

.hn-progress-panel.is-apartment-wait {
    border-left-color: #d86a2f;
    box-shadow: 0 8px 20px rgba(216, 106, 47, .13);
}

.hn-progress-panel.is-apartment-wait .hn-progress-bar {
    background: linear-gradient(90deg, #d86a2f, #1e9b72);
}

.hn-progress-note {
    margin-top: 7px;
    color: #5d6d81;
    font-size: 13px;
    line-height: 1.35;
}

@keyframes hnProgressDots {
    0% {
        width: 0;
    }
    100% {
        width: 1.35em;
    }
}

@keyframes hnProgressShine {
    100% {
        transform: translateX(120%);
    }
}

@keyframes hnProgressPulse {
    0%,
    100% {
        filter: saturate(1);
        opacity: .88;
    }
    50% {
        filter: saturate(1.2);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hn-progress-panel.is-busy .hn-progress-title::after,
    .hn-progress-panel.is-busy .hn-progress-bar,
    .hn-progress-panel.is-busy .hn-progress-bar::after {
        animation: none;
    }
}

.hn-route-iframe {
    border: 0;
}

.hn-card-rating-stack {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin-left: 10px;
}

.hn-card-rating-stack .l-rating-badge {
    margin-left: 0;
}

.hn-card-review-link {
    color: #1f5f89;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    text-align: right;
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.hn-card-review-link:hover,
.hn-card-review-link:focus {
    color: #0a4f7a;
}

.hn-card-metro {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.35;
}

.hn-card-metro-icon {
    flex: 0 0 16px;
    width: 16px;
    color: #d93025;
    font-size: 14px;
    line-height: 1;
    text-align: center;
}

.hn-card-metro-text {
    min-width: 0;
}

.hn-card-total-price {
    margin-top: 7px;
    font-size: 14px;
}

.hn-room-rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    border-left: 3px solid #2f8f5b;
    box-shadow: inset 0 0 0 1px rgba(47, 143, 91, .07);
}

.hn-room-rate-title {
    min-width: 0;
    color: #244457;
    line-height: 1.32;
}

.hn-room-rate-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px 12px;
    text-align: right;
}

.hn-room-rate-price {
    display: inline-flex;
    align-items: baseline;
    color: #0a65a4;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
}

.hn-room-rate-price:hover,
.hn-room-rate-price:focus {
    color: #084f80;
    text-decoration: underline;
}

.hn-room-details-link {
    padding: 0;
    border: 0;
    border-bottom: 1px dashed currentColor;
    background: transparent;
    color: #2f6f54;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.hn-room-details-link:hover,
.hn-room-details-link:focus {
    color: #1f513b;
    outline: none;
}

.hn-dashed-link {
    display: inline;
    padding: 0;
    border: 0;
    border-bottom: 1px dashed currentColor;
    background: transparent;
    color: #1f5f89;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.hn-dashed-link:hover,
.hn-dashed-link:focus {
    color: #0a4f7a;
    outline: none;
    text-decoration: none;
}

.hn-card-date-check-link {
    color: #222;
    font-size: 14px;
}

.hn-room-modal-dates-link {
    margin-top: 5px;
    font-size: 13px;
}

.hn-room-modal .modal-dialog {
    max-width: 860px;
}

.hn-room-modal .modal-body {
    padding: 16px;
}

.hn-room-modal-loading,
.hn-room-modal-error,
.hn-room-modal-no-photos {
    padding: 26px 18px;
    border: 1px solid #d8e6ee;
    border-radius: 8px;
    background: #f3f8fb;
    color: #38536a;
    font-weight: 700;
    text-align: center;
}

.hn-room-modal-spinner {
    width: 32px;
    height: 32px;
    margin: 0 auto 12px;
    border: 3px solid #d8e6ee;
    border-top-color: #3b7dbf;
    border-radius: 50%;
    animation: hn-spin .8s linear infinite;
}

@keyframes hn-spin {
    to { transform: rotate(360deg); }
}

.hn-room-modal-content {
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(250px, .95fr);
    gap: 18px;
    align-items: start;
}

.hn-room-modal-gallery .image-wrap {
    width: 100%;
    margin: 0;
}

.hn-room-modal-gallery .l-lazy-wrap.image-wrap:before {
    display: none;
}

.hn-room-modal-gallery .image-wrap a {
    display: block;
    position: relative;
    width: 100%;
    height: 320px;
    padding-bottom: 0 !important;
    overflow: hidden;
    border-radius: 8px;
    background: #eef5f8;
}

.l-hotel-card-photos .swiper-pagination {
    left: 0;
    width: 100%;
}

.hn-room-modal-gallery .c-hotel-card-photos {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.hn-room-modal-gallery .swiper-container,
.hn-room-modal-gallery .swiper-wrapper,
.hn-room-modal-gallery .swiper-slide,
.hn-room-modal-gallery .swiper-slide > div {
    width: 100%;
    height: 100%;
    background: #eef5f8;
}

.hn-room-modal-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hn-gallery-loading .swiper-slide:first-child > div::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 3px solid #d8e6ee;
    border-top-color: #3b7dbf;
    border-radius: 50%;
    animation: hn-spin .8s linear infinite;
}

.hn-gallery-no-image .image-wrap a::after {
    content: 'Фото временно недоступно';
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    color: #8fa4b8;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.hn-room-modal-info {
    min-width: 0;
}

.hn-room-modal-hotel {
    margin-bottom: 4px;
    color: #6a7a86;
    font-size: 13px;
    font-weight: 700;
}

.hn-room-modal-category {
    color: #233f55;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.hn-room-modal-price {
    margin-top: 10px;
    color: #0a65a4;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

.hn-room-modal-facts {
    display: grid;
    gap: 8px;
    margin: 14px 0 18px;
}

.hn-room-modal-facts div {
    display: grid;
    gap: 3px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #f3f8fb;
}

.hn-room-modal-facts dt {
    margin: 0;
    color: #6a7a86;
    font-size: 12px;
    font-weight: 700;
}

.hn-room-modal-facts dd {
    margin: 0;
    color: #233f55;
    font-weight: 700;
}

.hn-room-modal-facts dd .hn-dashed-link {
    display: table;
}

.hn-room-modal-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 18px;
}

@media (max-width: 575.98px) {
    .hn-room-rate {
        align-items: flex-start;
        flex-direction: column;
    }

    .hn-room-rate-actions {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

    .hn-room-rate-price {
        font-size: 20px;
    }

    .hn-card-rating-stack {
        margin-left: 8px;
    }

    .hn-room-modal .modal-body {
        padding: 12px;
    }

    .hn-room-modal-content {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hn-room-modal-gallery .image-wrap a {
        height: 240px;
    }

    .hn-room-modal-category {
        font-size: 18px;
    }

    .hn-room-modal-price {
        font-size: 24px;
    }
}

.ym-counter-hidden {
    position: absolute;
    left: -9999px;
}

.hn-apartment-toggle {
    position: relative;
    margin: 0 0 12px;
}

.hn-results-toolbar {
    display: flex;
    clear: both;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
}

.hn-results-found {
    min-width: 0;
    color: #244767;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.hn-results-found.is-loading {
    color: #5b6d7c;
}

.hn-apartment-add-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 8px 12px;
    margin: 0;
    border: 1px solid #d86a2f;
    border-radius: 6px;
    background: #fff7eb;
    color: #2f2a24;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.hn-apartment-add-label input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 auto;
    accent-color: #d84d2a;
}

.hn-apartment-add-label span {
    white-space: normal;
}

.hn-map-mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
}

.hn-map-mode-caption {
    color: #465a6d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.hn-stay-mode-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.hn-stay-mode-control {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    width: min(322px, 100%);
    min-height: 38px;
    padding: 3px;
    border: 1px solid #b8cee2;
    border-radius: 999px;
    background: #e8f1f8;
    box-shadow: inset 0 1px 4px rgba(42, 73, 98, .14);
    overflow: hidden;
}

.hn-stay-mode-control:before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    z-index: 0;
    width: calc(50% - 3px);
    border-radius: 999px;
    background: #d84d2a;
    box-shadow: 0 3px 10px rgba(177, 69, 31, .22);
    transition: transform .18s ease;
}

.hn-map-mode-toggle.is-apartments .hn-stay-mode-control:before {
    transform: translateX(100%);
}

.hn-stay-mode-btn {
    position: relative;
    z-index: 1;
    min-height: 32px;
    padding: 7px 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #355169;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease;
}

.hn-stay-mode-btn:hover {
    color: #0f2f4f;
}

.hn-stay-mode-btn.is-active,
.hn-map-mode-toggle:not(.is-apartments) .hn-stay-mode-hotels,
.hn-map-mode-toggle.is-apartments .hn-stay-mode-apartments {
    background: transparent;
    color: #fff;
}

.hn-stay-mode-btn.is-active:hover,
.hn-map-mode-toggle:not(.is-apartments) .hn-stay-mode-hotels:hover,
.hn-map-mode-toggle.is-apartments .hn-stay-mode-apartments:hover {
    background: transparent;
    color: #fff;
}

.hn-apartment-toggle-before-results {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-start;
    margin: 0;
}

.p-map-mode-row .hn-apartment-toggle-map {
    margin: 0;
}

.p-map-mode-row .hn-map-mode-toggle {
    margin: 0;
}

.hn-apartments-enabled .hn-filters-sidebar .yt-filter-group[data-filter-type="stars"],
.hn-apartments-enabled .hn-filters-sidebar .yt-filter-group[data-filter-type="meal"],
.hn-apartments-enabled .hn-filters-sidebar .yt-filter-group[data-filter-type="cancel"] {
    display: none;
}

.hn-apartment-card {
    border-top: 4px solid #d86a2f;
}

.layout-search-results .hn-search-sorting {
    display: block !important;
}

.hn-search-sorting-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.layout-search-results .hn-search-sorting select {
    width: 200px;
}

.hn-stay-order-wrap {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #42566a;
    font-size: 13px;
    font-weight: 800;
}

.hn-apartments-enabled .hn-stay-order-wrap {
    display: inline-flex;
}

.layout-search-results .hn-stay-order-wrap select {
    width: 260px;
}

.hn-filters-sidebar {
    margin-top: 13px;
}

.hn-filters-sidebar .block-title,
.hn-filters-sidebar .close {
    display: none;
}

.hn-filters-sidebar .yt-filters {
    padding: 0;
}

.hn-filters-sidebar .yt-filter-group {
    padding: 7px;
    margin-top: 13px;
    background-color: #fff;
}

.hn-filters-sidebar .yt-filter-group-title {
    position: relative;
    padding-right: 20px;
    margin-bottom: 8px;
    font-weight: bold;
    cursor: pointer;
}

.hn-filters-sidebar .yt-filter-group-title::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -2px;
    border: 5px solid transparent;
    border-top-color: #333;
}

.hn-filters-sidebar .yt-filter-group.collapsed .yt-filter-group-title::after {
    margin-top: -5px;
    border-top-color: transparent;
    border-left-color: #333;
}

.hn-filters-sidebar .yt-filter-group.collapsed .yt-filter-group-body {
    display: none;
}

.hn-filters-sidebar .custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
    margin-bottom: 8px;
}

.hn-filters-sidebar .custom-control-input {
    position: absolute;
    top: .2rem;
    left: 0;
    z-index: 1;
    width: 1rem;
    height: 1rem;
    margin: 0;
    cursor: pointer;
    opacity: 0;
}

.hn-filters-sidebar .custom-control-label {
    position: relative;
    margin-bottom: 0;
    line-height: 1.1;
    max-width: 190px;
    padding-top: 3px;
    font-size: 95%;
    cursor: pointer;
}

.hn-filters-sidebar .custom-control-label::before {
    content: '';
    position: absolute;
    top: .2rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    background-color: #fff;
    border: #adb5bd solid 1px;
    border-radius: .25rem;
}

.hn-filters-sidebar .custom-control-label::after {
    content: '';
    position: absolute;
    top: .4rem;
    left: -1.25rem;
    display: none;
    width: .5rem;
    height: .3rem;
    border: solid #fff;
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg);
}

.hn-filters-sidebar .custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #4386f1;
    background-color: #4386f1;
}

.hn-filters-sidebar .custom-control-input:checked ~ .custom-control-label::after {
    display: block;
}

.hn-filters-sidebar .yt-price-inputs {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hn-filters-sidebar .yt-price-inputs input {
    width: 80px;
    font-size: 13px;
}

.hn-filters-sidebar .yt-price-dash,
.hn-filters-sidebar .yt-price-currency {
    flex-shrink: 0;
}

.hn-filters-sidebar .yt-price-currency {
    color: #666;
    font-size: 13px;
}

.hn-filters-sidebar .yt-filter-footer {
    padding: 10px 7px;
    margin-top: 13px;
    text-align: center;
}

.hn-filters-sidebar .yt-filter-counter {
    margin-bottom: 8px;
    color: #666;
    font-size: 13px;
}

.hn-filters-sidebar .yt-filter-reset {
    font-size: 13px;
}

.hn-filters-sidebar .yt-active-filter-badge {
    display: inline-block;
    padding: .25em .45em;
    margin-right: .5rem;
    margin-bottom: .5rem;
    color: #fff;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    background-color: #28a745;
    border-radius: .25rem;
}

.hn-filters-sidebar .yt-active-filter-remove {
    color: #fff;
    margin-left: .25rem;
    text-decoration: none;
}

.yt-filtered-out {
    display: none !important;
}

.hn-batch-hidden {
    display: none !important;
}

.hn-more-preloader-wrap {
    position: relative;
    height: 54px;
    margin: 10px 0;
}

.hn-more-preloader-wrap .more-preloader {
    position: absolute;
    inset: 0;
}

.hn-show-more-wrap {
    padding: 10px 0 24px;
    text-align: center;
}

.hn-show-more-wrap .show-more {
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 7px 15px -5px rgba(88, 91, 94, .68);
}

.hn-home-city-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    background-color: #fff;
    border-width: 4px 1px 1px;
    border-style: solid;
    border-color: #5379b3;
    margin-top: 17px;
    padding: 14px;
}

.hn-home-city-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #e9f0fa;
}

.hn-home-city-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hn-home-city-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hn-home-city-body {
    min-width: 0;
}

.hn-home-city-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.hn-home-city-head h2 {
    margin: 0;
    color: #004a9e;
    font-size: 1.45rem;
    line-height: 1.2;
}

.hn-home-city-subtitle {
    margin-top: 5px;
    color: #46566f;
    font-weight: 600;
}

.hn-home-city-head span {
    flex-shrink: 0;
    color: #fff;
    background-color: #0159c3;
    padding: 4px 8px;
    font-weight: 600;
    line-height: 1.2;
}

.hn-home-city-links {
    column-count: 2;
    column-gap: 22px;
}

.hn-home-city-links a {
    display: block;
    break-inside: avoid;
    margin-bottom: 7px;
    line-height: 1.25;
}

.yt-property-card {
    position: relative;
}

.yt-property-card.is-loading {
    opacity: .65;
}

.c-sr-results-map {
    border-color: #378ccd;
    border-top: 4px solid #5379b3;
    border-radius: 4px;
    box-shadow: none;
}

.c-sr-results-map .p-map-title {
    color: #004a9e;
}

.c-sr-results-map .p-map-price-filter {
    border-color: #c7dff2;
    background: #f4fafd;
}

.c-sr-results-map .p-map-show-all {
    border-color: #378ccd;
    background: #378ccd;
    box-shadow: none;
}

.c-sr-results-map .p-map-show-all:hover,
.c-sr-results-map .p-map-show-all:focus {
    border-color: #004a9e;
    background: #004a9e;
}

.c-sr-results-map .p-map-price-reset {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.c-sr-results-map .p-map-price-reset:hover,
.c-sr-results-map .p-map-price-reset:focus {
    background: transparent;
}

.c-sr-results-map .p-map-price-reset:hover,
.c-sr-results-map .p-map-price-reset:focus-visible {
    color: #236f47;
}

.c-sr-results-map .p-map-price-reset:focus-visible {
    outline: 2px solid rgba(47, 143, 91, .35);
    outline-offset: 2px;
}

@media (min-width: 992px) {
    .l-hotel-card .image-wrap {
        width: 50%;
    }

    .l-hotel-card .image-wrap a {
        width: 100%;
        padding-bottom: 74.7967%;
    }
}

.yt-property-card .l-lazy-wrap.image-wrap:before {
    display: none;
}

@media (max-width: 1199px) {
    .hn-search-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hn-search-destination {
        grid-column: 1 / -1;
    }

    .hn-search-action {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .hn-search-panel,
    .hn-filters {
        padding: 12px;
    }

    .hn-search-grid,
    .hn-filters-row {
        grid-template-columns: 1fr;
    }

    .hn-search-action {
        grid-column: auto;
    }

    .hn-children-ages label {
        width: calc(50% - 5px);
        min-width: 0;
    }

    .hn-stars-row {
        gap: 6px 12px;
    }
}

@media (max-width: 991px) {
    .hn-rating-sidebar {
        padding-top: 0 !important;
    }

    .l-left .search-form-wrap {
        display: none;
    }

    .l-left .search-form-wrap.visible {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 140;
        display: block;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        background-color: #fff;
        padding: 30px 10px 10px;
    }

    .l-left .search-form-wrap .close {
        position: absolute;
        top: 0;
        right: 10px;
        display: block;
        font-size: 40px;
        font-weight: 700;
        line-height: 1;
        color: #000;
        text-shadow: 0 1px 0 #fff;
        cursor: pointer;
        opacity: .5;
    }

    .l-left .search-form {
        margin-top: 13px !important;
    }

    .layout-search-info {
        display: block;
        background-color: #328cd1;
        border-radius: 5px;
        padding: 15px;
        margin-top: 13px;
        margin-bottom: 13px;
        cursor: pointer;
    }

    .layout-search-info .region {
        position: relative;
        z-index: 1;
        padding: .25rem .5rem;
        background-color: #fff;
        border-radius: .2rem;
    }

    .layout-search-info .dates {
        margin-top: -2px;
        padding: .25rem .5rem;
    }

    .layout-search-info .number-of-persons {
        padding: 0 .5rem .25rem;
    }

    .layout-search-info .dates,
    .layout-search-info .number-of-persons {
        background-color: #e9f0fa;
    }

    .l-left .hn-filters-sidebar .block-title {
        display: block;
        width: 49%;
        height: 32px;
        padding: .5rem;
        margin-top: 13px;
        font-weight: bold;
        background-color: #e9f0fa;
        cursor: pointer;
        text-decoration: underline;
    }

    .l-left .hn-filters-sidebar .search-options-wrap {
        display: none;
    }

    .l-left .hn-filters-sidebar .search-options-wrap.visible {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 130;
        display: block;
        width: 100%;
        height: 100%;
        background-color: #fff;
        padding: 45px 10px 10px;
    }

    .l-left .hn-filters-sidebar .search-options-wrap .close {
        position: absolute;
        top: 0;
        right: 10px;
        display: block;
        font-size: 40px;
        font-weight: 700;
        line-height: 1;
        color: #000;
        text-shadow: 0 1px 0 #fff;
        cursor: pointer;
        opacity: .5;
    }

    .l-left .hn-filters-sidebar .search-options-scroll-container {
        height: 100%;
        overflow-y: auto;
    }

    .layout-search-results .hn-search-sorting select {
        width: 100%;
        float: none !important;
    }

    .hn-search-sorting-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .hn-apartments-enabled .hn-stay-order-wrap {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .layout-search-results .hn-stay-order-wrap select {
        width: 100%;
    }

    .hn-apartment-toggle-before-results {
        width: 100%;
        justify-content: stretch;
    }

    .hn-results-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .hn-results-found {
        font-size: 14px;
    }

    .hn-apartment-toggle-before-results .hn-apartment-add-label,
    .p-map-mode-row .hn-stay-mode-control {
        width: 100%;
        justify-content: center;
    }

    .p-map-mode-row .hn-map-mode-toggle {
        width: 100%;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .p-map-mode-row .hn-map-mode-caption {
        width: 100%;
        padding-left: 2px;
    }

    .hn-stay-mode-btn {
        flex: 1 1 0;
        padding-right: 8px;
        padding-left: 8px;
        white-space: normal;
    }

    .hn-home-city-card {
        display: block;
        padding: 12px;
    }

    .hn-home-city-image {
        margin-bottom: 12px;
    }

    .hn-home-city-head {
        display: block;
    }

    .hn-home-city-head h2 {
        font-size: 1.35rem;
    }

    .hn-home-city-head span {
        display: inline-block;
        margin-bottom: 8px;
    }

    .hn-home-city-links {
        column-count: 1;
    }
}

.hn-search-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(16, 34, 48, .52);
}

body.hn-search-modal-open {
    overflow: hidden;
}

body.hn-search-modal-open .hn-search-modal-backdrop {
    display: block;
}

body.hn-search-modal-open .l-left .search-form-wrap.visible {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1090;
    display: block;
    width: min(560px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    height: auto;
    overflow-y: auto;
    padding: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(10, 32, 48, .35);
    transform: translate(-50%, -50%);
}

body.hn-search-modal-open .l-left .search-form-wrap.visible:before {
    content: "Уточнить даты и гостей";
    display: block;
    padding: 20px 54px 4px 22px;
    color: #153b5c;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

body.hn-search-modal-open .l-left .search-form-wrap .close {
    position: absolute;
    top: 6px;
    right: 12px;
    z-index: 1;
    display: block;
    color: #1a2c3a;
    cursor: pointer;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    opacity: .65;
}

body.hn-search-modal-open .l-left .search-form {
    margin-top: 0 !important;
    padding: 18px 22px 22px;
    background: #fff;
}

body.hn-search-modal-open .l-left .search-form:before {
    content: "Покажем свободные варианты на выбранные даты";
    display: block;
    margin: -8px 0 16px;
    color: #6a7c8a;
    font-size: 14px;
    line-height: 1.35;
}

body.hn-search-modal-open .l-left .search-form form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.hn-search-modal-open .l-left .search-form .place-group,
body.hn-search-modal-open .l-left .search-form .children-age-controls,
body.hn-search-modal-open .l-left .search-form .hn-search-status,
body.hn-search-modal-open .l-left .search-form .text-right {
    grid-column: 1 / -1;
}

body.hn-search-modal-open .l-left .search-form .form-group {
    margin-bottom: 0;
}

body.hn-search-modal-open .l-left .search-form label {
    display: block;
    margin-bottom: 5px;
    color: #23384d !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

body.hn-search-modal-open .l-left .search-form .form-control,
body.hn-search-modal-open .l-left .search-form .custom-select {
    min-height: 42px;
    border-color: #cfdce8;
    border-radius: 7px;
    background-color: #fbfdff;
    color: #1f2e3a;
    box-shadow: none;
}

body.hn-search-modal-open .l-left .search-form .form-control:focus,
body.hn-search-modal-open .l-left .search-form .custom-select:focus {
    border-color: #2f8f5b;
    box-shadow: 0 0 0 3px rgba(47, 143, 91, .14);
}

body.hn-search-modal-open .l-left .search-form .input-group {
    flex-wrap: nowrap;
}

body.hn-search-modal-open .l-left .search-form .input-group-text {
    min-height: 42px;
    border-color: #cfdce8;
    border-right: 0;
    border-radius: 7px 0 0 7px;
    background-color: #eef3f8;
    color: #526675;
    font-size: 15px;
    box-shadow: none;
}

body.hn-search-modal-open .l-left .search-form .input-group .form-control {
    border-left-color: #cfdce8;
    border-radius: 0 7px 7px 0;
}

body.hn-search-modal-open .l-left .search-form .input-group .form-control:focus {
    border-color: #2f8f5b;
}

body.hn-search-modal-open .l-left .search-form .input-group:focus-within .input-group-text {
    border-color: #2f8f5b;
}

body.hn-search-modal-open .l-left .search-form .btn {
    min-height: 44px;
    width: 100%;
    border-radius: 7px;
    background: #2aa84a;
    border-color: #2aa84a;
    color: #fff;
    font-weight: 800;
}

body.hn-search-modal-open .l-left .search-form .hn-search-status {
    margin-top: 0;
    border-radius: 7px;
    background: #edf6ff;
    color: #143d62;
}

.layout-search-info.hn-search-dates-updated,
.js-hn-property-list.hn-search-dates-updated {
    box-shadow: 0 0 0 3px rgba(47, 143, 91, .2);
    transition: box-shadow .22s ease;
}

.hn-apartment-card .l-hotel-card-photos .swiper-slide {
    align-items: flex-start;
}

.hn-apartment-card .l-hotel-card-photos .swiper-slide > div {
    width: 100%;
    height: 100%;
}

.hn-apartment-card .l-hotel-card-photos img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hn-hotel-amenities {
    max-width: 760px;
    margin: -2px 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
}

.hn-hotel-amenities-title {
    display: none;
    color: #5d7284;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.hn-hotel-amenity-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.hn-hotel-amenity-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 23px;
    padding: 2px 7px;
    border: 1px solid #d2e0ed;
    border-radius: 6px;
    background: #f9fcff;
    color: #23445f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

/* Compatibility for already cached grouped amenity HTML. Fresh cards render a compact list in Blade. */
.hn-hotel-amenity-group {
    display: contents;
}

.hn-hotel-amenity-section {
    display: none;
}

.hn-hotel-amenity-section:first-child {
    display: contents;
}

.hn-hotel-amenity-section-title {
    display: none;
}

.hn-hotel-amenity-section:first-child .hn-hotel-amenity-chip:nth-of-type(n+8) {
    display: none;
}

@media (max-width: 575.98px) {
    body.hn-search-modal-open .l-left .search-form-wrap.visible {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
    }

    body.hn-search-modal-open .l-left .search-form-wrap.visible:before {
        padding: 18px 48px 4px 16px;
        font-size: 19px;
    }

    body.hn-search-modal-open .l-left .search-form {
        padding: 16px;
    }

    body.hn-search-modal-open .l-left .search-form form {
        grid-template-columns: 1fr;
    }

    .hn-hotel-amenities {
        display: block;
    }

    .hn-hotel-amenities-title {
        margin-bottom: 5px;
    }
}


.hn-mobile-filter-header,
.hn-mobile-active-filter-bar,
.hn-filter-apply {
    display: none;
}

.hn-filters-sidebar .block-title {
    appearance: none;
    border: 0;
    color: inherit;
    font: inherit;
    text-align: left;
}

.hn-filters-sidebar .yt-filter-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hn-filters-sidebar .yt-active-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hn-filters-sidebar .yt-active-filter-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    touch-action: manipulation;
}

body.hn-filter-modal-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .l-left .hn-filters-sidebar .block-title {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        width: max-content;
        max-width: 100%;
        min-height: 44px;
        height: auto;
        padding: 8px 0 8px 12px;
        margin: 10px 0 0 auto;
        border: 0;
        border-radius: 4px;
        background: transparent;
        color: #075ea8;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.2;
        text-decoration: none;
        text-align: right;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .l-left .hn-filters-sidebar .block-title > span:first-child {
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 3px;
    }

    .l-left .hn-filters-sidebar .block-title:hover,
    .l-left .hn-filters-sidebar .block-title:focus,
    .l-left .hn-filters-sidebar .block-title:active {
        background: transparent;
        color: #004a87;
    }

    .l-left .hn-filters-sidebar .block-title:focus-visible {
        outline: 2px solid rgba(7, 94, 168, .32);
        outline-offset: 2px;
    }

    .hn-mobile-filter-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 28px;
        min-height: 28px;
        padding: 2px 7px;
        border-radius: 999px;
        background: #2f8f5b;
        color: #fff;
        font-size: 14px;
        line-height: 1;
    }

    .hn-mobile-active-filter-bar:not(.d-none) {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px 0 2px;
        margin: 0;
    }

    .hn-mobile-active-filter-bar .yt-active-filter-badge {
        max-width: 100%;
        margin: 0;
        padding: 5px 6px 5px 9px;
        font-size: 13px;
        line-height: 1.25;
    }

    .l-left .hn-filters-sidebar .search-options-wrap.visible {
        inset: auto 0 auto 0;
        top: var(--hn-filter-viewport-top, 0px);
        z-index: 160;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        height: var(--hn-filter-viewport-height, 100dvh);
        max-height: var(--hn-filter-viewport-height, 100dvh);
        padding: 0;
        overflow: hidden;
        background: #f5f8fb;
    }

    .hn-mobile-filter-header {
        position: relative;
        z-index: 2;
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        min-height: 58px;
        padding: max(8px, env(safe-area-inset-top)) 12px 8px;
        border-bottom: 1px solid #d6e1eb;
        background: #fff;
        box-shadow: 0 3px 10px rgba(29, 54, 77, .06);
    }

    .hn-mobile-filter-title {
        color: #173b61;
        font-size: 20px;
        font-weight: 800;
        line-height: 1.2;
    }

    .l-left .hn-filters-sidebar .search-options-wrap .close {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #eef3f8;
        color: #263746;
        font-size: 32px;
        font-weight: 500;
        line-height: 1;
        text-shadow: none;
        cursor: pointer;
        opacity: 1;
        touch-action: manipulation;
    }

    .l-left .hn-filters-sidebar .search-options-scroll-container {
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
        padding: 12px 12px calc(18px + env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
        scroll-padding: 16px 0 104px;
        -webkit-overflow-scrolling: touch;
    }

    .l-left .hn-filters-sidebar .yt-filters {
        width: 100%;
        max-width: 640px;
        margin: 0 auto;
    }

    .l-left .hn-filters-sidebar .yt-filter-group {
        padding: 14px;
        margin: 0 0 12px;
        border: 1px solid #d7e2ec;
        border-radius: 6px;
        background: #fff;
    }

    .l-left .hn-filters-sidebar .yt-filter-group-title {
        min-height: 32px;
        margin-bottom: 10px;
        padding-top: 5px;
        font-size: 17px;
    }

    .l-left .hn-filters-sidebar input.form-control,
    .l-left .hn-filters-sidebar select.form-control,
    .l-left .hn-filters-sidebar .form-control-sm {
        min-height: 44px;
        font-size: 16px !important;
        line-height: 1.25;
    }

    .l-left .hn-filters-sidebar .yt-price-inputs {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
        gap: 8px;
    }

    .l-left .hn-filters-sidebar .yt-price-inputs input {
        width: 100%;
        min-width: 0;
    }

    .l-left .hn-filters-sidebar .yt-price-currency {
        font-size: 15px;
    }

    .l-left .hn-filters-sidebar .custom-control {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding-left: 34px;
        margin-bottom: 2px;
    }

    .l-left .hn-filters-sidebar .custom-control-input {
        width: 28px;
        height: 44px;
    }

    .l-left .hn-filters-sidebar .custom-control-label {
        max-width: none;
        padding: 8px 0;
        font-size: 16px;
        line-height: 1.3;
    }

    .l-left .hn-filters-sidebar .custom-control-label::before {
        top: 50%;
        left: -34px;
        width: 22px;
        height: 22px;
        margin-top: -11px;
    }

    .l-left .hn-filters-sidebar .custom-control-label::after {
        top: 50%;
        left: -28px;
        width: 10px;
        height: 6px;
        margin-top: -5px;
    }

    .l-left .hn-filters-sidebar .yt-active-filter-bar:not(.d-none) {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 10px !important;
    }

    .l-left .hn-filters-sidebar .yt-filter-footer {
        position: sticky;
        bottom: -1px;
        z-index: 3;
        padding: 12px 0 max(6px, env(safe-area-inset-bottom));
        margin-top: 4px;
        border-top: 1px solid #d6e1eb;
        background: rgba(245, 248, 251, .97);
        box-shadow: 0 -8px 18px rgba(31, 55, 75, .07);
        backdrop-filter: blur(6px);
    }

    .l-left .hn-filters-sidebar .yt-filter-counter {
        margin-bottom: 8px;
        color: #526675;
        font-size: 14px;
    }

    .l-left .hn-filters-sidebar .yt-filter-actions {
        display: grid;
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: 10px;
    }

    .l-left .hn-filters-sidebar .yt-filter-actions .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        border-radius: 6px;
        font-size: 16px;
        font-weight: 800;
        touch-action: manipulation;
    }

    .l-left .hn-filters-sidebar .hn-filter-apply {
        display: inline-flex;
        border-color: #2f8f5b;
        background: #2f8f5b;
        color: #fff;
    }

    .sr-property-card > .mb-4 > .l-lazy-wrap.image-wrap {
        margin-top: 18px;
    }

    .sr-property-card > .hn-card-photo-wrap {
        padding-top: 18px;
    }

    .sr-property-card > .hn-card-photo-wrap > .l-lazy-wrap.image-wrap {
        margin-top: 0;
    }

    @supports selector(:has(*)) {
        .sr-property-card > .mb-4:has(> .l-lazy-wrap.image-wrap) {
            padding-top: 18px;
        }

        .sr-property-card > .mb-4:has(> .l-lazy-wrap.image-wrap) > .l-lazy-wrap.image-wrap {
            margin-top: 0;
        }
    }
}
