.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.booking-modal[hidden] {
    display: none;
}

.booking-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 20, 15, 0.55);
    backdrop-filter: blur(4px);
}

.booking-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: min(92vh, 820px);
    overflow: auto;
    padding: 32px 28px 28px;
    background:
        radial-gradient(circle at top right, rgba(237, 204, 118, 0.18), transparent 42%),
        linear-gradient(180deg, #FFFCF7 0%, var(--color-bg) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 64px rgba(18, 20, 15, 0.28);
    outline: none;
}

.booking-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-bg-soft);
    transition: background var(--transition), transform var(--transition);
}

.booking-modal__close:hover {
    background: var(--color-bg-warm);
    transform: rotate(90deg);
}

.booking-modal__close span {
    position: absolute;
    width: 16px;
    height: 1.5px;
    background: var(--color-text);
    border-radius: 2px;
}

.booking-modal__close span:first-child {
    transform: rotate(45deg);
}

.booking-modal__close span:last-child {
    transform: rotate(-45deg);
}

.booking-modal__label {
    color: var(--color-gold);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.booking-modal__title {
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 31px);
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 8px;
    padding-right: 28px;
}

.booking-modal__text {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 22px;
}

.booking-modal__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.booking-modal__field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.booking-modal__field > span {
    color: var(--color-text-soft);
    font-size: 13px;
    line-height: 1.4;
}

.booking-modal__field input,
.booking-modal__field textarea,
.booking-modal__field select,
.booking-modal__input-wrap {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.booking-modal__field input,
.booking-modal__field textarea,
.booking-modal__field select {
    padding: 14px 16px;
}

.booking-modal__field textarea {
    resize: vertical;
    min-height: 88px;
}

.booking-modal__field input:focus,
.booking-modal__field textarea:focus,
.booking-modal__input-wrap:focus-within {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(180, 145, 78, 0.14);
}

.booking-modal__input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px 0 16px;
}

.booking-modal__input-wrap .icon {
    opacity: 0.55;
}

.booking-modal__input-wrap input,
.booking-modal__input-wrap select {
    border: 0;
    background: transparent;
    padding: 14px 0;
    box-shadow: none;
}

.booking-modal__input-wrap select {
    appearance: none;
    width: 100%;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238C867A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 18px;
}

.booking-modal__error {
    color: #B42318;
    font-size: 13px;
    line-height: 1.4;
    padding: 10px 12px;
    background: #FEF3F2;
    border-radius: 10px;
}

.booking-modal__flash:empty,
.booking-modal__flash[hidden] {
    display: none;
}

.booking-modal__flash .alert {
    margin: 0 0 8px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.booking-modal__flash .alert-danger {
    color: #B42318;
    background: #FEF3F2;
}

.booking-modal__flash .alert-success {
    display: none;
}

.booking-modal__flash .alert .close {
    display: none;
}

.booking-modal__flash .alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.booking-modal__submit {
    width: 100%;
    margin-top: 4px;
    padding: 16px 22px;
    background: var(--color-gold);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-pill);
}

.booking-modal__submit:hover {
    background: var(--color-gold-mid);
    box-shadow: 0 10px 24px rgba(180, 145, 78, 0.28);
}

.booking-modal__alt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
    color: var(--color-text-soft);
    font-size: 13px;
}

.booking-modal__alt a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
    font-weight: 500;
    transition: color var(--transition);
}

.booking-modal__alt a:hover {
    color: var(--color-gold);
}

.booking-modal__note {
    text-align: center;
    color: var(--color-text-faint);
    font-size: 12px;
    line-height: 1.45;
}

.booking-modal__success {
    text-align: center;
    padding: 28px 8px 8px;
}

.booking-modal__success .booking-modal__title {
    padding-right: 0;
}

.booking-modal__success .booking-modal__submit {
    margin-top: 8px;
}

.booking-modal__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition);
}

.booking-modal__whatsapp:hover {
    color: var(--color-gold);
}

body.is-booking-open {
    overflow: hidden;
}

.booking-modal__dialog--exely {
    width: min(100%, 1180px);
    max-height: min(92vh, 900px);
    padding: 28px 20px 20px;
}

.booking-modal__exely,
#be-booking-form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

#tl-booking-cart {
    z-index: 210 !important;
}
