<!-- This template require [index, id, name, href, image, shortDescription, fallbackImage] -->
<div class="col-xl-3 col-lg-3 col-md-4 col-sm-6 mb-5 mb-lg-5 mb-md-5 d-flex flex-column justify-content-center align-items-center text-center">
<div class="position-relative">
<a href="{{ product.href }}" class="d-flex flex-column align-items-center" style="max-width: fit-content;">
<div class="productCircle" style="background-image: url({{ image ? image.getThumbnail('Stoelting_neuroscience_circle') }}), url({{ image ? '' : fallbackImage }});">
</div>
<h5 class="font-weight-bold text-navyBlue mt-4 mt-lg-4 mt-md-4 mb-0 mb-0">{{ product.name }}</h5>
</a>
<div class="productCircle__info"
{# 'modal' thumbnail needs to be configured #}
data-thumbnail="{{ product.image ? product.image.getThumbnail('modal') : product.fallbackImage }}"
data-title="{{ product.name }}"
data-text="{{ product.shortDescription }}"
data-toggle="modal"
data-target="#productInfo-{{product.id}}">
</div>
</div>
</div>
{% include "Components/productInfoModal.html.twig" with {
image: product.image,
name: product.name,
shortDescription: product.shortDescription,
link: product.href,
price: product.minPrice,
id: product.id
} %}