<?php
use Livewire\Component;
use App\Services\CartManager;
?>

<button 
    wire:click="toggleCart"
    class="p-2 text-gray-400 hover:text-indigo-650 transition-colors relative flex items-center"
    title="Shopping Cart"
>
    <!-- Shopping bag icon -->
    <svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z" />
    </svg>
    
    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($itemCount > 0): ?>
        <!-- Red/Indigo Badge count -->
        <span class="absolute top-0 right-0 inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-white transform translate-x-1/2 -translate-y-1/2 bg-gradient-to-r from-indigo-600 to-violet-600 rounded-full min-w-5 h-5 shadow-sm">
            <?php echo e($itemCount); ?>

        </span>
    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
</button><?php /**PATH storage/framework/views-testing/livewire/views/e2535f19.blade.php ENDPATH**/ ?>