.qoacht-whatsapp-button {
  position: fixed;
  right: clamp(18px, 2vw, 32px);
  bottom: clamp(18px, 2vw, 32px);
  z-index: 9999;
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 239, 233, .82);
  border-radius: 50%;
  color: var(--qoacht-bone, #f4efe9);
  background: var(--qoacht-ink, #38251f);
  box-shadow: 0 10px 28px rgba(22, 12, 9, .28);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.qoacht-whatsapp-button::before {
  position: absolute;
  right: calc(100% + 12px);
  padding: 8px 12px;
  border: 1px solid rgba(56, 37, 31, .15);
  border-radius: 999px;
  color: var(--qoacht-ink, #38251f);
  background: var(--qoacht-bone, #f4efe9);
  box-shadow: 0 8px 22px rgba(22, 12, 9, .16);
  content: "WhatsApp";
  font: 500 12px/1 var(--qoacht-sans, Arial, sans-serif);
  letter-spacing: .04em;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}

.qoacht-whatsapp-button:hover,
.qoacht-whatsapp-button:focus-visible {
  color: #fff;
  background: #4a3028;
  box-shadow: 0 13px 32px rgba(22, 12, 9, .34);
  outline: 0;
  transform: translateY(-3px);
}

.qoacht-whatsapp-button:hover::before,
.qoacht-whatsapp-button:focus-visible::before {
  opacity: 1;
  transform: translateX(0);
}

.qoacht-whatsapp-button__icon {
  display: block;
  width: 34px;
  height: 34px;
}

.qoacht-whatsapp-button .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 620px) {
  .qoacht-whatsapp-button {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
  }

  .qoacht-whatsapp-button::before { display: none; }
  .qoacht-whatsapp-button__icon { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .qoacht-whatsapp-button,
  .qoacht-whatsapp-button::before { transition: none; }
}

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