import type { Category, Part } from "@/types/gunbuilder";

export const CATEGORIES: Category[] = [
  // LOWER
  {
    id: "lower",
    name: "Stripped Lower Receiver",
    description: "Serialized lower – the foundation of the build.",
  },
  {
    id: "completeLower",
    name: "Complete Lower",
    description: "Factory-built lower with stock, buffer system, and controls.",
  },
  {
    id: "lowerParts",
    name: "Lower Parts Kit",
    description: "Pins, springs, and controls for the lower.",
  },
  {
    id: "trigger",
    name: "Trigger / Fire Control",
    description: "Single-stage, two-stage, and match triggers.",
  },
  {
    id: "grip",
    name: "Pistol Grip",
    description: "Grips that shape how the rifle handles.",
  },
  {
    id: "safety",
    name: "Safety / Selector",
    description: "Ambi selectors and control upgrades.",
  },
  {
    id: "buffer",
    name: "Buffer System",
    description: "Buffer tube, buffer, spring, and related parts.",
  },
  {
    id: "stock",
    name: "Stock / Brace",
    description: "Adjustable, fixed, and minimalist stocks.",
  },

  // UPPER
  {
    id: "upper",
    name: "Stripped Upper Receiver",
    description: "The core of the top half of your build.",
  },
  {
    id: "completeUpper",
    name: "Complete Upper",
    description: "Pre-assembled uppers ready to pin and shoot.",
  },
  {
    id: "bcg",
    name: "Bolt Carrier Group",
    description: "The heartbeat of the rifle’s cycling.",
  },
  {
    id: "barrel",
    name: "Barrel",
    description: "Different lengths, profiles, and calibers.",
  },
  {
    id: "gasBlock",
    name: "Gas Block",
    description: "Standard and adjustable gas blocks.",
  },
  {
    id: "gasTube",
    name: "Gas Tube",
    description: "Carbine, mid, rifle, and more.",
  },
  {
    id: "muzzleDevice",
    name: "Muzzle Device",
    description: "Brakes, comps, and flash hiders.",
  },
  {
    id: "suppressor",
    name: "Suppressor",
    description: "Hearing-safe setups and hosts.",
  },
  {
    id: "handguard",
    name: "Handguard / Rail",
    description: "M-LOK rails and front-end furniture.",
  },
  {
    id: "chargingHandle",
    name: "Charging Handle",
    description: "Standard and ambi charging handles.",
  },
  {
    id: "sights",
    name: "Iron Sights",
    description: "Backup and primary irons.",
  },
  {
    id: "optic",
    name: "Optic",
    description: "LPVOs, red dots, and magnifiers.",
  },
];
