Bargain for (something)

1. To negotiate the price and other terms of something.

We spent all morning bargaining for the car.

2. To anticipate something, to take something into account.

The difficulty of the job was more than i had bargained for.