.lafrowda-popup-floating.lafrowda-popup-floating.lafrowda-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99998;
    /*background: rgba(0, 0, 0, 0.55);*/
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.lafrowda-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.55);

    justify-content: center;
    align-items: center;

    z-index: 99999;
    padding: 20px;
    box-sizing: border-box;
}

.lafrowda-popup-overlay.is-active {
    display: flex;
}

.lafrowda-popup-box {
    position: relative;
    width: auto;
    max-width: 680px;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    box-sizing: border-box;
}

.lafrowda-popup-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    font-size: 26px;
    line-height: 32px;
    cursor: pointer;
    z-index: 2;
}

.lafrowda-popup-banner-link {
    display: block;
}

.lafrowda-popup-banner-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    max-height: 80vh;
    object-fit: contain;
}

.lafrowda-popup-placeholder {
    min-height: 220px;
    border-radius: 12px;
    background: #f3f4f6;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
}

.lafrowda-popup-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 28px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
}

.lafrowda-popup-cta:hover,
.lafrowda-popup-cta:focus {
    color: #ffffff !important;
    text-decoration: none;
    opacity: 0.9;
}

.lafrowda-popup-floating {
    position: fixed;
    right: 24px;
    z-index: 8000;
    width: 80px;
    height: 80px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

@media (max-width: 600px) {
    .lafrowda-popup-box {
        max-width: 94vw;
        padding: 12px;
        border-radius: 12px;
    }

    .lafrowda-popup-close {
        top: -10px;
        right: -10px;
    }

    .lafrowda-popup-floating {
        right: 16px;
        width: 52px;
        height: 52px;
    }
}

/* Floating icon animation options */
.ck-floating-animation-none {
    animation: none;
}

.ck-floating-animation-slow_bounce_lr {
    animation: ckFloatingBounceLeftRight 2.8s ease-in-out infinite;
}

.ck-floating-animation-slow_bounce_up {
    animation: ckFloatingBounceUp 2.8s ease-in-out infinite;
}

.ck-floating-animation-slow_pulse {
    animation: ckFloatingPulse 2.6s ease-in-out infinite;
}

.lafrowda-popup-floating:hover,
.lafrowda-popup-floating:focus {
    animation-play-state: paused;
}

@keyframes ckFloatingBounceLeftRight {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(8px);
    }
}

@keyframes ckFloatingBounceUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes ckFloatingPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lafrowda-popup-floating {
        animation: none !important;
    }
}

.lafrowda-popup-floating-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    pointer-events: none;
}

.lafrowda-popup-floating-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    pointer-events: none;
}
