Sales saw a surprise fall last month as households continue to struggle with the cost-of-living crisis.