<div x-cloak x-show="showModal['{{loop.index}}']" class="fixed inset-0 bg-gray-800 bg-opacity-75 flex items-center justify-center z-20">
    <div class="bg-white p-6 rounded-lg shadow-lg max-w-sm w-full">
        <h2 class="text-xl font-bold mb-4">Price Alert per {{ item.name }}</h2>
        <p>{{ item.prices.price_alert.description }}</p>
        <button @click="showModal['{{ loop.index }}'] = false" class="mt-4 px-4 py-2 bg-emerald-500 text-white rounded-lg">Chiudi</button>
    </div>
</div>