.term-item {
    border: 1px solid #EBEBEB;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    position: relative;
}
.term-item::before {
    content: '';
    width: 24px;
    height: 24px;
    background: #2DB67E1A;
    border-radius: 50px;
    position: absolute;
    bottom: 21px;
    right: 12px;
}
.term-item img {
    max-width: 36px;
    max-height: 36px;
}
.term-title {
    color: #313131;
    font-size: 16px;
    font-family: var(--main_font);
    line-height: 28px;
    min-height: 56px;
    display: flex;
    align-items: center;
}
.orderby__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px 5px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.widget-title.main-widget i {
    font-size: 18px;
}

.more-tax-desc {
    margin-top: 20px;
    color: var(--color2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.more-tax-desc:hover {
    color: var(--color1);
}
.wrap-order {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #D8D8F6;
    padding: 18px 24px;
    border-radius: 17px;
}
.widget-sort-product {
    display: flex;
    align-items: center;
    gap: 33px;
}
.item-sort {
    position: relative;
}
.item-sort::before {
    content: '';
    width: 29px;
    height: 6px;
    border-radius: 6px 6px 0px 0px;
    background: var(--color3);
    position: absolute;
    bottom: -18px;
    right: 50%;
    transform: translateX(50%);
    opacity: 0;
    transition: 0.4s ease;
}
.item-sort.chosen::before {
    opacity: 1;
}
.item-sort.chosen a {
    color: var(--color3);
}
.product-count {
    color: rgba(36, 36, 36, 0.5);
    font-size: 12px;
}
.woocommerce-widget-sort-list {
    display: flex;
    align-items: center;
    gap: 28px;
}
.item-sort a {
    font-size: 13px;
    line-height: 20px;
    color: #242424;

}
.item-sort a:hover {
    color: var(--color3);
}
.widget-title-sort span {
    font-family: var(--bold_font);
    color: var(--color3);
    font-size: 14px;
    line-height: 20px;
}

.widget-title-sort {
    display: flex;
    align-items: center;
    color: var(--color3);
}
.widget-title-sort i {
    font-size: 20px;
    margin-left: 5px;
}
.count-product {
    color: var(--color1);
    font-size: 13px;
    display: flex;
    gap: 5px;
    align-items: center;
}
.count-product span:first-child {
    font-size: 18px;
}
.sidebar-wrap {
    border-radius: 22px;
    background: #fff;
    border: 1px solid #CCCCF2;
    max-width: 100%;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    filter: drop-shadow(0 0 16.5px rgba(0, 0, 108, 0.05));
}
.sidebar-wrap > .widget-title {
    background: var(--color3);
    border-radius: 15px;
    display: flex;
    padding: 12px 22px;
    gap: 10px;
    align-items: center;
    font-size: 16px;
    line-height: 32px;
    color: #fff;
    margin: 10px;
    position: relative;
}
.widget-title.main-widget .caticon {
    color: #fff;
    left: 16px;
}
.btn-switch {
    display: block;
    position: relative;
    width: 43px;
    height: 23px;
    background:  #66686933;
    transition: 0.4s ease;
    border-radius: 12px;
    cursor: pointer;
}
.btn-switch input {
    display: none;
}
.btn-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 2px;
    right: 22px;
    bottom: 0;
    transition: 0.4s ease;
    width: 19px;
    height: 19px;
    background: #fff;
    border-radius: 20px;
}
.btn-switch input:checked~.slider {
    right: 2px;
}
.btn-switch:has(input[type="checkbox"]:checked){
    background-color:var(--color3);
}
.widgetArrow {
    cursor: pointer;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: -4px;
    top: 8px;
    transition: 0.4s ease;
    width: 20px;
    height: 20px;
    font-size: 9px;
    transform: rotate(90deg);
    color: #272829;
}
.cat-item .widgetArrow {
    top: 11px;
}
.widgetArrow:hover {
    color: var(--color2);
}

.widgetArrow:before {
    content: '\e92c';
    font-family: icomoon;
    transform: rotate(-90deg);
    display: inline-block;
}
.widgetArrow.active {
    transform: rotate(-90deg);
    color: var(--color1);
}

.sidebar-inner {
    padding: 24px 16px 24px;
}
.sidebar-inner .widget {
    margin-bottom: 12px;
}
.sidebar-inner .widget-side:last-child {
    margin-bottom: 0 !important;
}
.sidebar-inner .widget-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 32px;
    position: relative;
    padding-top: 10px;
}
.sidebar-inner .widget_product_categories .widget-title {
    padding-bottom: 15px;
    padding-top: 0;
}
.sidebar-inner .widget_product_categories .widget-title .caticon {
    top: 6px;
}
.sidebar-inner .widget-title h4 {
    font-family: var(--main_font);
}
.widget-title .title {
    pointer-events: none;
}
.sidebar-inner .widget-title .caticon {
    top: 14px;
}
.sidebar-inner .woocommerce-widget-layered-nav .widget-title {
    padding-bottom: 15px;
}
.sidebar-inner .woocommerce-widget-layered-nav .widget-title:before {
    content: '';
    width: 3px;
    height: 24px;
    background: #CCCCF2;
    display: inline-block;
    border-radius: 3px 0 0 3px;
    transition: 0.4s ease;
    margin-left: 9px;
}

.price_input_amount_wrap .input--wrapper {
    position: relative;
    max-height: 40px;
}
.price_input_amount_wrap {
    margin-top: 12px;
}
.price_input_amount_wrap .input--wrapper:before {
    content: 'تومان';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    align-items: center;
    color: #8E8E8E;
}
.order-box {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
form.woocommerce-order-form {
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 4px;
    font-size: 16px;
}
input#min_price,
input#max_price {
    display: block !important;
    border-radius: 12px;
    border: 1px solid #4D4E5066;
    background: #fff;
    min-height: 52px;
    padding: 7px 12px 0;
    color: #272829;
    width: 100%;
    margin-bottom: 20px;
    font-size: 14px;

}
.price_slider_amount label {
    display: block;
    color:  #34353699;
    font-size: 14px;
    line-height: 32px;
    margin-bottom: 5px;
}


.price_slider_amount > button {
    margin: 6px auto 0;
}

.price_slider_amount .row-btn {
    margin-top: 12px;
}

#max_price:focus,
#min_price:focus {
    border: 1px solid var(--color2);
}




.checkbox {
    font-size: 16px;
    font-family: var(--main_font);
    line-height: 32px;
    color: #252525;
    position: relative;
    display: flex;
    align-items: center;
}

.price_slider_wrapper {
    position: relative;
    margin-top: 35px;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    position: relative;
    height: 8px;
    margin: 18px 18px 65px 5px;
    background: #66686933;
}

.woocommerce .widget_price_filter .ui-slider-horizontal {
    height: 8px;
    background-color: var(--color1);
}

.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%;
    width: 100%;
    background: var(--color1);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    font-size: .7em;
    display: block;
    border: 0;
    border-radius: 1em;
}

.price_slider_wrapper .ui-slider .ui-slider-handle {
    z-index: 2;
    width: 20px;
    height: 20px;
    cursor: ew-resize;
    outline: 0;
    top: -6px;
    margin-left: -5px;
    background: var(--color1);
    border-radius: 6px;
    position: absolute;
    transition: all 0.4s;
    left: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.price_slider_wrapper .ui-slider .ui-slider-handle:hover {
    background: var(--color2);
}
.price_slider_wrapper .ui-slider .ui-slider-handle:before {
    content: '\e92c';
    font-family: icomoon;
    font-size: 8px;
    color: #fff;
    transform: rotate(90deg);
}
.price_slider_wrapper .ui-slider .ui-slider-handle:last-child::before {
    transform: rotate(-90deg);
}
.price_label .from,
.price_label .to {
    position: absolute;
    color: #252525;
    font-size: 12px;
    top: 34px;
    visibility: visible;
    line-height: 12px;
}

.price_label .to {
    right: 0;
}

.price_label .from {
    left: 0;
}
.price_slider_amount {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 14px;
}
.sidebar-inner .widget-side:not(:last-child) {
    padding-bottom: 12px;
    margin-bottom: 12px !important;
    border-bottom: 1px solid rgba(102, 104, 105, 0.2);
}
.sidebar-inner .widget-side.widget_product_categories {
    padding-bottom: 0;
}
#sidebar-shop {
    position: fixed;
    right: -100%;
    top: 0;
    bottom: 0;
    transition: all 0.5s;
    z-index: 1;
    background: #fff;
}

.sidebar-btn {
    color: #fff;
    padding: 10px 0;
    cursor: pointer;
    position: fixed;
    bottom: 110px;
    background: var(--color3);
    border: 4px solid rgb(196, 196, 244);
    width: 86px;
    height: 86px;
    border-radius: 100%;
    display: inline-flex;
    z-index: 9;
    left: 15px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 12px;
}
.sidebar-btn i {
    font-size: 22px;
}
.woocommerce-ordering-mobile {
    position: relative;
    margin-bottom: 16px;
}

.woocommerce-ordering-mobile .orderby {
    display: block;
    width: 100%;
    border-radius: 15px;
    height: 62px;
    padding-right: 52px;
    background: #fff;
    color: var(--color3);
    font-family: inherit;
    border: 1px solid #CCCCF2;
    border-radius: 15px;
    margin-bottom: 16px;


    appearance : none;
    -moz-appearance : none
}
.stuck-switch-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.woocommerce-ordering-mobile i {
    position: absolute;
    color: var(--color3);
    font-size: 23px;
    top: 22px;
    right: 16px;
    pointer-events: none;
    z-index: 1;
}
.woocommerce-ordering-mobile::after {
    content: '\e916';
    font-family: icomoon;
    transform: rotate(0deg);
    font-size: 13px;
    display: inline-block;
    z-index: 0;
    transition: 0.4s;
    position: absolute;
    left: 17px;
    top: 19px;
    pointer-events: none;
    color: var(--color1)
}
#sidebar-shop.active{
    right: 0;
    z-index: 99999;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul,
#sidebar-shop .widget.widget_layered_nav_filters ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li,
#sidebar-shop .widget.widget_layered_nav_filters ul li {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li a,
#sidebar-shop .widget.widget_layered_nav_filters ul li a {
    color: #252525;
    position: relative;
    display: flex;
    font-size: 13px;
    line-height: 1;
    padding: 12px 0;
    align-items: center;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li .count,
#sidebar-shop .widget.widget_layered_nav_filters ul li .count {
    font-size: 12px;
    color: #24242496;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li a:before,
#sidebar-shop .widget.widget_layered_nav_filters ul li a:before {
    content: "\e939";
    font-family: 'icomoon';
    font-size: 17px;
    margin-left: 10px;
    color: var(--color3);
    display: inline-block;
    position: relative;
    opacity: 1;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li a:after,
#sidebar-shop .widget.widget_layered_nav_filters ul li a:after {
    content: "\e93a";
    font-family: 'icomoon';
    font-size: 18px;
    margin-left: 10px;
    color: var(--color3);
    display: inline-block;
    position: absolute;
    opacity: 0;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li.chosen a,
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li:hover a,
#sidebar-shop .widget.widget_layered_nav_filters ul li.chosen a,
#sidebar-shop .widget.widget_layered_nav_filters ul li:hover a {
    color: var(--color3);
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li.chosen a:after,
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li:hover a:after,
#sidebar-shop .widget.widget_layered_nav_filters ul li.chosen a:after,
#sidebar-shop .widget.widget_layered_nav_filters ul li:hover a:after {
    opacity: 1;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li.chosen a:before,
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li:hover a:before,
#sidebar-shop .widget.widget_layered_nav_filters ul li.chosen a:before,
#sidebar-shop .widget.widget_layered_nav_filters ul li:hover a:before {
    opacity: 0;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
}

.price_slider_amount > .price_label {
    font-size: 0;
}
.sidebar-banner {
    display: block;
    text-align: center;
    border-radius: 80px 0;
    overflow: hidden;
    filter: brightness(0.9);
    transition: 0.4s ease;
}
.sidebar-banner img {
    width: 100%;
}
.sidebar-banner:hover {
    filter: brightness(1.2);
}
.woo--order {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 10px;
    margin-bottom: 15px;
}
.mobile-count-product {
    flex: 0 0 100%;
}




@media screen and (max-width: 992px){
    .sidebar.sidebar-shop {
        box-shadow: 0px 6.31px 37.84px 0px #99999933;
        border-radius: 24px;
        margin: 0 36px;
    }
    .sidebar-close {
        color: #ff0e0e;
        display: flex;
        width: 40px;
        max-width: fit-content;
        min-width: 35px;
        height: 35px;
        align-items: center;
        justify-content: center;
        margin: 15px auto 15px 30px;
        cursor: pointer;
        transition: 0.4s ease;
        font-size: 22px;
    }
    .sidebar-close:hover {
        color: darkred;
    }
    .sidebar-inner {
        overflow: auto;
        max-height: calc(95vh - 100px);

    }
}
@media screen and (max-width: 380px){
    .sidebar.sidebar-shop {
        margin: 0;
    }
}
@media screen and (min-width: 768px){

    .sidebar-inner {
        padding: 12px 21px;

    }
    .sidebar-wrap {
        margin-bottom: 24px;
        overflow: hidden;
    }
    .sidebar-wrap > .widget-title {
        padding: 15px 22px;
    }
    .archive-content,
    .archive-faq {
        margin: 80px 0;
    }
}
@media screen and (min-width: 992px){
    #sidebar-shop.active {
        box-shadow: none;
    }
    #sidebar-shop {
        padding: 0;
        width: unset;
        max-width: unset;
    }
    .sidebar-btn {
        display: none;
    }
    #sidebar-shop {
        position: unset;
        right: auto;
        overflow-y: unset;
        background: transparent;
        box-shadow: none;
    }

    #sidebar-shop .sidebar-close {
        display: none;
    }
    .widget-sort-product {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .woocommerce-widget-sort-list {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .sidebar-btn {
        display: none;
    }
    #sidebar {
        position: unset;
        right: auto;
        overflow-y: unset;
        background: transparent;
    }
    #sidebar .sidebar-close{
        display:none;
    }
}
@media screen and (min-width: 1200px){
    .widget-sort-product {
        gap: 25px;
    }
    .woocommerce-widget-sort-list {
        gap: 25px;
    }
    .wrap-order {
        flex: 1 0 78%;
    }
}
@media screen and (min-width: 1400px){

    .wrap-order {
        flex: 1 0 0;
    }
}
@media screen and (min-width: 992px) {



}