For an industry built around small pleasures, the confectionery market is undergoing a significant transformation. Consumers are becoming more deliberate about what they buy, where they buy it and what they expect from the brands they choose.