{%- assign swatch_styles = 'h-full w-full object-contain' -%}
{% if product.siblings.size > 0 %}
{% assign limit = 4 %}
{% if product.siblings.size > 4 %}
{% assign limit = 3 %}
{% endif %}
{% for sibling in product.siblings limit:limit%}
{% endfor %}
{% if product.siblings.size > 4 %}
{% if product.available == false %}
Sold out
{% endif %}
+{{ product.siblings.size | minus: 4 }} More
{% endif %}
{% endif %}
{% for badge in productBadges | where: 'type', 'text'%}
{% if product.tags contains badge.tag %}
{{ badge.item }}
{% endif %}
{% endfor %}