/*=========PRODUCT LIST PAGE=========*/
.product-list-page ~ .empty {
	display: none !important;
}
.product-list-page ul.products {
    width: calc(100% + 20px);
    margin: 0 -10px !important;
    padding: 0;
}
/*-----------------------------------*/
.product-list-page .woocommerce {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
/*-----------------------------------*/
.product-list-page .woocommerce-notices-wrapper {
	order: 0;
	display: none;
}
.product-list-page .woocommerce-ordering {
	order: 10;
}
.product-list-page .woocommerce-products-per-page {
	order: 20;
}
.product-list-page .woocommerce-result-count {
    order: 30;
}
.product-list-page ul.products {
	order: 40;
}
.product-list-page .woocommerce-pagination {
	order: 50;
}
/*-----------------------------------*/
.product-list-page .woocommerce-notices-wrapper {
	width: 100%;
}
/*-----------------------------------*/
.product-list-page .woocommerce-result-count {
    display: flex;
    flex-grow: 1;
    text-align: left;
    justify-content: flex-end;
    margin: 0;
    word-spacing: 5px;
}
/*-----------------------------------*/
.product-list-page .woocommerce-ordering,
.product-list-page .woocommerce-products-per-page {
    box-shadow: 0 0 20px -5px rgba(0,0,0,0.15)!important;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: max-content;
    max-width: 100%;
    overflow: hidden;
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 0;
}
.product-list-page .woocommerce-products-per-page {
    width: 200px !important;
}
.product-list-page .woocommerce-ordering::before,
.product-list-page .woocommerce-products-per-page::before {
    display: flex;
    flex-shrink: 0;
    margin-left: 10px;
    font-size: 13px;
    color: #aaa;
}
.product-list-page .woocommerce-products-per-page::before {
    content: "نمایش در این صفحه:";
}
.product-list-page .woocommerce-ordering::before {
    content: "مرتب کردن براساس:";
}
.product-list-page .woocommerce-ordering select,
.product-list-page .woocommerce-products-per-page select {
    height: 40px;
    min-width: 60px;
    width: 100%;
    border: 2px solid #eee;
    background-color: #fff;
    border-radius: 10px;
    font-family: var(--font-family);
    text-align: center;
}

@media only screen and (max-width: 767px) {
	.product-list-page ul.products {
		width: calc(100% + 10px);
		margin: 0 -5px !important;
		padding: 0;
	}
    .product-list-page .woocommerce-result-count {
        text-align: center;
        justify-content: center;
    }
}
@media only screen and (max-width: 600px) {
    .product-list-page .woocommerce-ordering,
    .product-list-page .woocommerce-products-per-page {
        flex-direction: column;
    }
    .product-list-page .woocommerce-ordering {
        flex-grow: 1;
        width: 180px;
    }
    .product-list-page .woocommerce-products-per-page {
        width: 150px !important;
    }
}
@media only screen and (max-width: 380px) {
    .product-list-page .woocommerce-ordering,
    .product-list-page .woocommerce-products-per-page {
        width: 100% !important;
    }
}


/*=========PRODUCT LIST PAGINATION=========*/
#product-list-pagination .page-numbers {
    gap: 15px;
    display: flex;
}



/*=========PRODUCT LIST CATEGORY LIST=========*/
.category-list .product-categories a{
    color: #aaa;
}
.category-list .product-categories a:hover,
.category-list .product-categories li{
    color: var(--e-global-color-primary);
}
.category-list h5{
    padding-bottom: 10px;
    font-size: 17px;
    font-weight: 800;
}

