<?php

/**
 * Title: Featured Products
 * Slug: sophia/featured-products
 * Categories: sophia, page
 */
?>

<!-- wp:group {"metadata":{"categories":["sophia","page"],"patternName":"sophia/featured-products","name":"Featured Products"},"align":"full","className":"wp-block-section","backgroundColor":"body-background","layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group alignfull wp-block-section has-body-background-background-color has-background"><!-- wp:woocommerce/product-collection {"queryId":1,"query":{"perPage":5,"pages":1,"offset":0,"postType":"product","order":"asc","orderBy":"title","search":"","exclude":[],"inherit":false,"taxQuery":[],"isProductCollectionBlock":true,"featured":true,"woocommerceOnSale":false,"woocommerceStockStatus":["instock","outofstock","onbackorder"],"woocommerceAttributes":[],"woocommerceHandPickedProducts":[],"filterable":false,"relatedBy":{"categories":true,"tags":true}},"tagName":"div","displayLayout":{"type":"flex","columns":5,"shrinkColumns":true},"dimensions":{"widthType":"fill"},"collection":"woocommerce/product-collection/featured","hideControls":["inherit","featured","filterable"],"queryContextIncludes":["collection"],"__privatePreviewState":{"isPreview":false,"previewMessage":"Actual products will vary depending on the page being viewed."},"align":"wide"} -->
    <div class="wp-block-woocommerce-product-collection alignwide"><!-- wp:group {"className":"wp-block-group-heading","layout":{"type":"constrained"}} -->
        <div class="wp-block-group wp-block-group-heading">
            <!-- wp:heading {"textAlign":"center","fontSize":"section-title"} -->
            <h2 class="wp-block-heading has-text-align-center has-section-title-font-size"><?php echo esc_html__('Featured Products', 'sophia-lite'); ?></h2>
            <!-- /wp:heading -->


        </div>
        <!-- /wp:group -->

        <!-- wp:woocommerce/product-template -->
        <!-- wp:woocommerce/product-image {"showSaleBadge":false,"imageSizing":"thumbnail","isDescendentOfQueryLoop":true} -->
        <!-- wp:woocommerce/product-sale-badge {"align":"right"} /-->
        <!-- /wp:woocommerce/product-image -->

        <!-- wp:post-title {"textAlign":"center","isLink":true,"style":{"spacing":{"margin":{"bottom":"0.75rem","top":"0"}},"typography":{"lineHeight":"1.4"}},"fontSize":"medium","__woocommerceNamespace":"woocommerce/product-collection/product-title"} /-->

        <!-- wp:woocommerce/product-price {"isDescendentOfQueryLoop":true,"textAlign":"center","fontSize":"normal"} /-->

        <!-- wp:woocommerce/product-button {"textAlign":"center","isDescendentOfQueryLoop":true,"fontSize":"small"} /-->
        <!-- /wp:woocommerce/product-template -->
    </div>
    <!-- /wp:woocommerce/product-collection -->
</div>
<!-- /wp:group -->