.inner .woocommerce-widget-layered-nav {
    border-bottom: 1px solid #000 !important;
    margin-bottom: 20px !important;
    padding-bottom: 0px !important;
    position: relative;
}

.inner .woocommerce-widget-layered-nav:last-child {
    margin-bottom: 0 !important;
}

.inner .woocommerce-widget-layered-nav > h4.salient-filter-accordion__trigger {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 700 !important;
    justify-content: space-between;
    margin-bottom: 0 !important;
    padding: 0 30px 18px 0 !important;
}

.inner .woocommerce-widget-layered-nav.salient-filter-accordion::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6 8 10.5 12.5 6' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
    content: "";
    display: block;
    height: 14px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 10px;
    transition: transform 0.2s ease;
    width: 14px;
}

.inner .woocommerce-widget-layered-nav.salient-filter-accordion.is-open::after {
    transform: rotate(180deg);
}

#sidebar .inner .woocommerce-widget-layered-nav > .woocommerce-widget-layered-nav-list {
    display: block !important;
    margin-top: 0 !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0 !important;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.2s ease;
}

#sidebar .inner .woocommerce-widget-layered-nav.is-open > .woocommerce-widget-layered-nav-list {
    max-height: var(--accordion-content-height, 1000px);
    opacity: 1;
    pointer-events: auto;
}

#sidebar .inner .woocommerce-widget-layered-nav .woocommerce-widget-layered-nav-list__item--chosen a,
#sidebar .inner .woocommerce-widget-layered-nav .woocommerce-widget-layered-nav-list__item.chosen a  {
      color: #000 !important; 
    font-weight: 700 !important;
}

.woocommerce #sidebar .widget_layered_nav ul li a {
    font-size: 12px;
}

.woocommerce #sidebar .widget_layered_nav ul li:last-of-type {
    font-size: 12px;
    margin-bottom: 25px;
}

.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4:before,
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4:after {
    content: none;
}


@media only screen and (max-width: 999px) {
    .woocommerce #sidebar .widget.woocommerce:not(.no-widget-title) > ul {
        padding-left: 0px !important;
    }
}