"use client"; import React, { useState } from 'react'; import { useCartStore } from '@/lib/cart-store'; import { formatCurrency } from '@/lib/utils'; import Link from 'next/link'; import { ShieldCheck, ArrowRight, Tag } from 'lucide-react'; export function CartSummary() { const { items, getTotal } = useCartStore(); const [promoCode, setPromoCode] = useState(''); if (items.length === 0) return null; const total = getTotal(); const subtotal = total / 1.23; const vat = total - subtotal; return (