<?php echo $header; ?>
<?php echo $fulltop; ?>
<section class="g-bg-white g-pt-0 g-pb-0">
          <!-- Hero Info #06 -->
		  <?php if ($thumb || $description) { ?>
		  <?php if ($thumb) { ?>
          <section class="u-bg-overlay g-bg-black-opacity-0_5--after g-bg-img-hero g-py-100--md g-py-50" style="background-image: url(<?php echo $thumb; ?>);">
            <div class="container u-bg-overlay__inner text-center g-color-white">
              <div class="row">
                <div class="col-md-6 ml-md-auto mr-md-auto">
                  <h4 class=" g-font-size-16 display-4 text-uppercase g-font-weight-600 g-mt-70 g-mb-20">
                    <?php echo $heading_title; ?>
                  </h4>
                  <?php if ($description) { ?><?php echo $description; ?><?php } ?>
                </div>
              </div>
            </div>
          </section>
		  <?php } ?>
		  <?php } ?>
          <!-- Hero Info #06 -->
		  <?php echo $content_top; ?>
</section>	  

<section class="g-bg-white g-pt-50 g-pb-70">
<div class="container">
  <div class="row"><?php echo $column_left; ?>
    <?php if ($column_left && $column_right) { ?>
    <?php $class = 'col-sm-6'; ?>
    <?php } elseif ($column_left || $column_right) { ?>
    <?php $class = 'col-sm-9'; ?>
    <?php } else { ?>
    <?php $class = 'col-sm-12'; ?>
    <?php } ?>
    <div id="content" class="<?php echo $class; ?>"> 
	  <?php if ($products) { ?>
				  
				  <!-- 样式二开始 -->
				  <?php if ($description) { ?>
              <div class="row">
			  <?php foreach ($products as $product) { ?>
                <div class="col-lg-3 col-6 g-mb-20">
                  <div class="text-center g-brd-around g-brd-gray-light-v5 u-shadow-v18">
				  <a class="u-link-v5 g-color-black g-color-black--hover" href="<?php echo $product['href']; ?>">
                    <!-- Figure -->
                    <figure class="u-block-hover g-mb-20">
                      <!-- Figure Image -->
                      <img class="w-100 u-block-hover__img" src="<?php echo $product['thumb']; ?>" alt="Image Description">
                      <!-- Figure Image -->
                    </figure>
                    <!-- End Figure -->
					
                    <!-- Figure Info -->
					<div class="g-my-20">
                    <h4 class=" g-font-weight-600 h6 g-mb-5"><?php echo $product['name']; ?></h4>
					</div>
					</a>
                    <!-- End Figure Info--> 
                  </div>
                </div>
               <?php } ?>
              </div>
			  <?php } ?>
				  <!-- 样式二结束 -->
      <nav class="text-center" aria-label="Page Navigation">
        <?php echo $pagination; ?>
      </nav>
      <?php } ?>
      <?php if (!$categories && !$products) { ?>
      <p><?php echo $text_empty; ?></p>
      <?php } ?>
      <?php echo $content_bottom; ?></div>
    <?php echo $column_right; ?></div>
</div>
</section>
<?php echo $copyright; ?>
<?php echo $fullbottom; ?>
<?php echo $footer; ?>