.attributes_list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}

.attributes_list li {
    margin-right: 25px;
    padding-right: 20px;
    position: relative;
}

/*.attributes_list li::after{*/
/*    width:15px;*/
/*    height: 15px;*/
/*    border-radius: 100%;*/
/*    background: #f31a1a;*/
/*    color: #fff;*/
/*    font-size: 10px;*/
/*    display: flex;*/
/*    line-height: 0;*/
/*    cursor: pointer;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    content:"Х";*/
/*    position: absolute;*/
/*    right: 0;*/
/*    top:0;*/
/*}*/


.attributes-block__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-gap: 10px;

}

.attributes-block__grid div {
    /*border: 1px solid red;*/
    padding: 10px;
    background-color: #f5f2f2;
}

.filter_header {
    color: #fff;
    background: #f56a04;
    padding: 5px;
    max-width: fit-content;
}

.filter__list {
    margin: 0 0 20px 0;
}

.filter__list li {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#secondary-left{
    position: relative !important;
    background-color: #fff;
    transition: ease-in-out .3s;
}
/*#custom_product_filter_widget-2{*/
/*    transition: ease-in-out .3s;*/
/*    position: relative;*/
/*}*/
/* Для перебивания любых возможных стилей */
#secondary-left .widget-title {
    position: relative; /* Для обеспечения правильного размещения псевдоэлемента */
    padding-left: 30px; /* Добавим отступ для размещения картинки слева от текста */
}

/* Добавляем SVG-картинку через псевдоэлемент ::before */
#secondary-left .widget-title::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23777' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M11.5 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM9.05 3a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0V3h9.05zM4.5 7a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM2.05 8a2.5 2.5 0 0 1 4.9 0H16v1H6.95a2.5 2.5 0 0 1-4.9 0H0V8h2.05zm9.45 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm-2.45 1a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0v-1h9.05z'/%3E%3C/svg%3E");
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.filter-widget-new{
    position: relative;

}
.open_filter_button{
    background: #f56a04;
    color: #fff;
    border: 1px solid #f56a04;
    width: 40px;
    height: 40px;
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translate(-50%, -50%);
    z-index: 999;
    display: none;
}
.open-filter{
    transform: translate(0,-22%) !important;
}
.close-filter-button{
    position: absolute;
    top:0;
    right: 0;
    z-index: 999;
    display: none;

}
@media(max-width:992px) {
    #primary {
        width: 100% !important;
    }
    #secondary-left {
        position: absolute !important;
        transform: translate(-120%,-22%) ;
        box-shadow: 0 0 10px #f5f2f2;
        width: 90vw;
    }
    .open_filter_button{
        display: flex;
    }
    .close-filter-button{
        display: block;
    }
}