
.booking-page {
    min-height: 75vh;
    padding: 65px 7% 90px;
    background: var(--cream);
}

.booking-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.booking-heading h1 {
    margin: 12px 0;
    font-size: clamp(36px, 5vw, 52px);
    letter-spacing: -1.5px;
}

.booking-heading > p:last-child {
    color: var(--muted);
    line-height: 1.8;
}

.back-link {
    font-size: 14px;
    font-weight: 600;
}

.back-link:hover {
    color: var(--gold-dark);
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    align-items: start;
    gap: 28px;
    max-width: 1150px;
    margin: auto;
}

.booking-form {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.booking-card,
.booking-summary {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: white;
}

.step-label {
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.booking-card h2,
.booking-summary h2 {
    margin: 8px 0 24px;
    font-size: 23px;
}

.booking-card label {
    display: block;
    margin: 20px 0 8px;
    font-size: 13px;
    font-weight: 700;
}

.booking-card input,
.booking-card select,
.booking-card textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #d8dee8;
    border-radius: 7px;
    background: white;
    color: var(--navy);
    font: inherit;
    font-size: 14px;
}

.booking-card input:focus,
.booking-card select:focus,
.booking-card textarea:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
}

.booking-card textarea {
    resize: vertical;
}

.field-note {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.time-slot {
    padding: 10px 14px;
    border: 1px solid #d8dee8;
    border-radius: 7px;
    background: white;
    color: var(--navy);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.time-slot:hover,
.time-slot.selected {
    border-color: var(--gold-dark);
    background: #f8f2e4;
}

.time-slot:focus-visible {
    outline: 2px solid var(--gold-dark);
    outline-offset: 2px;
}

.submit-booking {
    width: 100%;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.booking-summary {
    position: sticky;
    top: 100px;
    padding: 28px;
}

.booking-summary .eyebrow {
    margin: 0;
}

.summary-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.summary-row span {
    color: var(--muted);
    font-size: 12px;
}

.summary-row strong {
    font-size: 14px;
    overflow-wrap: anywhere;
}

.summary-total {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 22px;
}

.summary-total span {
    color: var(--muted);
    font-size: 13px;
}

.summary-total strong {
    color: var(--navy);
    font-size: 27px;
}

.booking-footer {
    grid-template-columns: 1fr auto;
}

@media (max-width: 800px) {
    .booking-page {
        padding: 45px 5% 65px;
    }

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-summary {
        position: static;
        grid-row: 1;
    }

    .booking-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .booking-card,
    .booking-summary {
        padding: 21px;
    }

    .booking-heading h1 {
        font-size: 36px;
    }

    .navbar {
        gap: 12px;
    }

    .back-link {
        font-size: 12px;
    }
}

.time-slot {
    cursor: pointer;
    padding: 0.75rem 1rem;
    border: 1px solid #d8bc7a;
    border-radius: 8px;
    background: #ffffff;
    color: #101d35;
    transition: background 0.2s, color 0.2s;
}

.time-slot:hover,
.time-slot.selected {
    background: #101d35;
    color: #ffffff;
}

.time-slot:focus-visible {
    outline: 2px solid #b99a55;
    outline-offset: 3px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.75rem 0;
}


.time-slot-button {
    padding: 12px 18px;
    margin: 5px;
    border: 1px solid #D8BC7A;
    border-radius: 8px;
    background: #FFFFFF;
    color: #101D35;
    font: inherit;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.time-slot-button:hover,
.time-slot-button.selected {
    background: #101D35;
    color: #FFFFFF;
}

.time-slot-button:focus-visible {
    outline: 3px solid #D8BC7A;
    outline-offset: 3px;
}

.booking-message {
    margin-top: 20px;
}

.booking-message.error {
    color: #A32121;
}

.booking-message.success {
    padding: 18px;
    border: 1px solid #D8BC7A;
    border-radius: 10px;
    color: #101D35;
}

.booking-success h3 {
    margin-top: 0;
}


/* Booking form and summary layout */
.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    align-items: start;
    gap: 32px;
}

.booking-form,
.booking-summary {
    min-width: 0;
}

.booking-summary {
    display: block;
    visibility: visible;
    opacity: 1;
    background: #FFFFFF;
    color: #101D35;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid #E5E7EB;
    align-self: start;
}

.booking-summary h2 {
    margin-top: 0;
}

.summary-row,
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
}

.summary-row strong,
.price-row strong {
    text-align: right;
    overflow-wrap: anywhere;
}

.price-row:first-of-type {
    margin-top: 12px;
}

@media (max-width: 800px) {
    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-summary {
        width: 100%;
        box-sizing: border-box;
    }
}
