Start the encounter before the order
At a café counter, you can begin with Dobro jutro and then move on to the order. The phrase does not need a title or a question attached to make it polite. When you are still learning Croatian, keeping the opening separate gives you a moment to listen to the reply. A staff member may answer with the same greeting or use Dobar dan if they regard it as later in the day.
A familiar question or a respectful one
The opening greeting stays the same whether you are speaking to a friend or to a stranger. It is the question afterwards that may change. Kako si is directed to one person you address informally; kako ste suits a polite exchange or several people. This distinction is particularly useful when a morning encounter develops into a conversation at a guesthouse or with someone you meet regularly during a holiday.
A bilingual morning on the Istrian peninsula
Croatian remains the main language, but Italian has official regional use in Istria. You may recognise bilingual names such as Pula and Pola on signs. Buongiorno is useful when speaking to someone in Italian, rather than a replacement for Croatian everywhere along the coast. If a conversation begins in Croatian, Dobro jutro is a natural response; let the situation guide any switch of language.