{% if class is not empty %}
<div class="{{class}}">
    {% endif %}

    <div class="item_prod">
        <a href="{{item.link.card}}" class="thum_compra" target="_blank" rel="nofollow"><img
                src="https://css.hd-cdn.it/new_files/img/shim.gif"
                style="background: url('{{item.image}}') no-repeat center center;background-size: contain;" width="90"
                height="90"></a>
        <a href="{{item.link.card}}" class="desc hover:underline hover:text-red-500" target="_blank" rel="nofollow">{{item.title}}</a>
        <div class="shop_places">
            <a href="{{item.link.card}}" class="shop_logo group" target="_blank" rel="nofollow"><img
                    src="https://css.hd-cdn.it/new_files/img/shim.gif"
                    style="background: #fff url('{{item.merchant.logo}}') no-repeat center center;background-size: contain; width: 80px;"
                    alt="{{item.merchant.name}}" width="80" height="24"><span class="group-hover:underline ">{{item.merchant.name}}</span></span>
            </a>
            <div class="price">
                {% if item.type == 'domination' %}
                <a href="{{item.link.card}}" class="green_button" target="_blank" rel="nofollow">{{item.title}}</a>
                {% else %}
                <a href="{{item.link.card}}" target="_blank" class="hover:underline" rel="nofollow"><strong>da
                        {{item.price}}<small>&euro;</small></strong></a>
                        <a href="{{item.link.card}}" class="green_button" target="_blank" rel="nofollow">VEDI OFFERTA</a>
                {% endif %}
           
            </div>
        </div>
    </div>


    {% if class is not empty %}
</div>
{% endif %}