/* ===== Заголовок и цена: попап ===== */
.t-popup .t-store__prod-popup__name,
.t-popup .t-store__prod-popup__title,
.t-popup .t-store__prod-popup__price-value { line-height: 1.3 !important; }

/* ===== Описание: попап ===== */
.t-popup .t-store__prod-popup__text,
.t-popup .t-store__prod-popup__descr { line-height: 1.6 !important; }

/* ===== Заголовок/цена/описание: ПОЛНАЯ СТРАНИЦА ТОВАРА ===== */
.t-store__prod-title,
.js-store-prod-name,
.js-product-price-value { line-height: 1.3 !important; }
.t-store__prod-text,
.js-store-prod-text { line-height: 1.6 !important; }

/* Десктоп: 32/18 */
@media (min-width: 641px) {
  .t-popup .t-store__prod-popup__name,
  .t-popup .t-store__prod-popup__title,
  .t-popup .t-store__prod-popup__price-value,
  .t-store__prod-title,
  .js-store-prod-name,
  .js-product-price-value { font-size: 32px !important; }

  .t-popup .t-store__prod-popup__text,
  .t-popup .t-store__prod-popup__descr,
  .t-store__prod-text,
  .js-store-prod-text { font-size: 18px !important; }
}

/* Мобайл: 22/14 */
@media (max-width: 640px) {
  .t-popup .t-store__prod-popup__name,
  .t-popup .t-store__prod-popup__title,
  .t-popup .t-store__prod-popup__price-value,
  .t-store__prod-title,
  .js-store-prod-name,
  .js-product-price-value { font-size: 22px !important; }

  .t-popup .t-store__prod-popup__text,
  .t-popup .t-store__prod-popup__descr,
  .t-store__prod-text,
  .js-store-prod-text { font-size: 14px !important; }
}

/* ===== Превьюшки: размеры + отступ сверху и между рядами ===== */


/* ===== Общие стили превью ===== */
.t-slds__thumbsbullet, 
.t-slds__thumbs_bullet {
  width: 80px !important;
  height: 80px !important;
  flex: 0 0 80px !important;
  margin: 0 8px 12px !important;  /* горизонтальные + нижний для ряда */
  border-radius: 8px !important;
  overflow: hidden !important;
}

.t-slds__thumbsbullet .t-slds__bgimg, 
.t-slds__thumbs_bullet .t-slds__bgimg {
  height: 100% !important;
  padding-bottom: 0 !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Отступ от большой картинки */
.t-store__prod-popup__slider .t-slds__thumbsbullet-wrapper,
.js-store-product .t-slds__thumbsbullet-wrapper {
  margin-top: 18px !important;
}

/* ===== Мобильная версия ===== */
@media (max-width: 640px){
  .t-slds__thumbsbullet, 
  .t-slds__thumbs_bullet {
    width: 60px !important;
    height: 60px !important;
    flex: 0 0 60px !important;
    margin: 0 6px 10px !important;
  }
  .t-store__prod-popup__slider .t-slds__thumbsbullet-wrapper,
  .js-store-product .t-slds__thumbsbullet-wrapper {
    margin-top: 14px !important;
  }
}




/* ===== Скругление изображений в списке и карточке ===== */
.t-store__card__img, .t-store__card__img_second, .js-product-img,
.t-store__prod__img, .t-store__prod-popup__img { border-radius: 20px !important; overflow: hidden !important; }



  /* Вид и отступы для добавленного описания */
  .uc-prod-descr {
    margin: 12px 0 0 !important;
    color: #333 !important;
    line-height: 1.6 !important;
  }
  @media (min-width:641px){
    .uc-prod-descr { font-size: 18px !important; }
  }
  @media (max-width:640px){
    .uc-prod-descr { font-size: 14px !important; }
  }

/* Для мобильных экранов */
@media (max-width: 640px) {
  .t-store__prod-popup__slider {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .t-store__prod-popup__slider .t-slds__main,
  .t-store__prod-popup__slider .t-slds__item,
  .t-store__prod-popup__slider .t-slds__img {
    border-radius: 12px; /* чтобы красиво выглядело с отступами */
    overflow: hidden;
  }
}

@media screen and (max-width: 560px) {
  .t-store .t-popup__close-wrapper {
    border-bottom: none !important;
  }
}

