.form-anchor-button {
  position: fixed;
  left: 50%;
  bottom: 6rem;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: calc(100vw - 2rem);
  padding: 1rem 1.5rem;
  overflow: hidden;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  background: #000;
  border-radius: 9999px;
  box-shadow: 0 8px 30px rgb(0 0 0 / 25%);
  opacity: 1;
  transform: translate(-50%, 0);
  transition: color 300ms ease, background-color 300ms ease, opacity 300ms ease, transform 300ms ease;
}

.form-anchor-button:hover {
  color: #000;
  background: #c2a37b;
}

.form-anchor-button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.form-anchor-button.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 1rem);
}

.form-anchor-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-anchor-button svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
}

@media (min-width: 768px) {
  .form-anchor-button {
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-anchor-button {
    transition: none;
  }
}
