Had the estate agent not already gone to the vendor with your offer when the other lady approached them? I'm not an expert at all but it sounds like your offer was in first. Although the vendor can sell to whoever they want at the end of the day regardless. What does your estate agent say?