body.cdn-has-wa-bubble {
  --cdn-wa-bottom: max(1rem, env(safe-area-inset-bottom));
  --cdn-wa-right: max(1rem, env(safe-area-inset-right));
  --cdn-wa-height: 3rem;
}

.cdn-wa-bubble {
  position: fixed;
  z-index: 994;
  bottom: var(--cdn-wa-bottom);
  right: var(--cdn-wa-right);
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 48px;
  min-height: max(48px, var(--cdn-wa-height));
  padding: 0.55rem 1rem;
  border: 1px solid #075342;
  border-radius: 999px;
  background: #086449;
  color: #fff;
  box-shadow: 0 3px 12px rgba(10, 30, 21, 0.24);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.cdn-wa-bubble:visited { color: #fff; }
.cdn-wa-bubble:hover { background: #064b39; color: #fff; text-decoration: none; }
.cdn-wa-bubble:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 7px #123225; }
.cdn-wa-bubble svg { width: 1.25rem; height: 1.25rem; flex: none; fill: currentColor; }

/* The site's back-to-top button normally occupies this same corner. */
body.cdn-has-wa-bubble #backToTop {
  bottom: calc(var(--cdn-wa-bottom) + max(48px, var(--cdn-wa-height)) + 0.6rem);
  right: var(--cdn-wa-right);
}

body.nav-open .cdn-wa-bubble { display: none; }
body:has(.pswp--open, dialog[open], [aria-modal="true"]:not([hidden], [aria-hidden="true"]), :fullscreen) .cdn-wa-bubble,
html:fullscreen .cdn-wa-bubble {
  display: none;
}

@media (min-width: 901px) {
  body.cdn-has-wa-bubble {
    --cdn-wa-bottom: max(1.5rem, env(safe-area-inset-bottom));
    --cdn-wa-right: max(1.35rem, env(safe-area-inset-right));
  }
}

@media print {
  .cdn-wa-bubble { display: none; }
}
