export interface Card {
  id: string
  name: string
  orderCode: string
  price: number
  category: string
  image: string
  description?: string
  variants?: string[]
}

export const cards: Card[] = [
  // Baby Cards
  {
    id: "bby-001",
    name: "Baby Congratulations",
    orderCode: "BBY-001",
    price: 6.99,
    category: "baby",
    image: "/cards/baby/BBY-001.jpg",
  },
  {
    id: "bby-002",
    name: "New Baby Celebration",
    orderCode: "BBY-002",
    price: 6.99,
    category: "baby",
    image: "/cards/baby/BBY-002.jpg",
  },
  {
    id: "bby-003",
    name: "It's a Girl",
    orderCode: "BBY-003",
    price: 5.99,
    category: "baby",
    image: "/cards/baby/BBY-003.jpg",
    variants: ["It's a Boy - BBY-004"],
  },
  {
    id: "bby-004",
    name: "It's a Boy",
    orderCode: "BBY-004",
    price: 5.99,
    category: "baby",
    image: "/cards/baby/BBY-004.jpg",
  },
  {
    id: "bby-005",
    name: "Welcome Baby",
    orderCode: "BBY-005",
    price: 5.99,
    category: "baby",
    image: "/cards/baby/BBY-005.jpg",
  },

  // Birthday Cards
  {
    id: "bdy-001",
    name: "Cake",
    orderCode: "BDY-001",
    price: 6.99,
    category: "birthday",
    image: "/cards/birthday/BDY-001.jpg",
    description: 'Card Inscription: "Happy Birthday"',
  },
  {
    id: "bdy-002",
    name: "Piano",
    orderCode: "BDY-002",
    price: 6.99,
    category: "birthday",
    image: "/cards/birthday/BDY-002.jpg",
    description: 'Card Inscription: "Happy Birthday"',
  },
  {
    id: "bdy-003",
    name: "Birthday Star",
    orderCode: "BDY-003",
    price: 6.99,
    category: "birthday",
    image: "/cards/birthday/BDY-003.jpg",
  },
  {
    id: "bdy-004",
    name: "Train",
    orderCode: "BDY-004",
    price: 6.99,
    category: "birthday",
    image: "/cards/birthday/BDY-004.jpg",
    description: 'Card Inscription: "Happy Birthday"',
  },
  {
    id: "bdy-005",
    name: "Hummingbird",
    orderCode: "BDY-005",
    price: 6.99,
    category: "birthday",
    image: "/cards/birthday/BDY-005.jpg",
    description: 'Card Inscription: "Happy Birthday"',
  },
  {
    id: "bdy-006",
    name: "Fortress",
    orderCode: "BDY-006",
    price: 7.99,
    category: "birthday",
    image: "/cards/birthday/BDY-006.jpg",
    description: 'Card Inscription: "Happy Birthday!"',
  },
  {
    id: "bdy-007",
    name: "Ferris Wheel",
    orderCode: "BDY-007",
    price: 7.99,
    category: "birthday",
    image: "/cards/birthday/BDY-007.jpg",
  },
  {
    id: "bdy-008",
    name: "Train 1",
    orderCode: "BDY-008",
    price: 6.99,
    category: "birthday",
    image: "/cards/birthday/BDY-008.jpg",
  },
  {
    id: "bdy-009",
    name: "Sailboat",
    orderCode: "BDY-009",
    price: 6.99,
    category: "birthday",
    image: "/cards/birthday/BDY-009.jpg",
    description: 'Card Inscription: "Happy Birthday!"',
  },
  {
    id: "bdy-010",
    name: "Presents",
    orderCode: "BDY-010",
    price: 6.99,
    category: "birthday",
    image: "/cards/birthday/BDY-010.jpg",
    description: 'Card Inscription: "Happy Birthday"',
  },
  {
    id: "bdy-011",
    name: "Train 2",
    orderCode: "BDY-011",
    price: 6.99,
    category: "birthday",
    image: "/cards/birthday/BDY-011.jpg",
    description: 'Card Inscription: "Happy Birthday!"',
  },
  {
    id: "bdy-012",
    name: "Owl",
    orderCode: "BDY-012",
    price: 6.99,
    category: "birthday",
    image: "/cards/birthday/BDY-012.jpg",
    description: 'Card Inscription: "Happy Birthday"',
  },
  {
    id: "bdy-013",
    name: "Bday Bear",
    orderCode: "BDY-013",
    price: 6.99,
    category: "birthday",
    image: "/cards/birthday/BDY-013.jpg",
  },
  {
    id: "bdy-014",
    name: "Cake 2",
    orderCode: "BDY-014",
    price: 7.99,
    category: "birthday",
    image: "/cards/birthday/BDY-014.jpg",
  },
  {
    id: "bdy-015",
    name: "Cat Love",
    orderCode: "BDY-015",
    price: 6.99,
    category: "birthday",
    image: "/cards/birthday/BDY-015.jpg",
    description: 'Card Inscription: "Happy Birthday"',
  },
  {
    id: "bdy-016",
    name: "Gift Tractor",
    orderCode: "BDY-016",
    price: 6.99,
    category: "birthday",
    image: "/cards/birthday/BDY-016.jpg",
  },

  // Christmas Cards
  {
    id: "chr-001",
    name: "Christmas Greetings",
    orderCode: "CHR-001",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-001.jpg",
  },
  {
    id: "chr-002",
    name: "Holiday Wishes",
    orderCode: "CHR-002",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-002.jpg",
  },
  {
    id: "chr-003",
    name: "Merry Christmas",
    orderCode: "CHR-003",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-003.jpg",
  },
  {
    id: "chr-004",
    name: "Season's Greetings",
    orderCode: "CHR-004",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-004.jpg",
  },
  {
    id: "chr-005",
    name: "Christmas Joy",
    orderCode: "CHR-005",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-005.jpg",
  },
  {
    id: "chr-006",
    name: "Holiday Cheer",
    orderCode: "CHR-006",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-006.jpg",
  },
  {
    id: "chr-007",
    name: "Christmas Blessings",
    orderCode: "CHR-007",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-007.jpg",
  },
  {
    id: "chr-008",
    name: "Winter Wishes",
    orderCode: "CHR-008",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-008.jpg",
  },
  {
    id: "chr-009",
    name: "Christmas Magic",
    orderCode: "CHR-009",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-009.jpg",
  },
  {
    id: "chr-010",
    name: "Holiday Spirit",
    orderCode: "CHR-010",
    price: 6.99,
    category: "christmas",
    image: "/cards/christmas/CHR-010.jpg",
  },
  {
    id: "chr-011",
    name: "Christmas Wonder",
    orderCode: "CHR-011",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-011.jpg",
  },
  {
    id: "chr-012",
    name: "Festive Greetings",
    orderCode: "CHR-012",
    price: 6.99,
    category: "christmas",
    image: "/cards/christmas/CHR-012.jpg",
  },
  {
    id: "chr-013",
    name: "Christmas Peace",
    orderCode: "CHR-013",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-013.jpg",
  },
  {
    id: "chr-014",
    name: "Holiday Happiness",
    orderCode: "CHR-014",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-014.jpg",
  },
  {
    id: "chr-015",
    name: "Christmas Elegance",
    orderCode: "CHR-015",
    price: 6.99,
    category: "christmas",
    image: "/cards/christmas/CHR-015.jpg",
  },
  {
    id: "chr-016",
    name: "Winter Celebration",
    orderCode: "CHR-016",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-016.jpg",
  },
  {
    id: "chr-017",
    name: "Christmas Delight",
    orderCode: "CHR-017",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-017.jpg",
  },
  {
    id: "chr-018",
    name: "Holiday Joy",
    orderCode: "CHR-018",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-018.jpg",
  },
  {
    id: "chr-019",
    name: "Christmas Sparkle",
    orderCode: "CHR-019",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-019.jpg",
  },
  {
    id: "chr-020",
    name: "Festive Season",
    orderCode: "CHR-020",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-020.jpg",
  },
  {
    id: "chr-021",
    name: "Christmas Warmth",
    orderCode: "CHR-021",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-021.jpg",
  },
  {
    id: "chr-022",
    name: "Holiday Elegance",
    orderCode: "CHR-022",
    price: 6.99,
    category: "christmas",
    image: "/cards/christmas/CHR-022.jpg",
  },
  {
    id: "chr-023",
    name: "Christmas Charm",
    orderCode: "CHR-023",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-023.jpg",
  },
  {
    id: "chr-024",
    name: "Winter Blessings",
    orderCode: "CHR-024",
    price: 5.99,
    category: "christmas",
    image: "/cards/christmas/CHR-024.jpg",
  },

  // Monuments Cards
  {
    id: "mon-001",
    name: "Notre Dame",
    orderCode: "MON-001",
    price: 9.99,
    category: "monuments",
    image: "/cards/monuments/MON-001.jpg",
    description: 'Card Inscription: "Notre Dame"',
  },
  {
    id: "mon-002",
    name: "Petronas Towers",
    orderCode: "MON-002",
    price: 7.99,
    category: "monuments",
    image: "/cards/monuments/MON-002.jpg",
    description: 'Card Inscription: "Malaysia"',
  },
  {
    id: "mon-003",
    name: "Le Louvre",
    orderCode: "MON-003",
    price: 7.99,
    category: "monuments",
    image: "/cards/monuments/MON-003.jpg",
    description: 'Card Inscription: "Le Louvre"',
  },
  {
    id: "mon-004",
    name: "Coliseum",
    orderCode: "MON-004",
    price: 7.99,
    category: "monuments",
    image: "/cards/monuments/MON-004.jpg",
    description: "Card Inscription: none",
  },
  {
    id: "mon-005",
    name: "Eiffel Tower",
    orderCode: "MON-005",
    price: 7.99,
    category: "monuments",
    image: "/cards/monuments/MON-005.jpg",
    description: 'Card Inscription: "France"',
  },
  {
    id: "mon-006",
    name: "Sydney Opera House",
    orderCode: "MON-006",
    price: 6.99,
    category: "monuments",
    image: "/cards/monuments/MON-006.jpg",
    description: "Card Inscription: none",
  },
  {
    id: "mon-007",
    name: "Arc de Triomphe",
    orderCode: "MON-007",
    price: 6.99,
    category: "monuments",
    image: "/cards/monuments/MON-007.jpg",
    description: "Card Inscription: none",
  },
  {
    id: "mon-008",
    name: "Ancient Library",
    orderCode: "MON-008",
    price: 6.99,
    category: "monuments",
    image: "/cards/monuments/MON-008.jpg",
    description: "Card Inscription: none",
  },

  // Sentiments Cards
  {
    id: "sen-001",
    name: "Thank You",
    orderCode: "SEN-001",
    price: 5.99,
    category: "sentiments",
    image: "/cards/sentiments/SEN-001.jpg",
    description: "Available: Thank you, Get Well Soon & Happy Mother's Day",
  },
  {
    id: "sen-002",
    name: "Get Well Soon",
    orderCode: "SEN-002",
    price: 5.99,
    category: "sentiments",
    image: "/cards/sentiments/SEN-002.jpg",
    description: "Available: Thank you, Get Well Soon & Happy Mother's Day",
  },
  {
    id: "sen-003",
    name: "Happy Mother's Day",
    orderCode: "SEN-003",
    price: 5.99,
    category: "sentiments",
    image: "/cards/sentiments/SEN-003.jpg",
    description: "Available: Thank you, Get Well Soon & Happy Mother's Day",
  },
  {
    id: "sen-004",
    name: "Thank You Collection",
    orderCode: "SEN-004",
    price: 5.99,
    category: "sentiments",
    image: "/cards/sentiments/SEN-004.jpg",
    description: "Available: Thank you, Get Well Soon & Happy Mother's Day",
  },
  {
    id: "sen-005",
    name: "Get Well Collection",
    orderCode: "SEN-005",
    price: 5.99,
    category: "sentiments",
    image: "/cards/sentiments/SEN-005.jpg",
    description: "Available: Thank you, Get Well Soon & Happy Mother's Day",
  },
  {
    id: "sen-006",
    name: "Mother's Day Collection",
    orderCode: "SEN-006",
    price: 5.99,
    category: "sentiments",
    image: "/cards/sentiments/SEN-006.jpg",
    description: "Available: Thank you, Get Well Soon & Happy Mother's Day",
  },
  {
    id: "sen-007",
    name: "Heartfelt Sentiments",
    orderCode: "SEN-007",
    price: 5.99,
    category: "sentiments",
    image: "/cards/sentiments/SEN-007.jpg",
  },
  {
    id: "sen-008",
    name: "Warm Wishes",
    orderCode: "SEN-008",
    price: 5.99,
    category: "sentiments",
    image: "/cards/sentiments/SEN-008.jpg",
  },
  {
    id: "sen-009",
    name: "Special Thoughts",
    orderCode: "SEN-009",
    price: 5.99,
    category: "sentiments",
    image: "/cards/sentiments/SEN-009.jpg",
  },

  // Specialty Cards
  {
    id: "spc-002",
    name: "Special Occasion",
    orderCode: "SPC-002",
    price: 5.99,
    category: "specialty",
    image: "/cards/specialty/SPC-002.jpg",
  },
  {
    id: "spc-004",
    name: "Unique Design",
    orderCode: "SPC-004",
    price: 5.99,
    category: "specialty",
    image: "/cards/specialty/SPC-004.jpg",
  },
  {
    id: "spc-005",
    name: "Premium Specialty",
    orderCode: "SPC-005",
    price: 6.99,
    category: "specialty",
    image: "/cards/specialty/SPC-005.jpg",
  },
  {
    id: "spc-006",
    name: "Elegant Specialty",
    orderCode: "SPC-006",
    price: 6.99,
    category: "specialty",
    image: "/cards/specialty/SPC-006.jpg",
  },
  {
    id: "spc-007",
    name: "Special Moments",
    orderCode: "SPC-007",
    price: 5.99,
    category: "specialty",
    image: "/cards/specialty/SPC-007.jpg",
  },
  {
    id: "spc-008",
    name: "Distinctive Design",
    orderCode: "SPC-008",
    price: 6.99,
    category: "specialty",
    image: "/cards/specialty/SPC-008.jpg",
  },
  {
    id: "spc-009",
    name: "Specialty Collection",
    orderCode: "SPC-009",
    price: 0.99,
    category: "specialty",
    image: "/cards/specialty/SPC-009.jpg",
  },

  // Valentine's Day Cards
  {
    id: "val-001",
    name: "Valentine Love",
    orderCode: "VAL-001",
    price: 5.99,
    category: "valentines",
    image: "/cards/valentines/VAL-001.jpg",
  },
  {
    id: "val-002",
    name: "Be My Valentine",
    orderCode: "VAL-002",
    price: 5.99,
    category: "valentines",
    image: "/cards/valentines/VAL-002.jpg",
  },
  {
    id: "val-003",
    name: "Love & Romance",
    orderCode: "VAL-003",
    price: 6.99,
    category: "valentines",
    image: "/cards/valentines/VAL-003.jpg",
  },
  {
    id: "val-004",
    name: "Valentine Wishes",
    orderCode: "VAL-004",
    price: 6.99,
    category: "valentines",
    image: "/cards/valentines/VAL-004.jpg",
  },
  {
    id: "val-005",
    name: "Sweet Valentine",
    orderCode: "VAL-005",
    price: 6.99,
    category: "valentines",
    image: "/cards/valentines/VAL-005.jpg",
  },
  {
    id: "val-006",
    name: "Valentine Joy",
    orderCode: "VAL-006",
    price: 5.99,
    category: "valentines",
    image: "/cards/valentines/VAL-006.jpg",
  },
  {
    id: "val-007",
    name: "Love Always",
    orderCode: "VAL-007",
    price: 5.99,
    category: "valentines",
    image: "/cards/valentines/VAL-007.jpg",
  },
  {
    id: "val-008",
    name: "Valentine Hearts",
    orderCode: "VAL-008",
    price: 5.99,
    category: "valentines",
    image: "/cards/valentines/VAL-008.jpg",
  },
  {
    id: "val-009",
    name: "Romantic Wishes",
    orderCode: "VAL-009",
    price: 5.99,
    category: "valentines",
    image: "/cards/valentines/VAL-009.jpg",
  },
  {
    id: "val-010",
    name: "Valentine Bliss",
    orderCode: "VAL-010",
    price: 5.99,
    category: "valentines",
    image: "/cards/valentines/VAL-010.jpg",
  },
  {
    id: "val-011",
    name: "Love & Happiness",
    orderCode: "VAL-011",
    price: 5.99,
    category: "valentines",
    image: "/cards/valentines/VAL-011.jpg",
  },
  {
    id: "val-012",
    name: "Valentine Charm",
    orderCode: "VAL-012",
    price: 5.99,
    category: "valentines",
    image: "/cards/valentines/VAL-012.jpg",
  },
  {
    id: "val-013",
    name: "Sweetheart",
    orderCode: "VAL-013",
    price: 5.99,
    category: "valentines",
    image: "/cards/valentines/VAL-013.jpg",
  },
  {
    id: "val-014",
    name: "Valentine Delight",
    orderCode: "VAL-014",
    price: 5.99,
    category: "valentines",
    image: "/cards/valentines/VAL-014.jpg",
  },
  {
    id: "val-015",
    name: "Love Notes",
    orderCode: "VAL-015",
    price: 5.99,
    category: "valentines",
    image: "/cards/valentines/VAL-015.jpg",
  },
  {
    id: "val-016",
    name: "Valentine Elegance",
    orderCode: "VAL-016",
    price: 6.99,
    category: "valentines",
    image: "/cards/valentines/VAL-016.jpg",
  },
  {
    id: "val-017",
    name: "Forever Love",
    orderCode: "VAL-017",
    price: 5.99,
    category: "valentines",
    image: "/cards/valentines/VAL-017.jpg",
  },

  // Wedding Cards
  {
    id: "wed-001",
    name: "Wedding Congratulations",
    orderCode: "WED-001",
    price: 5.99,
    category: "wedding",
    image: "/cards/wedding/WED-001.jpg",
  },
  {
    id: "wed-002",
    name: "Happy Wedding Day",
    orderCode: "WED-002",
    price: 5.99,
    category: "wedding",
    image: "/cards/wedding/WED-002.jpg",
  },
  {
    id: "wed-003",
    name: "Wedding Wishes",
    orderCode: "WED-003",
    price: 5.99,
    category: "wedding",
    image: "/cards/wedding/WED-003.jpg",
  },
  {
    id: "wed-004",
    name: "Wedding Celebration",
    orderCode: "WED-004",
    price: 5.99,
    category: "wedding",
    image: "/cards/wedding/WED-004.jpg",
  },
  {
    id: "wed-005",
    name: "Custom Wedding Card",
    orderCode: "WED-005",
    price: 0,
    category: "wedding",
    image: "/cards/wedding/WED-005.jpg",
    description: "Custom messages available - Please inquire for pricing",
  },
  {
    id: "wed-006",
    name: "Wedding Bliss",
    orderCode: "WED-006",
    price: 5.99,
    category: "wedding",
    image: "/cards/wedding/WED-006.jpg",
  },
]

export const categories = [
  {
    slug: "baby",
    name: "Baby",
    description: "Celebrate new arrivals with our adorable baby cards",
  },
  {
    slug: "birthday",
    name: "Birthday",
    description: "Make their special day memorable with our birthday collection",
  },
  {
    slug: "christmas",
    name: "Christmas",
    description: "Spread holiday cheer with our festive Christmas cards",
  },
  {
    slug: "monuments",
    name: "3D Monuments",
    description: "Unique 3D cards featuring iconic landmarks",
  },
  {
    slug: "sentiments",
    name: "Sentiments",
    description: "Express your feelings with our heartfelt sentiment cards",
  },
  {
    slug: "specialty",
    name: "Specialty",
    description: "Distinctive designs for unique occasions",
  },
  {
    slug: "valentines",
    name: "Valentine's Day",
    description: "Share love and romance with our Valentine collection",
  },
  {
    slug: "wedding",
    name: "Wedding",
    description: "Congratulate the happy couple with elegant wedding cards",
  },
]

export function getCardsByCategory(category: string): Card[] {
  return cards.filter((card) => card.category === category)
}

export function getCategoryBySlug(slug: string) {
  return categories.find((cat) => cat.slug === slug)
}

export function getCardById(id: string): Card | undefined {
  return cards.find((card) => card.id === id)
}
