Which word in the sentence does the underlined phrase modify?

During the tour, we bought souvenirs at the gift shop.

A.
gift

B.
shop

C.
bought

D.
souvenirs