/* ---------- Glam Abaya catalogue + store data ---------- */

const COLLECTIONS = [
  { id: "everyday", name: "Everyday Abayas", count: 48, tone: "slate", label: "everyday / drape", img: "img/col_everyday" },
  { id: "occasion", name: "Occasion & Embellished", count: 32, tone: "copper", label: "occasion / hand-work", img: "img/col_occasion" },
  { id: "open", name: "Open & Kimono", count: 26, tone: "sand", label: "open front / layering", img: "img/col_open" },
  { id: "hijab", name: "Hijabs & Accessories", count: 40, tone: "ink", label: "hijab / accessory", img: "img/col_hijab" },
];

const PRODUCTS = [
  { id: "noor", name: "Noor Open Abaya", price: 3490, cat: "Open & Kimono", tag: "New",
    colors: ["#232935", "#6f4636", "#b9a895"], tone: "slate", alt: "copper", label: "noor / 01",
    img: "img/prod_noor", imgAlt: "img/prod_yasmin" },
  { id: "layla", name: "Layla Butterfly Abaya", price: 4250, cat: "Everyday",
    colors: ["#1e2530", "#3c2e28", "#8d7e6c"], tone: "ink", alt: "slate", label: "layla / 02",
    img: "img/prod_layla", imgAlt: "img/prod_sabaa" },
  { id: "maha", name: "Maha Embellished Abaya", price: 6900, cat: "Occasion", tag: "Bestseller",
    colors: ["#2a2230", "#5a3b2e", "#c79a64"], tone: "copper", alt: "ink", label: "maha / 03",
    img: "img/prod_maha", imgAlt: "img/prod_rania" },
  { id: "dana", name: "Dana Belted Abaya", price: 3990, cat: "Everyday",
    colors: ["#222a2f", "#4a3a31", "#a99a86"], tone: "sand", alt: "slate", label: "dana / 04",
    img: "img/prod_dana", imgAlt: "img/prod_huda" },
  { id: "sabaa", name: "Sabaa Linen Abaya", price: 3690, cat: "Everyday", tag: "New",
    colors: ["#2b3038", "#7c6a55", "#cdbfa9"], tone: "slate", alt: "sand", label: "sabaa / 05",
    img: "img/prod_sabaa", imgAlt: "img/prod_layla" },
  { id: "yasmin", name: "Yasmin Kimono Abaya", price: 4490, cat: "Open & Kimono",
    colors: ["#1c222c", "#5b4030", "#9c8c79"], tone: "ink", alt: "copper", label: "yasmin / 06",
    img: "img/prod_yasmin", imgAlt: "img/prod_noor" },
  { id: "rania", name: "Rania Pleated Abaya", price: 5250, cat: "Occasion", tag: "Bestseller",
    colors: ["#272030", "#6c4636", "#c7a07a"], tone: "copper", alt: "slate", label: "rania / 07",
    img: "img/prod_rania", imgAlt: "img/prod_maha" },
  { id: "huda", name: "Huda Satin Abaya", price: 4790, cat: "Occasion",
    colors: ["#202833", "#473733", "#b6a48f"], tone: "sand", alt: "ink", label: "huda / 08",
    img: "img/prod_huda", imgAlt: "img/prod_dana" },
];

const STORES = [
  { id: "calicut", name: "Aiqah · Calicut", handle: "@aiqah.calicut",
    address: "Vellayil, Cherooty Road, Kozhikode — 673032", phone: "80897 57896",
    tel: "+918089757896", ig: "https://www.instagram.com/aiqah.calicut/", flag: "Flagship store" },
  { id: "kochi", name: "Aiqah · Kochi", handle: "@aiqah_thestore",
    address: "Kochi, Kerala — Brand headquarters", phone: "81370 69830",
    tel: "+918137069830", ig: "https://www.instagram.com/aiqah_thestore/", flag: "Brand HQ" },
  { id: "mangalore", name: "Aiqah · Mangalore", handle: "@aiqah.mangalore",
    address: "Mangalore, Karnataka", phone: null,
    tel: null, ig: "https://www.instagram.com/aiqah.mangalore/", flag: "Stockist" },
  { id: "aroshi", name: "Aroshi Galleria", handle: "@aroshigalleria",
    address: "By appointment", phone: null,
    tel: null, ig: "https://www.instagram.com/aroshigalleria/", flag: "Stockist" },
];

/* 6 Instagram tiles — only ig_drape was generated, so we reuse story + collection
   imagery to fill the remaining 5 slots so the grid still feels editorial. */
const INSTAGRAM = [
  { label: "ig / drape", tone: "slate", img: "img/ig_drape" },
  { label: "ig / detail", tone: "copper", img: "img/story_fabric" },
  { label: "ig / studio", tone: "sand", img: "img/story_atelier" },
  { label: "ig / street", tone: "ink", img: "img/col_hijab" },
  { label: "ig / fabric", tone: "slate", img: "img/col_everyday" },
  { label: "ig / mirror", tone: "copper", img: "img/col_occasion" },
];

const inr = (n) => "₹" + n.toLocaleString("en-IN");

Object.assign(window, { COLLECTIONS, PRODUCTS, STORES, INSTAGRAM, inr });
