/* V154 - accessibility layer: skip link, visible keyboard focus, text contrast fixes, reduced motion. Loaded after the other style sheets. */
.ds-skip, .ds-skip:visited { color: #fff !important; background: #0a2540 !important; }
.ds-skip { position: absolute; left: 8px; top: -60px; z-index: 100000; background: #0a2540; color: #fff; padding: 10px 16px; border-radius: 0 0 10px 10px; font-weight: 700; text-decoration: none; transition: top .15s; }
.ds-skip:focus { top: 0; box-shadow: 0 0 0 2px #fff; outline: 3px solid #f0a500; outline-offset: 2px; }
.ds-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
main:focus { outline: none; }
/* keyboard focus is always visible (a mouse click does not show it) */
html :focus-visible { outline: 3px solid #1a5fd0 !important; outline-offset: 2px !important; border-radius: 3px; }
html[data-theme="dark"] :focus-visible { outline-color: #ffd166 !important; }
.mp-rfq-cta:focus-visible, .btn-ql:focus-visible, .rfq-submit-btn:focus-visible { outline-color: #0a2540 !important; box-shadow: 0 0 0 5px #fff; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
/* gold buttons carry dark text (white on gold is 2:1) */
#mpRfqBtn, .mp-rfq-cta, .sx-searchbar > button[type="submit"] { color: #1a1200 !important; }
/* muted greys darkened to at least 4.5:1 on their backgrounds */
.mp-tile-body p, .pc-range, .mp-trust-item > div > span, .mp-breadcrumb, .mp-breadcrumb a, .mp-breadcrumb span, .pd-brandline, .pd-tabs a:not(.active), .mp-tabs a:not(.active), [data-tab-target]:not(.active),
.rfq-why-item p, .ql-bc a, .ql-bc span, .cart-empty-card p, .pc-heading-row p, .pc-product-specs, .pc-product-specs div, .pc-rating-none, .pc-rating-none em { color: #566170; }
.pc-filter-content em, .pc-check em, .pc-product-sku, .pc-rating em, #sxCharCount, .sx-upload-sub { color: #5d6b79; }
.mp-bottombar a span { color: #566170; } .mp-bottombar a.active span { color: #8a5a00; }
.pd-tabs a.active, [data-tab-target].active, a.ds-tap[href$="help.php"] { color: #8a5a00; }
.mp-pcard-stock, .pc-stock.in { color: #1f7a34; }
.mp-footer-build { color: #9fb0c3; }
html[data-theme="dark"] .mp-cat-dl-txt b, html[data-theme="dark"] .pc-mobile-filter { color: #e6ebf2; }
html[data-theme="dark"] .ql-bc a, html[data-theme="dark"] .ql-bc span { color: #9fb0c3; }
html[data-theme="dark"] .mp-tile-body p, html[data-theme="dark"] .pc-range, html[data-theme="dark"] .mp-breadcrumb, html[data-theme="dark"] .mp-breadcrumb a, html[data-theme="dark"] .mp-breadcrumb span, html[data-theme="dark"] .pd-brandline,
html[data-theme="dark"] .pc-product-specs, html[data-theme="dark"] .pc-product-specs div, html[data-theme="dark"] .pc-filter-content em, html[data-theme="dark"] .pc-product-sku, html[data-theme="dark"] .pc-rating em, html[data-theme="dark"] .pc-rating-none, html[data-theme="dark"] .cart-empty-card p, html[data-theme="dark"] .rfq-why-item p { color: #a9b6c6; }
html[data-theme="dark"] .mp-pcard-stock, html[data-theme="dark"] .pc-stock.in { color: #56d364; }
html[data-theme="dark"] .pd-tabs a.active, html[data-theme="dark"] [data-tab-target].active, html[data-theme="dark"] a.ds-tap[href$="help.php"] { color: #ffd166; }

.pd-tabs a.active, [data-tab-target].active, a.ds-tap[href$="help.php"], .pd-tabs a.is-active { color: #8a5a00 !important; }
html[data-theme="dark"] .pd-tabs a.active, html[data-theme="dark"] [data-tab-target].active, html[data-theme="dark"] a.ds-tap[href$="help.php"] { color: #ffd166 !important; }
html[data-theme="dark"] .mp-bottombar a span, html[data-theme="dark"] #sxCharCount, html[data-theme="dark"] .sx-upload-sub { color: #a9b6c6; }
html[data-theme="dark"] .mp-bottombar a.active span { color: #ffd166; }
/* very narrow phones (320px): the header icon row may shrink instead of pushing the page 2px wide */
@media (max-width: 340px) { .mp-header-actions { min-width: 0; max-width: 100%; gap: 4px; flex-wrap: wrap; justify-content: flex-end; } .mp-header-actions > a { min-width: 0; padding-left: 4px; padding-right: 4px; } }
.mp-footer-reg{color:#9fb0c3;font-size:.75rem;margin-top:6px}
/* the search box was squeezed to ~50px between 1150 and 1300px wide; it now keeps a usable width and the icon row wraps below it instead */
@media (min-width: 701px) { .mp-search { min-width: 360px; } }
.mp-footer-find { display: flex; gap: 10px 16px; flex-wrap: wrap; align-items: center; font-size: .8rem; color: #9fb0c3; margin: 8px 0; }
.mp-footer-find a { color: #dbe5f1; text-decoration: underline; }
.ds-art-cta { margin: 28px 0; padding: 18px 20px; border: 1px solid #c9a24a; border-left-width: 6px; border-radius: 12px; background: #fff8e6; color: #3a2a00; }
.ds-art-cta h2 { margin: 0 0 6px; font-size: 1.15rem; color: #3a2a00; }
.ds-art-cta p { margin: 0 0 10px; }
.ds-art-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-art-links a { padding: 8px 14px; border-radius: 9px; border: 1px solid #8a5a00; color: #5a3b00; font-weight: 700; text-decoration: none; background: #fff; }
.ds-art-links a.ds-art-quote { background: #f0a500; color: #1a1200; border-color: #f0a500; }
html[data-theme="dark"] .ds-art-cta { background: #2a2210; border-color: #8a6a1c; color: #f3e6c4; } html[data-theme="dark"] .ds-art-cta h2 { color: #ffd166; }
/* blog pages (V155): small grey / blue / white-on-orange text brought to 4.5:1 in the light theme */
html:not([data-theme="dark"]) .sx-feature-label { color: #1a1200; }
html:not([data-theme="dark"]) .sx-card-category { background: #0f5fa8; }
html:not([data-theme="dark"]) .sx-card-subject, html:not([data-theme="dark"]) .sx-recent span, html:not([data-theme="dark"]) .sx-related-list small, html:not([data-theme="dark"]) .sx-muted, html:not([data-theme="dark"]) #newsletter p, html:not([data-theme="dark"]) #newsletter small { color: #566170; }
html:not([data-theme="dark"]) .sx-side-head a { color: #0a5db5; }
