Weaving the physical and digital into connected packaging