Consumer confidence rises to match four-year high