"use client" import { cn } from "@/lib/utils" import { Info, Tag, Check, Shield } from "lucide-react" import { useLanguage } from "@/lib/language-context" interface PricingRow { persons: string express: string private: string classic?: string } interface SpecialPackage { name: string price: string description: string } interface PricingTableProps { route: string rows: PricingRow[] specials?: SpecialPackage[] vipInfo?: string[] effectiveFrom?: string } const PricingTable = ({ route, rows, specials, vipInfo, effectiveFrom }: PricingTableProps) => { const { t } = useLanguage() return (
{/* Route Header matching FeatureSection style */}

{route.includes("BÉCS") || route.includes("VIENNA") ? "VIENNA" : "BUDAPEST"}

{route}

{rows.map((row, idx) => ( ))}
{t.pricing.table.passengers}
{t.pricing.table.classic} {t.pricing.table.classicNote}
{t.pricing.table.express}
{t.pricing.table.private}
{row.persons}
{row.express}
{row.private}
{specials && specials.length > 0 && (
{specials.map((special, idx) => (
{special.name} — {special.price}

{special.description}

))}
{(vipInfo && vipInfo.length > 0) && (

{t.pricing.table.premium}

{vipInfo.map((info, idx) => (
{info}
))}
)}
)}
{effectiveFrom && (
{effectiveFrom}
)}
) } export default PricingTable