<?php

/**
 * Title: Featured Products
 * Slug: baty/featured-products
 * Categories: banners,baty_pattern
 */

?>


<!-- wp:group {"metadata":{"categories":["banners"],"patternName":"baty/featured-products","name":"Featured Products"},"className":"aos-fade-up aos-repeat aos-delay-100 aos-duration-300 banner-product-img","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|80"}}},"fontFamily":"dm-serif","layout":{"type":"constrained"}} -->
<div class="wp-block-group aos-fade-up aos-repeat aos-delay-100 aos-duration-300 banner-product-img has-dm-serif-font-family" style="margin-bottom:var(--wp--preset--spacing--80)"><!-- wp:columns {"className":"best-seller"} -->
    <div class="wp-block-columns best-seller"><!-- wp:column {"width":"25%","className":"slide-1"} -->
        <div class="wp-block-column slide-1" style="flex-basis:25%"><!-- wp:woocommerce/product-collection {"queryId":1,"query":{"perPage":3,"pages":1,"offset":0,"postType":"product","order":"desc","orderBy":"popularity","search":"","exclude":[],"inherit":false,"taxQuery":[],"isProductCollectionBlock":true,"featured":false,"woocommerceOnSale":false,"woocommerceStockStatus":["instock","outofstock","onbackorder"],"woocommerceAttributes":[],"woocommerceHandPickedProducts":[],"filterable":false,"relatedBy":{"categories":true,"tags":true}},"tagName":"div","displayLayout":{"type":"flex","columns":1,"shrinkColumns":true},"dimensions":{"widthType":"fill"},"collection":"woocommerce/product-collection/best-sellers","hideControls":["inherit","order","filterable"],"queryContextIncludes":["collection"],"__privatePreviewState":{"isPreview":false,"previewMessage":"Actual products will vary depending on the page being viewed."},"className":"best-seller"} -->
            <div class="wp-block-woocommerce-product-collection best-seller"><!-- wp:heading {"textAlign":"left","style":{"spacing":{"margin":{"bottom":"1rem"}},"typography":{"fontSize":"24px","fontStyle":"normal","fontWeight":"700"}}} -->
                <h2 class="wp-block-heading has-text-align-left" style="margin-bottom:1rem;font-size:24px;font-style:normal;font-weight:700">
                    <?php echo esc_html__('Best selling products', 'baty'); ?> </h2>
                <!-- /wp:heading -->

                <!-- wp:woocommerce/product-template {"fontFamily":"dm-sans"} -->
                <!-- wp:group {"style":{"spacing":{"padding":{"bottom":"10px"}},"border":{"top":{"width":"0px","style":"none"},"right":{"width":"0px","style":"none"},"bottom":{"width":"1px"},"left":{"width":"0px","style":"none"}}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center"}} -->
                <div class="wp-block-group" style="border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-width:1px;border-left-style:none;border-left-width:0px;padding-bottom:10px"><!-- wp:group {"layout":{"type":"constrained"}} -->
                    <div class="wp-block-group"><!-- wp:woocommerce/product-image {"showSaleBadge":false,"isDescendentOfQueryLoop":true,"width":"142px","height":"133px"} -->
                        <!-- wp:woocommerce/product-sale-badge {"align":"left","backgroundColor":"accent-8","textColor":"base","style":{"typography":{"fontStyle":"normal","fontWeight":"400","textTransform":"none","fontSize":"12px"},"border":{"radius":{"topLeft":"0px","topRight":"0px","bottomLeft":"0px","bottomRight":"0px"},"width":"0px","style":"none"},"elements":{"link":{"color":{"text":"var:preset|color|base"}}}}} /-->
                        <!-- /wp:woocommerce/product-image -->
                    </div>
                    <!-- /wp:group -->

                    <!-- wp:group {"style":{"layout":{"selfStretch":"fixed","flexSize":"100%"}},"layout":{"type":"constrained"}} -->
                    <div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"4px"}},"layout":{"type":"constrained"}} -->
                        <div class="wp-block-group"><!-- wp:post-title {"textAlign":"","isLink":true,"style":{"typography":{"fontSize":"20px","textDecoration":"none"}},"fontFamily":"dm-sans","__woocommerceNamespace":"woocommerce/product-collection/product-title"} /-->

                            <!-- wp:post-terms {"term":"product_cat","textAlign":"","style":{"typography":{"fontSize":"20px","fontStyle":"normal","fontWeight":"500"}},"fontFamily":"dm-sans"} /-->

                            <!-- wp:woocommerce/product-rating {"isDescendentOfQueryLoop":true,"textColor":"accent-1","style":{"typography":{"fontSize":"16px"},"elements":{"link":{"color":{"text":"var:preset|color|accent-1"}}}}} /-->
                        </div>
                        <!-- /wp:group -->

                        <!-- wp:group {"className":"card-price","style":{"spacing":{"blockGap":"10px","padding":{"top":"0px","bottom":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
                        <div class="wp-block-group card-price" style="padding-top:0px;padding-bottom:0"><!-- wp:woocommerce/product-price {"isDescendentOfQueryLoop":true,"textAlign":"left","fontFamily":"dm-sans","style":{"border":{"radius":{"topLeft":"0px","topRight":"0px","bottomLeft":"0px","bottomRight":"0px"}},"typography":{"fontSize":"20px"}}} /-->

                            <!-- wp:woocommerce/product-button {"textAlign":"center","width":25,"isDescendentOfQueryLoop":true,"fontFamily":"dm-sans","fontSize":"small","style":{"border":{"radius":{"topLeft":"0px","topRight":"0px","bottomLeft":"0px","bottomRight":"0px"}},"layout":{"selfStretch":"fixed","flexSize":"33px"}}} /-->
                        </div>
                        <!-- /wp:group -->
                    </div>
                    <!-- /wp:group -->
                </div>
                <!-- /wp:group -->
                <!-- /wp:woocommerce/product-template -->
            </div>
            <!-- /wp:woocommerce/product-collection -->
        </div>
        <!-- /wp:column -->

        <!-- wp:column {"width":"50%","className":"slide-2"} -->
        <div class="wp-block-column slide-2" style="flex-basis:50%"><!-- wp:cover {"url":"<?php echo esc_url(get_template_directory_uri()); ?>/assets/images/product-img-banner/product-img.webp","id":504,"dimRatio":0,"isUserOverlayColor":true,"contentPosition":"top center","isDark":false,"sizeSlug":"large","layout":{"type":"constrained","contentSize":""}} -->
            <div class="wp-block-cover is-light has-custom-content-position is-position-top-center"><img class="wp-block-cover__image-background wp-image-504 size-large" alt="" src="<?php echo esc_url(get_template_directory_uri()); ?>/assets/images/product-img-banner/product-img.webp" data-object-fit="cover" /><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span>
                <div class="wp-block-cover__inner-container"><!-- wp:group {"layout":{"type":"constrained"}} -->
                    <div class="wp-block-group"><!-- wp:heading {"textAlign":"center","style":{"typography":{"fontSize":"48px"}}} -->
                        <h2 class="wp-block-heading has-text-align-center" style="font-size:48px">
                            <?php echo esc_html__('Made to Live In', 'baty'); ?> </h2>
                        <!-- /wp:heading -->

                        <!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"20px"}},"fontFamily":"dm-sans"} -->
                        <p class="has-text-align-center has-dm-sans-font-family" style="font-size:20px">
                            <?php echo esc_html__('High-quality furniture for real homes.', 'baty'); ?> </p>
                        <!-- /wp:paragraph -->

                        <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
                        <div class="wp-block-buttons"><!-- wp:button {"textColor":"background","style":{"border":{"radius":{"topLeft":"0px","topRight":"0px","bottomLeft":"0px","bottomRight":"0px"}},"color":{"background":"#2d2424"},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}}} -->
                            <div class="wp-block-button"><a class="wp-block-button__link has-background-color has-text-color has-background has-link-color wp-element-button" href="<?php echo esc_url(function_exists('wc_get_page_permalink') ? wc_get_page_permalink('shop') : '#'); ?>" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:0px;border-bottom-right-radius:0px;background-color:#2d2424">
                                    <?php echo esc_html__('SHOP NOW', 'baty'); ?> </a></div>
                            <!-- /wp:button -->
                        </div>
                        <!-- /wp:buttons -->
                    </div>
                    <!-- /wp:group -->
                </div>
            </div>
            <!-- /wp:cover -->
        </div>
        <!-- /wp:column -->

        <!-- wp:column {"width":"25%","className":"slide-1"} -->
        <div class="wp-block-column slide-1" style="flex-basis:25%"><!-- wp:woocommerce/product-collection {"queryId":2,"query":{"perPage":3,"pages":1,"offset":0,"postType":"product","order":"desc","orderBy":"popularity","search":"","exclude":[],"inherit":false,"taxQuery":[],"isProductCollectionBlock":true,"featured":false,"woocommerceOnSale":false,"woocommerceStockStatus":["instock","outofstock","onbackorder"],"woocommerceAttributes":[],"woocommerceHandPickedProducts":[],"filterable":false,"relatedBy":{"categories":true,"tags":true}},"tagName":"div","displayLayout":{"type":"flex","columns":1,"shrinkColumns":true},"dimensions":{"widthType":"fill"},"collection":"woocommerce/product-collection/best-sellers","hideControls":["inherit","order","filterable"],"queryContextIncludes":["collection"],"__privatePreviewState":{"isPreview":false,"previewMessage":"Actual products will vary depending on the page being viewed."},"className":"best-seller"} -->
            <div class="wp-block-woocommerce-product-collection best-seller"><!-- wp:heading {"textAlign":"left","style":{"spacing":{"margin":{"bottom":"1rem"}},"typography":{"fontSize":"24px","fontStyle":"normal","fontWeight":"700"}}} -->
                <h2 class="wp-block-heading has-text-align-left" style="margin-bottom:1rem;font-size:24px;font-style:normal;font-weight:700">
                    <?php echo esc_html__('Best selling products', 'baty'); ?> </h2>
                <!-- /wp:heading -->

                <!-- wp:woocommerce/product-template {"fontFamily":"dm-sans"} -->
                <!-- wp:group {"style":{"spacing":{"padding":{"bottom":"10px"}},"border":{"top":{"width":"0px","style":"none"},"right":{"width":"0px","style":"none"},"bottom":{"width":"1px"},"left":{"width":"0px","style":"none"}}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center"}} -->
                <div class="wp-block-group" style="border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-width:1px;border-left-style:none;border-left-width:0px;padding-bottom:10px"><!-- wp:group {"layout":{"type":"constrained"}} -->
                    <div class="wp-block-group"><!-- wp:woocommerce/product-image {"showSaleBadge":false,"isDescendentOfQueryLoop":true,"width":"142px","height":"133px"} -->
                        <!-- wp:woocommerce/product-sale-badge {"align":"left","backgroundColor":"accent-8","textColor":"base","style":{"typography":{"fontStyle":"normal","fontWeight":"400","textTransform":"none","fontSize":"12px"},"border":{"radius":{"topLeft":"0px","topRight":"0px","bottomLeft":"0px","bottomRight":"0px"},"width":"0px","style":"none"},"elements":{"link":{"color":{"text":"var:preset|color|base"}}}}} /-->
                        <!-- /wp:woocommerce/product-image -->
                    </div>
                    <!-- /wp:group -->

                    <!-- wp:group {"style":{"layout":{"selfStretch":"fixed","flexSize":"100%"}},"layout":{"type":"constrained"}} -->
                    <div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"4px"}},"layout":{"type":"constrained"}} -->
                        <div class="wp-block-group"><!-- wp:post-title {"textAlign":"","isLink":true,"style":{"typography":{"fontSize":"20px","textDecoration":"none"}},"fontFamily":"dm-sans","__woocommerceNamespace":"woocommerce/product-collection/product-title"} /-->

                            <!-- wp:post-terms {"term":"product_cat","textAlign":"","style":{"typography":{"fontSize":"20px","fontStyle":"normal","fontWeight":"500"}},"fontFamily":"dm-sans"} /-->

                            <!-- wp:woocommerce/product-rating {"isDescendentOfQueryLoop":true,"textColor":"accent-1","style":{"typography":{"fontSize":"16px"},"elements":{"link":{"color":{"text":"var:preset|color|accent-1"}}}}} /-->
                        </div>
                        <!-- /wp:group -->

                        <!-- wp:group {"className":"card-price","style":{"spacing":{"blockGap":"10px","padding":{"top":"0px","bottom":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
                        <div class="wp-block-group card-price" style="padding-top:0px;padding-bottom:0"><!-- wp:woocommerce/product-price {"isDescendentOfQueryLoop":true,"textAlign":"left","fontFamily":"dm-sans","style":{"border":{"radius":{"topLeft":"0px","topRight":"0px","bottomLeft":"0px","bottomRight":"0px"}},"typography":{"fontSize":"20px"}}} /-->

                            <!-- wp:woocommerce/product-button {"textAlign":"center","width":25,"isDescendentOfQueryLoop":true,"fontFamily":"dm-sans","fontSize":"small","style":{"border":{"radius":{"topLeft":"0px","topRight":"0px","bottomLeft":"0px","bottomRight":"0px"}},"layout":{"selfStretch":"fixed","flexSize":"33px"}}} /-->
                        </div>
                        <!-- /wp:group -->
                    </div>
                    <!-- /wp:group -->
                </div>
                <!-- /wp:group -->
                <!-- /wp:woocommerce/product-template -->
            </div>
            <!-- /wp:woocommerce/product-collection -->
        </div>
        <!-- /wp:column -->
    </div>
    <!-- /wp:columns -->
</div>
<!-- /wp:group -->