.booking-widget__hint {
    margin: 0 0 10px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--stone, #9aa3b2);
}

.booking-widget__pick-hint {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--gold, #c9a227);
}

.booking-widget__day.is-unavailable {
    opacity: 0.45;
    cursor: not-allowed;
}

.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.booking-modal[hidden] {
    display: none !important;
}

.booking-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 14, 0.78);
    backdrop-filter: blur(4px);
}

.booking-modal__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(860px, 100%);
    max-height: min(94dvh, 860px);
    overflow: hidden;
    padding: 22px 22px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #171b24 0%, #12151c 100%);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.booking-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    border: 0;
    background: transparent;
    color: var(--stone);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.booking-modal__head {
    flex: 0 0 auto;
    padding-right: 28px;
    margin-bottom: 4px;
}

.booking-modal__head h2 {
    margin-top: 4px;
    margin-bottom: 6px;
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.booking-modal__subtitle {
    color: var(--stone);
    font-size: 13.5px;
    line-height: 1.4;
    max-width: 640px;
    margin: 0 0 8px;
}

.booking-page-panel,
.booking-widget {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.booking-modal .booking-widget {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(217, 173, 92, 0.35) transparent;
}

.booking-modal .booking-widget::-webkit-scrollbar {
    width: 6px;
}

.booking-modal .booking-widget::-webkit-scrollbar-track {
    background: transparent;
}

.booking-modal .booking-widget::-webkit-scrollbar-thumb {
    background: rgba(217, 173, 92, 0.35);
    border-radius: 999px;
}

.booking-modal .booking-widget::-webkit-scrollbar-thumb:hover {
    background: rgba(217, 173, 92, 0.55);
}

.booking-widget__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.booking-widget__week {
    flex: 1;
    text-align: center;
    color: var(--ivory);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.02em;
}

.booking-widget__nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(217, 173, 92, 0.35);
    background: rgba(217, 173, 92, 0.08);
    color: var(--ivory, #f5f0e8);
    font-size: 26px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.booking-widget__nav-btn:hover:not(:disabled) {
    background: rgba(217, 173, 92, 0.18);
    border-color: var(--gold, #c9a24d);
    transform: translateY(-1px);
}

.booking-widget__nav-btn:disabled,
.booking-widget__nav-btn.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.booking-widget__calendar {
    padding: 14px 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(217, 173, 92, 0.08), transparent 55%),
        rgba(255, 255, 255, 0.02);
}

.booking-widget__season {
    margin: 0 0 10px;
    padding: 8px 12px;
    border: 1px solid rgba(217, 173, 92, 0.28);
    border-radius: 10px;
    background: rgba(217, 173, 92, 0.08);
    color: var(--gold-bright);
    font-size: 12.5px;
    line-height: 1.4;
    text-align: center;
}

.booking-widget__nav .btn.is-disabled,
.booking-widget__nav .btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

.booking-widget__days {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.booking-widget__days--month {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    transition: opacity 0.18s ease;
}

.booking-widget__days--month.is-loading {
    opacity: 0.45;
    pointer-events: none;
}

.booking-widget__dow {
    text-align: center;
    font-size: 11px;
    color: var(--stone);
    padding: 4px 0 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.booking-widget__days--month .booking-widget__day {
    min-width: 0;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    position: relative;
}

.booking-widget__days--month .booking-widget__day strong {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
}

.booking-widget__day-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: transparent;
}

.booking-widget__day.is-available .booking-widget__day-dot {
    background: rgba(88, 166, 105, 0.95);
}

.booking-widget__day.is-booked .booking-widget__day-dot,
.booking-widget__day.is-blocked .booking-widget__day-dot {
    background: rgba(180, 70, 70, 0.8);
}

.booking-widget__day.is-outside {
    opacity: 0.18;
    pointer-events: none;
    background: transparent !important;
    border-color: transparent !important;
    cursor: default;
    box-shadow: none !important;
}

.booking-widget__day {
    min-width: 84px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--stone);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.booking-widget__day strong {
    display: block;
    color: var(--ivory);
    font-size: 12.5px;
}

.booking-widget__day.is-available {
    border-color: rgba(88, 166, 105, 0.28);
    background: rgba(88, 166, 105, 0.08);
}

.booking-widget__day.is-available:hover {
    border-color: rgba(88, 166, 105, 0.55);
    background: rgba(88, 166, 105, 0.16);
    transform: translateY(-1px);
}

.booking-widget__day.is-booked,
.booking-widget__day.is-blocked {
    border-color: rgba(180, 70, 70, 0.22);
    background: rgba(180, 70, 70, 0.08);
}

.booking-widget__day.is-today:not(.is-outside) {
    box-shadow: inset 0 0 0 1px rgba(217, 173, 92, 0.55);
}

.booking-widget__day.is-active {
    border-color: var(--gold) !important;
    background: rgba(201, 162, 77, 0.22) !important;
    color: var(--ivory);
    box-shadow: 0 0 0 2px rgba(201, 162, 77, 0.2);
}

.booking-widget__day.is-active .booking-widget__day-dot {
    background: var(--gold, #c9a24d);
}

.booking-widget__day.is-disabled,
.booking-widget__day.is-unavailable:not(.is-available) {
    opacity: 0.42;
    cursor: not-allowed;
}

.booking-widget__day.is-available.is-unavailable {
    opacity: 1;
    cursor: pointer;
}

.booking-widget__legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 12px;
    font-size: 11.5px;
    color: var(--stone, #9aa3b2);
}

.booking-widget__legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.booking-widget__legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid transparent;
}

.booking-widget__legend i.is-available {
    background: rgba(88, 166, 105, 0.85);
}

.booking-widget__legend i.is-unavailable {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}

.booking-widget__legend i.is-active {
    background: rgba(201, 162, 77, 0.95);
}

.booking-widget__slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
}

.booking-widget__slot {
    padding: 11px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-align: center;
    font-size: 13.5px;
    color: var(--ivory);
    background: rgba(88, 166, 105, 0.12);
    cursor: pointer;
}

.booking-widget__slot.is-unavailable {
    background: rgba(255, 255, 255, 0.03);
    color: #666d78;
    cursor: not-allowed;
}

.booking-widget__slot.is-closed {
    background: rgba(180, 70, 70, 0.12);
    color: #e59a9a;
    cursor: not-allowed;
}

.booking-widget__slot.is-selected {
    border-color: var(--gold);
    background: rgba(201, 162, 77, 0.18);
    color: #f8e7b8;
}

.booking-widget__closed {
    text-align: center;
    padding: 14px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: #e59a9a;
    margin-bottom: 10px;
}

.booking-widget__loading {
    width: 100%;
    text-align: center;
    color: var(--stone);
    padding: 14px 8px;
    margin: 0;
}

.booking-widget__form {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}

.booking-widget__form h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.booking-widget__form .field {
    margin-bottom: 10px;
}

.booking-widget__form .field label {
    margin-bottom: 4px;
    font-size: 12px;
}

.booking-widget__form input,
.booking-widget__form textarea {
    padding-top: 9px;
    padding-bottom: 9px;
}

.booking-widget__form textarea {
    min-height: 56px;
    resize: vertical;
}

.booking-widget__selected {
    color: var(--gold);
    font-size: 13.5px;
    margin-bottom: 10px;
}

.booking-widget__message {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 13.5px;
    color: var(--stone);
}

.booking-widget__message.is-success {
    color: #8fd39d;
}

.booking-widget__message.is-error {
    color: #e59a9a;
}

@media (max-width: 640px) {
    .booking-modal {
        padding: 10px;
        align-items: flex-end;
    }

    .booking-modal__dialog {
        width: 100%;
        max-height: min(92dvh, 100%);
        padding: 18px 14px 14px;
        border-radius: 16px 16px 12px 12px;
    }

    .booking-page-panel,
    .booking-widget {
        padding: 12px;
    }

    .booking-widget__day {
        min-width: 72px;
        padding: 7px;
        font-size: 12px;
    }

    .booking-widget__slots {
        grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    }
}

/* Honeypot: hidden from users; obscure name avoids browser autofill */
.booking-widget__hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
