<div class="cart-drawer-wrapper"
data-controller="cart-drawer"
data-url="{{ path('shopping_cart_json') }}"
data-action="add-to-cart@window->cart-drawer#handleAddToCart"
>
<!-- Cart Drawer -->
<div id="cartDrawer" class="cart-drawer">
<div class="cart-drawer-container {% if cart.isEmpty() is same as(true)%}cart-empty{% endif %}" data-cart-drawer-target="cartContainer">
<div class="cart-header show-cart-content">
<div class="wrapper d-flex justify-content-between align-items-center">
<h2>Shopping Cart (<span class="cart-products-count" data-cart-drawer-target="productCount">0</span>)</h2>
<!-- Cart items go here -->
<a href="#" id="closeCart" data-action="click->cart-drawer#closeCart">Close [X]</a>
</div>
</div>
<div class="cart-content show-cart-content" data-cart-drawer-target="cartContent"></div>
<div class="cart-footer show-cart-content">
<div class="cart-subtotal d-flex justify-content-between">
<div class="left">
<h4>Subtotal:</h4>
<p class="cart-policy">Taxes and <a href="">Shipping</a> calculated at checkout</p>
</div>
<div class="right">
<h4 class="sub-total-amount" data-cart-drawer-target="subtotalAmount">{{ currency(0.00) }}</h4>
</div>
</div>
<div class="policy-scroll">
<div class="marquee">
<p>All charges are billed in <span>USD</span>. While the content of your cart is currently displayed in <span class="selected-currency"></span>, the checkout will use <span>USD</span> at the most current exchange rate.</p>
</div>
</div>
<div class="agree-term-conditions">
<p>
<input style="float:none; vertical-align: middle;" type="checkbox" class="agree_terms_conditions">
<label style="display:inline; float:none" for="agree">
I agree with the <a href="#">terms and conditions</a>
</label>
</p>
</div>
<div class="footer-buttons d-flex">
<a href="{{ path('shopping_checkout') }}" class="btn btn-teritary-fast btn-checkout"><span class="text">Check out</span></a>
<a href="{{ path('shopping_cart') }}" class="btn btn-teritary-fast outline btn-view-cart"><span class="text">View Cart</span></a>
</div>
</div>
<div class="cart-empty-container">
<div class="cart-header">
<div class="wrapper d-flex justify-content-between align-items-center">
<h2>Shopping Cart (<span class="cart-products-count" data-cart-drawer-target="productCount">0</span>)</h2>
<!-- Cart items go here -->
<a href="#" id="closeCart" data-action="click->cart-drawer#closeCart">Close [X]</a>
</div>
</div>
<div class="empty-cart text-center">
<h4>Cart Empty</h4>
<p class="text-center">Your shopping cart is empty</p>
<a href="{{ path('product_list') }}">Continue Shoppings</a>
</div>
</div>
</div>
<div class="spinner-wrapper" data-cart-drawer-target="spinner">
<div class="spinner"></div>
<span>Loading...</span>
</div>
</div>
<!-- Overlay Background -->
<div id="cartOverlay" class="cart-overlay" data-action="click->cart-drawer#closeCart"></div>
</div>