Department stores and household goods led the increase, which far outstripped most economists’ expectations.