/**
 * Booking form styles
 */
.lc-booking-form {
    background: #505050;
    border: 1px solid #E2C48E;
    border-radius: 16px;
    padding: 24px;
    color: #C2C2C2;
}

.lc-booking-header {
    margin-bottom: 18px;
}

.lc-booking-header h3 {
    margin: 0 0 8px;
    color: #E2C48E;
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
}

.lc-price-display {
    margin: 0;
    color: #C2C2C2;
}

.lc-price-display strong {
    color: #E2C48E;
    font-size: 28px;
    line-height: 1;
}

.lc-booking-calendar-wrap {
    margin-bottom: 18px;
}

.lc-booking-calendar-note {
    margin-bottom: 12px;
    color: #E8E0CF;
    font-size: 15px;
    line-height: 1.45;
}

.lc-booking-calendar {
    background: #505050;
    border: 1px solid #E2C48E;
    border-radius: 14px;
    padding: 12px;
    overflow: hidden;
}

.lc-booking-calendar .fc {
    background: transparent;
    color: #E2C48E;
}

.lc-booking-calendar .fc-toolbar.fc-header-toolbar {
    margin-bottom: 10px;
    align-items: center;
}

.lc-booking-calendar .fc-toolbar-title {
    color: #E2C48E !important;
    font-family: 'DM Serif Display', serif;
    font-size: 24px !important;
    line-height: 1.1;
    text-transform: lowercase;
}

.lc-booking-calendar .fc-button {
    background: #23364F !important;
    border: 1px solid #23364F !important;
    color: #F3DEAA !important;
    box-shadow: none !important;
}

.lc-booking-calendar .fc-button:hover,
.lc-booking-calendar .fc-button:focus {
    background: #2D4564 !important;
    border-color: #2D4564 !important;
}

.lc-booking-calendar .fc-scrollgrid,
.lc-booking-calendar .fc-scrollgrid-section,
.lc-booking-calendar table,
.lc-booking-calendar td,
.lc-booking-calendar th {
    border-color: rgba(247, 246, 242, 0.55) !important;
}

.lc-booking-calendar .fc-col-header-cell,
.lc-booking-calendar .fc-theme-standard th {
    background: #505050 !important;
}

.lc-booking-calendar .fc-col-header-cell-cushion {
    display: block;
    padding: 8px 0 !important;
    color: #E2C48E !important;
    font-weight: 600;
    text-transform: lowercase;
    text-decoration: none !important;
}

.lc-booking-calendar .fc-daygrid-day-frame {
    min-height: 44px;
    padding: 2px 4px 4px;
}

.lc-booking-calendar .fc-daygrid-day-top {
    justify-content: center;
}

.lc-booking-calendar .fc-daygrid-day-number {
    color: #E2C48E !important;
    padding: 6px 2px 0 !important;
    text-decoration: none !important;
    font-size: 14px;
}

.lc-booking-calendar .fc-day-other .fc-daygrid-day-number {
    color: rgba(226, 196, 142, 0.4) !important;
}

.lc-booking-calendar .fc-daygrid-day,
.lc-booking-calendar .fc-theme-standard td {
    background: #505050 !important;
}

.lc-booking-calendar .fc-day-today {
    background: rgba(226, 196, 142, 0.08) !important;
}

.lc-booking-calendar .lc-booking-day-past {
    opacity: 0.65;
}

.lc-booking-calendar .lc-booking-day-unavailable,
.lc-booking-calendar .lc-booking-day-closed {
    background: rgba(163, 60, 60, 0.16) !important;
}

.lc-booking-calendar .lc-booking-day-unavailable .fc-daygrid-day-number,
.lc-booking-calendar .lc-booking-day-closed .fc-daygrid-day-number {
    color: #E8B2B2 !important;
}

.lc-booking-calendar .lc-booking-unavailable-bg,
.lc-booking-calendar .lc-booking-closure-bg,
.lc-booking-calendar .lc-booking-selected-range {
    border-radius: 10px;
}

.lc-booking-calendar .lc-booking-unavailable-bg {
    background: rgba(168, 74, 74, 0.28) !important;
}

.lc-booking-calendar .lc-booking-closure-bg {
    background: rgba(117, 142, 83, 0.55) !important;
}

.lc-booking-calendar .lc-booking-selected-range {
    background: rgba(121, 148, 89, 0.75) !important;
}

.lc-booking-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.lc-booking-field {
    margin-bottom: 16px;
}

.lc-booking-field label {
    display: block;
    margin-bottom: 6px;
    color: #E2C48E;
    font-size: 14px;
    font-weight: 600;
}

.lc-booking-input,
.lc-booking-select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #F7F6F2;
    background: #0B1014;
    color: #C2C2C2;
    font-size: 16px;
}

.lc-booking-input:focus,
.lc-booking-select:focus {
    outline: none;
    border-color: #E2C48E;
    box-shadow: 0 0 0 3px rgba(226,196,142,.16);
}

.lc-booking-select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #E2C48E 50%), linear-gradient(135deg, #E2C48E 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 40px;
}

.lc-price-breakdown,
.lc-booking-price-breakdown {
    background: #0B1014;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
}

.lc-price-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    color: #C2C2C2;
}

.lc-total-row {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(226,196,142,.35);
    color: #E2C48E;
    font-weight: 700;
}

.lc-booking-login-note {
    margin: 0 0 16px;
    font-size: 14px;
}

.lc-booking-login-note a {
    color: #E2C48E;
}

.lc-booking-message {
    min-height: 0;
    margin-bottom: 6px;
}

.lc-booking-date-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.lc-booking-date-chip {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid rgba(247, 246, 242, 0.22);
    border-radius: 12px;
    background: #0B1014;
    min-height: 78px;
    justify-content: center;
}

.lc-booking-date-chip-label {
    color: #E2C48E;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.lc-booking-date-chip-value {
    color: #F7F6F2;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}

.lc-booking-coupon {
    margin-bottom: 0px;
}

.lc-booking-coupon label {
    display: block;
    margin-bottom: 6px;
    color: #E2C48E;
    font-size: 14px;
    font-weight: 600;
}

.lc-booking-coupon-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
}

.lc-booking-coupon-code {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #F7F6F2;
    background: #0B1014;
    color: #C2C2C2;
    font-size: 16px;
}

.lc-booking-coupon-code:focus {
    outline: none;
    border-color: #E2C48E;
    box-shadow: 0 0 0 3px rgba(226,196,142,.16);
}

.lc-booking-apply-coupon {
    white-space: nowrap;
}

.lc-booking-discount-row {
    color: #7CDE8A;
}

.lc-booking-discount {
    font-weight: 700;
}

.lc-booking-coupon-message {
    min-height: 0;
    margin-top: 4px;
}

.lc-booking-coupon-message .success,
.lc-booking-coupon-message .error {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
}

.lc-booking-coupon-message .success {
    color: #7CDE8A;
    background: rgba(76,175,80,.12);
    border: 1px solid rgba(76,175,80,.35);
}

.lc-booking-coupon-message .error {
    color: #FFB3BA;
    background: rgba(220,53,69,.12);
    border: 1px solid rgba(220,53,69,.28);
}

.lc-booking-message .success,
.lc-booking-message .error {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
}

.lc-booking-message .success {
    color: #7CDE8A;
    background: rgba(76,175,80,.12);
    border: 1px solid rgba(76,175,80,.35);
}

.lc-booking-message .error {
    color: #FFB3BA;
    background: rgba(220,53,69,.12);
    border: 1px solid rgba(220,53,69,.28);
}

.lc-booking-temporary-closure {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255,193,7,.12);
    border: 1px solid rgba(255,193,7,.35);
    color: #F5D36B;
}

.lc-booking-temporary-closure-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lc-booking-temporary-closure-text strong {
    color: #FFE08A;
}
.lc-booking-submit {
    margin-top: 0;
}
@media (max-width: 640px) {
    .lc-booking-form {
        padding: 18px;
    }

    .lc-booking-calendar {
        padding: 8px;
    }

    .lc-booking-calendar .fc-toolbar-title {
        font-size: 18px !important;
    }

.lc-booking-calendar .fc-daygrid-day-frame {
    min-height: 40px;
    }

    .lc-booking-dates {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lc-booking-date-summary {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .lc-booking-date-chip {
        min-height: 70px;
        padding: 12px 14px;
    }

    .lc-booking-date-chip-value {
        font-size: 15px;
    }

    .lc-booking-coupon-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: stretch;
    }

   .lc-booking-apply-coupon {
    white-space: nowrap;
    padding-top: 12px;
    padding-bottom: 12px;
}

    .lc-booking-temporary-closure {
        padding: 12px 14px;
    }
}

@media (max-width: 640px) {
    .lc-booking-form {
        padding: 18px;
    }

    .lc-booking-calendar {
        padding: 8px;
    }

    .lc-booking-calendar .fc-toolbar-title {
        font-size: 18px !important;
    }

    .lc-booking-calendar .fc-daygrid-day-frame {
        min-height: 52px;
    }

    .lc-booking-dates {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
.lc-booking-calendar .fc-daygrid-day {
    cursor: pointer;
}


/* =========================================
   BOOKING CALENDAR
   ========================================= */

/* Прошедшие дни */
.fc .lc-booking-day-past {
    opacity: 0.28;
}

.fc .lc-booking-day-past .fc-daygrid-day-number {
    color: #6f6f6f !important;
    text-decoration: line-through;
}

.fc .lc-booking-day-past .fc-daygrid-day-frame {
    background: rgba(70, 70, 70, 0.16) !important;
    border-radius: 10px;
}

/* Недоступные дни */
.fc .lc-booking-day-unavailable .fc-daygrid-day-frame {
    background: rgba(165, 70, 70, 0.22) !important;
    border-radius: 10px;
}

.fc .lc-booking-day-unavailable .fc-daygrid-day-number {
    color: #cf9a9a !important;
}

/* Закрытые дни */
.fc .lc-booking-day-closed .fc-daygrid-day-frame {
    background: rgba(110, 30, 30, 0.34) !important;
    border-radius: 10px;
}

.fc .lc-booking-day-closed .fc-daygrid-day-number {
    color: #f4c2c2 !important;
    font-weight: 700;
}

/* Базовый выбранный диапазон */
.fc .lc-booking-selected-range {
    background: rgba(226, 196, 142, 0.42) !important;
    border-radius: 0 !important;
}

.fc .lc-booking-selected-range.fc-bg-event {
    opacity: 1 !important;
}

/* Стартовая дата */
.fc .lc-booking-selected-start {
    background: rgba(226, 196, 142, 0.96) !important;
    border-radius: 14px 0 0 14px !important;
}

.fc .lc-booking-selected-start.fc-bg-event {
    opacity: 1 !important;
}

/* Конечная дата */
.fc .lc-booking-selected-end {
    background: rgba(226, 196, 142, 0.96) !important;
    border-radius: 0 14px 14px 0 !important;
}

.fc .lc-booking-selected-end.fc-bg-event {
    opacity: 1 !important;
}

/* Если выбрана только одна дата */
.fc .lc-booking-selected-start:not(.lc-booking-selected-range) {
    border-radius: 14px !important;
}

/* Hover по доступным дням */
.fc .fc-daygrid-day:not(.lc-booking-day-past):not(.lc-booking-day-unavailable):not(.lc-booking-day-closed):hover .fc-daygrid-day-frame {
    background: rgba(226, 196, 142, 0.16) !important;
    border-radius: 10px;
    transition: background 0.18s ease;
}

/* =========================================
   MOBILE REVIEWS TEASER IN BOOKING WIDGET
   ========================================= */

.lc-booking-mobile-reviews-teaser {
    display: none;
}

.lc-booking-mobile-reviews-modal {
    display: none;
}

@media (max-width: 768px) {
    .lc-booking-mobile-reviews-teaser {
        display: block;
        margin-top: 10px;
    }

    .lc-booking-mobile-reviews-open {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        background: rgba(11, 16, 20, 0.78);
        border: 1px solid rgba(226, 196, 142, 0.35);
        border-radius: 14px;
        color: #E2C48E;
        cursor: pointer;
        text-align: left;
    }

    .lc-booking-mobile-reviews-icon {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: radial-gradient(circle at 30% 30%, #f3d9a6, #cda45a 65%, #8d6a2b 100%);
        color: #1a1f24;
        box-shadow: 0 4px 12px rgba(0,0,0,.28);
        animation: lcReviewsSpin 5s linear infinite;
    }

    .lc-booking-mobile-reviews-icon i {
        font-size: 16px;
    }

    .lc-booking-mobile-reviews-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .lc-booking-mobile-reviews-text strong {
        color: #E2C48E;
        font-size: 13px;
        line-height: 1.2;
    }

    .lc-booking-mobile-reviews-text small {
        color: #d9d9d9;
        font-size: 11px;
        line-height: 1.2;
    }

    .lc-booking-mobile-reviews-modal {
        position: fixed;
        inset: 0;
        z-index: 1400;
    }

    .lc-booking-mobile-reviews-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.58);
        backdrop-filter: blur(2px);
    }

    .lc-booking-mobile-reviews-dialog {
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-height: 78vh;
        overflow: hidden;
        border-radius: 20px;
        background: #1a1f24;
        border: 1px solid rgba(226, 196, 142, .35);
        box-shadow: 0 -12px 32px rgba(0,0,0,.36);
        display: flex;
        flex-direction: column;
    }

    .lc-booking-mobile-reviews-head {
        padding: 16px 18px 10px;
        border-bottom: 1px solid rgba(226, 196, 142, .18);
    }

    .lc-booking-mobile-reviews-head h4 {
        margin: 0 0 4px;
        color: #E2C48E;
        font-size: 18px;
    }

    .lc-booking-mobile-reviews-head p {
        margin: 0;
        color: #cfcfcf;
        font-size: 12px;
    }

    .lc-booking-mobile-reviews-body {
        padding: 14px 16px 16px;
        overflow-y: auto;
    }

    .lc-booking-mobile-reviews-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        border: none;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
        color: #E2C48E;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        z-index: 2;
    }

    body.lc-booking-mobile-reviews-open {
        overflow: hidden;
    }

    body.lc-booking-mobile-reviews-open .lc-booking-mobile-reviews-modal {
        display: block;
    }
}

@keyframes lcReviewsSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}