{block name='boxes-box-linkgroups'}
    {et_isShopVersionAtLeast value="5.3.0-rc.3" assign='shopIsAtLeast53'}
    {et_isShopVersionAtLeast value="5.7.0-rc.3" assign='shopIsAtLeast57'}
    <div class="box box-linkgroup box-normal text-left-util" id="box{$oBox->getID()}">
        {block name='boxes-box-linkgroups-toggle-title'}
            <a
                id="crd-hdr-{$oBox->getID()}"
                href="#crd-cllps-{$oBox->getID()}"
                data-toggle="collapse"
                role="button"
                aria-expanded="false"
                aria-controls="crd-cllps-{$oBox->getID()}"
                class="box-normal-link dropdown-toggle"
            >
                <span class="text-truncate">
                    {$oBox->getTitle()}
                </span>
            </a>
        {/block}
        {block name='boxes-box-linkgroups-title'}
            <div class="productlist-filter-headline d-none d-md-flex">
                {$oBox->getTitle()}
            </div>
        {/block}
        {block name='boxes-box-linkgroups-content'}
            <div
                class="collapse d-md-block"
                id="crd-cllps-{$oBox->getID()}"
                aria-labelledby="crd-hdr-{$oBox->getID()}"
                role="region"
            >
                    <div class="nav-panel box-nav-item">
                        <ul class="nav flex-column" role="navigation">
                            {block name='boxes-box-linkgroups-include-linkgroups-recursive'}
                                {if $shopIsAtLeast53}
                                    {include file='snippets/linkgroup_recursive.tpl' linkgroupIdentifier=$oBox->getLinkGroupTemplate() dropdownSupport=true links=$oBox->getLinkGroup()->getHierarchy() tplscope='box'}
                                {else}
                                    {include file='snippets/linkgroup_recursive.tpl' linkgroupIdentifier=$oBox->getLinkGroupTemplate() dropdownSupport=true  tplscope='box'}
                                {/if}
                            {/block}
                        </ul>
                    </div>
            </div>
        {/block}
        {block name='boxes-box-linkgroups-withdrawal-link'}
            {* NOVA would hard-codedly add the withdrawal link/button here - we do not.
                {if $shopIsAtLeast57 && $oBox->getLinkGroupTemplate() === 'Fuss'}
                    {include file='snippets/withdrawal_link.tpl'}
                {/if}
            *}
        {/block}
    </div>
    {block name='boxes-box-linkgroups-hr-end'}
        <hr class="box-normal-hr">
    {/block}
{/block}
