Try reducing your z-index value in the code you added from anything less than 3 like 2,1 or maybe 0 and then check it out again, if that doesn’t work then share your store url and password if enabled.
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.