/* ============================================================
   Namma Hearth — Xpro header/footer support
   Bound to the Xpro Theme Builder templates (Astra's own
   .site-header markup is stood down in functions.php).
   ============================================================ */

/* ---- Sticky frosted header ---- */
.nh-header-wrap{position:sticky;top:0;z-index:800;}
.nh-navrow{background:rgba(255,255,255,.9)!important;
  -webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);}

/* ---- Announcement bar ---- */
.nh-announce{background:var(--nh-primary);}
.nh-announce .elementor-widget-container,
.nh-announce p,.nh-announce .xpro-heading-title{color:#fff!important;
  font:500 13px/1.4 'Poppins',sans-serif;letter-spacing:.01em;margin:0;}

/* ---- Brand lockup ---- */
.nh-brand a{text-decoration:none;}
.nh-wordmark{font:700 22px/1 'Poppins',sans-serif;letter-spacing:-.02em;color:var(--nh-primary);white-space:nowrap;}
.nh-wordmark .nh-wm-accent{color:var(--nh-accent);}
.nh-wordmark sup{font-size:.5em;font-weight:600;top:-.7em;margin-left:1px;}

/* ---- Nav underline sweep (matches V11 .nhx-nav) ---- */
.nh-menu .xpro-menu-item{position:relative;}
.nh-menu .xpro-menu-item::after{content:"";position:absolute;left:0;bottom:-5px;height:2px;width:0;
  background:var(--nh-accent);transition:width .28s ease;}
.nh-menu .xpro-menu-item:hover::after,
.nh-menu .current-menu-item > .xpro-menu-item::after{width:100%;}

/* ---- Account link ---- */
.nh-account-link{display:inline-flex;align-items:center;gap:7px;text-decoration:none;
  color:var(--nh-primary);font:600 14px/1 'Poppins',sans-serif;padding:10px 8px;border-radius:999px;
  transition:color .2s ease;}
.nh-account-link:hover{color:var(--nh-accent-dark);}

/* ---- Cart button + live count ---- */
.nh-cart-wrap{display:inline-flex;}
.nh-cart-btn{position:relative;border:1px solid var(--nh-hairline);background:#fff;width:44px;height:44px;
  border-radius:999px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;
  color:var(--nh-primary);transition:border-color .2s ease,transform var(--nh-dur-fast) var(--nh-ease-spring);}
.nh-cart-btn:hover{border-color:var(--nh-accent);transform:scale(1.05);}
.nh-cart-btn:active{transform:scale(.96);}
.nh-cart-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(255,165,31,.4);}
.nh-cart-count{position:absolute;top:-6px;right:-6px;background:var(--nh-accent);color:var(--nh-primary);
  min-width:20px;height:20px;padding:0 5px;border-radius:999px;font:700 11px/1 'Poppins',sans-serif;
  display:inline-flex;align-items:center;justify-content:center;}
.nh-cart-count[hidden]{display:none;}

/* ---- Footer ---- */
.nh-footer{background:var(--nh-primary);color:#fff;}
.nh-footer a{color:#f3e9f4;text-decoration:none;transition:color .2s ease;}
.nh-footer a:hover{color:var(--nh-accent);}
.nh-footer h4,.nh-footer h5,.nh-footer .elementor-heading-title{color:#fff;}
.nh-footer .nh-foot-muted{color:#c9b6cb;}
.nh-footer-bottom{border-top:1px solid rgba(255,255,255,.14);}

/* ---- Responsive: hide desktop nav/actions under 980px ---- */
@media (max-width:980px){
  .nh-desktop-only{display:none!important;}
}
@media (min-width:981px){
  .nh-mobile-only{display:none!important;}
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion:reduce){
  .nh-cart-btn,.nh-menu .xpro-menu-item::after{transition:none!important;}
}
