<?php
/**
 * Title: Category Collage
 * Slug: craftify/category-collage
 * Categories: craftify
 *
 * @package Craftify
 * @since 1.0.0
 */

?>

<?php if (function_exists('wc_booster_load') && class_exists('WooCommerce')) { ?>

<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"40px","bottom":"40px","left":"24px","right":"24px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:40px;padding-right:24px;padding-bottom:40px;padding-left:24px"><!-- wp:columns {"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
<div class="wp-block-columns" style="margin-top:0;margin-bottom:0"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:wc-booster/call-to-action {"block_id":"wc-booster-cta-block-50a14bb2-4905-43c1-aa32-3681242b26da","bgImage":{"size":"full","id":127,"alt":"","url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/kitchen.jpg","height":799,"width":1200,"sizes":{"full":{"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/kitchen.jpg","height":799,"width":1200,"orientation":"landscape"}}},"padding":{"activeUnit":"px","isLinkActive":false,"properties":["top","right","bottom","left"],"responsiveViews":["desktop","tablet","mobile"],"units":["px","rem"],"values":{"desktop":[100,60,100,60],"tablet":[70,30,70,30],"mobile":[50,20,50,20]}},"subDescriptionMargin":{"activeUnit":"px","isLinkActive":false,"properties":["top","right","bottom","left"],"responsiveViews":["desktop","tablet","mobile"],"units":["px","rem"],"values":{"desktop":[15,0,35,0],"tablet":[15,0,25,0],"mobile":[15,0,20,0]}},"heading":"Chair","subDescription":"Volutpat natoque nullam sed","subDescriptionColor":"#ffffff","headingColor":"#ffffff","opacity":3,"borderRadius":12,"contentWidth":{"activeUnit":"%","range":{"min":1,"max":100},"values":{"desktop":100,"tablet":100,"mobile":100},"responsiveViews":["desktop","tablet","mobile"],"units":["%"]},"headingTypo":{"fontFamily":"","fontSize":{"units":["px","em","rem"],"activeUnit":"px","values":{"desktop":36,"tablet":32,"mobile":26},"range":{"min":0,"max":100}},"fontWeight":600,"lineHeight":{"activeUnit":"","units":[""],"values":{"desktop":1,"tablet":1,"mobile":1}},"":{"activeUnit":"px","range":{"min":0,"max":100},"values":{"desktop":36,"tablet":32,"mobile":26},"units":["px","em","rem"]}},"subDescriptionTypo":{"fontFamily":"","fontSize":{"units":["px","em","rem"],"activeUnit":"px","values":{"desktop":18,"tablet":16,"mobile":16}},"fontWeight":400,"lineHeight":{"activeUnit":"","units":[""],"values":{"desktop":1.6,"tablet":1.6,"mobile":1.6}},"":{"activeUnit":"px","range":{"min":0,"max":100},"values":{"desktop":18,"tablet":16,"mobile":16},"units":["px","em","rem"]}}} -->
<!-- wp:buttons {"align":"left","layout":{"type":"flex","justifyContent":"left"}} -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html__( 'Buy Now', 'craftify' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->
<!-- /wp:wc-booster/call-to-action --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:wc-booster/call-to-action {"block_id":"wc-booster-cta-block-0ebb605f-02e9-4950-90e5-70ade373acfe","bgImage":{"size":"full","id":153,"alt":"","url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/banner-2.jpg","height":796,"width":1200,"sizes":{"full":{"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/banner-2.jpg","height":796,"width":1200,"orientation":"landscape"}}},"padding":{"activeUnit":"px","isLinkActive":false,"properties":["top","right","bottom","left"],"responsiveViews":["desktop","tablet","mobile"],"units":["px","rem"],"values":{"desktop":[100,60,100,60],"tablet":[70,30,70,30],"mobile":[50,20,50,20]}},"subDescriptionMargin":{"activeUnit":"px","isLinkActive":false,"properties":["top","right","bottom","left"],"responsiveViews":["desktop","tablet","mobile"],"units":["px","rem"],"values":{"desktop":[15,0,35,0],"tablet":[15,0,25,0],"mobile":[15,0,20,0]}},"heading":"Sofa","subDescription":"Volutpat natoque nullam sed","subDescriptionColor":"#ffffff","headingColor":"#ffffff","opacity":3,"borderRadius":12,"headingTypo":{"fontFamily":"","fontSize":{"units":["px","em","rem"],"activeUnit":"px","values":{"desktop":36,"tablet":32,"mobile":26},"range":{"min":0,"max":100}},"fontWeight":600,"lineHeight":{"activeUnit":"","units":[""],"values":{"desktop":1,"tablet":1,"mobile":1}},"":{"activeUnit":"px","range":{"min":0,"max":100},"values":{"desktop":36,"tablet":32,"mobile":26},"units":["px","em","rem"]}},"subDescriptionTypo":{"fontFamily":"","fontSize":{"units":["px","em","rem"],"activeUnit":"px","values":{"desktop":18,"tablet":16,"mobile":16}},"fontWeight":400,"lineHeight":{"activeUnit":"","units":[""],"values":{"desktop":1.6,"tablet":1.6,"mobile":1.6}},"":{"activeUnit":"px","range":{"min":0,"max":100},"values":{"desktop":18,"tablet":16,"mobile":16},"units":["px","em","rem"]}}} -->
<!-- wp:buttons {"align":"left","layout":{"type":"flex","justifyContent":"left"}} -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html__( 'Buy Now', 'craftify' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->
<!-- /wp:wc-booster/call-to-action --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->

<?php } else { ?>

<!-- wp:group {"metadata":{"name":"Category Collage"},"className":"craftify-category","style":{"spacing":{"margin":{"top":"0px","bottom":"0"},"padding":{"right":"24px","left":"24px","top":"40px","bottom":"40px"},"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group craftify-category" style="margin-top:0px;margin-bottom:0;padding-top:40px;padding-right:24px;padding-bottom:40px;padding-left:24px"><!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|50"},"margin":{"top":"0px"},"padding":{"top":"0","bottom":"0","left":"0","right":"0"}},"border":{"radius":"12px"}}} -->
<div class="wp-block-columns" style="border-radius:12px;margin-top:0px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/living-2.jpg","id":126,"dimRatio":20,"overlayColor":"contrast","isUserOverlayColor":true,"minHeight":320,"style":{"border":{"radius":"12px"},"dimensions":{"aspectRatio":"16/9"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover" style="border-radius:12px;min-height:320px"><span aria-hidden="true" class="wp-block-cover__background has-contrast-background-color has-background-dim-20 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-126" alt="" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/living-2.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|70","left":"var:preset|spacing|60"}}},"layout":{"type":"constrained","contentSize":""}} -->
<div class="wp-block-group" style="padding-right:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--60)"><!-- wp:heading {"style":{"typography":{"textTransform":"capitalize","fontStyle":"normal","fontWeight":"600"},"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0","left":"0","right":"0"}}},"fontSize":"large"} -->
<h2 class="wp-block-heading has-large-font-size" 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-style:normal;font-weight:600;text-transform:capitalize"><?php echo esc_html__( 'chair', 'craftify' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|60","left":"0","right":"0"}}}} -->
<p style="margin-top:var(--wp--preset--spacing--30);margin-right:0;margin-bottom:var(--wp--preset--spacing--60);margin-left:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><?php echo esc_html__( 'Volutpat natoque nullam sed', 'craftify' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
<div class="wp-block-buttons" style="margin-top:0;margin-bottom:0"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html__( 'Shop Now', 'craftify' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/kitchen.jpg","id":127,"dimRatio":20,"overlayColor":"contrast","isUserOverlayColor":true,"minHeight":320,"style":{"border":{"radius":"12px"},"dimensions":{"aspectRatio":"16/9"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover" style="border-radius:12px;min-height:320px"><span aria-hidden="true" class="wp-block-cover__background has-contrast-background-color has-background-dim-20 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-127" alt="" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/kitchen.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|70","left":"var:preset|spacing|60"}}},"layout":{"type":"constrained","contentSize":""}} -->
<div class="wp-block-group" style="padding-right:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--60)"><!-- wp:heading {"style":{"typography":{"textTransform":"capitalize","fontStyle":"normal","fontWeight":"600"},"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0","left":"0","right":"0"}}},"fontSize":"large"} -->
<h2 class="wp-block-heading has-large-font-size" 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-style:normal;font-weight:600;text-transform:capitalize"><?php echo esc_html__( 'Sofa', 'craftify' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|60","left":"0","right":"0"}}}} -->
<p style="margin-top:var(--wp--preset--spacing--30);margin-right:0;margin-bottom:var(--wp--preset--spacing--60);margin-left:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><?php echo esc_html__( 'Volutpat natoque nullam sed', 'craftify' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
<div class="wp-block-buttons" style="margin-top:0;margin-bottom:0"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html__( 'Shop Now', 'craftify' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->

<?php } ?>
