{% sw_extends "@Storefront/storefront/component/buy-widget/buy-widget.html.twig" %}
{% block buy_widget %}
{% if galleryBuybox %}
<div class="product-detail-buy{% if elementId %}-{{ elementId }}{% endif %} js-magnifier-zoom-image-container">
{% block buy_widget_rich_snippets %}
{{ parent() }}
{% endblock %}
{% if not feature('FEATURE_NEXT_16992') %}
{# @deprecated tag:v6.5.0 tag:)(FEATURE_NEXT_16992) - Block will be removed in v6.5.0 #}
{% block buy_widget_not_available %}
{% endblock %}
{% endif %}
{% sw_include "@Storefront/storefront/page/product-detail/cytex-detail-buy-container.html.twig" %}
{% if config('core.cart.wishlistEnabled') %}
{% block buy_widget_wishlist %}
{% sw_include '@Storefront/storefront/component/product/card/wishlist.html.twig' with {
showText: true,
size: 'md',
productId: product.id
} %}
{% endblock %}
{% endif %}
{% block buy_widget_delivery_information_container %}
{% block buy_widget_delivery_informations %}
{% set wholePhoneNumber = "cytex-theme.footer.contact.phone"|trans|raw %}
{% set phoneNumbers = wholePhoneNumber|split("",2) %}
{% set countryCode = "cytex-theme.footer.contact.phone-country-code"|trans|raw %}
<section class="product-detail-delivery-information">
{% sw_include '@Storefront/storefront/component/delivery-information.html.twig' %}
</section>
<section class="product-detail-delivery-information">
<img src="{{ asset('icon/cytex/cytex-truck.png', '@CytexTheme') }}" alt="{{ "cytex-theme.product.detail.pricing.delivery"|trans|sw_sanitize }}">
<p class="product-detail-delivery-text">{{ "cytex-theme.product.detail.pricing.delivery"|trans|sw_sanitize }}</p>
</section>
<section class="product-detail-delivery-information">
<img src="{{ asset('icon/cytex/cytex-phone.png', '@CytexTheme') }}" alt="{{ "cytex-theme.product.detail.pricing.questions"|trans|sw_sanitize }}">
<p class="product-detail-delivery-text">
{{ "cytex-theme.product.detail.pricing.questions"|trans|sw_sanitize }}
<a href="tel:{{ countryCode }}{{ wholePhoneNumber}}">
{{ "cytex-theme.footer.contact.phone-country-code"|trans|raw}}
{% for number in phoneNumbers %}
{{ number }}
{% endfor %}
</a>
</p>
</section>
{% endblock %}
{% endblock %}
</div>
<div class="tab-downloads cytex-product-detail-downloads">
{% sw_include '@WexoProductDownloads/storefront/page/product-detail/downloads.html.twig' %}
</div>
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}