.whatsapp-float-wrap {
  position: fixed;
  bottom: 25px;
  inset-inline-start: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.whatsapp-float-bubble {
  position: relative;
  background: #fff;
  color: #333;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 300px;
  font-size: 14px;
  line-height: 1.6;
  font-family: "arFont", sans-serif;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  border: 1px solid #e8e8e8;
}

.whatsapp-float-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  inset-inline-start: 22px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.06));
}

.whatsapp-float-wrap:hover .whatsapp-float-bubble,
.whatsapp-float-wrap:focus-within .whatsapp-float-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-float {
  position: relative;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float-wrap:hover .whatsapp-float,
.whatsapp-float-wrap:focus-within .whatsapp-float {
  color: #fff;
  text-decoration: none;
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55);
}

.whatsapp-float:hover {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .whatsapp-float-wrap {
    bottom: 20px;
    inset-inline-start: 20px;
  }

  .whatsapp-float-bubble {
    max-width: 240px;
    font-size: 13px;
    padding: 10px 14px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}
