/* Contenedor flotante — abajo a la DERECHA */
  .wa-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    font-family: Arial, sans-serif;
    display: flex;              /* fila: lista a la izquierda, botón a la derecha */
    flex-direction: row;
    align-items: flex-end;      /* alineados por abajo */
    gap: 12px;                  /* separación entre nombres y botón */
  }

  /* Lista de contactos — apilada en columna, a la IZQUIERDA del botón */
  .wa-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;      /* cada contacto se alinea al borde derecho */
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px); /* entra deslizándose desde la derecha */
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .wa-container.open .wa-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
  }

  /* Cada contacto */
  .wa-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #333;
    text-decoration: none;
    padding: 8px 14px 8px 8px;
    border-radius: 30px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.18);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.2s, background 0.2s;
  }

  .wa-list a:hover {
    transform: scale(1.04);
    background: #f0fff4;
  }

  .wa-list a svg {
    width: 26px;
    height: 26px;
    fill: #25D366;
    flex-shrink: 0;
  }

  /* Botón principal — a la derecha */
  .wa-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s;
    border: none;
    flex-shrink: 0;
  }

  .wa-main:hover {
    transform: scale(1.08);
  }

  .wa-main svg {
    width: 34px;
    height: 34px;
    fill: #fff;
    transition: transform 0.3s;
  }

  /* Rotación del ícono al abrir */
  .wa-container.open .wa-main svg {
    transform: rotate(45deg);
  }

  /* Ajuste en móviles muy pequeños */
  @media (max-width: 400px) {
    .wa-container { bottom: 18px; right: 18px; gap: 8px; }
    .wa-list a { font-size: 13px; padding: 7px 12px 7px 7px; }
    .wa-list a svg { width: 24px; height: 24px; }
    .wa-main { width: 54px; height: 54px; }
    .wa-main svg { width: 30px; height: 30px; }
  }