/* ── Cart Booking Calendar 1004 ── */
.cbc-wrapper-1004 {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 28px 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    font-family: inherit;
}

.cbc-title-1004 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.cbc-subtitle-1004 {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 20px;
}

/* Month Navigation */
.cbc-month-nav-1004 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cbc-month-label-1004 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a2e;
}

.cbc-prev-month-1004,
.cbc-next-month-1004 {
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.cbc-prev-month-1004:hover,
.cbc-next-month-1004:hover {
    background: #d0d0d0;
}

/* Day Headers */
.cbc-day-headers-1004 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 6px;
}

.cbc-day-headers-1004 span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #888;
    padding: 4px 0;
    text-transform: uppercase;
}

/* Calendar Grid */
.cbc-grid-1004 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cbc-day-cell-1004 {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    position: relative;
    background: #fafafa;
}

.cbc-day-cell-1004.empty {
    cursor: default;
    background: transparent;
}

/* States */
.cbc-day-cell-1004.past {
    color: #bdbdbd;
    cursor: not-allowed;
    background: #f5f5f5;
}

.cbc-day-cell-1004.available {
    background: #E8F5E9;
    color: #2E7D32;
    border-color: #A5D6A7;
}
.cbc-day-cell-1004.available:hover {
    background: #C8E6C9;
    border-color: #4CAF50;
    transform: scale(1.05);
}

.cbc-day-cell-1004.fully-booked {
    background: #FFEBEE;
    color: #C62828;
    border-color: #EF9A9A;
    cursor: not-allowed;
}

.cbc-day-cell-1004.holiday {
    background: #FFF3E0;
    color: #E65100;
    border-color: #FFCC80;
    cursor: not-allowed;
}

.cbc-day-cell-1004.selected {
    background: #1976D2 !important;
    color: #ffffff !important;
    border-color: #1565C0 !important;
    transform: scale(1.08);
}

.cbc-day-cell-1004.today {
    font-weight: 700;
    box-shadow: 0 0 0 2px #1976D2;
}

/* Legend */
.cbc-legend-1004 {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.cbc-legend-item-1004 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
}

.cbc-legend-dot-1004 {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
}

.cbc-legend-dot-1004.available  { background: #E8F5E9; border: 1px solid #4CAF50; }
.cbc-legend-dot-1004.booked     { background: #FFEBEE; border: 1px solid #F44336; }
.cbc-legend-dot-1004.holiday    { background: #FFF3E0; border: 1px solid #FF9800; }
.cbc-legend-dot-1004.selected   { background: #1976D2; border: 1px solid #1565C0; }

/* Time Slots Wrapper */
.cbc-timeslots-wrapper-1004 {
    margin-top: 28px;
    border-top: 1px solid #eeeeee;
    padding-top: 24px;
}

.cbc-timeslots-title-1004 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 16px;
}

/* 3 Column Grid for AM/PM layout */
.cbc-timeslots-columns-1004 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cbc-slot-column-1004 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cbc-slot-col-title-1004 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cbc-slot-1004 {
    padding: 10px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    text-align: center;
    background: #f8f9fa;
    color: #424242;
    width: 100%;
}

.cbc-slot-1004.available {
    background: #E8F5E9;
    color: #2E7D32;
    border-color: #A5D6A7;
}

.cbc-slot-1004.available:hover {
    background: #C8E6C9;
    border-color: #4CAF50;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.15);
}

.cbc-slot-1004.booked {
    background: #FFEBEE;
    color: #EF9A9A;
    border-color: #FFCDD2;
    cursor: not-allowed;
    text-decoration: line-through;
}

.cbc-slot-1004.selected {
    background: #1976D2 !important;
    color: #ffffff !important;
    border-color: #1565C0 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(25, 118, 210, 0.2);
}

/* Summary */
.cbc-summary-1004 {
    margin-top: 24px;
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
}

.cbc-summary-text-1004 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2E7D32;
    flex: 1;
}

.cbc-clear-1004 {
    background: #ffffff;
    border: 1px solid #2E7D32;
    color: #2E7D32;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cbc-clear-1004:hover {
    background: #2E7D32;
    color: #ffffff;
}

/* Checkout Notice */
.cbc-checkout-notice-1004 {
    background: #FFF3E0;
    border: 1px solid #FFCC80;
    border-radius: 8px;
    padding: 14px 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #E65100;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive */
@media (max-width: 600px) {
    .cbc-timeslots-columns-1004 {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .cbc-slot-1004 {
        font-size: 0.75rem;
        padding: 8px 4px;
    }
    .cbc-slot-col-title-1004 {
        font-size: 0.75rem;
    }
}
@media (max-width: 400px) {
    .cbc-timeslots-columns-1004 {
        grid-template-columns: 1fr;
    }
    .cbc-slot-1004 {
        font-size: 0.85rem;
        padding: 10px;
    }
}
