<div class="px-4 py-2 page-header" data-bs-theme="none">
    <div class="d-flex align-items-center">
        <button class="btn d-none d-xl-inline-flex me-3 px-0 sidebar-toggle" type="button">
            <svg class="svg-stroke" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
                <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
                <path d="M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"></path>
                <path d="M9 4v16"></path>
                <path d="M15 10l-2 2l2 2"></path>
            </svg>
        </button>
        <ol class="breadcrumb mb-0 bg-transparent d-md-flex">
            <li class="breadcrumb-item"><a href="/" title="Главная"><img src="{$theme}/svg/home.svg" alt=""></a></li>
            {$page_name}
        </ol>
    </div>
    {if $productsUsed}
        <ul class="list-unstyled action d-flex align-items-center mb-0">
            <li class="d-xxl-inline-flex">
                <a class="btn rightbar-button" type="button" href="/?cart">
                    <svg class="svg-stroke" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16">
                        <path fill="#9399a1" d="M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 13 12H4a.5.5 0 0 1-.491-.408L2.01 3.607L1.61 2H.5a.5.5 0 0 1-.5-.5M3.102 4l1.313 7h8.17l1.313-7zM5 12a2 2 0 1 0 0 4a2 2 0 0 0 0-4m7 0a2 2 0 1 0 0 4a2 2 0 0 0 0-4m-7 1a1 1 0 1 1 0 2a1 1 0 0 1 0-2m7 0a1 1 0 1 1 0 2a1 1 0 0 1 0-2"/>
                    </svg>
                    <span class="cart-badge">({$cartcount|default:0}) <i class="fa fa-arrow-right"></i></span>
                </a>
            </li>
        </ul>
    {/if}
</div>