.a37-booking-open {
    overflow: hidden;
}

.a37-booking {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: inherit;
}

.a37-booking.is-open {
    display: flex;
}

.a37-booking__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
}

.a37-booking__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 48px;
    background: #fff;
    color: #111;
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
}

.a37-booking__close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.a37-booking__eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0.18em;
}

.a37-booking__title {
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 500;
    line-height: 0.98;
}

.a37-booking__product {
    margin: 20px 0 0;
    font-size: 16px;
    font-weight: 600;
}

.a37-booking__description {
    margin: 18px 0 32px;
    font-size: 15px;
    line-height: 1.55;
}

.a37-booking__form {
    display: grid;
    gap: 20px;
}

.a37-booking__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.a37-booking__field {
    display: grid;
    gap: 8px;
    margin: 0;
    font-size: 13px;
}

.a37-booking__field input {
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #bbb;
    border-radius: 0;
    outline: 0;
    background: #fff;
    color: #111;
    font: inherit;
}

.a37-booking__field input:focus {
    border-color: #111;
}

.a37-booking__field small {
    min-height: 16px;
    color: #a52121;
    font-size: 12px;
}

.a37-booking__privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

.a37-booking__privacy input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.a37-booking__privacy a {
    color: inherit;
    text-decoration: underline;
}

.a37-booking__privacy-error {
    display: block;
    min-height: 16px;
    margin-top: -14px;
    color: #a52121;
    font-size: 12px;
}

.a37-booking__general-error {
    color: #a52121;
    font-size: 13px;
    line-height: 1.45;
}

.a37-booking__submit {
    min-height: 52px;
    padding: 14px 24px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff;
    font: inherit;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.a37-booking__submit:disabled {
    cursor: wait;
    opacity: 0.65;
}

.a37-booking__success {
    text-align: left;
}

@media (max-width: 640px) {
    .a37-booking {
        align-items: flex-end;
        padding: 0;
    }

    .a37-booking__dialog {
        width: 100%;
        max-height: 92vh;
        padding: 42px 22px 24px;
    }

    .a37-booking__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
