/* French desktop header: keep each category label together and let the gaps
   expand before increasing the type size. A larger user font can wrap rows. */
@media (min-width: 1120px) {
    html[lang="fr"] .mega-menu-main {
        margin-left: -50vw;
        padding-inline: 8px;
    }
    html[lang="fr"] .mega-menu-main > nav {
        flex-wrap: wrap;
        column-gap: clamp(14px, calc(7vw - 68px), 26px);
    }
    html[lang="fr"] .mega-menu-main > nav > .level-0 {
        flex: 0 0 auto;
        margin-inline: 0;
    }
    html[lang="fr"] .mega-menu-main > nav > .level-0 > span {
        padding-inline: 0;
    }
    html[lang="fr"] .mega-menu-main a.level-0 {
        font-size: clamp(.875rem, 1.26vw, .95rem);
        white-space: nowrap;
    }
}
/* Use the existing drawer on landscape tablets before the nine links fit. */
@media (min-width: 1024px) and (max-width: 1119px) {
    html[lang="fr"] #header-container {
        grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "navmenu search logo accountmenu";
        column-gap: .7rem;
        padding-bottom: .65rem;
    }
    html[lang="fr"] #navmenu { width: auto; z-index: 60; }
    html[lang="fr"] #navmenu > .navigation { width: auto; padding: 0; margin: 0; }
    html[lang="fr"] .lgb-mobile-nav { display: block; }
    html[lang="fr"] .mega-menu-main { display: none; }
    html[lang="fr"] .lgb-menu-toggle { width: auto; gap: .45rem; }
    html[lang="fr"] .lgb-menu-toggle::after { content: "Menu"; font-size: .875rem; }
}
.lgb-services {
    background: #594c3c;
    color: #fff;
}
.lgb-services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: .75rem;
    padding-block: .35rem;
}
.lgb-services__action {
    display: flex;
    align-items: center;
    gap: clamp(.4rem, 1vw, 1rem);
    width: 100%;
    min-height: 44px;
    padding: 0;
    color: inherit;
    text-align: start;
    line-height: 1.2;
}
.lgb-services__action:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lgb-services__action img { flex: 0 0 auto; width: 36px; height: 36px; object-fit: contain; }
.lgb-services__title { display: block; font-size: .79rem; font-weight: 700; text-transform: uppercase; }
.lgb-services__subtitle { display: block; font-size: .75rem; margin-block-start: 2px; }
.lgb-services__dialog {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: min(31rem, calc(100% - 2rem));
    max-height: 90vh;
    margin: auto;
    border-radius: .5rem;
    padding: 1.5rem;
    background: #fffcf7;
    color: #423328;
}
.lgb-services__dialog::backdrop { background: rgb(36 28 20 / 55%); }
.lgb-services__dialog h2 { font-size: 1.45rem; font-weight: 700; margin-bottom: .65rem; }
.lgb-services__dialog a { text-decoration: underline; }
.lgb-services__dialog form { margin-top: 1rem; text-align: right; }
.lgb-services__dialog button { padding: .5rem 1rem; border: 1px solid currentColor; border-radius: .25rem; }
@media (max-width: 767px) {
    .lgb-services__grid {
        grid-template-columns: 1.24fr 1fr 1fr;
        gap: .5rem;
        padding: .25rem .55rem;
    }
    .lgb-services__item:last-child { display: none; }
    .lgb-services__action { gap: .35rem; min-height: 40px; }
    .lgb-services__action img { width: 24px; height: 24px; }
    .lgb-services__title { font-size: .65rem; }
    .lgb-services__subtitle { font-size: .65rem; }
}
@media (max-width: 369px) {
    .lgb-services__action img { display: none; }
}
.lgb-home-slider-hd a[href$="/cadeau/panier-gourmand/noel-gourmand.html"] > div:first-child {
    top: 50%;
    left: max(6%, calc((100% - 1100px) / 2));
    transform: translateY(-50%);
    max-width: 25.5rem;
    margin: 0;
    padding: clamp(1.25rem, 2.4vw, 2rem);
    background-color: #fffaf3f7;
    color: #412f23;
    box-shadow: 0 4px 20px rgb(45 32 19 / 10%);
}
.lgb-home-slider-hd a[href$="/cadeau/panier-gourmand/noel-gourmand.html"] > div > div:first-child {
    font-size: clamp(1.55rem, 2.8vw, 2.65rem);
    line-height: 1.12;
    margin-bottom: .65rem;
}
.lgb-home-slider-hd a[href$="/cadeau/panier-gourmand/noel-gourmand.html"] > div > div:nth-child(2) {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.lgb-home-slider-hd a[href$="/cadeau/panier-gourmand/noel-gourmand.html"] .lgb-slider-cta {
    background-color: #7d411f;
    color: white;
}
.lgb-home-slider-hd a[href$="/cadeau/panier-gourmand/noel-gourmand.html"] .lgb-slider-cta > span { display: inline; margin: 0; }
@media (max-width: 767px) {
    .lgb-home-slider-hd a[href$="/cadeau/panier-gourmand/noel-gourmand.html"] > div:first-child {
        inset: auto 1.3rem .9rem;
        margin-inline: auto;
        transform: none;
        max-width: 29rem;
        padding: .8rem 1rem;
        text-align: center;
    }
    .lgb-home-slider-hd a[href$="/cadeau/panier-gourmand/noel-gourmand.html"] > div > div:first-child { margin-bottom: .25rem; }
    .lgb-home-slider-hd a[href$="/cadeau/panier-gourmand/noel-gourmand.html"] > div > div:nth-child(2) { font-size: .83rem; margin-bottom: .6rem; }
}
