/* V2 only. Existing layouts, sidebar, fonts and menu behaviour preserved. */
:root { --mf-logo-blue:#3359b1; --mf-brand-green:#247633; }
html body { font-size:1.1875rem!important; }
body .elementor:not(footer) :is(.elementor-widget-text-editor,.jet-woo-builder-single-excerpt,.woocommerce-product-details__short-description,.jet-woo-builder-single-content,.jet-woo-builder-archive-product-excerpt) { font-size:clamp(1.0625rem,1rem + .2vw,1.1875rem)!important; line-height:1.65; }
body .elementor:not(footer) :is(.elementor-widget-text-editor p,.jet-woo-builder-single-content p) { font-size:inherit!important; }
body .elementor:not(footer) :is(.jet-woo-builder-archive-product-title,.jet-woo-builder-archive-product-title a) { font-size:clamp(1.125rem,1rem + .4vw,1.375rem)!important; line-height:1.4; }
body .elementor:not(footer) :is(.elementor-button,.elementor-field,.jet-ajax-search__field,.woocommerce-breadcrumb) { font-size:1.0625rem!important; }
body header.elementor .jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-item__link--top-level,
body header.elementor .jet-mega-menu-item__link--top-level .jet-mega-menu-item__label,
body header.elementor .jet-mobile-menu__item .jet-menu-label {
 color:var(--mf-brand-green)!important; font-size:clamp(1.125rem,1rem + .25vw,1.25rem)!important; font-weight:700!important; line-height:1.4;
}
body header.elementor .jet-mega-menu-item__link--top-level:is(:hover,:focus,:active,[aria-current="page"]),
body header.elementor .jet-mega-menu-item__link--top-level:is(:hover,:focus,:active,[aria-current="page"]) .jet-mega-menu-item__label,
body header.elementor .current-menu-item > .jet-mega-menu-item__inner .jet-mega-menu-item__label,
body header.elementor .current-menu-ancestor > .jet-mega-menu-item__inner .jet-mega-menu-item__label,
body header.elementor .jet-mobile-menu__item a:is(:hover,:focus,:active,[aria-current="page"]) .jet-menu-label { color:var(--mf-logo-blue)!important; }
body header.elementor a:focus-visible, .mf-v2-home:focus-visible, .mf-v2-legal a:focus-visible, footer a:focus-visible, .mf-v2-cookie-settings:focus-visible { outline:3px solid var(--mf-logo-blue); outline-offset:4px; }
/* Only colour changes on the existing 1px top/bottom navigation rule. */
body header.elementor .elementor-element-9b2b8c3 { border-color:var(--mf-logo-blue)!important; }
/* Existing search borders are 0px: preserve them, draw a permanent inset contour. */
body header .jet-ajax-search__form { box-shadow:inset 0 0 0 1px var(--mf-logo-blue); border-radius:3px; }
body header .jet-ajax-search__field { border-color:var(--mf-logo-blue)!important; background:transparent!important; }
body header .jet-ajax-search__form:focus-within { outline:3px solid var(--mf-logo-blue); outline-offset:3px; }
.mf-v2-home { position:fixed; top:16px; left:16px; width:44px; height:44px; display:flex; align-items:center; justify-content:center; color:var(--mf-brand-green); background:#fff; border:1px solid var(--mf-logo-blue); border-radius:5px; z-index:990; }
.mf-v2-home:hover,.mf-v2-home:focus,.mf-v2-home:active { color:var(--mf-logo-blue); }
body.admin-bar .mf-v2-home { top:48px; }
.mf-v2-legal { max-width:75rem; margin:2rem auto; padding:1rem clamp(1rem,3vw,3rem); line-height:1.75; font-size:1.1875rem; }
.mf-v2-legal h1 { font-size:clamp(1.75rem,3vw,2.75rem)!important; line-height:1.25; }
.mf-v2-legal h2 { font-size:clamp(1.25rem,2vw,1.625rem)!important; margin-top:2rem; }
.mf-v2-legal p,.mf-v2-legal li { max-width:70ch; }
.mf-v2-legal a { color:var(--mf-logo-blue); text-decoration:underline; overflow-wrap:anywhere; }
.mf-v2-cookie-settings { font:inherit; color:var(--mf-logo-blue); background:#fff; border:1px solid var(--mf-logo-blue); padding:.65rem 1rem; border-radius:4px; cursor:pointer; }
/* Equal prominence for the existing Complianz choices; no new CMP. */
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn { background:#fff!important; color:var(--mf-logo-blue)!important; border:1px solid var(--mf-logo-blue)!important; font-size:1rem!important; }
@media(max-width:767px) {
 .mf-v2-home { left:8px; top:16px; }
 header .elementor-widget-theme-site-logo { max-width:calc(100% - 112px); margin-inline:auto; }
 .mf-v2-legal { margin:1rem auto; font-size:1.0625rem; }
}

/* Match the existing generated selectors' specificity without modifying their file. */
body .elementor.elementor-28858 .elementor-element.elementor-element-8193fd9 .jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-item__link--top-level { font-size:clamp(1.125rem,1rem + .25vw,1.25rem)!important; }
body .elementor.elementor-28851 .elementor-widget-text-editor.elementor-element,
body .elementor.elementor-28897 .elementor-widget-text-editor.elementor-element { font-size:clamp(1.125rem,1rem + .2vw,1.25rem)!important; }

/* Native footer layout restored; commercial email only fits its original container. */
body footer.elementor .elementor-element-ac6c591 { container-type:inline-size; }
body footer.elementor .elementor-element.elementor-element-ac6c591 a[href="mailto:servicecommercial@mayottefournitures.yt"] { font-size:min(14px,4.2cqi)!important; white-space:nowrap!important; word-break:normal!important; overflow-wrap:normal!important; }
body footer.elementor a[href="mailto:servicecommercial@mayottefournitures.yt"] .elementor-button-text { font-size:inherit!important; white-space:nowrap!important; word-break:normal!important; overflow-wrap:normal!important; }

/* BEGIN LOT1 20261015: verified Zolpan palette; footer intentionally excluded. */
:root { --mf-zolpan-light:#9ac43c; }
body .woocommerce-breadcrumb { color:var(--mf-brand-green)!important; }
body .woocommerce-breadcrumb a,body .woocommerce-breadcrumb a:visited { color:var(--mf-logo-blue)!important; text-decoration:underline; text-underline-offset:3px; }
body .woocommerce-breadcrumb a:hover { color:var(--mf-brand-green)!important; background:color-mix(in srgb,var(--mf-zolpan-light) 22%,white); }
body .woocommerce-breadcrumb a:focus-visible { outline:3px solid var(--mf-logo-blue); outline-offset:3px; background:color-mix(in srgb,var(--mf-zolpan-light) 22%,white); }
body header.elementor .jet-mega-menu-item__link--top-level:focus-visible { background:color-mix(in srgb,var(--mf-zolpan-light) 22%,white); }
/* END LOT1 */
/* BEGIN LOT2 20261015: original search widget relocation, no cloned forms. */
body header.elementor .elementor-element-9b2b8c3 { flex-direction:row; align-items:center; justify-content:center; gap:20px; flex-wrap:wrap; }
body header.elementor .elementor-element-9b2b8c3 > .elementor-element-8193fd9 { width:auto; flex:0 1 auto; }
body header.elementor .elementor-element-9b2b8c3 > .elementor-element-ac0d2af { width:250px; max-width:100%; flex:0 1 250px; margin:0; }
body header.elementor .elementor-element-ac0d2af .jet-ajax-search__field { min-width:0; padding:10px 12px; }
body header.elementor .jet-ajax-search__results-area { max-width:calc(100vw - 32px); }
body .mf-v2-zolpan-catalogue { position:fixed!important; top:var(--mf-catalogue-top,83px)!important; right:12px!important; left:auto!important; bottom:auto!important; transform:translateY(-50%)!important; width:auto!important; z-index:980; margin:0!important; }
body .mf-v2-zolpan-catalogue .elementor-button { background:var(--mf-logo-blue)!important; color:white!important; }
body .mf-v2-zolpan-catalogue a:focus-visible { outline:3px solid var(--mf-brand-green); outline-offset:3px; }
@media(max-width:767px) {
 body .mf-v2-zolpan-catalogue { right:8px!important; width:86px!important; max-width:86px!important; }
 body .mf-v2-zolpan-catalogue .elementor-button { padding:8px 6px; font-size:12px!important; line-height:1.25; width:86px; }
 body .mf-v2-zolpan-catalogue .elementor-button-icon { display:none; } body .mf-v2-zolpan-catalogue .elementor-button-text { white-space:normal!important; }
 body header.elementor .elementor-element-2d1919b { gap:12px; }
 body header.elementor .elementor-element-26d32e8 { min-width:0; max-width:calc(100% - 65px); }
}
/* END LOT2 */
