/* ==========================================================================
   УТИЛИТЫ И ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ
   ========================================================================== */
.gradient-shape .tn-atom {
  background-color: transparent !important;
  background: -o-linear-gradient(240.53deg, rgba(255, 255, 255, 0) 18.05%, #8A9BAE 71.94%);
  background: linear-gradient(209.47deg, rgba(255, 255, 255, 0) 18.05%, #8A9BAE 71.94%);
  border-radius: 0 0 16px 16px;
}

.no-radius-left-corner .tn-atom {
  border-radius: 16px 16px 16px 0;
}

.title-padding span:first-child {
  padding-left: 50px;
}

.descript-padding span {
  padding-left: 30px;
}

.mix-multiply {
  mix-blend-mode: multiply;
  display: block;
}

.mix-multiply .tn-atom {
  position: absolute;
  height: 100%;
}

/* ==========================================================================
   КОРЗИНА (T706)
   ========================================================================== */
.t706__cartwin-content {
  background-color: #345F8F;
  border-radius: 16px;
  border: 20px solid #fafafa;
}

.t706__cartwin-heading {
  color: #e9e9e9 !important;
  font-size: 34px !important;
  font-family: 'Roboto Condensed', Arial, sans-serif !important;
  line-height: 1.29;
  font-weight: 400 !important;
}

.t706__product-title {
  color: #e9e9e9 !important;
}

.t706__form-bottom-text {
  margin-bottom: 0px !important;
}

/* ==========================================================================
   СЛАЙДЕР (T994)
   ========================================================================== */
.t994 {
  padding: 0px 0 50px !important;
}

.t994 .t-slds__arrow_container {
  display: none;
}

.t994__slds-wrapper {
  border-radius: 16px;
}

.t994__loader-inner {
  background-color: #65E0C0 !important;
}

/* ==========================================================================
   ОБЩИЕ СТИЛИ КАРТОЧЕК
   ========================================================================== */
.t-store__card__img {
  border-radius: 16px;
  margin-top: 0;
  height: 100%;
  object-fit: cover;
}

.t-store__card__imgwrapper,
.js-product {
    position: relative !important;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    border-radius: 16px;
}

.js-product .t-store__card__wrap_txt-and-btns {
    position: absolute;
    display: flex;
    height: 100%;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    box-sizing: border-box;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}

.t-store__card__btns-wrapper.js-store-buttons-wrapper {
    margin-top: auto !important;
}

.js-product-img,
.js-product a {
  width: 100%;
}

.js-store-price-wrapper {
  display: none !important;
}

.js-store-prod-name {
  word-break: normal !important;
}

.t-store__card__textwrapper {
  position: relative;
}

/* Кнопки */
.js-store-prod-btn,
.js-store-prod-btn2 {
  min-width: 130px !important;
  max-width: 130px !important;
  height: 50px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.js-store-prod-btn2 {
  font-size: 16px;
  font-family: 'Caveat', Arial, sans-serif !important;
  line-height: 1.42;
  font-weight: 300 !important;
}

.js-store-prod-btn2 span {
  text-decoration: underline;
}

.t-store__card__btns-wrapper {
  z-index: 99;
  position: relative;
  margin-top: auto !important;
  padding-left: 16px;
  -ms-flex-wrap: nowrap !important;
  flex-wrap: nowrap !important;
}

/* Метки (Tags) */
.t-store__card__mark {
  font-family: 'Caveat', Arial, sans-serif !important;
  line-height: 1.42;
  font-weight: 300 !important;
  min-width: 240px;
  padding-right: 20px;
  text-align: end;
  font-size: 20px !important;
  border-radius: 16px;
  text-transform: uppercase;
}

.t-store__card__mark-wrapper {
  top: 20px !important;
  right: 20px !important;
  z-index: 10;
}

/* Общее для описаний в обоих блоках */
.uc-hit .js-store-prod-descr,
.uc-main-tour .js-store-prod-descr {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0 15px;
  border: 1px solid #fff;
  border-radius: 16px;
}

/* ==========================================================================
   СПЕЦИФИКА .UC-HIT
   ========================================================================== */
.uc-hit .t-store__grid-cont {
  overflow: hidden;
}

.uc-hit .js-product.t-store__card {
  position: relative;
  margin-left: auto !important;
  margin-right: auto !important;
  left: 0;
  right: 0;
  max-width: 960px !important;
  display: flex !important;
  flex-wrap: wrap;
  flex-direction: column;
  float: none !important;
  padding-left: 0 !important;
  min-height: 345px;
}

.uc-hit .t-store__card__imgwrapper {
  padding-bottom: 345px !important;
}

.uc-hit .t-store__card__textwrapper {
  z-index: 99;
  width: 50%;
  padding-top: 30px !important;
  padding-left: 16px;
}

.uc-hit .t-store__card__mark {
  line-height: 1.3;
  padding-top: 6px;
  padding-bottom: 6px;
}

.uc-hit .t-store__card__mark-wrapper:after {
  content: '';
  position: absolute;
  display: none;
  width: 26px;
  height: 26px;
  top: 12px;
  left: 10px;
  background-size: contain !important;
  background: url(https://static.tildacdn.com/tild3437-3135-4563-b864-613939663864/green_star.svg) no-repeat;
}

.uc-hit .js-product:before {
  content: '';
  display: block;
  position: absolute;
  width: 140px;
  height: 70px;
  z-index: 99;
  background: url(https://static.tildacdn.com/tild3132-6565-4530-b932-336434393561/white-star.svg);
  background-position: bottom;
  background-size: cover !important;
  left: 590px;
}

/* ==========================================================================
   СПЕЦИФИКА .UC-MAIN-TOUR
   ========================================================================== */
.uc-main-tour .js-store-grid-cont {
  max-width: 1000px;
}

.uc-main-tour .js-product.t-store__card {
  max-width: 460px;
  min-height: 305px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.uc-main-tour .t-store__card__imgwrapper {
  padding-bottom: 305px !important;
}

.uc-main-tour .t-store__card__textwrapper {
  z-index: 99;
  width: 70%;
  padding-top: 16px !important;
  padding-left: 16px;
  box-sizing: border-box;
}

.uc-main-tour .t-store__card__mark {
  min-width: fit-content;
  font-size: 14px !important;
  padding: 6px 12px;
}

.uc-main-tour .t-store__card__mark-wrapper {
  top: 16px !important;
  right: 16px !important;
}

/* ==========================================================================
   АДАПТИВНОСТЬ (MEDIA QUERIES)
   ========================================================================== */

/* --- < 1200px --- */
@media screen and (max-width: 1200px) {
  .uc-hit .js-product.t-store__card { max-width: 940px !important; }
  .uc-main-tour .js-store-grid-cont { max-width: 960px !important; }
}

/* --- < 960px --- */
@media screen and (max-width: 960px) {
  
  /* Объединенные стили для Hit и Tour */
  .uc-main-tour .t-store__grid-cont .t-store__card-list,
  .uc-hit .t-store__grid-cont .t-store__card-list {
    row-gap: 0px !important;
  }

  .uc-hit .t-store__card__textwrapper,
  .uc-main-tour .t-store__card__textwrapper {
    padding-top: 16px !important;
    padding-left: 16px;
  }

  .t-store__card__btns-wrapper {
    padding-left: 16px;
    padding-bottom: 10px;
    -ms-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
    gap: 8px;
  }

  /* .uc-hit Specifics */
  .uc-hit .js-product.t-store__card {
    max-width: 620px !important;
    padding-right: 0;
    min-height: auto !important;
    height: 300px;
    margin-bottom: 0px !important;
  }

  .uc-hit .t-store__card__imgwrapper {
    padding-bottom: 0 !important;
    height: 300px;
    overflow: hidden;
    border-radius: 16px;
  }

  .uc-hit .t-store__card__img {
    max-width: fit-content;
  }

  .uc-hit .js-product:before { display: none; }
  .uc-hit .js-store-prod-name { font-size: 40px !important; }

  /* .uc-main-tour Specifics */
  .uc-main-tour .js-store-prod-name { font-size: 24px !important; }
  
  .uc-main-tour .t-col {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .uc-main-tour .js-store-grid-cont {
    max-width: 640px !important;
    display: flex;
    flex-wrap: wrap;
  }

  .uc-main-tour .t-store__card__imgwrapper {
    padding-bottom: 0 !important;
    height: 300px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
  }

  .uc-main-tour .t-store__card__img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .uc-main-tour .js-product.t-store__card {
    max-width: 300px !important;
    min-width: 300px !important;
    margin: 0 10px 25px !important;
    flex: 1;
  }

  .uc-main-tour .t-store__card__textwrapper { padding-right: 10px; }
  .uc-main-tour .js-store-prod-descr { font-size: 22px !important; }
  .uc-main-tour .t-store__card__btns-wrapper { padding-left: 12px; }
  
  .uc-main-tour .t-store__card__mark-wrapper {
    top: 10px !important;
    right: 10px !important;
  }
  
  .uc-main-tour .t-store__card__mark {
    font-size: 14px !important;
    padding-left: 8px;
    padding-right: 8px;
  }
  
  .t-align_left .t-store__card__btn {
    margin: 0 !important;
    max-width: 160px;
  }
}

/* --- < 640px --- */
@media screen and (max-width: 640px) {
  .title-padding span:first-child { padding-left: 30px; }
  .descript-padding span { padding-left: 20px; }

  .t-store__card__mark {
    font-size: 18px !important;
    min-width: 180px;
    padding-right: 10px;
    height: 40px;
  }

  .t-store__card__btns-wrapper { margin-top: 86px !important; }

  .js-store-prod-btn,
  .js-store-prod-btn2 {
    min-width: 130px;
    max-width: 130px;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Объединенные стили */
  .uc-hit .js-store-prod-descr,
  .uc-main-tour .js-store-prod-descr {
    font-size: 24px !important;
  }

  /* Specifics */
  .uc-hit .js-product.t-store__card { max-width: 100% !important; }
  .uc-hit .js-store-prod-name { font-size: 28px !important; }
  .uc-hit .t-store__card__mark-wrapper:after { top: 7px; }

  .uc-main-tour .js-store-grid-cont { max-width: 100% !important; }
  .uc-main-tour .js-product.t-store__card {
    max-width: 100% !important;
    min-width: 100% !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
  .uc-main-tour .js-store-prod-name { font-size: 20px !important; }
  
  .uc-main-tour .t-store__card__textwrapper,
  .uc-main-tour .t-store__card__btns-wrapper {
    padding-left: 10px;
  }

  .uc-main-tour .t-store__card__btns-wrapper {
    margin-top: 46px !important;
    flex-wrap: wrap !important;
  }
}

/* --- < 480px --- */
@media screen and (max-width: 480px) {
  
  /* === ОБЪЕДИНЕННЫЕ СТИЛИ ДЛЯ .UC-HIT и .UC-MAIN-TOUR === */
  
  /* Карточка товара */
  .uc-main-tour .js-product.t-store__card,
  .uc-hit .js-product.t-store__card {
    min-height: 260px;
    height: 260px;
    margin-left: 0px !important;
    margin-right: 0px !important;
  }

  /* Обертка картинки */
  .uc-hit .t-store__card__imgwrapper,
  .uc-main-tour .t-store__card__imgwrapper {
    height: 260px;
    display: flex;
    justify-content: center;
  }

  /* Обертка текста */
  .uc-hit .t-store__card__textwrapper,
  .uc-main-tour .t-store__card__textwrapper {
    min-height: 130px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
    gap: 10px;
    display: flex;
  }

  /* Название товара */
  .uc-hit .js-store-prod-name,
  .uc-main-tour .js-store-prod-name {
    font-size: 20px !important;
    flex: 2;
  }

  /* Описание товара */
  .uc-hit .js-store-prod-descr,
  .uc-main-tour .js-store-prod-descr {
    margin-top: 0px !important;
    max-height: 40px;
  }

  /* Обертка кнопок */
  .uc-hit .t-store__card__btns-wrapper,
  .uc-main-tour .t-store__card__btns-wrapper {
    margin-top: auto !important;
  }
  
  /* Метки (Stars/Labels) */
  .uc-main-tour .t-store__card__mark-wrapper,
  .uc-hit .t-store__card__mark-wrapper {
    top: 65px !important;
    right: 10px !important;
  }

  /* === ИНДИВИДУАЛЬНЫЕ СТИЛИ === */
  
  .t-store__grid-cont_mobile-grid { min-height: 260px; }

  .t-store__card__mark {
    font-size: 16px !important;
    min-width: 160px;
  }
  
  /* Глобальный wrapper метки (если не внутри uc-hit/tour) */
  .t-store__card__mark-wrapper {
    top: 10px !important;
    right: 10px !important;
  }

  .t-store__card__btns-wrapper { padding-left: 10px; }

  /* .uc-hit */
  .uc-hit .t-store__card__textwrapper {
    padding-left: 10px;
    padding-right: 10px;
  }
  .uc-hit .t-store__card { margin-bottom: 0px; }

  /* .uc-main-tour */
  .uc-main-tour .js-product.t-store__card { max-width: 460px !important; }
  .uc-main-tour .t-store__card__btns-wrapper { flex-wrap: nowrap !important; }
}