/* ================================
   Book a Flight Page (/book)
   Phase 4A — page shell & layout
   ================================ */

/* --- Accessibility Utility --- */
/* .sr-only exists in profile.css but not globally — include here for safety */
.book-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Page Container --- */
.book-page {
    padding-top: var(--sp-l);
    padding-bottom: var(--sp-xxl);
    min-height: 60vh;
}

/* --- Page Header --- */
.book-header {
    margin-bottom: var(--sp-l);
}

.book-header__title {
    font-size: var(--h4-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    margin: 0;
}

/* --- Step Progress Indicator --- */
.book-progress {
    margin-bottom: var(--sp-xl);
}

.book-progress__steps {
    display: flex;
    justify-content: center;
    gap: var(--sp-xl);
    list-style: none;
    padding: 0;
    margin: 0 0 var(--sp-sm) 0;
}

.book-progress__step {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.book-progress__step.is-active,
.book-progress__step.is-completed {
    opacity: 1;
}

.book-progress__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-circle);
    background: var(--light-grey);
    color: var(--gray);
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.book-progress__step.is-active .book-progress__number {
    background: var(--main);
    color: var(--white);
}

.book-progress__step.is-completed .book-progress__number {
    background: var(--main);
    color: var(--white);
}

.book-progress__label {
    font-size: 14px;
    color: var(--gray);
    font-weight: var(--font-weight-regular);
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.book-progress__step.is-active .book-progress__label {
    color: var(--dark-blue);
    font-weight: var(--font-weight-bold);
}

.book-progress__step.is-completed .book-progress__label {
    color: var(--main);
}

/* Progress Bar */
.book-progress__bar {
    height: 4px;
    background: var(--light-grey);
    border-radius: 2px;
    max-width: 400px;
    margin: 0 auto;
}

.book-progress__bar-fill {
    height: 100%;
    background: var(--main);
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* --- Two-Column Layout --- */
.book-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--sp-l);
    align-items: start;
}

/* --- Main Form Area --- */
.book-main {
    min-width: 0;
}

.book-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.book-step.is-hidden {
    display: none;
}

.book-step__placeholder {
    padding: var(--sp-xl);
    text-align: center;
    color: var(--gray);
    background: var(--light-grey);
    border-radius: var(--radius);
    font-size: var(--p-size);
}

/* --- Sidebar --- */
.book-sidebar__sticky {
    position: sticky;
    top: calc(64px + var(--sp-m));
}

body.has-offer-bar .book-sidebar__sticky {
    top: calc(96px + var(--sp-m));
}

.book-summary {
    background: var(--white);
    border: 1px solid var(--light-grey);
    border-radius: var(--radius);
    padding: var(--sp-ml);
}

.book-summary__title {
    font-size: var(--h6-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    margin: 0 0 var(--sp-m) 0;
    padding-bottom: var(--sp-sm);
    border-bottom: 1px solid var(--light-grey);
}

.book-summary__empty {
    color: var(--gray);
    font-size: var(--p-size);
    text-align: center;
    padding: var(--sp-l) 0;
    margin: 0;
}

/* --- Sidebar Content (Phase 4E) --- */
.book-summary__content[hidden] {
    display: none;
}

.book-summary__section {
    margin-bottom: var(--sp-m);
}

.book-summary__section:last-child {
    margin-bottom: 0;
}

.book-summary__section-title {
    font-size: var(--p-sm-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    margin: 0 0 var(--sp-sm);
    padding-bottom: var(--sp-xs);
    border-bottom: 1px solid rgba(7, 22, 43, 0.1);
}

.book-summary__details {
    margin: 0;
}

.book-summary__detail-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--sp-xs) 0;
}

.book-summary__detail-row dt {
    color: var(--gray);
    font-size: var(--p-sm-size);
}

.book-summary__detail-row dd {
    color: var(--dark-blue);
    font-weight: var(--font-weight-bold);
    font-size: var(--p-sm-size);
    margin: 0;
    text-align: right;
    max-width: 55%;
    word-break: break-word;
}

/* Pricing subsection */
.book-summary__pricing-section {
    background: var(--light-grey);
    border-radius: var(--radius);
    padding: var(--sp-sm);
}

.book-summary__pricing-list {
    margin: 0;
    background: var(--white);
    border-radius: var(--radius);
    padding: var(--sp-sm);
}

.book-summary__pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 3px 0;
}

.book-summary__pricing-row dt {
    color: var(--gray);
    font-size: var(--p-sm-size);
}

.book-summary__pricing-row dd {
    color: var(--dark-blue);
    font-weight: var(--font-weight-bold);
    font-size: var(--p-sm-size);
    margin: 0;
}

.book-summary__pricing-row--discount dt,
.book-summary__pricing-row--discount dd {
    color: var(--booking-success, #28a745);
}

.book-summary__pricing-row--subtotal {
    border-top: 1px solid var(--light-grey);
    margin-top: var(--sp-xs);
    padding-top: var(--sp-sm);
}

.book-summary__pricing-row--subtotal dt {
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
}

.book-summary__pricing-row--total {
    border-top: 2px solid var(--light-grey);
    margin-top: var(--sp-sm);
    padding-top: var(--sp-m);
}

.book-summary__pricing-row--total dt {
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
}

.book-summary__pricing-row--total dd {
    font-size: var(--h6-size);
    color: var(--main);
}

.book-summary__vat-note {
    font-size: var(--p-sm-size);
    color: var(--gray);
    text-align: right;
    margin: var(--sp-xs) 0 0;
}

/* --- Mobile Bottom Bar --- */
.book-mobile-bar {
    display: none;
}

/* --- Mobile Summary Overlay (Phase 4E) --- */
.book-mobile-summary {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    visibility: hidden;
}

.book-mobile-summary.is-open {
    pointer-events: auto;
    visibility: visible;
}

.book-mobile-summary__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-mobile-summary.is-open .book-mobile-summary__backdrop {
    opacity: 1;
}

.book-mobile-summary__drawer {
    position: relative;
    background: var(--white);
    border-radius: 16px 16px 0 0;
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

.book-mobile-summary.is-open .book-mobile-summary__drawer {
    transform: translateY(0);
}

.book-mobile-summary__handle {
    display: flex;
    justify-content: center;
    padding: var(--sp-sm) 0 0;
}

.book-mobile-summary__handle span {
    width: 36px;
    height: 4px;
    background: var(--light-grey);
    border-radius: 2px;
}

.book-mobile-summary__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-sm) var(--sp-l);
    border-bottom: 1px solid var(--light-grey);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
    border-radius: 16px 16px 0 0;
}

.book-mobile-summary__title {
    font-size: var(--h6-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    margin: 0;
}

.book-mobile-summary__close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
    padding: var(--sp-xs);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.book-mobile-summary__close:hover {
    color: var(--dark-blue);
    background: var(--light-grey);
}

.book-mobile-summary__body {
    padding: var(--sp-l);
}

/* --- Responsive: Mobile (≤799px) --- */
@media (max-width: 799px) {
    .book-header__title {
        font-size: var(--h5-size);
    }

    .book-progress__steps {
        gap: var(--sp-l);
    }

    .book-layout {
        grid-template-columns: 1fr;
    }

    .book-sidebar {
        display: none;
    }

    .book-mobile-bar {
        display: flex;
        align-items: center;
        gap: var(--sp-sm);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: var(--white);
        padding: var(--sp-sm) var(--sp-m);
        box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
        border-top: 1px solid var(--light-grey);
    }

    .book-mobile-bar__summary-toggle {
        background: none;
        border: none;
        color: var(--gray);
        padding: var(--sp-xs);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius);
        flex-shrink: 0;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    .book-mobile-bar__summary-toggle:hover {
        color: var(--main);
        background: var(--light-blue);
    }

    .book-mobile-bar__summary-toggle svg {
        transition: transform 0.3s ease;
    }

    .book-mobile-bar__info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .book-mobile-bar__label {
        font-size: var(--p-sm-size);
        color: var(--gray);
    }

    .book-mobile-bar__price {
        font-size: var(--h6-size);
        font-weight: var(--font-weight-bold);
        color: var(--dark-blue);
    }

    .book-mobile-bar__cta {
        flex-shrink: 0;
    }

    .book-mobile-summary {
        display: flex;
    }

    .book-page {
        padding-bottom: 80px;
    }
}

/* --- Responsive: Small Mobile (≤460px) --- */
@media (max-width: 460px) {
    .book-progress__steps {
        gap: var(--sp-m);
    }

    .book-progress__label {
        font-size: 12px;
    }
}

/* ================================
   Phase 4B — Step 1: Session
   ================================ */

/* --- Simulator Selection Cards (4B.1) --- */
.book-simulators {
    margin-bottom: var(--sp-l);
}

.book-simulators__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--sp-m);
    margin-bottom: var(--sp-sm);
}

.book-sim-card {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--light-grey);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.book-sim-card:hover {
    border-color: var(--main);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 109, 215, 0.15);
}

.book-sim-card:focus-visible {
    outline: 3px solid var(--accent-1);
    outline-offset: 2px;
}

.book-sim-card[aria-selected="true"] {
    border-color: var(--main);
    background: var(--light-blue);
    box-shadow: 0 4px 16px rgba(34, 109, 215, 0.2);
}

.book-sim-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--light-grey);
}

.book-sim-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-sim-card:hover .book-sim-card__image img {
    transform: scale(1.05);
}

.book-sim-card__body {
    padding: var(--sp-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.book-sim-card__name {
    font-size: var(--p-sm-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    line-height: 1.3;
}

.book-sim-card__price {
    font-size: var(--p-sm-size);
    color: var(--main);
}

.book-sim-card__badge {
    position: absolute;
    top: var(--sp-xs);
    right: var(--sp-xs);
    background: var(--accent-1);
    color: var(--white);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    padding: 2px 8px;
    border-radius: 10px;
    line-height: 1.4;
}

/* --- Experience Description (4B.4) --- */
.book-experience {
    margin-top: var(--sp-l);
    padding-top: var(--sp-l);
    border-top: 1px solid var(--light-grey);
}

.book-experience[hidden] {
    display: none;
}

.book-experience__title {
    font-size: var(--h6-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    margin: 0 0 var(--sp-sm) 0;
}

.book-experience__text {
    font-size: var(--p-size);
    color: var(--dark-blue);
    line-height: 1.6;
    white-space: pre-line;
}

/* --- Duration Picker (4B.2) --- */
.book-duration {
    margin-top: var(--sp-l);
    padding-top: var(--sp-l);
    border-top: 1px solid var(--light-grey);
}

.book-duration[hidden] {
    display: none;
}

.book-duration__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--sp-sm);
}

.book-duration__option {
    position: relative;
}

.book-duration__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.book-duration__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--light-grey);
    border-radius: var(--radius);
    padding: var(--sp-m);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.book-duration__card:hover {
    border-color: var(--main);
}

.book-duration__input:checked + .book-duration__card {
    border-color: var(--main);
    background: var(--light-blue);
}

.book-duration__input:focus-visible + .book-duration__card {
    outline: 3px solid var(--accent-1);
    outline-offset: 2px;
}

.book-duration__time {
    display: block;
    font-size: var(--h6-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
}

.book-duration__price {
    display: block;
    font-size: var(--p-size);
    font-weight: var(--font-weight-bold);
    color: var(--main);
    margin-top: var(--sp-xxs);
}

.book-duration__price-original {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.85em;
    font-weight: var(--font-weight-regular);
}

.book-duration__price-final {
    color: #28a745;
    font-weight: var(--font-weight-bold);
}

.book-duration__price-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.book-duration__discounts {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: var(--sp-xs);
}

.book-duration__discount-item {
    font-size: 0.7em;
    color: #28a745;
}

/* --- Session Breakdown (4B.3) --- */
.book-breakdown {
    margin-top: var(--sp-m);
    padding: var(--sp-sm) var(--sp-m);
    background: var(--light-blue);
    border-radius: var(--radius);
    border: 1px solid rgba(34, 109, 215, 0.1);
}

.book-breakdown[hidden] {
    display: none;
}

.book-breakdown__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-xxs) 0;
}

.book-breakdown__row + .book-breakdown__row {
    border-top: 1px solid rgba(34, 109, 215, 0.08);
}

.book-breakdown__label {
    font-size: var(--p-sm-size);
    color: var(--gray);
    text-transform: capitalize;
}

.book-breakdown__value {
    font-size: var(--p-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
}

/* --- Calendar Section (4B.5) --- */
.book-calendar-section {
    margin-top: var(--sp-l);
    padding-top: var(--sp-l);
    border-top: 1px solid var(--light-grey);
}

.book-calendar-section[hidden] {
    display: none;
}

/* Calendar Container */
.book-calendar {
    border: 1px solid var(--light-grey);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}

.book-calendar [hidden] {
    display: none !important;
}

/* Placeholder */
.book-calendar__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--sp-xl) var(--sp-l);
    text-align: center;
    color: var(--gray);
    min-height: 200px;
}

.book-calendar__placeholder svg {
    margin-bottom: var(--sp-m);
    opacity: 0.5;
}

.book-calendar__placeholder p {
    margin: 0;
    font-size: var(--p-sm-size);
}

/* Navigation */
.book-calendar__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-sm) var(--sp-m);
    background: var(--light-blue);
    border-bottom: 1px solid rgba(34, 109, 215, 0.1);
    gap: var(--sp-sm);
}

.book-calendar__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--white);
    border-radius: 8px;
    color: var(--main);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.book-calendar__nav-btn svg {
    width: 20px;
    height: 20px;
    display: block;
    pointer-events: none;
}

.book-calendar__nav-btn:hover {
    background: var(--main);
    color: var(--white);
}

.book-calendar__nav-btn:focus-visible {
    outline: 3px solid var(--accent-1);
    outline-offset: 2px;
}

.book-calendar__nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.book-calendar__nav-btn:disabled:hover {
    background: var(--white);
    color: var(--main);
}

.book-calendar__nav-center {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.book-calendar__week-label {
    font-weight: var(--font-weight-bold);
    font-size: var(--p-size);
    color: var(--dark-blue);
    white-space: nowrap;
}

.book-calendar__today-btn {
    padding: var(--sp-xxs) var(--sp-sm);
    border: 1px solid var(--main);
    background: transparent;
    border-radius: 6px;
    font-size: var(--p-sm-size);
    font-weight: var(--font-weight-bold);
    color: var(--main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.book-calendar__today-btn:hover {
    background: var(--main);
    color: var(--white);
}

.book-calendar__today-btn:focus-visible {
    outline: 3px solid var(--accent-1);
    outline-offset: 2px;
}

.book-calendar__date-picker {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Mobile Day Tabs */
.book-calendar__day-tabs {
    display: none;
    overflow-x: auto;
    gap: var(--sp-xxs);
    padding: var(--sp-sm);
    background: var(--white);
    border-bottom: 1px solid var(--light-grey);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.book-calendar__day-tabs::-webkit-scrollbar {
    display: none;
}

.book-calendar__day-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--sp-xs) var(--sp-sm);
    border: 1px solid var(--light-grey);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 56px;
    flex-shrink: 0;
}

.book-calendar__day-tab:hover {
    border-color: var(--main);
    background: var(--light-blue);
}

.book-calendar__day-tab[aria-selected="true"] {
    background: var(--main);
    border-color: var(--main);
    color: var(--white);
}

.book-calendar__day-tab:focus-visible {
    outline: 3px solid var(--accent-1);
    outline-offset: 2px;
}

.book-calendar__day-tab-name {
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.book-calendar__day-tab-date {
    font-size: var(--p-size);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

.book-calendar__day-tab--today {
    border-color: var(--accent-1);
}

.book-calendar__day-tab--today .book-calendar__day-tab-name {
    color: var(--accent-1-text);
}

.book-calendar__day-tab[aria-selected="true"] .book-calendar__day-tab-name {
    opacity: 1;
    color: inherit;
}

.book-calendar__day-tab--closed {
    opacity: 0.6;
}

.book-calendar__day-tab--closed .book-calendar__day-tab-name,
.book-calendar__day-tab--closed .book-calendar__day-tab-date {
    color: #dc2626;
}

.book-calendar__day-tab-closed {
    display: block;
    font-size: 8px;
    font-weight: 600;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.book-calendar__day-tab--beyond-limit {
    opacity: 0.6;
}

.book-calendar__day-tab--beyond-limit .book-calendar__day-tab-name,
.book-calendar__day-tab--beyond-limit .book-calendar__day-tab-date {
    color: #6b7280;
}

/* Loading State (hidden by default, shown via JS) */
.book-calendar__loading {
    display: none;
}

/* Shimmer Loading Effect */
.book-calendar--loading .book-calendar__grid-wrapper {
    position: relative;
    pointer-events: none;
}

.book-calendar--loading .book-calendar__grid {
    opacity: 0.5;
}

.book-calendar--loading .book-calendar__grid-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        -60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.7) 50%,
        transparent 70%
    );
    background-size: 300% 100%;
    animation: book-calendar-shimmer 1.8s ease-in-out infinite;
    z-index: 10;
}

@keyframes book-calendar-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Grid Wrapper */
.book-calendar__grid-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* Calendar Grid */
.book-calendar__grid {
    display: grid;
    grid-template-columns: 54px repeat(7, minmax(70px, 1fr));
    min-width: 560px;
}

.book-calendar__grid:focus {
    outline: none;
}

.book-calendar__grid:focus-visible {
    outline: 3px solid var(--accent-1);
    outline-offset: -3px;
}

/* Grid Header */
.book-calendar__header {
    display: contents;
}

.book-calendar__header-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--sp-sm) var(--sp-xs);
    background: var(--light-grey);
    font-weight: var(--font-weight-bold);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1;
}

.book-calendar__header-cell:first-child {
    background: var(--white);
    border-right: 1px solid var(--light-grey);
}

.book-calendar__header-day {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
    margin-bottom: 2px;
}

.book-calendar__header-date {
    font-size: var(--p-size);
    color: var(--dark-blue);
    line-height: 1.2;
}

.book-calendar__header-cell--today {
    background: var(--light-blue);
}

.book-calendar__header-cell--today .book-calendar__header-date {
    color: var(--main);
}

.book-calendar__header-cell--closed {
    opacity: 0.6;
}

.book-calendar__header-cell--closed .book-calendar__header-day,
.book-calendar__header-cell--closed .book-calendar__header-date {
    color: #dc2626;
}

.book-calendar__header-cell--closure {
    background: #fef2f2;
}

.book-calendar__header-closed {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.book-calendar__header-cell--beyond-limit {
    opacity: 0.6;
}

.book-calendar__header-cell--beyond-limit .book-calendar__header-day,
.book-calendar__header-cell--beyond-limit .book-calendar__header-date {
    color: #6b7280;
}

/* Grid Rows */
.book-calendar__row {
    display: contents;
}

/* Time Labels */
.book-calendar__time-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-xs);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    color: var(--gray);
    background: var(--white);
    border-right: 1px solid var(--light-grey);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    left: 0;
    z-index: 1;
}

/* Time Slots */
.book-calendar__slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.03);
    background: var(--white);
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    font-size: 0;
    padding: 0;
}

.book-calendar__slot:last-child {
    border-right: none;
}

/* Available Slots */
.book-calendar__slot--available:hover {
    background: var(--light-blue);
}

.book-calendar__slot--available:focus-visible {
    outline: 2px solid var(--main);
    outline-offset: -2px;
    z-index: 2;
}

/* Booked Slots */
.book-calendar__slot--booked {
    background: var(--main);
    cursor: not-allowed;
    color: var(--white);
}

.book-calendar__slot--booked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    opacity: 0.8;
}

/* Past Slots */
.book-calendar__slot--past {
    background: repeating-linear-gradient(
        -45deg,
        #e5e7eb,
        #e5e7eb 3px,
        #d1d5db 3px,
        #d1d5db 6px
    );
    cursor: not-allowed;
    position: relative;
}

/* Closed Day Slots */
.book-calendar__slot--closed {
    background: #fef2f2;
    cursor: not-allowed;
    opacity: 0.6;
}

.book-calendar__slot--closed::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #dc2626;
    transform: translateY(-50%);
    opacity: 0.6;
}

/* Outside Working Hours */
.book-calendar__slot--outside-hours {
    background: repeating-linear-gradient(
        -45deg,
        #e5e7eb,
        #e5e7eb 3px,
        #d1d5db 3px,
        #d1d5db 6px
    );
    cursor: not-allowed;
    position: relative;
}

/* Beyond Advance Limit */
.book-calendar__slot--beyond-limit {
    background: repeating-linear-gradient(
        -45deg,
        #e5e7eb,
        #e5e7eb 3px,
        #d1d5db 3px,
        #d1d5db 6px
    );
    cursor: not-allowed;
    position: relative;
}

/* Duration Blocked */
.book-calendar__slot--duration-blocked {
    background: repeating-linear-gradient(
        -45deg,
        #e5e7eb,
        #e5e7eb 3px,
        #d1d5db 3px,
        #d1d5db 6px
    ) !important;
    cursor: not-allowed !important;
    position: relative;
}

/* Selected Slot */
.book-calendar__slot--selected {
    background: var(--main) !important;
    opacity: 1 !important;
}

.book-calendar__slot--selected::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
}

.book-calendar__slot--selected::after {
    display: none;
}

/* Hover Range (Valid) */
.book-calendar__slot--hover-range {
    background: var(--light-blue) !important;
    position: relative;
}

.book-calendar__slot--hover-range::before {
    content: '';
    position: absolute;
    inset: 2px;
    border: 2px dashed var(--main);
    border-radius: 2px;
    opacity: 0.6;
}

/* Hover Range (Invalid) */
.book-calendar__slot--hover-invalid {
    background: rgba(220, 38, 38, 0.15) !important;
    position: relative;
    cursor: not-allowed !important;
}

.book-calendar__slot--hover-invalid::before {
    content: '';
    position: absolute;
    inset: 2px;
    border: 2px dashed #dc2626;
    border-radius: 2px;
    opacity: 0.8;
}

/* Today Column Highlight */
.book-calendar__slot--today {
    background: rgba(34, 109, 215, 0.03);
}

.book-calendar__slot--today.book-calendar__slot--available:hover {
    background: var(--light-blue);
}

/* Unavailable states override today's highlight */
.book-calendar__slot--today.book-calendar__slot--past,
.book-calendar__slot--today.book-calendar__slot--outside-hours,
.book-calendar__slot--today.book-calendar__slot--closed,
.book-calendar__slot--today.book-calendar__slot--beyond-limit {
    background: repeating-linear-gradient(
        -45deg,
        #e5e7eb,
        #e5e7eb 3px,
        #d1d5db 3px,
        #d1d5db 6px
    );
}

/* Tooltips */
.book-calendar__tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-blue);
    color: var(--white);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    box-shadow: 0 4px 12px rgba(7, 22, 43, 0.25);
}

.book-calendar__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--dark-blue);
}

.book-calendar__slot:hover .book-calendar__tooltip {
    opacity: 1;
    visibility: visible;
}

.book-calendar__slot:first-child .book-calendar__tooltip {
    left: 0;
    transform: translateX(0);
}

.book-calendar__slot:first-child .book-calendar__tooltip::after {
    left: 15px;
    transform: translateX(0);
}

.book-calendar__slot:last-child .book-calendar__tooltip {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.book-calendar__slot:last-child .book-calendar__tooltip::after {
    left: auto;
    right: 15px;
    transform: translateX(0);
}

/* Invalid hover tooltip */
.book-calendar__slot--hover-invalid .book-calendar__tooltip {
    opacity: 1;
    visibility: visible;
    background: #dc2626;
}

.book-calendar__slot--hover-invalid .book-calendar__tooltip::after {
    border-top-color: #dc2626;
}

/* Empty State */
.book-calendar__empty {
    padding: var(--sp-xl) var(--sp-l);
    text-align: center;
    color: var(--gray);
}

.book-calendar__empty p {
    margin: 0;
}

/* Legend */
.book-calendar__legend {
    display: flex;
    justify-content: center;
    gap: var(--sp-m);
    padding: var(--sp-sm) var(--sp-m);
    background: var(--light-grey);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.book-calendar__legend-item {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    font-size: var(--p-sm-size);
    color: var(--gray);
}

.book-calendar__legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.book-calendar__legend-dot--available {
    background: var(--white);
    border: 1px solid var(--light-grey);
}

.book-calendar__legend-dot--booked {
    background: repeating-linear-gradient(
        -45deg,
        var(--light-grey),
        var(--light-grey) 1px,
        #f0f0f0 1px,
        #f0f0f0 3px
    );
    position: relative;
}

.book-calendar__legend-dot--booked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 2px;
    right: 2px;
    height: 1px;
    background: var(--gray);
    transform: translateY(-50%);
}

.book-calendar__legend-dot--selected {
    background: var(--main);
}

/* --- Step Actions --- */
.book-step__actions {
    margin-top: var(--sp-l);
    padding-top: var(--sp-l);
    border-top: 1px solid var(--light-grey);
    display: flex;
    justify-content: flex-end;
}

.book-step__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ================================
   Phase 4C — Step 2: Options
   ================================ */

/* --- Step Title --- */
.book-step__title {
    font-size: var(--h5-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    margin: 0;
}

/* --- Experience Mode Selector (4C.1) --- */
.book-experience-mode {
    margin-top: var(--sp-l);
    padding-top: var(--sp-l);
    border-top: 1px solid var(--light-grey);
}

.book-experience-mode[hidden] {
    display: none;
}

.book-experience-mode__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-m);
}

.book-experience-mode__option {
    position: relative;
}

.book-experience-mode__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.book-experience-mode__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--light-grey);
    border-radius: var(--radius);
    padding: var(--sp-m);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.book-experience-mode__card:hover {
    border-color: var(--main);
}

.book-experience-mode__input:checked + .book-experience-mode__card {
    border-color: var(--main);
    background: var(--light-blue);
}

.book-experience-mode__input:focus-visible + .book-experience-mode__card {
    outline: 3px solid var(--accent-1);
    outline-offset: 2px;
}

.book-experience-mode__title {
    display: block;
    font-size: var(--p-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
}

.book-experience-mode__desc {
    display: block;
    font-size: var(--p-sm-size);
    color: var(--gray);
    margin-top: var(--sp-xxs);
}

.book-experience-mode__surcharge {
    display: inline-block;
    margin-top: var(--sp-xs);
    font-size: var(--p-sm-size);
    font-weight: var(--font-weight-bold);
    color: var(--main);
    background: rgba(34, 109, 215, 0.08);
    padding: 2px 10px;
    border-radius: 10px;
}

/* --- Guest Selector (4C.2) --- */
.book-guests {
    margin-top: var(--sp-l);
    padding-top: var(--sp-l);
    border-top: 1px solid var(--light-grey);
}

.book-guests__selector {
    display: flex;
    align-items: center;
    gap: var(--sp-m);
    max-width: 200px;
}

.book-guests__btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--light-grey);
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
    color: var(--dark-blue);
    padding: 0;
    flex-shrink: 0;
}

.book-guests__btn:hover {
    border-color: var(--main);
    color: var(--main);
}

.book-guests__btn:focus-visible {
    outline: 3px solid var(--accent-1);
    outline-offset: 2px;
}

.book-guests__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.book-guests__btn:disabled:hover {
    border-color: var(--light-grey);
    color: var(--dark-blue);
}

.book-guests__input {
    width: 60px;
    text-align: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--h6-size);
    -moz-appearance: textfield;
}

.book-guests__input::-webkit-outer-spin-button,
.book-guests__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- Photographer Add-on (4C.3) --- */
.book-photographer {
    margin-top: var(--sp-l);
    padding-top: var(--sp-l);
    border-top: 1px solid var(--light-grey);
}

.book-photographer__card {
    border: 2px solid var(--light-grey);
    border-radius: var(--radius);
    padding: var(--sp-m);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.book-photographer__card:has(input:checked) {
    border-color: var(--main);
    background-color: var(--light-blue);
}

.book-photographer__label {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-m);
    cursor: pointer;
}

.book-photographer__checkbox {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--main);
}

.book-photographer__checkbox:focus-visible {
    outline: 3px solid var(--accent-1);
    outline-offset: 2px;
}

.book-photographer__content {
    flex: 1;
}

.book-photographer__title {
    display: block;
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    margin-bottom: var(--sp-xxs);
}

.book-photographer__desc {
    display: block;
    font-size: var(--p-sm-size);
    color: var(--gray);
}

.book-photographer__price {
    font-weight: var(--font-weight-bold);
    color: var(--main);
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- Aircraft Configuration (4C.4) --- */
.book-aircraft {
    margin-top: var(--sp-l);
    padding-top: var(--sp-l);
    border-top: 1px solid var(--light-grey);
}

.book-aircraft[hidden] {
    display: none;
}

/* --- Special Requests (4C.5) --- */
.book-notes {
    margin-top: var(--sp-l);
    padding-top: var(--sp-l);
    border-top: 1px solid var(--light-grey);
}

.book-notes__footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: var(--sp-xs);
}

.book-notes__counter {
    font-size: var(--p-sm-size);
    color: var(--gray);
    margin-left: auto;
}

.book-notes__counter--warn {
    color: #dc2626;
    font-weight: var(--font-weight-bold);
}

/* --- Optional Tag --- */
.book-optional {
    font-size: var(--p-sm-size);
    font-weight: var(--font-weight-regular);
    color: var(--gray);
    margin-left: var(--sp-xs);
}

/* --- Step Actions: Back + Continue layout --- */
.book-step__actions--between {
    justify-content: space-between;
}

/* ================================
   Phase 4B — Responsive
   ================================ */

/* Calendar: Tablet */
@media (max-width: 900px) {
    .book-calendar__grid {
        grid-template-columns: 48px repeat(7, minmax(60px, 1fr));
        min-width: 480px;
    }

    .book-calendar__header-cell {
        padding: var(--sp-xs);
    }

    .book-calendar__slot {
        min-height: 28px;
    }

    .book-calendar__legend {
        flex-wrap: wrap;
        gap: var(--sp-sm);
    }
}

/* --- Responsive: Mobile (≤799px) --- */
@media (max-width: 799px) {
    .book-simulators__grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    /* Phase 4C */
    .book-experience-mode__options {
        grid-template-columns: 1fr;
    }
}

/* Calendar: Mobile — Single Day View */
@media (max-width: 640px) {
    .book-calendar__day-tabs {
        display: flex;
    }

    .book-calendar__grid-wrapper {
        overflow-x: visible;
    }

    .book-calendar__grid {
        grid-template-columns: 54px 1fr;
        min-width: auto;
    }

    .book-calendar__header-cell:not(:first-child):not(.book-calendar__header-cell--active) {
        display: none;
    }

    .book-calendar__slot:not(.book-calendar__slot--active-day) {
        display: none;
    }

    .book-calendar__slot--active-day {
        min-height: 40px;
    }

    .book-calendar__nav-center {
        flex-direction: column;
        gap: var(--sp-xxs);
    }

    .book-calendar__week-label {
        font-size: var(--p-sm-size);
    }

    .book-calendar__legend {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-xs);
    }
}

/* --- Responsive: Small Mobile (≤460px) --- */
@media (max-width: 460px) {
    .book-simulators__grid {
        grid-template-columns: 1fr;
    }

    /* Phase 4C */
    .book-guests__btn {
        width: 40px;
        height: 40px;
    }

    .book-photographer__label {
        flex-wrap: wrap;
    }

    .book-photographer__price {
        margin-left: auto;
    }
}

/* Calendar: Very Small Screens */
@media (max-width: 380px) {
    .book-calendar__nav {
        padding: var(--sp-xs);
    }

    .book-calendar__nav-btn {
        width: 32px;
        height: 32px;
    }

    .book-calendar__day-tab {
        min-width: 48px;
        padding: var(--sp-xxs) var(--sp-xs);
    }
}

/* ================================
   Reduced Motion
   ================================ */
@media (prefers-reduced-motion: reduce) {
    .book-progress__bar-fill,
    .book-progress__step,
    .book-progress__number,
    .book-progress__label,
    .book-sim-card,
    .book-sim-card__image img,
    .book-duration__card,
    .book-calendar__nav-btn,
    .book-calendar__today-btn,
    .book-calendar__day-tab,
    .book-calendar__slot,
    .book-calendar__tooltip,
    .book-experience-mode__card,
    .book-photographer__card,
    .book-guests__btn {
        transition: none;
    }

    .book-calendar__spinner {
        animation: none;
    }

    /* Phase 4E */
    .book-mobile-summary__backdrop,
    .book-mobile-summary__drawer,
    .book-mobile-summary__close,
    .book-mobile-bar__summary-toggle,
    .book-mobile-bar__summary-toggle svg {
        transition: none;
    }
}

/* ================================
   High Contrast
   ================================ */
@media (prefers-contrast: more) {
    .book-calendar {
        border-width: 2px;
    }

    .book-calendar__slot--selected {
        outline: 3px solid var(--black, #000);
    }

    .book-calendar__slot--booked {
        background: var(--main);
    }

    .book-calendar__slot--booked::after {
        color: var(--white);
    }

    /* Phase 4C */
    .book-experience-mode__input:checked + .book-experience-mode__card {
        outline: 3px solid var(--black, #000);
    }

    .book-photographer__card:has(input:checked) {
        outline: 3px solid var(--black, #000);
    }

    /* Phase 4D */
    .book-confirm__payment-radio:checked + .book-confirm__payment-card {
        outline: 3px solid var(--black, #000);
    }

    .book-confirm__terms-checkbox:checked {
        outline: 3px solid var(--black, #000);
    }

    /* Phase 4E */
    .book-summary__section-title {
        border-bottom-width: 2px;
    }

    .book-summary__pricing-row--total {
        border-top-width: 3px;
    }

    .book-mobile-summary__drawer {
        border: 2px solid var(--black, #000);
    }
}

/* ================================
   Phase 4D: Confirm & Pay Step
   ================================ */

/* ---------- Gate (Auth / Phone) ---------- */
.book-confirm__gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--sp-xl) var(--sp-l);
    background: var(--light-grey);
    border-radius: var(--radius);
}

.book-confirm__gate-icon {
    color: var(--main);
    margin-bottom: var(--sp-l);
}

.book-confirm__gate-title {
    font-size: var(--h5-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    margin: 0 0 var(--sp-sm);
}

.book-confirm__gate-message {
    color: var(--booking-muted, #6b7280);
    font-size: var(--p-size);
    margin: 0 0 var(--sp-l);
    max-width: 440px;
    line-height: 1.6;
}

.book-confirm__gate-actions {
    display: flex;
    gap: var(--sp-m);
    flex-wrap: wrap;
    justify-content: center;
}

.book-confirm__gate-helper {
    margin-top: var(--sp-m);
    font-size: var(--p-sm-size);
    color: var(--booking-muted, #6b7280);
}

/* ---------- Section Title ---------- */
.book-confirm__title {
    font-size: var(--h5-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    margin: 0 0 var(--sp-l);
}

.book-confirm__section-heading {
    font-size: var(--p-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    margin: 0 0 var(--sp-m);
    padding-bottom: var(--sp-sm);
    border-bottom: 1px solid rgba(7, 22, 43, 0.1);
}

/* ---------- Booking Summary ---------- */
.book-confirm__summary {
    background: var(--light-grey);
    border-radius: var(--radius);
    padding: var(--sp-l);
    margin-bottom: var(--sp-l);
}

.book-confirm__details {
    margin: 0;
}

.book-confirm__detail-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--sp-xs) 0;
}

.book-confirm__detail-row dt {
    color: var(--booking-muted, #6b7280);
    font-size: var(--p-size);
}

.book-confirm__detail-row dd {
    color: var(--dark-blue);
    font-weight: var(--font-weight-bold);
    margin: 0;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* ---------- Pricing Breakdown ---------- */
.book-confirm__pricing {
    background: var(--light-grey);
    border-radius: var(--radius);
    padding: var(--sp-l);
    margin-bottom: var(--sp-l);
}

.book-confirm__pricing .book-confirm__section-heading {
    margin-bottom: var(--sp-sm);
}

.book-confirm__pricing-list {
    margin: 0;
    background: var(--white);
    border-radius: var(--radius);
    padding: var(--sp-m);
}

.book-confirm__pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--sp-xs) 0;
}

.book-confirm__pricing-row dt {
    color: var(--booking-muted, #6b7280);
}

.book-confirm__pricing-row dd {
    color: var(--dark-blue);
    font-weight: var(--font-weight-bold);
    margin: 0;
}

.book-confirm__pricing-row--discount dt,
.book-confirm__pricing-row--discount dd {
    color: var(--booking-success, #28a745);
}

.book-confirm__pricing-row--subtotal {
    border-top: 1px solid var(--light-grey);
    margin-top: var(--sp-xs);
    padding-top: var(--sp-sm);
}

.book-confirm__pricing-row--subtotal dt {
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
}

.book-confirm__pricing-row--total {
    border-top: 2px solid var(--light-grey);
    margin-top: var(--sp-sm);
    padding-top: var(--sp-m);
}

.book-confirm__pricing-row--total dt {
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
}

.book-confirm__pricing-row--total dd {
    font-size: var(--h6-size);
    color: var(--main);
}

.book-confirm__vat-note {
    font-size: var(--p-sm-size);
    color: var(--booking-muted, #6b7280);
    margin: var(--sp-sm) 0 0;
    text-align: right;
}

/* ---------- Payment Options ---------- */
.book-confirm__payment {
    margin-top: var(--sp-l);
    padding-top: var(--sp-l);
    border-top: 1px solid var(--light-grey);
}

.book-confirm__payment-title {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    font-size: var(--h6-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    margin: 0 0 var(--sp-xs);
}

.book-confirm__payment-title svg {
    color: var(--main);
    flex-shrink: 0;
}

.book-confirm__payment-title .required {
    color: var(--booking-error, #dc3545);
    margin-left: auto;
}

.book-confirm__payment-subtitle {
    color: var(--booking-muted, #6b7280);
    font-size: var(--p-size);
    margin: 0 0 var(--sp-l);
}

.book-confirm__payment-options {
    display: flex;
    flex-direction: column;
    gap: var(--sp-m);
}

.book-confirm__payment-option {
    position: relative;
    cursor: pointer;
}

.book-confirm__payment-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.book-confirm__payment-card {
    padding: var(--sp-m) var(--sp-l);
    border: 2px solid var(--light-grey);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.book-confirm__payment-option:hover .book-confirm__payment-card {
    border-color: var(--main);
}

.book-confirm__payment-radio:checked + .book-confirm__payment-card {
    border-color: var(--main);
    background: var(--light-blue);
    box-shadow: 0 4px 16px rgba(34, 109, 215, 0.15);
}

.book-confirm__payment-radio:focus-visible + .book-confirm__payment-card {
    outline: 3px solid var(--accent-1);
    outline-offset: 2px;
}

.book-confirm__payment-card-header {
    display: flex;
    align-items: center;
    gap: var(--sp-m);
    margin-bottom: var(--sp-sm);
}

.book-confirm__payment-card-check {
    flex-shrink: 0;
    color: var(--light-grey);
    transition: color 0.2s ease;
}

.book-confirm__payment-card-check svg {
    display: block;
}

.book-confirm__payment-card-dot {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.book-confirm__payment-radio:checked + .book-confirm__payment-card .book-confirm__payment-card-check {
    color: var(--main);
}

.book-confirm__payment-radio:checked + .book-confirm__payment-card .book-confirm__payment-card-dot {
    opacity: 1;
}

.book-confirm__payment-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-xs);
}

.book-confirm__payment-card-title {
    font-weight: var(--font-weight-bold);
    font-size: var(--p-size);
    color: var(--dark-blue);
}

.book-confirm__payment-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.book-confirm__payment-card-badge--recommended {
    background: var(--booking-success-bg, #d4edda);
    color: #1a472a;
}

.book-confirm__payment-amount {
    font-size: var(--h5-size);
    font-weight: var(--font-weight-bold);
    color: var(--main);
    white-space: nowrap;
}

.book-confirm__payment-card-desc {
    color: var(--booking-muted, #6b7280);
    font-size: var(--p-sm-size);
    margin: 0;
    line-height: 1.5;
}

.book-confirm__payment-remaining {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    margin-top: var(--sp-sm);
    padding-top: var(--sp-sm);
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    font-size: var(--p-sm-size);
    color: var(--booking-muted, #6b7280);
}

.book-confirm__payment-remaining strong {
    color: var(--dark-blue);
}

/* ---------- Secure Notice ---------- */
.book-confirm__secure {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    margin-top: var(--sp-l);
    padding: var(--sp-m);
    background: linear-gradient(135deg, rgba(34, 109, 215, 0.05) 0%, rgba(40, 167, 69, 0.05) 100%);
    border-radius: var(--radius);
    font-size: var(--p-sm-size);
    color: var(--booking-muted, #6b7280);
}

.book-confirm__secure svg {
    flex-shrink: 0;
    color: var(--booking-success, #28a745);
}

/* ---------- Terms Checkbox ---------- */
.book-confirm__terms {
    margin-top: var(--sp-l);
}

.book-confirm__terms-label {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-sm);
    cursor: pointer;
    font-size: var(--p-size);
    color: var(--dark-blue);
    line-height: 1.5;
}

.book-confirm__terms-checkbox {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--main);
}

/* ---------- Payment Responsive ---------- */
@media (min-width: 640px) {
    .book-confirm__payment-options {
        flex-direction: row;
        gap: var(--sp-l);
    }

    .book-confirm__payment-option {
        flex: 1;
    }

    .book-confirm__payment-card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .book-confirm__payment-card-header {
        flex-wrap: wrap;
    }

    .book-confirm__payment-amount {
        width: 100%;
        margin-top: var(--sp-xs);
    }

    .book-confirm__payment-card-desc {
        flex: 1;
    }
}

@media (max-width: 460px) {
    .book-confirm__gate {
        padding: var(--sp-l) var(--sp-m);
    }

    .book-confirm__summary,
    .book-confirm__pricing {
        padding: var(--sp-m);
    }

    .book-confirm__payment-card {
        padding: var(--sp-m);
    }

    .book-confirm__payment-amount {
        font-size: var(--h6-size);
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .book-confirm__payment-card {
        transition: none;
    }

    .book-confirm__payment-card-check,
    .book-confirm__payment-card-dot {
        transition: none;
    }
}
