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

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


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