.support-chat {
  --support-chat-ink: #1a1a1a;
  position: fixed;
  z-index: 8;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--support-chat-clearance, 0px));
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--support-chat-ink);
  text-decoration: none;
  font: 700 14px/1.25 system-ui, sans-serif;
}

.support-chat[data-chat-above-sticky] { --support-chat-clearance: 112px; }

.support-chat-icon,
.support-chat-label {
  box-sizing: border-box;
  border: 2.5px solid var(--support-chat-ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--support-chat-ink);
}

.support-chat-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--whatsapp-fill, #5fc866);
}

.support-chat-label {
  padding: 8px 12px;
  background: #fff;
}

.support-chat:focus-visible {
  outline: 3px solid #08783e;
  outline-offset: 4px;
  border-radius: 999px;
}

body:has(.nav-toggle[aria-expanded="true"]) .support-chat { visibility: hidden; }

@media (width < 700px) {
  .support-chat-label { display: none; }
}
