.booking-flow-page {
    background: #fff;
}

.booking-flow-page main {
    background: #fff;
}

#website-root.booking-flow-page :is(.reveal, .scroll-reveal-group) {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
}

#website-root.booking-flow-page .booking-hero {
    box-sizing: border-box;
    height: 155px;
    min-height: 155px;
    padding-block: 0 !important;
    border-bottom: 0;
    background: #eaf3ff;
}

.booking-flow-page .booking-hero::before {
    background: linear-gradient(90deg, #eaf3ff 0%, rgba(234, 243, 255, .98) 48%, rgba(234, 243, 255, .15) 78%);
}

#website-root.booking-flow-page .booking-hero-grid {
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr) 420px;
    height: 155px;
    min-height: 155px;
    padding-block: 28px 24px;
}

.booking-flow-page .booking-hero-copy {
    color: #092b68;
}

.booking-flow-page .booking-breadcrumb {
    margin-bottom: 8px;
    color: #092b68;
    font-size: 12px;
    font-weight: 500;
}

.booking-flow-page .booking-breadcrumb a:hover {
    color: #052b73;
}

#website-root.booking-flow-page .booking-hero h1 {
    margin: 0 0 5px;
    color: #052b73;
    font-size: 40px;
    line-height: 1.12;
}

#website-root.booking-flow-page .booking-hero p {
    max-width: 620px;
    color: #092b68;
    font-size: var(--font-size-base);
    line-height: 1.5;
}

.booking-flow-page .booking-hero-visual {
    inset: 0 0 0 auto;
    width: 42%;
}

.booking-flow-page .booking-hero-visual img {
    object-fit: cover;
    object-position: center 45%;
}

.booking-flow-page .booking-flow {
    padding: 18px 0 26px !important;
    background: #fff;
}

.booking-flow-page .booking-steps {
    margin-bottom: 18px;
    padding: 0 72px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.booking-flow-page .booking-step {
    justify-content: flex-start;
    gap: 10px;
    min-height: 44px;
    background: #fff;
    font-size: var(--font-size-base);
    font-weight: 500;
}

.booking-flow-page .booking-step:not(:last-child)::after {
    right: 20px;
    left: 56px;
    height: 1px;
    background: #cbd5e4;
}

.booking-flow-page .booking-step-number {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border: 1px solid #aeb9c9;
}

.booking-flow-page .booking-step.is-current {
    font-weight: 800;
}

.booking-flow-page .booking-step.is-current .booking-step-number {
    border-color: #052b73;
    background: #052b73;
    box-shadow: none;
}

.booking-flow-page .booking-step.is-complete {
    color: #052b73;
}

.booking-flow-page .booking-step.is-complete .booking-step-number {
    border-color: #052b73;
    background: #fff;
    color: #052b73;
}

.booking-flow-page .booking-step.is-complete::after {
    background: #9aa9bd;
}

.booking-flow-page .booking-panel,
.booking-flow-page .booking-room-card {
    border-color: #e4eaf3;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(5, 43, 115, .055);
}

.booking-flow-page .booking-search-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
}

.booking-flow-page .booking-search-panel {
    padding: 20px;
}

.booking-flow-page .booking-panel-heading {
    margin-bottom: 16px;
}

.booking-flow-page .booking-panel-heading h2,
.booking-flow-page .booking-promotion-form h2 {
    margin: 0;
    font-size: 18px;
}

.booking-flow-page .booking-panel-heading > span,
.booking-flow-page .booking-kicker {
    display: none;
}

.booking-flow-page .booking-form {
    grid-template-columns: 1fr;
    gap: 13px;
    align-items: stretch;
}

.booking-flow-page .booking-field {
    gap: 6px;
}

.booking-flow-page .booking-form-row {
    gap: 14px;
}

.booking-flow-page .booking-field input,
.booking-flow-page .booking-field select,
.booking-flow-page .booking-promotion-control input,
.booking-flow-page .booking-invoice-fields input {
    min-height: 44px;
    border-radius: 6px;
}

.booking-flow-page .booking-field textarea {
    min-height: 76px;
    border-radius: 6px;
}

.booking-flow-page .booking-search-panel .booking-form-row {
    grid-template-columns: 1fr;
}

.booking-flow-page .booking-room-list {
    gap: 10px;
}

.booking-flow-page .booking-room-card {
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 132px;
}

.booking-flow-page .booking-room-media {
    min-height: 132px;
}

.booking-flow-page .booking-room-content {
    position: relative;
    padding: 16px 210px 14px 18px;
}

.booking-flow-page .booking-room-title h3 {
    margin-bottom: 4px;
    font-size: 18px;
}

.booking-flow-page .booking-availability {
    display: none;
}

.booking-flow-page .booking-room-specs {
    gap: 6px 14px;
    margin: 5px 0;
    font-size: 12px;
}

.booking-flow-page .booking-room-content > p {
    overflow: hidden;
    max-width: 640px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.booking-flow-page .booking-room-actions {
    display: contents;
}

.booking-flow-page .booking-detail-link {
    position: absolute;
    bottom: 13px;
    left: 18px;
    font-size: 12px;
}

.booking-flow-page .booking-room-price {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 175px;
    padding-left: 24px;
    border-left: 1px solid #e4eaf3;
    text-align: left;
}

.booking-flow-page .booking-room-price strong {
    font-size: 19px;
}

.booking-flow-page .booking-room-price small {
    display: none;
}

.booking-flow-page .booking-room-actions form {
    position: absolute;
    right: 24px;
    bottom: 14px;
    width: 180px;
}

.booking-flow-page .booking-room-actions .btn {
    width: 100%;
    min-height: 44px;
}

.booking-flow-page .booking-promises {
    margin-top: 16px;
    border-radius: 10px;
}

.booking-flow-page .booking-promises > span {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 13px 20px;
}

.booking-flow-page .booking-promises i {
    color: #052b73;
    font-size: 24px;
}

.booking-flow-page .booking-promises strong {
    font-size: 12px;
}

.booking-flow-page .booking-promises small {
    font-size: var(--font-size-caption);
}

.booking-flow-page .booking-detail-layout,
.booking-flow-page .booking-form-layout {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 18px;
}

.booking-flow-page .booking-detail-main,
.booking-flow-page .booking-payment-column {
    gap: 14px;
}

.booking-flow-page .booking-room-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
    gap: 24px;
    padding: 14px;
}

.booking-flow-page .booking-room-overview .booking-gallery {
    gap: 8px;
}

.booking-flow-page .booking-room-overview .booking-gallery-main {
    border-radius: 7px;
}

.booking-flow-page .booking-room-overview .booking-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.booking-flow-page .booking-room-overview .booking-gallery-thumbs button:nth-child(n + 4) {
    display: none;
}

.booking-flow-page .booking-room-detail-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 6px 2px;
}

.booking-flow-page .booking-room-detail-heading h2 {
    margin: 0;
    font-size: 24px;
}

.booking-flow-page .booking-room-specs.is-large {
    margin: 10px 0;
    padding: 0;
    border-bottom: 0;
    font-size: var(--font-size-base);
}

.booking-flow-page .booking-room-detail-content > p {
    display: -webkit-box;
    overflow: hidden;
    color: #5d6b82;
    font-size: var(--font-size-base);
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.booking-flow-page .booking-room-rate {
    display: grid;
    gap: 2px;
    margin-top: auto;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f7faff;
}

.booking-flow-page .booking-room-rate span,
.booking-flow-page .booking-room-rate small {
    color: #5d6b82;
    font-size: 12px;
}

.booking-flow-page .booking-room-rate strong {
    color: #052b73;
    font-size: 28px;
}

.booking-flow-page .booking-room-detail-content form + .booking-secondary-action {
    margin-top: 8px;
}

.booking-flow-page .booking-detail-sections {
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    gap: 10px;
}

.booking-flow-page .booking-detail-section {
    padding: 16px !important;
}

.booking-flow-page .booking-detail-section .booking-panel-heading {
    margin-bottom: 10px;
}

.booking-flow-page .booking-detail-section .booking-panel-heading h2 {
    font-size: 15px;
}

.booking-flow-page .booking-amenity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
}

.booking-flow-page .booking-amenity-grid span {
    min-height: 28px;
    font-size: var(--font-size-caption);
}

.booking-flow-page .booking-policy-list {
    grid-template-columns: 1fr;
    gap: 5px;
}

.booking-flow-page .booking-policy-list > div {
    gap: 7px;
    padding: 0;
    border: 0;
}

.booking-flow-page .booking-policy-list > div > i {
    font-size: var(--font-size-base);
}

.booking-flow-page .booking-policy-list small,
.booking-flow-page .booking-room-description p {
    color: #5d6b82;
    font-size: var(--font-size-caption);
    line-height: 1.45;
}

.booking-flow-page .booking-room-description p {
    margin: 0 0 8px;
}

.booking-flow-page .booking-sticky-card {
    top: 84px;
    padding: 18px;
}

.booking-flow-page .booking-summary-room {
    grid-template-columns: 150px minmax(0, 1fr);
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.booking-flow-page .booking-summary-room img {
    width: 150px;
    height: 78px;
    border-radius: 6px;
}

.booking-flow-page .booking-summary-facts,
.booking-flow-page .booking-summary-money {
    gap: 7px;
}

.booking-flow-page .booking-summary-facts {
    padding-bottom: 12px;
}

.booking-flow-page .booking-summary-money {
    padding-top: 12px;
}

.booking-flow-page .booking-summary dt,
.booking-flow-page .booking-summary dd {
    font-size: 12px;
}

.booking-flow-page .booking-summary-money .total dt,
.booking-flow-page .booking-summary-money .total dd {
    font-size: 19px;
}

.booking-flow-page .booking-summary-note {
    display: none;
}

.booking-flow-page .booking-form-layout > .booking-panel,
.booking-flow-page .booking-payment-column > .booking-panel {
    padding: 18px;
}

.booking-flow-page .booking-form-layout > .booking-panel > .booking-panel-heading {
    padding-bottom: 12px;
    border-bottom: 1px solid #e4eaf3;
}

.booking-flow-page .booking-form-layout > .booking-panel > .booking-panel-heading h2 {
    font-size: 20px;
}

.booking-flow-page .booking-form-layout > .booking-panel > .booking-panel-heading p {
    display: none;
}

.booking-flow-page .booking-checkin-section {
    display: grid;
    grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
    gap: 12px 24px;
    align-items: end;
    margin: 5px -18px -18px;
    padding: 16px 18px !important;
    border-top: 12px solid #f7faff;
}

.booking-flow-page .booking-checkin-heading {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 10px;
}

.booking-flow-page .booking-checkin-heading i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #edf4ff;
    color: #052b73;
}

.booking-flow-page .booking-checkin-heading h2 {
    margin: 0;
    font-size: 18px;
}

.booking-flow-page .booking-check-row {
    min-height: 40px;
}

.booking-flow-page .booking-action-row {
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px solid #e4eaf3;
}

.booking-flow-page .booking-payment-methods {
    gap: 8px;
}

.booking-flow-page .booking-payment-method {
    grid-template-columns: 48px minmax(0, 1fr) auto 22px;
    min-height: 64px;
    padding: 10px 14px;
    border-radius: 7px;
}

.booking-flow-page .booking-payment-method > input {
    grid-column: 4;
    grid-row: 1;
}

.booking-flow-page .booking-payment-method > i:not(.booking-payment-check) {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #e4eaf3;
    border-radius: 7px;
    font-size: 25px;
}

.booking-flow-page .booking-payment-method > span {
    grid-column: 2;
    grid-row: 1;
}

.booking-flow-page .booking-payment-method > em {
    grid-column: 3;
    grid-row: 1;
}

.booking-flow-page .booking-payment-check {
    display: none;
}

.booking-flow-page .booking-invoice-block {
    margin-top: 10px;
    padding-top: 14px;
}

.booking-flow-page .booking-invoice-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.booking-flow-page .booking-invoice-heading h2 {
    margin: 0;
    font-size: 18px;
}

.booking-flow-page .booking-switch-row {
    position: relative;
}

.booking-flow-page .booking-switch-row input[type="checkbox"] {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    width: 44px;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.booking-flow-page .booking-invoice-fields {
    gap: 12px;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
}

.booking-flow-page .booking-sidebar .booking-promotion-form {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    padding: 12px;
}

.booking-flow-page .booking-sidebar .booking-promotion-form > label {
    font-size: 12px;
    font-weight: 800;
}

.booking-flow-page .booking-sidebar .booking-promotion-control {
    gap: 6px;
}

.booking-flow-page .booking-sidebar .booking-promotion-message,
.booking-flow-page .booking-sidebar .booking-field-error {
    grid-column: 1 / -1;
}

.booking-flow-page .booking-confirmation-flow {
    padding-top: 18px;
}

.booking-flow-page .booking-confirmation-shell {
    padding: 16px !important;
}

.booking-flow-page .booking-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: none;
    margin: 0 0 16px;
    text-align: left;
}

.booking-flow-page .booking-success-icon {
    width: 58px;
    height: 58px;
    margin: 0;
    font-size: 30px;
    box-shadow: none;
}

.booking-flow-page .booking-success h2 {
    margin: 0 0 3px;
    font-size: 28px;
}

.booking-flow-page .booking-success p {
    font-size: 12px;
}

.booking-flow-page .booking-confirmation-grid {
    grid-template-columns: .82fr 1fr 1.55fr 1fr;
    gap: 12px;
}

.booking-flow-page .booking-code-card,
.booking-flow-page .booking-confirmation-section {
    min-width: 0;
    padding: 16px !important;
    border: 1px solid #e4eaf3;
    border-radius: 9px;
    background: #fff;
    color: #092b68;
    box-shadow: none;
}

.booking-flow-page .booking-payment-detail {
    grid-column: auto;
}

.booking-flow-page .booking-code-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
    border-left: 1px solid #e4eaf3;
    text-align: center;
}

.booking-flow-page .booking-code-card > div {
    justify-items: center;
}

.booking-flow-page .booking-code-card span,
.booking-flow-page .booking-code-card small,
.booking-flow-page .booking-code-card dt {
    color: #5d6b82;
}

.booking-flow-page .booking-code-card > div > strong {
    color: #052b73;
    font-size: 18px;
    overflow-wrap: normal;
    white-space: nowrap;
}

.booking-flow-page .booking-code-card .booking-status {
    margin-top: 7px;
    background: #e9f7ec;
    color: #247a45 !important;
}

.booking-flow-page .booking-code-card dl {
    min-width: 0;
}

.booking-flow-page .booking-code-card dl > div {
    display: grid;
    gap: 3px;
    justify-content: center;
}

.booking-flow-page .booking-code-card dd {
    color: #052b73;
    text-align: center;
}

.booking-flow-page .booking-confirmation-section .booking-panel-heading {
    margin-bottom: 10px;
}

.booking-flow-page .booking-confirmation-section .booking-panel-heading h2 {
    font-size: 15px;
}

.booking-flow-page .booking-detail-list {
    gap: 7px;
}

.booking-flow-page .booking-detail-list > div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-bottom: 6px;
    border-bottom: 0;
}

.booking-flow-page .booking-detail-list dt {
    font-size: var(--font-size-caption);
}

.booking-flow-page .booking-detail-list dd {
    font-size: 12px;
}

.booking-flow-page .booking-detail-list .is-total {
    grid-template-columns: 1fr auto;
    padding-top: 9px;
    border-top: 1px dashed #cbd5e4;
}

.booking-flow-page .booking-detail-list .is-total dd {
    color: #052b73;
    font-size: 22px;
}

.booking-flow-page .booking-confirmation-room {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.booking-flow-page .booking-confirmation-room img {
    width: 120px;
    height: 66px;
    border-radius: 6px;
    object-fit: cover;
}

.booking-flow-page .booking-confirmation-amenities {
    gap: 5px;
    margin-top: 8px;
}

.booking-flow-page .booking-confirmation-amenities span {
    min-height: auto;
    padding: 4px 7px;
    border: 1px solid #dbe3ee;
    border-radius: 4px;
    font-size: var(--font-size-caption);
}

.booking-flow-page .booking-confirmation-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.booking-flow-page .booking-confirmation-actions .btn {
    width: 100%;
}

.booking-flow-page .booking-confirmation-support {
    display: grid;
    grid-template-columns: 1.4fr .7fr .9fr;
    gap: 20px;
    margin-top: 12px;
    padding: 13px 24px;
    border: 1px solid #d8e4f4;
    border-radius: 9px;
    background: #f3f7ff;
}

.booking-flow-page .booking-confirmation-support span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #052b73;
    font-size: 12px;
}

.booking-flow-page .booking-confirmation-support i {
    font-size: 24px;
}

.booking-flow-page .footer {
    margin-top: 0;
}

@media (max-width: 1180px) {
    .booking-flow-page .booking-steps {
        padding-inline: 20px;
    }

    .booking-flow-page .booking-room-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .booking-flow-page .booking-hero-visual {
        width: 52%;
        opacity: .42;
    }

    .booking-flow-page .booking-search-layout {
        grid-template-columns: 1fr;
    }

    .booking-flow-page .booking-detail-layout,
    .booking-flow-page .booking-form-layout {
        grid-template-columns: 1fr;
    }

    .booking-flow-page .booking-room-overview {
        grid-template-columns: 1fr;
    }

    .booking-flow-page .booking-detail-sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-flow-page .booking-room-description {
        grid-column: 1 / -1;
    }

    .booking-flow-page .booking-confirmation-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-flow-page .booking-confirmation-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-flow-page .booking-search-panel .booking-form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    #website-root.booking-flow-page .booking-hero,
    #website-root.booking-flow-page .booking-hero-grid {
        height: 142px;
        min-height: 142px;
    }

    #website-root.booking-flow-page .booking-hero-grid {
        padding-block: 22px;
    }

    #website-root.booking-flow-page .booking-hero h1 {
        font-size: 30px;
    }

    #website-root.booking-flow-page .booking-hero p {
        max-width: 78%;
        font-size: 12px;
    }

    .booking-flow-page .booking-steps {
        padding-inline: 0;
    }

    .booking-flow-page .booking-step {
        justify-content: center;
    }

    .booking-flow-page .booking-step:not(.is-current) .booking-step-label {
        display: none;
    }

    .booking-flow-page .booking-step.is-current {
        grid-column: auto;
    }

    .booking-flow-page .booking-room-card {
        grid-template-columns: 1fr;
    }

    .booking-flow-page .booking-room-media {
        min-height: 190px;
    }

    .booking-flow-page .booking-room-content {
        padding: 16px;
    }

    .booking-flow-page .booking-room-content > p {
        white-space: normal;
    }

    .booking-flow-page .booking-detail-link,
    .booking-flow-page .booking-room-price,
    .booking-flow-page .booking-room-actions form {
        position: static;
        width: auto;
        margin-top: 12px;
        padding-left: 0;
        border-left: 0;
    }

    .booking-flow-page .booking-room-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .booking-flow-page .booking-room-price {
        text-align: left;
    }

    .booking-flow-page .booking-search-panel .booking-form-row {
        grid-template-columns: 1fr;
    }

    .booking-flow-page .booking-detail-sections,
    .booking-flow-page .booking-confirmation-grid,
    .booking-flow-page .booking-confirmation-actions,
    .booking-flow-page .booking-confirmation-support {
        grid-template-columns: 1fr;
    }

    .booking-flow-page .booking-checkin-section {
        grid-template-columns: 1fr;
    }

    .booking-flow-page .booking-confirmation-room {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .booking-flow-page .booking-confirmation-room img {
        width: 96px;
    }

    .booking-flow-page .booking-sidebar .booking-promotion-form {
        grid-template-columns: 1fr;
    }
}

/* Keep the custom room-type dropdown above result cards on stacked layouts. */
.booking-flow-page .booking-search-panel:focus-within,
.booking-flow-page .booking-search-panel:has(.website-select2.open) {
    position: relative;
    z-index: 200;
}

.booking-flow-page .booking-results {
    position: relative;
    z-index: 1;
}
