<div class="et-menu-item et-menu-sitemap col-12{if $et_BaseWidget.cssClass !== ''} {$et_BaseWidget.cssClass}{/if}" id="et-menu-mobile-item-{$et_BaseWidget.id}" tabindex="0" role="button">
    {block name='et-menu-sitemap-mobile-link'}
        <a class="et-menu-item-link no-style"{if !empty($et_MenuSitemap.image.src)} style="background-image: url('{if !empty($et_MenuSitemap.image.srcWebP)}{$et_MenuSitemap.image.srcWebP}{else}{$et_MenuSitemap.image.src}{/if}');"{/if}>
            <div class="et-menu-item-title">
                {if empty($et_MenuSitemap.label.value)}
                    {if !empty($et_MenuSitemap.icon)}<i class="{$et_MenuSitemap.icon}"></i>{/if}<span>{lang key="sitemap" section="global"}</span>
                {else}
                    {if !empty($et_MenuSitemap.icon)}<i class="{$et_MenuSitemap.icon}"></i>{/if}{include file="widgets/base/textfield.tpl" value=$et_MenuSitemap.label type="span"}
                {/if}
            </div>
        </a>
    {/block}
    {if $et_MenuSitemap.loadAsync && !$et_MenuSitemap.isAjax}
        {block name='et-menu-sitemap-mobile-content-loader'}
            <div class="et-menu-item-content et-menu-sitemap-mobile-content d-none" data-et-menu-async-load="{$et_BaseWidget.id}">
                <div class="et-menu-async-loader"><i class="et-icon-spin {et_getIcon key="loading"}"></i></div>
            </div>
        {/block}
    {else}
        {block name='et-menu-sitemap-mobile-content'}
            <div class="et-menu-item-content et-menu-sitemap-mobile-content d-none">
                {et_isShopVersionAtLeast value="5.2.0-beta" assign='shopIsAtLeast52'}
                <div class="row">
                    <div class="col-12">
                        {* Link Groups *}
                        <div class="et-menu-sitemap-link-groups">
                            <div class="h4">{lang key='sitemapSites'}</div>
                            <div class="row">
                                {foreach $linkgroups as $linkGroup}
                                    {if !empty($linkGroup) && !empty($linkGroup->getName()) && !in_array($linkGroup->getName(), ['hidden', 'megamenu', 'staticroutes', 'specialpages', 'unassigned']) && !empty($linkGroup->getLinks()) && !$linkGroup->getLinks()->isEmpty()}
                                        <div class="col-12 col-sm-6">
                                            <div class="et-menu-sitemap-link-group">
                                                <div class="et-menu-sitemap-link-group-name">{$linkGroup->getName()}</div>
                                                <div class="et-menu-sitemap-link-group-links">
                                                    {foreach $linkGroup->getLinks() as $link}
                                                        <div class="et-menu-sitemap-link-group-link">
                                                            <a class="link-discreet" href="{$link->getURL()}" rel="{if $link->getNoFollow()}nofollow{/if}" title="{$link->getName()|strip_tags|escape:'html'}">{$link->getName()}</a>
                                                        </div>
                                                    {/foreach}
                                                </div>
                                            </div>
                                        </div>
                                    {/if}
                                {/foreach}
                            </div>
                        </div>
                        {* Manufacturers *}
                        {if count($et_MenuSitemap.manufacturers) > 0}
                            <div class="et-menu-sitemap-manufacturers">
                                <div class="h4">{lang key='sitemapNanufacturer'}</div>
                                <div class="row">
                                    {foreach $et_MenuSitemap.manufacturers as $manufacturer}
                                        <div class="col col-12 col-sm-6">
                                            {if $shopIsAtLeast52}
                                                <a href="{$manufacturer->getURL()}" class="link-discreet" title="{$manufacturer->getName()|strip_tags|escape:'html'}">{$manufacturer->getName()}</a>
                                            {else}
                                                <a href="{$manufacturer->cURL}" class="link-discreet" title="{$manufacturer->cName|strip_tags|escape:'html'}">{$manufacturer->cName}</a>
                                            {/if}
                                        </div>
                                    {/foreach}
                                </div>
                            </div>
                        {/if}
                    </div>
                </div>
            </div>
        {/block}
    {/if}
</div>