Which noun is the direct object in the following sentence?

Dylan bought envelopes for Keisha when he was at the store.


store

Dylan

envelopes

Keisha