/* Header dedicated to Agriverde. Menu and catalog remain native WordPress / WooCommerce. */
#header-outer,#header-space,#header-secondary-outer{display:none!important}
#ajax-content-wrap{padding-top:0!important}.agh{--agh-blue:#18723c;--agh-ink:#192b20;--agh-line:#e8e8e3;background:#fff;color:var(--agh-ink);font-family:'DM Sans',sans-serif;position:relative;z-index:999;isolation:isolate}.agh *{box-sizing:border-box}.agh a,.agh button{color:inherit;text-decoration:none}.agh svg{width:24px;height:24px;display:block;flex-shrink:0}.agh button{border:0;background:none;cursor:pointer;font:inherit;padding:0;box-shadow:none}.agh-container{width:91%;max-width:1800px;margin:0 auto}.agh-top{background:var(--agh-blue);color:white}.agh-top-inner{min-height:42px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;font-size:14px}.agh-social{display:flex;gap:8px}.agh-social a{width:30px;height:30px;border:1px solid #ffffff55;border-radius:50%;display:grid;place-items:center}.agh-social svg{width:18px;height:18px}.agh-shipping{display:flex;gap:14px;align-items:center;margin:0!important;padding:0!important;font-size:14px;line-height:1.4}.agh-shipping svg{width:22px}.agh-separator{opacity:.7}.agh-conditions{justify-self:end;text-decoration:underline!important;text-underline-offset:4px;font-size:14px;white-space:nowrap}.agh-main{display:grid;grid-template-columns:180px minmax(220px,1fr) auto;gap:38px;align-items:center;min-height:104px}.agh-logo{display:block}.agh-logo img{width:100%;height:auto;display:block;animation:agh-logo-in 1.3s ease-out both}.agh-search{margin:0!important;border-bottom:1px solid #b8bdb4;display:flex;align-items:center;min-width:0;height:48px}.agh-search input[type=search]{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:var(--agh-ink)!important;padding:10px 0!important;margin:0!important;width:100%;font:inherit;font-size:17px;min-width:0;outline:none}.agh-search input::placeholder{color:#777!important;opacity:1}.agh-search button{padding:10px!important;flex-shrink:0}.agh-actions{display:flex;align-items:center;gap:22px;font-size:16px;white-space:nowrap}.agh-account,.agh-cart{display:flex;align-items:center;gap:12px}.agh-contact{font-weight:700;color:var(--agh-blue)!important}.agh-wishlist-toggle{padding:8px!important}.agh-cart-count{display:grid;place-items:center;min-width:29px;height:29px;padding:0 7px;border-radius:50%;background:var(--agh-blue);color:#fff;font-size:15px;line-height:1;flex-shrink:0;aspect-ratio:1}.agh-navigation{border-top:1px solid var(--agh-line);border-bottom:1px solid #daddd5}.agh-menu{display:flex;align-items:center;list-style:none!important;margin:0!important;padding:0!important;gap:28px;min-height:72px}.agh-menu>li{list-style:none!important;margin:0!important;padding:0!important;position:relative}.agh-menu>li>a{display:block;padding:15px 0;font-size:16px;line-height:1.3}.agh-menu>li:first-child>a,.agh-menu>li:nth-last-child(2)>a,.agh-menu>li:last-child>a{color:var(--agh-blue);font-weight:700}.agh-menu>li:nth-last-child(2){margin-left:auto!important}.agh-menu>li:last-child>a{padding:15px 20px;background:#eef1ff;border-radius:3px}.agh-menu>li:nth-child(5)>a:after{content:'';display:inline-block;width:5px;height:5px;margin:0 0 3px 8px;border-radius:50%;background:var(--agh-blue)}.agh-menu .sub-menu{position:absolute;top:100%;left:0;display:none;min-width:220px;background:white;padding:16px;list-style:none;box-shadow:0 6px 20px #17294b15}.agh-menu li:hover>.sub-menu,.agh-menu li:focus-within>.sub-menu{display:block}.agh-menu-toggle{display:none!important}.agh a:focus-visible,.agh button:focus-visible{outline:2px solid #6f8aff;outline-offset:5px}.agh-search:focus-within{border-color:var(--agh-blue)}
.agh-wishlist{border:1px solid #e0e4ed;border-radius:16px;padding:28px;width:min(600px,calc(100vw - 32px));color:#192b20;background:white;max-height:85vh;overflow:auto}.agh-wishlist::backdrop{background:#101a2a66}.agh-wishlist-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.agh-wishlist h2{font-family:Manrope,sans-serif;font-size:26px;line-height:1.3;margin:0}.agh-wishlist p{font-size:15px}.agh-wishlist-close{border:0;background:transparent;padding:5px;cursor:pointer}.agh-wishlist svg{width:24px;height:24px}.agh-wishlist-item{display:grid;grid-template-columns:60px 1fr 30px;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid #eee}.agh-wishlist-item img{width:60px;height:70px;object-fit:contain}.agh-wishlist-item button{border:0;background:transparent;font-size:24px;cursor:pointer}.agh-save-product{position:absolute!important;top:12px!important;right:12px!important;z-index:4!important;background:#fff!important;color:#18723c!important;border:1px solid #e1e7f4!important;border-radius:50%!important;width:36px!important;height:36px!important;min-width:0!important;padding:0!important;font-size:23px!important;display:grid!important;place-items:center!important;box-shadow:none!important;cursor:pointer!important}.agh-save-product[aria-pressed=true]{background:#18723c!important;color:#fff!important}.woocommerce ul.products li.product{position:relative}.single-product .summary .agh-save-product{position:static!important;width:auto!important;border-radius:3px!important;padding:10px 15px!important;font-size:16px!important;height:auto!important;margin:15px 0!important}
@keyframes agh-logo-in{0%{opacity:0;clip-path:inset(0 80% 0 0)}25%{opacity:1;clip-path:inset(0 80% 0 0)}100%{opacity:1;clip-path:inset(0)}}
@media(min-width:1600px){.agh-main{grid-template-columns:220px minmax(300px,1fr) auto;min-height:120px;gap:50px}.agh-actions{gap:26px;font-size:18px}.agh-search input[type=search]{font-size:20px}.agh-menu{gap:38px;min-height:78px}.agh-menu>li>a{font-size:18px}.agh-top-inner,.agh-shipping,.agh-conditions{font-size:16px}}
@media(max-width:1250px) and (min-width:1000px){.agh-main{grid-template-columns:155px minmax(200px,1fr) auto;gap:24px}.agh-actions{gap:14px;font-size:14px}.agh-account{gap:8px}.agh-menu{gap:19px}.agh-menu>li>a{font-size:14px}.agh-search input[type=search]{font-size:15px}}
@media(max-width:999px){.agh-top-inner{display:flex;justify-content:center;min-height:36px}.agh-social,.agh-conditions,.agh-shipping>span{display:none}.agh-shipping,.agh-shipping strong{font-size:13px}.agh-main{grid-template-columns:150px 1fr;gap:12px;min-height:0;padding-top:18px;padding-bottom:16px}.agh-actions{justify-content:flex-end;gap:18px}.agh-contact,.agh-account span,.agh-cart>span:first-child{display:none}.agh-account svg{width:23px}.agh-cart-count{height:27px;min-width:27px;font-size:14px}.agh-menu-toggle{display:block!important}.agh-search{grid-row:2;grid-column:1/-1;height:43px;margin-top:4px!important}.agh-search input[type=search]{font-size:16px}.agh-navigation{display:none}.agh-navigation.is-open{display:block}.agh-menu{display:block;min-height:0;padding:14px 0 20px!important}.agh-menu>li:nth-last-child(2){margin-left:0!important}.agh-menu>li>a{font-size:17px;padding:13px 0}.agh-menu>li:last-child>a{display:inline-block;padding:12px 20px}.agh-menu .sub-menu{position:static;box-shadow:none}.agh-wishlist-toggle{padding:0!important}}
@media(max-width:420px){.agh-main{grid-template-columns:135px 1fr}.agh-actions{gap:13px}.agh-actions svg{width:21px;height:21px}.agh-container{width:90%}}
@media(prefers-reduced-motion:reduce){.agh-logo img{animation:none}}
#agriverde-proposta-header .agh-search button{background:transparent!important;color:#192b20!important;box-shadow:none!important;border:0!important;border-radius:0!important;transform:none!important}#agriverde-proposta-header .agh-actions button{background:transparent!important;color:inherit!important;box-shadow:none!important;transform:none!important}#agriverde-proposta-header .agh-actions button:before,#agriverde-proposta-header .agh-search button:before{display:none!important}
html[data-wp-dark-mode-active] #agriverde-proposta-header{background:#19212e;color:#edf2fa}html[data-wp-dark-mode-active] #agriverde-proposta-header .agh-navigation{border-color:#354052}html[data-wp-dark-mode-active] #agriverde-proposta-header .agh-search input[type=search]{color:#edf2fa!important}html[data-wp-dark-mode-active] #agriverde-proposta-header .agh-search button{color:#edf2fa!important}html[data-wp-dark-mode-active] #agriverde-proposta-header .agh-search input::placeholder{color:#bac4d5!important}html[data-wp-dark-mode-active] #agriverde-proposta-header .agh-contact,html[data-wp-dark-mode-active] #agriverde-proposta-header .agh-menu>li:first-child>a,html[data-wp-dark-mode-active] #agriverde-proposta-header .agh-menu>li:nth-last-child(2)>a{color:#afbdff!important}html[data-wp-dark-mode-active] #agriverde-proposta-header .agh-logo{background:white;padding:7px;border-radius:4px}html[data-wp-dark-mode-active] #agriverde-proposta-header .sub-menu{background:#222d3e}
@media(min-width:1000px){#agriverde-proposta-header .agh-search{max-width:520px;width:100%}}
/* New arrivals: clear label in place of the dot. */
.agh .agh-menu>li:nth-child(5)>a:after{content:'NEW';width:auto;height:auto;display:inline-flex;align-items:center;vertical-align:middle;margin:0 0 1px 8px;padding:3px 5px;border-radius:3px;background:#eef1ff;color:#18723c;font-family:'DM Sans',Arial,sans-serif;font-size:9px;font-weight:700;letter-spacing:.6px;line-height:1.1}
/* Entrance runs once per tab session; AJAX and subsequent navigation keep a static logo. */
#agriverde-proposta-header .agh-logo img{animation:none!important;opacity:1;clip-path:none}
html.agriverde-logo-first-visit #agriverde-proposta-header .agh-logo img{animation:agh-logo-in 1.3s ease-out both!important}
@media(prefers-reduced-motion:reduce){html.agriverde-logo-first-visit #agriverde-proposta-header .agh-logo img{animation:none!important}}
/* New arrivals: highlight the label itself, without a NEW badge. */
#agriverde-proposta-header .agh-menu>li:nth-child(5)>a{position:relative;isolation:isolate;color:#18723c!important;font-weight:700;padding:12px 14px;border-radius:7px;background:#eef1ff;overflow:hidden;box-shadow:inset 0 0 0 1px #18723c12;transition:background .2s,box-shadow .2s}
#agriverde-proposta-header .agh-menu>li:nth-child(5)>a:after{content:none!important;display:none!important}
#agriverde-proposta-header .agh-menu>li:nth-child(5)>a:before{content:'';position:absolute;inset:-30% auto -30% -70%;width:45%;background:linear-gradient(100deg,transparent,#ffffffc9,transparent);transform:skewX(-18deg);z-index:-1;pointer-events:none;animation:agh-arrivals-shine 5.5s ease-in-out infinite}
#agriverde-proposta-header .agh-menu>li:nth-child(5)>a:hover{background:#e3e9ff;box-shadow:inset 0 0 0 1px #18723c40}
@keyframes agh-arrivals-shine{0%,60%{left:-70%;opacity:0}65%{opacity:1}90%,100%{left:140%;opacity:0}}
@media(max-width:999px){#agriverde-proposta-header .agh-menu>li:nth-child(5)>a{display:inline-block;padding:12px 16px;margin:3px 0}}
@media(prefers-reduced-motion:reduce){#agriverde-proposta-header .agh-menu>li:nth-child(5)>a:before{animation:none;display:none}}
