It took a while, but I managed to make my crafting system work.
it's a bit messier code that I prefer, and I have to revamp the interface to look nicer, but for now, it's functional and I can move to something else.
I've designed it with ease of use in mind, no dragging or putting items in slots, just choose the recipe and as long as you have the ingredients, you can keep crafting the items.