body.pbp-booking-open {
    overflow: hidden;
}

.pbp-booking-modal,
.pbp-booking-modal * {
    box-sizing: border-box;
}

.pbp-booking-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}

.pbp-booking-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.pbp-booking-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 12, .72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.pbp-booking-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 24px;
    outline: 0;
    background: #fff;
    color: #111;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
    font-family: Poppins, Arial, sans-serif;
    transform: translateY(16px) scale(.985);
    transition: transform .24s ease;
}

.pbp-booking-modal.is-open .pbp-booking-dialog {
    transform: translateY(0) scale(1);
}

.pbp-booking-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f3f1;
    color: #111;
    font: 400 27px/1 Arial, sans-serif;
    cursor: pointer;
}

.pbp-booking-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 48px 10px 0;
    color: #777;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
}

.pbp-booking-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffcd05;
    box-shadow: 0 0 0 5px rgba(255, 205, 5, .18);
}

.pbp-booking-dialog h2 {
    margin: 0;
    color: #111;
    font-size: clamp(25px, 4vw, 32px);
    line-height: 1.14;
    font-weight: 750;
    letter-spacing: -.035em;
}

.pbp-booking-intro {
    margin: 9px 0 20px;
    color: #707070;
    font-size: 13px;
    line-height: 1.6;
}

.pbp-booking-package {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2px 16px;
    margin-bottom: 22px;
    padding: 15px 16px;
    border: 1px solid #e8e8e5;
    border-radius: 15px;
    background: #f7f7f4;
}

.pbp-booking-package span {
    grid-column: 1 / -1;
    color: #858585;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pbp-booking-package strong {
    overflow: hidden;
    color: #111;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pbp-booking-package small {
    color: #111;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 850;
    white-space: nowrap;
}

.pbp-booking-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pbp-booking-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pbp-booking-field label {
    color: #393939;
    font-size: 12px;
    font-weight: 700;
}

.pbp-booking-field input {
    width: 100%;
    min-height: 49px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #dedede;
    border-radius: 11px;
    outline: 0;
    background: #fff;
    color: #111;
    font: 500 15px/1.4 Poppins, Arial, sans-serif;
    box-shadow: none;
}

.pbp-booking-field input:focus {
    border-color: #8b8b8b;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, .055);
}

.pbp-booking-submit {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
    padding: 13px 18px;
    border: 0;
    border-radius: 13px;
    background: #20b85a;
    color: #fff;
    font: 800 14px/1 Poppins, Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(32, 184, 90, .24);
    transition: background .2s ease, transform .2s ease;
}

.pbp-booking-submit:hover {
    background: #179d4b;
    color: #fff;
    transform: translateY(-1px);
}

.pbp-booking-submit svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.pbp-booking-note {
    margin: 11px 0 0;
    color: #8a8a8a;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 600px) {
    .pbp-booking-modal {
        align-items: center;
        padding: 12px;
    }

    .pbp-booking-dialog {
        width: 100%;
        max-height: calc(100svh - 24px);
        padding: 22px 17px 16px;
        border-radius: 21px;
        transform: translateY(18px) scale(.985);
    }

    .pbp-booking-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .pbp-booking-eyebrow {
        margin-bottom: 7px;
        font-size: 9px;
    }

    .pbp-booking-dialog h2 {
        padding-right: 36px;
        font-size: 24px;
    }

    .pbp-booking-intro {
        margin: 7px 0 14px;
        font-size: 11px;
        line-height: 1.45;
    }

    .pbp-booking-package {
        margin-bottom: 14px;
        padding: 11px 13px;
        border-radius: 13px;
    }

    .pbp-booking-package strong {
        font-size: 14px;
    }

    .pbp-booking-package small {
        font-size: 12px;
    }

    .pbp-booking-fields {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
    }

    .pbp-booking-field {
        min-width: 0;
        gap: 4px;
    }

    .pbp-booking-field label {
        font-size: 10px;
    }

    .pbp-booking-field input {
        min-width: 0;
        min-height: 44px;
        padding: 9px 10px;
        border-radius: 10px;
        font-size: 16px;
    }

    .pbp-booking-submit {
        min-height: 49px;
        margin-top: 13px;
        padding: 11px 15px;
        font-size: 13px;
    }

    .pbp-booking-note {
        margin-top: 8px;
        font-size: 9px;
        line-height: 1.4;
    }
}

@media (max-width: 600px) and (max-height: 660px) {
    .pbp-booking-dialog {
        padding-top: 17px;
        padding-bottom: 13px;
    }

    .pbp-booking-eyebrow {
        margin-bottom: 4px;
    }

    .pbp-booking-dialog h2 {
        font-size: 21px;
    }

    .pbp-booking-intro {
        margin: 4px 0 9px;
    }

    .pbp-booking-package {
        margin-bottom: 9px;
        padding: 8px 11px;
    }

    .pbp-booking-field input {
        min-height: 40px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .pbp-booking-submit {
        min-height: 44px;
        margin-top: 10px;
    }

    .pbp-booking-note {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pbp-booking-modal,
    .pbp-booking-dialog,
    .pbp-booking-submit {
        transition: none;
    }
}
