Small-format stores and rising rents are reshaping urban retail