If you want a Croatian number for calls and texts, look for a prepaid SIM or eSIM from an operator that includes those services.
Before you buy, check whether you get a Croatian number, what the package includes and how long it lasts. If the operator requires the number to be registered, ask which document it accepts.