.l-result__m-filter-navigation {
    display: none;
}
.l-result__filter-container {
  grid-auto-rows: 5rem;
}

main:has(.l-result__m-container.open) {
    z-index: 10;
}

@media (max-width: 799.8px) {
    .l-result__filter-container.open {
        height: 100vh;
        background-color: white;
        position: absolute;
        top: 0;
        right: 0;
        overflow-y: auto;
        padding: 1rem;
        width: clamp(25rem, 87vw, 35rem);
        pointer-events: all;
    }

    .l-result__m-overlay.open .l-result__m-filter-btn {       
        margin: 0;
        font-size: 2em;
        pointer-events: all;
        width: auto;
        height: 3rem;
        color: var(--grey-50);
        background: var(--blue-500);
        border-radius: 6px;
        padding-left: 0.5em;
        padding-right: 0.5em;
    }

    .l-result__m-overlay:has(.l-result__filter-container.open) {
        background: rgba(0, 0, 0, 0.3);
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
        pointer-events: none;
    }

    .l-result__filter-container.open>.dropdown:last-of-type>button {
        border-bottom: none;
    }

    .l-result__m-filter-name {
        font-size: 2.3em;
    }

    .l-result__m-filter-btn-span {
        font-size: 16px;
        text-align: center;
        padding-right: 0.5em;
    }


    .l-result__m-filter-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2rem 1rem;
    }

    .dropdown {
        border-bottom: 2px
    }

    .cmb__options--filter {
        position: relative;
    }

    .cmb__btn--filter {
        background: none;
        border: none;
        border-radius: 0em;
        border-bottom: 2px solid var(--grey-400);
        padding: 1em 0.5em;
    }

    .cmb__btn--filter .cmb__value {
        font-weight: bold;
    }

    .cmb__btn--filter[aria-expanded=true] {
        border: none;
        border-bottom: 2px solid transparent;
    }

    .cmb__btn--filter:active {
        border: none;
        border: 2px solid black;
    }

    .cmb__options--filter .filter__group {
        margin-left: 1.5em;
    }

    .cmb__options--filter .filter__group-legend {
        display: none;
    }

    .cmb__options--filter .filter__group .btn {
        display: none
    }

    .cmb__options--filter .filter__group {
        border: none;
        box-shadow: none;
        margin-bottom: 0.5rem;
    }

    .cmb__options--filter {
        box-shadow: none;
        border-radius: 0px;
        border: none;
        border-bottom: 2px solid var(--grey-400);
    }



    .cmb__options--filter .filter__list {
        row-gap: 10px;
        margin-top: 0.8rem;
        margin-bottom: 1.5rem;
    }


}