It’s shit that you have to know exactly what to say in order to take advantage of your rights.
But one thing I should mention is not just to be careful not to say what you’ve been eating or drinking. Never tell the cops anything about yourself other than what is legally required. They often ask where you’re coming from and where you’re going, for example.
They often try to trick people into consenting to a search by phrasing an order as a question, and pretending like they were just asking a question. “Would you mind opening your trunk?” The response is “I do not consent to searches.” I would also lock my door if I stepped out of my car. There are many situations where they can pretend you implied consent to search.