.fhri-whatsapp-float {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  padding: 0.65rem 1rem 0.65rem 0.75rem;
  color: #fff;
  background: #168b52;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fhri-whatsapp-float svg {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.fhri-whatsapp-float:hover {
  color: #fff;
  background: #117443;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.fhri-whatsapp-float:focus-visible {
  color: #fff;
  outline: 3px solid #2e2e74;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .fhri-whatsapp-float {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
  }

  .fhri-whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fhri-whatsapp-float {
    transition: none;
  }
}