#floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  transition: transform .2s, width .2s, border-radius .2s;
  overflow: hidden;
}

#floating-whatsapp:hover {
  width: 160px;
  border-radius: 30px;
  transform: none;
}

#floating-whatsapp img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.whatsapp-tooltip {
  color: white;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .2s, opacity .2s, margin .2s;
  margin-left: 0;
}

#floating-whatsapp:hover .whatsapp-tooltip {
  max-width: 120px;
  opacity: 1;
  margin-left: 8px;
}

@media (max-width: 600px) {
  #floating-whatsapp {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  #floating-whatsapp:hover {
    width: 50px;
    border-radius: 50%;
  }

  .whatsapp-tooltip {
    display: none;
  }
}
