/* Keep catalog filter checkboxes visible in both the desktop sidebar and mobile drawer. */
.bb-product-form-filter .bb-product-filter-items.filter-checkbox {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.bb-product-form-filter .bb-product-filter-items.filter-checkbox .bb-product-filter-item {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 42px !important;
    margin: 2px 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.bb-product-form-filter .bb-product-filter-items.filter-checkbox .bb-product-filter-item input[type="checkbox"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.bb-product-form-filter .bb-product-filter-items.filter-checkbox .bb-product-filter-item label {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-height: 42px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 7px 14px 7px 48px !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    color: #334155 !important;
    cursor: pointer !important;
    line-height: 1.35 !important;
}

.bb-product-form-filter .bb-product-filter-items.filter-checkbox .bb-product-filter-item label::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 18px !important;
    display: block !important;
    visibility: visible !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #0b7a5d !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    transform: translateY(-50%) !important;
}

.bb-product-form-filter .bb-product-filter-items.filter-checkbox .bb-product-filter-item label::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 24px !important;
    display: none !important;
    width: 5px !important;
    height: 10px !important;
    border: solid #ffffff !important;
    border-width: 0 2px 2px 0 !important;
    transform: translateY(-62%) rotate(45deg) !important;
}

.bb-product-form-filter .bb-product-filter-items.filter-checkbox .bb-product-filter-item input[type="checkbox"]:focus-visible + label {
    outline: 3px solid rgba(11, 122, 93, 0.24) !important;
    outline-offset: 2px !important;
}

.bb-product-form-filter .bb-product-filter-items.filter-checkbox .bb-product-filter-item input[type="checkbox"]:checked + label {
    border-color: #d7f0e7 !important;
    background: #eaf8f3 !important;
    color: #0b7a5d !important;
    font-weight: 600 !important;
}

.bb-product-form-filter .bb-product-filter-items.filter-checkbox .bb-product-filter-item input[type="checkbox"]:checked + label::before {
    border-color: #0b9b82 !important;
    background: #0b9b82 !important;
}

.bb-product-form-filter .bb-product-filter-items.filter-checkbox .bb-product-filter-item input[type="checkbox"]:checked + label::after {
    display: block !important;
}
