/* ШРИФТ ONMARK */
@font-face {
  font-family: 'Onmark-Final';
  src: url('https://fonts.cdnfonts.com/s/85509/OnmarkRegular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onmark-Final';
  src: url('https://fonts.cdnfonts.com/s/85509/OnmarkBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* СБРОС СТИЛЕЙ TILDA ДЛЯ КНОПКИ */
a.onmark-button-final,
a.onmark-button-final:link,
a.onmark-button-final:visited,
a.onmark-button-final:hover,
a.onmark-button-final:active,
a.onmark-button-final:focus {
  all: unset !important;
  color: #000000 !important;
  text-decoration: none !important;
  -webkit-text-fill-color: #000000 !important;
}

/* УНИВЕРСАЛЬНАЯ КНОПКА С ПЛАВНЫМ АДАПТИВОМ (без портянки медиа-запросов) */
.onmark-button-final,
.onmark-button {
  /* Неоморфизм */
  border-radius: clamp(45px, 5vw, 77px);
  background: linear-gradient(145deg, #cacaca, #f0f0f0);
  box-shadow: 25px 25px 45px #9b9b9b, -25px -25px 45px #ffffff;
  
  /* Плавные размеры через clamp(): от мобилок (320px) до десктопа (1920px) */
  padding: clamp(8px, 1.5vw, 20px) clamp(20px, 3.5vw, 50px);
  min-height: clamp(45px, 5vw, 70px);
  width: 100%;
  box-sizing: border-box;
  
  /* Шрифт и текст */
  font-family: 'Onmark-Final', 'Arial', sans-serif !important;
  font-size: clamp(14px, 1.3vw, 24px);
  font-weight: 700;
  letter-spacing: clamp(0.8px, 0.1vw, 1.5px);
  text-transform: uppercase;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  
  /* Выравнивание */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  outline: none;
  
  /* Переходы */
  transition: all 0.3s ease;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Эффекты при наведении */
.onmark-button-final:hover,
.onmark-button:hover {
  box-shadow: 18px 18px 35px #9b9b9b, -18px -18px 35px #ffffff;
  transform: scale(0.98);
}

.onmark-button-final:active,
.onmark-button:active {
  box-shadow: inset 5px 5px 10px #bebebe, inset -5px -5px 10px #ffffff;
  transform: scale(0.96);
}

/* Скрыть лишние блоки Tilda, если это требуется для логики сайта */
.t-rec[data-record-type="self"],
.t-rec[data-tilda-rule="self"],
.t-rec.zero-block,
.t-rec.t-rec_show {
    display: none !important;
}

.t-rec.t-rec_act {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.mobile-menu-panel {
  /* Фиксируем отступ сверху от шапки (подгони пиксели под свой дизайн) */
  top: 90px !important; 
  /* Высота рассчитывается автоматически как 100% экрана минус отступ сверху */
  height: calc(100vh - 90px) !important; 
  bottom: 0 !important;
}