.whatsapp-link {
  position: fixed;
  z-index: 30;
  right: max(24px, env(safe-area-inset-right));
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 56px;
  min-height: 56px;
  padding: 12px 18px;
  border: 1px solid #57c596;
  border-radius: 999px;
  background: #0b6b43;
  color: #fff;
  box-shadow: 0 4px 20px #0003;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}
.whatsapp-link svg { flex: none; }
.whatsapp-link:hover { background: #085535; color: #fff; }
.whatsapp-link:focus-visible { outline: 3px solid var(--gold, #dfbe70); outline-offset: 4px; }
/* Keep the last footer links clear of the fixed contact button. */
.footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
/* Keep contact independent of cookie-banner blockers and consent choice.
   A visible banner leaves the contact button clear at the bottom. */
#analytics-consent {
  bottom: calc(96px + env(safe-area-inset-bottom));
  max-height: calc(100vh - 120px - env(safe-area-inset-bottom));
  max-height: calc(100dvh - 120px - env(safe-area-inset-bottom));
  overflow: auto;
}
/* Full-screen navigation and the arrival screen keep their focus and space. */
.menu-open .whatsapp-link,
.search-open .whatsapp-link,
.nad-arriving .whatsapp-link { display: none; }
@media (max-width: 600px) {
  .whatsapp-link {
    right: max(16px, env(safe-area-inset-right));
    padding: 13px;
  }
  .whatsapp-label { display: none; }
}
