/* ═══════════════════════════════════════════
   BOTÓN FLOTANTE WHATSAPP Y MODAL DE VIDEO
   ═══════════════════════════════════════════ */

.alv-floating-wa {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 980;
}

.alv-floating-wa__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--alv-wa);
    color: var(--alv-white);
    padding: 0.55rem 0.65rem 0.55rem 1.05rem;
    border-radius: var(--alv-radius-pill);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.36);
    font-weight: 700;
    font-size: 0.88rem;
}

.alv-floating-wa__btn:hover {
    background: var(--alv-wa-dark);
    transform: translateY(-3px);
}

.alv-floating-wa__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 640px) {
    .alv-floating-wa {
        right: 16px;
        bottom: 16px;
    }

    .alv-floating-wa__label {
        display: none;
    }

    .alv-floating-wa__btn {
        padding: 0.45rem;
        border-radius: 50%;
    }
}

/* Modal de video nativo */
.alv-video-modal {
    border: none;
    padding: 0;
    background: transparent;
    max-width: min(920px, 94vw);
    width: 100%;
    margin: auto;
    overflow: visible;
}

.alv-video-modal::backdrop {
    background: rgba(0, 18, 28, 0.82);
    backdrop-filter: blur(4px);
}

.alv-video-modal__box {
    position: relative;
    background: var(--alv-black);
    border-radius: var(--alv-radius);
    overflow: hidden;
    box-shadow: var(--alv-shadow-lg);
}

.alv-video-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.72);
    color: var(--alv-white);
    font-size: 1.5rem;
    line-height: 1;
}

.alv-video-modal__player {
    width: 100%;
    max-height: 80vh;
    background: var(--alv-black);
}
