{% if selectedOffer.text is defined and selectedOffer.text is not empty %}
    <div class="box_highlight_footer relative my-6 ml-4 overflow-visible border border-slate-200 bg-white px-9 py-4 text-base leading-6 text-slate-700 shadow-[5px_5px_0_rgba(0,0,0,0.08)]">
        {{ selectedOffer.text|raw }}
        <small class="blz_bottom_auto_link_disclaimer">Acquisti da <a href="https://www.hdnetwork.it/codice-etico" target="_blank">link affiliati</a> generano commissioni per HDB. I prezzi possono variare post pubblicazione.</small>
    </div>

    <style>
        .box_highlight_footer a {
            color: #ffa940 !important;
        }

        .box_highlight_footer a:hover {
            text-decoration: underline;
        }

        .box_highlight_footer:after {
            content: '';
            display: block;
            width: 36px;
            height: 39px;
            position: absolute;
            top: 16px;
            left: -17px;
            z-index: 1;
            background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAnCAMAAABQShoEAAAAb1BMVEUAAABXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1eEcGwZAAAAJHRSTlMAuSPJ4sEqDDP7sALNEz7alk7RoEY4B+qphnJUHWAXgXtoi/dpkVgGAAABfElEQVQ4y4XTWY6DMBAE0Da2MWbf1wAhqfufcUgyo2DHZOqDD/RUarXc9EpS3xjnbEwjOovaOF7R4Zm5VEBX9sNQxXecmCUEwkI9K+uTJlUB607aJIn2rxvNGleiZJNChMXJ3AlHqMiXeCZPnKhGV9AiEY9Bkwv0iwsNiCMawT3aUwhUri6JilSsZ6IvimOlS6c9eiv1H6JJIP9QEjkprjf6plbIx+Cl/1Z35O3HCgJKGORbzQJDay8zJ/K5oWCrWd8nosBQ266iI2orZLWtRuBqqKR3Km2qJUSW7ioG84wu82m61BV6JKurdKnN7ioboqY8qtVWHkMc7OrYFQ3Qs9n1q8qjuuE+fXT5TxVeDipLbcV9q6vtwZRLpRny978MNRnxJaS3q/4wbo4bWSrblXmhBTi5lYFKshMIsIWsJqe60HGmgT7TGF2eQEqOpB3CvwNVvWaKXKk7sCB6LNzvH2fiTppB9NM0VQKioLP4IV5hDZ2nTVcZ81v9mucHI54j964WFtwAAAAASUVORK5CYII=);
            background-repeat: no-repeat;
            background-size: contain;
        }
    </style>
{% endif %}
