{% sw_extends '@zenitPlatformHorizon/storefront/layout/header/header.html.twig' %}
{% block layout_header %}
{% if theme_config('zen-main-navigation-style') is same as ('offcanvas-md') || theme_config('zen-main-navigation-style') is same as ('offcanvas-lg') %}
{% set searchClasses = searchClasses ~ ' mr-auto col-md-4' %}
{% endif %}
{% set logoClasses = logoClasses ~ ' mr-auto mr-sm-0 ml-sm-0' %}
{% set mainNavigationToggleClasses = mainNavigationToggleClasses|replace({'ml-auto ml-sm-0 d-lg-none order-3 order-md-3': 'd-lg-none'}) %}
{% set mainNavigationToggleClasses = mainNavigationToggleClasses|replace({'col-auto': 'col-2 col-sm-auto'}) %}
{% set actionClasses = actionClasses|replace({'col-auto': 'col-6 col-sm-auto'}) %}
{{ parent() }}
{% endblock %}
{% block layout_header_search_toggle %}
{% endblock %}
{% block layout_header_search %}
{% if theme_config('zen-search-style') is not same as('expandable') %}
<div class="header-search-col {{ searchClasses }}">
{% if theme_config('zen-search-style') is same as('overlay') %}
{% block zen_layout_header_search_overlay_close %}
<button class="d-none js-overlay-close"
type="button"
aria-label="Close">
{% block zen_layout_header_search_overlay_close_icon %}
{% sw_icon 'x' style { 'size': 'lg' } %}
{% endblock %}
</button>
{% endblock %}
{% endif %}
{% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
</div>
{% endif %}
{% endblock %}