/* Flex-контейнер для кнопок */
.js-store-single-product-info .t1002__btns-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap; /* ⛔️ Запрещаем перенос */
}

/* Кнопка "В корзину" */
.js-store-single-product-info .t1002__btns-wrapper .t762__btn {
  width: 85%;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Кнопка "Избранное" — круглая, фикс. размер */
.js-store-single-product-info .t1002__btns-wrapper .t1002__addBtn {
  width: 45px !important;
  height: 45px !important;
  min-width: 45px !important;
  min-height: 45px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #282828 !important;
  border-radius: 50% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background-color: transparent !important;
}

/* Иконка-сердце внутри */
.js-store-single-product-info .t1002__addBtn svg {
  width: 18px;
  height: 18px;
  stroke: #282828;
}

/* Сброс псевдоэлементов */
.js-store-single-product-info .t1002__addBtn::before,
.js-store-single-product-info .t1002__addBtn::after {
  display: none !important;
}

/* Мобильная адаптация*/
* Мобильная адаптация — фиксируем отступ между кнопками */
@media (max-width: 768px) {
  .js-store-single-product-info .t1002__btns-wrapper {
    gap: 0px !important;
  }
  
  .js-store-single-product-info .t1002__btns-wrapper .t762__btn {
    width: 82%;
  }

  .js-store-single-product-info .t1002__btns-wrapper .t1002__addBtn {
    width: 45px !important;
    height: 45px !important;
  }
}

//* ───────── ПРЯМОУГОЛЬНЫЙ БЕЙДЖ ДЛЯ ВСЕХ КАРТОЧЕК ───────── */

/* карточку делаем опорной */
.t-store__card{
    position:relative;
}

/* обёртка бейджа */
.t-store__card__mark-wrapper{
    position:absolute !important;
    top:8px !important;      /* по вертикали вровень с fav-иконкой */
    left:0 !important;       /* вплотную к левому краю карточки    */
    z-index:3 !important;
}

/* сам прямоугольник */
.t-store__card__mark{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    white-space:nowrap !important;

    font:400 12px/1 "Manrope",sans-serif !important;   /* ← Manrope */
    padding:4px 7px !important;      /* было 4 × 12 → стало 4 × 6 */

    width:auto !important; height:auto !important;
    border-radius:0 !important;
}

/* ───── мобильная версия ≤768 px ───── */
@media (max-width:768px){
    .t-store__card__mark-wrapper{
        top:8px !important;        /* на одной линии с сердечком */
        left:0 !important;
    }
    .t-store__card__mark{
        font-size:11px !important; /* чуть крупнее, чтобы читалось */
        padding:4px 5px !important;/* пропорционально меньше «воздуха» */
    }
}

/* ——— не даём картинке «ховера» перекрыть плашку ——— */
.t-store__card__mark-wrapper{
    z-index: 20 !important;      /* поднимаем выше фона */
    pointer-events: none;        /* не перехватывает клик */
}
