/* ============================================ */
/* CONTENEDOR FLOTANTE ROSA (arriba) */
/* ============================================ */
#floating-container {
    position: fixed;
    bottom: 95px; /* Ajusta según necesidad, arriba del botón verde */
    right: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
}

#floating-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 60px;
    background-color: #a71973;
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    padding: 0 28px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    white-space: nowrap;
    line-height: 1;
    transition: .2s;
}

#floating-text:hover {
    color: #fff;
    background-color: #8a1660;
    text-decoration: none;
    transform: translateY(-1px);
}

#floating-button {

    width: 82px;
    height: 82px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    padding: 0;
    border: none;
    background: transparent;
}

#floating-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.25);
    border: none;
}

/* ============================================ */
/* NAV BOTTOM - WHATSAPP*/
/* ============================================ */
.nav-bottom {
    position: fixed;
    bottom: 20px;
    right: 26px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Botón WhatsApp */
.whatsapp-button {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background-color: #25D366;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.whatsapp-button .fa-whatsapp {
    color: #fff;
    font-size: 2rem;
}

/* Animación del círculo */
.circle-anime {
    display: none;
}

/* ============================================ */
/* POPUP DE WHATSAPP */
/* ============================================ */
.popup-whatsapp {
    width: 300px;
    max-width: 85vw;
    margin-bottom: 12px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
    overflow: hidden;
    display: none;
    flex-direction: column;
}

.popup-whatsapp.fadeIn {
    display: flex;
    animation: wspFadeIn .25s ease-out;
}

@keyframes wspFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wsp-fondo {
    background-color: #128C7E;
}

.wsp-fondo label {
    color: #fff;
    font-size: .9rem;
}

.img-fluid-swp {
    width: 100%;
    display: block;
}

.closePopup {
    padding: 0;
    background: transparent;
    border: none;
}

.closePopup .fa-times {
    font-size: 1.1rem;
}

.fondo-chat {
    background-color: #ECE5DD;
    min-height: 150px;
    padding-bottom: .5rem;
}

.fondo-chat p {
    font-size: .85rem;
    color: #333;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}

.content-whatsapp.bottom {
    padding: .6rem .75rem;
    border-top: 1px solid #eee;
}

.whats-input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: .45rem .9rem;
    font-size: .85rem;
}

.whats-input:focus {
    outline: none;
    border-color: #25D366;
}

.col-swp-send {
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn-swp {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background-color: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 480px) {
    #floating-container {
        bottom: 80px;
        right: 15px;
        gap: 8px;
    }

    #floating-text {
        width: 180px;
        height: 52px;
        font-size: 1rem;
        padding: 0 18px;
    }


    #floating-button {
        width: 62px;
        height: 62px;
    }

    .popup-whatsapp {
        width: 260px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .whatsapp-button .fa-whatsapp {
        font-size: 1.6rem;
    }
}