  #whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
  }
  
  /* Estado por defecto: centro derecho */
  /*.whatsapp-button {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
  }*/

  .whatsapp-button {
    position: fixed;
    top: 50%;
    right: 20px;
    padding: 10px 16px;
    border-radius: 50px;
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0);
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .whatsapp-button img {
    width: 24px;
    height: 24px;
  }
  
  .whatsapp-text {
    white-space: nowrap;
  }

  .whatsapp-button:hover{
    color: #0A0046;
    box-shadow: 0 4px 10px #0A0046;
  }
  
  /* Posición ajustada como en tu código original */
  .whatsapp-button.move-bottom {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  
  /* Cuando el popup está abierto, el botón baja a la esquina inferior derecha */
  .whatsapp-button.move-bottom {
    top: auto;
    bottom: 20px;
    transform: none;
  }
  
  
  .whatsapp-button img {
    width: 30px;
    height: 30px;
  }
  
  .whatsapp-popup {
    width: 320px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    /*padding: 15px;*/
    display: none;
    flex-direction: column;
    position: absolute;
    bottom: 80px;
    right: 0;
  }
  
  .whatsapp-popup.show {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
  }
  
  .popup-header {
    background-color: #25d366;
    color: white;
    padding: 10px;
    border-radius: 8px 8px 0 0;
    position: relative;
  }
  
  .popup-header span {
    font-weight: bold;
    font-size: 18px;
  }
  
  .popup-header p {
    margin: 5px 0 0;
    font-size: 14px;
  }
  
  .popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
  }
  
  .popup-body {
    text-align: center;
    padding: 15px 10px;
  }
  
  .popup-body img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
  }
  
  .popup-body h3 {
    margin: 5px 0;
    font-size: 16px;
  }
  
  .popup-body small {
    color: gray;
    display: block;
    margin-bottom: 10px;
  }
  
  .popup-whatsapp-link {
    display: inline-block;
    background-color: #25d366;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
  }

  .popup-whatsapp-link:hover {
    color: #0A0046;
  }
  
  .popup-footer {
    font-size: 12px;
    text-align: center;
    padding: 10px;
    border-top: 1px solid #eee;
  }
  .popup-footer a {
    color: #25d366;
    text-decoration: underline;
  }
  
  @keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
  }