/* News cards: preserve the source proportions inside a consistent, uncropped frame.
   Astra's predefined 16:9 ratio otherwise leaves object-fit at its stretching default. */
.merit-white-theme .ast-article-post .post-thumb-img-content img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;object-position:center;background:#fff}
/* White surfaces for the existing Merit layouts. Shared with the editor canvas.
   Specific overrides intentionally win over legacy styles embedded in page content. */
:is(.merit-white-theme,.editor-styles-wrapper){--mw-ink:#18181b;--mw-muted:#52525b;--mw-line:#e4e4e7;--mw-accent:#18181b;--ast-global-color-2:#18181b;--ast-global-color-3:#52525b;--ast-global-color-4:#fff;--ast-global-color-5:#fff;background:#fff!important;color:var(--mw-ink)}
.merit-white-theme #page,.merit-white-theme #content,.merit-white-theme #primary,.merit-white-theme .site-main,
.merit-white-theme .ast-article-post,.merit-white-theme .ast-article-single,.merit-white-theme .ast-woocommerce-container{background:#fff!important}
.merit-white-theme .site-below-footer-wrap,.merit-white-theme .site-above-footer-wrap,.merit-white-theme .site-primary-footer-wrap,.merit-white-theme .merit-footer-links{background:#fff!important;color:var(--mw-muted)!important}
.merit-white-theme .site-below-footer-wrap{border-top:1px solid var(--mw-line)}
.merit-white-theme .ast-footer-copyright,.merit-white-theme .ast-footer-copyright p,.merit-white-theme .site-footer a,.merit-white-theme .merit-footer-links a{color:var(--mw-muted)!important}
.merit-white-theme .merit-footer-links a:hover{color:#18181b!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-home,.mf-about-v3,.mct-page){--mf-ink:#18181b;--mf-muted:#52525b;--mf-navy:#18181b;--mf-pale:#fff;--mct-ink:#18181b;--mct-muted:#52525b;--mct-navy:#fff;background:#fff!important;color:var(--mw-ink)}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-hero,.mf-dark,.mf-inquiry,.mf-categories,.mf-process,.mf-loop-advantages,.mf-final,.mf-about-hero,.mf-about-section,.mf-about-cta,.mct-hero,.mct-inquiry-section,.mct-next-section){background:#fff!important;color:var(--mw-ink)!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-home>section,.mf-about-v3>section,.mct-hero,.mct-inquiry-section){border-bottom:1px solid var(--mw-line)}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-hero:after,:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-hero:after{display:none}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-home h1,.mf-home h2,.mf-home h3,.mf-about-v3 h1,.mf-about-v3 h2,.mf-about-v3 h3,.mct-page h1,.mct-page h2,.mct-page h3){color:var(--mw-ink)!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-lead,.mf-trust-inline,.mf-checks span,.mf-dark p,.mf-inquiry-grid>div>p,.mf-about-hero-copy>p,.mf-about-section--dark p,.mf-about-section--dark li,.mf-about-trust span,.mf-about-budget-item span,.mf-about-cta p,.mf-about-note,.mct-intro){color:var(--mw-muted)!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-checks strong,.mf-hero-spec strong,.mf-about-trust strong,.mf-about-budget-item strong,.mf-contact-list a){color:var(--mw-ink)!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-eyebrow,.mf-about-kicker,.mct-eyebrow){color:#52525b!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-hero-media,.mf-about-trust,.mf-about-budget-item,.mf-hero-spec,.mf-form,.mct-workshop,.mct-form-card,.mf-step){background:#fff!important;border:1px solid var(--mw-line)!important;box-shadow:0 8px 28px rgba(20,30,40,.045)!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-hero{padding-top:62px}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-hero-media{box-shadow:0 12px 35px rgba(20,30,40,.08)!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-video-label,:is(.merit-white-theme,.editor-styles-wrapper) .mf-loop-tag,:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-photo-label{background:rgba(255,255,255,.97)!important;color:var(--mw-ink)!important;border:1px solid var(--mw-line);box-shadow:0 4px 16px rgba(20,30,40,.06)!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-hero-spec span{color:var(--mw-muted)!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-trust div{border-color:var(--mw-line)!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-hero-media:before{border-color:var(--mw-line)}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-cert{background:#fff!important;border:1px solid var(--mw-line);border-inline-start:3px solid var(--mw-accent)}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-machine b{background:#f5f6f7!important;color:var(--mw-ink)!important;border:1px solid var(--mw-line)}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-card,:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-machine{box-shadow:none}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-loop-media:before{background:#f3f4f5!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-why-image img{box-shadow:12px 12px 0 #f3f4f5!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-loop-media img{box-shadow:0 8px 25px rgba(20,30,40,.06)!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-machine img{background:#fff!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-proof{box-shadow:none}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-btn-outline,:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-btn--ghost,:is(.merit-white-theme,.editor-styles-wrapper) .mct-secondary .wp-block-button__link{background:#fff!important;border:1px solid #bdc3ca!important;color:var(--mw-ink)!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-btn-outline:hover,:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-btn--ghost:hover,:is(.merit-white-theme,.editor-styles-wrapper) .mct-secondary .wp-block-button__link:hover{background:#f5f6f7!important;border-color:var(--mw-ink)!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-btn:not(.mf-about-btn--ghost),:is(.merit-white-theme,.editor-styles-wrapper) .mf-final .mf-btn{background:var(--mw-accent)!important;color:#18181b!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-btn:not(.mf-about-btn--ghost):hover,:is(.merit-white-theme,.editor-styles-wrapper) .mf-final .mf-btn:hover{background:#3f3f46!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-socials a:focus-visible{outline-color:#18181b}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-form select.wpcf7-form-control{height:auto;min-height:48px;padding:10px 34px 10px 13px;line-height:1.5}
:is(.merit-white-theme,.editor-styles-wrapper) .wpcf7 input::placeholder,:is(.merit-white-theme,.editor-styles-wrapper) .wpcf7 textarea::placeholder{color:#65717c;opacity:1}
:is(.merit-white-theme,.editor-styles-wrapper) .mct-workshop figcaption{color:var(--mw-muted)!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-form .wpcf7-form-control:not(.wpcf7-submit),.mct-page .wpcf7 input:not([type=submit]):not([type=hidden]),.mct-page .wpcf7 select,.mct-page .wpcf7 textarea){background:#fff!important;color:var(--mw-ink)!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mct-form-card,:is(.merit-white-theme,.editor-styles-wrapper) .mf-form{border-top:3px solid var(--mw-accent)!important}
/* Category photos sit above readable white captions, rather than dark overlays. */
:is(.merit-white-theme,.editor-styles-wrapper) .mf-category{display:flex;flex-direction:column;min-height:0;background:#fff!important;border:1px solid var(--mw-line);box-shadow:none}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-category img{position:static;height:235px;flex:0 0 auto;object-fit:contain;padding:12px;background:#fff}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-category:after{display:none}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-category-content{position:relative;inset:auto;padding:24px}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-category p{color:var(--mw-muted)!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-category a{color:#52525b!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-category:hover img{transform:none}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-category:hover{box-shadow:0 8px 24px rgba(20,30,40,.07)}
/* A white copy panel retains the existing three photographic slides and controls. */
:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel{background:#fff!important;color:var(--mw-ink)!important;min-height:0}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel-stage{display:grid;min-height:0}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-slide{position:relative;inset:auto;grid-area:1/1;min-height:0}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-slide-inner{min-height:620px}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-slide:after{background:linear-gradient(90deg,#fff 0%,#fff 34%,rgba(255,255,255,.97) 48%,rgba(255,255,255,.1) 76%,rgba(255,255,255,0) 100%)!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-slide-copy{width:48%;text-shadow:none}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-slide h2{font-size:clamp(36px,3.5vw,50px)}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel-arrow{background:#fff!important;border-color:#bfc6ce!important;color:var(--mw-ink)!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel-arrow:hover,:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel-arrow:focus-visible{background:#f4f4f5!important;border-color:#52525b!important;outline:2px solid #52525b;outline-offset:2px}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel-dot{background:#b6bdc5!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel-dot[aria-current="true"]{background:#18181b!important}
[dir=rtl] :is(.merit-white-theme,.editor-styles-wrapper) .mf-slide:after,:is(.merit-white-theme,.editor-styles-wrapper)[dir=rtl] .mf-slide:after{background:linear-gradient(270deg,#fff 0%,#fff 34%,rgba(255,255,255,.97) 48%,rgba(255,255,255,.1) 76%,rgba(255,255,255,0) 100%)!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.merit-news-hub-intro,.merit-quote-panel,.merit-catalog-filter,.merit-product-overview-grid section,.merit-gallery-note){background:#fff!important;border:1px solid var(--mw-line);border-inline-start:3px solid var(--mw-accent)}
:is(.merit-white-theme,.editor-styles-wrapper) .merit-news-hub-intro :is(h1,p){color:var(--mw-ink)}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.merit-spec-table thead th,.merit-variant-table thead th,.wp-block-table th){background:#f4f5f6!important;color:var(--mw-ink)!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.merit-spec-table tbody tr:nth-child(even),.merit-variant-table tbody tr:nth-child(even),.wp-block-table tr:nth-child(even)){background:#fafafa!important}
@media(max-width:960px){
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-slide-copy{width:62%;background:rgba(255,255,255,.97);padding:24px;border:1px solid var(--mw-line);border-radius:6px}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-slide-inner{min-height:640px}
}
@media(max-width:620px){
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-hero{padding-top:42px}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel,:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel-stage,:is(.merit-white-theme,.editor-styles-wrapper) .mf-slide,:is(.merit-white-theme,.editor-styles-wrapper) .mf-slide-inner{min-height:0}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-slide-media{inset:0 0 auto;height:230px}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-slide-media img{object-position:center}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-slide:after{display:none}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-slide-inner{padding:258px 0 100px;align-items:flex-start}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-slide-copy{width:100%;border:0;padding:0;background:#fff}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-slide h2{font-size:32px}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-slide .mf-lead{font-size:16px}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-slide .mf-btn{padding:12px 18px}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-category img{height:220px}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-video-label{font-size:10px;left:10px;bottom:10px;max-width:calc(100% - 20px)}
}

/* 2026-11: complete monochrome visual system. Original logo/photos retain their colors. */
.merit-white-theme.page-id-9 .entry-header{display:none}
.merit-white-theme .entry-meta :is(span,a,time),.merit-white-theme .mf-about-cert p{color:#52525b!important}
:is(.merit-white-theme,.editor-styles-wrapper){--mw-ink:#18181b;--mw-muted:#52525b;--mw-line:#e4e4e7;--mw-accent:#18181b;--ast-global-color-0:#18181b;--ast-global-color-1:#3f3f46;--ast-global-color-2:#18181b;--ast-global-color-3:#52525b;--ast-global-color-4:#fff;--ast-global-color-5:#fff;--ast-global-color-6:#e4e4e7;--ast-global-color-7:#fafafa;--ast-global-color-8:#18181b;--mf-orange:#18181b;--mf-orange-dark:#3f3f46;--mf-navy:#18181b;--mf-ink:#18181b;--mf-muted:#52525b;font-family:Arial,Helvetica,sans-serif}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-home,.mf-about-v3,.mct-page){--mf-orange:#18181b;--mf-orange-dark:#3f3f46;--mf-navy:#18181b;--mf-ink:#18181b;--mf-muted:#52525b;--mct-orange:#18181b;--mct-ink:#18181b;--mct-muted:#52525b;--mf-line:#e4e4e7;font-family:Arial,Helvetica,sans-serif}
:is(.merit-white-theme,.editor-styles-wrapper) :is(a,.entry-meta,.posted-on,.posted-by,.merit-privacy-note,.merit-product-inquiry p,.merit-quote-panel p,.merit-language-label,.woocommerce-result-count){color:#52525b}
:is(.merit-white-theme,.editor-styles-wrapper) :is(h1,h2,h3,h4,.entry-title,.woocommerce-loop-product__title){color:#18181b}
:is(.merit-white-theme,.editor-styles-wrapper) a:hover{color:#18181b}
:is(.merit-white-theme,.editor-styles-wrapper) :is(a,button,input,textarea,select,summary):focus-visible{outline:2px solid #52525b!important;outline-offset:3px}
:is(.merit-white-theme,.editor-styles-wrapper) ::selection{background:#dedee3;color:#18181b}
/* Navigation, language selector and mobile menu. */
.merit-white-theme :is(.menu-link,.ast-header-navigation-arrow,.ast-menu-toggle,.custom-logo-link,.ast-custom-button-link){color:#27272a!important}
.merit-white-theme .main-header-menu>.menu-item>.menu-link{font-weight:500}
.merit-white-theme .main-header-menu>.current-menu-item>.menu-link{text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:2px}
.merit-white-theme .main-header-menu .sub-menu{border:1px solid #e4e4e7!important;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.merit-white-theme .main-header-menu .sub-menu .menu-link:hover{background:#f4f4f5!important}
.merit-white-theme :is(.menu-toggle,.ast-menu-toggle){background:transparent!important;border-color:#d4d4d8!important;color:#18181b!important;box-shadow:none!important}
.merit-white-theme :is(.menu-toggle:hover,.ast-menu-toggle:hover){background:#f4f4f5!important}
.merit-white-theme .merit-language-link{background:#fff!important;border:1px solid transparent;border-radius:999px;color:#52525b!important;font-weight:500}
.merit-white-theme .merit-language-link:hover{background:#f4f4f5!important;color:#18181b!important}
.merit-white-theme .merit-language-link[aria-current]{background:#18181b!important;border-color:#18181b;color:#fff!important}
.merit-white-theme .merit-language-label{color:#71717a!important}
/* Black primary actions, white outlined secondary actions; all states neutral. */
:is(.merit-white-theme,.editor-styles-wrapper) :is(button,input[type=submit],input[type=button],.button,.ast-custom-button,.wp-block-button__link,.mf-btn,.mf-about-btn,.merit-quote-button){background:#18181b!important;color:#fff!important;border:1px solid #18181b!important;border-radius:8px;font-weight:600;box-shadow:none!important;text-transform:none;text-decoration:none!important;transition:background-color .18s,color .18s,border-color .18s}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-home,.mf-about-v3,.mct-page) :is(.mf-btn,.mf-about-btn,.wp-block-button__link,input[type=submit]){background:#18181b!important;color:#fff!important;border:1px solid #18181b!important;border-radius:8px;font-weight:600;box-shadow:none!important;text-transform:none}
:is(.merit-white-theme,.editor-styles-wrapper) :is(button,input[type=submit],input[type=button],.button,.ast-custom-button,.wp-block-button__link,.mf-btn,.mf-about-btn,.merit-quote-button):hover,
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-home,.mf-about-v3,.mct-page) :is(.mf-btn,.mf-about-btn,.wp-block-button__link,input[type=submit]):hover{background:#3f3f46!important;color:#fff!important;border-color:#3f3f46!important;transform:none;box-shadow:none!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-home,.mf-about-v3,.mct-page) :is(.mf-btn-outline,.mf-about-btn--ghost,.mct-secondary .wp-block-button__link){background:#fff!important;color:#18181b!important;border:1px solid #d4d4d8!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-home,.mf-about-v3,.mct-page) :is(.mf-btn-outline,.mf-about-btn--ghost,.mct-secondary .wp-block-button__link):hover{background:#f4f4f5!important;color:#18181b!important;border-color:#a1a1aa!important}
.merit-white-theme .ast-custom-button{font-size:14px;font-weight:600;padding:11px 18px;text-transform:none}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-btn,.mf-about-btn){min-height:46px;padding:12px 20px;font-size:14px}
/* Neutral editorial labels, thin rules, quiet cards and modest corner rounding. */
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-eyebrow,.mf-about-kicker,.mct-eyebrow){color:#71717a!important;font-size:11px;font-weight:700;letter-spacing:.15em}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-eyebrow,.mf-about-kicker,.mct-eyebrow):before{display:none!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-home h1,.mf-about-title){font-size:clamp(40px,4.5vw,64px)!important;line-height:1.08;letter-spacing:-.035em}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-home h2,.mf-about-v3 h2){font-size:clamp(30px,3.2vw,46px);letter-spacing:-.03em}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-category h3,.mf-machine h3,.mf-home h3,.mf-about-v3 h3){font-weight:600}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-lead,.mf-about-hero-copy>p){font-size:18px;line-height:1.7}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-solution,.mf-machine,.mf-category,.mf-step,.mf-form,.mct-form-card,.mf-about-card,.mf-about-machine,.mf-about-budget-item,.mf-about-trust,.mf-hero-spec,.merit-news-hub-intro,.merit-quote-panel,.merit-catalog-filter,.merit-product-overview-grid section,.merit-gallery-note,.mf-about-cert){border:1px solid #e4e4e7!important;border-radius:8px;box-shadow:none!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-machine,.mf-category,.mf-about-card):hover{border-color:#a1a1aa!important;box-shadow:0 2px 8px rgba(0,0,0,.04)!important;transform:none}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-checks li,.mf-trust-inline span,.mf-advantage-list li,.mf-about-checks li):before{background:#f4f4f5!important;color:#3f3f46!important;box-shadow:none}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-step:before,.mf-about-step span,.mf-about-card-index,.mct-step-number,.mf-about-faq summary:after){color:#52525b!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-card-index{background:#f4f4f5!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-about-step:before{background:#52525b!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-category a,.mf-machine a,.mf-about-v3 a:not(.mf-about-btn),.mct-text-link,.mct-page a:not(.wp-block-button__link),.merit-privacy-note a,.merit-privacy-document .entry-content a,.merit-catalog-filter a,.merit-sourcing-guide>summary){color:#3f3f46!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-category a,.mf-machine a,.mct-text-link){font-weight:600;text-underline-offset:4px}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-category a,.mf-machine a,.mct-text-link):hover{text-decoration:underline!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mct-workshop figcaption{border-inline-start:0}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-hero-media,.mct-workshop,.mf-loop-media img,.mf-video-label,.mf-loop-tag,.mf-about-photo-label){border-color:#e4e4e7!important;box-shadow:none!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-hero-spec{box-shadow:none!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-form input,.mf-form textarea,.mct-page input,.mct-page textarea,.mct-page select,.woocommerce-ordering select,.merit-catalog-filter select,.merit-product-search input){border-color:#d4d4d8!important;border-radius:6px;color:#27272a}
:is(.merit-white-theme,.editor-styles-wrapper) :is(input,textarea)::placeholder{color:#71717a!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.wpcf7-not-valid-tip,.wpcf7-response-output){color:#27272a!important;border-color:#71717a!important}
:is(.merit-white-theme,.editor-styles-wrapper) .wpcf7-not-valid{border:2px solid #52525b!important}
/* Social links use the same interface palette; raster brand imagery is untouched. */
:is(.merit-white-theme,.editor-styles-wrapper) .mf-socials a{background:#fff!important;border:1px solid #e4e4e7!important;color:#27272a!important;box-shadow:none!important;font-weight:600;border-radius:8px}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-socials a:hover{background:#f4f4f5!important;color:#18181b!important;filter:none;transform:none}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-whatsapp{background:#18181b!important;color:#fff!important;box-shadow:0 4px 18px rgba(0,0,0,.12)!important;font-weight:600}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-whatsapp:hover{background:#3f3f46!important}
.merit-white-theme #ast-scroll-top{background:#18181b!important;color:#fff!important;border-radius:8px}
/* Carousel and catalog interaction states. */
:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel{width:min(1216px,calc(100% - 48px));margin:24px auto;border:1px solid #e4e4e7;border-radius:8px}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel .mf-wrap{width:calc(100% - 64px)}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel-controls{width:calc(100% - 48px)}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-slide .mf-eyebrow{color:#71717a!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel-arrow{background:#fff!important;border-color:#d4d4d8!important;color:#18181b!important;border-radius:50%}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel-arrow:hover{background:#f4f4f5!important;color:#18181b!important;border-color:#a1a1aa!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel-dot{background:#d4d4d8!important;border:0!important;border-radius:999px}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel-dot[aria-current=true]{background:#18181b!important}
:is(.merit-white-theme,.editor-styles-wrapper) .merit-product-search{box-shadow:none!important;border-color:#e4e4e7;border-radius:8px}
:is(.merit-white-theme,.editor-styles-wrapper) .merit-product-search input{color:#27272a!important}
:is(.merit-white-theme,.editor-styles-wrapper) .merit-product-search button{border-radius:0 7px 7px 0}
:is(.merit-white-theme,.editor-styles-wrapper) .woocommerce-tabs ul.tabs li:before{background:#18181b!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.page-numbers,.woocommerce-pagination ul,.woocommerce-pagination li){border-color:#e4e4e7!important;color:#52525b!important}
/* WooCommerce also uses .page-numbers on its full-width ul; highlight only individual page controls. */
/* Mouse clicks retain :focus without :focus-visible; override Astra's orange focus state too. */
:is(.merit-white-theme,.editor-styles-wrapper) :is(span.page-numbers.current,a.page-numbers.current,a.page-numbers:hover,a.page-numbers:focus,a.page-numbers:focus-visible,a.page-numbers:active){background:#18181b!important;color:#fff!important}
:is(.merit-white-theme,.editor-styles-wrapper) a.page-numbers:focus-visible{outline:2px solid #18181b;outline-offset:3px}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.star-rating,.woocommerce-review-link,.price,.entry-meta a,.ast-blog-single-element a){color:#52525b!important}
:is(.merit-white-theme,.editor-styles-wrapper) .merit-news-hub-intro{border-inline-start-width:1px!important}
:is(.merit-white-theme,.editor-styles-wrapper) .merit-footer-links a:hover{color:#18181b!important}
@media(max-width:620px){
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-home h1{font-size:38px!important}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-about-title{font-size:38px!important}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel{width:calc(100% - 28px);margin:20px auto}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel .mf-wrap{width:calc(100% - 32px)}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel-controls{width:calc(100% - 32px)}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel .mf-btns{gap:10px}
 :is(.merit-white-theme,.editor-styles-wrapper) .mf-carousel .mf-btn{font-size:13px;padding:12px 14px}
}
@media(prefers-reduced-motion:reduce){:is(.merit-white-theme,.editor-styles-wrapper) :is(a,button){transition:none!important}}
/* Component exceptions to the primary-action rule keep navigation indicators readable. */
.merit-white-theme .ast-button-wrap button.menu-toggle,
.merit-white-theme .ast-menu-toggle{background:#fff!important;color:#18181b!important;border:1px solid #e4e4e7!important;box-shadow:none!important}
.merit-white-theme .ast-button-wrap button.menu-toggle:hover,
.merit-white-theme .ast-menu-toggle:hover{background:#f4f4f5!important;color:#18181b!important}
.merit-white-theme .ast-button-wrap button.menu-toggle .ast-icon,
.merit-white-theme .ast-button-wrap button.menu-toggle svg{color:#18181b!important;fill:currentColor!important}
:is(.merit-white-theme,.editor-styles-wrapper) button.mf-carousel-arrow{background:#fff!important;border:1px solid #d4d4d8!important;color:#18181b!important;border-radius:50%}
:is(.merit-white-theme,.editor-styles-wrapper) button.mf-carousel-arrow:hover{background:#f4f4f5!important;color:#18181b!important;border-color:#a1a1aa!important}
:is(.merit-white-theme,.editor-styles-wrapper) button.mf-carousel-dot{background:#d4d4d8!important;border:0!important;border-radius:999px}
:is(.merit-white-theme,.editor-styles-wrapper) button.mf-carousel-dot:hover{background:#71717a!important}
:is(.merit-white-theme,.editor-styles-wrapper) button.mf-carousel-dot[aria-current=true]{background:#18181b!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(a,button,input,textarea,select,summary){outline-color:#52525b!important}
:is(.merit-white-theme,.editor-styles-wrapper) .post-navigation :is(div,a,span),:is(.merit-white-theme,.editor-styles-wrapper) .post-navigation :is(div,a,span)::after{color:#52525b!important}
:is(.merit-white-theme,.editor-styles-wrapper) .entry-content .wp-block-group,.editor-styles-wrapper .wp-block-group{border-color:#d4d4d8!important}
.merit-white-theme.single-post .entry-content .wp-block-group.has-background{background:#fafafa!important;color:#27272a!important}
/* Custom MT02 detail layout and WooCommerce notices also share the neutral palette. */
.merit-white-theme button.ast-menu-toggle{background:transparent!important;color:#18181b!important;border:0!important;box-shadow:none!important}
.merit-white-theme button.ast-menu-toggle:hover{background:#f4f4f5!important;color:#18181b!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-product-kicker,.mf-product-lead,.mf-product-detail,.mf-product-detail p,.mf-quick-specs span,.mf-spec-note){color:#52525b!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-product-detail h2,.mf-product-detail h3,.mf-quick-specs strong,.mf-benefit strong){color:#18181b!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.mf-quick-specs>div,.mf-spec-note,.mf-product-benefits,.mf-product-cta,.mf-spec-table-wrap){background:#fff!important;color:#18181b!important;border:1px solid #e4e4e7!important;border-radius:8px;box-shadow:none!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-benefit{background:#fafafa!important;border-color:#e4e4e7!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-benefit span{color:#52525b!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-spec-table th{background:#f4f4f5!important;color:#18181b!important}
:is(.merit-white-theme,.editor-styles-wrapper) .mf-spec-table td:first-child{background:#fafafa!important;color:#18181b!important}
:is(.merit-white-theme,.editor-styles-wrapper) a.mf-product-inquiry,:is(.merit-white-theme,.editor-styles-wrapper) .mf-product-cta a{background:#18181b!important;color:#fff!important;border:1px solid #18181b;border-radius:8px;font-weight:600}
:is(.merit-white-theme,.editor-styles-wrapper) a.mf-product-inquiry:hover,:is(.merit-white-theme,.editor-styles-wrapper) .mf-product-cta a:hover{background:#3f3f46!important;color:#fff!important}
.merit-white-theme.single-product div.product .woocommerce-product-gallery{box-shadow:none!important;border-color:#e4e4e7!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.woocommerce-info,.woocommerce-message,.woocommerce-error){background:#fafafa!important;border-color:#71717a!important;color:#27272a!important}
:is(.merit-white-theme,.editor-styles-wrapper) :is(.woocommerce-info,.woocommerce-message,.woocommerce-error)::before{color:#52525b!important}
/* Catalog detail links keep the requested outline style in every interaction state. */
:is(.merit-white-theme,.editor-styles-wrapper) a.button.merit-product-details,
:is(.merit-white-theme,.editor-styles-wrapper) a.button.merit-product-details:is(:hover,:focus,:active,:visited){background:#fff!important;background-image:none!important;color:#000!important;border:1px solid #000!important;border-radius:6px;box-shadow:none!important;min-height:42px;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center;font-weight:600;text-decoration:none!important}
:is(.merit-white-theme,.editor-styles-wrapper) a.button.merit-product-details:focus-visible{outline:2px solid #000!important;outline-offset:3px}
