<?php

/**
 * Title: Custom Products slider
 * Slug: baty/custom-products-slider
 * Categories: woocommerce
 * Description: A slider to preview products.
 *
 * @package WordPress
 * @subpackage baty
 * @since baty 1.0
 */

?>
<!-- wp:group {"metadata":{"patternName":"core/block/609","name":"Custom Products slider"},"className":"aos-repeat aos-fade-up aos-delay-100 aos-duration-300","layout":{"type":"constrained"}} -->
<div class="wp-block-group aos-repeat aos-fade-up aos-delay-100 aos-duration-300"><!-- wp:woocommerce/product-collection {"queryId":1,"query":{"perPage":8,"pages":1,"offset":0,"postType":"product","order":"asc","orderBy":"title","search":"","exclude":[],"inherit":false,"taxQuery":[],"isProductCollectionBlock":true,"featured":false,"woocommerceOnSale":true,"woocommerceStockStatus":["instock","outofstock","onbackorder"],"woocommerceAttributes":[],"woocommerceHandPickedProducts":[],"filterable":false,"relatedBy":{"categories":true,"tags":true}},"tagName":"div","displayLayout":{"type":"carousel","columns":5,"shrinkColumns":true},"dimensions":{"widthType":"fill"},"collection":"woocommerce/product-collection/on-sale","hideControls":["inherit","on-sale","filterable"],"queryContextIncludes":["collection"],"__privatePreviewState":{"isPreview":false,"previewMessage":"Actual products will vary depending on the page being viewed."}} -->
    <div class="wp-block-woocommerce-product-collection"><!-- wp:group {"className":"baty-products-slider","layout":{"type":"constrained","contentSize":"1720px","wideSize":"1920px"}} -->
        <div class="wp-block-group baty-products-slider"><!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
            <div class="wp-block-group"><!-- wp:heading {"style":{"spacing":{"margin":{"bottom":"1rem"}},"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"x-large","fontFamily":"dm-serif"} -->
                <h2 class="wp-block-heading has-dm-serif-font-family has-x-large-font-size" style="margin-bottom:1rem;font-style:normal;font-weight:700">Flash Deals</h2>
                <!-- /wp:heading -->

                <!-- wp:woocommerce/product-gallery-large-image-next-previous {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
                <div class="wp-block-woocommerce-product-gallery-large-image-next-previous"></div>
                <!-- /wp:woocommerce/product-gallery-large-image-next-previous -->
            </div>
            <!-- /wp:group -->

            <!-- wp:woocommerce/product-template {"layout":{"type":"flex","justifyContent":"left","verticalAlignment":"top","flexWrap":"nowrap","orientation":"horizontal"}} -->
            <!-- wp:group {"metadata":{"categories":["woocommerce"],"patternName":"baty/baty-card","name":"Baty card"},"className":"baty-card"} -->
            <div class="wp-block-group baty-card"><!-- wp:woocommerce/product-image {"showSaleBadge":false,"imageSizing":"thumbnail","isDescendentOfQueryLoop":true} -->
                <!-- 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"}}}} /-->
                <!-- /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 -->
            <!-- /wp:woocommerce/product-template -->
        </div>
        <!-- /wp:group -->
    </div>
    <!-- /wp:woocommerce/product-collection -->
</div>
<!-- /wp:group -->