local PT = AhUI
if not PT then return end

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

G.guides.SHADOWLANDS.TAILORING = {
    profession  = "Tailoring",
    skillLineID = 2759, -- Shadowlands Tailoring
    name = "Портняжное дело — Shadowlands (1–100)",

    -- =========================
    -- PROFESSION TRAINER
    -- =========================
    trainers = {
        alliance = {
            {
                npcID = 156681, -- Stitcher Au'phes
                name  = "Stitcher Au'phes",
                mapID = 1670, -- Oribos
                x = 45.2,
                y = 31.6,
            },
        },
        horde = {
            {
                npcID = 156681, -- Stitcher Au'phes
                name  = "Stitcher Au'phes",
                mapID = 1670, -- Oribos
                x = 45.2,
                y = 31.6,
            },
        },
    },

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

        -- 1–15
        {
            min = 1,
            max = 15,
            recipes = {
                {
                    spellID = 310924,
                    crafts  = 17,
                    reagents = {
                        { itemID = 173202, count = 1 }, -- Shrouded Cloth
                    },
                },
            },
        },

        -- 15–31
        {
            min = 15,
            max = 31,
            recipes = {
                {
                    spellID = 310871,
                    crafts  = 8,
                    reagents = {
                        { itemID = 173202, count = 4 },
                        { itemID = 177062, count = 4 },
                    },
                },
            },
        },

        -- 31–37
        {
            min = 31,
            max = 37,
            recipes = {
                {
                    spellID = 310873,
                    crafts  = 2,
                    reagents = {
                        { itemID = 173202, count = 6 },
                        { itemID = 177062, count = 4 },
                    },
                },
            },
        },

        -- 37–52
        {
            min = 37,
            max = 52,
            recipes = {
                {
                    spellID = 310875,
                    crafts  = 5,
                    reagents = {
                        { itemID = 173202, count = 6 },
                        { itemID = 177062, count = 4 },
                    },
                },
            },
        },

        -- 52–65
        {
            min = 52,
            max = 65,
            recipes = {
                {
                    spellID = 310923,
                    crafts  = 20,
                    reagents = {
                        { itemID = 173202, count = 2 },
                    },
                },
            },
        },

        -- 65–71
        {
            min = 65,
            max = 71,
            recipes = {
                {
                    spellID = 310903,
                    crafts  = 3,
                    reagents = {
                        { itemID = 173202, count = 20 },
                        { itemID = 173204, count = 4 }, -- Lightless Silk
                        { itemID = 177062, count = 3 },
                    },
                },
            },
        },

        -- 71–75
        {
            min = 71,
            max = 75,
            recipes = {
                {
                    spellID = 310899,
                    crafts  = 4,
                    reagents = {
                        { itemID = 173202, count = 20 },
                        { itemID = 173204, count = 4 },
                        { itemID = 177062, count = 6 },
                    },
                },
            },
        },

        -- 75–81
        {
            min = 75,
            max = 81,
            recipes = {
                {
                    spellID = 310900,
                    crafts  = 2,
                    reagents = {
                        { itemID = 173202, count = 25 },
                        { itemID = 173204, count = 5 },
                        { itemID = 177062, count = 6 },
                    },
                },
            },
        },

        -- 81–87 (декор доступен)
        {
            min = 81,
            max = 87,
            disablesShopping = true,
            note = "|cff00ff00Декор доступен с 80 уровня навыка!|r",
            recipes = {
                {
                    spellID = 310900,
                    crafts  = 2,
                    reagents = {
                        { itemID = 173202, count = 25 },
                        { itemID = 173204, count = 5 },
                        { itemID = 177062, count = 6 },
                    },
                },
            },
        },

        -- 87–90
        {
            min = 87,
            max = 90,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 310897,
                    crafts  = 1,
                    reagents = {
                        { itemID = 173202, count = 30 },
                        { itemID = 173204, count = 6 },
                        { itemID = 177062, count = 10 },
                    },
                },
            },
        },

        -- 90–96
        {
            min = 90,
            max = 96,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 310901,
                    crafts  = 2,
                    reagents = {
                        { itemID = 173202, count = 30 },
                        { itemID = 173204, count = 6 },
                        { itemID = 177062, count = 10 },
                    },
                },
            },
        },

        -- 96–100
        {
            min = 96,
            max = 100,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 310902,
                    crafts  = 2,
                    reagents = {
                        { itemID = 173202, count = 25 },
                        { itemID = 173204, count = 5 },
                        { itemID = 177062, count = 10 },
                    },
                },
            },
        },
    },
}
