You don’t pay taxes on food products.
That varies by state. Utah taxes unprepared food at about 4%, prepared food at the regular sales tax rate.
Idaho taxes all sales...food included. I was buying bags of chocolate flavored whey protein at Costco in 2014. I weighed the option of buying in Idaho before driving back to San Diego vs buying after arriving. It was cheaper to wait on the whey due to sales tax on food. I was also a consumer of sugar free Rockstar drinks at the time. I purchased 4 flats of them in Idaho. CA assesses both sales tax and CRV and a higher retail price.