{% import "@CoreShopFrontend/Common/Macro/currency.html.twig" as currency %}

{% extends '@CoreShopFrontend/layout-column.html.twig' %}

{% block center %}
    <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="{{ path('coreshop_index') }}">{{ 'coreshop.ui.home'|trans }}</a></li>
            <li class="breadcrumb-item active">{{ 'coreshop.ui.search'|trans }}</li>
        </ol>
    </nav>

    <h2 class="main-heading2">
        {{ 'coreshop.ui.search_results_for'|trans }} {{ searchText }}
    </h2>

    <div class="row">
        {% for result in paginator.items %}
            {% include '@CoreShopFrontend/Category/_list.html.twig' with {
                product: result,
            } only %}
        {% endfor %}
    </div>

    {% include '@CoreShopFrontend/Common/paginator.html.twig' with {
        paginator: paginator
    } only %}
{% endblock %}
