A bakery is generally not a restaurant under Title II, which defines that to mean an establishment “principally engaged in selling food for consumption on the premises.”
Only if it also has a restaurant that serves food primarily for eating on premises. The bakery in masterpiece cake shop might have incidentally had a restaurant, I don’t remember, but a wedding cake caterer ordinarily wouldn’t fall under the Civil Rights Act.
Title II is quite specific in what counts as a “public accommodation.” For example, banks are not covered: https://www.pospislaw.com/blog/2019/02/05/banks-are-not-plac...