.cbbc-month-wrap {
    max-width: none;
    margin: 0;
}
.cbbc-card-title {
    margin: 0 0 14px 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
}
.cbbc-card-title {
    padding-bottom: 12px;
    border-bottom: 1px solid #e9edf2;
}

.cbbc-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0 12px;
}

.cbbc-nav {
    border: 1px solid #ccc;
    background: #fff;
    padding: 6px 10px;
    cursor: pointer;
}

.cbbc-month-title {
    font-weight: 700;
}

.cbbc-card {
    max-width: 980px;
    /* matches your current wrap width */
    margin: 0 auto;
    background: #fff;
    border: 1px solid #cfd6de;
    /* matches your existing border color */
    border-radius: 10px;
    padding: 18px 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.cbbc-dow,
.cbbc-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.cbbc-dow div {
    font-size: 12px;
    opacity: .75;
    text-align: center;
    padding: 4px 0;
}

.cbbc-pad {
    min-height: 64px;
}

.cbbc-day {
    display: block;
    position: relative;
    border: 1px solid #cfd6de;
    border-radius: 6px;
    text-decoration: none;
    overflow: hidden;
    min-height: 72px;
    background: #fff;
}

.cbbc-day.is-disabled {
    /* opacity: .55; */
    pointer-events: none;
}

.cbbc-day-num {
    position: absolute;
    top: 6px;
    left: 8px;
    font-size: 12px;
    font-weight: 700;
    z-index: 3;
}

.cbbc-day-label {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    z-index: 3;
}

.cbbc-bands {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    flex-direction: column;
}

.cbbc-band {
    flex: 1;
}

.cbbc-band.is-open {
    background: #8fd3ff;
}

/* light blue */
.cbbc-band.is-full {
    background: #e05454;
}

/* red */

.cbbc-day-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.cbbc-trip-card {
    border: 1px solid #cfd6de;
    border-radius: 6px;
    padding: 10px;
    margin: 10px 0;
    background: #fff;
}

.cbbc-trip-name {
    font-weight: 800;
}

.cbbc-trip-meta {
    font-size: 12px;
    opacity: .8;
    margin-top: 2px;
}

.cbbc-trip-price {
    margin-top: 8px;
    font-size: 14px;
}

.cbbc-pref-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.cbbc-pref-btn {
    border: 1px solid #ccc;
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.cbbc-pref-btn.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}

.cbbc-pref-btn.is-active {
    border-color: #000;
}

.cbbc-day-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
}

.cbbc-continue[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

body.has-cbbc-booking .page-hero {
    display: none !important;
}

.cbbc-help {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 10px 0 14px;
    font-size: 14px;
}

.cbbc-help-steps span {
    margin-left: 10px;
    opacity: .9;
}

.cbbc-legend {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 13px;
    opacity: .9;
}

.cbbc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    border: 1px solid rgba(0, 0, 0, .15);
}

.cbbc-dot.is-open {
    background: #8fd3ff;
}

.cbbc-dot.is-full {
    background: #e05454;
}

.cbbc-attn {
    color: #0b4f8a;
    /* matches nav blue */
    font-weight: 900;
    margin-right: 6px;
}
/* ---------- PAST DATES (keep original colors, just mark as past) ---------- */
.cbbc-day.is-past {
    opacity: 1;
    /* don’t wash the whole tile */
    filter: none;
}

/* Make past text look intentionally muted */
.cbbc-day.is-past .cbbc-day-num,
.cbbc-day.is-past .cbbc-day-label {
    opacity: .45;
}

/* Big subtle X overlay for past dates */
.cbbc-day.is-past::before {
    content: "";
    position: absolute;
    inset: 10px;
    background:
        linear-gradient(45deg,
            transparent 48%,
            rgba(0, 0, 0, .16) 49%,
            rgba(0, 0, 0, .16) 51%,
            transparent 52%),
        linear-gradient(-45deg,
            transparent 48%,
            rgba(0, 0, 0, .16) 49%,
            rgba(0, 0, 0, .16) 51%,
            transparent 52%);
    z-index: 2;
    pointer-events: none;
    border-radius: 6px;
}

/* ---------- LABEL COLORS ---------- */
/* Default label color = OPEN blue */
.cbbc-day .cbbc-day-label {
    color: #0b4f8a;
    text-transform: uppercase;
}

/* Hide empty labels (future + past) */
.cbbc-day .cbbc-day-label:empty {
    display: none;
}

/* Non-past labels with text (e.g. SOLD OUT) should be darker/readable */
.cbbc-day:not(.is-past) .cbbc-day-label:not(:empty) {
    color: rgba(0, 0, 0, .75);
}

/* Always show TODAY ring, even on sold-out days */
.cbbc-day.is-today::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 4px solid rgb(0, 0, 0);
    border-radius: 12px;
    /* match .cbbc-day */
    pointer-events: none;
    z-index: 4;
    /* above bands/labels */
}

.cbbc-day.is-clickable:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

/* Accordion container */
.cbbc-acc {
    border: 1px solid #cfd6de;
    border-radius: 10px;
    background: #fff;
    margin: 12px 0;
    overflow: hidden;
}

.cbbc-acc-head {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 0;
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 900;
    display: flex;
    gap: 10px;
    align-items: center;
}

.cbbc-acc-caret {
    font-weight: 900;
}

.cbbc-acc.is-open .cbbc-acc-caret {
    transform: rotate(90deg);
    display: inline-block;
}

.cbbc-acc-body {
    padding: 12px 14px 14px;
    border-top: 1px solid #e9edf2;
}

/* Dropdown */
.cbbc-variant-picker {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.cbbc-variant-label {
    font-weight: 800;
    opacity: .9;
}

.cbbc-variant-select {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #cfd6de;
    background: #fff;
}

.cbbc-prefill-highlight {
    outline: 3px solid currentColor;
    outline-offset: 6px;
    border-radius: 10px;
}

.cbbc-prefill-hint {
    margin: 0 0 10px;
    padding: 6px 10px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    border-left: 3px solid #ccc;
}

.cbbc-breadcrumb {
    margin-top: 4px;
    font-size: 0.85rem;
    color: #777;
}

.cbbc-prefill-notice {
    margin: 10px 0 14px;
    padding: 12px 12px;
    border: 2px solid #b30000;
    background: #fff3f3;
    border-radius: 10px;
    color: #4a0000;
}

.cbbc-prefill-notice .button {
    margin-top: 6px;
}

.cbbc-back-cal {
    text-decoration: none;
    font-weight: 600;
}

.cbbc-back-cal:hover {
    text-decoration: underline;
}

.cbbc-crumb-sep {
    margin: 0 8px;
    color: #888;
}
.cbbc-week-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    /* ✅ REQUIRED */
}

.cbbc-week-day {
    display: flex;
    /* ✅ REQUIRED */
    flex-direction: column;
}






.cbbc-nav[data-cbbc-nav^="jump"] {
    opacity: 0.75;
}

.cbbc-month-scroll {
    padding: 6px 10px;
    border: 1px solid #c3c4c7;
    border-radius: 10px;
    background: #fff;
    font-weight: 800;
    font-size: 14px;
}

/* Admin-only: BLOCKED days (full-day blockouts) */
[data-admin="1"] .cbbc-day.is-blocked .cbbc-band,
[data-admin="1"] .cbbc-day.is-blocked .cbbc-pill {
    background: #f6c453;
    border-color: #e0a800;
}

/* Small phones: make month/year selects readable */
@media (max-width: 420px) {

    .cbbc-month-nav select,
    .cbbc-month-nav .cbbc-month-select,
    .cbbc-month-nav .cbbc-year-select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .cbbc-month-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cbbc-month-nav select {
        font-size: 16px;
        /* prevents iOS zoom + improves readability */
    }
}