/* =============================================
   Mall Set Filter — redesigned checkboxes
   ============================================= */

/* Hide the native input, use label as the clickable element */
.mall-filter__option-input,
.mall-filter__boolean-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Regular option label */
.mall-filter__option-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    margin-bottom: 4px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
    border: 1px solid transparent;
}

.mall-filter__option-label:hover {
    background: #f5f5f5;
    border-color: #ddd;
}

.mall-filter__option-label--selected {
    background: #fff0f0;
    border-color: #e00;
    color: #000;
    font-weight: 600;
}

/* Boolean (Yes/No) label */
.mall-filter__boolean {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    margin-bottom: 4px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
    border: 1px solid transparent;
}

.mall-filter__boolean:hover {
    background: #f5f5f5;
    border-color: #ddd;
}

.mall-filter__boolean--selected {
    background: #fff0f0;
    border-color: #e00;
    color: #000;
    font-weight: 600;
}

/* Custom checkbox box */
.mall-filter__option-check,
.mall-filter__boolean-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, background 0.15s ease;
    color: transparent;
}

.mall-filter__option-label--selected .mall-filter__option-check,
.mall-filter__boolean--selected .mall-filter__boolean-check {
    border-color: #e00;
    background: #e00;
    color: white;
}
