.bsafe-floating-contact {
  position: fixed;
  z-index: 990;
  /* Contact actions occupy the right corner; cookie settings stay on the left. */
  right: max(calc(12px + env(safe-area-inset-right)), calc((100vw - var(--max,1180px))/2 - 60px));
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bsafe-floating-contact__link {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid #c8f044;
  border-radius: 12px;
  background: #242a2b;
  color: #c8f044;
  box-shadow: 0 5px 18px rgba(10, 20, 18, .3);
  text-decoration: none;
}

.bsafe-floating-contact__link--whatsapp {
  border-color: #128c7e;
  background: #128c7e;
  color: #fff;
}

.bsafe-floating-contact__link:hover {
  background: #35402e;
}

.bsafe-floating-contact__link--whatsapp:hover {
  border-color: #0d6d61;
  background: #0d6d61;
}

.bsafe-floating-contact__link:focus-visible {
  outline: 3px solid #242a2b;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #c8f044;
}

.bsafe-floating-contact__link svg {
  display: block;
  flex-shrink: 0;
}

@media (forced-colors: active) {
  .bsafe-floating-contact__link {
    border-color: LinkText;
    background: Canvas;
    color: LinkText;
  }

  .bsafe-floating-contact__link:focus-visible {
    outline-color: Highlight;
  }
}
