<?php
/**
 * Title: Baty card
 * Slug: baty/baty-card
 * Categories: woocommerce
 * Block Types: core/post-template
 * Description: a product card with different layout.
 *
 * @package WordPress
 * @subpackage baty
 * @since baty 1.0
 */
?>
<!-- wp:group {"metadata":{"categories":["woocommerce"],"patternName":"baty/baty-card","name":"Baty card"},"className":"baty-card","style":{"spacing":{"blockGap":"var:preset|spacing|20"}}} -->
<div class="wp-block-group baty-card"><!-- wp:woocommerce/product-image {"showSaleBadge":false,"imageSizing":"thumbnail","isDescendentOfQueryLoop":true,"style":{"spacing":{"padding":{"right":"0","left":"0"}}}} -->
<!-- wp:woocommerce/product-sale-badge {"isDescendentOfQueryLoop":true,"align":"left","textColor":"accent-1","style":{"color":{"background":"#ff0000"},"elements":{"link":{"color":{"text":"var:preset|color|accent-1"}}},"border":{"width":"0px","style":"none","radius":{"topLeft":"0px","topRight":"0px","bottomLeft":"0px","bottomRight":"0px"}},"spacing":{"margin":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|20","right":"var:preset|spacing|20"}}}} /-->
<!-- /wp:woocommerce/product-image -->

<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"top"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:post-title {"textAlign":"left","isLink":true,"style":{"typography":{"lineHeight":"1.4"}},"fontSize":"medium"} /-->

<!-- wp:woocommerce/product-price {"isDescendentOfQueryLoop":true,"textAlign":"left","fontSize":"small","style":{"spacing":{"margin":{"bottom":"1rem"}}}} /--></div>
<!-- /wp:group -->

<!-- wp:woocommerce/product-button {"textAlign":"center","isDescendentOfQueryLoop":true,"fontSize":"small","style":{"spacing":{"margin":{"bottom":"1rem"}}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->