:is(#opsCartDialog,#customerAddressSetup) :is(button,label,legend,small){overflow-wrap:anywhere}#opsCartDialog button,#customerAddressSetup button{white-space:normal;line-height:1.45;max-width:100%}#opsCartDialog :is(.oc-spec-submit,[type=submit]),#customerAddressSetup .ca-actions button{min-height:44px}#customerAddressSetup .ca-actions{display:flex;flex-wrap:wrap;gap:10px}#customerAddressSetup .ca-actions button{flex:1 1 150px}#opsCartDialog .oc-choice{align-items:flex-start}#opsCartDialog :is(.oc-choice,legend small){line-height:1.55}button[data-safety-reports]{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:center}.safety-report-update{display:inline-block;padding:2px 7px;border-radius:12px;background:#e6f4ee;color:#126948;font-size:13px;font-weight:600;line-height:1.5;white-space:normal}@media(max-width:600px){#opsCartDialog{max-width:calc(100vw - 24px)}#opsCartDialog .oc-spec-footer button{font-size:14px}.safety-link{font-size:14px;line-height:1.5}#customerAddressSetup{max-width:calc(100vw - 24px)}}

/* Keep long translated navigation from covering account controls. */
@media (min-width:761px) and (max-width:1600px){html:lang(en) body.site-design.front-body.commercial-nav #fixedBrandHeader #commercialDesktopNav#commercialDesktopNav,html:lang(ms) body.site-design.front-body.commercial-nav #fixedBrandHeader #commercialDesktopNav#commercialDesktopNav{display:none!important}}
html body #fixedBrandHeader #customerAccountEntry,html body #fixedBrandHeader #sideMenuToggle{flex-shrink:0;z-index:2}

/* Dialog text and actions stay readable on narrow screens. */
html body #opsCartDialog .oc-close{width:44px!important;height:44px!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:5!important}
html body #opsCartDialog .oc-spec-heading h2{min-width:0!important;overflow-wrap:anywhere!important}
html body #opsCartDialog .oc-spec-pills{gap:8px!important}
html body #opsCartDialog .oc-spec-pill span{overflow-wrap:anywhere!important}
html body #customerAddressSetup :is(input,textarea,select){font-size:16px!important;min-width:0!important;max-width:100%!important}
html body #customerAddressSetup .ca-address-header h2{font-size:21px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
html body #customerAddressSetup .ca-actions{padding-bottom:env(safe-area-inset-bottom,0px)}
@media(max-width:600px){html body #opsCartDialog{max-height:calc(100dvh - 24px)!important;overscroll-behavior:contain}html body #opsCartDialog .oc-spec-bottom{flex-wrap:wrap!important;gap:12px!important}html body #opsCartDialog .oc-spec-qty{margin-left:auto!important}}

