{% sw_extends '@Storefront/storefront/layout/header/search.html.twig' %}
{% block layout_header_search %}
<div id="searchCollapse">
<div class="header-search w-full m-0 text-grey-200 max-w-full">
<form action="{{ path('frontend.search.page') }}"
method="get"
data-search-form="true"
data-url="{{ path('frontend.search.suggest') }}?search="
class="header-search-form relative border-0">
{% block layout_header_search_input_group %}
<div class="input-group w-full">
{% block layout_header_search_input %}
<input type="search"
name="search"
class="form-control header-search-input w-full !px-3 !pr-6 !py-2 !border !border-grey-700 !text-sm !bg-grey-600 focus:!bg-white !placeholder-gray-200 !transition !rounded-sm !duration-500 focus:!placeholder-black md:!w-[240px] !shadow-header"
autocomplete="off"
autocapitalize="off"
placeholder="{{ "header.searchPlaceholder"|trans|striptags }}"
aria-label="{{ "header.searchPlaceholder"|trans|striptags }}"
value="{{ page.searchTerm }}"
>
{% endblock %}
<button class="btn-toggle header-actions-btn p-0 shrink-0 absolute flex align-center justify-center right-4 top-2"
type="submit"
aria-label="{{ "header.searchButton"|trans|striptags }}">
{% sw_icon 'search' style{'pack': 'theme-icons'} %}
</button>
</div>
{% endblock %}
</form>
</div>
</div>
{% endblock %}