Enter either your available cash or a target property price, the other side calculates automatically, with the real cost of buying and owning it in Spain.
Send me these numbers and I'll come back with the honest picture. What fits, what doesn't, and what I'd actually do in your position.