.heevan-sticky-booking {
    --heevan-booking-accent: var(--primary-color, #a33b27);
    --heevan-booking-accent-rgb: var(--primary-color-rgb, 163, 59, 39);
    --heevan-booking-ink: #241513;
    --heevan-booking-muted: rgba(36, 21, 19, 0.62);
    --heevan-booking-surface: rgba(255, 252, 248, 0.96);
    --heevan-booking-line: rgba(163, 59, 39, 0.14);
    position: fixed;
    right: 0;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 0;
    z-index: 2147483000;
    width: min(880px, calc(100vw - 24px));
    margin: 0 auto;
    pointer-events: none;
    transform: translateY(14px);
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

body.heevan-sticky-booking-is-ready .heevan-sticky-booking {
    transform: translateY(0);
    opacity: 1;
}

body.heevan-sticky-booking-is-ready {
    padding-bottom: 76px;
}

body.heevan-sticky-booking-is-ready #back-to-top {
    bottom: 84px;
}

.heevan-sticky-booking__panel {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(136px, 1fr) minmax(136px, 1fr) minmax(112px, 0.72fr) minmax(112px, 0.72fr) minmax(112px, auto);
    gap: 5px;
    align-items: stretch;
    min-height: 56px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 5px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 243, 0.94) 100%),
        var(--heevan-booking-surface);
    box-shadow:
        0 14px 34px rgba(34, 17, 16, 0.2),
        0 5px 14px rgba(34, 17, 16, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
    pointer-events: auto;
}

.heevan-sticky-booking__mobile-trigger,
.heevan-sticky-booking__backdrop,
.heevan-sticky-booking__modal-head {
    display: none;
}

.heevan-sticky-booking__field,
.heevan-sticky-booking__submit {
    min-width: 0;
    min-height: 46px;
    border-radius: 5px;
}

.heevan-sticky-booking__field {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 6px 8px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.78);
    color: var(--heevan-booking-ink);
    transition: border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.heevan-sticky-booking__field:focus-within,
.heevan-sticky-booking__field:hover {
    border-color: var(--heevan-booking-line);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 0 0 1px rgba(var(--heevan-booking-accent-rgb), 0.05);
}

.heevan-sticky-booking__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 10px;
    background: rgba(var(--heevan-booking-accent-rgb), 0.09);
    color: var(--heevan-booking-accent);
    font-size: 13px;
}

.heevan-sticky-booking__copy {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.heevan-sticky-booking__label {
    display: block;
    overflow: hidden;
    color: var(--heevan-booking-ink);
    font-family: var(--title-font), Georgia, "Times New Roman", serif;
    font-size: clamp(13px, 1.08vw, 16px);
    font-weight: 400;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.heevan-sticky-booking input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--heevan-booking-muted);
    font-family: var(--body-font), Helvetica, Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.2;
    color-scheme: light;
}

.heevan-sticky-booking input[type="date"] {
    min-height: 16px;
    padding: 0;
}

.heevan-sticky-booking input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.52;
}

.heevan-sticky-booking input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.heevan-sticky-booking input[type="number"]::-webkit-outer-spin-button,
.heevan-sticky-booking input[type="number"]::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.heevan-sticky-booking__counter {
    display: grid;
    grid-template-columns: 18px minmax(22px, 1fr) 18px;
    align-items: center;
    width: min(82px, 100%);
    height: 18px;
    overflow: hidden;
    border: 1px solid rgba(var(--heevan-booking-accent-rgb), 0.14);
    border-radius: 999px;
    background: rgba(var(--heevan-booking-accent-rgb), 0.05);
}

.heevan-sticky-booking__counter button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 17px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--heevan-booking-accent);
    font-size: 8px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.heevan-sticky-booking__counter button:hover,
.heevan-sticky-booking__counter button:focus-visible {
    background: rgba(var(--heevan-booking-accent-rgb), 0.12);
}

.heevan-sticky-booking__counter input {
    height: 17px;
    padding: 0;
    text-align: center;
    color: var(--heevan-booking-ink);
    font-size: 11px;
}

.heevan-sticky-booking__submit {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0 14px;
    border: 0;
    background: #963a29;
    background-image: none;
    color: #fff;
    opacity: 1;
    font-family: var(--body-font), Helvetica, Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(var(--heevan-booking-accent-rgb), 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.heevan-sticky-booking__submit:hover,
.heevan-sticky-booking__submit:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 13px 24px rgba(var(--heevan-booking-accent-rgb), 0.28);
}

.heevan-sticky-booking__submit i {
    font-size: 10px;
}

@media (max-width: 1080px) {
    .heevan-sticky-booking {
        width: min(820px, calc(100vw - 20px));
    }

    .heevan-sticky-booking__panel {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .heevan-sticky-booking__submit {
        min-height: 46px;
        padding-inline: 10px;
    }
}

@media (max-width: 760px) {
    body.heevan-sticky-booking-is-ready {
        padding-bottom: 72px;
    }

    body.heevan-sticky-booking-is-ready #back-to-top {
        bottom: 82px;
    }

    .heevan-sticky-booking {
        right: auto;
        bottom: max(14px, env(safe-area-inset-bottom));
        left: max(14px, env(safe-area-inset-left));
        width: auto;
        margin: 0;
        transform: none;
        opacity: 1;
    }

    body.heevan-sticky-booking-is-ready .heevan-sticky-booking {
        transform: none;
    }

    .heevan-sticky-booking__mobile-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 50%;
        background: #963a29;
        color: #fff;
        box-shadow: 0 16px 34px rgba(34, 17, 16, 0.28);
        pointer-events: auto;
        cursor: pointer;
    }

    .heevan-sticky-booking__mobile-trigger i {
        font-size: 18px;
    }

    .heevan-sticky-booking__backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 0;
        border: 0;
        background: rgba(20, 12, 11, 0.46);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.22s ease, visibility 0.22s ease;
    }

    .heevan-sticky-booking.is-open .heevan-sticky-booking__backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .heevan-sticky-booking__panel {
        position: fixed;
        right: auto;
        bottom: max(78px, calc(env(safe-area-inset-bottom) + 78px));
        left: 50%;
        z-index: 1;
        width: min(520px, calc(100vw - 22px));
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        min-height: 0;
        padding: 5px;
        border-radius: 5px;
        background:
            linear-gradient(180deg, #ffffff 0%, #fff9f3 100%),
            var(--heevan-booking-surface);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, 14px) scale(0.98);
        transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    }

    .heevan-sticky-booking.is-open .heevan-sticky-booking__panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0) scale(1);
    }

    .heevan-sticky-booking__modal-head {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 34px;
        padding: 2px 2px 4px 6px;
        color: var(--heevan-booking-ink);
        font-family: var(--body-font), Helvetica, Arial, sans-serif;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.14em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .heevan-sticky-booking__modal-head button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(var(--heevan-booking-accent-rgb), 0.09);
        color: var(--heevan-booking-accent);
        cursor: pointer;
    }

    .heevan-sticky-booking__panel > label.heevan-sticky-booking__field {
        grid-column: span 2;
    }

    .heevan-sticky-booking__field--counter {
        grid-column: span 1;
    }

    .heevan-sticky-booking__submit {
        grid-column: span 2;
    }

    .heevan-sticky-booking__field {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 6px;
        min-height: 40px;
        padding: 5px 6px;
        border-radius: 5px;
    }

    .heevan-sticky-booking__icon {
        width: 23px;
        height: 23px;
        border-radius: 9px;
        font-size: 11px;
    }

    .heevan-sticky-booking__label {
        font-size: clamp(12px, 3.55vw, 14px);
    }

    .heevan-sticky-booking input {
        font-size: 10px;
    }

    .heevan-sticky-booking__submit {
        min-height: 40px;
        border-radius: 5px;
        font-size: 10px;
    }
}

@media (max-width: 560px) {
    .heevan-sticky-booking__panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .heevan-sticky-booking__panel > label.heevan-sticky-booking__field,
    .heevan-sticky-booking__field--counter {
        grid-column: span 1;
    }

    .heevan-sticky-booking__submit {
        grid-column: span 2;
    }

    .heevan-sticky-booking__field,
    .heevan-sticky-booking__submit {
        min-height: 38px;
    }

    body.heevan-sticky-booking-is-ready {
        padding-bottom: 72px;
    }

    body.heevan-sticky-booking-is-ready #back-to-top {
        bottom: 82px;
    }
}
