/* Modern Metal V8: scoped, final-stage repairs. */
body.os-metal-v2{--mm-panel:#101d29;--mm-panel2:#172635;--mm-edge:#33485c;--mm-text:#f5f7fa;--mm-muted:#b6c7d9;--mm-gold:#d4aa62}
/* The search is inside a header stacking context. Raise the parent, not only the dropdown. */
@media(min-width:992px){
 body.os-metal-v2 .os-desktop-shell{position:relative!important;z-index:5000!important;overflow:visible!important}
 body.os-metal-v2 .os-header-main{position:relative!important;z-index:5500!important;overflow:visible!important}
 body.os-metal-v2 .os-header-main>.container{overflow:visible!important}
 body.os-metal-v2 .os-search{position:relative!important;z-index:5600!important;overflow:visible!important}
 body.os-metal-v2 .os-nav{position:relative!important;z-index:100!important}
 body.os-metal-v2 .os-search-suggest{z-index:5800!important;top:calc(100% + 7px)!important;background:var(--mm-panel2)!important;border:1px solid var(--mm-edge)!important;color:var(--mm-text)!important;box-shadow:0 22px 50px #0008!important}
 body.os-metal-v2 .os-search-suggest-item{background:transparent!important;border-color:var(--mm-edge)!important;color:var(--mm-text)!important}
 body.os-metal-v2 .os-search-suggest-item:hover{background:#233447!important}
 body.os-metal-v2 .os-search-suggest-title{color:var(--mm-text)!important}
 body.os-metal-v2 .os-search-suggest-meta{color:var(--mm-muted)!important}
 body.os-metal-v2 .os-search-suggest-price{color:var(--mm-gold)!important}
}
/* Shipping and ancillary content: eliminate half-white, half-dark surfaces */
body.os-metal-v2 :is(.os-delivery-hero,.os-delivery-card,.os-delivery-mini,.os-delivery-badge,.os-delivery-note){background:var(--mm-panel)!important;border-color:var(--mm-edge)!important;color:var(--mm-text)!important;box-shadow:none!important}
body.os-metal-v2 :is(.os-delivery-hero,.os-delivery-card,.os-delivery-mini,.os-delivery-badge) :is(h1,h2,h3,h4,strong,a,.os-delivery-title){color:var(--mm-text)!important}
body.os-metal-v2 :is(.os-delivery-hero,.os-delivery-card,.os-delivery-mini,.os-delivery-badge) :is(p,li,span,.os-delivery-subtitle){color:var(--mm-muted)!important}
body.os-metal-v2 .os-delivery-kicker{background:#253443!important;color:var(--mm-gold)!important}
body.os-metal-v2 .os-delivery-btn--dark{background:var(--mm-gold)!important;color:#101923!important}
body.os-metal-v2 .os-delivery-btn--light{background:#243546!important;color:#fff!important}
/* Auth: make dealer & customer login coherent without changing forms */
body.os-metal-v2 :is(.os-auth-page,.os-auth-shell) :is(.os-auth-hero,.os-auth-card,.os-auth-side,.os-auth-form,.os-auth-benefit,.os-auth-feature,.os-auth-mini,.os-auth-box){background:var(--mm-panel)!important;color:var(--mm-text)!important;border-color:var(--mm-edge)!important;box-shadow:none!important}
body.os-metal-v2 :is(.os-auth-page,.os-auth-shell) :is(h1,h2,h3,h4,strong,label){color:var(--mm-text)!important}
body.os-metal-v2 :is(.os-auth-page,.os-auth-shell) :is(p,small,.os-auth-subtitle,.os-auth-muted){color:var(--mm-muted)!important}
body.os-metal-v2 :is(.os-auth-page,.os-auth-shell) :is(input,select,textarea){background:#172737!important;border:1px solid var(--mm-edge)!important;color:#fff!important}
body.os-metal-v2 :is(.os-auth-page,.os-auth-shell) :is(input,textarea)::placeholder{color:#8ea4b9!important}
body.os-metal-v2 :is(.os-auth-page,.os-auth-shell) :is(button[type=submit],input[type=submit],.os-auth-btn-primary){background:var(--mm-gold)!important;border-color:var(--mm-gold)!important;color:#101923!important;box-shadow:none!important}
/* Cart: distinct heading and consistent empty-state */
body.os-metal-v2 .os-cartm-head h1{color:var(--mm-text)!important}
body.os-metal-v2 .os-cartm-head p{color:var(--mm-muted)!important}
body.os-metal-v2 :is(.os-cartm-count,.os-cartm-list,.os-cartm-summary,.os-cartm-empty){background:var(--mm-panel)!important;border-color:var(--mm-edge)!important;color:var(--mm-text)!important}
body.os-metal-v2 :is(.os-cartm-list,.os-cartm-summary,.os-cartm-empty) :is(h1,h2,h3,strong){color:var(--mm-text)!important}
body.os-metal-v2 :is(.os-cartm-list,.os-cartm-summary,.os-cartm-empty) :is(p,small,span){color:var(--mm-muted)}
body.os-metal-v2 :is(.os-cartm-list,.os-cartm-summary,.os-cartm-empty) :is(a.os-btn,button[type=submit],.os-cartm-btn){background:var(--mm-gold)!important;color:#101923!important;border-color:var(--mm-gold)!important}
/* Accessible focus */
body.os-metal-v2 :is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--mm-gold)!important;outline-offset:3px}
@media(max-width:991px){body.os-metal-v2 .os-mobile-search{position:relative!important;z-index:6000!important}body.os-metal-v2 .os-mobile-search .os-search-suggest{z-index:6100!important}}
