Suggestion About CTA color

Hi there,
Hope you all doing well.

I have a question about the color consistency. I have seen some e-commerce platform using for different categories different interface and CTA color.

So the thing is I have a UI design project for same e-commerce application and divided to 4 categories ( market, food, grocery, lifestyle) so what’s your opinion about choose different design interface and CTA color.

as you can here I used pink theme for food. and the idea is it will change according to the category color.

and behind this idea I have seen 2 leading E commerce platform using this method in their mobile version platform

Is it good decision?
Please share your thoughts

Many thanks