// Burger House — product data
// Calories per ingredient are illustrative.

const PRODUCTS = [
  {
    id: 'house-classic',
    name: 'House Classic',
    tagline: 'The one we built the place around.',
    price: 8.50,
    category: 'Burgers',
    illo: 'burger',
    calories: 612,
    badges: ['Signature'],
    ingredients: [
      { name: 'Brioche bun (top)',       cal: 95,  color: '#d49a52', notes: 'Stone-milled, lightly toasted' },
      { name: 'Aged cheddar',            cal: 110, color: '#e8b842', notes: '12-month, west country' },
      { name: 'Beef patty, 5oz',         cal: 280, color: '#5a3a22', notes: '28-day grass-fed chuck' },
      { name: 'Pickles',                 cal: 5,   color: '#6b9b3f', notes: 'House-fermented' },
      { name: 'Iceberg lettuce',         cal: 4,   color: '#8aa84a', notes: '' },
      { name: 'Tomato, 2 slices',        cal: 8,   color: '#c1410f', notes: '' },
      { name: 'House sauce',             cal: 70,  color: '#e89a52', notes: 'Smoked aioli, mustard, dill' },
      { name: 'Brioche bun (bottom)',    cal: 80,  color: '#c98a44', notes: '' },
    ],
    nutrition: {
      energyKcal: 612, energyKj: 2562,
      fat: 32, satFat: 13,
      carbs: 42, sugars: 8,
      fibre: 3,
      protein: 34,
      salt: 2.1,
    },
    allergens: ['Gluten (wheat)', 'Milk', 'Egg', 'Mustard', 'Sesame'],
    mayContain: ['Soya', 'Sulphites'],
    weightG: 248,
  },
  {
    id: 'double-stack',
    name: 'Double Stack',
    tagline: 'Two patties, one decision.',
    price: 11.00,
    category: 'Burgers',
    illo: 'burger',
    calories: 884,
    badges: ['Bestseller'],
    ingredients: [
      { name: 'Brioche bun (top)',       cal: 95,  color: '#d49a52', notes: '' },
      { name: 'Aged cheddar ×2',         cal: 220, color: '#e8b842', notes: '' },
      { name: 'Beef patty ×2, 5oz',      cal: 460, color: '#5a3a22', notes: '' },
      { name: 'Caramelised onion',       cal: 35,  color: '#a86a2f', notes: 'Slow-cooked 2 hrs' },
      { name: 'House sauce',             cal: 70,  color: '#e89a52', notes: '' },
      { name: 'Brioche bun (bottom)',    cal: 80,  color: '#c98a44', notes: '' },
    ],
    nutrition: { energyKcal: 884, energyKj: 3702, fat: 51, satFat: 22, carbs: 44, sugars: 11, fibre: 3, protein: 58, salt: 3.0 },
    allergens: ['Gluten (wheat)', 'Milk', 'Egg', 'Mustard', 'Sesame'],
    mayContain: ['Soya'],
    weightG: 312,
  },
  {
    id: 'garden',
    name: 'Garden Burger',
    tagline: 'Plant-built, fire-finished.',
    price: 9.00,
    category: 'Burgers',
    illo: 'burger',
    calories: 528,
    badges: ['Vegan'],
    ingredients: [
      { name: 'Sourdough bun (top)',     cal: 100, color: '#d49a52', notes: '' },
      { name: 'Black bean & beet patty', cal: 220, color: '#7a3a2a', notes: 'House-made daily' },
      { name: 'Smoked tomato relish',    cal: 30,  color: '#c1410f', notes: '' },
      { name: 'Avocado, ½',              cal: 80,  color: '#6b9b3f', notes: '' },
      { name: 'Rocket',                  cal: 6,   color: '#4a7a2a', notes: '' },
      { name: 'Vegan aioli',             cal: 72,  color: '#e8d8a2', notes: '' },
      { name: 'Sourdough bun (bottom)',  cal: 90,  color: '#c98a44', notes: '' },
    ],
    nutrition: { energyKcal: 528, energyKj: 2210, fat: 24, satFat: 4, carbs: 56, sugars: 9, fibre: 11, protein: 18, salt: 1.8 },
    allergens: ['Gluten (wheat)', 'Soya'],
    mayContain: ['Sesame', 'Mustard'],
    weightG: 268,
  },
  {
    id: 'smoke-blue',
    name: 'Smoke & Blue',
    tagline: 'Blue cheese, bacon, brave.',
    price: 11.50,
    category: 'Burgers',
    illo: 'burger',
    calories: 798,
    ingredients: [
      { name: 'Brioche bun (top)',       cal: 95,  color: '#d49a52', notes: '' },
      { name: 'Stilton',                 cal: 130, color: '#d8d4b8', notes: 'Cropwell Bishop' },
      { name: 'Smoked bacon, 2 rashers', cal: 160, color: '#a8350a', notes: 'Dry-cured' },
      { name: 'Beef patty, 5oz',         cal: 280, color: '#5a3a22', notes: '' },
      { name: 'Caramelised onion',       cal: 35,  color: '#a86a2f', notes: '' },
      { name: 'BBQ glaze',               cal: 55,  color: '#7a2a0a', notes: '' },
      { name: 'Rocket',                  cal: 6,   color: '#4a7a2a', notes: '' },
      { name: 'Brioche bun (bottom)',    cal: 80,  color: '#c98a44', notes: '' },
    ],
    nutrition: { energyKcal: 798, energyKj: 3342, fat: 48, satFat: 21, carbs: 41, sugars: 14, fibre: 2, protein: 46, salt: 3.4 },
    allergens: ['Gluten (wheat)', 'Milk', 'Egg', 'Sesame'],
    mayContain: ['Soya', 'Mustard'],
    weightG: 295,
  },
  {
    id: 'hot-honey-chicken',
    name: 'Hot Honey Chicken',
    tagline: 'Buttermilk-fried, honey-hot.',
    price: 9.50,
    category: 'Burgers',
    illo: 'chicken',
    calories: 720,
    badges: ['Spicy'],
    ingredients: [
      { name: 'Potato bun (top)',        cal: 105, color: '#d49a52', notes: '' },
      { name: 'Buttermilk chicken thigh',cal: 380, color: '#e6b878', notes: '24-hr brined' },
      { name: 'Hot honey glaze',         cal: 80,  color: '#f4a932', notes: '' },
      { name: 'Slaw',                    cal: 60,  color: '#8aa84a', notes: 'Apple, cabbage, dill' },
      { name: 'Pickles',                 cal: 5,   color: '#6b9b3f', notes: '' },
      { name: 'Potato bun (bottom)',     cal: 90,  color: '#c98a44', notes: '' },
    ],
    nutrition: { energyKcal: 720, energyKj: 3014, fat: 38, satFat: 9, carbs: 58, sugars: 16, fibre: 3, protein: 36, salt: 2.4 },
    allergens: ['Gluten (wheat)', 'Milk', 'Egg', 'Mustard'],
    mayContain: ['Soya', 'Sesame'],
    weightG: 280,
  },
  {
    id: 'crinkle-fries',
    name: 'Crinkle Fries',
    tagline: 'Beef-dripping cooked. Twice.',
    price: 4.00,
    category: 'Sides',
    illo: 'fries',
    calories: 386,
  },
];

const CATEGORIES = [
  { id: 'burgers',    name: 'Burgers',           illo: 'burger',    count: 9 },
  { id: 'chicken',    name: 'Chicken',           illo: 'chicken',   count: 6 },
  { id: 'sides',      name: 'Sides & Fries',     illo: 'fries',     count: 7 },
  { id: 'salads',     name: 'Salads',            illo: 'salad',     count: 4 },
  { id: 'breakfast',  name: 'Breakfast',         illo: 'breakfast', count: 8 },
  { id: 'desserts',   name: 'Desserts',          illo: 'dessert',   count: 5 },
  { id: 'drinks',     name: 'Drinks',            illo: 'drink',     count: 12 },
  { id: 'kids',       name: 'Little House',      illo: 'kids',      count: 4 },
  { id: 'sauces',     name: 'Sauces',            illo: 'sauce',     count: 7 },
];

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