:root{
    --ColorWhite:white;
    --AzulFuerte:#0163A2;

    --gray:#95a5a6;
    --overlay:rgba(0,0,0,0.501);

    --AzulLigth:#80AFD0;
    --AzulExtraLigth:#B8D2E4;
    --ColorBlack:#1A1B1D;
    --Colorplomo:#2B2D30;
    --humo:#D5D5D5;
    --colorPlomoOscuro:#2B3335;
    --colorAzulSuave:#55B0EB;
    --AzulCorporativo: #0F65B1;
    --celesteOpaco:#97BDD7;
    --colorPlomoLith:#404653;
    --colorGris:#2B3335;
    --green:#27CB16;
    --Grafito:#3A3A3A;
    --gris-acero:#626364;
     --gris-grafito: #454C4E;
     --gris-claro:#F8F8F8;
     --barra-gris:#F0F0F0;
     --red:#FF5A1E;
     --green-hover:#2AA63E;

  --font-Poppins:  'Poppins',  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --font-HankenGrotesk: 'HankenGrotesk', sans-serif; /* ← Sin espacio */
  --font-WorkSans: 'Work Sans', sans-serif;
}




   /* Contenedor principal */
    .whatsapp-floating-container {
        position: fixed;
        bottom: 24px;
        right: 24px;
        z-index: 9999;
        font-family: Arial, Helvetica, sans-serif;
    }

    /* ============================================================
       BOTÓN WHATSAPP ÚNICO
    ============================================================ */

    .whatsapp-single-button {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background-color: #22c55e;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    .whatsapp-single-button:hover {
        background-color: #16a34a;
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .whatsapp-single-button i {
        font-size: 30px;
        transition: transform 0.3s ease;
    }

    .whatsapp-single-button:hover i {
        transform: scale(1.1);
    }


    /* ============================================================
       CONTENEDOR MÚLTIPLES WHATSAPP
    ============================================================ */

    .whatsapp-multiple-wrapper {
        position: relative;
    }


    /* ============================================================
       BOTÓN PRINCIPAL
    ============================================================ */

    .whatsapp-main-button {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 20px 8px 12px;
        background-color: #22c55e;
        color: #ffffff;
        border: none;
        border-radius: 999px;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        font-family: inherit;
    }

    .whatsapp-main-button:hover {
        background-color: #16a34a;
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    /* Icono circular interno */
    .whatsapp-main-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
    }

    .whatsapp-main-button:hover .whatsapp-main-icon {
        background-color: rgba(255, 255, 255, 0.3);
    }

    .whatsapp-main-icon i {
        font-size: 21px;
    }

    .whatsapp-main-text {
        font-size: 14px;
        font-weight: 500;
    }

    .whatsapp-chevron {
        font-size: 11px;
        margin-left: 4px;
        transition: transform 0.3s ease;
    }

    .whatsapp-main-button.active .whatsapp-chevron {
        transform: rotate(180deg);
    }


    /* ============================================================
       POPUP
    ============================================================ */

    .whatsapp-popup {
        position: absolute;
        bottom: 64px;
        right: 0;
        width: 240px;
        max-width: 300px;
        background-color: #ffffff;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 1px solid #e5e7eb;
        padding: 12px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) scale(0.95);
        transition: all 0.2s ease;
    }

    .whatsapp-popup.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }


    /* ============================================================
       HEADER POPUP
    ============================================================ */

    .whatsapp-popup-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8px;
        padding: 0 8px 8px;
        border-bottom: 1px solid #f3f4f6;
    }

    .whatsapp-popup-title {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #374151;
        font-size: 14px;
        font-weight: 600;
    }

    .whatsapp-popup-title i {
        color: #22c55e;
        font-size: 16px;
    }

    .whatsapp-close-button {
        border: none;
        background: transparent;
        color: #9ca3af;
        cursor: pointer;
        padding: 4px;
        transition: color 0.2s ease;
    }

    .whatsapp-close-button:hover {
        color: #4b5563;
    }


    /* ============================================================
       LISTA DE WHATSAPP
    ============================================================ */

    .whatsapp-list {
        display: flex;
        flex-direction: column;
        gap: 4px;
        max-height: 300px;
        overflow-y: auto;
    }


    /* ============================================================
       ITEM INDIVIDUAL
    ============================================================ */

    .whatsapp-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        text-decoration: none;
        border-radius: 12px;
        transition: background-color 0.2s ease;
    }

    .whatsapp-item:hover {
        background-color: #f9fafb;
    }


    /* ============================================================
       AVATAR
    ============================================================ */

    .whatsapp-avatar {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #dcfce7;
        overflow: hidden;
    }

    .whatsapp-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid #bbf7d0;
    }

    .whatsapp-avatar i {
        color: #22c55e;
        font-size: 20px;
    }


    /* ============================================================
       INFORMACIÓN DEL CONTACTO
    ============================================================ */

    .whatsapp-info {
        flex: 1;
        min-width: 0;
    }

    .whatsapp-name {
        margin: 0;
        color: #1f2937;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .whatsapp-number {
        margin: 3px 0 0;
        color: #9ca3af;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    /* ============================================================
       FLECHA
    ============================================================ */

    .whatsapp-item-arrow {
        color: #d1d5db;
        font-size: 11px;
        transition: color 0.2s ease;
    }

    .whatsapp-item:hover .whatsapp-item-arrow {
        color: #14b8a6;
    }


    /* ============================================================
       RESPONSIVE
    ============================================================ */

    @media (max-width: 480px) {

        .whatsapp-floating-container {
            bottom: 16px;
            right: 16px;
        }

        .whatsapp-popup {
            width: 230px;
        }

        .whatsapp-main-text {
            display: none;
        }

        .whatsapp-main-button {
            padding: 8px;
        }

        .whatsapp-main-icon {
            width: 40px;
            height: 40px;
        }
    }
