{# Search / listing results, swapped in by htmx on each query and rendered server-side on first load. Mirrors the empty-state handling of index.html. #} {% if products | length > 0 %} {% include "shop/_product_grid.html" %} {% elif query and query != "" %}