{% sw_extends '@Storefront/storefront/layout/header/header.html.twig' %}
{% set config = config('WexoRelewiseSearch').config %}
{% set fullPageConstant = constant('Wexo\\RelewiseSearch\\Service\\ConfigService::SEARCH_FULL_PAGE_ENABLED') %}
{% block layout_header_search %}
{% if config[fullPageConstant] %}
<div class="col-12 order-2 col-sm order-sm-1 header-search-col">
<div class="row">
<div class="col-sm-auto d-none d-sm-block d-lg-none">
{{ block('layout_header_navigation_toggle_tablet') }}
</div>
<div class="header-search-container">
{% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
</div>
</div>
</div>
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}