<?php
/**
 * Title: Shop By Category
 * Slug: gutenify-storely/shop-by-category
 * Categories: gutenify-storely
 */
?>
<!-- wp:group {"metadata":{"name":"Feature Category","categories":["gutenify-storely"],"patternName":"gutenify-storely/shop-by-category"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"0","right":"var:preset|spacing|30","left":"var:preset|spacing|30"}}},"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:0;padding-left:var(--wp--preset--spacing--30)">
    <!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|20","margin":{"bottom":"var:preset|spacing|30"}}},"layout":{"type":"flex","orientation":"horizontal","justifyContent":"space-between","flexWrap":"wrap"}} -->
    <div class="wp-block-group alignwide" style="margin-bottom:var(--wp--preset--spacing--30)">
        <!-- wp:group {"style":{"spacing":{"blockGap":"5px"}},"layout":{"type":"flex","orientation":"vertical"}} -->
        <div class="wp-block-group">
            <!-- wp:paragraph {"className":"shop-editorial-num","style":{"color":{"text":"var:preset|color|accent-1"},"spacing":{"margin":{"top":"0","bottom":"0"}}},"fontSize":"normal"} -->
            <p class="shop-editorial-num has-text-color has-normal-font-size"
                style="color:var(--wp--preset--color--accent-1);margin-top:0;margin-bottom:0">
                <em><?php echo esc_html__('// Our Top Categories', 'gutenify-storely'); ?></em>
            </p>
            <!-- /wp:paragraph -->

            <!-- 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__('Shop By Category', 'gutenify-storely'); ?> </h2>
            <!-- /wp:heading -->
        </div>
        <!-- /wp:group -->

        <!-- wp:paragraph {"align":"right","className":"is-style-underline","style":{"typography":{"textTransform":"capitalize","letterSpacing":"0px","fontWeight":"600"},"color":{"text":"var:preset|color|contrast"},"spacing":{"margin":{"top":"0"}}},"fontSize":"small"} -->
        <p class="has-text-align-right is-style-underline has-text-color has-small-font-size"
            style="color:var(--wp--preset--color--contrast);margin-top:0;font-weight:600;letter-spacing:0px;text-transform:capitalize">
            <a href="<?php echo esc_url(home_url('/shop')); ?>"><?php echo esc_html__('View All →', 'gutenify-storely'); ?></a>
        </p>
        <!-- /wp:paragraph -->
    </div>
    <!-- /wp:group -->

    <!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
    <div class="wp-block-group alignwide">
        <!-- wp:woocommerce/product-categories {"align":"wide","hasCount":false,"hasImage":true,"className":"is-horizontal-cat","fontSize":"small"} /-->
    </div>
    <!-- /wp:group -->
</div>
<!-- /wp:group -->