local PT = AhUI
if not PT then return end

local G = PT.ProfessionGuides
G.guides.PANDARIA = G.guides.PANDARIA or {}

G.guides.PANDARIA.TAILORING = {
    profession  = "Tailoring",
    skillLineID = 2536, -- Pandaria Tailoring
    nameKey = "PG_GUIDE_PANDARIA_TAILORING_NAME",


    -- =========================
    -- PROFESSION TRAINER
    -- =========================
    trainers = {
        alliance = {
            {
                npcID = 57405, -- Silkmaster Tsai
                name  = "Silkmaster Tsai",
                mapID = 376, -- Valley of the Four Winds
                x = 62.6,
                y = 59.6,
            },
        },
        horde = {
            {
                npcID = 57405, -- Silkmaster Tsai
                name  = "Silkmaster Tsai",
                mapID = 376, -- Valley of the Four Winds
                x = 62.6,
                y = 59.6,
            },
        },
    },

    -- =========================
    -- BANDAGE TRAINERS
    -- =========================
    vendors = {
        alliance = {
            {
                npcID = 64482, -- Healer Nan
                name  = "Healer Nan",
                mapID = 1530, -- Vale of Eternal Blossoms
                x = 88.4,
                y = 66.6,
                teaches = {
                    { spellID = 102697 }, -- Windwool Bandage
                    { spellID = 102698 }, -- Heavy Windwool Bandage
                    { spellID = 125544 }, -- Heavy Windwool Bandage (alt / bolt version)
                },
            },
        },
        horde = {
            {
                npcID = 65862, -- Ala'thinel
                name  = "Ala'thinel",
                mapID = 1530, -- Vale of Eternal Blossoms
                x = 59.6,
                y = 14.2,
                teaches = {
                    { spellID = 102697 },
                    { spellID = 102698 },
                    { spellID = 125544 },
                },
            },
        },
    },

    -- =========================
    -- STEPS
    -- =========================
    steps = {

        -- 1–25
        {
            min = 1,
            max = 25,
            recipes = {
                {
                    spellID = 102697, -- Windwool Bandage
                    crafts  = 25,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 102697,
                        },
                    },
                },
            },
        },

        -- 25–60
        {
            min = 25,
            max = 60,
			noteKey = "PG_GUIDE_PANDARIA_TAILORING_NOTE_1",
            recipes = {
                {
                    spellID = 102698, -- Heavy Windwool Bandage
                    crafts  = 70,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 102698,
                        },
                    },
                },
            },
        },

        -- 60–75 (декор)
        {
            min = 60,
            max = 75,
            disablesShopping = true,
            noteKey = "PG_GUIDE_PANDARIA_TAILORING_NOTE_2",
            recipes = {
                {
                    spellID = 125544, -- Windwool Bandage (bolt-based)
                    crafts  = 15,
                    autoReagents = true,
                },
            },
        },
    },
}
