<?xml version="1.0"?>
<!--
  El Ganso (Hyvä) — override del layout Magento_Customer en /checkout/*

  Why: el theme Hyvä parent (vendor/hyva-themes/magento2-default-theme/
  Magento_Customer/layout/default.xml) añade el bloque "authentication-popup"
  en el handle DEFAULT (para todas las páginas). Magento standard hace remove
  de este bloque en checkout_index_index.xml (vendor/magento/module-checkout),
  pero Hyvä lo vuelve a meter porque su default.xml se carga después del remove.

  El authentication-popup tiene x-data="initAuthentication()" — expresión EVAL
  que requiere Alpine.js NORMAL. Hyvä Checkout v1.3.x carga Alpine CSP-friendly
  build, que NO interpreta esas expresiones → todo se rompe en /checkout/*.

  Solución según docs Hyvä: hacer remove explícito en checkout_index_index del
  theme child (= aquí). El authentication-popup sigue funcionando perfectamente
  en el resto del site (login, account dashboard, header). Solo se quita en el
  handle de checkout.

  Doc ref: https://docs.hyva.io/checkout/getting-started/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="authentication-popup" remove="true"/>
    </body>
</page>
