.wrapper-terms .swiper-button-next, .wrapper-terms .swiper-button-prev {
    transform: rotate(180deg) translateY(-8%);
}
.wrapper-terms .swiper-button-next {
    right: calc(100% + -18px) !important;
}
.wrapper-terms .swiper-button-prev {
    left: calc(100% + -18px) !important;
}
.shop-products {
    position: relative;
    margin: 56px 0 73px;
}
.term-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 80px;
    transition: 0.4s;
    position: relative;
    border: 1px solid var(--color3);
    border-radius: 1.5rem;
    box-shadow: 3px 3px 0px 0px var(--shadow);
}
.term-item:hover {
    box-shadow: unset;
}
.term-item img {
    max-width: 32px;
    max-height: 32px;
    transition: 0.4s;
}
.term-title {
    color: var(--color3);
    font-size: 16px;
    font-family: var(--demibold);
}
.orderby__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px 5px;
    margin: 24px auto;
    flex-wrap: wrap;
}
.widget-title.main-widget i {
    color: var(--color1);
    font-size: 24px;
}
/*.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: var(--black);
    padding: 8px 16px 8px 24px;
    min-height: 80px;
    flex: 0 0 100%;
    border: 1px solid var(--color3);
    border-radius: 1rem;
    box-shadow: 3px 3px 0px 0px var(--shadow);
}
.widget-sort-product {
    display: flex;
    align-items: center;
    gap: 10px;
}
.item-sort {
    position: relative;
}
.woocommerce-widget-sort-list {
    display: flex;
    align-items: center;
    gap: 19px;
}
.item-sort a {
    font-size: 16px;
    line-height: 20px;
    transition: 0.4s;
    color: #212121;
    font-family: var(--medium);
}
.item-sort {
    min-height: 48px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 6rem;
    padding-inline: clamp(0.75rem, 1vw, 2rem);
    background: unset;
    color: var(--white);
    border-radius: 8px;
    box-shadow: unset;
    transition: 0.4s;
    font-family: var(--medium);
    border: 1px solid transparent;
    cursor: pointer;
}
.item-sort:hover,
.item-sort.chosen {
    background: var(--color1);
    box-shadow: 3px 3px 0px 0px var(--shadow);
}
.item-sort.chosen a,
.item-sort:hover a {
    transition: 0.4s;
    color: var(--white);
}
.count-product {
    color: var(--color1);
    font-size: 16px;
    font-family: var(--medium);
}
.count-product span:first-child {
    font-size: 18px;
}
.sidebar-wrap {
    border-radius: 24px;
    background: #fff;
    border: 1px solid #EEEDE8;
    max-width: 100%;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}
.sidebar-wrap > .widget-title {
    background: #2EB77E40;
    display: flex;
    padding: 12px 22px;
    gap: 8px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 32px;
    color: #272829;
}
.btn-switch {
    display: block;
    position: relative;
    width: 40px;
    height: 24px;
    background: #E6E6E6;
    transition: 0.4s ease;
    border-radius: 100px;
    cursor: pointer;
}
.btn-switch input {
    display: none;
}
.btn-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 50%;
    left: 4px;
    bottom: 0;
    transition: 0.4s ease;
    width: 16px;
    height: 16px;
    background: var(--color3);
    border-radius: 100px;
    transform: translateY(-50%);
}
.btn-switch input:checked ~ .slider {
    right: 4px;
    left: unset;
}
.btn-switch:has(input[type="checkbox"]:checked) .slider {
    background-color: #E6E6E6;
}
.btn-switch:has(input:checked) {
    background: var(--color3);
}
.widgetArrow {
    cursor: pointer;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: -2px;
    top: 6px;
    transition: 0.4s ease;
    width: 20px;
    height: 20px;
    font-size: 14px;
    transform: rotate(90deg);
    color: #212121;
    transition: 0.4s;
}
.widgetArrow.active {
    transform: rotate(90deg) rotateY(-180deg);
    transition: 0.4s;
}
.widgetArrow.active:before {
    color: var(--color1);
}
.cat-item .widgetArrow {
    top: 0px;
}
.widgetArrow:hover {
    color: var(--color1);
}
.product-categories .children {
    padding: 16px 16px 0 0;
    gap: 8px;
    display: flex;
    flex-direction: column;
}
.widgetArrow:before {
    content: "\e901";
    font-family: icomoon;
    transform: rotate(-90deg);
    color: #212121;
}
.sidebar-inner .widget {
    margin-bottom: 20px;
}
.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;
    cursor: pointer;
    color: var(--color3);
    font-family: var(--medium);
}
.widget-title .title {
    pointer-events: none;
}
.product-categories {
    margin-top: 16px;
    gap: 16px;
    display: flex;
    flex-direction: column;
    padding-right: 14px;
    font-size: 14px;
    line-height: 1.5;
}
.product-categories li {
    position: relative;
}
.product-categories li:before {
    content: "";
    background-color: var(--color3);
    width: 6px;
    height: 6px;
    right: -14px;
    top: 10px;
    transform: translateY(-50%);
    position: absolute;
    border-radius: 50%;
    transition: 0.4s;
}
.product-categories a {
    color: var(--color3);
    transition: 0.4s;
}
.product-categories li:hover:before {
    background-color: var(--color1);
}
.product-categories li:hover > a {
    color: var(--color1);
}
.product-categories .current-cat:before {
    background: var(--primary);
}
.product-categories .current-cat-parent .widgetArrow,
.product-categories .current-cat a {
    color: var(--primary);
}
.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;
}
form.woocommerce-order-form {
    display: flex;
    white-space: nowrap;
    width: 100%;
    flex-direction: column;
}
.item-order {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(102, 104, 105, 0.2);
    margin-bottom: 1.5rem;
}
input#min_price,
input#max_price {
    display: block !important;
    border-radius: 12px;
    border: 1px solid rgb(136 140 162 / 0.4);
    background: #fff0;
    min-height: 52px;
    padding-inline: 12px;
    color: var(--color3);
    width: 100%;
    margin-bottom: 1rem;
    font-size: 14px;
}
.price_slider_amount label {
    display: block;
    color: rgb(7 11 49 / 0.6);
    font-size: 14px;
    line-height: 32px;
    margin-bottom: 5px;
}
.price_slider_amount > button {
    border-radius: 12px;
    background: var(--color3);
    font-family: var(--medium);
    width: 100%;
    min-height: 48px;
    transition: 0.4s;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
}
.price_slider_amount > button:hover {
    background: var(--color1);
}
.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(--medium);
    line-height: 32px;
    color: var(--color3);
    position: relative;
    display: flex;
    align-items: center;
}
.price_slider_wrapper {
    position: relative;
    margin-top: 16px;
}
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    position: relative;
    height: 8px;
    margin: 18px 18px 65px 5px;
    background-color: #E6E6E6;
    border-radius: 12px;
}
.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%;
    width: 100%;
    background: var(--darkPrimary);
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    font-size: .7em;
    display: block;
    border: 0;
    border-radius: 1em;
    background-color: var(--color3);
}
.price_slider_wrapper .ui-slider .ui-slider-handle {
    z-index: 2;
    width: 24px;
    height: 24px;
    cursor: ew-resize;
    outline: 0;
    top: -8px;
    margin-left: -5px;
    background: var(--color3);
    border-radius: 50%;
    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: "\e901";
    font-family: icomoon;
    font-size: 10px;
    color: white;
    background: var(--color3);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding-top: 2px;
    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: var(--color3);
    font-size: 14px;
    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: 20px;
    border-bottom: 1px solid rgb(136 140 162 / 0.12);
}
#sidebar-shop {
    position: fixed;
    right: -100%;
    top: 0;
    bottom: 0;
    transition: all 0.5s;
    z-index: 1;
    background: var(--white);
}
.sidebar-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 5px;
    color: var(--color3);
    cursor: pointer;
    max-width: 110px;
    background: #E6E6E6;
    border-radius: 12px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease;
    gap: 8px;
    font-family: var(--medium);
    box-shadow: 3px 3px 0px 0px var(--shadow);
}
.sidebar-btn:hover {
    background: var(--color3);
    color: var(--white);
}
#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;
    margin: 8px 0;
    padding-right: 1.5rem;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li a,
#sidebar-shop .widget.widget_layered_nav_filters ul li a {
    color: var(--gray0);
    position: relative;
    display: block;
    font-size: 14px;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li .count,
#sidebar-shop .widget.widget_layered_nav_filters ul li .count {
    display: none;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li a:before, #sidebar-shop .widget.widget_layered_nav_filters ul li a:before {
    content: "\e943";
    font-family: 'icomoon';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    width: 1rem;
    height: 1rem;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-60%);
    border-radius: 50%;
    background: var(--color3);
    position: absolute;
    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(--color1);
}
#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 {
    background: var(--color1);
    color: var(--white);
    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;
    font-size: 10px;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li.chosen:hover a {
    color: var(--color2);
    transition: all 0.4s ease;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li.chosen:hover a:before {
    content: "\e909";
    font-size: 8px;
    background: var(--color2);
    padding-left: 1px;
    transition: all 0.4s ease;
}
.price_slider_amount > .price_label {
    font-size: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.sidebar-banner {
    display: block;
    text-align: center;
}
.woo--order {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-direction: column;
}
.fiterM {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
}
.fiterM .woocommerce-ordering-mobile {
    flex: auto;
}
.woo--order .compare-btn-archive {
    flex: unset;
}
.mobile-count-product {
    flex: 0 0 100%;
}
.woocommerce-ordering-mobile {
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 3px 3px 0px 0px var(--shadow);
}
.woocommerce-ordering-mobile .orderby {
    display: block;
    width: 100%;
    background: var(--white);
    height: 60px;
    padding-right: 1rem;
    color: var(--color3);
    margin: 0;
    border-radius: 12px;
    border: 1px solid var(--color3);
    font-family: var(--medium);
    font-size: 14px;
}
@media screen and (max-width: 992px) {
    .sidebar.sidebar-shop {
        border-radius: 24px;
        margin: 0 36px;
    }
    .sidebar-close {
        color: var(--color1);
        display: flex;
        width: 40px;
        max-width: fit-content;
        min-width: 35px;
        height: 35px;
        align-items: center;
        justify-content: center;
        margin: 5px auto 5px 30px;
        cursor: pointer;
        transition: 0.4s ease;
    }
    .sidebar-close:hover {
        color: red;
    }
    .sidebar-inner {
        overflow-y: scroll;
        max-height: 75vh;
        overflow-x: inherit;
    }
}
@media screen and (max-width: 380px) {
    .sidebar.sidebar-shop {
        margin: 0;
    }
}
@media screen and (min-width: 768px) {
    .sidebar-wrap {
        margin-bottom: 24px;
        overflow: hidden;
    }
}
@media screen and (min-width: 992px) {
    .widget-sort-product {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .woocommerce-widget-sort-list {
        display: flex;
        align-items: center;
        gap: 0px;
    }
    .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) {
    .woocommerce-widget-sort-list {
        gap: 18px;
    }
    .wrap-order {
        flex: 1 0 78%;
    }
}
@media screen and (min-width: 1400px) {
    .wrap-order {
        flex: 1 0 0;
    }
}
.wrapper-terms .swiper-pagination {
    bottom: 0px !important;
}
@media screen and (max-width: 1200px) {
    .item-sort a {
        font-size: 12px;
    }
}
@media screen and (max-width: 992px) {
    .archive .m-pro {
        margin-bottom: 36px;
    }
    .item-sort a {
        font-size: 12px;
    }
}
@media screen and (max-width: 768px) {
    .wrapper-terms .swiper-button-next, .wrapper-terms .swiper-button-prev {
        transform: rotate(180deg) translateY(-130%);
    }
    .wrapper-terms .swiper-button-next {
        right: calc(100% + -45%) !important;
    }
    .wrapper-terms .swiper-button-prev {
        left: calc(100% + -45%) !important;
    }
    .sidebar-btn {
        max-width: 94px !important;
    }
    .term-item {
        padding: 0 8px;
    }
    .sidebar-wrap {
        background: rgb(255 255 255 / 0.06) !important;
    }
    .archive .m-pro {
        margin-bottom: 24px;
    }
}
@media screen and (max-width: 575px) {
    .archive .product-item .boxs {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 0.5rem;
    }
    .archive .product-image {
        flex: 0 0 40%;
    }
    .archive .product-item .eyelink {
        display: none;
    }
    .archive .product-card-text-wrap {
        width: 100%;
    }
    .archive .product-item .on-sale {
        width: 24px;
        height: 20px;
        font-size: 10px;
        border-radius: 4px;
        top: 14px;
        right: 14px;
    }
    .archive .product-item .on-new {
        left: auto;
        right: 14px;
        top: 40px;
        width: 24px;
        height: 20px;
        font-size: 17px;
        border-radius: 4px;
    }
    .archive .m-pro {
        margin-bottom: 16px;
    }
    .archive ul.page-numbers {
        margin-top: 1rem;
    }
    .archive .product-title-card a {
        font-size: 14px;
        margin: 0;
    }
}