How much walking and how many steps on a Croatia tour - Dubrovnik's walls, the old towns?

The walled towns and island harbours look gorgeous, but also steep, cobbled and full of steps. We’re happy with a good stroll but picture ourselves puffing up Dubrovnik’s walls in the heat. Realistically, how demanding is a coastal Croatia tour on the legs?