Go to Woodmart > Header builder > edit current header in the header setting disable the option to make it overlap.
If you want to add z-index then Try to add the following code snippet to the Custom CSS area in Theme Setting.
body .main-header {
z-index: -1;
}
02. Go to Theme Setting > Single Product > Add to cart enable the option ajax add to cart.