// Product catalogue — real codes & AED prices from media/DOWNLOAD-LOG.md
// Editorial groupings; kids are KRTW####, adult SS26 designer line is SS26##
const PRODUCTS = [
  // SS26 — Adult RTW / Couture (designer line)
  { code: "SS2606", name: "Bridal-Bias Mikado Gown", line: "Bridal", price: 19100, image: "media/lookbook-03-ss2606-bridal.webp", fabric: "Hand-finished mikado and silk crepe; off-shoulder bodice with sculpted bias drape.", category: "bridal" },
  { code: "SS26011", name: "Crepe Corset Mermaid", line: "Couture SS26", price: 13900, image: "media/lookbook-01-ss26011.webp", fabric: "Boned crepe corset; raw-edge gathered ruche skirt with crinoline tail.", category: "couture" },
  { code: "SS26010", name: "Crinkle Lamé Off-Shoulder", line: "Couture SS26", price: 11900, image: "media/lookbook-02-ss26010.webp", fabric: "Pleated lamé with ivory pannier bodice; diagonal twist mermaid.", category: "couture" },
  { code: "SS2609", name: "Pleated Chiffon Corset", line: "RTW SS26", price: 8600, image: "media/lookbook-04-ss2609.webp", fabric: "Powder-blush corset; tiered hand-pleated chiffon panels.", category: "dresses" },
  { code: "SS26013", name: "Drop-Waist Crystal Shift", line: "RTW SS26", price: 11900, image: "media/product-13-ss26013.webp", fabric: "Polka brocade shift with crystal-strewn illusion yoke.", category: "dresses" },
  { code: "SS26014", name: "Iris Embroidered Tunic", line: "RTW SS26", price: 7900, image: "media/product-12-ss26014.webp", fabric: "Citrine textured tunic with twin coral embroidery hems.", category: "kaftans" },
  { code: "SS26012", name: "Bib-Front Silk Kaftan", line: "RTW SS26", price: 7000, image: "media/product-14-ss26012.webp", fabric: "Lemon silk with goldwork bib; cross-stitch geometric embroidery.", category: "kaftans" },
  { code: "RTW25L-03", name: "Metallic Fil Coupé Column", line: "Couture", price: 51300, image: "media/product-15-rtw25l-03.webp", fabric: "Hand-embroidered fil coupé column gown in oxidised silver and rose-gold leaf.", category: "couture" },
  // Kids (KRTW)
  { code: "KRTW2611", name: "Jasmine Jacquard Pleat", line: "Kids", price: 1900, image: "media/product-01-krtw2611.webp", fabric: "Embroidered floral jacquard top with sun-pleat silk skirt.", category: "kids" },
  { code: "KRTW2610", name: "Citrine Tassel Shift", line: "Kids", price: 1300, image: "media/product-02-krtw2610.webp", fabric: "Linen-blend shift with hand-embroidered tassel motifs.", category: "kids" },
  { code: "KRTW2609", name: "Mustard Brocade Kandora", line: "Kids", price: 990, image: "media/product-03-krtw2609.webp", fabric: "Silk tunic with handwoven geometric chest-piece in gold thread.", category: "kids" },
  { code: "KRTW2608", name: "Daffodil Bubble-Hem Shift", line: "Kids", price: 1400, image: "media/product-04-krtw2608.webp", fabric: "Textured cotton with extravagant chiffon bubble hem.", category: "kids" },
  { code: "KRTW2603", name: "Coral Pleated Petal", line: "Kids", price: 1400, image: "media/product-05-krtw2603.webp", fabric: "Sun-pleated coral crepe with pearl-leaf appliqué.", category: "kids" },
  { code: "KRTW2602", name: "Marigold Hibiscus Pleat", line: "Kids", price: 1600, image: "media/product-06-krtw2602.webp", fabric: "Brocade hibiscus bodice over knife-pleat skirt.", category: "kids" },
  { code: "KRTW2601", name: "Persimmon Hibiscus Pleat", line: "Kids", price: 1400, image: "media/product-07-krtw2601.webp", fabric: "Persimmon brocade bodice with knife-pleat skirt.", category: "kids" },
  { code: "KRTW2607", name: "Mist Pleated Wide-Leg Set", line: "Kids", price: 1300, image: "media/product-08-krtw2607.webp", fabric: "Two-piece set: peter-pan blouse and wide-leg pleated trouser.", category: "kids" },
  { code: "KRTW2606", name: "Rose Smocked Pleat", line: "Kids", price: 1650, image: "media/product-09-krtw2606.webp", fabric: "Hand-smocked bodice, crystal sash, sun-pleat skirt.", category: "kids" },
  { code: "KRTW2605", name: "Blush Bubble-Hem Shift", line: "Kids", price: 1300, image: "media/product-10-krtw2605.webp", fabric: "Textured peach shift with organza bubble hem.", category: "kids" },
  { code: "KRTW2604", name: "Coral Stripe Smocked", line: "Kids", price: 1600, image: "media/product-11-krtw2604.webp", fabric: "Hand-smocked bodice with candy-stripe sash and full pleat.", category: "kids" },
  { code: "K-KUWAITI", name: "Modernized Kuwaiti Kandora", line: "Kids", price: 590, image: "media/product-16-modernized-kuwaiti-kandora.webp", fabric: "Light cotton kandora with embroidered chest applique.", category: "kids" },
];

const SHOP_CATEGORIES = [
  { key: "all",     label: "All",            count: PRODUCTS.length },
  { key: "couture", label: "Couture",        count: PRODUCTS.filter(p=>p.category==="couture").length },
  { key: "dresses", label: "Dresses",        count: PRODUCTS.filter(p=>p.category==="dresses").length },
  { key: "kaftans", label: "Kaftans & Tunics", count: PRODUCTS.filter(p=>p.category==="kaftans").length },
  { key: "bridal",  label: "Bridal",         count: PRODUCTS.filter(p=>p.category==="bridal").length },
  { key: "kids",    label: "Kids",           count: PRODUCTS.filter(p=>p.category==="kids").length },
];

const NAV = [
  { key: "home",        label: "Home" },
  { key: "designer",    label: "The Designer" },
  { key: "bridal",      label: "Bridal" },
  { key: "couture",     label: "Couture" },
  { key: "shop",        label: "Shop" },
  { key: "jewellery",   label: "Jewellery" },
  { key: "appointments",label: "Appointments" },
  { key: "visit",       label: "Visit" },
  { key: "contact",     label: "Contact" },
];

const CONTACT = {
  whatsapp: "971585159636",
  whatsappPretty: "+971 58 515 9636",
  landline: "+971 4 244 3148",
  email: "info@maryamalomaira.com",
  address1: "Dubai Design District",
  address2: "Building 7, Level 3, Office 309A",
  address3: "Za'abeel, Dubai, UAE",
  hours: "Monday–Saturday  ·  09:00–18:00",
  sundayClosed: "Sunday closed",
};

const waUrl = (msg) => `https://wa.me/${CONTACT.whatsapp}?text=${encodeURIComponent(msg || "Hi Maryam Omaira, I'd like to enquire.")}`;

const aed = (n) => "AED " + new Intl.NumberFormat("en-US").format(n);

Object.assign(window, { PRODUCTS, SHOP_CATEGORIES, NAV, CONTACT, waUrl, aed });
