<?php if ( get_theme_mod('watch_collection_product_section_enable',true) ) : ?>
	<div id="featured-product" class="py-5">
		<div class="container">
			<?php if ( get_theme_mod('watch_collection_services_heading') ) : ?>
	      		<h2 class="mb-4 text-center wow flip"><?php echo esc_html(get_theme_mod('watch_collection_services_heading'));?><hr></h2>
	      		
	      	<?php endif; ?>
	        <div class="owl-carousel">
	            <?php
	            $watch_collection_catData = get_theme_mod('watch_collection_product_category','');
	            if ( class_exists( 'WooCommerce' ) ) {
	              $watch_collection_args = array(
	                'post_type' => 'product',
	                'posts_per_page' => 100,
	                'product_cat' => $watch_collection_catData,
	                'order' => 'ASC'
	              );
	              $loop = new WP_Query( $watch_collection_args );
	              while ( $loop->have_posts() ) : $loop->the_post(); global $product; ?>
	                <div class="tab-product">
	                    <div class="producct-image boxx wow zoomIn">
	                    	<figure class="mb-0">
	                        	<?php if (has_post_thumbnail( $loop->post->ID )) echo get_the_post_thumbnail($loop->post->ID, 'shop_catalog'); else echo '<img src="'.esc_url(wc_placeholder_img_src()).'" />'; ?>
	                        	<?php if ( has_post_thumbnail() ) { ?>
		                            <?php woocommerce_show_product_sale_flash( $post, $product ); ?>
		                        <?php }?>
	                        </figure>

	                        <div class="box-content intro-button">
	                        	<?php if(class_exists('YITH_WCWL')){ ?>
			                    	<span class="wishlist"><?php echo do_shortcode('[yith_wcwl_add_to_wishlist]'); ?></span>
			                  	<?php }?>
			                  	<span class="add-cart">
			                    <?php if( $product->is_type( 'simple' ) ) { woocommerce_template_loop_add_to_cart( $loop->post, $product ); } ?></span>
			                </div>
	                    </div>
	                    <div class="product-details py-3">
	                    	<span class="woo-cat"><?php echo wc_get_product_category_list( $product->get_id(),); ?></span>
	                    	<h5 class="product-text my-2 "><a href="<?php echo esc_url(get_permalink( $loop->post->ID )); ?>"><?php the_title(); ?></a></h5>
	                    	<h6 class="<?php echo esc_attr( apply_filters( 'woocommerce_product_price_class', 'price' ) ); ?> mb-0"><?php echo $product->get_price_html(); ?></h6>
		                </div>
	                </div>
	              <?php endwhile; wp_reset_postdata(); ?>
	            <?php } ?>
	        </div>
		</div>
	</div>
<?php endif; ?>