However, you can use it to refer to a restaurant:
* "It is my favorite restaurant."
* "It has the best pizza in town."
You could also use they if you are talking about a chain of restaurants:
* "They have locations all over the country."
It's important to remember that "they" as a singular pronoun is becoming more common, and it can be used to refer to a single person whose gender identity is non-binary or unknown. However, "it" remains the most standard and widely accepted pronoun for inanimate objects, including restaurants.