<footer class="bg-gradient-to-b from-gray-50 to-white border-t-2 border-blinkit-green/20 mt-auto">
    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-10">
        <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8 mb-8">
            <div>
                <div class="flex items-center gap-2 mb-4">
                    <div class="w-10 h-10 rounded-xl bg-gradient-to-br from-blinkit-yellow to-blinkit-green flex items-center justify-center shadow-md">
                        <i class="fas fa-shopping-basket text-white"></i>
                    </div>
                    <span class="text-xl font-black">
                        <span class="text-blinkit-yellow">Blink</span><span class="text-blinkit-green">it</span>
                    </span>
                </div>
                <p class="text-gray-600 text-sm leading-relaxed">Fresh groceries delivered to your door. Quality products, fast delivery, great prices.</p>
            </div>
            <div>
                <h4 class="font-bold text-gray-900 mb-4 text-lg">Quick Links</h4>
                <ul class="space-y-2.5 text-sm">
                    <li><a href="<?php echo e(route('home')); ?>" class="text-gray-600 hover:text-blinkit-green transition font-medium">Home</a></li>
                    <li><a href="<?php echo e(route('categories.index')); ?>" class="text-gray-600 hover:text-blinkit-green transition font-medium">Categories</a></li>
                    <li><a href="<?php echo e(route('products.index')); ?>" class="text-gray-600 hover:text-blinkit-green transition font-medium">All Products</a></li>
                    <li><a href="<?php echo e(route('cart.show')); ?>" class="text-gray-600 hover:text-blinkit-green transition font-medium">Cart</a></li>
                </ul>
            </div>
            <div>
                <h4 class="font-bold text-gray-900 mb-4 text-lg">Account</h4>
                <ul class="space-y-2.5 text-sm">
                    <?php if(auth()->guard('web')->check()): ?>
                        <li><a href="<?php echo e(route('profile.index')); ?>" class="text-gray-600 hover:text-blinkit-green transition font-medium">Profile</a></li>
                        <li><a href="<?php echo e(route('orders.index')); ?>" class="text-gray-600 hover:text-blinkit-green transition font-medium">Orders</a></li>
                    <?php else: ?>
                        <li><a href="<?php echo e(route('login')); ?>" class="text-gray-600 hover:text-blinkit-green transition font-medium">Login</a></li>
                        <li><a href="<?php echo e(route('register')); ?>" class="text-gray-600 hover:text-blinkit-green transition font-medium">Register</a></li>
                    <?php endif; ?>
                </ul>
            </div>
            <div>
                <h4 class="font-bold text-gray-900 mb-4 text-lg">Newsletter</h4>
                <p class="text-gray-600 text-sm mb-4">Get exclusive deals and updates.</p>
                <form action="#" method="POST" class="flex flex-col sm:flex-row gap-2">
                    <?php echo csrf_field(); ?>
                    <input type="email" name="email" placeholder="Your email" class="input py-2.5 flex-1 text-sm border-2 border-blinkit-green/30 focus:border-blinkit-green">
                    <button type="submit" class="btn-primary py-2.5 px-4 text-sm whitespace-nowrap">Subscribe</button>
                </form>
            </div>
        </div>
        <div class="border-t-2 border-gray-200 pt-6 flex flex-col sm:flex-row items-center justify-between gap-4">
            <p class="text-sm text-gray-500">&copy; <?php echo e(date('Y')); ?> <?php echo e($store_name ?? config('app.name')); ?>. All rights reserved.</p>
            <div class="flex gap-4">
                <a href="#" class="text-gray-500 hover:text-blinkit-green transition text-sm font-medium">Privacy Policy</a>
                <a href="#" class="text-gray-500 hover:text-blinkit-green transition text-sm font-medium">Terms of Service</a>
                <a href="#" class="text-gray-500 hover:text-blinkit-green transition text-sm font-medium">Contact</a>
            </div>
        </div>
    </div>
</footer>
<?php /**PATH D:\laragon\www\ReactNative\grocery-api\resources\views/store/partials/footer.blade.php ENDPATH**/ ?>