/**
 * Filter menu — sidebar facet filters for voorraad.
 */
.elementor-widget-autoflow_pro_vehicles_filter_menu.elementor-element {
    width: 100%;
}

.autoflow-filter-menu {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.autoflow-filter-menu__mobile-toggle {
    display: none;
    width: 100%;
    border: none;
    color: #fff;
    background: #1e1e1e;
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
}

.autoflow-filter-menu__panel {
    width: 100%;
}

.autoflow-filter-menu__header {
    font-size: 1.15em;
    font-weight: 600;
    margin: 0 0 16px;
}

.autoflow-filter-menu__blocks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.autoflow-filter-menu__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

.autoflow-filter-menu__selection,
.autoflow-filter-menu__block {
    box-sizing: border-box;
}

.autoflow-filter-menu__selection {
    border: 1px solid #e5e5e5;
    background: #fff;
    padding: 12px 14px;
}

.autoflow-filter-menu__selection-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.autoflow-filter-menu__selection-empty {
    font-size: 13px;
    opacity: 0.7;
}

.autoflow-filter-menu__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.autoflow-filter-menu__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid #1e1e1e;
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
    color: inherit;
    line-height: 1.3;
}

.autoflow-filter-menu__chip:hover {
    opacity: 0.8;
}

.autoflow-filter-menu__clear {
    display: inline-block;
    font-size: 13px;
    text-decoration: underline;
    color: inherit;
}

.autoflow-filter-menu__facet {
    border: 1px solid #e5e5e5;
    background: #fff;
    padding: 12px 14px;
    margin: 0;
}

.autoflow-filter-menu__facet-title {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    cursor: pointer;
    font-weight: 600;
    user-select: none;
}

.autoflow-filter-menu__facet-title::-webkit-details-marker {
    display: none;
}

.autoflow-filter-menu__facet-label {
    flex: 1 1 auto;
    min-width: 0;
}

.autoflow-filter-menu__facet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    width: 1.25em;
    height: 1.25em;
}

.autoflow-filter-menu__facet-icon i,
.autoflow-filter-menu__facet-icon svg {
    display: block;
    line-height: 1;
}

.autoflow-filter-menu__facet-icon--opened {
    display: none;
}

.autoflow-filter-menu__facet[open] > .autoflow-filter-menu__facet-title .autoflow-filter-menu__facet-icon--closed {
    display: none;
}

.autoflow-filter-menu__facet[open] > .autoflow-filter-menu__facet-title .autoflow-filter-menu__facet-icon--opened {
    display: inline-flex;
}

.autoflow-filter-menu__facet-body {
    padding: 12px 0 0;
}

.autoflow-filter-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.autoflow-filter-menu__option label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
    margin: 0;
}

.autoflow-filter-menu__option input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

.autoflow-filter-menu__option-label {
    flex: 1 1 auto;
    min-width: 0;
}

.autoflow-filter-menu__count {
    flex-shrink: 0;
    font-size: 0.9em;
    opacity: 0.65;
}

.autoflow-filter-menu__range-inputs {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.autoflow-filter-menu__range-inputs label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    margin: 0;
}

.autoflow-filter-menu__range-inputs input {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: #f7f7f7;
}

.autoflow-filter-menu__select,
.autoflow-filter-menu__input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: #fff;
}

.autoflow-filter-menu__actions {
    margin-top: 4px;
}

.autoflow-filter-menu__submit {
    width: 100%;
    border: none;
    color: #fff;
    background: #1e1e1e;
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
}

.autoflow-filter-menu__submit:hover {
    opacity: 0.9;
}

@media (max-width: 767px) {
    .autoflow-filter-menu__mobile-toggle {
        display: block;
    }

    .autoflow-filter-menu__panel {
        display: none;
        margin-top: 12px;
    }

    .autoflow-filter-menu.is-open .autoflow-filter-menu__panel {
        display: block;
    }
}
