

/* Стили фильтра */
/* Общие стили контейнера атрибута */
.attr-container {
    font-size: 16px;
    text-transform: uppercase;
    padding: 8px;
    border-bottom: 1px solid #dfdfdf;
}

/* Заголовок атрибута */
.attr-heading {
    cursor: pointer;
    position: relative;
    padding: 10px 0;
    user-select: none;
    width: 100%;
    display: block;
}

/* Иконка-стрелка, будет вращаться при активном состоянии */
.attr-heading::after {
    content: "";
    position: absolute;
    right: -21px;
    height: 100%;
    width: 14px;
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='13' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5.379L20.621 2.5 10.5 12.621.379 2.5 2.5.379l8 8z' fill='%234F5D6D' fill-rule='nonzero'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    bottom: 0;
    transition: transform 0.3s ease;
}

/* При активном состоянии заголовка стрелка переворачивается */
.attr-heading.active::after {
    transform: rotate(180deg);
}

/* Содержимое атрибута (чекбоксы и т.д.) */
.attr-content {
    display: flex;
    flex-direction: column;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out;
}

/* При активном заголовке раскрываем контент */
.attr-heading.active + .attr-content {
    max-height: 1000px; 
    opacity: 1;
}

/* Стили для чекбоксов внутри контента */
.attr-content input[type="checkbox"] {
    margin-right: 8px;
}

/* Кнопка "Смотреть все" */
.filter_go {
    background: pink;
    padding: 13px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s;
}
.filter_go:hover {
    background: #ffc0cb; /* чуть светлее розовый */
}


.woocommerce-ordering-x {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
    position: relative;
}

.woocommerce-ordering-x {
    position: relative;
    z-index: 3;
}

footer .smart-filter {
     display: none;
}

@media(max-width: 689.98px) {
    .woocommerce-ordering-x select {
      color:rgba(0,0,0,0);
      width:34px;
      height:34px;
      padding:0;
      -webkit-user-select:none;
      user-select:none;
      background-image:none
    }
}

.woocommerce-ordering-x .ct-sort-icon {
    position:absolute;
    pointer-events:none
}
  