{% if moduleBestseller.exibeModule %}
  <div>
    {{product_list_title}}
    {% if grid %}
    <div class="ftr-no-scroller">
      <div class="ftr-scroller">
          {{ moduleBestseller.html }}
      </div>
    </div>
    {% else %}
    <div class="ftr-js-scroller--accordion ftr-js-load-slide" onload="productModules.push({element: this, name: 'slide-bestseller'})">
      <div class="ftr-scroller ftr-js-scroller" data-module-name="bestseller" data-quantity="{{moduleBestseller.productsCount}}">
        {% set boxQuantity = moduleBestseller.productsCount < 24 ? moduleBestseller.productsCount : 24 %}
        {% for i in 1..boxQuantity %}
          <div class="ftr-grid__card ftr-product-card"></div>
        {% endfor %}
      </div>
    </div>
    {% endif %}
  </div>
{% endif %}
