<?php

/**
 * Title: Latest Products Slider
 * Slug: sophia/latest-products-slider
 * Categories: sophia, page
 */
?>

<!-- wp:group {"metadata":{"categories":["sophia","page"],"patternName":"sophia/latest-products-slider","name":"Latest Products Slider"},"align":"full","className":"wp-block-section wp-block-latest-product-slider","backgroundColor":"body-background","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull wp-block-section wp-block-latest-product-slider has-body-background-background-color has-background"><!-- wp:group {"align":"wide","className":"wp-block-group-heading","layout":{"type":"default"}} -->
    <div class="wp-block-group alignwide wp-block-group-heading">

        <!-- wp:heading {"textAlign":"left","fontSize":"section-title"} -->
        <h2 class="wp-block-heading has-text-align-left has-section-title-font-size"><?php echo esc_html__('Latest Products', 'sophia-lite'); ?></h2>
        <!-- /wp:heading -->
    </div>
    <!-- /wp:group -->

    <!-- wp:woocommerce/product-collection {"queryId":0,"query":{"perPage":9,"pages":0,"offset":0,"postType":"product","order":"desc","orderBy":"date","search":"","exclude":[],"inherit":false,"taxQuery":[],"isProductCollectionBlock":true,"featured":false,"woocommerceOnSale":false,"woocommerceStockStatus":["instock","outofstock","onbackorder"],"woocommerceAttributes":[],"woocommerceHandPickedProducts":[],"filterable":true,"relatedBy":{"categories":true,"tags":true}},"tagName":"div","displayLayout":{"type":"carousel","columns":3,"shrinkColumns":true},"dimensions":{"widthType":"fill"},"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 {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"right"}} -->
        <div class="wp-block-group"><!-- 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: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":"small"} /-->

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

        <!-- wp:woocommerce/product-collection-no-results -->
        <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"center","flexWrap":"wrap"}} -->
        <div class="wp-block-group"><!-- wp:paragraph {"fontSize":"medium"} -->
            <p class="has-medium-font-size"><strong>No results found</strong></p>
            <!-- /wp:paragraph -->

            <!-- wp:paragraph -->
            <p>You can try <a class="wc-link-clear-any-filters" href="#">clearing any filters</a> or head to our <a class="wc-link-stores-home" href="#">store's home</a></p>
            <!-- /wp:paragraph -->
        </div>
        <!-- /wp:group -->
        <!-- /wp:woocommerce/product-collection-no-results -->
    </div>
    <!-- /wp:woocommerce/product-collection -->
</div>
<!-- /wp:group -->