/* Unified public header - intentionally independent from legacy JS navigation */
[data-sm-old-header="1"]{display:none!important}
#sm-unified-header{position:sticky;top:0;z-index:9999;background:#ffffff;color:#213a2d;border-bottom:2px solid #e4aa1d;box-shadow:0 8px 22px #0004;font:600 14px/1.4 Arial,Helvetica,sans-serif}
#sm-unified-header *{box-sizing:border-box}
#sm-unified-header .sm-unified-inner{max-width:1320px;min-height:76px;margin:auto;padding:10px 22px;display:flex;align-items:center;gap:22px}
#sm-unified-header a{color:#213a2d;text-decoration:none}
#sm-unified-header .sm-brand-link{display:flex;align-items:center;gap:10px;flex:0 0 auto}
#sm-unified-header .sm-logo-slot{width:172px;height:50px;display:grid;align-items:center}
#sm-unified-header .sm-logo-slot img{width:100%;height:100%;object-fit:contain}
#sm-unified-header .sm-logo-slot strong{font-size:23px;letter-spacing:.045em;color:#edba27}
#sm-unified-header .sm-brand-link small{font-size:9px;color:#506b5e;letter-spacing:.1em;max-width:68px}
#sm-unified-nav{display:flex;align-items:center;gap:7px;margin-left:auto}
#sm-unified-nav>a,#sm-unified-header .sm-menu-trigger{display:inline-flex;align-items:center;min-height:43px;padding:10px 12px;border-radius:8px;background:transparent;color:#213a2d;border:0;font:inherit;cursor:pointer}
#sm-unified-nav>a:hover,#sm-unified-header .sm-menu-trigger:hover{background:#e9efe7;color:#8b6500}
#sm-unified-header .sm-unified-dropdown{position:relative}
#sm-unified-header .sm-machinery-groups{display:none;position:absolute;top:100%;left:0;width:320px;max-width:90vw;padding:12px;background:#ffffff;border:1px solid #d6e0d7;border-top:3px solid #edba27;box-shadow:0 16px 38px #0008;border-radius:0 0 12px 12px}
#sm-unified-header .sm-unified-dropdown:hover .sm-machinery-groups,#sm-unified-header .sm-unified-dropdown:focus-within .sm-machinery-groups,#sm-unified-header .sm-unified-dropdown.open .sm-machinery-groups{display:grid;gap:4px}
#sm-unified-header .sm-machinery-groups a{padding:11px 12px;border-radius:7px}
#sm-unified-header .sm-machinery-groups a:hover{background:#f5e6af;color:#123322}
#sm-unified-header .sm-header-ctas{display:flex;gap:8px}
#sm-unified-header .sm-header-ctas a{padding:10px 13px;border-radius:7px;background:#177c47}
#sm-unified-header .sm-header-ctas a:last-child{background:#167bb2}
#sm-unified-header .sm-mobile-toggle{display:none;background:#e8efe9;color:#1d3d2e;border:1px solid #a8bbad;border-radius:8px;padding:11px;font:inherit}
.product-card img,.machine-card img,.category-card img,.sm-product-media img{object-fit:contain!important;max-width:100%}
@media(max-width:1050px){#sm-unified-header .sm-unified-inner{flex-wrap:wrap}#sm-unified-header .sm-mobile-toggle{display:block;margin-left:auto}#sm-unified-nav{display:none;width:100%;order:3;flex-direction:column;align-items:stretch;margin:0}#sm-unified-nav.open{display:flex}#sm-unified-header .sm-machinery-groups{position:static;width:100%;max-width:100%;box-shadow:none}#sm-unified-header .sm-unified-dropdown:hover .sm-machinery-groups{display:none}#sm-unified-header .sm-unified-dropdown.open .sm-machinery-groups{display:grid}#sm-unified-header .sm-header-ctas{margin-left:auto}}
@media(max-width:580px){#sm-unified-header .sm-logo-slot{width:130px;height:40px}#sm-unified-header .sm-logo-slot strong{font-size:18px}#sm-unified-header .sm-brand-link small{display:none}#sm-unified-header .sm-header-ctas{width:100%;justify-content:space-between}#sm-unified-header .sm-header-ctas a{flex:1;text-align:center}}

/* Final shared visual identity: anthracite + gold, one common header */
#sm-unified-header{background:#101417!important;color:#f5f5f5!important;border-color:#e8b222!important}
#sm-unified-header a,#sm-unified-header .sm-menu-trigger{color:#f5f5f5!important}
#sm-unified-header .sm-machinery-groups{background:#151b20!important;border-color:#323a3f!important}
#sm-unified-header .sm-machinery-groups a:hover{background:#e8b222!important;color:#131313!important}
#sm-unified-header .sm-menu-trigger:hover,#sm-unified-nav>a:hover{background:#252d30!important;color:#efbf32!important}
#sm-unified-header .sm-header-ctas a{color:#fff!important}
#sm-unified-header .sm-brand-link{min-width:0}
#sm-unified-header .sm-logo-slot{width:190px;max-width:32vw}
#sm-unified-header .sm-unified-dropdown:hover .sm-machinery-groups{display:grid!important;gap:4px}
#sm-unified-header .sm-unified-dropdown:before{content:'';height:14px;position:absolute;top:100%;left:0;right:0}
#sm-unified-header .sm-machinery-groups{top:calc(100% + 3px)}
#sm-unified-header~.header,#sm-unified-header~.announce{display:none!important}
.kcard-img img,.product-card img,.machine-card img,.sm-product-media img,.cards4 img{object-fit:contain!important;max-width:100%;max-height:100%}
.kcard-img{overflow:hidden!important}
.kcard-img a{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}
.sm-global-world{position:relative;background:radial-gradient(circle at 20% 30%,#20323c,#101820 70%)!important;overflow:hidden}
.sm-global-world:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.3;background-size:cover;background-position:center;background-image:url('/assets/soilmaster-world-network.svg')}
.sm-global-world>*{position:relative;z-index:1}
@media(max-width:1050px){#sm-unified-header .sm-unified-dropdown:hover .sm-machinery-groups{display:none!important}#sm-unified-header .sm-unified-dropdown.open .sm-machinery-groups{display:grid!important}}

/* Single visual system - enforced for all CMS and SEO views. */
#sm-unified-header{background:#101417!important;color:#f8f8f8!important;border-color:#efb728!important}
#sm-unified-header .sm-unified-dropdown{padding-bottom:12px;margin-bottom:-12px}
#sm-unified-header .sm-machinery-groups{top:100%!important;background:#151a1e!important}
#sm-unified-header .sm-logo-slot img{object-fit:contain!important;max-width:100%!important;max-height:100%!important}
body{overflow-x:hidden}
#sm-unified-header ~ header:not(#sm-unified-header){display:none!important}
.sm-global-world{background:linear-gradient(135deg,#111b23,#0e1217)!important;isolation:isolate}
.sm-global-world:before{opacity:.65!important;background-size:contain!important;background-repeat:no-repeat!important}
.sm-global-world>*{position:relative;z-index:1}
@media(max-width:1050px){#sm-unified-header .sm-unified-dropdown{padding-bottom:0;margin-bottom:0}}
