.hotel-detail-page {
    overflow: clip;
}

.hotel-detail-page img {
    max-width: 100%;
}

.hotel-detail-page .hotel-detail-address,
.hotel-detail-page .hotel-detail-address a {
    color: #262626;
    overflow-wrap: anywhere;
}

.hotel-detail-page .hotel-detail-address a:hover {
    color: var(--red-color);
}

#booking_section {
    padding-bottom: 64px;
    scroll-margin-top: 100px;
}

#booking_section > hr {
    margin: 36px 0;
    border-color: #e6e8ec;
}

#booking_section .chose-rooms,
#booking_section .chose-rooms.have-additional {
    margin-top: 0;
}

#booking_section .hotel-booking-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

#booking_section .hotel-booking-heading h4 {
    margin: 0;
    color: #20242a;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.3;
}

#booking_section .count-clients {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f5f6f8;
    color: #505761;
    font-size: 13px;
}

#booking_section .chose__table {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e3e5e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(18, 25, 38, 0.06);
    -webkit-overflow-scrolling: touch;
}

#booking_section .chose__table:focus-visible {
    outline: 2px solid var(--red-color);
    outline-offset: 3px;
}

#booking_section .chose-rooms table {
    min-width: 920px;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
}

#booking_section .chose-rooms th {
    height: auto;
    padding: 14px 12px;
    border-width: 0 0 1px 1px;
    border-color: #e3e5e8;
    background: #f5f6f8;
    font-size: 13px;
    line-height: 1.35;
}

#booking_section .chose-rooms th:first-child,
#booking_section .chose-rooms td:first-child {
    border-left: 0;
}

#booking_section .chose-rooms td {
    padding: 16px 12px !important;
    overflow: visible;
    border-width: 0 0 1px 1px;
    border-color: #e9eaed;
    background: #fff;
    vertical-align: middle;
}

#booking_section .chose-rooms tbody tr:last-child td {
    border-bottom: 0;
}

#booking_section .hotel-field-select-room {
    position: relative;
    z-index: 1;
}

#booking_section .hotel-field-select-room .nice-select {
    float: none;
    margin-bottom: 0;
}

#booking_section .hotel-field-select-room .nice-select:not(.open) .list {
    display: none;
}

#booking_section .chose-rooms tbody tr {
    position: relative;
    z-index: 1;
}

#booking_section .chose-rooms tbody:has(.nice-select.open) .hotel-field-select-room,
#booking_section .chose-rooms tbody:has(.nice-select.open) tr {
    z-index: 0;
}

#booking_section .chose-rooms tbody tr:has(.nice-select.open),
#booking_section .chose-rooms td:has(.nice-select.open),
#booking_section .hotel-field-select-room:has(.nice-select.open),
#booking_section .hotel-field-select-room .nice-select.open {
    position: relative;
    z-index: 50;
    overflow: visible;
}

#booking_section .chose__table:has(.nice-select.open) {
    overflow: visible;
}

#booking_section .hotel-field-select-room .nice-select.open .list {
    z-index: 60;
    display: block;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 25, 38, 0.16);
}

#booking_section .chose__table .title {
    line-height: 1.35;
}

#booking_section .chose__table .title a {
    color: var(--red-color);
    text-decoration: none;
}

#booking_section .chose__table .title span {
    display: inline-block;
    margin-left: 4px;
    font-size: 10px;
    font-weight: 600;
}

#booking_section .chose__table .recomend {
    margin: 0;
    padding: 0;
    list-style: none;
}

#booking_section .chose__table .recomend li:last-child {
    margin-bottom: 0;
}

#booking_section .hotel-field-select-room .nice-select,
#booking_section .hotel-field-select-room select {
    width: 100%;
    min-width: 150px;
}

#booking_section .hotel-booking-details {
    width: 100%;
}

#booking_section .hotel-booking-details > .row {
    align-items: flex-start;
    margin-right: -15px;
    margin-left: -15px;
}

#booking_section .hotel-booking-details .title h3 {
    margin-bottom: 22px;
}

#booking_section .hotel {
    min-height: 0;
    height: auto;
    align-self: stretch;
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(18, 25, 38, 0.06);
}

#booking_section .hotel__union {
    align-items: stretch;
    gap: 18px;
}

#booking_section .hotel__photo,
#booking_section .hotel__photo img {
    flex: 0 0 280px;
    width: 280px;
    height: 230px;
    object-fit: cover;
    border-radius: 12px;
}

#booking_section .hotel__box {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    margin-left: 0;
}

#booking_section .hotel__title {
    font-size: 24px;
    line-height: 1.25;
}

#booking_section .hotel__title,
#booking_section .hotel__adress {
    overflow-wrap: anywhere;
}

#booking_section .hotel__description {
    height: auto;
    max-height: 110px;
    overflow: auto;
}

#booking_section .hotel__photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

#booking_section .hotel__photos img {
    width: 100%;
    height: 158px;
    object-fit: cover;
    border-radius: 10px;
}

#booking_section .booking_wrapper {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 16px 16px 20px;
    border: 1px solid #e3e5e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(18, 25, 38, 0.06);
}

#booking_section #hotels-data-embedded-container {
    position: relative;
    width: 100%;
    min-height: 0;
    margin: 0;
}

#booking_section #hotels-data-embedded-container > .daterangepicker {
    display: none !important;
}

#booking_section .hotel-calendar-range-error {
    display: none;
}

#booking_section .hotel-booking-toolbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    margin-top: 14px;
    padding-top: 4px;
}

#booking_section .hotel-booking-field--dates {
    grid-column: 1 / -1;
}

#booking_section .hotel-booking-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

#booking_section .hotel-booking-field__label {
    color: #5f6b76;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

#booking_section .hotel-booking-field .form-control,
#booking_section .hotel-booking-field .qty-buttons .qty {
    height: 48px;
    border: 1px solid #d9dfe5;
    border-radius: 11px;
    background: #fbfcfd;
    color: #20242a;
    font-size: 13px;
    font-weight: 600;
    box-shadow: none;
}

#booking_section .hotel-booking-field--dates .form-control {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#booking_section .hotel-booking-toolbar .qty-buttons {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    width: 100%;
    height: 48px;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid #d9dfe5;
    border-radius: 11px;
    background: #fbfcfd;
}

#booking_section .hotel-booking-toolbar .qty-buttons input.qtyplus,
#booking_section .hotel-booking-toolbar .qty-buttons input.qtyminus {
    position: static;
    top: auto;
    right: auto;
    width: 40px;
    height: 48px;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    color: transparent;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    cursor: pointer;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

#booking_section .hotel-booking-toolbar .qty-buttons input.qtyplus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23344054' d='M11.04 5.27H.96C.43 5.27 0 5.59 0 6s.43.73.96.73h10.08c.53 0 .96-.33.96-.73s-.43-.73-.96-.73z'/%3E%3Cpath fill='%23344054' d='M6.73 11.04V.96C6.73.43 6.41 0 6 0S5.27.43 5.27.96v10.08c0 .53.32.96.73.96s.73-.43.73-.96z'/%3E%3C/svg%3E");
}

#booking_section .hotel-booking-toolbar .qty-buttons input.qtyminus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23344054' d='M11.04 5.27H.96C.43 5.27 0 5.59 0 6s.43.73.96.73h10.08c.53 0 .96-.33.96-.73s-.43-.73-.96-.73z'/%3E%3C/svg%3E");
}

#booking_section .hotel-booking-toolbar .qty-buttons input.qty {
    width: 100%;
    min-width: 0;
    padding: 0 2px;
    border: 0;
    background: transparent;
    text-align: center;
}

#booking_section .hotel-booking-toolbar .qty-buttons > .error,
#booking_section .hotel-booking-toolbar .qty-buttons > .info {
    display: none;
}

#booking_section .booking-information {
    padding: 18px 20px;
    border-radius: 14px;
    background: #f7f8fa;
}

#booking_section .booking-information .information .information__price,
#booking_section .booking-information .information .information__price span {
    font-size: 18px;
    line-height: 1.6;
}

#booking_section .hotel-booking-summary-name {
    display: inline;
    width: auto;
    white-space: normal;
    overflow-wrap: anywhere;
}

#booking_section .order-box {
    margin-top: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

#booking_section .order-box .checkout-consents {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: max-content;
    max-width: 100%;
    margin: 22px auto 0;
    text-align: left;
}

#booking_section .order-box .checkout-consents .block__accept-checkbox-personal-data,
#booking_section .order-box .checkout-consents .block__accept-checkbox-conditions {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

#booking_section .order-box .checkout-consents .form__custom-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    appearance: none;
    pointer-events: none;
}

#booking_section .order-box .checkout-consents .form__custom-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    margin: 0;
    line-height: 20px;
    text-align: left;
    vertical-align: middle;
}

#booking_section .order-box .checkout-consents .form__custom-label > span:first-child {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    border-width: 2px;
}

#booking_section .order-box .checkout-consents .form__custom-checkbox:checked + .form__custom-label > span:first-child::before {
    content: none !important;
    display: none !important;
    animation: none !important;
}

#booking_section .order-box .checkout-consents .form__custom-checkbox:checked + .form__custom-label > span:first-child::after {
    content: "";
    box-sizing: border-box;
    width: 5px;
    height: 8px;
    margin: -1px 0 1px;
    border: solid var(--red-color, #0b9f6d);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.hotel-detail-page + .progress-wrap,
.hotel-detail-page .progress-wrap {
    z-index: 20;
}

@media (max-width: 1399px) {
    #booking_section .hotel__photo,
    #booking_section .hotel__photo img {
        flex: 0 0 220px;
        width: 220px;
        height: 190px;
    }
}

@media (max-width: 1199px) {
    #booking_section .hotel-booking-details .col-xl-6 + .col-xl-6 {
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    .hotel-detail-page .margin_120_95,
    .hotel-detail-page .margin_70_95 {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #booking_section {
        padding-bottom: 40px;
    }

    #booking_section > hr {
        margin: 26px 0;
    }

    #booking_section .hotel-booking-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    #booking_section .count-clients {
        width: 100%;
    }

    #booking_section .chose__table {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    #booking_section .chose-rooms table,
    #booking_section .chose-rooms tbody,
    #booking_section .chose-rooms tr,
    #booking_section .chose-rooms td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    #booking_section .chose-rooms thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        clip-path: inset(50%);
    }

    #booking_section .chose-rooms tbody tr {
        margin-bottom: 16px;
        overflow: hidden;
        border: 1px solid #e3e5e8;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 10px 28px rgba(18, 25, 38, 0.06);
    }

    #booking_section .chose-rooms tbody tr:has(.nice-select.open) {
        overflow: visible;
        z-index: 30;
    }

    #booking_section .chose-rooms td,
    #booking_section .chose-rooms td:first-child {
        display: grid;
        grid-template-columns: minmax(105px, 35%) minmax(0, 1fr);
        gap: 12px;
        padding: 14px !important;
        border-width: 0 0 1px;
        text-align: left;
    }

    #booking_section .chose-rooms td::before {
        content: attr(data-label);
        color: #6b7280;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.4;
    }

    #booking_section .chose-rooms td:first-child {
        display: block;
    }

    #booking_section .chose-rooms td:first-child::before {
        display: none;
    }

    #booking_section .chose-rooms td:last-child {
        border-bottom: 0;
    }

    #booking_section .hotel__union {
        flex-direction: column;
        align-items: stretch;
    }

    #booking_section .hotel__photo,
    #booking_section .hotel__photo img {
        flex-basis: auto;
        width: 100%;
        height: 240px;
    }

    #booking_section .hotel__box {
        width: 100%;
        margin: 18px 0 0;
        padding: 0 15px 15px;
    }

    #booking_section .hotel__photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #booking_section .hotel__photos img {
        height: 140px;
    }

    #booking_section .hotel-booking-toolbar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #booking_section .booking-information .information .information__price,
    #booking_section .booking-information .information .information__price span {
        font-size: 16px;
    }

}

@media (max-width: 563px) {
    #booking_section .hotel-booking-toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    #booking_section .hotel-inline-calendar__months {
        grid-template-columns: minmax(0, 1fr);
    }
}
