:root:has(.zef-masthead) { scroll-padding-top: var(--zef-sticky-space, 174px); }
body:has(> .zef-masthead) { overflow-x: clip; }
body:has(> .zef-masthead) .zef-catalogue-selection { scroll-margin-top: 0; }
body:has(> .zef-masthead) .pd-shell > .grid > aside { top: var(--zef-sticky-space, 174px); }

.zef-masthead {
    --zef-contact-base: clamp(30px, 2vw, 34px);
    --zef-main-base: clamp(68px, 5vw, 80px);
    --zef-nav-base: 52px;
    --zef-contact-compact: 27px;
    --zef-main-compact: 60px;
    --zef-nav-compact: 46px;
    --zef-contact-height: var(--zef-contact-base);
    --zef-main-height: var(--zef-main-base);
    --zef-nav-height: var(--zef-nav-base);
    --zef-logo-height: 68px;
    --zef-search-height: 44px;
    position: sticky;
    top: 0;
    z-index: 70;
    /* Réserve la hauteur initiale pour que les sections ne sautent pas au scroll. */
    min-height: calc(var(--zef-contact-base) + var(--zef-main-base) + var(--zef-nav-base) + 1px);
    pointer-events: none;
    color: #24282a;
    font: 500 14px/1.4 Inter, Arial, sans-serif;
}
.zef-masthead[data-compact] {
    --zef-contact-height: var(--zef-contact-compact);
    --zef-main-height: var(--zef-main-compact);
    --zef-nav-height: var(--zef-nav-compact);
    --zef-logo-height: 52px;
    --zef-search-height: 40px;
}
.zef-masthead > * { pointer-events: auto; }
.zef-masthead [hidden] { display: none !important; }
.zef-masthead a { color: inherit; text-decoration: none; }
.zef-masthead :focus-visible { outline: 2px solid var(--ez-brand-primary, #35820f); outline-offset: 3px; }
.zef-masthead button { color: inherit; font: inherit; }
.zef-masthead svg { width: 1.15em; height: 1.15em; flex: none; }
.zef-masthead .zef-inner { width: min(92%, 1680px); }
.zef-topbar {
    position: relative;
    z-index: 3;
    background: var(--ez-brand-secondary, #183d2a);
    color: var(--ez-brand-on-secondary, #fff);
    font-size: clamp(.72rem, .85vw, .88rem);
}
.zef-topbar :focus-visible { outline-color: currentColor; }
.zef-topbar .zef-inner, .zef-top-contact, .zef-top-welcome {
    display: flex;
    align-items: center;
    gap: clamp(.65rem, 1.3vw, 1.45rem);
}
.zef-topbar .zef-inner { justify-content: space-between; min-height: var(--zef-contact-height); }
.zef-top-welcome span + span, .zef-languages summary, .zef-language-label {
    border-inline-start: 1px solid #ffffff45;
    padding-inline-start: .85em;
}
.zef-top-contact { flex: none; }
.zef-top-contact > a, .zef-language-label { display: inline-flex; align-items: center; gap: .38em; }
.zef-top-contact > a:hover { text-decoration: underline; }
.zef-main-bar { position: relative; z-index: 2; background: #fff; }
.zef-nav-inner {
    position: relative;
    display: grid;
    grid-template-columns: clamp(150px, 18.9vw, 344px) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(14px, 2vw, 40px);
    min-height: var(--zef-main-height);
}
.zef-brand-home { min-width: 0; font-weight: 800; }
.zef-brand-home img { display: block; width: 100%; height: auto; max-height: var(--zef-logo-height); object-fit: contain; object-position: left center; }
.zef-search { position: relative; min-width: 0; margin: 0; }
.zef-search-field {
    display: flex;
    align-items: center;
    min-height: var(--zef-search-height);
    background: #f6f7f7;
    border: 1px solid #d8deda;
    border-radius: 22px;
    padding-inline-start: 1rem;
    box-shadow: 0 2px 5px #1e382211;
}
.zef-search-field:focus-within { border-color: var(--ez-brand-primary, #35820f); }
.zef-search-field > svg { font-size: 1rem; }
.zef-search-field input[type=search] {
    flex: 1;
    width: auto;
    min-width: 0;
    min-height: 0;
    align-self: stretch;
    margin: 0;
    padding: 0 .65rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    outline: none;
    box-shadow: none;
}
.zef-search input:focus-visible { outline-offset: -2px; }
.zef-search input::placeholder { color: #646c67; opacity: 1; }
.zef-search button {
    display: grid;
    place-items: center;
    width: clamp(50px, 4vw, 68px);
    align-self: stretch;
    border: 0;
    border-radius: 0 21px 21px 0;
    background: var(--ez-brand-primary, #35820f);
    color: var(--ez-brand-on-primary, #fff);
    font-size: 1.1rem;
    cursor: pointer;
}
.zef-search button:hover { background: var(--ez-brand-hover, #286b10); }
.zef-masthead .zef-suggestions { inset-inline: 0; width: auto; }
.zef-suggestions p { margin: .35rem .65rem; font-size: .78rem; color: #526157; }
.zef-suggestions ul, .zef-cart-items { list-style: none; margin: 0; padding: 0; }
.zef-suggestions li a { display: flex; align-items: center; gap: .6rem; }
.zef-suggestions img { flex: none; width: 42px; height: 42px; object-fit: contain; border-radius: 5px; background: #f3f6f2; }
.zef-suggestion-copy { display: grid; gap: .14rem; min-width: 0; }
.zef-suggestion-copy small { color: #4b6351; }
.zef-actions { display: flex; align-items: center; gap: clamp(.4rem, 1.6vw, 1.85rem); }
.zef-masthead .zef-action {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem;
    min-height: 44px;
    line-height: 1.1;
    border-radius: 8px;
}
.zef-masthead .zef-action:hover { background: #f3f6f2; }
.zef-masthead .zef-favorites { flex-direction: column; gap: .15rem; font-size: .75rem; }
.zef-action-icon { position: relative; display: grid; place-items: center; font-size: clamp(1.2rem, 1.6vw, 1.65rem); }
.zef-action-badge {
    position: absolute;
    inset: -.4rem -.42rem auto auto;
    display: grid;
    place-items: center;
    min-width: 1.25rem;
    min-height: 1.25rem;
    padding: 0 .21rem;
    border: 2px solid #fff;
    border-radius: 2rem;
    background: var(--ez-brand-primary, #35820f);
    color: var(--ez-brand-on-primary, #fff);
    font: 700 .7rem/1 Inter, sans-serif;
}
.zef-action-label { display: grid; gap: .26rem; white-space: nowrap; text-align: start; }
.zef-action-label strong { display: flex; align-items: center; gap: .22rem; }
.zef-action-label strong svg { width: .77em; height: .77em; }
.zef-action-label small { color: #5c625d; font-size: .78rem; }
.zef-action-label .zef-cart-total { color: var(--ez-brand-primary-ink, #28680d); font-weight: 750; }
.zef-nav-bar {
    position: relative;
    z-index: 1;
    border-top: 1px solid #eef0ed;
    background: #fff;
    box-shadow: 0 1px 0 #e4e8e2, 0 4px 14px #26382c0a;
}
.zef-masthead[data-compact] .zef-nav-bar { box-shadow: 0 1px 0 #dce4da, 0 4px 12px #26382c17; }
.zef-nav-strip, .zef-nav { display: flex; align-items: center; justify-content: space-between; }
.zef-nav-strip { gap: clamp(.7rem, 2vw, 2rem); min-height: var(--zef-nav-height); }
.zef-nav { flex: 1; gap: clamp(.55rem, 1.2vw, 1.5rem); white-space: nowrap; }
.zef-nav > a, .zef-nav > .zef-menu > summary { position: relative; display: flex; align-items: center; min-height: 42px; padding-block: .45rem; }
.zef-nav > a[aria-current] { font-weight: 750; }
.zef-nav > a[aria-current]::after { content: ""; position: absolute; inset: auto 0 .28rem; height: 2px; background: currentColor; }
.zef-menu { position: relative; }
.zef-menu summary { display: flex; align-items: center; gap: .4em; cursor: pointer; list-style: none; white-space: nowrap; }
.zef-menu summary::-webkit-details-marker { display: none; }
.zef-menu summary > svg:last-child { width: .78em; height: .78em; }
.zef-menu[open] summary > svg:last-child, .zef-account[open] .zef-action-label svg { transform: rotate(180deg); }
.zef-dropdown {
    position: absolute;
    inset: calc(100% + .35rem) auto auto 0;
    z-index: 1;
    min-width: 11.5rem;
    max-height: min(58vh, 30rem);
    overflow: auto;
    padding: .4rem;
    border: 1px solid #e1e6df;
    border-radius: .7rem;
    background: #fff;
    color: #24282a;
    box-shadow: 0 12px 28px #1d231d24;
}
.zef-languages .zef-dropdown, .zef-account .zef-dropdown, .zef-cart .zef-dropdown { inset-inline: auto 0; }
.zef-dropdown a, .zef-account form button {
    display: block;
    padding: .62rem .68rem;
    border-radius: .35rem;
    color: inherit;
    white-space: nowrap;
}
.zef-suggestions a { white-space: normal; }
.zef-account form { margin: 0; }
.zef-account form button { border: 0; background: none; width: 100%; text-align: start; cursor: pointer; }
.zef-dropdown a:hover, .zef-dropdown a[aria-current], .zef-account form button:hover { background: #edf4e9; }
.zef-rayon-all > summary {
    gap: .7rem;
    padding: .45rem clamp(.8rem, 1.25vw, 1.35rem);
    border-radius: .55rem;
    min-height: 44px;
    color: var(--ez-brand-on-primary, #fff);
    background: var(--ez-brand-primary, #35820f);
    font-weight: 700;
}
.zef-rayon-all > summary:hover { background: var(--ez-brand-hover, #286b10); }
.zef-rayon-all .zef-dropdown { min-width: min(16rem, 90vw); }
.zef-masthead .zef-quote {
    flex: none;
    border-color: var(--ez-brand-primary, #35820f);
    border-radius: 999px;
    color: var(--ez-brand-primary-ink, #28680d);
    padding-inline: clamp(.7rem, 1.15vw, 1.4rem);
    white-space: nowrap;
}
.zef-masthead .zef-quote:hover { background: #edf4e9; }
.zef-quote-short, .zef-mobile-toggle { display: none; }

.zef-cart .zef-cart-panel {
    width: min(24rem, 92vw);
    display: flex;
    flex-direction: column;
    max-height: min(65vh, 33rem);
    max-height: min(65dvh, 33rem);
    padding: 0;
    overflow: hidden;
}
.zef-cart-heading, .zef-cart-subtotal { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.zef-cart-heading { padding: .65rem .9rem; border-bottom: 1px solid #e7eae5; font-size: 1rem; }
.zef-cart-heading button { width: 38px; height: 38px; border: 0; border-radius: 6px; background: #f1f4f0; font-size: 1.2rem; cursor: pointer; }
.zef-cart-items { overflow: auto; min-height: 0; }
.zef-cart-items li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: .65rem; padding: .65rem .9rem; }
.zef-cart-items li + li { border-top: 1px solid #eef0ed; }
.zef-cart-items img, .zef-cart-thumb { display: block; width: 46px; height: 46px; border-radius: 6px; background: #f4f6f3; object-fit: contain; }
.zef-cart-line { display: grid; gap: .24rem; overflow-wrap: anywhere; }
.zef-cart-line small, .zef-cart-status { color: #526157; }
.zef-cart-status { margin: .75rem .9rem; }
.zef-cart-status:empty { display: none; }
.zef-cart-footer { padding: .85rem .9rem; border-top: 1px solid #e7eae5; }
.zef-cart-links { display: flex; gap: .5rem; margin-top: .65rem; }
.zef-cart-links a { flex: 1; padding: .55rem .4rem; border: 1px solid #d9e3d7; font-weight: 700; text-align: center; }
.zef-cart-links .zef-cart-checkout { color: var(--ez-brand-on-primary, #fff); background: var(--ez-brand-primary, #35820f); }
.zef-cart-links .zef-cart-checkout:hover { background: var(--ez-brand-hover, #286b10); }

@media (max-width: 1320px) { .zef-top-welcome span + span { display: none; } }
@media (max-width: 1220px) {
    .zef-nav-strip { justify-content: flex-start; }
    .zef-nav {
        position: absolute;
        inset: 100% 0 auto;
        display: none;
        max-height: 55dvh;
        overflow: auto;
        padding: .55rem 4% 1rem;
        background: #fff;
        box-shadow: 0 10px 28px #1d231d24;
    }
    .zef-nav[data-open] { display: grid; }
    .zef-nav > a[aria-current]::after { width: 2rem; }
    .zef-nav .zef-dropdown { position: static; box-shadow: none; }
    .zef-mobile-toggle {
        display: flex;
        align-items: center;
        gap: .45rem;
        min-height: 44px;
        padding: .4rem .65rem;
        border: 1px solid #e1e6df;
        border-radius: .55rem;
        background: #fff;
        cursor: pointer;
    }
    .zef-masthead .zef-quote { margin-inline-start: auto; }
}
@media (max-width: 740px) {
    .zef-masthead {
        --zef-contact-base: 29px;
        --zef-main-base: 92px;
        --zef-nav-base: 47px;
        --zef-contact-compact: 25px;
        --zef-main-compact: 84px;
        --zef-nav-compact: 43px;
        --zef-logo-height: 50px;
        --zef-search-height: 38px;
    }
    .zef-masthead[data-compact] { --zef-logo-height: 44px; --zef-search-height: 35px; }
    .zef-masthead .zef-inner { width: 94%; }
    .zef-top-welcome { display: none; }
    .zef-top-contact { width: 100%; }
    .zef-languages, .zef-language-label { margin-inline-start: auto; }
    .zef-nav-inner { grid-template-columns: minmax(110px, 1fr) auto; gap: 0 .5rem; padding: .1rem 0 .15rem; }
    .zef-brand-home img { width: min(50vw, 220px); }
    .zef-search { grid-column: 1 / -1; grid-row: 2; }
    .zef-search-field { padding-inline-start: .65rem; }
    .zef-search-field input[type=search] { font-size: .79rem; padding-inline: .4rem; }
    .zef-actions { gap: .3rem; min-height: 44px; }
    .zef-masthead .zef-action { gap: 0; justify-content: center; min-width: 41px; }
    .zef-masthead .zef-favorites { font-size: 0; }
    .zef-favorites .zef-action-icon { font-size: 1.24rem; }
    .zef-action-label { display: none; }
    .zef-cart { position: static; }
    .zef-cart .zef-cart-panel { inset-inline: 0; width: auto; }
    .zef-nav-strip { gap: .35rem; }
    .zef-rayon-all > summary, .zef-mobile-toggle { padding-inline: .5rem; min-height: 38px; font-size: clamp(.7rem, 2.6vw, .82rem); gap: .35rem; }
    .zef-masthead .zef-quote { padding-inline: .42rem; font-size: .72rem; min-height: 37px; }
    .zef-quote-full { display: none; }
    .zef-quote-short { display: inline; }
}
@media (max-width: 560px) {
    .zef-contact-mail span, .zef-contact-location span { display: none; }
    .zef-top-contact > a { min-height: var(--zef-contact-height); }
}
@media (max-width: 360px) {
    .zef-rayon-all > summary svg:first-child, .zef-mobile-toggle svg { display: none; }
}
