<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
?>

<?php if ($block->canDisplayGiftMessage()) : ?>
    <div class="no-display">
        <div id="gift-message-form-data-<?= (int) $block->getItem()->getId() ?>">
            <?= $block->getFormHtml() ?>
        </div>

        <?php if ($block->getMessageText()) : ?>
        <div class="gift-options-tooltip-content">
            <div><strong><?= $block->escapeHtml(__('Gift Message')) ?></strong>:</div>
            <div><?= /* @noEscape */ $block->getMessageText() ?></div>
        </div>
        <?php endif; ?>
    </div>
<?php endif; ?>
