Travelling in Spain as a woman is as easy as travelling anywhere in the Western world. That said, foreign women can attract unwanted male attention, especially when travelling solo and in small, remote places. You should also be choosy about your accommodation. Bottom-end fleapits with all-male staff can be insalubrious locations to bed down for the night. Lone women should take care in city streets at night – stick with the crowds. Hitching for solo women travellers is never recommended.
Spanish men under about 40, who’ve grown up in the liberated post-Franco era, conform far less to old-fashioned sexual stereotypes, although you might notice that sexual stereotyping becomes a little more pronounced as you move from north to south in Spain, and from city to country.