// Catalog.jsx — fake catalog for the demo
const CATALOG = [
  { id: "p001", name: "Audífonos Bluetooth Pro con cancelación de ruido", brand: "Sony",   cat: "electronica", price: 1249, was: 1799, discount: 30, rating: 4.7, reviews: 842,   img: "https://images.unsplash.com/photo-1583394838336-acd977736f90?w=800&q=80", imgBg: "var(--bg-branding)", shipping: "Llegada el viernes", inStock: 18 },
  { id: "p002", name: "Olla Express 6L inducción acero inoxidable",         brand: "T-fal",  cat: "hogar",       price: 879,                            rating: 4.8, reviews: 412,   img: "https://images.unsplash.com/photo-1593618998160-e34014e67546?w=800&q=80", imgBg: "var(--bg-section)", shipping: "Llegada el sábado", inStock: 7 },
  { id: "p003", name: "Crema hidratante anti-edad 50 ml",                   brand: "L'Oréal",cat: "belleza",     price: 299,  was: 375,  discount: 20, rating: 4.6, reviews: 1284,  img: "https://images.unsplash.com/photo-1556228720-195a672e8a03?w=800&q=80", imgBg: "var(--tint-pink)" },
  { id: "p004", name: "Pulsera inteligente Galaxy Fit 3",                   brand: "Samsung",cat: "electronica", price: 1499,                           rating: 4.5, reviews: 256,   img: "https://images.unsplash.com/photo-1575311373937-040b8e1fd5b6?w=800&q=80", imgBg: "var(--bg-section)" },
  { id: "p005", name: "Tenis Running UltraBoost Light",                     brand: "Adidas", cat: "deportes",    price: 1899, was: 2499, discount: 24, rating: 4.7, reviews: 967,   img: "https://images.unsplash.com/photo-1542291026-7eec264c27ff?w=800&q=80", imgBg: "var(--bg-section)" },
  { id: "p006", name: "Cafetera de filtro 12 tazas",                        brand: "Oster",  cat: "hogar",       price: 699,  was: 999,  discount: 30, rating: 4.4, reviews: 320,   img: "https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=800&q=80", imgBg: "var(--bg-search)" },
  { id: "p007", name: "Aspiradora robot Wi-Fi navegación láser",            brand: "Roborock",cat: "hogar",      price: 5499, was: 7299, discount: 25, rating: 4.9, reviews: 187,   img: "https://images.unsplash.com/photo-1518770660439-4636190af475?w=800&q=80", imgBg: "var(--bg-section)" },
  { id: "p008", name: "Bocina Bluetooth resistente al agua",                brand: "JBL",    cat: "electronica", price: 1299,                           rating: 4.6, reviews: 624,   img: "https://images.unsplash.com/photo-1608043152269-423dbba4e7e1?w=800&q=80", imgBg: "var(--bg-branding)" },
  { id: "p009", name: "Sartén antiadherente 28 cm titanio",                 brand: "Tramontina",cat: "hogar",    price: 549,                            rating: 4.5, reviews: 412,   img: "https://images.unsplash.com/photo-1593618998160-e34014e67546?w=800&q=80", imgBg: "var(--bg-section)" },
  { id: "p010", name: "Set de skincare ácido hialurónico 3 piezas",         brand: "The Ordinary",cat: "belleza",price: 459, was: 599,  discount: 23, rating: 4.8, reviews: 1840,  img: "https://images.unsplash.com/photo-1620916566398-39f1143ab7be?w=800&q=80", imgBg: "var(--tint-pink)" },
  { id: "p011", name: "Mochila urbana resistente al agua 25 L",             brand: "Herschel",cat: "moda",       price: 1399,                           rating: 4.6, reviews: 198,   img: "https://images.unsplash.com/photo-1553062407-98eeb64c6a62?w=800&q=80", imgBg: "var(--bg-section)" },
  { id: "p012", name: "Smartwatch deportivo GPS 46 mm",                     brand: "Garmin", cat: "electronica", price: 4299, was: 5199, discount: 17, rating: 4.7, reviews: 432,   img: "https://images.unsplash.com/photo-1523275335684-37898b6baf30?w=800&q=80", imgBg: "var(--bg-branding)" },
];

const CATEGORIES = [
  { id: "electronica", label: "Electrónica", icon: "devices",        bg: "var(--bg-branding)" },
  { id: "hogar",       label: "Hogar",       icon: "chair",          bg: "var(--tint-green)" },
  { id: "belleza",     label: "Belleza",     icon: "spa",            bg: "var(--tint-pink)" },
  { id: "moda",        label: "Moda",        icon: "checkroom",      bg: "var(--tint-blue)" },
  { id: "deportes",    label: "Deportes",    icon: "exercise",       bg: "var(--orange-bg)" },
  { id: "ninos",       label: "Niños",       icon: "child_care",     bg: "var(--tint-orange)" },
  { id: "herramientas",label: "Herramientas",icon: "construction",   bg: "var(--bg-section)" },
  { id: "supermercado",label: "Supermercado",icon: "shopping_basket",bg: "var(--tint-beige)" },
];

const BRANDS = [
  { id: "samsung", name: "Samsung", style: { background: "#1428a0", color: "#fff" } },
  { id: "sony",    name: "Sony",    style: { background: "#000",    color: "#fff" } },
  { id: "adidas",  name: "Adidas",  style: { background: "#000",    color: "#fff" } },
  { id: "loreal",  name: "L'Oréal", style: { background: "#fff",    color: "#000", border: "1px solid var(--border)" } },
  { id: "jbl",     name: "JBL",     style: { background: "#FF6B00", color: "#fff" } },
  { id: "tfal",    name: "T-fal",   style: { background: "#E20613", color: "#fff" } },
];

window.CATALOG = CATALOG;
window.CATEGORIES = CATEGORIES;
window.BRANDS = BRANDS;
