Anyone familiar with real estate law ?

yup. almost certain that was one of the contingencies (ill double check)

the money is held in escrow by my agent
and she is working on getting it back, im sure
If your agent is holding the deposit you should be in good shape. Welcome to the world of investing in property. It doesn’t get easier you just learn more each time.