Reading lists are the real SEO capital in this trade. "Books for reluctant readers", "crime novels set in Yorkshire", "book to give an eighty-year-old": each list is a page that works for years and that no warehouse can write in your voice.
Local and regional titles are the second niche. Books about the town, authors from nearby, walking guides for the hills up the road — a bookshop ranks for those without effort, and they're exactly what someone buying a gift is looking for.
The map pack settles the rest, especially the question of whether you're open right now. Hours, photographs of the shop and replies to reviews are half the job here.
Events are worth their own pages. An author evening or a children's storytime turns up under its own name and under "things to do", and it brings in people who then come back as customers rather than visitors.