/* Morganimo — en-tête sans ligne ni ombre */
header,
[class*="zpheader-style-"],
[class*="zpheader-style-"]::before,
[class*="zpheader-style-"]::after {
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Header Morganimo toujours fixé dès le départ */
header,
[class*="zpheader-style-"] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;

    transform: none !important;
    transition: none !important;
    animation: none !important;

    border: none !important;
    box-shadow: none !important;
}

/* Pas d'animation sur les éléments internes */
header *,
[class*="zpheader-style-"] * {
    transition: none !important;
    animation: none !important;
}
/* Compense la hauteur du header fixe */
body {
    padding-top: 95px !important;
}
/* Fond global Morganimo sans toucher au header */
html,
body,
.zpcontent-container,
main,
.zpcontent {
    background-color: #FFFEFA !important;
}
/* Morganimo — petite vague douce sur tablette et mobile */
@media (max-width: 1024px) {
    header,
    [class*="zpheader-style-"] {
        overflow: visible !important;
    }

    header::after,
    [class*="zpheader-style-"]::after {
        content: "";
        position: absolute;
        left: -5%;
        bottom: -10px;
        width: 110%;
        height: 20px;
        background: #FBE1E0;
        border-radius: 0 0 50% 50%;
        z-index: -1;
        pointer-events: none;
    }
}
/* ===== Morganimo — barre de cookies ===== */

#zcb-banner {
    font-family: "Poppins", sans-serif !important;
    padding: 7px 18px !important;
}

#zcb-info {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

#zcb-info .zcb-msg {
    font-size: 11px !important;
    line-height: 1.3 !important;
}

#zcb-info .zcb-btn {
    font-size: 12px !important;
}


/* ===== MOBILE ===== */
@media (max-width: 767px) {

    #zcb-banner {
        padding: 7px 8px !important;
    }

    #zcb-info {
        padding: 0 !important;
    }

    #zcb-info.zcb-message-bar {
        margin: 0 !important;
    }

    #zcb-info .zcb-msg {
        display: block !important;
        font-size: 10px !important;
        line-height: 1.25 !important;
        margin: 0 0 6px 0 !important;
        text-align: center !important;
    }

    /* Les 3 boutons sur une seule ligne */
    #zcb-info .zcb-btn {
        display: flex !important;
        width: 100% !important;
        gap: 4px !important;
        justify-content: center !important;
        align-items: stretch !important;
    }

    #zcb-info .zcb-btn > * {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 7px 4px !important;
        font-size: 10px !important;
        line-height: 1.15 !important;
        text-align: center !important;
    }

    /* Boutons foncés : texte bien lisible */
    #zcb-info .zcb-btn > *:nth-child(1),
    #zcb-info .zcb-btn > *:nth-child(2) {
        color: #ffffff !important;
    }

    /* Bouton accepter */
    #zcb-info .zcb-btn > *:nth-child(3) {
        color: #332a2a !important;
    }
}
/* Boutons cookies — contraste lisible sur ordinateur */

#zcb-info .zcb-btn > *:nth-child(1),
#zcb-info .zcb-btn > *:nth-child(2) {
    color: #ffffff !important;
}

/* Bouton "Accepter tout" */
#zcb-info .zcb-btn > *:nth-child(3) {
    color: #332a2a !important;
}