.archive-intro {
    position: relative;
    padding-bottom: 40px;
}

.more-tax-desc {
    margin-top: 20px;
    color: var(--color2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.more-tax-desc i {
    font-size: 7px;
}

.more-tax-desc:hover {
    color: var(--color1);
}

.wrap-order {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #EEEDE866;
    padding: 16px 32px;
    border-radius: 17px;
}

.widget-sort-product {
    display: flex;
    align-items: center;
    gap: 33px;
}

.item-sort {
    position: relative;
}

.item-sort::before {
    content: '';
    width: 17px;
    height: 5px;
    border-radius: 8px 8px 0px 0px;
    background: var(--color1);
    position: absolute;
    bottom: -17px;
    right: 50%;
    transform: translateX(50%);
    opacity: 0;
    transition: 0.4s ease;
}

.item-sort.chosen::before {
    opacity: 1;
}

.woocommerce-widget-sort-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.item-sort a {
    font-size: 13px;
    line-height: 20px;
    color: #242424;
}

.widget-title-sort span {
    font-family: var(--bold_font);
    color: var(--color4);
    font-size: 14px;
    line-height: 20px;
}

.widget-title-sort {
    display: flex;
    align-items: center;
    color: var(--color4);
}

.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: 32px;
    background: #fff;
    border: 1px solid #EEEDE8;
    max-width: 100%;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.sidebar-wrap>.widget-title {
    background: #fff;
    display: flex;
    border-radius: 24px;
    padding: 21px 22px;
    gap: 10px;
    align-items: center;
    font-size: 16px;
    line-height: 32px;
    color: #4E3846;
}

.caticon {
    cursor: pointer;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 18px;
    transition: 0.4s ease;
    width: 20px;
    height: 20px;
    font-size: 14px;
    transform: rotate(90deg);
    color: #212121;
}

.children .caticon {
    top: 5px;
}

.caticon:hover {
    color: var(--color2);
}

.product-categories .caticon {
    top: 5px;
}

.product-categories .children {
    padding: 0 15px;
}

.widget-title .caticon {
    position: relative;
    top: unset;
    left: unset;
    color: #4E3846;
    transform: rotate(+90deg);
    margin-right: auto;

}

.caticon:before {
    content: '\e90e';
    font-family: icomoon;
    transform: rotate(-90deg);
    font-size: 7px;
    display: inline-block;
    z-index: 0;
    transition: 0.4s;
}

.caticon.active {
    transform: rotate(-90deg);
    color: var(--color2);
}

.widget-title .caticon.active {
    transform: rotate(-90deg);
    color: var(--color1);
}

.sidebar-inner {
    padding: 24px 16px 24px;
    display: none;
}

.sidebar-inner .widget-side:last-child {
    margin-bottom: 0 !important;
}

.sidebar-inner .widget-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 28px;
}

.widget-title .title {
    pointer-events: none;
}

.woocommerce.widget_product_categories .cat-item a {
    color: #212121;
    font-size: 14px;
    line-height: 24px;
    display: block;
    padding: 4px 8px;
}

.woocommerce.widget_product_categories .cat-item a:before {
    content: '';
    width: 6px;
    height: 6px;
    display: inline-block;
    background: #fff;
    border-radius: 10px;
    margin-left: 10px;
    border: 1px solid var(--color4)
}

.woocommerce.widget_product_categories .cat-item a:hover {
    color: var(--color4)
}

.woocommerce.widget_product_categories .cat-item a:hover:before {
    background: var(--color4)
}

.product-categories {
    margin-top: 10px;
}

.woocommerce.widget_product_categories .cat-item {
    margin-bottom: 8px;
    position: relative;
}

.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;
    font-family: var(--bold_font);
    padding-bottom: 28px;
    border-bottom: 1px solid #C2ABA180;
    margin-bottom: 28px;
}

input#min_price,
input#max_price {
    display: block !important;
    border-radius: 22px;
    border: 0.5px solid #BE9E6E;
    background: #BE9E6E1A;
    min-height: 52px;
    padding: 7px 12px 0;
    color: #4E3846;
    width: 100%;
    margin-bottom: 20px;
    font-size: 18px;

}

.price_slider_amount label {
    display: block;
    color: #8A8A8A;
    font-size: 13px;
    line-height: 26px;
    margin-bottom: 8px;
}


.price_slider_amount>.button {
    max-width: 118px;
    justify-content: center;
    padding: 0 10px !important;
    height: 44px !important;
    margin: 6px auto 0;
    background: var(--color4);
    border-color: var(--color4);
}

.price_slider_amount .row-btn {
    margin-top: 12px;
}

#max_price:focus,
#min_price:focus {
    border: 1px solid var(--color2);
}

.btn-switch {
    display: block;
    position: relative;
    width: 33px;
    height: 20px;
    background: #b2b2b2;
    transition: 0.4s ease;
    border-radius: 64px;
    cursor: pointer;
}

.btn-switch input {
    display: none;
}

.btn-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 1px;
    left: 1px;
    bottom: 0;
    transition: 0.4s ease;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 64px;
}

.btn-switch input:checked~.slider {
    right: 1px;
    left: unset;
}

.btn-switch:has(input[type="checkbox"]:checked) {
    background-color: var(--color1);
}

.slider.round {
    border-radius: 26px;
}

.widget_layered_nav_filters>ul>li.chosen>a:before {
    content: '';
    display: block;
    height: 6px;
    width: 6px;
    margin-right: 8px;
    background-color: #33373E;
    border-radius: 100%;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0px;
    bottom: 0;
    margin: auto;
    right: 15px;
    transition: .4s;
}

.checkbox {
    font-size: 14px;
    font-family: var(--main_font);
    line-height: 32px;
    color: #252525;
    position: relative;
    display: flex;
    align-items: center;
}

.checkbox::before {
    content: '';
    height: 24px;
    width: 3px;
    border-radius: 8px 0px 0px 8px;
    display: inline-block;
    background: var(--color2);
    margin-left: 10px;
}

.price_slider_wrapper {
    position: relative;
    margin-top: 35px;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    position: relative;
    height: 3px;
    margin: 18px 18px 65px 5px;
    background: #4E505133
}

.woocommerce .widget_price_filter .ui-slider-horizontal {
    height: 1px;
    background-color: var(--color2);
}

.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%;
    width: 100%;
    background: var(--color2);
}

.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: 23px;
    height: 23px;
    cursor: ew-resize;
    outline: 0;
    top: -10px;
    margin-left: -5px;
    background: var(--color2);
    border-radius: 100%;
    position: absolute;
    transition: all 0.3s;
    left: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/*.price_slider_wrapper .ui-slider .ui-slider-handle:before {*/
/*    content: "\e927";*/
/*    font-family: icomoon;*/
/*    font-size: 11px;*/
/*    color: #fff;*/
/*}*/
/*.price_slider_wrapper .ui-slider .ui-slider-handle:last-child::before {*/
/*    transform: rotate(180deg);*/
/*}*/
.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;
}

.widget_product_categories,
.sidebar-inner .woocommerce-widget-layered-nav:not(:last-child) {
    padding-bottom: 27px;
    border-bottom: 1px solid var(--color4);
}

#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;
}

#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: block;
    font-size: 13px;
}

#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: "";
    width: 20px;
    height: 20px;
    margin-left: 15px;
    top: 5px;
    border-radius: 3px;
    background: #f7f7f7;
    border: 1px solid #E0E0E0;
    display: inline-block;
    position: relative;
    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);
    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;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
}

ul.page-numbers {
    margin-top: 15px;
    width: 100%;
}


.page-numbers li {
    margin: 0 6px;
}

.page-numbers li a,
.page-numbers li span {
    padding: 5px;
    line-height: 1;
    font-size: 16px;
    color: #272829;
    transition: 0.4s ease;
    border-radius: 100%;
}

.page-numbers li span.current {
    color: var(--color2);
    font-size: 24px;
    position: relative;
}

.page-numbers li span.current::before {
    content: '';
    height: 3px;
    width: 12px;
    background: var(--color2);
    border-radius: 4px;
    position: absolute;
    bottom: 5px;
    right: 0;
    left: 0;
    margin: auto;
}

.page-numbers li .next.page-numbers,
.page-numbers li .prev.page-numbers {
    font-size: 8px;
    color: var(--color1);
    cursor: pointer;
}

.page-numbers li a:hover {
    color: var(--color2);
}

.archive-content {
    padding: 71px 0;
    background: #EEEDE8;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.archive-content::before {
    content: "\e93c";
    font-family: icomoon;
    color: #fff;
    font-size: 118px;
    position: absolute;
    right: -26px;
    top: -81px;
    transform: rotate(-42deg);
}

.archive-content::after {
    content: "\e93c";
    font-family: icomoon;
    color: #fff;
    font-size: 118px;
    position: absolute;
    left: -16px;
    bottom: -92px;
    transform: rotate(-54deg);
}

.archive-content,
.archive-faq {
    margin: 40px 0;
}

.sidebar-banner {
    display: block;
    text-align: center;
}

.woocommerce-ordering-mobile {
    border: 1px solid #EEEDE866;
    background: #fff;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.woocommerce-ordering-mobile .orderby {
    display: block;
    width: 100%;
    background: #fff;
    height: 74px;
    padding-right: 52px;
    color: #4E3846;
    font-family: inherit;
    margin: 0;
}

.woocommerce-ordering-mobile i {
    position: absolute;
    color: #4E3846;
    font-size: 21px;
    top: 27px;
    right: 22px;
}

.woocommerce-ordering-mobile::after {
    content: '\e90e';
    font-family: icomoon;
    transform: rotate(0deg);
    font-size: 7px;
    display: inline-block;
    z-index: 0;
    transition: 0.4s;
    position: absolute;
    left: 27px;
    top: 29px;
    color: #4E3846;
}

@media screen and (min-width: 768px) {

    .sidebar-inner {
        padding: 24px 0 0;
        display: block;
    }

    .sidebar-wrap {
        padding: 16px;
        margin-bottom: 24px;
        overflow: hidden;
    }

    .sidebar-wrap>.widget-title {
        background: #EEEDE8;
        padding: 10px 22px;
        font-size: 16px;
        line-height: 32px;
        color: #4E3846;
    }

    .archive-content,
    .archive-faq {
        margin: 80px 0;
    }
}

@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: 10px;
    }
}

@media screen and (min-width: 1200px) {
    .widget-sort-product {
        gap: 33px;
    }

    .woocommerce-widget-sort-list {
        gap: 28px;
    }
}