<?php
/**
 * The accommodation item loop.
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/hbfwc/availability-loop.php.
 *
 * @package HBFWC\Templates
 * @version 1.0.0
 */

defined( 'ABSPATH' ) || exit;

global $product;
?>

<div <?php wc_product_class( '', $product ); ?>>

	<?php do_action( 'hbfwc_template_before_single_listing' ); ?>
	
	<div class="hbfwc-single-product__heading">
		
		<h3><?php print esc_html( $product->get_name() ); ?></h3>

		<?php do_action( 'hbfwc_template_single_after_product_name' ); ?>
	
	</div>
	
	<div class="hbfwc-single-product__wrapper">
		
		<div class="hbfwc-single-product__left">
			<div class="hbfwc-single-product__left-inner">
				<?php do_action( 'hbfwc_template_single_accommodation_content_left' ); ?>
			</div>
		</div>
		
		<div class="hbfwc-single-product__right">
			<?php do_action( 'hbfwc_template_single_accommodation_content_right', $query_args ); ?>
		</div>

	</div>

	<?php do_action( 'hbfwc_template_after_single_listing' ); ?>

</div>
