None of the examples you provided portrayed God as being a women.
In Narnia, Jesus is portrayed as an animal.
The Shack also portrays God as being a man and explains why He allowed Mack to see a woman portrayal of Him in the beginning of their encounter.
But that’s neither here nor there. It’s still a novel, fiction. Gandalf and Aslan are often seen as representations of Jesus in Tolkien and Lewis’s stories, but Gandalf was a wizard and Aslan was a literal animal (I know Jesus is the Lion of the Tribe of Judah, but not an actual Lion in the Scriptures.)
I don’t discard those books because of that, I don’t read them for my theology lesson...I read them as they were written, as works of fiction.
God tell us in Genesis that we (men and women) are made in His image.
I don’t claim the Shack is biblical truth through and through but it is more like a parabel; like Pilgrim’s Progress.
I do have an issue with anyone coming away with the idea that you can get to Eternity without Jesus Christ.