{% sw_extends "@Storefront/storefront/component/product/card/box-standard.html.twig" %}
{% block component_product_box_image %}
{% set sizes = {
'xs': '545px',
'sm': '355px',
'md': '435px',
'lg': '395px',
'xl': '325px'
} %}
{% block component_product_box_image_name %}
<a href="{{ seoUrl('frontend.detail.page', {'productId': id}) }}"
class="product-name"
title="{{ name }}">
{% set labels = name|split('-') %}
{% for label in labels %}
{% if loop.first %}
{% set labelItems = label|trim|split(' ') %}
<span class="product-card-product-line">
{% for labelItem in labelItems %}
{% if loop.first %}
<span>{{ labelItem }}</span>
{% else %}
{{ labelItem }}
{% endif %}
{% endfor %}
</span>
{% else %}
<br/>
// {{ label|trim }}
{% endif %}
{% endfor %}
</a>
{% endblock %}
{{ parent() }}
{% endblock %}
{% block component_product_box_name %}{% endblock %}
{% block component_product_box_price %}
{% block component_product_box_detail %}
<div class="product-detail-link">
<p>
<a href="{{ seoUrl('frontend.detail.page', {'productId': id}) }}"
class="btn product-detail"
title="{{ 'gourmops.theme.component.product.card.boxStandard.detail.text'|trans|striptags }}">
{{ 'gourmops.theme.component.product.card.boxStandard.detail.text'|trans|sw_sanitize }}
</a>
</p>
</div>
{% endblock %}
{{ parent() }}
{% endblock %}