<?xml version="1.0"?>
<!--
/**
 * Hyvä Themes - https://hyva.io
 * Copyright © Hyvä Themes 2022-present. All rights reserved.
 * This product is licensed per Magento install
 * See https://hyva.io/license
 */
-->
<!--
    Applied to whichever step ends the checkout, resolved per request against the steps a customer is
    actually shown.

    @see \Hyva\Checkout\Model\Checkout::refreshStepPositionUpdates()
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
    <body>
        <!--
            Component: Place Order reCAPTCHA. Into the main column, last before the navigation.

            "before" rather than "after='-'" because the navigation is a child of the main column in the
            two column layout, where appending would land under the place order button. Where it is not
            a sibling this appends, which is the same position relative to the button.
        -->
        <move element="checkout.place-order-recaptcha.section"
              destination="column.main"
              before="hyva.checkout.navigation"
        />
    </body>
</page>
