/* Floating Action Button — Вверх Дном */
.vd-fab {
  position: fixed;
  left: 50%;
  bottom: 24px; /* ближе к нижней части экрана */
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 48px;
  padding: 0 18px;

  border-radius: 9999px;
  font-weight: 800;
  letter-spacing: .2px;
  text-decoration: none;

  background: #FAD1E6;       /* розовый фон в стиле сайта */
  color: #7A0144;            /* тёмно‑тёмно розовый текст для читабельности */
  border: 2px solid #F30878; /* фирменный розовый контур */
  box-shadow: 0 10px 22px rgba(243, 8, 120, .18), 0 2px 6px rgba(0, 0, 0, .08);
  -webkit-backdrop-filter: saturate(140%) blur(1.5px);
  backdrop-filter: saturate(140%) blur(1.5px);

  z-index: 9999;
  transition: transform .18s ease, box-shadow .18s ease,
              background .18s ease, color .18s ease, border-color .18s ease;
}

.vd-fab:hover {
  background: #F30878;  /* активный розовый при наведении */
  color: #ffffff;
  border-color: #F30878;
  transform: translate(-50%, -2px);
  box-shadow: 0 16px 32px rgba(243, 8, 120, .30), 0 6px 12px rgba(0, 0, 0, .12);
}

.vd-fab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(243, 8, 120, .22), 0 12px 24px rgba(243, 8, 120, .22);
}

/* Скрытие FAB при скролле вниз (добавляется классом .vd-fab--hidden) */
.vd-fab.vd-fab--hidden {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  pointer-events: none;
}

/* Мобильные настройки */
@media (max-width: 640px) {
  .vd-fab {
    bottom: 20px;
    min-width: 72%;
    max-width: 420px;
    height: 46px;
    padding: 0 16px;
  }
}

/* === Глобальные «лёгкие» кнопки в фирменном стиле === */
/* Светлая кнопка (например, Instagram, вторичные действия) */
.btn-ghost{
  background: rgba(243,8,120,.10);  /* лёгкий розовый фон */
  color: #7A0144;
  border: 1px solid rgba(243,8,120,.35);
  border-radius: 12px;
  font-weight: 800;
  padding: .7rem 1.1rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(243,8,120,.12);
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn-ghost:hover{
  background: #F30878;
  color: #ffffff;
  border-color: #F30878;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(243,8,120,.30);
}

/* Мягкая розовая кнопка (например, WhatsApp, первичные лёгкие CTA) */
.btn-ghost-soft{
  background: #FAD1E6;
  color: #7A0144;
  border: 2px solid #F30878;
  border-radius: 9999px;
  font-weight: 800;
  padding: .75rem 1.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(243,8,120,.18);
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn-ghost-soft:hover{
  background: #F30878;
  color: #ffffff;
  border-color: #F30878;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(243,8,120,.32);
}
