/* ----- ESCRITORIO ----- */
#wa-widget-desktop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

#wa-main-button-desktop {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: #25D366;
  border-radius: 50%;
  color: #fff;
  font-size: 32px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

#wa-main-button-desktop:hover {
  transform: scale(1.05);
}

#wa-main-button-desktop .wa-tooltip {
  position: absolute;
  right: 90px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  color: #333;
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

#wa-main-button-desktop:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) scale(1.02);
}

/* ----- MÓVIL ----- */
#wa-widget-mobile {
  display: none;
}

#wa-main-button-mobile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

#wa-main-button-mobile:hover {
  transform: scale(1.05);
}

#wa-main-button-mobile .wa-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  color: #333;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

#wa-main-button-mobile:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) scale(1.02);
}

@media (max-width: 768px) {
  #wa-widget-desktop {
    display: none;
  }

  #wa-widget-mobile {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
  }
}