{% sw_extends '@Storefront/storefront/block/cms-block-gallery-buybox.html.twig' %}
{% block block_gallery_buybox %}
<div class="lg:theme-grid lg:boxed-layout">
{% block block_gallery_buybox_column_left %}
{% set element = block.slots.getSlot('left') %}
{% set config = element.fieldConfig.elements %}
<div class="product-detail-media lg:col-span-5" data-cms-element-id="{{ element.id }}">
{% block block_gallery_buybox_column_left_inner %}
{% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing
with {
'isProduct': config.sliderItems.value == 'product.media' and config.sliderItems.source == 'mapped',
'startIndexThumbnails': 1,
'startIndexSlider': 1
} %}
{% endblock %}
</div>
{% endblock %}
{% block block_gallery_buybox_column_right %}
{% set element = block.slots.getSlot('right') %}
<div class="product-detail-buy lg:col-span-6" data-cms-element-id="{{ element.id }}">
{% block block_gallery_buybox_column_right_inner %}
{% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
{% endblock %}
</div>
{% endblock %}
</div>
{% endblock %}