Questions & Answers about Я купил новый шампунь.
Adjectives in Russian agree with their nouns in gender, number, and case. Here шампунь is:
• masculine
• singular
• a direct object (accusative case)
Since шампунь is inanimate, its accusative form equals its nominative. Therefore новый stays in the masculine nominative form новый (hard-stem adjective ending -ый).