    @media (max-width: 479px) {
  .t-popup {
    background-color: #ffffff !important;
  }
}
    
    .t-store__prod-popup__price-wrapper {
        display: inline-block !important;
    }
.t-store__card__mark {
    font-weight: 500 !important;
    font-size: 14px !important;
    height: 24px !important;
    border-radius: 100px !important;
    white-space: nowrap !important;
    background: linear-gradient(90deg, #E7A331 33%, #AD31E7 66%, #31B1E7);
    align-items: center;
}

.t-slds__bgimg-contain {
    background-size: cover;
}

.t-popup__close {
    background-color: #ffffff !important;
}

.t-slds__thumbsbullets-with-gallery .t-slds__thumbs_gallery::after {
    font-size: 28px;
    letter-spacing: -0px;
}


@media (max-width: 480px) {
    .t-store__card__mark {
        font-size: 12px !important;
        height: 20px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}

.t-store__prod-popup__close-txt {
    white-space: nowrap !important;
}
.t951__cont-wrapper .t951__sidebar {
    border-radius: 12px !important;
}

.t-descr_xxs {
        font-size: 14px;
    }

.t-store__load-more-btn {
    margin-top: 0px !important;
}

@media (max-width: 480px) {
    .t-store__load-more-btn {
        margin-top: 0px !important;
    }
}

.t-store .t-store__tabs {
    width: 100%!important;
    display: block!important;
    margin-top: 20px!important;
    max-width: 560px!important; /*тут меняем максимальную ширину отображения табов*/

}
.t-store__product-popup {
    display: block!important;
}
    .t-store__product-snippet .t-container>div:after, .t-store__product-popup>div:after {
        clear: unset !important;
    }
    
    
.t-product__option-variants_custom {
    max-width: 340px;
}


.t-upwidget-container__button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #EBEBEB !important;
    color: #AEAEAE !important;
    font-size: 16px !important; 
    text-align: left;
    display: flex;
    align-items: center;
    padding-left: 3%;
    padding-right: 3%;
}

.t-upwidget-container__button::after {
    content: "";
    display: inline-block;
    background-image: url('https://static.tildacdn.com/tild3463-3533-4162-b038-636631616430/photo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    margin-left: auto;
    margin-right: 0;
}

.t-store__card__btn {
    width: 100%!important;
    margin-bottom: 0px!important;
}

.t-store__card__btns-wrapper {
    margin-top: 0px!important;
}

.t-store__card__textwrapper {
    padding-top: 12px;
}

.t-store__card__price-wrapper {
    margin-top: 6px;
}


@media screen and (max-width: 480px) {
    .t-btn_sm {
        height: 40px;
    }
}

@media screen and (max-width: 640px) {
    .t-name_xs {
        font-size: 16px;
    }
}

.t-store__relevants__title {
    font-size: 24px !important;
    }

@media screen and (max-width: 480px) {
    .t-store__relevants__title {
        margin-bottom: 20px !important;
    }
}

/* Обнуление отступов у контейнера и обёртки кнопки */
.js-store-prod-text {
  margin-top: 0;
}

.t-store__prod-popup__btn-wrapper {
  margin-bottom: 0 !important;
}

/* Растягиваем собственную кнопку */
.t-store__prod-popup__btn {
  width: 65%;
}

/* Стили кнопки‑ссылки */
.js-store-prod-text a {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 65% !important;
  box-sizing: border-box;
  text-align: center;       /* для многострочного текста */
  padding: 14px 15px;
  margin: 8px 0 10px;       /* сверху 8px, снизу 10px */
  border-radius: 5px;
  font-weight: 600;
}

/* Цвета для первой и последней ссылки */
.js-store-prod-text a:first-of-type {
  background: linear-gradient(90deg, #E7A331 0%, #31B1E7 50%, #AD31E7 100%);
  color: #ffffff !important;
}

.js-store-prod-text a:last-of-type {
  background-color: #566d90;
  color: #ffffff !important;
}

/* Фиксированный z-index для окна корзины */
.t706__cartwin_showed {
  z-index: 999999999;
}

/* Адаптив: для экранов ≤560px */
@media (max-width: 560px) {
  .js-store-prod-text a {
    height: 40px !important;
    margin-bottom: 0;
    width: 100% !important;
  }
  
  .t-store__prod-popup__btn {
  width: 100%;
}
}