/* Gadwal Signature Home — refined header (Astra). Only loads when "New header style" is on. */
body.gsig-polish{--gh-pri:#741A2F;--gh-acc:#C9A84C;--gh-bg:rgba(251,247,240,.86);--gh-ink:#2A1A1E;--gh-line:#E8DFD3}
body.gsig-polish.gsig-pal-plum{--gh-pri:#A3134D;--gh-acc:#D9A08A;--gh-bg:rgba(255,247,244,.86);--gh-ink:#2B1230;--gh-line:#EED9D6}
body.gsig-polish.gsig-pal-emerald{--gh-pri:#0F6B5A;--gh-acc:#C99A2E;--gh-bg:rgba(248,245,236,.86);--gh-ink:#10241E;--gh-line:#DCE3D6}
body.gsig-polish.gsig-pal-midnight{--gh-pri:#1F2A6B;--gh-acc:#E8892E;--gh-bg:rgba(255,248,236,.86);--gh-ink:#1A1F3D;--gh-line:#EEDFC8}

body.gsig-polish #masthead{position:sticky;top:0;z-index:999;background:transparent}
/* The admin bar is only fixed from 601px; below that it scrolls away, so no gap is left above the header. */
@media(min-width:601px){body.admin-bar.gsig-polish #masthead{top:var(--wp-admin--admin-bar--height,32px)}}
body.gsig-polish #masthead .ast-primary-header-bar,
body.gsig-polish #masthead .main-header-bar{background:var(--gh-bg)!important;-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-bottom:0!important;transition:box-shadow .35s cubic-bezier(.4,0,.2,1),min-height .35s cubic-bezier(.4,0,.2,1)}
body.gsig-polish #masthead::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,var(--gh-acc) 20%,var(--gh-acc) 80%,transparent);opacity:.55;pointer-events:none}
body.gsig-polish.gsig-scrolled #masthead .ast-primary-header-bar,
body.gsig-polish.gsig-scrolled #masthead .main-header-bar{box-shadow:0 10px 30px -18px rgba(42,26,30,.45)}

/* Brand */
body.gsig-polish #masthead .site-title,body.gsig-polish #masthead .site-title a{font-family:'Cormorant Garamond','Playfair Display',Georgia,serif!important;font-weight:600!important;color:var(--gh-ink)!important;letter-spacing:.01em}
body.gsig-polish #masthead .site-description{font-family:'DM Sans',system-ui,sans-serif!important;font-weight:600!important;letter-spacing:.26em!important;text-transform:uppercase;color:var(--gh-acc)!important;filter:brightness(.8)}
body.gsig-polish #masthead .custom-logo-link img{transition:transform .5s cubic-bezier(.05,.7,.1,1)}
body.gsig-polish #masthead .custom-logo-link:hover img{transform:rotate(-6deg) scale(1.04)}

/* Desktop menu: small caps with a gold thread underline */
body.gsig-polish #masthead .main-header-menu>.menu-item>.menu-link{position:relative;font-family:'DM Sans',system-ui,sans-serif!important;font-size:13px!important;font-weight:600!important;letter-spacing:.12em!important;text-transform:uppercase;color:var(--gh-ink)!important;padding-inline:14px!important}
body.gsig-polish #masthead .main-header-menu>.menu-item>.menu-link::after{content:"";position:absolute;left:14px;right:14px;bottom:calc(50% - 16px);height:1.5px;background:var(--gh-acc);transform:scaleX(0);transform-origin:left;transition:transform .45s cubic-bezier(.05,.7,.1,1)}
body.gsig-polish #masthead .main-header-menu>.menu-item:hover>.menu-link::after,
body.gsig-polish #masthead .main-header-menu>.menu-item.current-menu-item>.menu-link::after{transform:scaleX(1)}
body.gsig-polish #masthead .main-header-menu>.menu-item.current-menu-item>.menu-link{color:var(--gh-pri)!important}
body.gsig-polish #masthead .main-header-menu .sub-menu{border:1px solid var(--gh-line)!important;border-radius:14px!important;overflow:hidden;box-shadow:0 22px 40px -22px rgba(42,26,30,.45)!important;background:#FFFDF9!important;padding:6px 0!important}
body.gsig-polish #masthead .main-header-menu .sub-menu .menu-link{font-family:'DM Sans',system-ui,sans-serif!important;font-size:14px!important;color:var(--gh-ink)!important;padding:10px 18px!important;transition:background-color .18s,padding-left .3s cubic-bezier(.4,0,.2,1)}
body.gsig-polish #masthead .main-header-menu .sub-menu .menu-link:hover{background:rgba(201,168,76,.12);padding-left:24px!important;color:var(--gh-pri)!important}

/* Cart + mobile menu button */
body.gsig-polish #masthead .ast-site-header-cart .ast-cart-menu-wrap,
body.gsig-polish #masthead .ast-site-header-cart .ast-addon-cart-wrap{border-radius:12px!important}
body.gsig-polish #masthead .ast-site-header-cart .count,
body.gsig-polish #masthead .ast-site-header-cart .ast-count-text{background:var(--gh-pri)!important;color:#fff!important;border-color:var(--gh-pri)!important}
body.gsig-polish #masthead .ast-mobile-menu-trigger-minimal,
body.gsig-polish #masthead .menu-toggle{border-radius:14px!important;color:var(--gh-pri)!important;border:1px solid color-mix(in srgb,var(--gh-pri) 40%,transparent)!important;background:rgba(255,255,255,.6)!important;transition:transform .18s cubic-bezier(.4,0,.2,1),background-color .18s}
body.gsig-polish #masthead .menu-toggle:active{transform:scale(.94)}

/* Mobile drawer */
body.gsig-polish .ast-mobile-popup-drawer .ast-mobile-popup-inner{background:#FBF7F0!important}
body.gsig-polish .ast-mobile-popup-drawer .ast-mobile-popup-header{border-bottom:1px solid var(--gh-line)}
body.gsig-polish .ast-mobile-popup-drawer .main-header-menu .menu-link{font-family:'Cormorant Garamond','Playfair Display',Georgia,serif!important;font-size:22px!important;font-weight:600!important;color:var(--gh-ink)!important;padding:14px 22px!important;border-bottom:1px solid var(--gh-line)!important}
body.gsig-polish .ast-mobile-popup-drawer .main-header-menu .sub-menu .menu-link{font-family:'DM Sans',system-ui,sans-serif!important;font-size:15px!important;padding-left:34px!important}
body.gsig-polish .ast-mobile-popup-drawer.active .main-header-menu>.menu-item{animation:gshIn .5s cubic-bezier(.05,.7,.1,1) both}
body.gsig-polish .ast-mobile-popup-drawer.active .main-header-menu>.menu-item:nth-child(2){animation-delay:.04s}
body.gsig-polish .ast-mobile-popup-drawer.active .main-header-menu>.menu-item:nth-child(3){animation-delay:.08s}
body.gsig-polish .ast-mobile-popup-drawer.active .main-header-menu>.menu-item:nth-child(4){animation-delay:.12s}
body.gsig-polish .ast-mobile-popup-drawer.active .main-header-menu>.menu-item:nth-child(5){animation-delay:.16s}
body.gsig-polish .ast-mobile-popup-drawer.active .main-header-menu>.menu-item:nth-child(n+6){animation-delay:.2s}
@keyframes gshIn{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){
  body.gsig-polish #masthead *,body.gsig-polish .ast-mobile-popup-drawer *{animation:none!important;transition:none!important}
}
