[data-stay-booking-open] {
    font-family: inherit;
}

body.stay-dialog-open {
    overflow: hidden;
}

.stay-dialog {
    background: #fff;
    border: 1px solid #E8E3DA;
    border-radius: 16px;
    box-shadow: 0 24px 90px rgba(5, 16, 36, .28);
    color: #0A1F44;
    font-family: 'Inter', sans-serif;
    margin: auto;
    max-height: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
    overscroll-behavior: contain;
    padding: 0;
    width: min(620px, calc(100% - 32px));
}

.stay-dialog::backdrop {
    background: rgba(5, 16, 36, .72);
    backdrop-filter: blur(5px);
}

.stay-dialog [hidden] {
    display: none !important;
}

.stay-dialog-shell {
    padding: 36px;
}

.stay-dialog-header {
    position: relative;
}

.stay-eyebrow {
    color: #8A653A;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0 44px 12px 0;
    text-transform: uppercase;
}

.stay-dialog-header h2 {
    font-size: clamp(28px, 5vw, 36px);
    line-height: 1.2;
    margin: 0 36px 12px 0;
}

.stay-dialog-header [data-stay-form-description] {
    color: #647083;
    font-size: 14px;
    line-height: 1.7;
}

.stay-close {
    align-items: center;
    background: #F5F0E8;
    border: 0;
    border-radius: 50%;
    color: #0A1F44;
    cursor: pointer;
    display: flex;
    font-size: 26px;
    height: 44px;
    justify-content: center;
    position: absolute;
    right: -12px;
    top: -12px;
    width: 44px;
}

.stay-close:hover {
    background: #E8E0D4;
}

.stay-progress {
    border-bottom: 1px solid #E8E3DA;
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 24px 0;
    padding: 0 0 20px;
}

.stay-progress li {
    align-items: center;
    color: #647083;
    display: flex;
    font-size: 13px;
    gap: 9px;
}

.stay-progress span {
    align-items: center;
    background: #F5F0E8;
    border-radius: 50%;
    display: inline-flex;
    font-size: 12px;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.stay-progress [aria-current="step"] {
    color: #0A1F44;
    font-weight: 600;
}

.stay-progress [aria-current="step"] span {
    background: #0A1F44;
    color: white;
}

.stay-step {
    border: 0;
    margin: 0;
    min-width: 0;
    padding: 0;
}

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

.stay-field {
    min-width: 0;
}

.stay-field-wide {
    grid-column: 1 / -1;
}

.stay-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
}

.stay-field label span {
    color: #647083;
    font-size: 11px;
    font-weight: 400;
}

.stay-field input,
.stay-field select,
.stay-field textarea {
    background: #fff;
    border: 1px solid #CED3DB;
    border-radius: 6px;
    color: #0A1F44;
    display: block;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    min-height: 48px;
    min-width: 0;
    padding: 12px;
    width: 100%;
}

.stay-field input[type="date"] {
    appearance: none;
}

.stay-field textarea {
    resize: vertical;
}

.stay-dialog :is(input, select, textarea, button, a):focus-visible {
    outline: 3px solid #C19A6B;
    outline-offset: 3px;
}

.stay-field small {
    color: #647083;
    display: block;
    font-size: 12px;
    margin-top: 7px;
}

.stay-summary {
    background: #F5F0E8;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.7;
    margin: 22px 0;
    padding: 14px 16px;
}

[data-stay-contact-summary] {
    margin-top: 0;
}

.stay-dialog .btn {
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.5;
    margin: 0;
    padding: 15px 22px;
    text-align: center;
}

.stay-next {
    width: 100%;
}

.stay-next span {
    margin-left: 10px;
}

.stay-actions {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 18px;
}

.stay-back {
    background: none;
    border: 0;
    color: #0A1F44;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    min-height: 44px;
    padding: 8px 4px;
}

.stay-request-note,
.stay-privacy {
    color: #647083;
    font-size: 12px;
    line-height: 1.7;
    margin-top: 18px;
}

.stay-privacy {
    font-size: 11px;
    margin-top: 10px;
}

.stay-privacy a {
    color: #0A1F44;
    text-underline-offset: 3px;
}

.stay-status {
    color: #0A1F44;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 14px;
}

.stay-status:empty {
    display: none;
}

.stay-status.is-error {
    color: #A12828;
}

.stay-dialog button:disabled {
    cursor: wait;
    opacity: .65;
    transform: none;
}

.stay-honeypot {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.stay-confirmation {
    padding: 18px 0 0;
    text-align: center;
}

.stay-confirmation-icon {
    align-items: center;
    background: #EDF4EF;
    border-radius: 50%;
    color: #32714A;
    display: flex;
    font-size: 30px;
    height: 64px;
    justify-content: center;
    margin: 0 auto 18px;
    width: 64px;
}

.stay-confirmation h2 {
    font-size: clamp(25px, 5vw, 30px);
    line-height: 1.25;
    margin: 0 0 12px;
}

.stay-confirmation > p {
    color: #647083;
    font-size: 14px;
    line-height: 1.8;
}

.stay-reference {
    background: #F5F0E8;
    border-radius: 6px;
    font-size: 12px !important;
    margin: 20px 0 24px;
    overflow-wrap: anywhere;
    padding: 14px;
}

.stay-confirmation-excursions {
    align-items: center;
    background: #F7F8F5;
    border: 1px solid #E6EBE6;
    border-radius: 10px;
    display: grid;
    gap: 18px;
    grid-template-columns: 112px minmax(0, 1fr);
    padding: 16px;
    text-align: left;
}

.stay-confirmation-excursions img {
    border-radius: 7px;
    height: 112px;
    object-fit: cover;
    width: 112px;
}

.stay-confirmation-excursions h3 {
    font-size: 19px;
    line-height: 1.3;
    margin: 0 0 6px;
}

.stay-confirmation-excursions p {
    color: #647083;
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.stay-confirmation-excursions .btn {
    font-size: 11px;
    padding: 10px 14px;
}

.stay-reference strong {
    color: #0A1F44;
    font-weight: 500;
}

@media (max-width: 480px) {
    .stay-confirmation-excursions {
        gap: 12px;
        grid-template-columns: 76px minmax(0, 1fr);
        padding: 12px;
    }

    .stay-confirmation-excursions img {
        height: 76px;
        width: 76px;
    }
    .stay-dialog {
        border-radius: 12px;
        max-height: calc(100dvh - 20px);
        width: calc(100% - 20px);
    }

    .stay-dialog-shell {
        padding: 26px 20px;
    }

    .stay-progress {
        gap: 20px;
    }

    .stay-field-grid {
        gap: 16px 12px;
    }

    .stay-field:has(input[type="date"], input[type="email"], input[type="tel"]) {
        grid-column: 1 / -1;
    }

    .stay-actions {
        gap: 14px;
    }

    .stay-actions .btn {
        flex: 1;
        width: auto;
    }
}
