Inflation slowed to 2.7% in November, surprising analysts as food and shelter costs eased, though tariffs keep pressure on goods prices.