// data/gunbuilderParts.ts
import type { Category } from "@/types/builderSlots";

export const CATEGORIES: Category[] = [
  // Lower group
  { id: "lower-receiver", name: "Stripped Lower", group: "lower" },
  { id: "complete-lower", name: "Complete Lower", group: "lower" },
  { id: "lower-parts-kit", name: "Lower Parts Kit", group: "lower" },
  { id: "trigger", name: "Trigger / Fire Control", group: "lower" },
  { id: "grip", name: "Grips", group: "lower" },
  { id: "safety-selector", name: "Safety / Selector", group: "lower" },
  { id: "buffer", name: "Buffer System", group: "lower" },
  { id: "stock", name: "Stock / Brace", group: "lower" },

  // Upper group
  { id: "upper-receiver", name: "Stripped Upper", group: "upper" },
  { id: "complete-upper", name: "Complete Upper", group: "upper" },
  { id: "barrel", name: "Barrels", group: "upper" },
  { id: "handguard", name: "Handguards / Rails", group: "upper" },
  { id: "gas-block", name: "Gas Block", group: "upper" },
  { id: "gas-tube", name: "Gas Tube", group: "upper" },
  { id: "muzzle-device", name: "Muzzle Device", group: "upper" },
  { id: "sights", name: "Iron Sights", group: "upper" },
  { id: "bcg", name: "Bolt Carrier Group", group: "upper" },
  { id: "charging-handle", name: "Charging Handle", group: "upper" },
  { id: "suppressor", name: "Suppressors", group: "upper" },
  { id: "optic", name: "Optics", group: "upper" },

  // Accessories (platform-agnostic)
  { id: "magazine", name: "Magazines", group: "accessories" },
  { id: "weapon-light", name: "Weapon Lights & Lasers", group: "accessories" },
  { id: "foregrip", name: "Vertical / Angled Grips", group: "accessories" },
  { id: "bipod", name: "Bipods", group: "accessories" },
  { id: "sling", name: "Slings & Mounts", group: "accessories" },
  { id: "rail-accessory", name: "Rail Accessories", group: "accessories" },
  { id: "tools", name: "Tools & Maintenance", group: "accessories" },
];