{% extends '@Storefront/storefront/layout/footer/footer.html.twig' %}
{% block layout_footer_inner_container %}
<div class="footer-container">
{% if theme_config('footerSettingsLayoutDisplayFooterTop') %}
{% block layout_footer_top %}
<div class="footer-top">
{% block layout_footer_top_container %}
<div class="{% if theme_config('footerStylesLayoutContainer') == 'boxed' %}container{% else %}container-fluid{% endif %}">
<div class="row justify-content-between">
{% set serviceMdSize = 8 %}
{% set serviceLgSize = 6 %}
{% if theme_config('footerStylesLayoutCustomerServiceOccupyImageWhitespace') %}
{% if theme_config('footerStylesLayoutFooterServiceImage') is empty %}
{% set serviceLgSize = serviceLgSize + 3 %}
{% endif %}
{% endif %}
{% if theme_config('footerStylesLayoutCustomerServiceOccupyNewsletterWhitespace') %}
{% if theme_config('footerSettingsNewsletterForm') is empty %}
{% set serviceMdSize = serviceMdSize + 4 %}
{% set serviceLgSize = serviceLgSize + 3 %}
{% endif %}
{% endif %}
{% if theme_config('footerStylesLayoutFooterServiceImage') or theme_config('footerStylesLayoutCustomerServiceOccupyImageWhitespace') is false %}
{% block base_footer_column_1_wrapper %}
<div class="col-lg-3 d-none d-lg-flex align-items-end pl-0 pr-0"> {#col-lg-2#}
{% block base_footer_service_image_wrapper %}
{% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with {
footerContent: theme_config('footerStylesLayoutFooterTopLeft'),
footerImage: theme_config('footerStylesLayoutFooterServiceImage'),
footerLocation: 'top',
} %}
{% endblock %}
</div>
{% endblock %}
{% endif %}
{% block base_footer_column_2_wrapper %}
<div class="col-12 col-sm-12 col-md-{{ serviceMdSize }} col-lg-{{ serviceLgSize }}"> {#offset-lg-1#}
{% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with {
footerContent: theme_config('footerStylesLayoutFooterTopCenter'),
footerImage: theme_config('footerStylesLayoutFooterServiceImage'),
footerLocation: 'top',
} %}
</div>
{% endblock %}
{% if theme_config('footerSettingsNewsletterForm') or theme_config('footerStylesLayoutCustomerServiceOccupyNewsletterWhitespace') is false %}
{% block base_footer_column_3_wrapper %}
<div class="col-12 col-sm-12 col-md-4 col-lg-3 d-block d-sm-none d-md-block d-lg-block">
{% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with {
footerContent: theme_config('footerStylesLayoutFooterTopRight'),
footerImage: theme_config('footerStylesLayoutFooterServiceImage'),
footerLocation: 'top',
} %}
</div>
{% endblock %}
{% endif %}
</div>
</div>
{% endblock %}
</div>
{% endblock %}
{% endif %}
{# Footer navigation tree #}
{% if theme_config('footerSettingsLayoutDisplayFooterCenter') %}
{% block layout_footer_center %}
<div class="footer-center">
{% block layout_footer_center_container %}
<div class="{% if theme_config('footerStylesLayoutContainer') == 'boxed' %}container{% else %}container-fluid{% endif %}">
{% block layout_footer_navigation %}
<div class="row">
<div id="footerColumns"
class="row footer-columns {% if theme_config('footerStylesLayoutFooterCenterRight') != 'none' %}col-12 col-md-9{% else %}col-12{% endif %}"
data-collapse-footer="true">
{% block layout_footer_navigation_columns %}
{% for root in page.footer.navigation.tree %}
{% block layout_footer_navigation_column %}
<div class="col-md-3 footer-column js-footer-column">
{% block layout_footer_navigation_information_headline %}
<div class="footer-column-headline footer-headline js-collapse-footer-column-trigger {{ theme_config('footerStylesFooterCenterTitleFont') }}"
data-target="#collapseFooterTitle{{ loop.index }}"
aria-expanded="false"
role="navigation"
aria-controls="collapseFooter{{ loop.index }}">
{% if root.category.type == 'folder' %}
{{ root.category.translated.name }}
{% else %}
<a href="{{ category_url(root.category) }}"
{% if category_linknewtab(root.category) %}target="_blank"{% endif %}
title="{{ root.category.translated.name }}">
{{ root.category.translated.name }}
</a>
{% endif %}
{% block layout_footer_navigation_information_icons %}
<div class="footer-column-toggle">
<span class="footer-plus-icon">
<i class="far fa-plus"></i>
</span>
<span class="footer-minus-icon">
<i class="far fa-minus"></i>
</span>
</div>
{% endblock %}
</div>
{% endblock %}
{% block layout_footer_navigation_information_content %}
<div id="collapseFooter{{ loop.index }}"
class="footer-column-content collapse js-footer-column-content"
aria-labelledby="collapseFooterTitle{{ loop.index }}">
<div class="footer-column-content-inner">
{% block layout_footer_navigation_information_links %}
<ul class="list-unstyled">
{% for treeItem in root.children %}
{% set category = treeItem.category %}
{% set name = category.translated.name %}
{# @deprecated tag:v6.5.0 - Use "category.translated.externalLink" directly or category_url function instead. #}
{% set externalLink = category.translated.externalLink %}
{% block layout_footer_navigation_information_link_item %}
<li class="footer-link-item">
{% block layout_footer_navigation_information_link %}
{% if category.type == 'folder' %}
<div>{{ name }}</div>
{% else %}
<a class="footer-link"
href="{{ category_url(category) }}"
{% if category_linknewtab(category) %}target="_blank"{% endif %}
title="{{ name }}">
{{ name }}
</a>
{% endif %}
{% endblock %}
</li>
{% endblock %}
{% endfor %}
</ul>
{% endblock %}
</div>
</div>
{% endblock %}
</div>
{% endblock %}
{% endfor %}
{% endblock %}
</div>
{# Using default block-name here for backwards-compatibility #}
{% block layout_footer_center_right %}
<div class="col-12 col-md-3">
{% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with {
footerContent: theme_config('footerStylesLayoutFooterCenterRight'),
footerImage: theme_config('footerStylesLayoutFooterCenterImage'),
footerLocation: 'center',
} %}
</div>
{% endblock %}
</div>
{% endblock %}
</div>
{% endblock %}
</div>
{% endblock %}
{% endif %}
{% if theme_config('footerSettingsLayoutDisplayFooterBottom') %}
{% block layout_footer_bottom %}
<div class="footer-bottom">
{% block layout_footer_bottom_container %}
<div class="{% if theme_config('footerStylesLayoutContainer') == 'boxed' %}container{% else %}container-fluid{% endif %}">
<div class="row d-flex justify-content-between align-content-center">
{% block layout_footer_bottom_content %}
{# Using default block-name here for backwards-compatibility #}
{% block layout_footer_service_menu %}
<div class="col-auto">
{% block layout_footer_service_menu_content %}
{% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with {
footerContent: theme_config('footerStylesLayoutFooterBottomLeft'),
footerImage: theme_config('footerStylesLayoutFooterBottomImage'),
footerLocation: 'bottom',
} %}
{% endblock %}
</div>
{% endblock %}
{# Using default block-name here for backwards-compatibility #}
{% block layout_footer_copyright %}
<div class="col-auto">
{% block layout_footer_copyright_content %}
{% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with {
footerContent: theme_config('footerStylesLayoutFooterBottomCenter'),
footerImage: theme_config('footerStylesLayoutFooterBottomImage'),
footerLocation: 'bottom',
} %}
{% endblock %}
</div>
{% endblock %}
{# Using default block-name here for backwards-compatibility #}
{% block layout_footer_payment_shipping_logos %}
<div class="col-auto">
{% block layout_footer_payment_shipping_logos_content %}
{% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with {
footerContent: theme_config('footerStylesLayoutFooterBottomRight'),
footerImage: theme_config('footerStylesLayoutFooterBottomImage'),
footerLocation: 'bottom',
} %}
{% endblock %}
</div>
{% endblock %}
{% endblock %}
</div>
</div>
{% endblock %}
</div>
{% endblock %}
{% endif %}
</div>
{% endblock %}