/*
FILTER
*/
.offcanvas.offcanvas-start {
    width: 450px !important;
}

.filter {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.filter-background {
    background-color: white;
    height: 100%;
    width: 100%;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    font-size: 1rem;
    background-color: var(--color-background-one);
    color: white;
}

.offcanvas-header .icon-filter {
    font-size: 1.5rem;
}

.filter-header-title {
    color: white;
    font-size: 1rem;
}

.filter-header-title i {
    font-size: 1.2rem;
}

.bi-sliders {
    font-size: 1.5rem;
}

.filter-header .filter-header-title {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: bold;
}

span.filter-toggle {
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    color: var(--color-text-one);
    border-radius: 50%;
    cursor: pointer;
}

span.filter-toggle:hover {
    background-color: #F3F4F6;
    color: var(--color-text-one);
}

.filter-content {
    padding: 15px;
    overflow-y: scroll;
    height: calc(100% - 56px); /* cabeçalho do filtro mede 56 px no desktop */
}

.filter-content .btn {
    background-color: #F3F4F6;
    color: #374151;
    border: 0;
}

.filter-content .btn:hover {
    background-color: var(--color-background-one);
    color: white;
}

.filter-content-option .filter-content-option-title {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

.filter-content-option .filter-content-option-item {
    display: flex;
    cursor: pointer;
}

.filter-content-option-item input {
    width: 15px;
    margin-right: 10px;
}

.filter-content-option-item span {
    font-size: 0.875rem;
}

.filter-content-option-item .active {
    font-weight: bold;
}

.box-options {
    display: flex;
    flex-wrap: wrap;
}

.box-options .filter-content-option-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 15px;
    min-height: 39px;
    border: 1px solid #F3F4F6;
}

.box-options .filter-content-option-item:hover {
    background-color: var(--color-background-one);
    color: white;
}

.box-options .active {
    background-color: var(--color-background-one);
    color: white;
}

.box-options .icon-checkmark {
    display: none;
    font-size: 1.125rem;
    text-shadow: 0 2px 0 #111827;
}

.box-options .active .icon-checkmark {
    display: block;
}

.box-options .filter-content-option-item input {
    display: none;
}

.filter-collapse {
    background-color: #1F2937;
    opacity: 0.4;
    cursor: pointer;
}

@media (max-width: 768px) {
    .filter {
        position: fixed;
        top: 170px;
    }
}