{% block element_oo_productusps %}
{% set uspConfig = element.config['uspsdata'].value %}
{# classnames prefixed with usp- represent the divs that belong to twig-blocks.#}
<div class="usp-list-vertical {{ element.config.version.value|default('version-01') }}">
<hr class="usp-top-border" />
{% set legacyUsps = uspConfig|split("\n") %}
{% block element_oo_usp_wrapper %}
<div class="product-detail-usp">
<ul class="usp-wrapper list-unstyled">
{# This is legacy, probably not in use anymore #}
{% if uspConfig %}
{% for usp in legacyUsps %}
{% block element_oo_usp_row %}
<li class="usp-row">
{% sw_include "@parent/storefront/utilities/icon.html.twig" ignore missing with { 'name': 'fa-check', 'size': 'xs', 'class': 'fal' } %}
{% block element_oo_usp_text %}
{{ usp }}
{% endblock %}
</li>
{% endblock %}
{% endfor %}
{% endif %}
{% if element.config.usp1text.value is not null and element.config.usp1text.value is not empty %}
<li class="usp-row">
{% sw_include "@parent/storefront/utilities/icon.html.twig" ignore missing with { 'name': element.config.usp1icon.value|default('fa-check'), 'size': 'xs', 'class': element.config.usp1iconStyle.value|default('fal')} %}
{{ element.config.usp1text.value }}
</li>
{% endif %}
{% if element.config.usp2text.value is not null and element.config.usp2text.value is not empty %}
<li class="usp-row">
{% sw_include "@parent/storefront/utilities/icon.html.twig" ignore missing with { 'name': element.config.usp2icon.value|default('fa-check'), 'size': 'xs', 'class': element.config.usp2iconStyle.value|default('fal')} %}
{{ element.config.usp2text.value }}
</li>
{% endif %}
{% if element.config.usp3text.value is not null and element.config.usp3text.value is not empty %}
<li>
{% sw_include "@parent/storefront/utilities/icon.html.twig" ignore missing with { 'name': element.config.usp3icon.value|default('fa-check'), 'size': 'xs', 'class': element.config.usp3iconStyle.value|default('fal')} %}
{{ element.config.usp3text.value }}
</li>
{% endif %}
{% if element.config.usp4text.value is not null and element.config.usp4text.value is not empty %}
<li class="usp-row">
{% sw_include "@parent/storefront/utilities/icon.html.twig" ignore missing with { 'name': element.config.usp4icon.value|default('fa-check'), 'size': 'xs', 'class': element.config.usp4iconStyle.value|default('fal')} %}
{{ element.config.usp4text.value }}
</li>
{% endif %}
</ul>
</div>
{% endblock %}
<hr class="usp-bottom-border" />
</div>
{% endblock %}