An offer (which is not a "bid") expires when:
1. The time stated on it runs out, or
2. The listing ends (whether from another offer being accepted or someone using the Buy It Now or whatever), or
3. An actual "bid" on the auction is placed,
whichever happens first.
If the offer expires then the other party cannot accept it.