<?php
/**
 * Title: Product Loop
 * Slug: brandy/product-loop
 * Categories: brandy, woocommerce
 * Viewport Width: 1500
 */
?>

<!-- wp:group {"align":"wide","layout":{"type":"constrained"},"metadata":{"categories":["brandy"],"patternName":"brandy/product-loop","name":"Product Loop"}} -->
<div class="wp-block-group alignwide">
	<!-- wp:group {"align":"full","style":{"spacing":{"margin":{"bottom":"0"},"blockGap":"var:preset|spacing|30"}},"textColor":"brandy-muted-foreground","fontSize":"base","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
	<div class="wp-block-group alignfull has-brandy-muted-foreground-color has-text-color has-base-font-size" style="margin-bottom:0"><!-- wp:woocommerce/product-results-count {"textColor":"brandy-muted-foreground","style":{"elements":{"link":{"color":{"text":"var:preset|color|brandy-muted-foreground"}}}}} /-->

	<!-- wp:woocommerce/catalog-sorting /--></div>
	<!-- /wp:group -->
	<?php
	echo \brandy_get_product_collection_block_content(
		array(
			'type'            => 'default',
			'pagination'      => true,
			'pages'           => '',
			'includeDemoOnly' => false,
			'inheritQuery'    => true,
			'perPage'         => 12,
		)
	);
	?>
</div>
<!-- /wp:group -->
