Heightened tariffs on the United States’ trading partners are reshaping the country’s online shopping habits—adding a rough $12 billion annually to national spending, according to consumer data ...