/* AP Marketing Digital: floating WhatsApp link, isolated from theme styles. */
a.apwa-floating,
a.apwa-floating:visited {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 99990;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 17px 8px 8px;
  max-width: min(90vw, 340px);
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 999px;
  background: #168b50;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,.28), 0 3px 9px rgba(22,139,80,.28);
  transform: translate3d(0,0,0);
  transition: transform .23s ease, box-shadow .23s ease, background-color .23s ease;
  -webkit-tap-highlight-color: transparent;
}
a.apwa-floating.apwa--right { right: 24px; left: auto; }
a.apwa-floating.apwa--left { left: 24px; right: auto; }
a.apwa-floating:hover { background: #0f7543; color: #fff; text-decoration: none; transform: translateY(-3px); box-shadow: 0 15px 32px rgba(0,0,0,.32), 0 5px 16px rgba(22,139,80,.30); }
a.apwa-floating:focus-visible { outline: 3px solid #ffff00; outline-offset: 4px; }
.apwa-floating__icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 50%; background: rgba(255,255,255,.17); }
.apwa-floating__icon svg { display: block; width: 25px; height: 25px; }
.apwa-floating__text { display: inline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  a.apwa-floating, a.apwa-floating:visited { bottom: calc(17px + env(safe-area-inset-bottom, 0px)); padding: 7px; width: 56px; height: 56px; justify-content: center; border-radius: 50%; }
  a.apwa-floating.apwa--right { right: 16px; }
  a.apwa-floating.apwa--left { left: 16px; }
  .apwa-floating__icon { width: 40px; height: 40px; flex-basis: 40px; }
  .apwa-floating__text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  a.apwa-floating { transition: none; }
  a.apwa-floating:hover { transform: none; }
}
