
.filters
{
    background: #ffffff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    overflow-y: auto;

    /* EMPECHE LE SCROLL DU BODY QUAND ON EST DANS LES FILTRES */
    overscroll-behavior: contain;
}

@media (min-width: 768px)
{
    .filters
    {
        width: 340px;
        position: sticky;
        top: calc(var(--header-height) + 1rem);
        height: calc(100vh - var(--header-height) - 2rem);
    }
}

@media (max-width: 768px)
{
    .filters
    {
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;

        width: 100%;
        max-width: none;

        transform: translateX(100%);
        transition: transform .25s ease;
        z-index: 1000;
    }

    .filters.is-open
    {
        transform: translateX(0);
    }
}
