/* floating call to action */
.abcctafefg {
  position: fixed;
  left: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.abcctafefgbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.3em 1.1em 0.3em 0.3em;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--helper-color) 28%, transparent);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 22px color-mix(in srgb, var(--primary-color) 40%, transparent);
  font-size: clamp(0.78rem, 0.75rem + 0.25vw, 0.95rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s, filter 0.25s, box-shadow 0.25s;
}

[dir="rtl"] .abcctafefgbtn {
  padding: 0.3em 0.3em 0.3em 1.1em;
}

.abcctafefgbtn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.abcctafefgbtn:active {
  transform: scale(0.97);
}

.abcctafefgglyph {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.5em;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  font-size: 1.15em;
}

.abcctafefgcall {
  background-color: var(--primary-color);
  color: var(--helper-color);
}

.abcctafefgcall .abcctafefgglyph {
  background-color: var(--helper-color);
  color: var(--primary-color);
}

.abcctafefgwa {
  background-color: var(--helper-color);
  color: var(--secondary-color);
}

.abcctafefgwa .abcctafefgglyph {
  background-color: var(--secondary-color);
  color: var(--helper-color);
}

.abcctafefgwa .abcctafefgglyph::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  animation: ctafpulse 2.2s ease-out infinite;
}

@keyframes ctafpulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@media (min-width: 768px) {
  .abcctafefg {
    left: 1.5rem;
    bottom: 1.5rem;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .abcctafefgwa .abcctafefgglyph::after {
    animation: none;
    opacity: 0;
  }
}