.cw-deal-filter-container {
    margin-bottom: 2em;
}

.cw-filter-section {
    margin-bottom: 1.5em;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.cw-filter-section h4 {
    margin-bottom: 10px;
}

.cw-live-search {
    width: 100%;
    margin-bottom: 10px;
    padding: 6px 10px;
    box-sizing: border-box;
}

.cw-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
}

.cw-filter-list li {
    margin-bottom: 6px;
}

.cw-checkbox-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}

.cw-count {
    color: #888;
    font-size: 0.85em;
}

.cw-hidden-item {
    display: none;
}

.cw-hidden-item.cw-show {
    display: list-item;
}

.cw-toggle-btn {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.85em;
    text-decoration: none;
    color: #0073aa;
}

.cw-apply-btn {
    width: 100%;
    margin-top: 10px;
}

/* --- NEW: Styling for impossible filter choices --- */
.cw-disabled-choice {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
    /* Optional: adds a nice visual strike-through */
}

/* Ensure the checkbox itself also looks disabled */
.cw-disabled-choice input[type="checkbox"] {
    cursor: not-allowed;
}

/* Optional loading state while the REST API is being fetched */
.cw-is-loading {
    opacity: 0.7;
    pointer-events: none;
    /* Prevents double-clicking while it calculates */
    transition: opacity 0.2s ease;
}

/* Find where you set this: */
.cw-is-loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Add this right below it: */
.cw-is-loading button[type="submit"] {
    pointer-events: auto;
    /* Keeps the apply button clickable during background fetches */
}