Investment in its fashion ranges contributed to strong revenues for the category at department store retailer John Lewis & Partners - but it was not enough to offset a slump in first-half sales and earnings as the tough trading environment took its toll on consumer spending.