  /* Стили для выпадающего списка в блоке t397 */
.t397__select {
    border-radius: 10px;
}

/* Внутренние отступы попапа поста в фиде (открытие модального окна) */
.t-feed__post-popup.t-popup_show .t-popup__container.t-popup__container-static {
    padding: 20px 0;
}

/* Убираем вертикальные отступы внутри контейнера попапа */
.t-feed__post-popup__container {
    padding: 0px 0;
}

/* Область с выделенным кодом в редакторе Tilda */
.t-redactor__highlightcode {
  background-color: #f5f5f7;
  border: none !important;
  max-height: 600px;
  overflow: auto;
  position: relative;
}

/* Кнопка копирования кода */
.highlightcode-copy-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: white;
  border: 1px solid #00a0f3;
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Стили при наведении на кнопку копирования */
.highlightcode-copy-btn:hover {
  background: #e6f4ff;
}

/* Убираем внешние отступы у SVG иконки внутри кнопки */
.highlightcode-copy-btn svg {
  display: block;
}

/* Межбуквенное расстояние для заголовков карточек */
.t-card__uptitle,
.t-uptitle,
.t-uptitle_xs {
  letter-spacing: 1px;
}

/* Цвет прогресс-бара в экранной форме */
.t-form__screen .t-form__screen-progress-bar {
  stroke: #00a0f3;
}

/* Стилизация чекбокса: рамка и скругление углов */
.t-checkbox__indicator {
  border: 1px solid #00a0f3;
  border-radius: 2px;
}

/* Цвет подложки для корзины */
 .t706__cartwin {
  background: linear-gradient(
    0.878turn,
    rgba(86, 60, 202, 0.7) 17%,
    rgba(0, 160, 243, 0.7) 49%,
    rgba(59, 221, 201, 0.7) 80%
  );
}

/* Скругление углов ошибки */
.t-form__errorbox-wrapper {
    border-radius: 10px;
}

.tlk-input-error.tlk-input-error_all.tlk-input-error_show.tlk-input-error_error {
  border-radius: 10px;
}

  /* Стили для кастомных попапов */
  #custom-alert {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    font-family: 'Manrope', sans-serif;
  }
  .box {
    background: #fff;
    padding: 20px;
    max-width: 360px;
    margin: 15% auto;
    border-radius: 10px;
    text-align: left;
    line-height: 1.5;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
    position: relative;
  }
  .box a {
    display: inline-block;
    color: #00a0f3;
    text-decoration: none;
    font-weight: 600;
  }
  .box a:hover {
    text-decoration: underline;
  }
  .box button {
    display: block;
    margin: 20px auto 0;
    padding: 10px 40px;
    background: linear-gradient(0.878turn, rgba(86,60,202,1) 17%, rgba(0,160,243,1) 49%, rgba(59,221,201,1) 80%);
    border: none;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease;
  }
  .box button:hover {
    transform: scale(1.05);
  }
  @keyframes fadeIn {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
  }
  