<div class="col flex-grow-0 header-top__block header-top__block--favorite js-favorite-top-content">
    <a
        class="header-top__link"
        rel="nofollow"
        href="{$favoritePageUrl}"
    >
        <div class="header-top__icon-container">
            {capture name="svg_output"}{svg_icon file='heart.svg'}{/capture}
            {if $smarty.capture.svg_output}
                {$smarty.capture.svg_output nofilter}
            {else}
                <span class="header-top__icon material-icons">favorite</span>
            {/if}
            <span class="header-top__badge">
                {$favoriteProductsCount}
            </span>
        </div>
    </a>
</div>
