<?php
/**
 * Title: Best Selling Products
 * Slug: gutenify-fashionstore/best-selling-products
 * Categories: gutenify-fashionstore
 */
?>
<!-- wp:group {"metadata":{"name":"Best Selling Products","patternName":"gutenify-fashionstore/best-selling-products","categories":["gutenify-fashionstore"]},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|30","right":"var:preset|spacing|30"},"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull"
  style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--30)">
  <!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"0px","padding":{"bottom":"0"}}},"layout":{"type":"constrained"}} -->
  <div class="wp-block-group alignwide" style="padding-bottom:0">
    <!-- wp:woocommerce/product-collection {"queryId":7,"query":{"perPage":8,"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":"carousel","columns":4,"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."},"align":"full"} -->
    <div class="wp-block-woocommerce-product-collection alignfull">
      <!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
      <div class="wp-block-group">
        <!-- wp:heading {"style":{"typography":{"fontWeight":"500","lineHeight":"1.3","letterSpacing":"-0.5px","fontStyle":"normal","textTransform":"capitalize"},"spacing":{"margin":{"top":"0"}}},"fontSize":"medium"} -->
        <h2 class="wp-block-heading has-medium-font-size"
          style="margin-top:0;font-style:normal;font-weight:500;letter-spacing:-0.5px;line-height:1.3;text-transform:capitalize">
          <?php echo esc_html__('Best Selling', 'gutenify-fashionstore'); ?></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:woocommerce/product-image {"showSaleBadge":false,"isDescendentOfQueryLoop":true,"className":"image-zoom-hover ","style":{"dimensions":{"aspectRatio":"3/4"}}} -->
      <!-- wp:woocommerce/product-sale-badge {"backgroundColor":"primary","textColor":"background","align":"right","style":{"spacing":{"margin":{"top":"var:preset|spacing|10","bottom":"var:preset|spacing|10","left":"var:preset|spacing|10","right":"var:preset|spacing|10"}},"typography":{"fontSize":"13px","lineHeight":"1.3","textTransform":"capitalize"},"border":{"width":"0px","style":"none","radius":{"topLeft":"0px","topRight":"0px","bottomLeft":"0px","bottomRight":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}}} /-->
      <!-- /wp:woocommerce/product-image -->

      <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10","padding":{"right":"8px","left":"8px"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
      <div class="wp-block-group" style="padding-right:8px;padding-left:8px">
        <!-- wp:post-title {"textAlign":"center","level":3,"isLink":true,"style":{"spacing":{"margin":{"bottom":"6px","top":"var:preset|spacing|10"}},"typography":{"lineHeight":"1.4","fontStyle":"normal","fontWeight":"500","textTransform":"capitalize"}},"fontSize":"product-title","__woocommerceNamespace":"woocommerce/product-collection/product-title"} /-->

        <!-- wp:woocommerce/product-rating {"isDescendentOfQueryLoop":true,"textAlign":"center","textColor":"luminous-vivid-orange","style":{"spacing":{"margin":{"top":"-6px","bottom":"4px"}},"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-orange"}}},"typography":{"fontSize":"0.93rem"}}} /-->

        <!-- wp:woocommerce/product-price {"isDescendentOfQueryLoop":true,"textAlign":"center","textColor":"foreground","fontSize":"small","style":{"spacing":{"margin":{"top":"0","bottom":"0"}},"typography":{"fontStyle":"normal","fontWeight":"500"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}}} /-->
      </div>
      <!-- /wp:group -->
      <!-- /wp:woocommerce/product-template -->
    </div>
    <!-- /wp:woocommerce/product-collection -->
  </div>
  <!-- /wp:group -->
</div>
<!-- /wp:group -->