<?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
 */
-->
<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd"
>
    <group id="guest_details"
           translate="label"
           showInDefault="1"
           showInWebsite="1"
           showInStore="1"
    >
        <label>Guest Details</label>

        <field id="email_address_tooltip"
               translate="label comment"
               type="text"
               sortOrder="10"
               showInDefault="1"
               showInWebsite="1"
               showInStore="1"
        >
            <label>Email Address Tooltip</label>
            <comment>Leave empty to disable the tooltip.</comment>
            <depends>
                <field id="hyva_themes_checkout/component/guest_details/use_luma_checkout_email_tooltip">0</field>
            </depends>
        </field>

        <field id="enable_login"
               translate="label comment"
               type="select"
               sortOrder="20"
               showInDefault="1"
               showInWebsite="1"
               showInStore="1"
        >
            <label>Enable Login</label>
            <comment>Activating this feature grants permission for unauthenticated users to inquire about the existence of an email address within our customer accounts. While this can streamline the checkout process for guests who may be unaware of their existing accounts, it does introduce a trade-off by potentially revealing information to users who haven't authenticated their access.</comment>
            <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
        </field>
    </group>
</include>
