Could you please elaborate on the process for a foreigner purchasing a property in Spain? Are there any specific requirements or steps that need to be followed? Additionally, does the nationality of the foreigner matter when it comes to property ownership in Spain? And regarding the visa or residence permit, can you explain the conditions or types that may be required for longer stays? I'm also interested to know if there are any limitations on the types of properties foreigners can buy in Spain.