/* Booking and pricing only. Load after the preview's base styles. */
.availability-wrap {
    padding-top: 30px;
    padding-bottom: 12px;
}
.booking-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 20px;
}
.booking-intro h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(28px, 2.8vw, 38px);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.08;
    max-width: 570px;
}
.booking-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    max-width: 380px;
}
.availability-wrap form[data-mode="home"] {
    display: grid;
    grid-template-columns: minmax(135px, 1.1fr) minmax(155px, 1fr) minmax(82px, .65fr) minmax(82px, .65fr) minmax(90px, .65fr) minmax(180px, 1.15fr);
    grid-template-areas: "hall date start end guests submit";
    align-items: end;
    gap: 18px;
    padding: 18px 0 26px;
    border-top: 1px solid var(--line);
}
form[data-availability-form] .field:has([name="hall"]) { grid-area: hall; }
form[data-availability-form] .field:has([name="date"]) { grid-area: date; }
form[data-availability-form] .field:has([name="start"]) { grid-area: start; }
form[data-availability-form] .field:has([name="end"]) { grid-area: end; }
form[data-availability-form] .field:has([name="guests"]) { grid-area: guests; }
form[data-availability-form][data-mode] > button[type="submit"] { grid-area: submit; }
.availability-wrap form[data-mode="home"] .field {
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid #bcc0b3;
    min-width: 0;
    gap: 5px;
}
form[data-availability-form] .field label {
    font-size: 11px;
    text-transform: none;
    letter-spacing: .015em;
    font-weight: 500;
    color: #565b50;
}
form[data-availability-form] .field input,
form[data-availability-form] .field select {
    font-size: 16px;
    min-height: 44px;
    width: 100%;
    min-width: 0;
    padding: 5px 3px 5px 0;
    border-radius: 0;
}
form[data-availability-form] > button[type="submit"] {
    margin: 0;
    min-height: 48px;
    font-size: 13px;
    padding: 13px 17px;
    justify-content: space-between;
    gap: 12px;
    white-space: normal;
    line-height: 1.4;
}
form[data-availability-form] .field[hidden] {
    display: none !important;
}
.booking-time-hint {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.booking-prefill-note {
    margin: 18px 0;
    padding: 12px 14px;
    border-left: 3px solid var(--accent);
    background: var(--white);
    color: var(--ink);
    font-size: 13px;
    line-height: 1.6;
}
.booking-prefill-note[hidden],
.booking-time-hint[hidden] {
    display: none !important;
}
[data-result-summary] {
    margin: 14px 0 0;
    max-width: 850px;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.6;
}
[data-empty-results] {
    padding: 24px;
    margin: 20px 0;
    border: 1px solid var(--line);
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    background: var(--white);
}
.availability-status {
    font-size: 13px;
    line-height: 1.6;
}
[data-card-price] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin: 0 0 20px;
    padding: 17px 0 0;
    border-top: 1px solid var(--line);
}
[data-card-price] strong {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}
[data-card-price] span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}
.room-card[data-result="busy"] [data-card-price],
[data-card-price][data-state="error"] {
    border-top-color: #c29e8f;
}
.booking-panel {
    padding: 26px;
    min-width: 0;
}
.booking-panel > h2,
.booking-panel .booking-intro h2 {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 10px;
}
.booking-panel .booking-intro {
    display: block;
    padding-bottom: 0;
}
.booking-panel > p,
.booking-panel .booking-intro p {
    font-size: 13px;
    line-height: 1.65;
}
.booking-panel form[data-mode="hall"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "date date" "start end" "guests guests" "submit submit";
    gap: 15px;
    padding-top: 22px;
}
.booking-panel form[data-mode="hall"] .field {
    padding: 0;
    gap: 3px;
}
[data-quote] {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #c8cbbc;
}
[data-price-breakdown] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    row-gap: 9px;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}
[data-price-breakdown] dt {
    color: #5d6256;
    min-width: 0;
    overflow-wrap: anywhere;
}
[data-price-breakdown] dd {
    margin: 0;
    text-align: right;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
}
.quote-total {
    border-top: 1px solid #c8cbbc;
    margin-top: 18px;
    padding: 18px 0 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
}
.quote-total > span {
    font-size: 12px;
    color: #5d6256;
    line-height: 1.5;
}
[data-booking-total] {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 38px;
    letter-spacing: -.025em;
    line-height: 1.15;
    color: var(--ink);
    white-space: nowrap;
}
.booking-panel [data-quote] details {
    margin-top: 18px;
    border-top: 1px solid #c8cbbc;
    padding-top: 16px;
}
.booking-panel [data-quote] summary {
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}
[data-extras] {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}
[data-extras] > label,
[data-extras] .extra-row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px 10px;
    padding: 10px 0;
    border-bottom: 1px solid #cfd1c3;
    font-size: 13px;
    line-height: 1.5;
}
[data-extras] input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--accent);
}
[data-extras] .extra-price,
[data-extras] small {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: #64695c;
    margin-top: 3px;
}
[data-extras] input[type="number"],
[data-extras] .extra-quantity {
    width: 64px;
    min-height: 40px;
    padding: 6px;
    border: 1px solid #b8bdaa;
    background: var(--white);
    color: var(--ink);
    font-size: 16px;
}
[data-card-price][hidden],
[data-quote][hidden],
[data-result-summary][hidden],
[data-empty-results][hidden] { display: none !important; }

.booking-checkout-button { width: 100%; margin-top: 24px; }
[data-booking-open][hidden] { display: none !important; }
.booking-modal-overlay { position: fixed; inset: 0; z-index: 1000; background: #101510b8; padding: 28px; overflow-y: auto; display: none; }
.booking-modal-overlay.active { display: grid; place-items: center; }
.booking-modal { position: relative; width: min(100%, 540px); padding: 34px; background: #202421; color: #f5f5f1; border-radius: 4px; }
.booking-modal-close { position: absolute; right: 12px; top: 8px; background: none; color: #fff; font-size: 32px; min-width: 44px; min-height: 44px; }
.booking-modal-step { display: none; }
.booking-modal-step.active { display: block; }
.booking-modal-title { margin: 0 24px 24px 0; font-family: var(--sans); font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.booking-modal-summary { margin: 0 0 24px; padding: 18px; background: #ffffff09; border: 1px solid #ffffff26; }
.booking-modal-summary-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.booking-modal-summary-item, .booking-modal-summary-total { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; margin-top: 9px; }
.booking-modal-summary-item > span:last-child { text-align: right; }
.booking-modal-summary-total { border-top: 1px solid #ffffff26; padding-top: 13px; margin-top: 15px; font-size: 18px; font-weight: 600; }
.booking-modal-form-group { margin-top: 16px; }
.booking-modal-form-group label { display: block; font-size: 14px; margin-bottom: 8px; }
.booking-modal-form-group input { width: 100%; padding: 12px 14px; min-height: 48px; background: #fff; color: #202421; border: 1px solid #ddd; border-radius: 3px; font: inherit; }
.booking-modal-buttons { display: flex; gap: 12px; margin-top: 24px; }
.booking-modal-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; font-size: 14px; font-weight: 600; border-radius: 3px; }
.booking-modal-button-primary { background: #dbf268; color: #202421; flex: 1; }
.booking-modal-button-secondary { background: #ffffff16; color: #f5f5f1; border: 1px solid #ffffff40; }
.booking-modal-button:disabled { opacity: .55; cursor: wait; }
.booking-modal a { text-decoration: underline; text-underline-offset: 3px; }
.checkout-error, .checkout-payment-error { color: #ffd2c5; font-size: 14px; line-height: 1.6; margin: 16px 0 0; }
.checkout-error[hidden] { display: none; }
.checkout-extra-summary { margin-top: 14px; font-size: 13px; line-height: 1.6; }
.checkout-bank-link { width: 100%; margin-top: 18px; }
.checkout-payment-terms { font-size: 13px; line-height: 1.7; margin-top: 18px; color: #d3d9d3; }
.checkout-payment-amount { font-size: 28px; font-weight: 600; margin-top: 10px; }
.booking-modal-success { padding: 15px 0; text-align: center; }
.booking-modal-success-icon { color: #dbf268; font-size: 42px; }
.booking-modal-success-title { font-family: var(--sans); font-size: 27px; line-height: 1.25; margin: 16px 0; }
.booking-modal-success-text { font-size: 14px; line-height: 1.7; color: #d3d9d3; }
@media (max-width: 620px) {
    .booking-modal-overlay { padding: 14px; }
    .booking-modal { padding: 28px 20px; }
    .booking-modal-title { font-size: 26px; }
    .booking-modal-buttons { flex-wrap: wrap; }
    .booking-modal-button { flex: 1; }
}

@media (max-width: 1120px) {
    .availability-wrap form[data-mode="home"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-areas: "hall date guests" "start end submit";
        gap: 20px;
    }
    .booking-intro {
        align-items: start;
    }
    .booking-intro p {
        max-width: 330px;
    }
}
@media (max-width: 850px) {
    .booking-intro {
        display: block;
    }
    .booking-intro p {
        margin-top: 12px;
        max-width: 590px;
    }
    .booking-panel {
        padding: 22px;
    }
    .quote-total {
        display: block;
    }
    .quote-total > span,
    [data-booking-total] {
        display: block;
    }
    [data-booking-total] {
        margin-top: 7px;
    }
}
@media (max-width: 620px) {
    .availability-wrap {
        padding-top: 25px;
        padding-bottom: 5px;
    }
    .booking-intro h2 {
        font-size: 31px;
    }
    .booking-intro p {
        font-size: 14px;
    }
    .availability-wrap form[data-mode="home"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "hall hall" "date guests" "start end" "submit submit";
        gap: 17px 16px;
        padding: 17px 0 24px;
    }
    form[data-availability-form] .field label {
        font-size: 12px;
    }
    form[data-availability-form] > button[type="submit"] {
        width: 100%;
        font-size: 14px;
    }
    .booking-panel {
        position: static;
        padding: 24px 20px;
    }
    .booking-panel > h2,
    .booking-panel .booking-intro h2 {
        font-size: 29px;
    }
    [data-result-summary] {
        font-size: 13px;
    }
    [data-card-price] strong {
        font-size: 32px;
    }
    [data-price-breakdown] {
        font-size: 13px;
        gap: 9px 12px;
    }
    [data-booking-total] {
        font-size: 40px;
    }
}
