.whatsapp-chat {
  position: fixed;
  z-index: 9990;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 7px 19px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: #168c51;
  color: #fff;
  box-shadow: 0 14px 38px rgba(16, 24, 32, 0.25);
  font-size: 0.82rem;
  font-weight: 790;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.whatsapp-chat:hover {
  background: #117543;
  color: #fff;
  box-shadow: 0 18px 46px rgba(16, 24, 32, 0.34);
  transform: translateY(-2px);
}

.whatsapp-chat:focus-visible {
  outline: 3px solid #13c6d8;
  outline-offset: 4px;
}

.whatsapp-chat__icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.whatsapp-chat__icon svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.whatsapp-chat__label { white-space: nowrap; }

@media (max-width: 720px) {
  .whatsapp-chat {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 58px;
    min-height: 58px;
    padding: 7px;
  }

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

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