{% macro tile(p) %}
{% if p.badge %}
{{ p.badge }}
{% else %}
{% endif %}
{{ p.title }}
{% for c in p.colors[:5] %} {{ c.name }} {% endfor %} {% if p.colors | length > 5 %}+{{ p.colors | length - 5 }}{% endif %}

{{ p.brand }}

{{ p.title }}

{% if p.colors %}

{{ p.colors | length }} color{{ '' if p.colors | length == 1 else 's' }}

{% endif %}
{{ price_label(p) }} {% if list_price_label(p) %}{{ list_price_label(p) }}{% endif %} {% if discount_label(p) %}{{ discount_label(p) }}{% endif %}
{% if p.reviews.count %}
({{ p.reviews.count }})
{% endif %}
{% endmacro %}