Imports do not reduce GDP: “Consumption, Investment, and Government purchases include imports, so we subtract out imports at the end so that the total effect of imports on GDP is zero.”

Link. Useful reference.