<div class="cartbox-focus cartbox-custom-scrollbar" data-cartbox>
   {block "cartbox-header"}
      <div class="cartbox-header">
         {block 'cartbox-title'}

            <h3 data-reload="cartbox-sidebar-pieces">{t}Košík{/t}{if $cartInfo.totalPieces}<span>({$cartInfo.totalPieces})</span>{/if}</h3>
         {/block}
         {block 'cartbox-hide'}
            <a href="#" data-cartbox-hide><u>{t}Zavřít{/t}</u><i class="fc lightbox_close"></i></a>
         {/block}
      </div>
   {/block}

   <div class="cartbox-product-list">
      <div data-reload="cartbox-products">
         {if $cartInfo.items}
            {include "components/cartbox/block.products.cart-box.tpl" items=$cartInfo.items image_size=$image_size}
         {else}
            <p class="no-items">{t}V košíku nemáte žádné zboží.{/t}</p>
         {/if}
      </div>
   </div>

   <div class="cartbox-footer">
      <div data-reload="cartbox-footer">
         {block 'price-summary'}
            <div class="price-title">{t}Mezisoučet{/t}
               <strong class="total-price h3">{$cartInfo.totalPrice}</strong>
            </div>
         {/block}

         {include "components/shipping-progress.tpl" cartPrice=$cartInfo.totalPriceWithVat_array.value_with_vat}

         {block 'cartbox-btns'}
            <a href="{url s=cart}" class="btn btn-block btn-ctr{if $cartInfo.totalPieces == 0} disabled{/if}">{t}Přejít do košíku{/t}</a>
            <a href="#" data-cartbox-hide class="btn btn-block btn-muted">{t}Zpět k nákupu{/t}</a>
         {/block}
      </div>
   </div>
</div>
<div class="cartbox-bg" data-cartbox></div>
<div class="cartbox-overlay" data-cartbox data-cartbox-hide></div>
