.cbc-date-trigger {
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cbc-calendar-wrapper {
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 100%;
}

.cbc-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    margin-bottom: 20px;
}

.cbc-calendar-nav {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    line-height: 1;
}

.cbc-calendar-nav:hover {
    background: #f0f0f0;
}

.cbc-calendar-month-label {
    font-size: 16px;
    font-weight: 600;
    min-width: 140px;
    text-align: center;
}

.cbc-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 24px;
}

.cbc-calendar-day-header {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    padding: 6px 0;
    text-transform: uppercase;
}
span.cbc-calendar-stock {
    display: none;
}
.cbc-calendar-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    min-width: 0;
    padding: 5px;
}

.cbc-calendar-cell:hover:not(.cbc-calendar-cell--blocked):not(.cbc-calendar-cell--out-of-range) {
    background: #f7f7f7;
    border-color: #e0e0e0;
}

.cbc-calendar-cell--empty {
    border: none;
    cursor: default;
}

.cbc-calendar-cell--out-of-range {
    opacity: 0.3;
    cursor: default;
}

.cbc-calendar-cell--blocked {
    text-decoration: line-through;
    color: #999;
    background: #fafafa;
    border-color: #e8e8e8;
    cursor: not-allowed;
}

.cbc-calendar-cell--blocked:hover {
    background: #fafafa;
}

.cbc-calendar-cell--sold-out {
    color: #ccc;
    background: #fafafa;
    border-color: #e8e8e8;
    cursor: not-allowed;
}

.cbc-calendar-cell--behind-cutoff {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.cbc-calendar-cell--selected {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.cbc-calendar-cell--selected.cbc-calendar-cell--blocked {
    text-decoration: line-through;
    background: #1a1a1a;
    color: #fff;
}

.cbc-calendar-cell--in-range {
    background: #f2f2f2;
    border-color: #eaeaea;
    color: #333;
}

.cbc-calendar-stock {
    font-size: 11px;
    color: inherit;
    margin-top: 1px;
    opacity: 0.8;
    text-align: center !important;
}

.cbc-calendar-selection-info {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 12px;
    font-size: 14px;
    color: #333;
}

.cbc-calendar-selection-info strong {
    color: #2e7d32;
}

.cbc-calendar-clear {
    background: none;
    border: none;
    color: #b32d2e;
    cursor: pointer;
    font-size: 13px;
    margin-left: 12px;
    text-decoration: underline;
    font-family: inherit;
}

.cbc-calendar-clear:hover {
    color: #8b0000;
}

body.cbc-modal-open {
    overflow: hidden;
}

#cbc-calendar-modal {
    max-width: 600px;
}

@media (max-width: 600px) {
    #cbc-calendar-modal {
        padding: 16px;
        width: 95%;
        max-width: 440px;
    }

    .cbc-calendar-cell {
        font-size: 12px;
    }

    .cbc-calendar-stock {
        font-size: 9px;
    }

    .cbc-calendar-day-header {
        font-size: 10px;
    }

    .cbc-calendar-selection-info {
        font-size: 13px;
        padding: 10px 12px;
    }
}

.cbc-select-dates-btn,
.cbc-add-to-booking-btn,
.cbc-confirm-button {
    background-color: var(--e-global-color-primary);
    font-family: "Montserrat", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    fill: var(--e-global-color-313cae9);
    color: var(--e-global-color-313cae9);
    padding: 14px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}