<section class="featured-products clearfix">
  <h2>{l s='Viewed products' d='Modules.Viewedproduct.Shop'}</h2>
  <div class="slider-products">
    <div class="featured">
      <div class="row featured-item">
        {foreach from=$products item="product"}
          {include file="catalog/_partials/miniatures/product.tpl" product=$product}
        {/foreach}
      </div>
    </div>
  </div>
  <button class="featured-button prev" id="prevBtn-featured" aria-label="Previous">
    <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#e3e3e3"><path d="M400-80 0-480l400-400 71 71-329 329 329 329-71 71Z"/></svg>
  </button>
  <button class="featured-button next" id="nextBtn-featured" aria-label="Next">
    <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#e3e3e3"><path d="m321-80-71-71 329-329-329-329 71-71 400 400L321-80Z"/></svg>
  </button>
  <div class="pagination-indicators-featured">
    <div class="indicator-featured {if $smarty.foreach.indicator.first}active-featured{/if}"></div>
  </div>
</section>