Rising costs weigh on retailers