Consumer pain worsens as inflation hits 3-year high