A heatwave breaks over a city and shorts and sandals start moving off the shelf within hours. A match goes to penalties and jersey searches spike the same night. A product runs low in three stores and a brand’s own app doesn’t know it. Apparel…