{% sw_extends '@Storefront/storefront/page/content/detail.html.twig' %}
{# add an additional class on the cms-section #}
{% block page_content_section %}
{% set additionalSectionCls = '' %}
{% if(section.customFields.procClassValue.sectionCls) %}
{% set additionalSectionCls = section.customFields.procClassValue.sectionCls %}
{% endif %}
<div class="cms-section {{ sectionClasses|join(' ') }}{% if additionalSectionCls %} {{ additionalSectionCls }}{% endif %}"
style="{% if sectionBgColor %}background-color: {{ sectionBgColor }};{% endif %}{% if sectionBgImg %}background-image: url({{ sectionBgImg }});background-size: {{ section.backgroundMediaMode }};{% endif %}">
{% sw_include "@Storefront/storefront/section/cms-section-" ~ section.type ~ ".html.twig" with {additionalSectionCls} %}
</div>
{% endblock %}