/* Customer wallet stays distinct from the cart; existing account/cart icons keep their sizes. */
#masthead .gnp-wallet{position:relative;flex:0 0 auto;align-self:center;font-family:Roboto,sans-serif;color:#25243d;line-height:1.4;text-align:left}
#masthead .gnp-wallet[hidden],#masthead .gnp-dropdown[hidden]{display:none!important}
#masthead .gnp-trigger{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:148px;height:42px;min-height:42px;margin:0;padding:0 13px;border:1px solid #25243d24;border-radius:9px;background:#ffffff29;color:#25243d;font:400 13px/1.4 Roboto,sans-serif;letter-spacing:normal;text-transform:none;white-space:nowrap;box-shadow:none;cursor:pointer;transition:background .16s,border-color .16s}
#masthead .gnp-trigger:hover,#masthead .gnp-trigger:focus-visible,#masthead .gnp-trigger[aria-expanded=true]{background:#ffffff4d;border-color:#25243d4d;color:#25243d}
#masthead .gnp-trigger strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
#masthead .gnp-value{display:inline-flex;align-items:baseline;gap:4px}
#masthead .gnp-trigger svg{width:18px;height:18px;flex:0 0 18px;fill:none}
#masthead .gnp-trigger .gnp-chevron{width:13px;height:13px;flex-basis:13px;transition:transform .16s}
#masthead .gnp-trigger[aria-expanded=true] .gnp-chevron{transform:rotate(180deg)}
#masthead .gnp-wallet.is-open{z-index:1005}
#masthead .gnp-dropdown{position:absolute;right:0;top:calc(100% + 14px);width:270px;max-width:calc(100vw - 32px);z-index:1005;padding:8px;border:1px solid #e4e7ef;border-top:3px solid var(--ast-global-color-0,#f0a00a);border-radius:0 0 13px 13px;background:#fff;color:#19233f;box-sizing:border-box;box-shadow:0 14px 34px #10172e26;animation:gnp-enter .16s ease-out}
#masthead .gnp-dropdown::before{content:"";position:absolute;bottom:100%;left:0;right:0;height:18px}
#masthead .gnp-dropdown a{display:flex;align-items:center;gap:11px;min-height:46px;margin:0;padding:11px 12px;border:0;border-radius:7px;background:transparent;color:#19233f;font:500 13px/1.4 Roboto,sans-serif;text-decoration:none;white-space:normal;box-shadow:none;transition:background .14s}
#masthead .gnp-dropdown a svg{width:18px;height:18px;flex:0 0 18px;color:#7d879d}
#masthead .gnp-dropdown a:hover,#masthead .gnp-dropdown a:focus-visible{background:#fff5e5;color:#19233f}
#masthead .gnp-dropdown a.gnp-create{background:#fff5e5}
#masthead .gnp-dropdown a.gnp-create:hover{background:#ffedcb}
#masthead .gnp-dropdown a.gnp-create svg{color:#a56b08}
#masthead .gnp-trigger:focus-visible,#masthead .gnp-dropdown a:focus-visible{outline:2px solid #805600;outline-offset:3px}
#ast-desktop-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .site-header-primary-section-center{gap:8px}
#ast-desktop-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .ast-header-account,#ast-desktop-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .ast-header-woo-cart{flex-shrink:0}
#ast-desktop-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .ast-header-woo-cart{margin-left:6px;padding-left:8px;border-left:1px solid #25243d26}
@media(min-width:1400px){
 #masthead #ast-desktop-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .ast-search-menu-icon:has(.gks-inline){width:clamp(150px,calc(100vw - 1290px),280px)}
}
@media(min-width:1280px) and (max-width:1399px){
 #masthead #ast-desktop-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .ast-search-menu-icon:has(.gks-inline){width:clamp(150px,calc(100vw - 1130px),240px)}
}
@media(min-width:922px) and (max-width:1279px){
 #masthead #ast-desktop-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .site-header-primary-section-center{flex-wrap:wrap!important;justify-content:center;gap:8px 12px;padding-top:12px;padding-bottom:8px;width:100%}
 #masthead #ast-desktop-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .site-header-primary-section-center>.ast-builder-menu-1{order:5!important;flex-basis:100%!important;justify-content:center;margin:0}
 #masthead #ast-desktop-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .site-header-primary-section-center>.ast-header-search{margin-left:auto}
 #masthead #ast-desktop-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .ast-search-menu-icon:has(.gks-inline){width:clamp(180px,calc(100vw - 740px),270px)}
}
#masthead .gnp-mobile{width:100%;margin:0 0 14px;padding-bottom:14px;border-bottom:1px solid #e5e8ef}
#masthead .gnp-mobile .gnp-trigger{width:100%;justify-content:flex-start;min-height:46px;background:#fff5e5;border-color:#f0dfb9}
#masthead .gnp-mobile .gnp-chevron{margin-left:auto}
#masthead .gnp-mobile .gnp-dropdown{position:static;width:100%;max-width:none;margin-top:6px;padding:4px 0 0;border:0;border-radius:0;box-shadow:none;animation:gnp-enter .16s ease-out}
#masthead .gnp-mobile .gnp-dropdown::before{display:none}
/* Keep a labelled wallet before search, on the same row as the store logo. */
@media(max-width:921px){
 #masthead #ast-mobile-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .ast-primary-header-bar{padding-left:12px;padding-right:12px}
 #masthead #ast-mobile-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .ast-builder-grid-row{grid-template-columns:minmax(0,1fr) auto;column-gap:6px}
 #masthead #ast-mobile-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .site-header-primary-section-left{min-width:0}
 #masthead #ast-mobile-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .site-header-primary-section-left>[data-section=title_tagline]{min-width:0;margin:0;padding:0}
 #masthead #ast-mobile-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .site-branding{min-width:0;max-width:120px;padding:0;margin:0}
 #masthead #ast-mobile-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .custom-logo{width:120px;max-width:100%;height:auto}
 #masthead #ast-mobile-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .site-header-primary-section-right{gap:4px;flex-wrap:nowrap}
 #masthead #ast-mobile-header:is(.gnp-active,:has(.gnp-wallet:not([hidden]))) .site-header-primary-section-right>.ast-builder-layout-element{margin-left:0!important;margin-right:0!important;padding-left:0;padding-right:0}
 #masthead .gnp-header-mobile{align-self:center;margin:0;max-width:none}
 #masthead .gnp-header-mobile .gnp-trigger{height:42px;min-height:42px;min-width:54px;gap:4px;padding:0 6px;border-radius:8px;font-size:9px;background:#ffffff38}
 #masthead .gnp-header-mobile .gnp-value{flex-direction:column;align-items:center;gap:1px;line-height:1}
 #masthead .gnp-header-mobile .gnp-trigger strong{font-size:14px;line-height:1;font-weight:650}
 #masthead .gnp-header-mobile .gnp-trigger .gnp-spark{width:12px;height:12px;flex-basis:12px}
 #masthead .gnp-header-mobile .gnp-trigger .gnp-chevron{display:none}
 #masthead .gnp-header-mobile .gnp-dropdown{position:fixed;left:auto;right:12px;top:var(--gnp-menu-top);width:270px;border-radius:11px}
 #masthead .gnp-header-mobile .gnp-dropdown a{min-height:48px}
}
@keyframes gnp-enter{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#masthead .gnp-dropdown{animation:none}#masthead .gnp-trigger,#masthead .gnp-chevron,#masthead .gnp-dropdown a{transition:none}}

#masthead .gnp-wallet.is-loading [data-gnp-balance]{opacity:.45}

/* Gecko Maker is a direct destination, rendered before first paint. */
#masthead .gm-nav-link{min-width:150px;text-decoration:none;gap:0}
#masthead .gm-nav-link .gm-nav-wordmark{display:inline-flex;align-items:baseline;gap:4px;font:400 18px/1.25 Roboto,Arial,sans-serif;letter-spacing:-.65px;color:#27253f}
#masthead .gm-nav-link .gm-nav-wordmark>span{font:inherit;letter-spacing:inherit}
#masthead .gm-nav-link .gm-nav-wordmark>strong{font:800 18px/1.25 Roboto,Arial,sans-serif;letter-spacing:inherit;background:linear-gradient(transparent 85%,#fff1bf 85%);padding-bottom:1px}
@media(max-width:921px){
 #masthead .gnp-header-mobile .gm-nav-link{width:66px;min-width:66px;height:44px;min-height:44px;padding:3px 7px}
 #masthead .gnp-header-mobile .gm-nav-wordmark{flex-direction:column;align-items:center;gap:0;font-size:11px;line-height:1.05;letter-spacing:-.2px}
 #masthead .gnp-header-mobile .gm-nav-wordmark>strong{font-size:15px;line-height:1.15;letter-spacing:-.45px}
}
