.category-products-filters-two{
    padding:10px;
    
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items:center;
    
    font-size:14px;
}

.mfilter-wrapper{
    flex-grow:10;
    flex-shrink:1;
    
    display: flex;
    flex-direction: column;
    justify-content:space-beetwen;
    align-items:flex-start;
    
    gap: 20px 20px;
    
}

/*АКТИВНЫЕ ФИЛЬТРЫ*/
.category-products-filters{
    /*padding:0px 10px;*/
    flex-grow:1;
    
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items:center;
    
    gap: 5px 5px;
}

.mfilter-blocks{
    max-width:100%;
    width:100%;
    
    display:flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items:space-between;
    
    gap:10px 10px;
    
}



.filters-active{
    display:block;
}


.modalHidden{
    display:none;
}

.modalShow{
    width:100%;
    
    position: fixed;           /* Фиксируется на экране при скролле */
    top: 0;
    left: 0;
    width: 100vw;              /* 100% ширины экрана */
    height: 100vh;             /* 100% высоты экрана */
    background-color: rgba(0, 0, 0, 0.6); /* Черный цвет с прозрачностью 60% */
    z-index: 9999;             /* Выше всех элементов на странице */
    
    padding:0px;
    
}
.modalClose{
    padding:8px;
    
    z-index: 9999;             /* Выше всех элементов на странице */
    
    position: absolute;
    top: 10px;
    right: 10px;
}
.modalInner{
    
    position: fixed;
    top: 7%;
    left: 50%;
    /*transform: translate(-50%, -50%);*/
    transform: translateX(-50%);
    
    max-width: 100%;
    max-height: 88%;
    width: 90%;
    height: 88%;
    
    overflow-y: auto; /* Включает вертикальный скролл при необходимости */
    overflow-x: hidden; /* Отключает горизонтальную прокрутку */
    
    background-color: #fff;
    border: 1px solid #000;
    opacity: 1;
    
    /*z-index: 9999;*/
    padding:10px;
    
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}



@container category-products-container (max-width: 1000px) {
    .mfilter-blocks{
        flex-direction: row;
        justify-content:center;
        flex-wrap:wrap;
    }
    
    
}

/* Android */
@container category-products-container (max-width: 500px) {
    .mfilter-blocks{
        flex-direction: column;
        
    }
    
    .mfilter-wrapper{
        align-items:center;
    }
    
    .mfilter-pagination{
        flex-wrap:wrap;
    }
    
    
}

