<?php if (!defined('STORE_ROOT')) { http_response_code(403); exit; } ?>
        <div class="cart-drawer" id="cart-drawer">     <div class="cart-drawer-overlay" onclick="Cart.closeDrawer()"></div>     <div class="cart-drawer-panel">         <div class="cart-drawer-header">             <h3>                 <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="vertical-align:-2px;margin-right:6px"><path d="M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4H6zM3 6h18"/><path d="M16 10a4 4 0 01-8 0"/></svg>                 <?= $L('cart_title', 'Your Order') ?>             </h3>             <button class="cart-close-btn" onclick="Cart.closeDrawer()">✕</button>         </div>         <div class="cart-drawer-body">             <div id="cart-empty" class="cart-empty-msg">                 <p><?= $L('cart_empty', 'Your cart is empty') ?></p>             </div>             <div id="cart-items"></div>         </div>         <div class="cart-drawer-footer" id="cart-footer" style="display:none">             <div class="cart-total-row">                 <span><?= $L('cart_subtotal', 'Subtotal') ?></span>                 <strong id="cart-total">$0.00</strong>             </div>             <div class="cart-shipping-hint" style="display:flex;justify-content:space-between;font-size:0.72rem;color:#aaa;margin-bottom:12px">                 <span><?= $L('cart_shipping', 'Shipping') ?></span>                 <em><?= $L('cart_shipping_note', 'Calculated at checkout') ?></em>             </div>             <button class="btn btn-primary btn-full" id="cart-checkout-btn" onclick="Cart.closeDrawer(); if(typeof Router!=='undefined') Router.navigate('checkout'); else window.location.href='#checkout';"><?= $L('cart_checkout_btn', 'Proceed to Checkout') ?></button>         </div>     </div> </div>