@font-face {
  font-family: 'Angst';
  src: url('URL_ТВОЕГО_ШРИФТА.woff2') format('woff2');
}

/* ===============================
   КНОПКА ВНИЗУ
=============================== */
.bottom-menu-wrapper {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999 !important;
}

.bottom-buttons {
  background: rgba(93, 76, 64, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 40px !important;
  padding: 14px 32px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;

  font-family: 'Angst' !important;
  font-size: 16px !important;
  color: #B58762 !important;
}

.bottom-buttons a,
.bottom-buttons span {
  color: #B58762 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  opacity: 0.9;
  transition: opacity .2s ease;
}

.bottom-buttons a:hover,
.bottom-buttons span:hover {
  opacity: 1 !important;
}

.divider {
  opacity: 0.6 !important;
}

/* ===============================
   ВСПЛЫВАЮЩАЯ ПЛАШКА
=============================== */
.floating-menu {
  position: fixed;
  top: 50% !important;
  left: 50%;
  transform: translate(-50%, -50%) !important;

  width: 300px;
  height: 420px !important;
  max-height: none !important;

  background: rgba(93, 76, 64, 0.95) !important;
  border-radius: 28px !important;
  padding: 20px 40px 70px !important;

  opacity: 0;
  pointer-events: none;

  backdrop-filter: blur(14px) !important;
  z-index: 9999999 !important;

  display: flex !important;
  flex-direction: column !important;

  justify-content: flex-start !important; /* ← ВОТ ЭТО ПРАВИЛЬНО */
  /* вместо center */

  transition: opacity .35s ease, transform .35s ease;
}

.floating-menu.open {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

/* ===== ТАБЫ ===== */
.menu-tabs {
  margin-top: 12px !important;
  margin-bottom: 26px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
}

/* Сам таб */
.menu-tabs .tab-item {
  font-family: 'Angst' !important;
  font-size: 10px !important;
  letter-spacing: 0.3px;
  color: #B58762 !important;
  opacity: 0.9;
  text-decoration: none !important;
  transition: opacity .2s ease;

  white-space: normal !important;     /* ← перенос строк */
  display: inline-block !important;   /* ← позволяет табу плавно переносить строки */
  text-align: center !important;      /* ← выравнивание двух строк по центру */
  line-height: 1.15;                  /* ← аккуратная высота строк */
}

.menu-tabs .tab-item:hover {
  opacity: 1 !important;
}

/* Разделитель между табами */
.menu-tabs .tab-divider {
  font-size: 10px !important;
  color: #B58762 !important;
  opacity: 0.7;
}


/* ===============================
   ЦЕНТР ПУНКТОВ МЕНЮ
=============================== */
.menu-links {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  flex-grow: 1 !important;

  margin-top: 90px !important; /* ← ОПУСКАЕМ ПУНКТЫ НИЖЕ */
}

.menu-links a {
  margin-bottom: 18px !important;
  font-family: 'Angst' !important;
  font-size: 14px !important;
  color: #B58762 !important;
  text-decoration: none !important;
  opacity: 0.9 !important;
  transition: opacity .2s ease;
}

.menu-links a:hover {
  opacity: 1 !important;
}

/* ===============================
   НИЖНЯЯ ПАНЕЛЬ
=============================== */
.floating-bottom {
  position: absolute !important;
  bottom: 32px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  display: flex !important;
  gap: 14px !important;

  font-family: 'Angst' !important;
  color: #B58762 !important;
  font-size: 16px !important;
}

.floating-bottom span,
.floating-bottom a {
  opacity: 0.9;
  text-decoration: none !important;
  transition: opacity .2s ease;
}

.floating-bottom span:hover,
.floating-bottom a:hover {
  opacity: 1 !important;
}

/* ===============================
   МОБИЛКА
=============================== */
@media screen and (max-width: 744px) {
  .floating-menu {
    width: 250px !important;
    padding: 32px 26px 60px !important;
  }

  .menu-links a {
    font-size: 14px !important;
    margin-bottom: 14px !important;
  }

  .floating-bottom {
    bottom: 24px !important;
    font-size: 16px !important;
  }

  .bottom-buttons {
    height: 30px !important;
    font-size: 16px !important;
    padding: 12px 26px !important;
  }
}

/* ===============================
   FIX TILDA ACTIVE LINKS
=============================== */
.floating-bottom a,
.floating-bottom a:visited,
.floating-bottom a:active {
  color: #B58762 !important;
  opacity: 0.9 !important;
}

.menu-links a {
  white-space: nowrap !important;
}



