/* Стили для добавления в избранное */
:root {
    --iconNormal: url('https://static.tildacdn.com/tild3732-6664-4663-b566-353664376132/free-icon-heart-2995.svg');
    --iconAdded: url('https://static.tildacdn.com/tild3634-3839-4330-b131-633963623330/noroot.png');
    --iconScaleHover: scale(1.1);
    --iconTransition: all 0.4s ease-in-out;
    --bgIconRadiusNormal: 5px;
    --bgIconRadiusHover: 5px;
    --widthIcon: 20px;
    --heightIcon: 20px;
}

/* Стили для кнопки добавления в избранное */
a.t1002__addBtn {
    padding: 0px; /* Отступы вокруг кнопки */
    border-radius: var(--bgIconRadiusNormal) !important;
    background: transparent !important;
    transition: var(--iconTransition);
    position: relative; /* Убедитесь, что родительский элемент имеет relative positioning */
    
    
}

a.t1002__addBtn:after {
    content: "";
    position: absolute;
    width: var(--widthIcon);
    height: var(--heightIcon);
    background-image: var(--iconNormal);
    background-repeat: no-repeat;
    background-size: cover;
    transition: var(--iconTransition);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Иконка при наведении */
a.t1002__addBtn:hover:after {
    transform: translate(-50%, -50%) var(--iconScaleHover);
}

/* Иконка, когда товар добавлен в избранное */
a.t1002__addBtn_active:after {
    background-image: var(--iconAdded);
}

/* Скрытие стандартной SVG-иконки */
.t1002__addBtn svg {
    display: none;
}

/* Стили подложки для кнопки избранного */
.t1002__addBtn:hover {
    border-radius: var(--bgIconRadiusHover) !important;
    transition: var(--iconTransition);
}

.t1002__addBtn_active {
    background: transparent !important;
}


/* ОБЩИЕ СТИЛИ ДЛЯ КАРТОЧЕК ТОВАРОВ ВНУТРИ КОНТЕЙНЕРА МАГАЗИНА */

/* Division */
.js-store-grid-cont a .t-store__card__mark {
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 5px;
}

/* Division */
#allrecords .t-rec .t786 .js-store .js-store-grid-cont .t-item a .t-store__card__imgwrapper .t-store__card__mark-wrapper .t-store__card__mark {
  height: 20px !important;
}

/* Division */
.js-store-grid-cont a .t-store__card__textwrapper {
  padding-top: 0px;
  height: 110px !important;
}

/* Store prod descr */
.js-store-grid-cont a .js-store-prod-descr {
  margin-top: 0px;
}

/* Division */
.js-store-grid-cont a .t-store__card__price-wrapper {
  margin-top: 0px;
}

/* Store grid cont */
.t786 .js-store .js-store-grid-cont {
  transform: translateX(0) translateY(0);
}

/* Division */
.js-store-grid-cont a .t-store__card__sku {
  margin-top: 0px;
}

/* Label */
.js-store-grid-cont .t-item label {
  border-radius: 5px;
  min-height: 3px !important;
}

/* Label */
.t786 .js-store .js-store-grid-cont .t-item .t-store__card__prod-controls-wrapper .js-product-edition-option .t-product__option-variants_buttons label {
  min-width: 3px !important;
}

/* Label */
#allrecords .t-rec .t786 .js-store .js-store-grid-cont .t-item .t-store__card__prod-controls-wrapper .js-product-edition-option .t-product__option-variants_buttons label {
  width: 30px !important;
  height: 20px !important;
}

/* Доп стиль для цены МАГАЗИНА */
.js-store-grid-cont .t-name > div {
  color: #e67e22;
}

/* Name */
.t-store__stretch-col a div div .t-name {
  color: #f95d51;
}

/* Division */
.js-store-grid-cont .t-store__stretch-col:nth-child(18) .t-name:nth-child(1) div:nth-child(1) {
  font-weight: 700;
}

/* Медиа-запрос для экранов до 800px (адаптивность) */
@media (max-width: 800px) {

  /* Division */
  .js-store-grid-cont a .t-store__card__textwrapper {
    height: 100px !important;
  }

  /* Division */
  .js-store-grid-cont .t-item .t-store__card__prod-controls-wrapper {
    height: 70px;
  }

  /* Form Division */
  .js-store-grid-cont .t-item form {
    transform: translateX(0) translateY(0);
  }

  /* Label */
  .js-store-grid-cont .t-item label {
    min-height: 2px !important;
    height: 25px;
    min-width: 4px !important;
  }

  /* Label */
  #allrecords .t-rec .t786 .js-store .js-store-grid-cont .t-item .t-store__card__prod-controls-wrapper .js-product-edition-option .t-product__option-variants_buttons label {
    width: 40px !important;
  }

  /* Item */
  .js-store .js-store-grid-cont .t-item {
    margin-bottom: 5px;
  }

  /* Division */
  .js-store-grid-cont a .t-store__card__price-value {
    color: #e67e22;
    font-size: 14px;
    font-weight: 700;
  }

  /* Division */
  .js-store-grid-cont a .t-store__card__price-currency {
    color: #e67e22;
  }
}

/* Меньше 500px */
@media (max-width: 500px) {

  /* Division */
  .js-store-grid-cont .t-item .js-product-edition-option {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  /* Division */
  .js-store-grid-cont .t-item .t-store__card__prod-controls-wrapper {
    padding-bottom: 0px;
    padding-top: -20px;
    height: 52px;
    transform: translatex(0px) translatey(0px);
  }

  /* Division */
  .js-store-grid-cont a .t-store__card__textwrapper {
    height: 78px !important;
  }

  /* Label */
  .t786 .js-store .js-store-grid-cont .t-item .t-store__card__prod-controls-wrapper .js-product-edition-option .t-product__option-variants_buttons label {
    min-width: 2px !important;
  }

  /* Label */
  #allrecords .t-rec .t786 .js-store .js-store-grid-cont .t-item .t-store__card__prod-controls-wrapper .js-product-edition-option .t-product__option-variants_buttons label {
    width: 30px !important;
  }
}

/* Меньше 479px */
@media (max-width: 479px) {

  /* Division */
  .js-store-grid-cont .t-item .js-product-edition-option {
    padding-top: 0px;
  }
}





/* ОБЩИЕ СТИЛИ ДЛЯ КАРТОЧЕК ТОВАРОВ POPUP */
