Trying to create a dynamic filter

Hey there everyone!
I am reaching out for a bit of assistance!
I think Im close to solving my problem, but Im still not quite there.

So here’s what Im doing.

I have a database of ingredients and one of the fields is a list of ingredients.

That list of ingredients is a list of ingredients I know go well with the primary ingredient.

The idea is that as people choose ingredients to add to their shopping cart it only suggests ingredients that work well with the ingredients they chose.

This group currently contains a group of 9 dropdowns that all must filter each other as they work their way down the filters.

The question is, how do I get them to filter against each other?

You can visit The Perfect Recipe Builder so that you can see the almost-working site.

Thank you very much for any help you can provide!