<?php
/**
 * Product archive template.
 *
 * Based on WooCommerce archive-product.php 8.6.0 while retaining public hooks.
 *
 * @package Shabnam_MuchWOW
 */
defined( 'ABSPATH' ) || exit;
get_header( 'shop' );
do_action( 'woocommerce_before_main_content' );
?>
<header class="shabnam-shop-header section-header panel sm:max-w-900px mx-auto mb-5 sm:mb-7 text-center" data-anime="onview: -300; targets: >*; translateY: [24, 0]; opacity: [0, 1]; delay: anime.stagger(100, {start: 100});">
	<div class="category"><div class="-rotate-2"><span class="fs-5 xl:fs-4 text-secondary fw-bold"><?php esc_html_e( 'فروشگاه', 'shabnam-muchwow' ); ?></span></div></div>
	<h1 class="woocommerce-products-header__title page-title h4 sm:h3 xl:h2 mb-0 mt-2 text-white text-uppercase ls-0"><?php woocommerce_page_title(); ?></h1>
</header>
<?php
do_action( 'woocommerce_shop_loop_header' );
if ( woocommerce_product_loop() ) {
	do_action( 'woocommerce_before_shop_loop' );
	woocommerce_product_loop_start();
	if ( wc_get_loop_prop( 'total' ) ) {
		while ( have_posts() ) {
			the_post();
			do_action( 'woocommerce_shop_loop' );
			wc_get_template_part( 'content', 'product' );
		}
	}
	woocommerce_product_loop_end();
	do_action( 'woocommerce_after_shop_loop' );
} else {
	do_action( 'woocommerce_no_products_found' );
}
do_action( 'woocommerce_after_main_content' );
do_action( 'woocommerce_sidebar' );
get_footer( 'shop' );
