/* Shared footer presentation; native boxes, links and collapse controls remain intact. */
#footer #footer-boxes{row-gap:28px;padding-block:32px 16px}
#footer #footer-boxes>[class*=col]{min-width:0}
#footer #footer-boxes .box{margin-bottom:0;overflow-wrap:anywhere}
#footer #footer-boxes .productlist-filter-headline{font-size:16px;font-weight:700;line-height:1.4;margin-bottom:16px}
#footer #footer-boxes .nav-link{display:flex;align-items:center;min-height:36px;padding-block:6px;line-height:1.5;text-underline-offset:4px}
#footer #footer-boxes .nav-item{margin-bottom:2px}
#footer #footer-boxes a:not(.btn):hover{text-decoration:underline}
#footer :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:3px}
#footer #footer-boxes .box-content-wrapper{line-height:1.65}
#footer #footer-boxes .box-content-wrapper img{max-width:100%;object-fit:contain}
#footer .newsletter-footer{row-gap:16px}
#footer .newsletter-footer .form-control{min-height:44px;background:var(--atelier-color-surface,#fff);color:var(--atelier-color-ink,#303941);border-color:var(--atelier-color-border,#ccd4da)}
#footer .newsletter-footer button{min-height:44px;white-space:normal}
#footer .withdrawal-link-wrapper{margin-top:16px}
#footer #copyright{margin-top:24px;padding-block:18px;line-height:1.6}
#footer #copyright .row{row-gap:12px;align-items:center}
/* Palette overrides also cover native mobile collapse surfaces and focus states. */
html[data-atelier-scheme]:not([data-atelier-scheme="native"]) body:not(.atelier-footer-light) #footer #footer-boxes .box-linkgroup .collapse,
html[data-atelier-scheme]:not([data-atelier-scheme="native"]) body:not(.atelier-footer-light) #footer #footer-boxes .box-linkgroup .collapsing{background:var(--atelier-color-dark)}
html[data-atelier-scheme]:not([data-atelier-scheme="native"]) body:not(.atelier-footer-light) #footer #footer-boxes :is(.box-normal-link,.productlist-filter-headline){color:#fff}
html[data-atelier-scheme]:not([data-atelier-scheme="native"]) body:not(.atelier-footer-light) #footer #footer-boxes a:not(.btn):is(:hover,:focus-visible){color:#fff;text-decoration:underline}
html[data-atelier-scheme]:not([data-atelier-scheme="native"]) body:not(.atelier-footer-light) #footer .box-normal-hr{border-color:rgb(255 255 255 / 22%)}
@media(max-width:767.98px){
 #footer #footer-boxes{row-gap:0;padding-block:20px 8px}
 #footer #footer-boxes>[class*=col]{flex:0 0 100%;max-width:100%}
 #footer #footer-boxes .box-normal-link{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding-block:12px;white-space:normal;font-weight:600}
 #footer #footer-boxes .box-normal-link .text-truncate{white-space:normal;overflow:visible}
 #footer #footer-boxes .nav-link{min-height:44px;padding-block:10px}
 #footer #footer-boxes .box-linkgroup .nav-panel{padding-bottom:12px}
 #footer #footer-boxes .box-custom{padding-block:16px}
 #footer #footer-boxes .box-normal-hr{margin-block:0}
 #footer #copyright{margin-top:16px;padding-block:16px}
}

/* Light footer, using the active palette. */
body.atelier-footer-light #footer {
    background: linear-gradient(180deg, var(--atelier-color-soft, #efede9), var(--atelier-color-surface, #fff) 240px);
    color: var(--atelier-color-ink, #292929);
    padding-top: 0;
}
body.atelier-footer-light #footer > .container {
    padding-top: 0;
}
body.atelier-footer-light #footer #footer-boxes {
    padding-top: 24px;
}
body.atelier-footer-light #footer #footer-boxes,
body.atelier-footer-light #footer #footer-boxes .box-normal .nav-link,
body.atelier-footer-light #footer :is(.box-normal, .box-normal-link, .productlist-filter-headline, .h5, .footnote-vat, a:not(.btn):not([role="button"])) {
    color: var(--atelier-color-ink, #292929);
}
/* Override NOVA's white text utilities on the light footer's content. */
body.atelier-footer-light #footer #footer-boxes :is(.productlist-filter-headline, .box-normal-link, .text-white),
body.atelier-footer-light #footer #footer-boxes .box-custom .box-content-wrapper,
body.atelier-footer-light #footer #footer-boxes .box-custom .box-content-wrapper :is(p, address, div, span, strong, small),
body.atelier-footer-light #footer .newsletter-footer-heading {
    color: var(--atelier-color-ink, #292929) !important;
}
body.atelier-footer-light #footer #footer-boxes :is(.collapse, .collapsing) {
    background: transparent;
}
body.atelier-footer-light #footer .box-normal-hr,
body.atelier-footer-light #footer #footer-boxes .nav-item + .nav-item {
    border-top: 1px solid var(--atelier-color-border, #d8d3cd);
}
@media (min-width: 768px) {
    body.atelier-footer-light #footer #footer-boxes .productlist-filter-headline {
        position: relative;
        padding-bottom: 10px;
    }
    body.atelier-footer-light #footer #footer-boxes .productlist-filter-headline::after {
        content: "";
        position: absolute;
        inset-inline-start: 0;
        bottom: 0;
        width: 26px;
        height: 2px;
        background: var(--atelier-color-accent, var(--primary, #b94700));
    }
}
body.atelier-footer-light #footer #copyright {
    margin-top: 16px;
    padding-block: 10px;
    border-top: 1px solid var(--atelier-color-border, #d8d3cd);
    background: var(--atelier-color-soft, #efede9);
    color: var(--atelier-color-ink, #292929);
}
body.atelier-footer-light #footer #copyright a {
    color: var(--atelier-color-ink, #292929) !important;
}
