Consumer confidence rebounds after months of tariff fears