/* =========================================================
   Универсальный hero-блок для Tilda
   Работает на любом блоке с классом .uc-hero
   Под CR50 / CR50E / t1241
   ========================================================= */

/* Общая оболочка блока */
.uc-hero {
  width: calc(100% - 40px) !important;
  max-width: 1160px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Десктоп: нижний отступ у блока */
@media screen and (min-width: 981px) {
  .uc-hero {
    padding-bottom: 70px !important;
  }
}

/* Убираем искусственное растягивание блока */
.uc-hero .t1241 {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
}

.uc-hero .t1241__container {
  display: flex !important;
  min-height: 0 !important;
  height: auto !important;
  align-items: stretch !important;
}

/* Внутренние текстовые обертки */
.uc-hero .t1241__content-wrapper,
.uc-hero .t1241__content {
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 0 !important;
  box-sizing: border-box !important;
}

/* Десктоп: ширина текстового блока + правый отступ 20px */
@media screen and (min-width: 981px) {
  .uc-hero .t1241__descr {
    width: 600px !important;
    max-width: 600px !important;
  }

  .uc-hero .t1241__content-wrapper {
    padding-left: 20px !important;
  }
}

/* Колонка с изображением */
.uc-hero .t1241__image,
.uc-hero .t1241__imgage {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Блоки, в которых может жить изображение как фон */
.uc-hero .t1241__cover,
.uc-hero .t-bgimg,
.uc-hero .t-cover__carrier,
.uc-hero .t-img,
.uc-hero .tn-atom {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 280px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* Если изображение вставлено как обычный img */
.uc-hero img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

/* ===== Десктоп ===== */
@media screen and (min-width: 981px) {
  .uc-hero .t1241__image,
  .uc-hero .t1241__imgage {
    padding-right: 20px !important;
  }

  .uc-hero .t1241__cover,
  .uc-hero .t-bgimg,
  .uc-hero .t-cover__carrier,
  .uc-hero .t-img,
  .uc-hero .tn-atom {
    min-height: 320px !important;
    background-position: center top 40px !important;
    margin-bottom: 0 !important;
  }

  .uc-hero img {
    margin-top: 40px !important;
  }
}

/* ===== Мобилка ===== */
@media screen and (max-width: 980px) {
  .uc-hero {
    width: calc(100% - 40px) !important; /* по 20px слева и справа */
    padding-bottom: 0 !important;
  }

  /* убрать верхний отступ у текстовой части */
  .uc-hero .t1241__content-wrapper {
    padding-top: 0 !important;
    padding-right: 0 !important;
  }

  .uc-hero .t1241__descr {
    width: auto !important;
    max-width: 100% !important;
  }

  /* кнопки во всю ширину */
  .uc-hero .t1241__buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .uc-hero .t1241__buttons .t-btn,
  .uc-hero .t1241__buttons a {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .uc-hero .t1241__image,
  .uc-hero .t1241__imgage {
    padding-left: 0 !important;
  }

  /* мобилка: отступ сверху у изображения */
  .uc-hero .t1241__cover,
  .uc-hero .t-bgimg,
  .uc-hero .t-cover__carrier,
  .uc-hero .t-img,
  .uc-hero .tn-atom {
    min-height: 200px !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    background-position: center center !important;
  }

  .uc-hero img {
    margin-top: 40px !important;
  }
}

@media screen and (max-width: 640px) {
  .uc-hero .t1241__title {
    font-size: clamp(22px, 7vw, 32px) !important;
    line-height: 1.08 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    max-width: 100% !important;
  }
}

.uc-prodoctorov .pd-trust-widget,
.uc-prodoctorov .pd-trust-widget * {
  box-sizing: border-box;
}

.uc-prodoctorov .pd-trust-widget .pd_widget_footer,
.uc-prodoctorov .pd-trust-widget [id^="pd_widget_footer"] {
  width: 100% !important;
  max-width: 100% !important;
}

.uc-prodoctorov .pd-trust-widget .pd_left,
.uc-prodoctorov .pd-trust-widget .pd_middle,
.uc-prodoctorov .pd-trust-widget .pd_right {
  min-width: 0 !important;
}

.uc-prodoctorov .pd-trust-widget .pd_powered_by {
  margin-top: 10px;
}

@media screen and (max-width: 960px) {
  .uc-prodoctorov .pd-trust-widget .pd_widget_footer,
  .uc-prodoctorov .pd-trust-widget [id^="pd_widget_footer"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .uc-prodoctorov .pd-trust-widget .pd_left,
  .uc-prodoctorov .pd-trust-widget .pd_middle,
  .uc-prodoctorov .pd-trust-widget .pd_right,
  .uc-prodoctorov .pd-trust-widget [id^="pd_widget_footer_content_"],
  .uc-prodoctorov .pd-trust-widget .pd_lpu_name,
  .uc-prodoctorov .pd-trust-widget .pd_powered_by,
  .uc-prodoctorov .pd-trust-widget .pd_powered_by a,
  .uc-prodoctorov .pd-trust-widget .pd_logo {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .uc-prodoctorov .pd-trust-widget .pd_logo {
    height: auto !important;
  }
}


@media screen and (max-width: 980px) {
  .uc-mobile-reverse .t226 .t-container {
    display: flex !important;
    flex-direction: column !important;
  }

  .uc-mobile-reverse .t226__left {
    order: 2 !important;
  }

  .uc-mobile-reverse .t226__left + .t-col {
    order: 1 !important;
  }

  .uc-mobile-reverse .t226 .t-col {
    width: 100% !important;
    float: none !important;
  }
}

/* ДОБАВЛЯЕТ В МАРКИРОВАННЫЙ СПИСОК КРАСНЫЙ ПЛЮС ДЛЯ КЛАССА uc-plus */
.uc-plus ul {
  list-style: none !important;
  padding-left: 0px !important;
  padding-top: 5px;
  padding-inline-start: 0 !important;
  margin-left: 0 !important;
}

.uc-plus ul li {
  list-style: none !important;
  position: relative;
  padding-left: 22px !important;
  padding-top: 5px !important;
  margin-left: 10px !important;
}

.uc-plus ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 8px;
  color: rgb(181, 20, 23);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

/* Круглые точки для блока uc-dot */

.uc-dot ul {
  list-style: none !important;
  padding-left: 0px !important;
  padding-top: 5px;
  padding-inline-start: 0 !important;
  margin-left: 0 !important;
}

.uc-dot ul li {
  list-style: none !important;
  position: relative;
  padding-left: 22px !important;
  padding-top: 5px !important;
  margin-left: 10px !important;
}

.uc-dot ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 6px;
  height: 6px;
  background-color: rgb(181, 20, 23);
  border-radius: 50%;
}

/* Кастомные переносы */
  br.br-mobile {
    display: none;
  }

  br.br-desktop {
    display: block;
  }

  @media screen and (max-width: 640px) {
    br.br-desktop {
      display: none;
    }

    br.br-mobile {
      display: block;
    }
  }
  
/* Активная кнопка в прайсе */
.uc-price-tabs a.is-active,
.uc-price-tabs a.is-active:hover,
.uc-price-tabs a.is-active:focus,
.uc-price-tabs a.is-active:visited {
  background-color: #B51417 !important;
  color: #ffffff !important;
}

/* Текст внутри активной кнопки */
.uc-price-tabs a.is-active *,
.uc-price-tabs a.is-active:hover *,
.uc-price-tabs a.is-active:focus * {
  color: #ffffff !important;
}


/* Поиск у прайса */
  .uc-price-search {
    margin-bottom: 20px;
  }

  .uc-price-search-input {
    width: 100%;
    max-width: 520px;
    height: 36px;
    padding: 0 16px;
    border: 1px solid #b8b8b8;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
  }

  .uc-price-search-empty {
    margin-top: 12px;
    font-size: 15px;
    color: #777777;
  }

  .uc-js-price-toggle.is-hidden {
    display: none !important;
  }
  .uc-price-search-field {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.uc-price-search-input {
  width: 100%;
  padding-right: 44px;
}

.uc-price-search-clear {
  display: none;
  position: absolute;
  top: 50%;
  right: 12px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: #777777;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.uc-price-search-clear:hover {
  color: #B51417;
}

.uc-price-search-clear.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
}
.uc-price-search,
.uc-price-search-input,
.uc-price-search-empty,
.uc-price-search-clear {
  font-family: "Open Sans", Arial, sans-serif !important;
}