html {
  scroll-padding-top: 40px; 
}

/* Для старых браузеров */
:target::before {
  content: '';
  display: block;
  height: 40px; 
  margin-top: -40px;
  visibility: hidden;
}
.menu-item .tn-atom a {
  color: #7F7F7F !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.menu-item:hover .tn-atom a {
  color: #009746 !important;
  text-decoration: underline !important;
}
.t-input,
.js-tilda-rule,
input[name*="name"],
input[name*="phone"],
input[name*="email"],
textarea.t-input,
.t-form__input-wrapper input,
.t-input-block input,
.t-input-group input, 
.t-menu__link-item{
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* На случай, если Tilda добавит ещё какой-то класс */
[class*="t-input"] input,
[class*="t-input"] textarea {
    font-family: 'Inter', sans-serif !important;
}

input, textarea, select, button {
    font-family: 'Inter', sans-serif !important;
}

.uc-cookie {
    max-width: 1100px; 
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}
/* Стили для мобильной версии */
@media screen and (max-width: 480px) {

    /* Контейнер блока */
    .uc-cookie .t886__wrapper {
        display: grid !important;
        background: #ffffff;
        padding: 40px !important;
        border-radius: 32px !important; 
        /*box-shadow: 0 4px 25px rgba(0,0,0,0.12);*/
        /*max-width: 90%;*/
        margin: 0 auto 20px auto;
    }

    /* Текст */
    .uc-cookie  .t886__text {
        font-size: 20px !important;
        line-height: 1.35 !important;
        color: #000000;
    }

    /* Подчёркнутые слова */
    .uc-cookie  .t886__text u {
        text-decoration-thickness: 2px;
    }

    /* Кнопка */
    .uc-cookie .t-btn {
        width: 100%;
        background-color: #17a648 !important;
        border-radius: 16px !important;
        padding: 18px 0 !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        margin-top: 22px;
    }

    /* Убираем градиенты и стандартный стиль Tilda */
    .uc-cookie  .t-btn:not(.t-animate) {
        background-image: none !important;
        box-shadow: none !important;
    }
}
}