<div class="legal-guarantee-notice">
    <div class="legal-guarantee-notice__links">
        <a href="<?= $escaper->escapeUrl($block->getViewFileUrl('Autogedal_LegalGuarantee::documents/garantia-legala-ro.pdf')) ?>"
           target="_blank" rel="noopener">
            <?= $escaper->escapeHtml(__('Open the notice (PDF)')) ?>
        </a>
        <a href="https://europa.eu/youreurope/citizens/consumers/shopping/guarantees-returns/index_ro.htm"
           target="_blank" rel="noopener">
            <?= $escaper->escapeHtml(__('Your rights — Your Europe (QR code link)')) ?>
        </a>
    </div>
    <p class="legal-guarantee-notice__mobile-help">
        <?= $escaper->escapeHtml(__('Swipe horizontally to read the full notice.')) ?>
    </p>
    <div class="legal-guarantee-notice__viewport" tabindex="0" role="region"
         aria-label="<?= $escaper->escapeHtmlAttr(__(
             'Official legal guarantee notice; scroll horizontally to read'
         )) ?>">
        <img class="legal-guarantee-notice__image"
             src="<?= $escaper->escapeUrl($block->getViewFileUrl(
                 'Autogedal_LegalGuarantee::images/legal-guarantee/garantia-legala-ro.svg'
             )) ?>"
             width="595" height="842" loading="lazy"
             alt="<?= $escaper->escapeHtmlAttr(__(
                 'Official European Union legal guarantee notice: '
                 . 'at least two years of protection for goods sold in the EU. '
                 . 'For faulty goods, contact the seller with proof of purchase; '
                 . 'you are entitled to free repair or replacement and, in certain cases, '
                 . 'a price reduction or refund. For details and exceptions, '
                 . 'see the PDF or the Your Europe link above.'
             )) ?>"/>
    </div>
</div>
