<?php
/**
 * Product card markup with MuchWOW utility classes and WooCommerce hooks.
 *
 * Based on WooCommerce content-product.php 9.4.0.
 *
 * @package Shabnam_MuchWOW
 */
defined( 'ABSPATH' ) || exit;
global $product;
if ( ! is_a( $product, WC_Product::class ) || ! $product->is_visible() ) { return; }
?>
<li <?php wc_product_class( 'shabnam-product-card panel p-2 sm:p-3 border border-1 border-gray-100 border-opacity-40 rounded-3 bg-white bg-opacity-5', $product ); ?>>
	<div class="panel h-100 vstack gap-2">
		<?php do_action( 'woocommerce_before_shop_loop_item' ); ?>
		<div class="shabnam-product-media panel overflow-hidden rounded-2"><?php do_action( 'woocommerce_before_shop_loop_item_title' ); ?></div>
		<div class="vstack gap-1 px-1 pb-1">
			<?php do_action( 'woocommerce_shop_loop_item_title' ); ?>
			<?php do_action( 'woocommerce_after_shop_loop_item_title' ); ?>
			<?php do_action( 'woocommerce_after_shop_loop_item' ); ?>
		</div>
	</div>
</li>
