<div class="" style="display: contents!important;">
{% for keyss, sousCateg in categ.CategorieChild %}
{% for keys, prod in sousCateg.getProduits() %}
{% if keys==0 %}
{% set active = 'active' %}
{% else %}
{% set active = '' %}
{% endif %}
{% if prod.stock <= 0 %}
{% set cardClass = 'product-no-stock' %}
{% else %}
{% set cardClass = '' %}
{% endif %}
<div class="col-xl-2 col-lg-3 col-md-4 p-1 hp_block-product-responsive">
<div class="coup_de_coeur coup_de_coeur_lg">
{% if prod.isCoupCoeur %}
<img width="10px" src="{{ asset("/images/block_products/coup_coeur.png") }}" alt="coeur"> <span class="text-coup-coeur">{% trans %}COUP DE COEUR{% endtrans %} SPA.BIZ</span> <img width="10px" src="{{ asset("/images/block_products/coup_coeur.png") }}" alt="coeur">
{% endif %}
</div>
<div class="card {{ cardClass }}">
<div class="card-body pt-2 pb-2 p-1">
<div class="product_one_block_link" style="cursor: pointer;" data-link="{{ path("app_fiche_produit", {"id_product": prod.id,"id_categorie": prod | game}) }}">
{% if prod.stock <= 0 %}
<div>
<p class="text-red-stock">Bientôt en stock</p>
</div>
{% endif %}
<div><h6 class="fw-600 text-grey-color-used"><i class="text-portail">SPAS</i> {{ prod.name|filterName|raw }}</h6></div>
<div class="row">
<div class="col-6 text-small-bolder text-end text-grey-color-used">{{ prod | places }} {% trans %}place(s){% endtrans %}</div>
<div class="col-6 text-small-bolder text-start text-grey-color-used">{{ prod | jets}} {% trans %}jet(s){% endtrans %}</div>
</div>
<div class="price-products text-grey-color-used">{{ prod.price|number_format(0, ',', ' ') }}€</div>
{% if not prod.stock <= 0 %}
<div class="ratings">
{% set nbrStartsP = categ.name|number_format %}
<div class="d-flex">
{% for i in 1..nbrStartsP %}
<img style="height: 23px;" src="{{ asset("/images/start_actif_hotfix.png") }}" alt="etoile">
{% endfor %}
</div>
</div>
{% endif %}
</div>
<div id="carouselExampleControls{{ prod.id }}{{ keys }}" class="carousel slide" data-interval="false">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleControls{{ prod.id }}{{ keys }}" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
{% for keyIndicator, prodImage in prod.imageProduits %}
{% if keyIndicator < 7 %}
<button type="button" data-bs-target="#carouselExampleControls{{ prod.id }}{{ keys }}" data-bs-slide-to="{{ keyIndicator+1 }}" aria-label="Slide {{ keyIndicator }}"></button>
{% endif %}
{% endfor %}
</div>
<div class="carousel-inner">
<div class="carousel-item all-products-selected active">
<a href="{{ path("app_fiche_produit", {"id_product": prod.id,"id_categorie": prod | game}) }}">
<div class="responsiveImageProduit">
<img src="{{ asset("/images/images_produits/"~prod.imageProduitsPrincipale) }}" alt="zaccouzi">
</div>
</a>
</div>
<a href="{{ path("app_fiche_produit", {"id_product": prod.id,"id_categorie": prod | game}) }}">
{% for keyImage, prodImage in prod.imageProduits %}
{% if keyImage < 7 %}
<div class="carousel-item all-products-selected">
<div class="responsiveImageProduit">
<img src="{{ asset("/images/images_produits/"~prodImage.image) }}" alt="zaccouzi">
</div>
</div>
{% endif %}
{% endfor %}
</a>
</div>
<button class="carousel-control-prev button-slider-inside" type="button" data-bs-target="#carouselExampleControls{{ prod.id }}{{ keys }}" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next button-slider-inside" type="button" data-bs-target="#carouselExampleControls{{ prod.id }}{{ keys }}" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
<div>
{% if prod.stock <= 0 %}
<div class="button-show-detail-red">
<a class="text-white text-decoration-none" href="">{% trans %}M'inscrire à la newsletter{% endtrans %} <img class="img-email-newsletter" src="/images/block_products/email.png" alt="email"></a>
</div>
{% else %}
<div class="button-show-detail">
<a class="text-white text-decoration-none" href="{{ path("app_fiche_produit", {"id_product": prod.id,"id_categorie": categ.id}) }}">{% trans %}Afficher le{% endtrans %} spa</a>
</div>
{% endif %}
<div>
<a class="button-add-comparator no-wrap" href="{{ path("app_comparateur_set_list", {"id_gamme": categ.id, "id_produit": prod.id}) }}">{% trans %}Ajouter au{% endtrans %} {% trans %}comparateur{% endtrans %}</a>
</div>
</div>
</div>
</div>
</div>
{% endfor %}
{% endfor %}
</div>