{
  "shop": {
    "name": "Coffee Bucket",
    "tagline": "โรงคั่วกาแฟที่เปิดต้นทุนทุกบาท",
    "lastUpdated": "2026-10-26",
    "currency": "฿"
  },

  "tax": {
    "vatRegistered": true,
    "vatPercent": 7,
    "note": "ราคาขายรวม VAT แล้ว ส่วน VAT ที่แสดงคือเงินที่ต้องส่งให้กรมสรรพากร"
  },

  "roasting": {
    "batchGreenKg": 5,
    "energyPerBatch": 120,
    "energyNote": "ค่าแก๊ส LPG + ไฟฟ้าพัดลม/ระบบดูดควัน ต่อ 1 รอบคั่ว",
    "laborPerBatch": 150,
    "laborNote": "ค่าแรงคั่ว คัดเมล็ด และบรรจุถุง ต่อ 1 รอบคั่ว (ประมาณ 1 ชั่วโมง)",
    "roasterPrice": 450000,
    "roasterLifetimeKg": 30000,
    "roasterNote": "เครื่องคั่ว 5 กก. คิดค่าเสื่อมตามปริมาณสารกาแฟที่คั่วตลอดอายุเครื่อง"
  },

  "fixedMonthly": {
    "roastedKgPerMonth": 200,
    "items": [
      { "name": "ค่าเช่าพื้นที่", "amount": 15000 },
      { "name": "ค่าน้ำ ค่าไฟ (ส่วนที่ไม่ใช่การคั่ว)", "amount": 2500 },
      { "name": "อินเทอร์เน็ต / ซอฟต์แวร์ / โดเมน", "amount": 1000 },
      { "name": "ค่าบำรุงรักษาเครื่อง", "amount": 1500 }
    ]
  },

  "packaging": {
    "items": [
      { "name": "ถุงคราฟท์ซิปล็อก + วาล์วทางเดียว", "cost": 12 },
      { "name": "ฉลากพิมพ์", "cost": 3 },
      { "name": "สติกเกอร์วันคั่ว", "cost": 1 }
    ]
  },

  "channels": [
    {
      "id": "pickup",
      "name": "รับที่ร้าน",
      "icon": "🏠",
      "gpPercent": 0,
      "paymentFeePercent": 0,
      "shippingPerOrder": 0,
      "note": "ไม่มีค่าธรรมเนียม ร้านได้กำไรเต็ม"
    },
    {
      "id": "website",
      "name": "เว็บไซต์ + ส่งพัสดุ",
      "icon": "📦",
      "gpPercent": 0,
      "paymentFeePercent": 2.5,
      "shippingPerOrder": 45,
      "note": "ร้านออกค่าส่งเอง + ค่าธรรมเนียมรับชำระเงิน 2.5%"
    },
    {
      "id": "marketplace",
      "name": "Shopee / Lazada",
      "icon": "🛒",
      "gpPercent": 12,
      "paymentFeePercent": 3,
      "shippingPerOrder": 0,
      "note": "ค่าคอมมิชชั่น ~12% + ค่าธรรมเนียมชำระเงิน ~3% (ลูกค้าจ่ายค่าส่ง)"
    },
    {
      "id": "delivery",
      "name": "LINE MAN / Grab",
      "icon": "🛵",
      "gpPercent": 30,
      "paymentFeePercent": 0,
      "shippingPerOrder": 0,
      "note": "ค่า GP ประมาณ 30% ของราคาขาย"
    }
  ],

  "products": [
    {
      "id": "doi-chang",
      "name": "ดอยช้าง",
      "nameEn": "Doi Chang, Chiang Rai",
      "origin": "เชียงราย, ไทย",
      "process": "Washed",
      "roastLevel": "Medium",
      "notes": ["ช็อกโกแลต", "คาราเมล", "ถั่วอบ"],
      "bagGrams": 250,
      "price": 320,
      "greenPricePerKg": 400,
      "greenFreightPerKg": 20,
      "roastLossPercent": 16,
      "supplier": "สหกรณ์เกษตรกรดอยช้าง (ซื้อตรง)"
    },
    {
      "id": "yirgacheffe",
      "name": "เยอร์กาเชฟ",
      "nameEn": "Yirgacheffe G1, Ethiopia",
      "origin": "เอธิโอเปีย",
      "process": "Washed",
      "roastLevel": "Light",
      "notes": ["มะลิ", "เลมอน", "ชาดำ"],
      "bagGrams": 250,
      "price": 480,
      "greenPricePerKg": 750,
      "greenFreightPerKg": 80,
      "roastLossPercent": 14,
      "supplier": "ผู้นำเข้าสารกาแฟ (ราคารวมภาษีนำเข้า)"
    },
    {
      "id": "huila",
      "name": "อุยลา",
      "nameEn": "Huila Supremo, Colombia",
      "origin": "โคลอมเบีย",
      "process": "Natural",
      "roastLevel": "Medium",
      "notes": ["เชอร์รี่", "บราวน์ชูการ์", "ไวน์แดง"],
      "bagGrams": 250,
      "price": 420,
      "greenPricePerKg": 600,
      "greenFreightPerKg": 60,
      "roastLossPercent": 15,
      "supplier": "ผู้นำเข้าสารกาแฟ (ราคารวมภาษีนำเข้า)"
    },
    {
      "id": "house-blend",
      "name": "เฮาส์เบลนด์",
      "nameEn": "House Blend (Thai + Brazil)",
      "origin": "ไทย 60% / บราซิล 40%",
      "process": "Washed + Natural",
      "roastLevel": "Medium-Dark",
      "notes": ["ดาร์กช็อกโกแลต", "อัลมอนด์", "บอดี้หนัก"],
      "bagGrams": 500,
      "price": 450,
      "greenPricePerKg": 380,
      "greenFreightPerKg": 25,
      "roastLossPercent": 18,
      "supplier": "ผสมจากสารกาแฟไทยและบราซิล"
    }
  ],

  "drinks": {
    "status": "coming-soon",
    "note": "ยังไม่เปิดขาย นี่คือตัวอย่างการคำนวณต้นทุนต่อแก้วที่เราจะใช้เมื่อเปิดบาร์",
    "overheadPerCup": 8,
    "laborPerCup": 10,
    "items": [
      {
        "id": "americano",
        "name": "อเมริกาโน่ร้อน",
        "productId": "house-blend",
        "beanGrams": 18,
        "price": 70,
        "ingredients": [
          { "name": "แก้วกระดาษ + ฝา", "cost": 4 },
          { "name": "น้ำกรอง", "cost": 0.5 }
        ]
      },
      {
        "id": "latte",
        "name": "ลาเต้เย็น",
        "productId": "house-blend",
        "beanGrams": 18,
        "price": 85,
        "ingredients": [
          { "name": "นมสด 180 ml", "cost": 9 },
          { "name": "น้ำแข็ง", "cost": 2 },
          { "name": "แก้วพลาสติก + ฝา + หลอด", "cost": 5 }
        ]
      },
      {
        "id": "pourover",
        "name": "ดริป เยอร์กาเชฟ",
        "productId": "yirgacheffe",
        "beanGrams": 15,
        "price": 120,
        "ingredients": [
          { "name": "กระดาษกรอง", "cost": 2 },
          { "name": "แก้ว + ฝา", "cost": 4 },
          { "name": "น้ำกรอง", "cost": 0.5 }
        ]
      }
    ]
  }
}
