{if $showSeriesFilter}
   {$total_filters = $total_filters + 1 scope='global'}
   <div class="filter-row filter-series">
      <button type="button" class="filter-label" data-opener="[data-opener-series]">{t}Řada{/t}</button>
      <div class="opener-content" data-opener-series>
         <div class="opener-content-inner">
            <div class="filter-search-input-wrapper">
               <label for="series-search" class="fc icons_search"></label>
               <input type="text" name="series-search" class="form-control filter-search-input" data-role="series-search"
                      placeholder="{t}Vyhledejte psaním{/t}" id="series-search">
            </div>
            <p data-filter="show-all-series" style="display: none" class="filter-notfound">{t}Zobrazit všechny značky{/t}</p>

            <div class="manufacturer-box filter-scrollbar" data-role="series-list" data-tracking-click="{['target'=>'rada']|json_encode}">
               {foreach $body.dynamic_filter.series.values as $series}
                  <label class="custom-checkbox custom-control" for="filter_series_{$series.id}" title="{$series.name}" data-producer="{$series.id}">
                     <input type="checkbox" class="custom-control-input" name="dynamic_filter[series][]" value="{$series.id}"
                            data-filter-input="{t}rada{/t}" id="filter_series_{$series.id}"
                             {if $dbcfg.analytics.google_tag_manager.gtm_dl_version == '2'}
                                data-tracking-filter="{['event'=>'applyFilterParams','filtrName'=>'řada','filtrId'=>'','filtrValue'=>['name'=>$series.name,'id'=>$series.id,'value'=>'','min'=>'','max'=>'','active'=>'']]|json_encode}"
                             {/if}
                            >
                     <span class="custom-control-indicator"></span>
                     <span class="custom-control-text">
                        {$series.name}
                     <small>(<span class="filter-count" data-filter-count="{$series.id}">{$series.count}</span>)</small>
                     </span>
                  </label>
               {/foreach}
            </div>
         </div>
      </div>
   </div>
{/if}
