/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

.af-checkbox-label .checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
    width: 16px;
    height: 16px;
}

.af_filter .name {
    padding-left: 22px;
}
.af-checkbox-label::after {
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50% / 60% 100%;
    border: 1px solid #ADB5BD;
}
.af-checkbox-label:has(.checkbox:checked)::after {
    border-color: #E3000F;
    background-color: #E3000F;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}