The elevated costs of flour, nuts, eggs and even electricity are forcing bakers to increase their prices and cut their production