{extends_parent}

{block fonts}{/block}

{block "css-entry" append}
   {encore_entry_link_tags entry='js-menu'}
{/block}

{block "js-entry" append}
   {encore_entry_script_tags entry='js-menu'}
{/block}

{block "body"}
   {block "header"}
      {include "components/header.tpl"}
   {/block}
   {block "main"}
      <main class="main container {block "main-class"}{/block}" {block "main-data-attributes"}{/block}>
         {include "components/breadcrumbs.tpl"}

         {block "content"}

         {/block}
      </main>
   {/block}
   {include "components/block.newsletter-subscribe.tpl"}
   <footer class="footer">
      <div class="container-narrow">
         <div class="logo-wrapper">
            <a href="{url s=index}" title="{$dbcfg.index_title}" class="logo">
               <img src="/templates/images/logo.svg?v1" alt="{$dbcfg.index_title}" width="217" height="61">
            </a>
            <div class="contacts">
               <a href="mailto:{$dbcfg.shop_email}" class="mail">{$dbcfg.shop_email}</a>
               <strong><a href="tel:{if !$dbcfg.shop_phone|substr:'+420'}{t}+420{/t}{/if}{$dbcfg.shop_phone|replace:' ':''}">{t}+420{/t} {$dbcfg.shop_phone}</a></strong>
               {insert_page code="opening-hours"}
            </div>
         </div>
         {insert_menu label="menu_footer" level_max=1 template="block.menu.footer.tpl"}
         <div class="btn-wrapper">
            <a href="{path('shop_seller_seller_map')}" class="btn btn-secondary">{t}Prodejní síť{/t}</a>
         </div>
      </div>
      <div class="copyright container-narrow">
         <div>
            © {$smarty.now|date_format:"%Y"} {$dbcfg.shop_firm_name}
         </div>

         {insert_menu label="menu_copyright" level_max=0 template="block.menu.copyright.tpl"}

         <div>
            Shop by&nbsp;<a href="https://www.wpj.cz">wpj.cz</a>
         </div>
      </div>
   </footer>
   <div class="overlay-blur"></div>
   {if $cfg.tpl.language_currency_switcher}
      {include "focus/focus.currency-switcher.tpl" class="currency-switcher"}
   {/if}
{/block}

{block "sections-responsive"}{/block}
