Стили для календаря бронирования
        .calendar-container {
            background: var(--bg-primary);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow);
            padding: 20px;
            margin-bottom: 20px;
        }
        
        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--border-color);
        }
        
        .calendar-header h3 {
            margin: 0;
            color: var(--secondary-color);
            font-size: 1.3rem;
        }
        
        .month-nav {
            display: flex;
            gap: 10px;
        }
        
        .month-nav button {
            background: var(--bg-secondary);
            border: none;
            padding: 8px 16px;
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s;
            color: var(--text-primary);
        }
        
        .month-nav button:hover {
            background: var(--primary-color);
            color: white;
        }
        
        .calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            text-align: center;
            margin-bottom: 10px;
            font-weight: bold;
            color: var(--text-secondary);
        }
        
        .calendar-weekdays div {
            padding: 10px;
        }
        
        .calendar-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 8px;
        }
        
        .calendar-day {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius-md);
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
        }
        
        .calendar-day.available {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
        }
        
        .calendar-day.available:hover {
            transform: scale(1.05);
        }
        
        .calendar-day.non-working {
            background: linear-gradient(135deg, #6c757d, #5a6268);
            color: white;
            cursor: not-allowed;
            opacity: 0.7;
        }
        
        .calendar-day.past-noon {
            background: linear-gradient(135deg, #dc3545, #c82333);
            color: white;
            cursor: not-allowed;
            opacity: 0.7;
        }
        
        .calendar-day.fully-booked {
            background: linear-gradient(135deg, #dc3545, #c82333);
            color: white;
            cursor: not-allowed;
            opacity: 0.7;
        }
        
        .calendar-day.past {
            background: var(--bg-tertiary);
            color: var(--text-muted);
            cursor: not-allowed;
            opacity: 0.5;
        }
        
        .calendar-day.selected {
            background: var(--primary-color);
            color: white;
            transform: scale(1.05);
            box-shadow: 0 0 0 5px var(--danger), 0 0 0 5px var(--bg-primary);
        }
        
        .calendar-day.other-month {
            opacity: 0.3;
            cursor: default;
            background: var(--bg-secondary);
            color: var(--text-muted);
        }
        
        .time-slots-container {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 2px solid var(--border-color);
        }
        
        .time-slots-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 12px;
            margin: 15px 0;
        }
        
        .time-slot {
            text-align: center;
            padding: 12px;
            background: var(--bg-secondary);
            border-radius: var(--radius-md);
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
            border: 2px solid transparent;
            color: var(--text-primary);
        }
        
        .time-slot.available {
            border-color: #28a745;
        }
        
        .time-slot.available:hover {
            background: #28a745;
            color: white;
            transform: scale(1.02);
        }
        
        .time-slot.selected {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 5px var(--danger);
        }
        

        
        .selected-info {
            margin-top: 15px;
            padding: 12px;
            background: var(--primary-color);
            color: white;
            border-radius: var(--radius-md);
            text-align: center;
        }
        
        .tables-grid-2x3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin: 15px 0;
        }
        

        
        .table-checkbox {
    display: block;
    align-items: center;
    padding: 10px 15px;
    background: #6c757d;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    }
        .table-checkbox input {
            display: none;
        }
        
        .table-square {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: var(--silver);
            border: 2px solid var(--border-color);
            border-radius: var(--radius-md);
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .table-checkbox input:checked + .table-square {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: white;
            transform: scale(1.02);
        }
        
        .table-number {
            font-size: 1.2rem;
            font-weight: bold;
        }
        
        .two-tables-info {
            margin: 12px 0;
            padding: 10px 14px;
            background: color-mix(in srgb, var(--primary-color, #28a745) 8%, transparent);
            border: 1px solid color-mix(in srgb, var(--primary-color, #28a745) 30%, transparent);
            border-radius: var(--radius-md);
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        
        .calendar-toggle {
            text-align: center;
            margin-bottom: 15px;
        }
        
        .toggle-calendar-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: var(--radius-md);
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s;
        }
        
        .toggle-calendar-btn:hover {
            opacity: 0.9;
            transform: scale(1.02);
        }
        
        .calendar-wrapper {
            display: none;
        }
        
        .calendar-wrapper.open {
            display: block;
        }
        
        .booking-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        .booking-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }
        
        .loading {
            text-align: center;
            padding: 20px;
            color: var(--text-secondary);
        }
        
        @media (max-width: 768px) {
            .booking-grid {
                grid-template-columns: 1fr;
            }
            .tables-grid-2x3 {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* ── Cost field (inline with form-row) ── */
        .cost-field {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px 14px;
            background: var(--bg-secondary);
            border: 2px solid var(--primary-color);
            border-radius: var(--radius-md);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            min-height: 44px;
            letter-spacing: 0.02em;
        }

        /* ── Guest form row — 2x2 ── */
        .booking-form .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            align-items: start;
        }

        @media (max-width: 500px) {
            .booking-form .form-row {
                grid-template-columns: 1fr;
            }
        }

        /* ── Guest form validation styles ── */
        .required-star {
            color: #dc3545;
            font-weight: bold;
            margin-left: 2px;
        }

        .optional-badge {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 500;
            color: var(--text-secondary);
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 4px;
            padding: 1px 6px;
            margin-left: 6px;
            vertical-align: middle;
            letter-spacing: 0.02em;
        }

        .field-hint {
            display: block;
            font-size: 0.78rem;
            color: var(--text-secondary);
            margin-top: 4px;
            line-height: 1.4;
        }

        .email-bonus-hint {
            color: var(--secondary-color, #20c997);
            background: color-mix(in srgb, var(--secondary-color, #20c997) 10%, transparent);
            border: 1px solid color-mix(in srgb, var(--secondary-color, #20c997) 30%, transparent);
            border-radius: var(--radius-sm, 6px);
            padding: 6px 10px;
            margin-top: 6px;
        }

        .field-error {
            display: block;
            font-size: 0.78rem;
            color: #dc3545;
            margin-top: 4px;
            min-height: 1em;
            font-weight: 500;
        }

        /* Input invalid state */
        .form-group input.input-invalid {
            border-color: #dc3545 !important;
            box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
        }

        /* Input valid state */
        .form-group input.input-valid {
            border-color: #28a745 !important;
            box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.10);
        }
