// LAM Shining — products, categories, brand copy.
// Designed to be swappable for a real API later. Bilingual EN/AR throughout.

const BRAND = {
  name: "LAM Shining",
  nameAr: "لام شاينينج",
  tagline: "Quiet Luxury, Loudly Loved",
  taglineAr: "فخامة هادئة، محبوبة بشدة",
  whatsapp: "201062578541", // wa.me/<this>  — placeholder
  instapay: "lamshining@instapay",
  vodafoneCash: "01062578541",
  instagram: "lam.shining",
  tiktok: "lam.shining",
  email: "hello@lamshining.eg",
};

const CATEGORIES = [
  { id: "necklaces", name: "Necklaces", nameAr: "قلائد", count: 3, accent: "#EDE7DD" },
  { id: "rings",     name: "Rings",     nameAr: "خواتم", count: 2, accent: "#E8E2D7" },
  { id: "bracelets", name: "Bracelets", nameAr: "أساور", count: 2, accent: "#F1ECE2" },
  { id: "earrings",  name: "Earrings",  nameAr: "أقراط", count: 2, accent: "#E4DDCE" },
  { id: "bags",      name: "Bags",      nameAr: "حقائب", count: 2, accent: "#E9E3D6" },
  { id: "watches",   name: "Watches",   nameAr: "ساعات", count: 1, accent: "#DED7C8" },
];

// 12 products. Mix of Unsplash photos (jewelry close-ups) + curated placeholder tiles.
// Index "no." is a magazine-style reference number used in editorial card variant.
const PRODUCTS = [
  {
    id: "p01",
    no: "01",
    name: "Solene Pearl Drop",
    nameAr: "قلادة سولين",
    category: "necklaces",
    price: 1850, originalPrice: 2200,
    description: "A single freshwater pearl suspended on a fine 18k-plated chain. Designed to layer or wear alone — equally at home with linen or silk.",
    descriptionAr: "لؤلؤة طبيعية واحدة معلقة على سلسلة ناعمة مطلية بالذهب عيار 18.",
    badge: "Bestseller",
    palette: ["#f4ede1", "#1a1a1a"],
    image: "https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?w=900&q=80&auto=format&fit=crop",
    gallery: [
      "https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?w=900&q=80&auto=format&fit=crop",
      "https://images.unsplash.com/photo-1611591437281-460bfbe1220a?w=900&q=80&auto=format&fit=crop",
      "https://images.unsplash.com/photo-1535632066274-66b1c1e6cf85?w=900&q=80&auto=format&fit=crop",
    ],
  },
  {
    id: "p02",
    no: "02",
    name: "Maya Curb Chain",
    nameAr: "سلسلة مايا",
    category: "necklaces",
    price: 2200,
    description: "A weighted curb-link in matte gold — the kind of chain you forget you're wearing until someone asks.",
    descriptionAr: "سلسلة كيرب ذهبية مطفية بوزن مريح، تلبسينها وتنسينها.",
    palette: ["#1a1a1a", "#d8c9a8"],
    image: null,
  },
  {
    id: "p03",
    no: "03",
    name: "Amber Signet",
    nameAr: "خاتم أمبر",
    category: "rings",
    price: 1450,
    description: "A flat signet face engraved by hand. Choose your initial; we'll engrave it before shipping.",
    descriptionAr: "خاتم سيغنيت بسطح مسطح، يُحفر يدوياً بأول حرف من اسمك.",
    badge: "New",
    palette: ["#e9dec6", "#2a2218"],
    image: null,
  },
  {
    id: "p04",
    no: "04",
    name: "Nour Stacking Ring",
    nameAr: "خاتم نور",
    category: "rings",
    price: 780,
    description: "A whisper-thin band designed to stack three deep. Comfortable enough to sleep in.",
    descriptionAr: "خاتم رفيع يصلح للتكديس بثلاث طبقات، مريح حتى أثناء النوم.",
    palette: ["#f1ebdf", "#1a1a1a"],
    image: "https://images.unsplash.com/photo-1535632787350-4e68ef0ac584?w=900&q=80&auto=format&fit=crop",
  },
  {
    id: "p05",
    no: "05",
    name: "Lina Cuff",
    nameAr: "إسورة لينا",
    category: "bracelets",
    price: 1650, originalPrice: 1950,
    description: "An open cuff in brushed gold-plate. Hinged so it sits flush against the wrist.",
    descriptionAr: "إسورة مفتوحة بطلاء ذهبي مطفي، تنحني لتلتصق بالمعصم.",
    palette: ["#1a1a1a", "#d8c9a8"],
    image: null,
  },
  {
    id: "p06",
    no: "06",
    name: "Sahar Tennis Bracelet",
    nameAr: "إسورة سحر",
    category: "bracelets",
    price: 2400,
    description: "Pavé-set crystal stones across a continuous chain — the classic, refined.",
    descriptionAr: "إسورة تنس بأحجار كريستال متتالية، الكلاسيكية بلمسة معاصرة.",
    badge: "Limited",
    palette: ["#f4ede1", "#1a1a1a"],
    image: "https://images.unsplash.com/photo-1611652022419-a9419f74343d?w=900&q=80&auto=format&fit=crop",
  },
  {
    id: "p07",
    no: "07",
    name: "Yara Hoop",
    nameAr: "حلق يارا",
    category: "earrings",
    price: 950,
    description: "Mid-sized hoops — large enough to make a point, small enough for every day.",
    descriptionAr: "حلق دائري بحجم متوسط، يجمع بين الجرأة واللياقة اليومية.",
    palette: ["#ede5d4", "#1a1a1a"],
    image: null,
  },
  {
    id: "p08",
    no: "08",
    name: "Rana Drop Earring",
    nameAr: "حلق رنا",
    category: "earrings",
    price: 1280,
    description: "A drop earring with a single faceted stone. Catches light without trying.",
    descriptionAr: "حلق متدلٍ بحجر واحد متعدد الأوجه، يعكس الضوء بأناقة.",
    badge: "Bestseller",
    palette: ["#1a1a1a", "#e9dec6"],
    image: "https://images.unsplash.com/photo-1635767798638-3e25273a8236?w=900&q=80&auto=format&fit=crop",
  },
  {
    id: "p09",
    no: "09",
    name: "Mira Mini Tote",
    nameAr: "حقيبة ميرا",
    category: "bags",
    price: 3400,
    description: "A structured mini tote in saddle leather. Holds a phone, a wallet, and your composure.",
    descriptionAr: "حقيبة صغيرة بهيكل ثابت من جلد السرج، تتسع للضروريات بأناقة.",
    palette: ["#d8c9a8", "#2a2218"],
    image: null,
  },
  {
    id: "p10",
    no: "10",
    name: "Layla Crescent Bag",
    nameAr: "حقيبة ليلى",
    category: "bags",
    price: 4200, originalPrice: 4800,
    description: "A crescent-shaped shoulder bag that sits against the body. Inspired by Cairo at dusk.",
    descriptionAr: "حقيبة كتف بشكل هلال تلتصق بالجسم، مستوحاة من القاهرة عند الغروب.",
    badge: "Featured",
    palette: ["#1a1a1a", "#e9dec6"],
    image: "https://images.unsplash.com/photo-1591561954557-26941169b49e?w=900&q=80&auto=format&fit=crop",
  },
  {
    id: "p11",
    no: "11",
    name: "Hala Timepiece",
    nameAr: "ساعة هالة",
    category: "watches",
    price: 5800,
    description: "A 32mm dial in mother-of-pearl on a champagne-tone bracelet. Quartz movement.",
    descriptionAr: "ساعة بقطر 32 ملم بميناء من عرق اللؤلؤ وسوار شامبانيا، حركة كوارتز.",
    palette: ["#f1ebdf", "#1a1a1a"],
    image: "https://images.unsplash.com/photo-1524592094714-0f0654e20314?w=900&q=80&auto=format&fit=crop",
  },
  {
    id: "p12",
    no: "12",
    name: "Dalia Layered Set",
    nameAr: "طقم داليا",
    category: "necklaces",
    price: 2950, originalPrice: 3400,
    description: "Three chains, one clasp. A pre-layered set you can wear out of the box.",
    descriptionAr: "ثلاث سلاسل بقفل واحد، طقم جاهز بطبقات أنيقة.",
    badge: "New",
    palette: ["#ede5d4", "#1a1a1a"],
    image: null,
  },
];

// Curated palette presets for the Tweaks panel. Each: [bg, ink, accent, soft]
const PALETTES = {
  pure:       ["#ffffff", "#0a0a0a", "#0a0a0a", "#f4f2ed"], // pure white + black — editorial
  ivory:      ["#f7f3eb", "#1a1612", "#1a1612", "#ebe4d4"], // warm ivory
  champagne:  ["#fbf7ee", "#1a1612", "#a8854c", "#efe5cf"], // champagne accent
  onyx:       ["#0a0a0a", "#f2ede2", "#d8c298", "#1a1a1a"], // inverted, dark mode
};

Object.assign(window, { BRAND, CATEGORIES, PRODUCTS, PALETTES });
