/* === HS Booking Floating === */
:root {
    --hs-color-point: #d32978;
}

/* Floating Action Button */
.hs-booking-fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--hs-color-point);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 24px rgba(211, 41, 120, 0.35);
    transition: all 0.3s ease;
}

.hs-booking-fab:hover {
    background: #ab2062;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(211, 41, 120, 0.45);
}

.hs-booking-fab__icon--close {
    display: none;
}

.hs-booking-fab.is-active .hs-booking-fab__icon--default {
    display: none;
}

.hs-booking-fab.is-active .hs-booking-fab__icon--close {
    display: block;
}

.hs-booking-fab.is-active .hs-booking-fab__label {
    display: none;
}

.hs-booking-fab.is-active {
    padding: 14px;
    border-radius: 50%;
}

/* Overlay */
.hs-booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 99990;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.hs-booking-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Panel */
.hs-booking-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99995;
    width: 50vw;
    height: 100vh;
    background: #fff;
    border-radius: 20px 0 0 20px;
    box-shadow: -4px 0 40px rgba(211, 41, 120, 0.12);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.hs-booking-panel.is-open {
    transform: translateX(0);
}

/* Panel header */
.hs-booking-panel__header {
    padding: 48px 48px 0;
    flex-shrink: 0;
}

.hs-booking-panel__title {
    font-family: 'Nunito', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2a2025;
    margin-bottom: 6px;
}

.hs-booking-panel__desc {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: #999;
    font-weight: 300;
}

/* Panel body */
.hs-booking-panel__body {
    padding: 36px 48px 48px;
    overflow-y: auto;
    flex: 1;
}

/* Alert */
.hs-booking__alert {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.hs-booking__alert--success {
    background: rgba(72, 187, 120, 0.1);
    color: #2f855a;
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.hs-booking__alert--error {
    background: rgba(211, 41, 120, 0.08);
    color: var(--hs-color-point);
    border: 1px solid rgba(211, 41, 120, 0.15);
}

/* Form */
.hs-booking__form {
    display: flex;
    flex-direction: column;
}

.hs-booking__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hs-booking__field {
    margin-bottom: 24px;
}

.hs-booking__field label {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.hs-booking__field label span {
    color: var(--hs-color-point);
}

.hs-booking__field input,
.hs-booking__field select,
.hs-booking__field textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: #333;
    background: #fefaf3;
    border: 1px solid #ede8ea;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.hs-booking__field input:focus,
.hs-booking__field select:focus,
.hs-booking__field textarea:focus {
    border-color: var(--hs-color-point);
    box-shadow: 0 0 0 3px rgba(211, 41, 120, 0.08);
    background: #fff;
}

.hs-booking__field input::placeholder,
.hs-booking__field textarea::placeholder {
    color: #ccc;
}

.hs-booking__field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    background-color: #fefaf3;
}

.hs-booking__field textarea {
    resize: vertical;
    min-height: 80px;
}

/* Submit */
.hs-booking__submit {
    width: 100%;
    padding: 18px;
    background: var(--hs-color-point);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(211, 41, 120, 0.25);
    margin-top: 4px;
}

.hs-booking__submit:hover {
    background: #ab2062;
    box-shadow: 0 6px 24px rgba(211, 41, 120, 0.35);
}

/* Responsive */
@media (max-width: 900px) {
    .hs-booking-panel {
        width: 80vw;
    }
}

@media (max-width: 480px) {
    .hs-booking-panel {
        width: 100%;
        border-radius: 20px 20px 0 0;
        top: auto;
        bottom: 0;
        height: 90vh;
        transform: translateY(100%);
    }

    .hs-booking-panel.is-open {
        transform: translateY(0);
    }

    .hs-booking-fab {
        bottom: 20px;
        right: 20px;
    }

    .hs-booking__row {
        grid-template-columns: 1fr;
    }

    .hs-booking-panel__body {
        padding: 24px 24px 32px;
    }

    .hs-booking-panel__header {
        padding: 28px 24px 0;
    }

    .hs-booking-panel__title {
        font-size: 1.5rem;
    }

    .hs-booking-panel__desc {
        font-size: 0.88rem;
    }
}
