/* Modal de boas-vindas: mais espaço para a colheitadeira. */
html body .hm-home-popup .hm-home-popup__dialog{width:min(1040px,100%);grid-template-columns:55% 45%}
html body .hm-home-popup .hm-home-popup__image img{object-fit:contain;transform:scale(1.08)!important;transform-origin:center}
html body .hm-home-popup .hm-home-popup__body{min-width:0}

/* Atendimento no mesmo formato limpo, com a foto dos comandos. */
html body #hm-specialist-dialog .hm-specialist-card{width:min(1000px,100%);max-height:calc(100dvh - 40px);display:grid;grid-template-columns:minmax(0,45%) minmax(0,55%);overflow:hidden;background:#fff;border-radius:20px}
html body #hm-specialist-dialog .hm-specialist-photo{min-height:590px;overflow:hidden}
html body #hm-specialist-dialog .hm-specialist-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
html body #hm-specialist-dialog .hm-specialist-content{min-width:0;max-height:calc(100dvh - 40px);overflow-y:auto;scrollbar-width:thin}
html body #hm-specialist-dialog .hm-specialist-content .hm-lead-form{padding:48px 44px 22px;border:0}
html body #hm-specialist-dialog .hm-specialist-social{padding:18px 44px}
html body #hm-specialist-dialog .hm-specialist-close{z-index:2}

/* O ícone acompanha a cor branca do botão. */
html body.single-product .hp-product-summary-card a.hp-out-of-stock-specialist svg,
html body.single-product .hp-product-summary-card a.hp-out-of-stock-specialist svg path{color:#fff!important;fill:#fff!important;stroke:none!important}

/* Produtos indisponíveis continuam identificados, com atendimento legível. */
html body.hp-shop-model-4 .hp-shop-query .hp-product-grid > li.hm-unavailable-with-whatsapp{opacity:1!important}
html body .hm-unavailable-with-whatsapp .wp-block-woocommerce-product-button{opacity:1!important}
html body .hm-catalog-whatsapp{display:flex!important;align-items:center;justify-content:center;min-height:44px;width:100%;padding:10px 14px;border-radius:6px;background:#beff5d!important;color:#003c32!important;text-decoration:none!important;font-weight:700;box-sizing:border-box;opacity:1!important}
html body .hm-catalog-whatsapp:hover,html body .hm-catalog-whatsapp:focus-visible{background:#a9ee4d!important;color:#003c32!important}
html body .hm-catalog-whatsapp{gap:9px}
html body .hm-catalog-whatsapp svg,html body .hm-catalog-whatsapp svg path{width:18px;height:18px;flex:none;color:#beff5d!important;fill:#beff5d!important}
@media(min-width:851px){
 html body.hm-is-scrolled .hm-header .hm-nav{left:38%;transition:left .25s ease}
 html body.hm-is-scrolled .hm-header .hm-search input{border-radius:6px}
 html body.hm-is-scrolled .hm-header .hm-search:focus-within input,html body.hm-is-scrolled .hm-header .hm-search:hover input{width:185px}
}
@media(max-width:700px){
 html body .hm-home-popup .hm-home-popup__dialog{grid-template-columns:1fr}
 html body .hm-home-popup .hm-home-popup__image img{transform:scale(1.04)!important}
 html body #hm-specialist-dialog .hm-specialist-card{display:block;overflow-y:auto;scrollbar-width:thin}
 html body #hm-specialist-dialog .hm-specialist-photo{height:190px;min-height:0}
 html body #hm-specialist-dialog .hm-specialist-content{max-height:none;overflow:visible}
 html body #hm-specialist-dialog .hm-specialist-content .hm-lead-form{padding:28px 24px 18px}
 html body #hm-specialist-dialog .hm-specialist-social{padding:16px 24px}
}

/* Marca branca e busca legível nos dois estados do cabeçalho. */
html body.hm-is-scrolled .hm-header .hm-logo::after{content:none!important}
html body.hm-is-scrolled .hm-header .hm-logo .hm-logo-custom-scroll{display:none!important}
html body.hm-is-scrolled .hm-header .hm-logo .hm-logo-custom-light{display:block!important;visibility:visible!important}
html body .hm-header .hm-search button{z-index:2}
html body .hm-header .hm-search input{box-sizing:border-box;border-radius:6px!important}
html body.search:not(.hm-is-scrolled) .hm-header-wrap{background:#002d24!important}
html body.search:not(.hm-is-scrolled) .hm-header-wrap::before{display:none!important}
html body.search:not(.hm-is-scrolled) .hm-header-wrap :is(.hm-nav a,.hm-icon-link,.hm-search button,.hm-menu-toggle){color:#fff!important}
html body.search:not(.hm-is-scrolled) .hm-header .hm-logo .hm-logo-custom-light{display:block!important}
html body.search:not(.hm-is-scrolled) .hm-header .hm-logo .hm-logo-custom-primary{display:none!important}
@media(min-width:851px){
 html body .hm-header .hm-search.is-open input{width:195px;padding:10px 34px 10px 15px;opacity:1}
 html body .hm-header .hm-search:is(.is-open,:hover,:focus-within) button{position:absolute;right:6px;color:#003c32!important}
 html body.search:not(.hm-is-scrolled) .hm-header-wrap .hm-search:is(.is-open,:hover,:focus-within) button,html body.single-product .hm-header-wrap .hm-search:is(.is-open,:hover,:focus-within) button{color:#003c32!important}
}
@media(max-width:850px){
 html body .hm-header .hm-head-actions{gap:12px}
 html body .hm-header .hm-search,html body .hm-header .hm-account{display:flex!important}
 html body .hm-header .hm-search{position:relative;width:26px;flex:0 0 26px}
 html body .hm-header .hm-search input[type=search]{position:absolute;right:-80px;top:44px;width:0;opacity:0;padding:0;box-shadow:0 8px 24px #002d2433}
 html body .hm-header .hm-search.is-open input[type=search],html body .hm-header .hm-search:focus-within input[type=search]{width:min(280px,calc(100vw - 36px));padding:12px 14px;opacity:1}
 html body .hm-header .hm-search button,html body .hm-header .hm-search:is(:hover,:focus-within) button{position:relative;right:auto;color:#fff!important}
 html body .hm-header .hm-logo .hm-logo-custom{width:165px!important;max-width:165px!important}
 html body.single-product .hm-header-wrap{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;background:#002d24!important;backdrop-filter:none!important}
 html body.single-product.admin-bar .hm-header-wrap{top:46px!important}
 html body .hm-danfoss-row .hm-danfoss-carousel ul.products{justify-content:start!important;grid-auto-flow:column!important;grid-template-columns:none!important;direction:ltr!important;scroll-padding-left:0!important}
 html body .hm-danfoss-row .hm-danfoss-carousel ul.products li.product{grid-column:auto!important;grid-row:auto!important}
}
@media(max-width:380px){html body .hm-header .hm-head-actions{gap:8px}html body .hm-header .hm-logo .hm-logo-custom{width:145px!important;max-width:145px!important}}

/* Busca com área própria para cada ícone, no topo e no cabeçalho fixo. */
@media(min-width:851px){
 html body .hm-header .hm-search:is(.is-open,:focus-within,:hover) input[type=search]{padding-right:48px!important}
 html body .hm-header .hm-search:is(.is-open,:focus-within,:hover) button{right:4px!important;width:36px!important;height:36px!important;display:grid!important;place-items:center!important;padding:0!important}
 html body .hm-header .hm-search input[type=search]::-webkit-search-cancel-button{margin-right:2px}
}
@media(max-width:850px){
 html body .hm-header .hm-head-actions{display:flex!important;align-items:center!important;flex:none!important;gap:8px!important}
 html body .hm-header .hm-search{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:30px!important;min-width:30px!important;height:38px!important;flex:0 0 30px!important}
 html body .hm-header .hm-search button,html body .hm-header .hm-search:is(.is-open,:hover,:focus-within) button{position:static!important;display:grid!important;place-items:center!important;width:30px!important;height:38px!important;padding:0!important;flex:none!important;transform:none!important;z-index:3}
 html body .hm-header .hm-search input[type=search]{top:46px!important;right:-82px!important}
 html body .hm-header .hm-account,html body .hm-header .hm-cart{width:26px!important;min-width:26px!important;justify-content:center!important;flex:0 0 26px!important}
 html body .hm-header .hm-menu-toggle{padding:5px!important;flex:none!important}
 html body .hm-mobile-nav:not([hidden]){max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain}
 html body .hm-mobile-category-group>summary{display:flex;justify-content:space-between;align-items:center;list-style:none;padding:14px 5px;color:#beff5d;border-bottom:1px solid #ffffff24;cursor:pointer}
 html body .hm-mobile-category-group>summary::-webkit-details-marker{display:none}
 html body .hm-mobile-category-group[open]>summary span:last-child{transform:rotate(180deg)}
 html body .hm-mobile-category-children{padding-left:16px;border-left:1px solid #ffffff28}
 html body .hm-mobile-category-link{display:block;padding:12px 5px;color:#e6f4e8!important;text-decoration:none}
 html body .hm-mobile-nav .hm-mobile-specialist{display:flex;align-items:center;justify-content:space-between;margin:20px 0 8px;padding:14px 18px;border:0;border-radius:8px;background:#beff5d;color:#002d24!important;font-weight:700;animation:hm-mobile-contact-pulse 2.6s infinite}
 html body .hm-mobile-nav .hm-mobile-specialist:hover,html body .hm-mobile-nav .hm-mobile-specialist:focus-visible{background:#a9ee4d;transform:translateY(-2px)}
}
@keyframes hm-mobile-contact-pulse{0%,100%{box-shadow:0 0 0 0 #beff5d55}50%{box-shadow:0 0 0 7px #beff5d18}}
@media(prefers-reduced-motion:reduce){html body .hm-mobile-nav .hm-mobile-specialist{animation:none}}

/* Avisos do checkout e widgets de verificação fornecidos pelo plugin ativo. */
html body.hp-block-checkout-page .hp-checkout-account-recognition:has(.hp-account-required-message){border-color:#d89325!important;box-shadow:0 0 0 3px #f6c75e55;flex-wrap:wrap}
html body.hp-block-checkout-page .hp-account-required-message{flex-basis:100%;margin:8px 0 0;color:#744900;font-size:14px;font-weight:600}
html body.hp-block-checkout-page .hp-checkout-progress ol::after{width:var(--hp-progress-complete,0%)!important}
html body.woocommerce-account:not(.logged-in) :is(.g-recaptcha,.h-captcha,[class*="recaptcha" i]):not(.grecaptcha-badge){visibility:visible;max-width:100%}

/* Confirmação: mesmo cabeçalho fixo da página de produto. */
html body.hp-order-received-page .hm-header-wrap,html body.hp-order-received-page.hm-is-scrolled .hm-header-wrap{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;background:#002d24!important;color:#fff!important;transform:none!important;box-shadow:0 12px 28px #001d1a20!important}
html body.hp-order-received-page .hm-header-wrap::before{display:none!important}
html body.hp-order-received-page .hm-header-wrap .hm-header,html body.hp-order-received-page.hm-is-scrolled .hm-header-wrap .hm-header{width:100%!important;max-width:none!important;min-height:86px!important;margin:0!important;padding-inline:32px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body.hp-order-received-page .hm-header-wrap :is(.hm-logo,.hm-nav a,.hm-icon-link,.hm-search button,.hm-menu-toggle){color:#fff!important}
html body.hp-order-received-page .hm-header .hm-logo .hm-logo-custom-light{display:block!important;visibility:visible!important}
html body.hp-order-received-page .hm-header .hm-logo :is(.hm-logo-custom-primary,.hm-logo-custom-scroll){display:none!important}
html body.hp-order-received-page .hm-header .hm-logo::after{content:none!important}
html body.hp-order-received-page .hp-checkout-progress{background:transparent!important;border:0!important;box-shadow:none!important}
html body.hp-order-received-page .hp-checkout-progress ol::after{width:83.334%!important}
html body.hp-block-checkout-page .hp-pix-document-access{display:inline-flex;margin:0 0 12px;padding:9px 12px;border:1px solid #a5d4b4;border-radius:6px;background:#eff9ed;color:#003c32;font-size:13px;font-weight:600;cursor:pointer}
html body.hp-block-checkout-page .hp-pix-document-access:hover,html body.hp-block-checkout-page .hp-pix-document-access:focus-visible{background:#beff5d}
html body.hp-block-checkout-page .hp-pix-document-message{color:#925b0b;font-size:13px}
@media(min-width:851px){html body.hp-order-received-page .hm-header .hm-search:is(.is-open,:hover,:focus-within) button{color:#003c32!important}}
@media(max-width:850px){html body.hp-order-received-page .hm-header-wrap .hm-header{min-height:70px!important;padding-inline:18px!important}html body.hp-order-received-page.admin-bar .hm-header-wrap{top:46px!important}}
