.lozdev-cta-bar {
    background-color: #9E78F0;
    color: #fff;
    padding: 12px 24px;
    position: relative;
    z-index: 9999;
    font-size: 16px;
}

.lozdev-cta-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 auto;
    position: relative;
}

.cta-icon svg {
    width: 1.2em;
    height: 1.2em;
}

.lozdev-cta-btn {
    background-color: #fff;
    color: #9E78F0;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.lozdev-cta-close svg {
    width: 1.2em;
    height: 1.2em;
    fill: currentColor;
}

.lozdev-cta-bar {
    background-color: #9E78F0;
    color: #fff;
    padding: 12px 24px;
    font-size: 16px;
}

.lozdev-cta-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.cta-close {
    order: 0;
    width: 100%;
    text-align: center;
}

.lozdev-cta-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    color: #fff;
}

.cta-icon,
.cta-text,
.cta-button {
    display: inline-block;
    vertical-align: middle;
    order: initial;
}

/* Desktop (croix en haut à droite) */
@media (min-width: 768px) {
    .cta-close {
        position: absolute;
        top: 50%;
        right: 8px;
        transform: translateY(-50%);
        width: auto;
        text-align: right;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .lozdev-cta-close {
        display: flex;
    }
}

/* Mobile (tout en colonne) */
@media (max-width: 767px) {
    .lozdev-cta-bar-inner {
        flex-direction: column;
        gap: 0px;
    }

    .cta-close {
        order: 3;
        position: static !important;
        transform: none !important;
        top: auto;
        right: auto;
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }

    .cta-icon {
        order: 1;
    }

    .cta-text {
        order: 2;
    }

    .cta-button {
        order: 3;
    }
}
