/*
         * Le vrai bandeau Complianz :
         * structure verticale verrouillée, quelle que soit la page chargée.
         */
        body .cmplz-cookiebanner.yamm-complianz-shell.cmplz-show:not(.yamm-complianz-preferences) {
            display: flex !important;
            flex-direction: column !important;
            align-items: stretch !important;
            justify-content: flex-start !important;
            gap: 0 !important;

            height: auto !important;
            min-height: 0 !important;
            max-height: calc(100dvh - 32px) !important;

            overflow-x: hidden !important;
            overflow-y: auto !important;
            box-sizing: border-box !important;
        }

        /*
         * Aucun élément visible ne peut sortir du flux,
         * se superposer ou hériter d'un positionnement Divi.
         */
        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        > .yamm-complianz-intro,

        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        > .cmplz-buttons,

        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        > .yamm-complianz-footer {
            position: relative !important;
            inset: auto !important;
            float: none !important;
            clear: both !important;
            flex: 0 0 auto !important;

            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;

            transform: none !important;
            translate: none !important;
            scale: none !important;
        }

        /*
         * Intro toujours avant les actions.
         */
        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        > .yamm-complianz-intro {
            margin: 0 !important;
            padding: 0 !important;
        }

        /*
         * Deux boutons + préférences sous la rangée,
         * sans compression ou chevauchement.
         */
        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        > .cmplz-buttons {
            display: grid !important;
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 10px !important;

            margin: 19px 0 0 !important;
            padding: 0 !important;
        }

        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        > .cmplz-buttons .cmplz-btn {
            position: relative !important;
            inset: auto !important;

            width: 100% !important;
            min-width: 0 !important;
            min-height: 48px !important;
            margin: 0 !important;

            transform: none !important;
            translate: none !important;
        }

        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        > .cmplz-buttons .cmplz-view-preferences.yamm-complianz-primary {
            grid-column: 1 / -1 !important;
        }

        /*
         * Footer légal : toujours après les boutons,
         * avec sa vraie hauteur physique.
         */
        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        > .yamm-complianz-footer {
            display: block !important;
            margin: 16px 0 0 !important;
            padding: 14px 0 0 !important;
            border-top: 1px solid #ececec !important;
            text-align: center !important;
        }

        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        .yamm-complianz-note,
        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        .yamm-complianz-legal-links,
        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        #yamm-cookie-language {
            position: relative !important;
            inset: auto !important;
            float: none !important;

            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;

            transform: none !important;
            translate: none !important;
        }

        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        .yamm-complianz-note {
            margin: 0 auto !important;
        }

        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        .yamm-complianz-legal-links {
            display: flex !important;
            flex-wrap: wrap !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px 18px !important;
            margin: 14px auto 0 !important;
        }

        body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
        #yamm-cookie-language {
            margin: 16px 0 0 !important;
            padding: 15px 0 0 !important;
        }

        @media (max-width: 767px) {
            body .cmplz-cookiebanner.yamm-complianz-shell.cmplz-show:not(.yamm-complianz-preferences) {
                max-height: calc(100dvh - 28px) !important;
            }

            body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
            > .cmplz-buttons {
                gap: 9px !important;
                margin-top: 16px !important;
            }

            body .cmplz-cookiebanner.yamm-complianz-shell:not(.yamm-complianz-preferences)
            > .cmplz-buttons .cmplz-btn {
                min-height: 46px !important;
            }
        }
