/*
 * Black Mountain Escapes presentation layer for native HBook output.
 *
 * HBook selectors relied upon (all present in the supplied single/multi DOM):
 * Search: .hb-booking-search-form, .hb-title-search-form,
 * .hb-search-fields-and-submit, .hb-search-fields,
 * .hb-check-dates-wrapper, .hb-input-datepicker,
 * .hb-datepick-check-in-out-trigger, .hb-accom-number-wrapper,
 * .hb-people-wrapper, .hb-search-submit-wrapper, .hb-searched-summary,
 * .hb-change-search-wrapper, .hb-search-error, .hb-search-no-result.
 * Results: .hb-accom-list, .hb-accom-step-wrapper,
 * .hb-search-result-title-section, .hb-multi-accom-choices, .hb-accom,
 * .hb-accom-img, .hb-accom-title, .hb-accom-desc,
 * .hb-accom-price-total, .hb-accom-price, .hb-accom-price-caption,
 * .hb-view-price-breakdown, .hb-price-breakdown,
 * .hb-select-accom-wrapper, .hb-accom-selected-left-wrapper.
 * Options/navigation: .hb-intermediate-step-wrapper, .hb-options-form,
 * .hb-options-multi-accoms, .hb-option, .hb-checkbox-wrapper,
 * .hb-quantity-option, .hb-step-button, .hb-next-step,
 * .hb-previous-step.
 * Details/checkout: .hb-booking-details-form, .hb-details-fields,
 * .hb-detail-field, .selectize-control, .selectize-input,
 * .hb-coupons-area, .hb-title-coupons, .hb-summary-wrapper,
 * .hb-resa-summary, .hb-resa-summary-content, .hb-payment-info-wrapper,
 * .hb-payment-type-wrapper, .hb-payment-type-explanation,
 * .hb-payment-method-wrapper, .hb-confirm-area, .hb-confirm-button.
 * Multi-only controls intentionally concealed:
 * .hb-multi-accom-people-selection-wrapper and the search form's
 * .hb-accom-number-wrapper. Adult/child choices remain owned by HBook.
 *
 * Confirmed calendar selectors: .hb-datepick-legend,
 * .hb-datepick-selecting-legend, .hb-dp-cmd-close, .hb-datepick-popup,
 * .hb-dp-cmd-prev, .hb-dp-cmd-next, .hb-dp-month, .hb-dp-month-header,
 * .hb-dp-week-header, .hb-dp-day, .hb-dp-day-link, .hb-day-available,
 * .hb-dp-day-check-in, .hb-dp-day-check-out, .hb-dp-selected,
 * .hb-dp-highlight, .hb-dp-day-not-selectable,
 * .hb-dp-day-not-selectable-min-check-out,
 * .hb-dp-day-not-selectable-min-stay, .hb-dp-day-not-current-month,
 * .datepick-other-month and .hb-dp-weekend.
 * The popup rules are intentionally not scoped below .bme-hbook because HBook
 * may append its calendar popup directly to the document body.
 */

/* Let the booking page's Divi mountain artwork remain visible behind HBook. */
.et-l--post .et_pb_section:has(.bme-hbook) {
    background-color: transparent !important;
}

.bme-hbook {
    --bme-booking-charcoal: #2b2926;
    --bme-booking-cream: #f5efe6;
    --bme-booking-brass: #b08d57;
    --bme-booking-brass-dark: #86663a;
    --bme-booking-muted: #686159;
    --bme-booking-border: #d8d0c3;
    --bme-booking-paper: #fffdf9;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    background: transparent;
    color: var(--bme-booking-charcoal);
    font-family: "Source Sans 3", Arial, sans-serif;
}

.bme-hbook,
.bme-hbook *,
.bme-hbook *::before,
.bme-hbook *::after {
    box-sizing: border-box;
}

.bme-hbook__header {
    max-width: 760px;
    margin: 0 auto clamp(32px, 5vw, 56px);
    text-align: center;
}

.bme-hbook__eyebrow {
    margin: 0 0 12px;
    color: var(--bme-booking-brass);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bme-hbook__header h2 {
    margin: 0;
    color: var(--bme-booking-charcoal);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5.75vw, 5rem);
    font-weight: 500;
    letter-spacing: -1px;
    line-height: 0.96;
    text-wrap: balance;
}

.bme-hbook__progress {
    max-width: 940px;
    margin: 0 auto clamp(38px, 6vw, 68px);
}

.bme-hbook__progress ol {
    display: grid;
    grid-template-columns: repeat(var(--bme-booking-stage-count), minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.bme-hbook__progress-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: #756f67;
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    text-align: center;
}

.bme-hbook__progress-step::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 15px;
    right: 50%;
    left: -50%;
    height: 1px;
    background: var(--bme-booking-border);
}

.bme-hbook__progress-step:first-child::before {
    display: none;
}

.bme-hbook__progress-number {
    position: relative;
    z-index: 1;
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid var(--bme-booking-border);
    border-radius: 50%;
    background: var(--bme-booking-cream);
    color: #756f67;
    font-size: 0.75rem;
    font-weight: 700;
}

.bme-hbook__progress-step.is-complete::before,
.bme-hbook__progress-step.is-current::before {
    background: var(--bme-booking-brass);
}

.bme-hbook__progress-step.is-complete .bme-hbook__progress-number,
.bme-hbook__progress-step.is-current .bme-hbook__progress-number {
    border-color: var(--bme-booking-brass);
    background: var(--bme-booking-brass);
    color: var(--bme-booking-cream);
}

.bme-hbook__progress-step.is-current {
    color: var(--bme-booking-charcoal);
    font-weight: 700;
}

.bme-hbook__engine {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.bme-hbook .hb-booking-search-form,
.bme-hbook .hb-accom-list,
.bme-hbook .hb-booking-details-form {
    width: 100%;
    max-width: none;
    color: var(--bme-booking-charcoal);
    font-family: "Source Sans 3", Arial, sans-serif;
}

.bme-hbook .hb-title,
.bme-hbook .hb-search-result-title-section h3 {
    margin: 0 0 1.25rem;
    color: var(--bme-booking-charcoal);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    font-weight: 400;
    line-height: 1.18;
    max-width: 34rem;
}

.bme-hbook .hb-title-search-form {
    text-align: center;
}

.bme-hbook .hb-search-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(190px, 1fr)) minmax(170px, auto);
    align-items: end;
    gap: 18px;
}

.bme-hbook .hb-search-fields > p {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.bme-hbook .hb-search-fields label,
.bme-hbook .hb-details-fields label,
.bme-hbook .hb-option label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--bme-booking-charcoal);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.bme-hbook input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="radio"]):not([type="checkbox"]),
.bme-hbook select,
.bme-hbook textarea,
.bme-hbook .selectize-input {
    width: 100%;
    min-height: 50px;
    padding: 11px 14px;
    border: 1px solid var(--bme-booking-border);
    border-radius: 0;
    background: var(--bme-booking-paper);
    color: var(--bme-booking-charcoal);
    box-shadow: none;
    font: 1rem/1.4 "Source Sans 3", Arial, sans-serif;
}

.bme-hbook input:focus-visible,
.bme-hbook select:focus-visible,
.bme-hbook textarea:focus-visible,
.bme-hbook a:focus-visible,
.bme-hbook .selectize-input.focus {
    outline: 3px solid rgba(176, 141, 87, 0.45) !important;
    outline-offset: 3px;
    border-color: var(--bme-booking-brass) !important;
}

.bme-hbook .hb-input-datepicker {
    color: var(--bme-booking-charcoal) !important;
    cursor: pointer;
}

.bme-hbook .hb-datepick-check-in-out-trigger {
    color: var(--bme-booking-brass);
}

.bme-hbook .hb-search-submit-wrapper label {
    display: none;
}

.bme-hbook .hb-button-wrapper input[type="submit"] {
    min-height: 50px;
    padding: 12px 22px !important;
    border: 1px solid var(--bme-booking-brass) !important;
    border-radius: 0 !important;
    background: var(--bme-booking-brass) !important;
    color: var(--bme-booking-cream) !important;
    box-shadow: none !important;
    cursor: pointer;
    font: 700 0.78rem/1.2 "Source Sans 3", Arial, sans-serif !important;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transform: translateY(-3px);
}

.bme-hbook .hb-button-wrapper input[type="submit"]:hover {
    border-color: var(--bme-booking-brass-dark) !important;
    background: var(--bme-booking-brass-dark) !important;
}

.bme-hbook .hb-change-search-wrapper input[type="submit"],
.bme-hbook .hb-select-accom-wrapper input[type="submit"] {
    background: transparent !important;
    color: var(--bme-booking-brass-dark) !important;
}

.bme-hbook .hb-previous-step input[type="submit"] {
    min-height: 0;
    padding: 8px 0 !important;
    border-color: transparent !important;
    background: transparent !important;
    color: var(--bme-booking-muted) !important;
    letter-spacing: 0.04em;
    text-transform: none;
}

.bme-hbook .hb-searched-summary[style*="display: block"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px 24px;
    flex-wrap: wrap;
    margin: 0 auto 34px;
    padding: 20px;
    border-top: 1px solid var(--bme-booking-border);
    border-bottom: 1px solid var(--bme-booking-border);
    text-align: center;
}

.bme-hbook .hb-searched-summary .hb-check-dates-wrapper {
    margin: 0;
    color: var(--bme-booking-charcoal);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bme-hbook .hb-searched-summary .hb-check-dates-wrapper span {
    color: var(--bme-booking-brass-dark);
    font-weight: 700;
}

.bme-hbook .hb-search-error,
.bme-hbook .hb-search-no-result,
.bme-hbook .hb-confirm-error,
.bme-hbook .hb-policies-error {
    color: #8a2e24;
    font-weight: 700;
}

.bme-hbook--multi .hb-booking-search-form > .hb-search-fields-and-submit .hb-accom-number-wrapper,
.bme-hbook--multi .hb-multi-accom-people-selection-wrapper {
    display: none !important;
}

.bme-hbook .hb-search-result-title-section {
    margin-bottom: 28px;
    text-align: center;
}

.bme-hbook .hb-multi-accom-choices {
    display: grid;
    gap: 22px;
}

.bme-hbook--multi .hb-multi-accom-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bme-hbook .hb-view-price-breakdown {
    color: var(--bme-booking-brass-dark) !important;
    text-underline-offset: 3px;
}

.bme-hbook .hb-price-breakdown {
    grid-column: 1 / -1;
    padding: 18px;
    color: var(--bme-booking-charcoal);
    font-size: 0.9rem;
    line-height: 1.6;
}

.bme-hbook .hb-select-accom-wrapper,
.bme-hbook .hb-accom-selected-left-wrapper {
    grid-column: 1 / -1;
}

/* Shared editorial accommodation-card presentation. */
.bme-hbook--multi .hb-multi-accom-choices {
    gap: 24px;
    align-items: stretch;
}

.bme-hbook--multi .hb-title-select {
    display: block;
}

.bme-hbook .hb-accom {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(43, 41, 38, 0.16);
    border-radius: 22px;
    background: var(--bme-booking-paper);
    box-shadow: 0 4px 18px rgba(43, 41, 38, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.bme-hbook .hb-accom-img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto;
    aspect-ratio: 16 / 10;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    border-radius: 0;
    object-fit: cover;
    transform: none !important;
}

.bme-hbook .bme-hbook__accom-content {
    display: flex !important;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    width: 100%;
    padding: clamp(22px, 2.5vw, 28px);
}

.bme-hbook .hb-accom-title {
    margin: 0 0 8px;
    color: var(--bme-booking-charcoal);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 3vw, 2.35rem);
    font-weight: 600;
    line-height: 1.05;
}

.bme-hbook .hb-accom-desc {
    min-height: 0;
    margin: 0 0 14px;
    color: var(--bme-booking-muted);
    line-height: 1.5;
}

.bme-hbook .hb-accom-price-total {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: clamp(32px, 5vw, 56px);
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid var(--bme-booking-border);
}

.bme-hbook .hb-accom-price {
    flex: 0 0 auto;
    color: var(--bme-booking-charcoal);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.bme-hbook .hb-accom-price-caption {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
    margin: 0;
    color: var(--bme-booking-muted);
    font-size: 0.9rem;
    line-height: 1.35;
}

.bme-hbook .hb-accom-price-caption br,
.bme-hbook .hb-accom-price-caption-dash {
    display: none !important;
}

.bme-hbook .hb-view-price-breakdown {
    display: inline-block;
}

.bme-hbook .hb-price-breakdown {
    margin: 18px 0 0;
}

.bme-hbook .hb-select-accom-wrapper {
    display: block !important;
    clear: both;
    width: 100% !important;
    max-width: none !important;
    margin: auto 0 0 !important;
    padding-top: 20px;
    float: none !important;
}

.bme-hbook .hb-select-accom {
    display: block;
    width: 100%;
    margin: 0;
}

.bme-hbook .hb-select-accom-wrapper input[type="submit"] {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 56px;
    margin: 0 !important;
    float: none !important;
    background: var(--bme-booking-brass) !important;
    color: var(--bme-booking-cream) !important;
}

/* Single-property result card:
   wrapper controls width only; inner accommodation owns the card appearance. */
.bme-hbook:not(.bme-hbook--multi) .hb-accom-page-one-result {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.bme-hbook:not(.bme-hbook--multi)
.hb-accom-page-one-result > .hb-accom {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    border-radius: 18px;
    overflow: hidden;
}

/* Single cards should follow their natural content height. */
.bme-hbook--single .bme-hbook__accom-content {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
}

/* Keep the CTA close to the price instead of pushing it to the bottom. */
.bme-hbook--single .bme-hbook__single-result-action {
    margin: 24px 0 0;
    padding-top: 0;
}

/* Compact single-property card on desktop. */
@media (min-width: 900px) {
    .bme-hbook:not(.bme-hbook--multi) .hb-accom-page-one-result {
        width: 50%;
        max-width: 800px;
    }

    .bme-hbook:not(.bme-hbook--multi)
    .hb-accom-page-one-result > .hb-accom {
        border-radius: 32px;
    }

    .bme-hbook:not(.bme-hbook--multi) .hb-accom-img {
        max-height: 450px;
        aspect-ratio: 16 / 9;
    }
}

.bme-hbook--single .hb-select-accom-wrapper:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bme-hbook--single .bme-hbook__single-result-action {
    display: block;
    clear: both;
    width: 100%;
    max-width: none;
    margin: 24px 0 0;
    padding-top: 0;
}

.bme-hbook--single .bme-hbook__single-result-action input[type="submit"] {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 56px;
    margin: 0 !important;
    float: none !important;
    background: var(--bme-booking-brass) !important;
    color: var(--bme-booking-cream) !important;
}

@media (hover: hover) and (pointer: fine) {
    .bme-hbook .hb-accom:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 38px rgba(43, 41, 38, 0.16);
    }
}

.bme-hbook .hb-step-button {
    margin-top: 28px;
}

.bme-hbook .hb-options-form,
.bme-hbook .hb-details-fields,
.bme-hbook .hb-coupons-area,
.bme-hbook .hb-summary-wrapper,
.bme-hbook .hb-payment-info-wrapper,
.bme-hbook .hb-confirm-area {
    margin-top: 24px;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid var(--bme-booking-border);
    background: var(--bme-booking-paper);
}

.bme-hbook .hb-options-multi-accoms {
    display: grid;
    gap: 12px;
}

.bme-hbook .hb-option {
    min-width: 0;
    width: 100%;
    margin: 0 !important;
    padding: clamp(16px, 2.5vw, 22px);
    border: 1px solid var(--bme-booking-border);
    border-radius: 12px;
    background: var(--bme-booking-paper);
    color: var(--bme-booking-charcoal);
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.bme-hbook .hb-option:focus-within {
    outline: 3px solid rgba(176, 141, 87, 0.38);
    outline-offset: 3px;
}

.bme-hbook .hb-option:has(input[type="checkbox"]:checked),
.bme-hbook .hb-option:has(input[type="radio"]:checked) {
    border-color: var(--bme-booking-brass);
    background: rgba(176, 141, 87, 0.1);
}

.bme-hbook .hb-option p,
.bme-hbook .hb-option small {
    color: var(--bme-booking-muted);
    line-height: 1.55;
}

.bme-hbook .hb-options-gap {
    display: none !important;
}

.bme-hbook .hb-checkbox-wrapper {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: 100%;
}

.bme-hbook .hb-checkbox-wrapper label {
    width: 100%;
    margin: 0;
    cursor: pointer;
    line-height: 1.45;
}

.bme-hbook input[type="checkbox"],
.bme-hbook input[type="radio"] {
    accent-color: var(--bme-booking-brass);
}

.bme-hbook .hb-option input[type="checkbox"],
.bme-hbook .hb-option input[type="radio"] {
    width: 22px;
    height: 22px;
    margin: 0;
    cursor: pointer;
}

.bme-hbook .hb-quantity-option > label {
    display: block;
    margin: 0 0 12px;
}

.bme-hbook__quantity-control {
    display: inline-grid;
    grid-template-columns: 50px minmax(68px, 82px) 50px;
    align-items: stretch;
    border: 1px solid var(--bme-booking-border);
    background: var(--bme-booking-paper);
}

.bme-hbook__quantity-control input[type="number"] {
    width: 100% !important;
    min-width: 0;
    min-height: 50px;
    margin: 0 !important;
    padding: 8px !important;
    border-width: 0 1px !important;
    border-color: var(--bme-booking-border) !important;
    background: transparent;
    text-align: center;
    appearance: textfield;
}

.bme-hbook__quantity-control input[type="number"]::-webkit-inner-spin-button,
.bme-hbook__quantity-control input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.bme-hbook__quantity-button {
    display: grid;
    min-width: 0;
    min-height: 50px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--bme-booking-brass-dark);
    cursor: pointer;
    font: 500 1.45rem/1 "Source Sans 3", Arial, sans-serif;
}

.bme-hbook__quantity-button:hover:not(:disabled) {
    background: rgba(176, 141, 87, 0.12);
}

.bme-hbook__quantity-button:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid rgba(176, 141, 87, 0.5);
    outline-offset: -3px;
}

.bme-hbook__quantity-button:disabled {
    color: #aaa49c;
    cursor: not-allowed;
}

.bme-hbook .hb-options-total-price {
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--bme-booking-border);
    color: var(--bme-booking-charcoal);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 600;
    text-align: right;
}

.bme-hbook .hb-options-form {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    margin-bottom: 20px;
    padding: clamp(22px, 4vw, 34px);
    border-color: rgba(43, 41, 38, 0.14);
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(43, 41, 38, 0.07);
}

.bme-hbook .hb-options-form > .hb-title {
    display: block;
    margin-bottom: 22px;
}

.bme-hbook .hb-intermediate-step-wrapper.bme-hbook-options-active {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    width: 100%;
}

.bme-hbook .bme-hbook-options-active > .hb-previous-step {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    margin: 0;
}

.bme-hbook .bme-hbook-options-active > .hb-next-step {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    margin: 0;
}

.bme-hbook .hb-details-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
    margin-top: 18px;
    padding: clamp(26px, 4vw, 38px);
    border-color: rgba(43, 41, 38, 0.14);
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(43, 41, 38, 0.06);
}

.bme-hbook .hb-details-fields > .hb-title {
    grid-column: 1 / -1;
}

.bme-hbook .hb-details-fields > p {
    min-width: 0;
    margin: 0;
}

.bme-hbook .hb-details-fields input,
.bme-hbook .hb-details-fields select,
.bme-hbook .hb-details-fields textarea {
    min-height: 54px;
    padding: 13px 15px;
}

.bme-hbook .hb-details-fields > p:has(.hb-country-iso-select),
.bme-hbook .hb-details-fields > .hb-country-iso-additional-info-wrapper {
    grid-column: 1 / -1;
}

.bme-hbook .hb-coupons-area {
    margin-top: 18px;
    padding: 20px 22px;
    border-color: rgba(43, 41, 38, 0.12);
    border-style: dashed;
    border-radius: 12px;
    background: rgba(255, 253, 249, 0.55);
    font-size: 0.92rem;
}

.bme-hbook .hb-coupons-area > p {
    margin: 8px 0 0;
    color: var(--bme-booking-muted);
    line-height: 1.5;
}

.bme-hbook .hb-coupons-area .hb-clearfix {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.bme-hbook .hb-coupons-area .hb-apply-coupon {
    min-height: 50px;
    padding: 10px 18px;
    border: 1px solid var(--bme-booking-brass);
    background: transparent;
    color: var(--bme-booking-brass-dark);
    cursor: pointer;
    font-weight: 700;
}

.bme-hbook .hb-summary-wrapper {
    margin-top: 22px;
    padding: clamp(26px, 4vw, 38px);
    border-color: rgba(176, 141, 87, 0.65);
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(43, 41, 38, 0.09);
}

.bme-hbook .hb-resa-summary {
    width: 100%;
}

.bme-hbook .hb-resa-summary-content {
    display: grid;
    gap: 14px;
    color: var(--bme-booking-charcoal);
    font-size: 1rem;
    line-height: 1.65;
}

.bme-hbook .hb-summary-total-price {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--bme-booking-border);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    font-weight: 600;
}

.bme-hbook .hb-payment-info-wrapper {
    margin-top: 22px;
    padding: clamp(26px, 4vw, 38px);
    border-color: rgba(43, 41, 38, 0.14);
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(43, 41, 38, 0.06);
}

.bme-hbook .hb-payment-type-wrapper {
    display: block;
    margin: 10px 0;
    padding: 14px 16px;
    border: 1px solid var(--bme-booking-border);
    border-radius: 10px;
    background: var(--bme-booking-paper);
    line-height: 1.5;
}

.bme-hbook .hb-payment-type-wrapper:focus-within,
.bme-hbook .hb-payment-type-wrapper:has(input:checked) {
    border-color: var(--bme-booking-brass);
    background: rgba(176, 141, 87, 0.09);
}

.bme-hbook .hb-payment-type-explanation {
    margin: 14px 0 0;
    padding: 16px 18px;
    border-left: 3px solid var(--bme-booking-brass);
    background: var(--bme-booking-cream);
    line-height: 1.55;
    padding-bottom: 16px !important;
}

.bme-hbook .hb-payment-method-wrapper {
    margin-top: 20px;
}

.bme-hbook .hb-confirm-area {
    margin-top: 22px;
    padding: clamp(24px, 4vw, 34px);
    border-color: var(--bme-booking-brass);
    border-radius: 22px;
    text-align: left;
    box-shadow: 0 12px 34px rgba(43, 41, 38, 0.06);
}

.bme-hbook .hb-terms-and-cond a,
.bme-hbook .hb-privacy-policy a {
    color: var(--bme-booking-brass) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    cursor: pointer;
}

.bme-hbook .hb-terms-and-cond a:hover,
.bme-hbook .hb-privacy-policy a:hover {
    opacity: 0.8;
}

.bme-hbook .hb-confirm-button {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin: 24px 0 0;
}

.bme-hbook .hb-confirm-button input[type="submit"] {
    min-width: min(100%, 280px);
    min-height: 56px;
}

.bme-hbook .hb-previous-step-2 {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin: 0 0 18px;
}

.bme-hbook-error {
    padding: 20px;
    border: 1px solid #8a2e24;
    color: #8a2e24;
    font-family: "Source Sans 3", Arial, sans-serif;
}

/* Native HBook calendar presentation; behavior and status text remain HBook's. */
.hb-datepick-popup {
    --bme-calendar-charcoal: #2b2926;
    --bme-calendar-cream: #f5efe6;
    --bme-calendar-brass: #b08d57;
    --bme-calendar-brass-pale: #eadcc7;
    --bme-calendar-border: #d8d0c3;
    --bme-calendar-muted: #756f67;
    color: var(--bme-calendar-charcoal);
    font-family: "Source Sans 3", Arial, sans-serif;
}

.hb-datepick-popup .hb-dp-month {
    background: #fffdf9;
    border-color: var(--bme-calendar-border);
}

.hb-datepick-popup .hb-dp-month-header {
    background: var(--bme-calendar-charcoal);
    color: var(--bme-calendar-cream);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

.hb-datepick-popup .hb-dp-week-header {
    background: var(--bme-calendar-cream);
    color: var(--bme-calendar-charcoal);
}

.hb-datepick-popup .hb-dp-day,
.hb-datepick-popup .hb-dp-day-link {
    color: var(--bme-calendar-charcoal);
}

.hb-datepick-popup .hb-day-available .hb-dp-day-link,
.hb-datepick-popup .hb-day-available.hb-dp-day-link {
    background: #fffdf9;
    color: var(--bme-calendar-charcoal);
}

.hb-datepick-popup .hb-day-available .hb-dp-day-link:hover,
.hb-datepick-popup .hb-day-available.hb-dp-day-link:hover,
.hb-datepick-popup .hb-day-available .hb-dp-day-link:focus-visible,
.hb-datepick-popup .hb-day-available.hb-dp-day-link:focus-visible {
    background: var(--bme-calendar-brass-pale);
    color: var(--bme-calendar-charcoal);
    outline: 2px solid var(--bme-calendar-brass);
    outline-offset: -2px;
}

.hb-datepick-popup .hb-dp-day-check-in .hb-dp-day-link,
.hb-datepick-popup .hb-dp-day-check-in.hb-dp-day-link,
.hb-datepick-popup .hb-dp-day-check-out .hb-dp-day-link,
.hb-datepick-popup .hb-dp-day-check-out.hb-dp-day-link,
.hb-datepick-popup .hb-dp-selected .hb-dp-day-link,
.hb-datepick-popup .hb-dp-selected.hb-dp-day-link,
.hb-datepick-popup .hb-dp-highlight .hb-dp-day-link,
.hb-datepick-popup .hb-dp-highlight.hb-dp-day-link {
    background: var(--bme-calendar-brass);
    color: var(--bme-calendar-cream);
}

.hb-datepick-popup .hb-dp-day-not-selectable,
.hb-datepick-popup .hb-dp-day-not-selectable-min-check-out,
.hb-datepick-popup .hb-dp-day-not-selectable-min-stay,
.hb-datepick-popup .hb-dp-day-not-selectable .hb-dp-day-link,
.hb-datepick-popup .hb-dp-day-not-selectable-min-check-out .hb-dp-day-link,
.hb-datepick-popup .hb-dp-day-not-selectable-min-stay .hb-dp-day-link {
    background: #eeeae4;
    color: #918b83;
    cursor: not-allowed;
    text-decoration: line-through;
}

.hb-datepick-popup .hb-dp-day-not-current-month,
.hb-datepick-popup .datepick-other-month,
.hb-datepick-popup .hb-dp-day-not-current-month .hb-dp-day-link,
.hb-datepick-popup .datepick-other-month .hb-dp-day-link {
    background: #f3f0eb;
    color: #aaa49c;
    opacity: 0.62;
}

.hb-datepick-popup .hb-dp-weekend .hb-dp-day-link,
.hb-datepick-popup .hb-dp-weekend.hb-dp-day-link {
    font-weight: 700;
}

.hb-datepick-popup .hb-dp-cmd-prev,
.hb-datepick-popup .hb-dp-cmd-next,
.hb-datepick-popup .hb-dp-cmd-close {
    color: var(--bme-calendar-cream);
}

.hb-datepick-popup .hb-dp-cmd-prev:focus-visible,
.hb-datepick-popup .hb-dp-cmd-next:focus-visible,
.hb-datepick-popup .hb-dp-cmd-close:focus-visible {
    outline: 2px solid var(--bme-calendar-brass);
    outline-offset: 2px;
}

.hb-datepick-legend,
.hb-datepick-selecting-legend {
    color: #686159;
    font-family: "Source Sans 3", Arial, sans-serif;
}

@media (max-width: 760px) {
    .bme-hbook {
        padding: 48px 14px;
    }

    .bme-hbook__progress {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .bme-hbook__progress ol {
        min-width: calc(var(--bme-booking-stage-count) * 105px);
    }

    .bme-hbook__progress-label {
        font-size: 0.7rem;
    }

    .bme-hbook .hb-search-fields,
    .bme-hbook--multi .hb-multi-accom-choices,
    .bme-hbook .hb-details-fields {
        grid-template-columns: 1fr;
    }

    .bme-hbook .hb-details-fields > .hb-title,
    .bme-hbook .hb-details-fields > p:has(.hb-country-iso-select),
    .bme-hbook .hb-details-fields > .hb-country-iso-additional-info-wrapper {
        grid-column: auto;
    }

    .bme-hbook .hb-details-fields {
        width: 100%;
        max-width: none;
        gap: 18px;
        padding: 20px 16px;
        box-sizing: border-box;
    }

    .bme-hbook .hb-details-fields > * {
        width: 100%;
        min-width: 0;
    }

    .bme-hbook .hb-details-fields input,
    .bme-hbook .hb-details-fields select,
    .bme-hbook .hb-details-fields textarea,
    .bme-hbook .hb-details-fields .selectize-control {
        width: 100% !important;
        max-width: none;
        box-sizing: border-box;
    }

    .bme-hbook .hb-coupons-area,
    .bme-hbook .hb-summary-wrapper,
    .bme-hbook .hb-payment-info-wrapper,
    .bme-hbook .hb-confirm-area {
        padding: 20px 16px;
    }

    .bme-hbook .hb-confirm-button,
    .bme-hbook .hb-confirm-button input[type="submit"] {
        width: 100%;
    }

    .bme-hbook .hb-accom {
        height: auto;
    }

    .bme-hbook .hb-accom-img {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .bme-hbook .bme-hbook__accom-content {
        flex: 0 1 auto;
        padding: 22px;
    }

    .bme-hbook .hb-select-accom-wrapper,
    .bme-hbook .bme-hbook__single-result-action {
        margin-top: 0 !important;
    }

    .bme-hbook .hb-accom-desc {
        min-height: 0;
    }

    .bme-hbook .hb-accom-price-total {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .bme-hbook .hb-intermediate-step-wrapper.bme-hbook-options-active {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bme-hbook .bme-hbook-options-active > .hb-previous-step,
    .bme-hbook .bme-hbook-options-active > .hb-next-step {
        grid-column: 1;
        justify-self: stretch;
        width: 100%;
    }

    .bme-hbook .bme-hbook-options-active > .hb-previous-step {
        grid-row: 2;
    }

    .bme-hbook .bme-hbook-options-active > .hb-next-step {
        grid-row: 3;
    }

    .bme-hbook .bme-hbook-options-active > .hb-step-button input[type="submit"] {
        width: 100%;
    }

    .bme-hbook .hb-price-breakdown,
    .bme-hbook .hb-select-accom-wrapper,
    .bme-hbook .hb-accom-selected-left-wrapper {
        grid-column: auto;
    }
}