import { Card } from "@/components/ui/card"; import { Separator } from "@/components/ui/separator"; import { Star, Package, Tag, Palette } from "lucide-react"; interface ProductProperty { name: string; value: string; } interface ProductInfoCardProps { name: string; brandName?: string; stock?: number; barcode?: string; colour?: string; properties?: ProductProperty[]; description?: string; averageRating: number; reviewsCount: number; t: (key: string, params?: any) => string; } export function ProductInfoCard({ name, brandName, stock, barcode, colour, properties, description, averageRating, reviewsCount, t, }: ProductInfoCardProps) { return (