<?php
/**
 * Title: Categories
 * Slug: florist-blocks/categories
 * Categories: categories
 * Block Types: core/template-part/categories
 */
?>

<?php if ( class_exists( 'WooCommerce' ) && wc_get_products( array( 'status' => 'publish', 'limit' => 1 ) ) ) : ?>

<!-- wp:group {"className":"category-section","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"right":"20px","left":"20px","top":"70px","bottom":"70px"}},"border":{"radius":"20px"}},"backgroundColor":"secondary-fourth","layout":{"type":"constrained","contentSize":"80%"}} -->
<div class="wp-block-group category-section has-secondary-fourth-background-color has-background" style="border-radius:20px;margin-top:0;margin-bottom:0;padding-top:70px;padding-right:20px;padding-bottom:70px;padding-left:20px"><!-- wp:group {"className":"service-text-main animations-hidden-item","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group service-text-main animations-hidden-item"><!-- wp:heading {"textAlign":"center","level":5,"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"700","textTransform":"capitalize"},"spacing":{"margin":{"top":"0","bottom":"10px"},"padding":{"top":"8px","bottom":"8px","left":"30px","right":"30px"}},"border":{"radius":"30px"}},"backgroundColor":"primary","textColor":"base","fontFamily":"lato"} -->
<h5 class="wp-block-heading has-text-align-center has-base-color has-primary-background-color has-text-color has-background has-link-color has-lato-font-family" style="border-radius:30px;margin-top:0;margin-bottom:10px;padding-top:8px;padding-right:30px;padding-bottom:8px;padding-left:30px;font-size:14px;font-style:normal;font-weight:700;text-transform:capitalize"><?php esc_html_e('Our Shop','florist-blocks'); ?></h5>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","level":4,"style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"fontSize":"25px","fontStyle":"normal","fontWeight":"700","textTransform":"capitalize"},"spacing":{"margin":{"top":"0","bottom":"0px"},"padding":{"top":"0","bottom":"0"}}},"textColor":"secondary","fontFamily":"lato"} -->
<h4 class="wp-block-heading has-text-align-center has-secondary-color has-text-color has-link-color has-lato-font-family" style="margin-top:0;margin-bottom:0px;padding-top:0;padding-bottom:0;font-size:25px;font-style:normal;font-weight:700;text-transform:capitalize"><?php esc_html_e('Best Selling Product','florist-blocks'); ?></h4>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary-second"}}},"typography":{"fontSize":"15px","fontStyle":"normal","fontWeight":"400"},"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0","left":"0","right":"0"}}},"textColor":"secondary-second","fontFamily":"lato"} -->
<p class="has-text-align-center has-secondary-second-color has-text-color has-link-color has-lato-font-family" style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;font-size:15px;font-style:normal;font-weight:400"><?php esc_html_e('Lorem Ipsum is simply dummy text of the printing and typesetting industry.','florist-blocks'); ?></p>
<!-- /wp:paragraph -->

<!-- wp:group {"className":"category-main","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group category-main"><!-- wp:gutentor/t1 {"gID":"g-ckfsk91","pName":"gutentor/t1","blockItemsColumn":{"desktop":"grid-lg-2","tablet":"grid-md-4","mobile":"grid-12"},"t1Taxonomy":"product_cat","tBtnTypography":{"fontType":"default","desktopFontSize":16,"tabletFontSize":16,"mobileFontSize":16,"textTransform":"normal"},"tOnDesc":true,"tBxAlign":{"desktop":"text-align-center"},"tBxP":{"type":"px","dTop":"15","dBottom":"15","tTop":"15","tBottom":"15","mTop":"15","mBottom":"15"},"tTitleC":{"enable":true,"normal":"#000000","hover":""},"tTitleTypography":{"desktopFontSize":"20px","fontType":"google","googleFont":"Lato","fontWeight":"700"},"tCountOpt":{"display":"sorting","prefix":"","suffix":" Product"},"tCountC":{"enable":true,"normal":"#000000","hover":""},"tCountTypography":{"desktopFontSize":"15px","fontType":"google","googleFont":"Lato","fontWeight":"regular"}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<?php else : ?>


<!-- wp:group {"className":"categories-section","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"right":"20px","left":"20px","top":"70px","bottom":"70px"}},"border":{"radius":"20px"}},"backgroundColor":"secondary-fourth","layout":{"type":"constrained","contentSize":"80%"}} -->
<div class="wp-block-group categories-section has-secondary-fourth-background-color has-background" style="border-radius:20px;margin-top:0;margin-bottom:0;padding-top:70px;padding-right:20px;padding-bottom:70px;padding-left:20px"><!-- wp:group {"className":"service-text-main animations-hidden-item","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group service-text-main animations-hidden-item"><!-- wp:group {"className":"service-text-main animations-hidden-item","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group service-text-main animations-hidden-item"><!-- wp:heading {"textAlign":"center","level":5,"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"700","textTransform":"capitalize"},"spacing":{"margin":{"top":"0","bottom":"10px"},"padding":{"top":"8px","bottom":"8px","left":"30px","right":"30px"}},"border":{"radius":"30px"}},"backgroundColor":"primary","textColor":"base","fontFamily":"lato"} -->
<h5 class="wp-block-heading has-text-align-center has-base-color has-primary-background-color has-text-color has-background has-link-color has-lato-font-family" style="border-radius:30px;margin-top:0;margin-bottom:10px;padding-top:8px;padding-right:30px;padding-bottom:8px;padding-left:30px;font-size:14px;font-style:normal;font-weight:700;text-transform:capitalize"><?php esc_html_e('Our Shop','florist-blocks'); ?></h5>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","level":4,"style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"fontSize":"25px","fontStyle":"normal","fontWeight":"700","textTransform":"capitalize"},"spacing":{"margin":{"top":"0","bottom":"0px"},"padding":{"top":"0","bottom":"0"}}},"textColor":"secondary","fontFamily":"lato"} -->
<h4 class="wp-block-heading has-text-align-center has-secondary-color has-text-color has-link-color has-lato-font-family" style="margin-top:0;margin-bottom:0px;padding-top:0;padding-bottom:0;font-size:25px;font-style:normal;font-weight:700;text-transform:capitalize"><?php esc_html_e('Best Selling Product','florist-blocks'); ?></h4>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary-second"}}},"typography":{"fontSize":"15px","fontStyle":"normal","fontWeight":"400"},"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0","left":"0","right":"0"}}},"textColor":"secondary-second","fontFamily":"lato"} -->
<p class="has-text-align-center has-secondary-second-color has-text-color has-link-color has-lato-font-family" style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;font-size:15px;font-style:normal;font-weight:400"><?php esc_html_e('Lorem Ipsum is simply dummy text of the printing and typesetting industry.','florist-blocks'); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"category-main","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group category-main"><!-- wp:columns {"className":"categories-cloumn"} -->
<div class="wp-block-columns categories-cloumn"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:group {"className":"category-box","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group category-box"><!-- wp:group {"className":"categories-image","style":{"border":{"radius":"150px"},"spacing":{"padding":{"top":"35px","right":"25px","bottom":"0px","left":"25px"}}},"gradient":"vertical-secondary-to-tertiary","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group categories-image has-vertical-secondary-to-tertiary-gradient-background has-background" style="border-radius:150px;padding-top:35px;padding-right:25px;padding-bottom:0px;padding-left:25px"><!-- wp:image {"id":15,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
<figure class="wp-block-image aligncenter size-full"><img src="<?php echo esc_url(get_template_directory_uri()) ?>/assets/images/category1.png" alt="" class="wp-image-15"/></figure>
<!-- /wp:image --></div>
<!-- /wp:group -->

<!-- wp:group {"layout":{"type":"constrained","contentSize":"90%"}} -->
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"22px","fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast","fontFamily":"lato"} -->
<h3 class="wp-block-heading has-text-align-center has-contrast-color has-text-color has-link-color has-lato-font-family" style="font-size:22px;font-style:normal;font-weight:700"><a href="#"><?php esc_html_e('Wedding Bouquets','florist-blocks'); ?></a></h3>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"16px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"margin":{"top":"0","bottom":"0"}}},"textColor":"contrast","fontFamily":"lato"} -->
<h3 class="wp-block-heading has-text-align-center has-contrast-color has-text-color has-link-color has-lato-font-family" style="margin-top:0;margin-bottom:0;font-size:16px;font-style:normal;font-weight:400"><?php esc_html_e('03 Product','florist-blocks'); ?></h3>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:group {"className":"category-box","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group category-box"><!-- wp:group {"className":"categories-image","style":{"border":{"radius":"150px"},"spacing":{"padding":{"top":"35px","right":"25px","bottom":"0px","left":"25px"}}},"gradient":"vertical-secondary-to-tertiary","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group categories-image has-vertical-secondary-to-tertiary-gradient-background has-background" style="border-radius:150px;padding-top:35px;padding-right:25px;padding-bottom:0px;padding-left:25px"><!-- wp:image {"id":31,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
<figure class="wp-block-image aligncenter size-full"><img src="<?php echo esc_url(get_template_directory_uri()) ?>/assets/images/category2.png" alt="" class="wp-image-31"/></figure>
<!-- /wp:image --></div>
<!-- /wp:group -->

<!-- wp:group {"layout":{"type":"constrained","contentSize":"90%"}} -->
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"22px","fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast","fontFamily":"lato"} -->
<h3 class="wp-block-heading has-text-align-center has-contrast-color has-text-color has-link-color has-lato-font-family" style="font-size:22px;font-style:normal;font-weight:700"><a href="#"><?php esc_html_e('Wedding Bouquets','florist-blocks'); ?></a></h3>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"16px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"margin":{"top":"0","bottom":"0"}}},"textColor":"contrast","fontFamily":"lato"} -->
<h3 class="wp-block-heading has-text-align-center has-contrast-color has-text-color has-link-color has-lato-font-family" style="margin-top:0;margin-bottom:0;font-size:16px;font-style:normal;font-weight:400"><?php esc_html_e('03 Product','florist-blocks'); ?></h3>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:group {"className":"category-box","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group category-box"><!-- wp:group {"className":"categories-image","style":{"border":{"radius":"150px"},"spacing":{"padding":{"top":"35px","right":"25px","bottom":"0px","left":"25px"}}},"gradient":"vertical-secondary-to-tertiary","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group categories-image has-vertical-secondary-to-tertiary-gradient-background has-background" style="border-radius:150px;padding-top:35px;padding-right:25px;padding-bottom:0px;padding-left:25px"><!-- wp:image {"id":32,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
<figure class="wp-block-image aligncenter size-full"><img src="<?php echo esc_url(get_template_directory_uri()) ?>/assets/images/category3.png" alt="" class="wp-image-32"/></figure>
<!-- /wp:image --></div>
<!-- /wp:group -->

<!-- wp:group {"layout":{"type":"constrained","contentSize":"90%"}} -->
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"22px","fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast","fontFamily":"lato"} -->
<h3 class="wp-block-heading has-text-align-center has-contrast-color has-text-color has-link-color has-lato-font-family" style="font-size:22px;font-style:normal;font-weight:700"><a href="#"><?php esc_html_e('Wedding Bouquets','florist-blocks'); ?></a></h3>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"16px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"margin":{"top":"0","bottom":"0"}}},"textColor":"contrast","fontFamily":"lato"} -->
<h3 class="wp-block-heading has-text-align-center has-contrast-color has-text-color has-link-color has-lato-font-family" style="margin-top:0;margin-bottom:0;font-size:16px;font-style:normal;font-weight:400"><?php esc_html_e('03 Product','florist-blocks'); ?></h3>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:group {"className":"category-box","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group category-box"><!-- wp:group {"className":"categories-image","style":{"border":{"radius":"150px"},"spacing":{"padding":{"top":"35px","right":"25px","bottom":"0px","left":"25px"}}},"gradient":"vertical-secondary-to-tertiary","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group categories-image has-vertical-secondary-to-tertiary-gradient-background has-background" style="border-radius:150px;padding-top:35px;padding-right:25px;padding-bottom:0px;padding-left:25px"><!-- wp:image {"id":33,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
<figure class="wp-block-image aligncenter size-full"><img src="<?php echo esc_url(get_template_directory_uri()) ?>/assets/images/category4.png" alt="" class="wp-image-33"/></figure>
<!-- /wp:image --></div>
<!-- /wp:group -->

<!-- wp:group {"layout":{"type":"constrained","contentSize":"90%"}} -->
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"22px","fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast","fontFamily":"lato"} -->
<h3 class="wp-block-heading has-text-align-center has-contrast-color has-text-color has-link-color has-lato-font-family" style="font-size:22px;font-style:normal;font-weight:700"><a href="#"><?php esc_html_e('Wedding Bouquets','florist-blocks'); ?></a></h3>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"16px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"margin":{"top":"0","bottom":"0"}}},"textColor":"contrast","fontFamily":"lato"} -->
<h3 class="wp-block-heading has-text-align-center has-contrast-color has-text-color has-link-color has-lato-font-family" style="margin-top:0;margin-bottom:0;font-size:16px;font-style:normal;font-weight:400"><?php esc_html_e('03 Product','florist-blocks'); ?></h3>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:group {"className":"category-box","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group category-box"><!-- wp:group {"className":"categories-image","style":{"border":{"radius":"150px"},"spacing":{"padding":{"top":"35px","right":"25px","bottom":"0px","left":"25px"}}},"gradient":"vertical-secondary-to-tertiary","layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group categories-image has-vertical-secondary-to-tertiary-gradient-background has-background" style="border-radius:150px;padding-top:35px;padding-right:25px;padding-bottom:0px;padding-left:25px"><!-- wp:image {"id":34,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
<figure class="wp-block-image aligncenter size-full"><img src="<?php echo esc_url(get_template_directory_uri()) ?>/assets/images/category5.png" alt="" class="wp-image-34"/></figure>
<!-- /wp:image --></div>
<!-- /wp:group -->

<!-- wp:group {"layout":{"type":"constrained","contentSize":"90%"}} -->
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"22px","fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast","fontFamily":"lato"} -->
<h3 class="wp-block-heading has-text-align-center has-contrast-color has-text-color has-link-color has-lato-font-family" style="font-size:22px;font-style:normal;font-weight:700"><a href="#"><?php esc_html_e('Wedding Bouquets','florist-blocks'); ?></a></h3>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"16px","fontStyle":"normal","fontWeight":"400"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"margin":{"top":"0","bottom":"0"}}},"textColor":"contrast","fontFamily":"lato"} -->
<h3 class="wp-block-heading has-text-align-center has-contrast-color has-text-color has-link-color has-lato-font-family" style="margin-top:0;margin-bottom:0;font-size:16px;font-style:normal;font-weight:400"><?php esc_html_e('03 Product','florist-blocks'); ?></h3>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<?php endif; ?>