/* Плавающая кнопка онлайн-записи DIKIDI */

.floating-booking-btn {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(8px);
}

.floating-booking-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-booking-btn__pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.2;
  animation: floating-booking-pulse 2s ease-out infinite;
}

.floating-booking-btn__pulse--delay {
  animation-delay: 1s;
  opacity: 0.1;
}

.floating-booking-btn__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-booking-btn__link:hover {
  background: var(--accent-dark, #c49a6c);
  transform: scale(1.06);
  color: #fff;
}

@keyframes floating-booking-pulse {
  0% {
    transform: scale(1);
    opacity: 0.25;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .floating-booking-btn {
    right: 0.85rem;
    bottom: 5rem;
  }

  .floating-booking-btn__link {
    width: 4.25rem;
    height: 4.25rem;
    font-size: 0.62rem;
  }
}
