{% block plugins_maxia_listing_variants_configurator_expand_button %}
{% set tagName = variantsConfig.quickBuyActive ? 'div' : 'a' %}
<{{ tagName }} class="product-detail-configurator-option"
{% if not variantsConfig.quickBuyActive %}
href="{{ seoUrl('frontend.detail.page', {'productId': variant.productId}) }}"
{% endif %}
>
{% block plugins_maxia_listing_variants_configurator_expand_button_inner %}
<div class="product-detail-configurator-option-input is-combinable"></div>
<div class="{% block plugins_maxia_listing_variants_configurator_expand_button_classes %}{% apply spaceless %}
{% if displayType == 'list' %}maxia-variants-list-label{% else %}product-detail-configurator-option-label{% endif %}
{% if displayType == 'color' and baseConfig.showColorCircles %} is-circle{% endif %}
is-expand-button
is-display-{{ displayType }}
{% endapply %}{% endblock %}"
title="{{ "maxia-listing-variants.expand-button.plain-title"|trans({'%remainingEntries%': remainingEntries}) }}"
{% if variantsConfig.quickBuyActive %}
data-maxia-listing-quickbuy-button="true"
{% endif %}
>
{% block plugins_maxia_listing_variants_configurator_expand_button_text_wrapper %}
{% if displayType == 'list' %}
{% block plugins_maxia_listing_variants_configurator_expand_button_text_list %}
<div class="maxia-variants-list-text">
{{ "maxia-listing-variants.expand-button.long-title"|trans({'%remainingEntries%': remainingEntries})|raw }}
</div>
{% endblock %}
{% else %}
{% block plugins_maxia_listing_variants_configurator_expand_button_text %}
{{ "maxia-listing-variants.expand-button.title"|trans({'%remainingEntries%': remainingEntries})|raw }}
{% endblock %}
{% endif %}
{% endblock %}
</div>
{% endblock %}
</{{ tagName }}>
{% endblock %}