Stubbornly high inflation has left consumers uncertain and less willing to splash out on a takeout coffee