/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Child theme for the Astra theme
 Author:       Your Name
 Author URI:   https://yourwebsite.com/
 Template:     astra
 Version:      1.0.0
*/

/* Sticky positioning for all header wrappers */
.site-header,
.main-header-bar,
.ast-primary-header-bar,
.ast-above-header,
.ast-below-header,
.ast-mobile-header-wrap,
#masthead {
  position: -webkit-sticky !important; /* Safari iOS */
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
}

/* Background color for headers EXCEPT the primary header */
.site-header,
.main-header-bar,
.ast-above-header,
.ast-below-header,
.ast-mobile-header-wrap,
#masthead {
  background: #fff !important;
}

/* Primary header (no background override, stays transparent or theme default) */
.ast-primary-header-bar {
  background: transparent !important;
}

/* Make header fonts black */
.site-header,
.site-header a,
.main-header-bar,
.main-header-bar a,
.ast-primary-header-bar,
.ast-primary-header-bar a,
.ast-mobile-header-wrap,
.ast-mobile-header-wrap a {
  color: #000 !important;
  fill: #000 !important; /* for SVG icons like the menu toggle */
}
