@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(122, 98, 80, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !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;
}

.bottom-buttons a,
.bottom-buttons a:link,
.bottom-buttons a:visited,
.bottom-buttons a:hover,
.bottom-buttons a:active,
.bottom-buttons a:focus,
.bottom-buttons span {
  color: #EAE3DA !important;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer !important;
  opacity: 0.9 !important;
  background: transparent !important;
  font-family: 'Angst' !important;
}

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

.divider {
  opacity: 0.6 !important;
}

/* ===============================
   ОБЩИЙ СБРОС ССЫЛОК В ПЛАШКЕ
=============================== */
.floating-menu a,
.floating-menu a:link,
.floating-menu a:visited,
.floating-menu a:hover,
.floating-menu a:active,
.floating-menu a:focus {
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !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;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 9999999 !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;

  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: 22px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
  flex-shrink: 0 !important;
}

.menu-tabs .tab-item,
.menu-tabs .tab-item:link,
.menu-tabs .tab-item:visited,
.menu-tabs .tab-item:hover,
.menu-tabs .tab-item:active,
.menu-tabs .tab-item:focus {
  font-family: 'Angst' !important;
  font-size: 10px !important;
  letter-spacing: 0.3px;
  color: #EAE3DA !important;
  opacity: 0.9 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;

  white-space: normal !important;
  display: inline-block !important;
  text-align: center !important;
  line-height: 1.15 !important;

  transition: opacity .2s ease;
}

.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: 1 1 auto !important;

  /* было 90px — из-за этого всё уезжало вниз */
  margin-top: 34px !important;

  /* чтобы перед нижними кнопками был нормальный воздух */
  padding-bottom: 18px !important;

  overflow: hidden !important;
}

.menu-links a,
.menu-links a:link,
.menu-links a:visited,
.menu-links a:hover,
.menu-links a:active,
.menu-links a:focus {
  margin-bottom: 18px !important;
  font-family: 'Angst' !important;
  font-size: 14px !important;
  color: #B58762 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
  opacity: 0.9 !important;
  background: transparent !important;
  line-height: 1.12 !important;
  transition: opacity .2s ease;
}

.menu-links a:last-child {
  margin-bottom: 0 !important;
}

.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;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;

  font-family: 'Angst' !important;
  color: #B58762 !important;
  font-size: 16px !important;
  line-height: 1.1 !important;

  white-space: nowrap !important;
}

/* ВАЖНО: сбрасываем стили ссылок Tilda */
.floating-bottom span,
.floating-bottom a,
.floating-bottom a:link,
.floating-bottom a:visited,
.floating-bottom a:hover,
.floating-bottom a:active,
.floating-bottom a:focus {
  color: #B58762 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
  opacity: 0.9 !important;
  background: transparent !important;
  font-family: 'Angst' !important;
  font-size: 16px !important;
  line-height: 1.1 !important;
  cursor: pointer !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;
    height: 420px !important;
    padding: 32px 26px 60px !important;
  }

  .menu-tabs {
    margin-top: 4px !important;
    margin-bottom: 20px !important;
  }

  .menu-links {
    margin-top: 28px !important;
    padding-bottom: 18px !important;
  }

  .menu-links a,
  .menu-links a:link,
  .menu-links a:visited,
  .menu-links a:hover,
  .menu-links a:active,
  .menu-links a:focus {
    font-size: 14px !important;
    margin-bottom: 16px !important;
  }

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

  .floating-bottom span,
  .floating-bottom a,
  .floating-bottom a:link,
  .floating-bottom a:visited,
  .floating-bottom a:hover,
  .floating-bottom a:active,
  .floating-bottom a:focus {
    font-size: 16px !important;
  }

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