// productdetails/components/types.ts
export interface Product {
  id: string;
  name: string;
  slug: string;
  sku: string;
  price: number;
  originalPrice?: number;
  category: string;
  subcategory: string;
  description: string;
  shortDescription: string;
  images: string[];
  colors: Color[];
  sizes: Size[];
  rating?: number;
  reviewCount?: number;
}

export interface Color {
  id: string;
  name: string;
  code: string;
}

export interface Size {
  id: string;
  name: string;
  available: boolean;
}

export interface Review {
  id: string;
  userName: string;
  userImage: string;
  rating: number;
  comment: string;
  date: string;
}