.floating-whatsapp {
  position: fixed;
  z-index: 9998;
  bottom: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font: 700 .82rem "Cairo", sans-serif;
  box-shadow: 0 14px 35px rgba(37, 211, 102, .35);
  transition: .25s;
}

html[dir="rtl"] .floating-whatsapp {
  left: auto;
  right: 24px;
  padding: 12px 14px 12px 18px;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(37, 211, 102, .45);
  color: #fff;
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.floating-whatsapp__text {
  line-height: 1;
}

@media (max-width: 600px) {
  .floating-whatsapp {
    bottom: 16px;
    left: 16px;
    padding: 14px;
    border-radius: 50%;
  }

  html[dir="rtl"] .floating-whatsapp {
    right: 16px;
  }

  .floating-whatsapp__text {
    display: none;
  }
}

/* Lift above cookie banner when visible */
.cookie-banner.visible ~ .floating-whatsapp,
body:has(.cookie-banner.visible) .floating-whatsapp {
  bottom: 120px;
}

@media (max-width: 600px) {
  body:has(.cookie-banner.visible) .floating-whatsapp {
    bottom: 100px;
  }
}
