How trade tariffs can change import patterns and reshape national economies over time