/* Short pages fill the viewport; the existing body padding reserves the measured
   mobile navigation height exactly once, including its safe area/cart row. */
body.korum-design-approved {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
}
body.korum-design-approved.admin-bar {
    min-height: calc(100vh - var(--korum-adminbar-height, var(--wp-admin--admin-bar--height, 32px)));
    min-height: calc(100dvh - var(--korum-adminbar-height, var(--wp-admin--admin-bar--height, 32px)));
}
body.korum-design-approved > .wrapper-page { flex: 1 0 auto; z-index: auto; }
body.korum-design-approved > #wp-footer { flex-shrink: 0; }

#wp-footer.korum-footer-enhanced {
    font-family: Jost, sans-serif;
    --korum-footer-gap: clamp(28px, 4vw, 58px);
    --korum-footer-border: rgba(255, 255, 255, .16);
}

#wp-footer .elementor-element-349cdf8 > .elementor-container {
    align-items: start;
    display: grid;
    gap: var(--korum-footer-gap);
    grid-template-columns: minmax(220px, .85fr) minmax(300px, 1.1fr) minmax(320px, 1.15fr);
}

#wp-footer .elementor-element-349cdf8 > .elementor-container > .elementor-column,
#wp-footer .elementor-element-6f6dfa6 > .elementor-container > .elementor-column,
#wp-footer .elementor-element-6b9dd89 > .elementor-container > .elementor-column {
    width: 100% !important;
}

#wp-footer .elementor-element-6f6dfa6 > .elementor-container,
#wp-footer .elementor-element-6b9dd89 > .elementor-container {
    align-items: center;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(200px, .8fr) minmax(0, 1.2fr);
}

#wp-footer .elementor-element-6f6dfa6 .elementor-element-27121d0,
#wp-footer .elementor-element-6b9dd89 .elementor-element-d8c3211 {
    justify-self: end;
    text-align: right;
}

#wp-footer .korum-footer-section h2,
#wp-footer .korum-footer-section h3,
#wp-footer .korum-footer-section h4 {
    margin-bottom: 20px;
}

#wp-footer .korum-footer-contact,
#wp-footer .korum-footer-links,
#wp-footer .korum-footer-form {
    min-width: 0;
}

#wp-footer .korum-footer-links a {
    display: inline-flex;
    padding: 3px 0;
}

#wp-footer .korum-footer-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
#wp-footer .korum-footer-form select,
#wp-footer .korum-footer-form textarea {
    max-width: 100%;
    width: 100%;
}

.korum-footer-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--korum-footer-border);
    color: inherit;
    display: none;
    font: inherit;
    font-size: 17px;
    font-weight: 750;
    justify-content: space-between;
    padding: 15px 0;
    text-align: left;
    width: 100%;
}

.korum-footer-toggle svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform .18s ease;
    width: 20px;
}

.korum-footer-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

@media (min-width: 1440px) {
    #wp-footer .elementor-container {
        max-width: 1320px;
    }
}

@media (min-width: 1180px) and (max-width: 1439px) {
    #wp-footer.korum-footer-enhanced {
        --korum-footer-gap: 34px;
    }

    #wp-footer .elementor-element-349cdf8 > .elementor-container {
        grid-template-columns: minmax(210px, .8fr) minmax(280px, 1fr) minmax(320px, 1.1fr);
    }
}

@media (min-width: 768px) and (max-width: 1179px) {
    #wp-footer.korum-footer-enhanced {
        --korum-footer-gap: 32px;
    }

    #wp-footer .elementor-element-349cdf8 > .elementor-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #wp-footer .korum-footer-form {
        grid-column: 1 / -1;
    }

    #wp-footer .korum-footer-form > .elementor-widget-wrap {
        margin-inline: auto;
        max-width: 760px;
        width: 100%;
    }

    #wp-footer .elementor-element-6f6dfa6 > .elementor-container,
    #wp-footer .elementor-element-6b9dd89 > .elementor-container {
        grid-template-columns: minmax(170px, .7fr) minmax(0, 1.3fr);
    }
}

@media (max-width: 767px) {
    #wp-footer .elementor-element-349cdf8 > .elementor-container,
    #wp-footer .elementor-element-6f6dfa6 > .elementor-container,
    #wp-footer .elementor-element-6b9dd89 > .elementor-container {
        gap: 18px;
        grid-template-columns: minmax(0, 1fr);
    }

    #wp-footer .elementor-element-6f6dfa6 .elementor-element-27121d0,
    #wp-footer .elementor-element-6b9dd89 .elementor-element-d8c3211 {
        justify-self: start;
        text-align: left;
    }

    #wp-footer .elementor-element-6f6dfa6 .site-branding-logo img,
    #wp-footer .elementor-element-6b9dd89 .site-branding-logo img {
        max-height: 74px;
        width: auto;
    }

    #wp-footer .korum-footer-section {
        border-top: 1px solid var(--korum-footer-border);
        display: block !important;
        width: 100% !important;
    }

    #wp-footer .korum-footer-toggle {
        display: flex;
    }

    #wp-footer .korum-footer-section > .elementor-widget-wrap > .elementor-element:first-child h2,
    #wp-footer .korum-footer-section > .elementor-widget-wrap > .elementor-element:first-child h3,
    #wp-footer .korum-footer-section > .elementor-widget-wrap > .elementor-element:first-child h4 {
        display: none;
    }

    #wp-footer .korum-footer-section > .elementor-widget-wrap {
        display: block !important;
        padding-bottom: 18px;
        padding-top: 12px;
    }

    #wp-footer .korum-footer-section > .elementor-widget-wrap[hidden] {
        display: none !important;
    }

    #wp-footer .korum-footer-section > .elementor-widget-wrap > .elementor-element {
        max-width: none !important;
        width: 100% !important;
    }

    #wp-footer .elementor-element-13d26d1 {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .korum-footer-toggle svg {
        transition: none;
    }
}

/* Variantes contextuelles : contenu unique Elementor, densité adaptée au parcours. */
#wp-footer.korum-footer-enhanced {
    --korum-footer-gap: clamp(18px, 2.4vw, 34px);
}

#wp-footer.korum-footer-enhanced .elementor-element-349cdf8,
#wp-footer.korum-footer-enhanced .elementor-element-6f6dfa6,
#wp-footer.korum-footer-enhanced .elementor-element-6b9dd89 {
    padding-bottom: clamp(18px, 2vw, 30px) !important;
    padding-top: clamp(18px, 2vw, 30px) !important;
}

#wp-footer.korum-footer-enhanced .elementor-element-349cdf8 {
    margin-bottom: 0 !important;
}

#wp-footer.korum-footer-enhanced .elementor-element-6f6dfa6,
#wp-footer.korum-footer-enhanced .elementor-element-6b9dd89 {
    margin-bottom: 0 !important;
}

#wp-footer.korum-footer-enhanced .elementor-element-349cdf8 > .elementor-container {
    grid-template-columns: minmax(240px, .9fr) minmax(320px, 1.25fr) minmax(180px, .65fr);
}

#wp-footer.korum-footer-enhanced .korum-footer-section h2,
#wp-footer.korum-footer-enhanced .korum-footer-section h3,
#wp-footer.korum-footer-enhanced .korum-footer-section h4 {
    margin-bottom: 12px;
}

#wp-footer.korum-footer-enhanced .korum-footer-form > .elementor-widget-wrap,
#wp-footer.korum-footer-enhanced .korum-footer-form > .korum-footer-toggle {
    display: none !important;
}

#wp-footer .korum-footer-contact-cta {
    align-items: center;
    align-self: start;
    background: #ed1c24;
    border-radius: var(--korum-radius-control);
    color: #fff;
    display: inline-flex;
    font-weight: 750;
    justify-content: center;
    min-height: 46px;
    padding: 10px 20px;
    text-align: center;
}

#wp-footer .korum-footer-contact-cta:hover,
#wp-footer .korum-footer-contact-cta:focus-visible {
    background: #fff;
    color: #182333;
}

#wp-footer.korum-footer--contact-page .korum-footer-form,
#wp-footer.korum-footer--catalog .elementor-element-6b9dd89,
#wp-footer.korum-footer--transaction .elementor-element-6f6dfa6,
#wp-footer.korum-footer--transaction .elementor-element-6b9dd89,
#wp-footer.korum-footer--transaction .korum-footer-form,
#wp-footer.korum-footer--transaction .korum-footer-links li:not(.korum-footer-transaction-essential) {
    display: none !important;
}

#wp-footer.korum-footer--catalog .elementor-element-6f6dfa6 > .elementor-container {
    grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr);
}

#wp-footer.korum-footer--catalog .elementor-element-6f6dfa6 .site-branding-logo img {
    max-height: 58px;
    width: auto;
}

#wp-footer.korum-footer--institutional .elementor-element-6f6dfa6 img {
    max-height: 80px;
    object-fit: contain;
    width: auto;
}

#wp-footer.korum-footer--institutional .elementor-element-6b9dd89 img {
    max-height: 110px;
    object-fit: contain;
    width: auto;
}

#wp-footer.korum-footer--transaction .elementor-element-349cdf8 > .elementor-container {
    grid-template-columns: minmax(240px, .8fr) minmax(360px, 1.2fr);
}

#wp-footer.korum-footer--transaction .korum-footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin-bottom: 0;
}

@media (min-width: 768px) and (max-width: 1179px) {
    #wp-footer.korum-footer-enhanced .elementor-element-349cdf8 > .elementor-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #wp-footer.korum-footer-enhanced .korum-footer-form {
        align-items: center;
        display: flex;
        grid-column: auto;
    }

    #wp-footer.korum-footer--institutional .elementor-element-6b9dd89 img {
        max-height: 170px;
        object-fit: contain;
        width: auto;
    }
}

@media (max-width: 767px) {
    #wp-footer.korum-footer-enhanced .elementor-element-349cdf8,
    #wp-footer.korum-footer-enhanced .elementor-element-6f6dfa6,
    #wp-footer.korum-footer-enhanced .elementor-element-6b9dd89 {
        padding-bottom: 14px !important;
        padding-top: 14px !important;
    }

    #wp-footer.korum-footer--catalog .elementor-element-6f6dfa6,
    #wp-footer.korum-footer--transaction .elementor-element-6f6dfa6,
    #wp-footer.korum-footer--institutional .elementor-element-6b9dd89 {
        display: none !important;
    }

    #wp-footer.korum-footer-enhanced .elementor-element-349cdf8 > .elementor-container {
        gap: 0;
    }

    #wp-footer.korum-footer-enhanced .korum-footer-section {
        min-height: 0;
    }

    #wp-footer.korum-footer-enhanced .korum-footer-toggle {
        min-height: 48px;
        padding: 11px 0;
    }

    #wp-footer.korum-footer-enhanced .korum-footer-contact-cta {
        margin-top: 14px;
        width: 100%;
    }
}
/* Les pages d'achat gardent un footer compact et sans distraction. */
.korum-context-purchase #wp-footer {
    margin-top: clamp(24px, 4vw, 56px);
}

@media (max-width: 767px) {
    .korum-context-purchase #wp-footer {
        padding-bottom: 72px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .korum-context-purchase #wp-footer {
        padding-bottom: 24px;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .korum-context-catalog #wp-footer {
        margin-top: 40px;
    }
}

@media (min-width: 1280px) {
    .korum-context-site #wp-footer {
        margin-top: 56px;
    }
}

/* Approved compact footer: one definitive grid per breakpoint. */
#wp-footer.korum-footer-enhanced { background:#101722; color:#d7dce4; padding:24px 24px 18px; }
#wp-footer.korum-footer-enhanced .elementor-section { background:transparent!important; }
#wp-footer.korum-footer-enhanced .elementor-container { max-width:1200px; }
#wp-footer.korum-footer-enhanced .elementor-widget-wrap { padding:0!important; }
#wp-footer.korum-footer-enhanced .elementor-widget { margin-bottom:12px; }
#wp-footer.korum-footer-enhanced .elementor-widget-container { margin:0!important;padding:0!important; }
#wp-footer.korum-footer-enhanced .footer-main { background:transparent!important; }
#wp-footer.korum-footer-enhanced .elementor-widget-text-editor,
#wp-footer.korum-footer-enhanced .elementor-widget-text-editor :is(div,p,a) { font-size:14px!important;line-height:1.5!important; }
#wp-footer.korum-footer-enhanced .elementor-widget-text-editor p {margin:0 0 8px;}
#wp-footer.korum-footer-enhanced .site-branding-logo {display:inline-flex!important;width:auto!important;padding:6px!important;border-radius:2px;}
#wp-footer.korum-footer-enhanced .gsc-logo {width:fit-content;background:transparent!important;}
#wp-footer.korum-footer-enhanced .gva-element-gva-logo {width:fit-content;background:transparent!important;}
#wp-footer.korum-footer-enhanced .korum-footer-toggle:hover {background:#ffffff08;color:#fff;}
#wp-footer.korum-footer-enhanced .elementor-element-6b9dd89 .elementor-widget-image a {display:inline-block;}
#wp-footer.korum-footer-enhanced .elementor-element-d01ae78 .elementor-widget {margin:0;}
#wp-footer.korum-footer-enhanced :is(.elementor-element-349cdf8,.elementor-element-6f6dfa6,.elementor-element-6b9dd89) { padding:16px 0!important; margin:0!important; }
#wp-footer.korum-footer-enhanced .elementor-element-349cdf8 > .elementor-container { grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,.7fr); gap:28px; }
#wp-footer.korum-footer-enhanced .elementor-element-6f6dfa6 > .elementor-container { grid-template-columns:200px minmax(0,1fr); gap:28px; }
#wp-footer.korum-footer-enhanced .elementor-element-6b9dd89 > .elementor-container { grid-template-columns:minmax(0,1fr) 240px; gap:24px; border-top:1px solid #ffffff20; padding-top:14px; }
#wp-footer.korum-footer-enhanced .elementor-element-6b9dd89 { font-size:13px; }
#wp-footer.korum-footer-enhanced :is(.elementor-element-6f6dfa6,.elementor-element-6b9dd89) :is(p,.elementor-heading-title) { font-size:15px!important; line-height:1.5!important; margin:0; text-align:left; }
#wp-footer.korum-footer-enhanced .elementor-element-6f6dfa6 img { width:auto!important; max-width:200px!important; max-height:62px!important; object-fit:contain; }
#wp-footer.korum-footer-enhanced .elementor-element-6b9dd89 img { width:auto!important; max-width:240px!important; max-height:48px!important; object-fit:contain; }
#wp-footer.korum-footer-enhanced .korum-footer-section :is(h2,h3,h4) { font-size:17px; line-height:1.3; margin:0 0 12px; }
#wp-footer.korum-footer-enhanced .korum-footer-contact p { margin:0 0 8px; font-size:14px; line-height:1.5; }
#wp-footer.korum-footer-enhanced .korum-footer-links a { font-size:14px; line-height:1.5; padding:5px 0; }
#wp-footer.korum-footer-enhanced .korum-footer-contact-cta { background:#C2000B; border-radius:2px; font-size:14px; }
#wp-footer.korum-footer-enhanced .korum-footer-legal-source { display:none!important; }
#wp-footer .korum-footer-legal { display:flex; flex-wrap:wrap; gap:8px 24px; max-width:1200px; margin:12px auto 0; padding-top:12px; border-top:1px solid #ffffff20; }
#wp-footer .korum-footer-legal a { color:#d7dce4; font-size:12px; padding:6px 0; }
#wp-footer a:hover { color:white; }
#wp-footer a:focus-visible,#wp-footer button:focus-visible { outline:2px solid #fff;outline-offset:3px; }
@media(min-width:768px) and (max-width:1179px) {
 #wp-footer.korum-footer-enhanced {padding-top:16px;padding-bottom:12px;}
 #wp-footer.korum-footer-enhanced :is(.elementor-element-349cdf8,.elementor-element-6f6dfa6,.elementor-element-6b9dd89) {padding:8px 0!important;}
 #wp-footer.korum-footer-enhanced .elementor-widget {margin-bottom:6px;}
 #wp-footer.korum-footer-enhanced .elementor-element-349cdf8 > .elementor-container { grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px; }
 #wp-footer.korum-footer-enhanced .korum-footer-form { grid-column:1/-1; }
}
@media(max-width:767px) {
 #wp-footer.korum-footer-enhanced { padding:20px 16px 16px; }
 #wp-footer.korum-footer-enhanced :is(.elementor-element-349cdf8,.elementor-element-6f6dfa6,.elementor-element-6b9dd89) > .elementor-container { grid-template-columns:minmax(0,1fr)!important;gap:12px; }
 #wp-footer.korum-footer-enhanced .elementor-element-349cdf8 > .elementor-container { gap:0; }
 #wp-footer.korum-footer-enhanced .elementor-element-6f6dfa6 img { max-width:160px!important;max-height:48px!important; }
 #wp-footer.korum-footer-enhanced .elementor-element-6f6dfa6 :is(p,.elementor-heading-title) { font-size:14px!important; }
 #wp-footer.korum-footer-enhanced .korum-footer-section { border:0; }
 #wp-footer.korum-footer-enhanced .korum-footer-section > .elementor-widget-wrap:not([hidden]) { padding:12px 0!important; }
 #wp-footer.korum-footer-enhanced .korum-footer-form { order:-1; }
 #wp-footer.korum-footer-enhanced .korum-footer-contact-cta { margin:0 0 14px; }
 #wp-footer.korum-footer-enhanced .korum-footer-toggle { border-bottom:1px solid #ffffff20; font-size:15px; }
 #wp-footer .korum-footer-legal { gap:4px 16px; }
 #wp-footer .korum-footer-legal a { min-height:36px;display:inline-flex;align-items:center; }
 .korum-context-purchase #wp-footer.korum-footer-enhanced { padding-bottom:16px; }
}
/* Keep the privacy control reachable without covering purchase navigation. */
body #cmplz-manage-consent .cmplz-manage-consent.cmplz-show {display:block!important}
body #cmplz-manage-consent .cmplz-manage-consent {
 left:12px!important;right:auto!important;bottom:12px!important;
 transform:none!important;margin:0!important;min-height:44px!important;
 height:auto!important;max-width:calc(100vw - 88px);padding:8px 12px!important;
 border:1px solid #dce1e7!important;border-radius:2px!important;
 background:#fff!important;color:#182333!important;
 font:500 12px/1.35 Jost,sans-serif!important;box-shadow:0 2px 12px #18233318;
 z-index:998!important;
}
/* Both controls sit outside the header stacking context and above its drawer. */
body #cmplz-manage-consent {position:relative;z-index:998!important}
body #cmplz-cookiebanner-container {position:relative;z-index:100002!important}
body #cmplz-cookiebanner-container .cmplz-cookiebanner {z-index:100002!important}
body #cmplz-manage-consent .korum-consent-tab.cmplz-show {display:flex!important;align-items:center;gap:10px;box-sizing:border-box;min-width:44px!important;width:44px!important;padding:10px!important;overflow:hidden;transition:width .2s ease}
.korum-consent-tab svg {width:22px;height:22px;flex:none;fill:none;stroke:#C2000B;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.korum-consent-tab .korum-consent-label {display:none}
body #cmplz-manage-consent .korum-consent-tab.is-expanded {width:280px!important}
.korum-consent-tab.is-expanded .korum-consent-label {display:block}
body .korum-help-tab {z-index:998}
@media(prefers-reduced-motion:reduce) {body #cmplz-manage-consent .korum-consent-tab {transition:none!important}}
body #cmplz-manage-consent .cmplz-manage-consent:focus-visible {outline:2px solid #C2000B;outline-offset:2px}
/* Complianz: KORUM appearance only; consent logic and choices stay unchanged. */
body #cmplz-cookiebanner-container .cmplz-cookiebanner {
 font-family:Jost,sans-serif!important;color:#182333!important;background:#fff!important;
 border:1px solid #dce1e7!important;border-top:3px solid #C2000B!important;border-radius:2px!important;
 box-shadow:0 8px 32px #18233326!important;max-height:calc(100dvh - 24px);overflow-y:auto;
}
body #cmplz-cookiebanner-container .cmplz-message {font:400 14px/1.6 Jost,sans-serif!important;color:#586678!important}
body #cmplz-cookiebanner-container .cmplz-btn {
 font:600 15px/1.4 Jost,sans-serif!important;min-height:44px;border-radius:2px!important;
 box-shadow:none!important;text-transform:none!important;
}
body #cmplz-cookiebanner-container .cmplz-btn.cmplz-accept,
body #cmplz-cookiebanner-container .cmplz-btn.cmplz-deny {background:#C2000B!important;color:#fff!important;border:1px solid #C2000B!important}
body #cmplz-cookiebanner-container .cmplz-btn.cmplz-accept:hover,
body #cmplz-cookiebanner-container .cmplz-btn.cmplz-deny:hover {background:#a50009!important;border-color:#a50009!important}
body #cmplz-cookiebanner-container .cmplz-btn.cmplz-view-preferences,
body #cmplz-cookiebanner-container .cmplz-btn.cmplz-save-preferences {background:#f6f8fa!important;color:#182333!important;border:1px solid #dce1e7!important}
body #cmplz-cookiebanner-container a {color:#182333!important;text-decoration:underline;text-underline-offset:3px}
body #cmplz-cookiebanner-container a:hover {color:#C2000B!important}
body #cmplz-cookiebanner-container :focus-visible {outline:2px solid #C2000B!important;outline-offset:3px}
body #cmplz-cookiebanner-container .cmplz-close {color:#182333!important}
@media(max-width:1179px) {
 body.korum-has-mobile-nav #cmplz-manage-consent .cmplz-manage-consent {bottom:calc(var(--korum-mobile-nav-height,65px) + 10px)!important}
 body.korum-has-mobile-nav .korum-help-tab.is-expanded {bottom:calc(var(--korum-mobile-nav-height,65px) + 64px)}
 body.korum-mobile-keyboard #cmplz-manage-consent {visibility:hidden}
}
