<?php

/**
 * Title: Newsletter Box
 * Slug: storemate/newsletter-box
 * Categories: storemate
 */
$storemate_url = trailingslashit(get_template_directory_uri());
$storemate_images = array(
    $storemate_url . 'assets/images/offer-bg-2.jpg',
);
?>
<!-- wp:group {"style":{"spacing":{"padding":{"top":"40px","bottom":"40px","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"},"blockGap":"var:preset|spacing|30"}},"className":"storemate-zoom-in-up","layout":{"type":"constrained","contentSize":"1340px"}} -->
<div class="wp-block-group storemate-zoom-in-up" style="margin-top:0;margin-bottom:0;padding-top:40px;padding-right:var(--wp--preset--spacing--40);padding-bottom:40px;padding-left:var(--wp--preset--spacing--40)"><!-- wp:cover {"url":"<?php echo esc_url($storemate_images[0]) ?>","id":4320,"dimRatio":50,"minHeight":160,"style":{"spacing":{"padding":{"top":"10px","bottom":"10px","left":"32px","right":"32px"}}},"layout":{"type":"constrained","contentSize":"1340px"}} -->
    <div class="wp-block-cover" style="padding-top:10px;padding-right:32px;padding-bottom:10px;padding-left:32px;min-height:160px"><span aria-hidden="true" class="wp-block-cover__background has-background-dim"></span><img class="wp-block-cover__image-background wp-image-4320" alt="" src="<?php echo esc_url($storemate_images[0]) ?>" data-object-fit="cover" />
        <div class="wp-block-cover__inner-container"><!-- wp:columns {"verticalAlignment":"center"} -->
            <div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"blockGap":"var:preset|spacing|30"}}} -->
                <div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"textAlign":"left","style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontSize":"xx-large"} -->
                    <h2 class="wp-block-heading has-text-align-left has-xx-large-font-size" style="font-style:normal;font-weight:600"><?php esc_html_e('Newsletter', 'storemate') ?></h2>
                    <!-- /wp:heading -->

                    <!-- wp:paragraph {"align":"left"} -->
                    <p class="has-text-align-left"><?php esc_html_e('Subscribe today to receive promotions before anyone else!', 'storemate') ?></p>
                    <!-- /wp:paragraph -->
                </div>
                <!-- /wp:column -->

                <!-- wp:column {"verticalAlignment":"center"} -->
                <div class="wp-block-column is-vertically-aligned-center"><!-- wp:group {"style":{"spacing":{"margin":{"top":"40px"}}},"layout":{"type":"constrained","contentSize":"640px"}} -->
                    <div class="wp-block-group" style="margin-top:40px"><!-- wp:contact-form-7/contact-form-selector {"id":4992,"hash":"4206b04","title":"Newsletter with Checkbox","className":"storemate-newsletter-style-2 box-model"} -->
                        <div class="wp-block-contact-form-7-contact-form-selector storemate-newsletter-style-2 box-model">[contact-form-7 id="4206b04" title="Newsletter with Checkbox"]</div>
                        <!-- /wp:contact-form-7/contact-form-selector -->
                    </div>
                    <!-- /wp:group -->
                </div>
                <!-- /wp:column -->
            </div>
            <!-- /wp:columns -->
        </div>
    </div>
    <!-- /wp:cover -->
</div>
<!-- /wp:group -->