.products-wrapper {
    margin-left: -15px;
    margin-bottom: 20px
}

.products-loop {
    list-style: none
}

.products-wrapper .products-loop {
    display: flex;
    flex-wrap: wrap
}

.product-thumb-hover img {
    margin: 0 auto
}

.products-wrapper .products-loop > li {
    padding: 0;
    border-radius: 15px;
    margin-bottom: 15px;
    margin-left: 7px;
    width: calc(25% - 7px)
}


.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-bottom a.add_to_cart_button:before,
.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-bottom a.ajax_add_to_cart:before,
.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-description {
    display: none
}

.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-bottom {
    margin-bottom: 10px;
    position: absolute;
    bottom: 0;
    margin-right: 10px;
    opacity: .9
}

.category-cards-list:not(.slick-initialized) {
    max-height: 200px;
    background: url(../assets/img/loadingp.gif) center center no-repeat #fff;
    overflow: hidden
}

.category-cards-list:not(.slick-initialized) .category-card {
    opacity: 0
}

.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-bottom a.add_to_cart_button.loading,
.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-bottom a.ajax_add_to_cart.loading {
    color: transparent;
    padding: 0;
    opacity: 1
}

.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-bottom a.add_to_cart_button.loading:hover,
.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-bottom a.ajax_add_to_cart.loading:hover {
    background-color: #fff;
    border-color: #ddd
}

.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-bottom a.add_to_cart_button.loading:before,
.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-bottom a.ajax_add_to_cart.loading:before {
    background: url(../assets/img/loadingp.gif) center center no-repeat #fff;
    content: "";
    position: absolute;
    right: 50%;
    top: 50%;
    width: 32px;
    height: 32px;
    margin-right: -16px;
    margin-top: -16px;
    z-index: 99;
    background-size: 22px;
    display: block
}

.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-bottom a.add_to_cart_button.added:before,
.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-bottom a.add_to_cart_button.loading:after,
.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-bottom a.ajax_add_to_cart.added:before,
.products-wrapper .products-loop.grid > li .item-wrap .item-content .item-bottom a.ajax_add_to_cart.loading:after {
    display: none
}


.products-wrapper .products-loop.list .item {
    width: 100%;
    min-height: auto;
    position: relative
}

.products-wrapper .products-loop.list .item .item-wrap .item-detail {
    padding-bottom: 0
}

.products-wrapper .products-loop.list .item .item-wrap .item-detail .products-thumb {
    float: right;
    border-left: 1px solid #ddd
}

.products-wrapper .products-loop.list .item .item-wrap .item-detail .products-thumb ul.jcaa_attr_select:first-child {
    opacity: 1
}

.products-wrapper .products-loop.list .item .item-wrap .item-detail .item-content {
    overflow: hidden;
    width: auto;
    display: block;
    padding-top: 25px;
    text-align: right
}

.products-wrapper .products-loop.list .item .item-wrap .item-detail .item-content h2 {
    padding-right: 0;
    margin-bottom: 15px
}

.products-wrapper .products-loop.list .item .item-wrap .item-detail .item-content h2 a {
    font-size: 16px
}

.products-wrapper .products-loop.list .item .item-wrap .item-detail .item-content .item-price {
    clear: both;
    display: inline-block;
    width: 96%;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    font-size: 20px
}

.products-wrapper .products-loop.list .item .item-wrap .item-detail .item-content .item-description {
    clear: both;
    margin-bottom: 25px;
    padding-left: 23px;
    text-align: justify
}

.products-wrapper .products-loop.list .item .item-wrap .item-detail .item-content .item-bottom .clear, .widget-inner .product_list_widget li .woocommerce-Price-amount {
    display: none
}


.products-loop .product-category a {
    text-align: center;
    display: block;
    background-color: #fff
}

.products-loop .product-category a img {
    padding: 10px 40px;
    margin: 0 auto
}

.products-loop .product-category a h3 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 0;
    padding: 12px 0;
    background-color: #eee;
    color: var(--text-color);
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s
}

.products-loop .product-category a h3 .count {
    display: none
}

.products-loop .product-category a:hover h3 {
    background-color: var(--main-color);
    color: #fff
}

.products-wrapper .products-nav {
    height: 55px;
    margin-right: -15px;
    margin-left: -15px;
    margin-bottom: 6px;
    padding: 9px 0
}

.pagination ul li.prev a:before, .products-wrapper .woocommerce-pagination .page-numbers > li .page-numbers.prev:before {
    content: "\f105"
}

.pagination ul li.next a:before, .products-wrapper .woocommerce-pagination .page-numbers > li .page-numbers.next:before {
    content: "\f104"
}

.pagination {
    margin-bottom: 70px
}

.pagination .pagination-title {
    float: right;
    padding: 0 15px;
    line-height: 35px;
    color: var(--text-color)
}

.pagination ul li.disabled a, .pagination ul li:hover a {
    color: #fff
}

.pagination ul {
    margin: 0;
    list-style: none;
    float: left
}

.pagination ul li {
    float: right;
    position: relative;
    border: 1px solid #ddd;
    text-transform: capitalize;
    text-align: center;
    background-color: var(--element-background-color);
    margin-left: 5px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s
}

.pagination ul li:last-child {
    margin: 0
}

.pagination ul li:hover {
    background-color: var(--text-color)
}

.pagination ul li.prev a {
    font-size: 0
}

.pagination ul li.prev a:before {
    font: 900 14px 'Font Awesome 5 Pro'
}

.pagination ul li.next a {
    font-size: 0
}

.pagination ul li.next a:before {
    font: 900 14px 'Font Awesome 5 Pro'
}

.pagination ul li.disabled {
    background-color: #333;
    border-color: #333
}

.pagination ul li.disabled.next, .pagination ul li.disabled.prev {
    display: none
}

.pagination ul li a {
    display: block;
    width: 35px;
    line-height: 35px;
    height: 35px
}

.products-wrapper .woocommerce-pagination .note {
    line-height: 35px;
    padding: 0 15px;
    color: var(--text-color)
}

.products-wrapper .woocommerce-pagination .page-numbers {
    border: 0
}

.products-wrapper .woocommerce-pagination .page-numbers > li {
    margin-left: 7px;
    background-color: var(--background-color)
}

.products-wrapper .woocommerce-pagination .page-numbers > li .page-numbers {
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: block;
    padding: 0;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    -ms-transition: all .2s;
    transition: all .2s;
    border-radius: 11px;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--main-color);
    color: #fff
}


.products-wrapper .woocommerce-pagination .page-numbers > li .page-numbers.next, .products-wrapper .woocommerce-pagination .page-numbers > li .page-numbers.prev {
    font-size: 0;
    padding-top: 5px;
}

.products-wrapper .woocommerce-pagination .page-numbers > li .page-numbers.next::before, .products-wrapper .woocommerce-pagination .page-numbers > li .page-numbers.prev::before {
    font: 100 24px 'Font Awesome 5 Pro';
}

.products-wrapper .woocommerce-pagination .page-numbers > li:last-child {
    margin: 0
}

.category-cards-list {
    margin-bottom: 15px;
    position: relative
}

.category-cards-list .category-card {
    padding: 10px;
    overflow: hidden;
    margin: 12px;
    box-shadow: 0 0 15px rgba(26, 26, 26, 0.15);
    border-radius: 15px;
    transition-duration: 0.4s;
    opacity: 1
}

.category-cards-list .category-card .card-grad-back {
    position: relative;
    margin-bottom: -32px
}

.category-cards-list .category-card .card-grad-back img {
    width: 100%
}

.category-cards-list .category-card .card-grad-back:after {
    content: '';
    position: absolute;
    width: 100%;
    overflow: hidden;
    height: 85px;
    background: linear-gradient(0deg, rgba(0, 0, 0, .2), transparent);
    border-radius: 0 0 15px 15px;
    bottom: 0
}

.category-cards-list .category-card a h2 {
    position: relative;
    background: linear-gradient(0deg, rgba(0, 0, 0, .1), transparent);
    padding-right: 15px;
    font-size: 16px;
    border-radius: 0 0 15px 15px;
    color: #fff
}

.category-cards-list .category-card ul {
    padding-right: 16px;
    margin-top: 15px;
    list-style: circle;
    max-height: 150px;
    height: 100%;
    min-height: 150px;
    overflow-y: auto;
    scrollbar-color: #ccc #f2f2f2;
    scrollbar-width: thin
}


.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item::before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    right: 0px;
    width: 15px;
    height: 15px;
    background-position: -193px -81px;
    border: 1px solid #d4dbde;
    border-radius: 2px;
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item--chosen a:before {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    right: 2px;
    width: 11px;
    height: 11px;
    border: 1px solid #fff;
    border-radius: 1px;
    background-color: var(--main-color)
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item:hover {
    background-color: #f9f9f9
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item span.count {
    float: left
}

.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    float: right
}

.woocommerce .woocommerce-result-count, .woocommerce-page .woocommerce-result-count {
    float: left;
    line-height: 35px;
    margin-left: 10px;
    background-color: var(--element-background-color);
    padding: 0 15px;
    border-radius: 7px
}

.term-description {
    background-color: var(--element-background-color);
    margin-left: -15px;
    padding: 15px 20px;
    text-align: justify;
    margin-bottom: 15px
}

.term-description::before {
    content: 'توضیحات دسته بندی';
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
    text-align: justify;
    margin-bottom: 12px;
    display: inline-block
}


@media (min-width: 1400px) {
    .products-wrapper .products-loop > li {
        width: calc(20% - 7px);
    }

    .archive aside.sidebar {
        width: 20%;
    }

    #contents.content.col-lg-9 {
        width: 80%;
    }
}

/*  new from 6.0 */

.wc-block-product-search {
    position: relative;
}

.wc-block-product-search label {
    display: none;
}

.wc-block-product-search input.wc-block-product-search__field {
    border-radius: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: none;
    width: 100%;
}

.wc-block-product-search button.wc-block-product-search__button {
    position: absolute;
    background: none;
    border: 0;
    left: 3px;
    top: 14px;
}

.wc-block-product-search button.wc-block-product-search__button svg {
    fill: var(--neutral-color);
}

.asc-ordering > span {
    margin-left: 7px;
}

.asc-ordering > a {
    font-size: 13px;
    color: var(--neutral-color);
    margin: 0px 6px;
}

.asc-ordering > a.active, .asc-ordering > a:hover{
    color: var(--main-color);
    font-weight: bold;
}
.price_slider_amount button {
    display: none !important;
}

.archive .woocommerce-breadcrumb {
    margin-top: -32px;
    justify-content: end;
    margin-bottom: 16px;
}

.item-detail .avn-tip .ttip {
    min-width: 220px;
    top: 30px;
    left: -10px;
    padding: 12px;
    color: #444;
    background-color: #eee;
    font-weight: normal;
    font-size: 13px;
    border-radius: 8px;
    position: absolute;
    margin: 0 0 0;
    z-index: 9899;
    box-sizing: border-box;
    box-shadow: 0 1px 8px rgba(0,0,0,.5);
    display: none;
}
.item-detail .avn-tip .ttip {
    background-color: #7a7a7a;
    color: #fff;
    font-size: 12px;
    margin-top: 5px;
}
.item-detail .avn-tip .ttip::before {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    rotate: 45deg;
    top: -5px;
    background-color: #7a7a7a;
    z-index: 9;
    right: 14px;
}
.item-detail .avn-tip:hover .ttip {
    display: block;
}
.item-detail .avn-tip > span {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 18px;
    z-index: 8;
}
.item-detail .attr_container {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    border-bottom: 1px solid;
}
.item-detail .attr_container span {
    padding: 5px 5px 0;
}

.woocommerce-subcategories .subcategory {
    width: 190px;
    background-color: var(--z-gray);
    border-radius: 12px;
    padding: 12px 0;
    margin-left: 12px;
}

.woocommerce-subcategories .subcategory img {
    max-height: 100px;
    mix-blend-mode: multiply;
}

[data-theme="dark"] .woocommerce-subcategories .subcategory img {
    mix-blend-mode: normal;
}

.woocommerce-subcategories .subcategory h3 {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
}