.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    box-sizing: border-box;
}

/* Open state — centre the dialog in the viewport with breathing room. */
.booking-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.booking-modal__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(32, 18, 17, 0.6); /* --color-dark at 60% */
    cursor: pointer;
}

.booking-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 920px;
    max-height: 100%;
    overflow-y: auto;
    background: var(--color-light);
    border-radius: 4px;
    -webkit-overflow-scrolling: touch;
}

/* Its own layer, above the dialog/iframe and always visible. */
.booking-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--color-light);
    border: none;
    border-radius: 50%;
    color: var(--color-dark);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(32, 18, 17, 0.25);
    transition: opacity var(--transition);
}

.booking-modal__close:hover {
    opacity: 0.65;
}

.booking-modal__close-icon {
    display: block;
    width: 16px;
    height: 16px;
}

.booking-modal__iframe {
    display: block;
    width: 100%;
    height: 800px;
    border: 0;
}

@media (max-width: 767px) {
    .booking-modal.is-open {
        padding: 16px;
    }

    .booking-modal__dialog {
        margin-top: 15px;
    }

    .booking-modal__close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .booking-modal__close-icon {
        width: 14px;
        height: 14px;
    }

    .booking-modal__iframe {
        height: 80vh;
    }
}
