<?php
/**
 * Header cart template
 *
 * @package wpstream-theme
 */

?>
<!-- offcanvas cart -->
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvas-cart">
	<div class="offcanvas-header">
		<span class="h5 offcanvas-title"><?php esc_html_e( 'Cart', 'hello-wpstream' ); ?></span>
		<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close">
			<?php echo wpstream_theme_get_svg_icon( 'close.svg' ) ;?>
		</button>
	</div>
	<div class="offcanvas-body p-0">
		<div class="cart-list">
			<div class="widget_shopping_cart_content">
				<?php
				if ( function_exists( 'woocommerce_mini_cart' ) ) {
					woocommerce_mini_cart();
				}
				?>
			</div>
		</div>
	</div>
</div>
