.modex-msan-filters {
    width: 100%;
}

.modex-msan-filters-heading {
    margin: 0 0 12px;
    font-weight: 600;
}

.modex-msan-filter {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.modex-msan-filter > summary {
    position: relative;
    padding: 12px 28px 12px 0;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    line-height: 1.3;
}

.modex-msan-filter > summary::-webkit-details-marker {
    display: none;
}

.modex-msan-filter > summary::after {
    content: "⌄";
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-55%);
    transition: transform .18s ease;
}

.modex-msan-filter[open] > summary::after {
    transform: translateY(-45%) rotate(180deg);
}

.modex-msan-filter-content {
    padding: 0 0 13px;
}

.modex-msan-filter-content .berocket_aapf_widget-title,
.modex-msan-filter-content .berocket_aapf_widget-title_div,
.modex-msan-filter-content h3,
.modex-msan-filter-content h4 {
    display: none !important;
}

.modex-msan-filter-content select {
    width: 100%;
    max-width: 100%;
}

.modex-msan-filter.is-empty {
    display: none !important;
}

.modex-msan-filter-warning {
    padding: 10px;
    border: 1px solid #dba617;
    background: #fff8d8;
}

.modex-native-filter-select {
    width: 100%;
    max-width: 100%;
    min-height: 38px;
}


.modex-native-checkbox-filter {
    display: grid;
    gap: 7px;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 4px;
}

.modex-native-checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

.modex-native-checkbox-option input {
    margin: 0;
}


.modex-native-price-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.modex-native-price-filter label {
    display: grid;
    gap: 5px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.modex-native-price-filter input {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 7px 9px;
    border: 1px solid rgba(0, 0, 0, 0.20);
    border-radius: 5px;
    background: #fff;
}

.modex-filter-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin-top: 16px;
}

.modex-filter-actions button {
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.modex-apply-filters {
    border: 2px solid #111;
    background: #ffd400;
    color: #111;
    box-shadow: 0 4px 9px rgba(0, 0, 0, .16);
}

.modex-apply-filters:hover,
.modex-apply-filters:focus {
    background: #111;
    color: #ffd400;
    transform: translateY(-1px);
    box-shadow: 0 6px 13px rgba(0, 0, 0, .22);
}

.modex-reset-filters {
    border: 1px solid rgba(0, 0, 0, .22);
    background: #f2f2f2;
    color: #333;
}

.modex-reset-filters:hover,
.modex-reset-filters:focus {
    background: #e6e6e6;
}

@media (max-width: 767px) {
    .modex-filter-actions {
        position: sticky;
        bottom: 0;
        z-index: 20;
        padding: 10px 0 4px;
        background: #fff;
    }
}
