{% sw_extends '@Storefront/storefront/layout/footer/footer.html.twig' %}

{% block layout_footer_inner_container %}
  <div class="inside">
    <div class="container">
        {% block layout_footer_navigation %}
            <div id="footerColumns"
                 class="row footer-columns"
                 data-collapse-footer="true">
                {% block layout_footer_navigation_hotline %}
                    <div class="col-md-3 footer-column js-footer-column">
                        {% block layout_footer_navigation_hotline_headline %}
                            <div class="footer-column-headline footer-headline js-footer-column-headline js-collapse-footer-column-trigger"
                                 id="collapseFooterHotlineTitle"
                                 data-bs-target="#collapseFooterHotline"
                                 aria-expanded="true"
                                 aria-controls="collapseFooterHotline">
                                {{ 'footer.serviceHotlineHeadline'|trans|sw_sanitize }}
                                {{ block('layout_footer_navigation_hotline_icons') }}
                            </div>
                        {% endblock %}
                        {{ block('layout_footer_navigation_hotline_content') }}
                    </div>
                {% endblock %}
                {% block layout_footer_navigation_logo %}
                    <div class="col-md-6 footer-column js-footer-column footer-column-logo">
                        <div class="footer-column-logo-content">
                            <img src="{{ asset('bundles/wgsh/logo_wgs.png', 'asset') }}" alt="WG Schriesheim Logo">
                        </div>
                    </div>
                {% endblock %}
                {{ block('layout_footer_navigation_columns') }}
            </div>
        {% endblock %}
    </div>
  </div>
    {% block layout_footer_bottom %}
        <div class="footer-bottom">
            {% block layout_footer_payment_shipping_logos %}
                <div class="footer-payment-label"><span>{{ 'footer.weAcceptPaymentMethods'|trans|sw_sanitize }}</span></div>
                {{ parent() }}
            {% endblock %}

            {{ block('layout_footer_service_menu') }}
            {{ block('layout_footer_vat') }}
        </div>
    {% endblock %}
{% endblock %}


{% 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">
                {% if root.category.type == 'folder' %}
                    {{ root.category.translated.name }}
                {% else %}
                    <a href="{{ root.category.seoUrl }}"
                       {% if root.category.shouldOpenInNewTab %}target="_blank"{% endif %}
                       title="{{ root.category.translated.name }}">
                        {{ root.category.translated.name }}
                    </a>
                {% endif %}
            </div>
        {% endblock %}
        {% block layout_footer_navigation_information_content %}
            <div id="collapseFooter{{ loop.index }}"
                 class="footer-column-content">
                <div class="footer-column-content-inner">
                    {{ block('layout_footer_navigation_information_links') }}
                </div>
            </div>
        {% endblock %}
    </div>
{% endblock %}
