.iis-whatsapp-float {
  position: fixed;
  z-index: 950;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(var(--iis-cookie-space, 0px) + max(20px, env(safe-area-inset-bottom)));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 56px;
  min-height: 56px;
  padding: 13px 20px 13px 16px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: #217a55;
  color: #fff;
  box-shadow: 0 14px 38px rgba(20, 55, 40, .28);
  font: 600 15px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.01em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  animation: iis-whatsapp-enter .45s cubic-bezier(.2, .75, .25, 1) both;
}

.iis-whatsapp-float:hover {
  background: #196846;
  box-shadow: 0 17px 44px rgba(20, 55, 40, .34);
  transform: translateY(-3px);
}

.iis-whatsapp-float:focus-visible {
  outline: 3px solid #173f31;
  outline-offset: 4px;
}

.iis-whatsapp-float svg {
  width: 27px;
  height: 27px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@keyframes iis-whatsapp-enter {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .iis-whatsapp-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(var(--iis-cookie-space, 0px) + max(14px, env(safe-area-inset-bottom)));
    width: 58px;
    height: 58px;
    padding: 0;
  }

  .iis-whatsapp-float-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iis-whatsapp-float { animation: none; transition: none; }
}

@media print {
  .iis-whatsapp-float { display: none !important; }
}
