import Link from "next/link"; import { Minus, Plus, Heart, ShoppingCart, Store } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Card } from "@/components/ui/card"; interface ProductPurchaseCardProps { price: string; oldPrice?: string; isInCart: boolean; localQuantity: number; availableStock: number; isSyncing: boolean; syncError: boolean; isFavorite: boolean; productStock: number; channelName?: string; onAddToCart: () => void; onQuantityIncrease: () => void; onQuantityDecrease: () => void; onToggleFavorite: () => void; t: (key: string) => string; } export function ProductPurchaseCard({ price, oldPrice, isInCart, localQuantity, availableStock, isSyncing, syncError, isFavorite, productStock, channelName, onAddToCart, onQuantityIncrease, onQuantityDecrease, onToggleFavorite, t, }: ProductPurchaseCardProps) { return (