<?php
/**
 * @var bool $hide_empty
 * @var int $item_count
 * @var string $cart_url
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

?>
<div class="storeengine-mini-cart">
	<button data-storeengine-mini-cart-open-drawer type="button" class="storeengine-mini-cart-link">
		<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" width="24" height="24">
			<path stroke-linecap="round" stroke-linejoin="round" d="M15.75 10.5V6a3.75 3.75 0 1 0-7.5 0v4.5m11.356-1.993 1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 0 1-1.12-1.243l1.264-12A1.125 1.125 0 0 1 5.513 7.5h12.974c.576 0 1.059.435 1.119 1.007ZM8.625 10.5a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm7.5 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"/>
		</svg>
		<span class="storeengine-min-cart-count storeengine-cart-count"><?php echo esc_html($item_count); ?></span>
	</button>
	<div id="storeengine-mini-cart-drawer-root"></div>
</div>
