Essential aspects to consider before buying a property in Spain