/* =========================
   COOKIE BANNER GLOBAL
========================= */

.ets_cookie_banber_block {
    position: fixed;
    bottom: 16px;
    right: 16px;
    left: auto;

    background: #fff;
    border: 1px solid #ddd;
    padding: 16px;

    z-index: 10000;
    border-radius: 8px;

    width: 100%;
    max-width: 420px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    animation: slideUp 0.3s ease;
}

/* Variante gauche */
.ets_cookie_banber_block.left_bottom {
    left: 16px;
    right: auto;
}

/* Variante full bottom */
.ets_cookie_banber_block.bottom {
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    max-width: 100%;

    border-radius: 0;
    padding: 16px;

    display: flex;
    justify-content: center;
}

.ets_cookie_banber_block.bottom > div {
    width: 100%;
    /* max-width: 900px; */
}

/* =========================
   CONTENT
========================= */

.ets_cookie_banner_content {
    line-height: 1.6;
    font-size: 14px;
    width: 100%;
}

.ets_cookie_banner_content p {
    margin-bottom: 8px;
}

.ets_cookie_banner_content p:last-child {
    margin-bottom: 0;
}

.ets_cookie_banner_content img,
.ets_cookie_banber_block iframe {
    max-width: 100%;
    height: auto;
}

/* =========================
   FOOTER / BUTTONS
========================= */

.ets_cookie_banner_footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 12px;
    width: 100%;
}

.ets_cookie_banner_footer a,
.ets_cookie_banner_footer button {
    white-space: nowrap;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}

/* Bouton accepter */
.ets-cb-btn-ok {
    background: #16A34A !important;
    color: #fff !important;
    border: none;
}

/* Bouton refuser */
.btn.btn-primary.full-left.ets-cb-btn-not-ok {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc;
}

/* Hover */
.btn.btn-primary.full-left.ets-cb-btn-not-ok:hover {
    background: #24b9d7 !important;
    color: #fff !important;
    border-color: #24b9d7 !important;
}

/* =========================
   CLOSE BUTTON
========================= */

span.close_cookie {
    width: 28px;
    height: 28px;
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
}

span.close_cookie:before,
span.close_cookie:after {
    content: "";
    width: 16px;
    height: 2px;
    background: #999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

span.close_cookie:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

span.close_cookie:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

span.close_cookie:hover:before,
span.close_cookie:hover:after {
    background: #555;
}

/* =========================
   RESPONSIVE
========================= */

/* Mobile */
@media (max-width: 576px) {
    .ets_cookie_banber_block {
        left: 10px;
        right: 10px;
        bottom: 10px;

        max-width: none;
        padding: 14px;
    }

    .ets_cookie_banner_footer {
        flex-direction: column;
        align-items: stretch;
    }

    .ets_cookie_banner_footer a,
    .ets_cookie_banner_footer button {
        width: 100%;
        text-align: center;
    }

    .ets-cb-btn-ok {
        order: -1;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .ets_cookie_banber_block {
        max-width: 90%;
    }
}

/* =========================
   ANIMATION
========================= */

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.ets_cookie_banber_block > div {
    width: 100%;
}

.ets_cookie_banner_content {
    width: 100%;
}

.ets_cookie_banner_footer {
    width: 100%;
}
@media (max-width: 576px) {
    .ets_cookie_banner_content {
        width: 100% !important;
    }
}
.ets_cookie_banber_block {
    display: flex;
    flex-direction: column; /* IMPORTANT */
}