{% sw_extends '@Storefront/storefront/page/checkout/_page.html.twig' %}
{% set merchant = page.extensions.ottMerchantShopsData.merchant %}
{% block page_checkout_container %}
<div class="checkout-container">
{% block page_checkout_main %}
{{ parent() }}
{% endblock %}
{% block page_checkout_aside %}
{{ parent() }}
{% endblock %}
</div>
{% endblock %}
{% block base_body_inner %}
{{ parent() }}
{% sw_include '@Storefront/storefront/component/modal/ott-remove-item-modal.html.twig' %}
{% endblock %}
{% block page_checkout %}
{{ parent() }}
{% block ott_checkout_usp %}
{% if 'finishPage' !== controllerAction %}
<div class="ott-checkout-usp">
<div class="ott-checkout-usp-element">
<div class="ott-checkout-usp-icon">
{% sw_icon 'feather-phone-call' style {
'namespace': 'OttMoebelfirstTheme',
'pack': 'moebelfirst',
} %}
</div>
<div class="ott-checkout-usp-text-wrapper">
<div class="ott-checkout-usp-heading">
{{ 'ott.checkout.usp1Headline'|trans|striptags|raw }}
</div>
<div class="ott-checkout-usp-text">
{% if merchant %}
<div>
{{ 'ott.checkout.usp1TextMerchantShop'|trans|striptags|raw }}
</div>
<div>
{{ merchant.phone }}
</div>
{% else %}
{{ 'ott.checkout.usp1Text'|trans|striptags|raw }}
{% endif %}
</div>
</div>
</div>
<div class="ott-checkout-usp-element">
<div class="ott-checkout-usp-icon">
{% sw_icon 'feather-truck' style {
'namespace': 'OttMoebelfirstTheme',
'pack': 'moebelfirst',
} %}
</div>
<div class="ott-checkout-usp-text-wrapper">
<div class="ott-checkout-usp-heading">
{{ 'ott.checkout.usp2Headline'|trans|striptags|raw }}
</div>
<div class="ott-checkout-usp-text">
{{ 'ott.checkout.usp2Text'|trans|striptags|raw }}
</div>
</div>
</div>
<div class="ott-checkout-usp-element">
<div class="ott-checkout-usp-icon">
{% sw_icon 'return-down-back-outline' style {
'namespace': 'OttMoebelfirstTheme',
'pack': 'moebelfirst',
} %}
</div>
<div class="ott-checkout-usp-text-wrapper">
<div class="ott-checkout-usp-heading">
{{ 'ott.checkout.usp3Headline'|trans|striptags|raw }}
</div>
<div class="ott-checkout-usp-text">
{{ 'ott.checkout.usp3Text'|trans|striptags|raw }}
</div>
</div>
</div>
</div>
{% endif %}
{% endblock %}
{# Delivery info modal #}
<div id="ott-delivery-info-modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header only-close">
{# @deprecated tag:v6.5.0 - h5 will be changed to div because it causes incorrect semantics on all pages which include pseudo-modal.html.twig #}
{% if feature('V6_5_0_0') %}
<div class="modal-title js-pseudo-modal-template-title-element h5">
{{ 'ott.deliveryInfoModal.headline'|trans }}
</div>
{% else %}
<h5 class="modal-title js-pseudo-modal-template-title-element">
{{ 'ott.deliveryInfoModal.headline'|trans }}
</h5>
{% endif %}
<button type="button"
class="{{ modalCloseBtnClass }} close"
{{ dataBsDismissAttr }}="modal"
aria-label="Close"
>
{% block product_detail_zoom_modal_close_button_content %}
{# @deprecated tag:v6.5.0 - Bootstrap v5 creates "x" symbol automatically via SVG background #}
{% if not feature('v6.5.0.0') %}
<span aria-hidden="true">
{% sw_icon 'x' style { 'size': 'sm' } %}
</span>
{% endif %}
{% endblock %}
</button>
</div>
<div class="modal-body js-pseudo-modal-template-content-element text-center">
{{ 'ott.deliveryInfoModal.content'|trans }}
</div>
</div>
</div>
</div>
{% endblock %}