/* ===== Инверсия горизонтальная в карточке товара, чтобы сначала текст а потом фотки ===== */

@media screen and (max-width: 960px) {
  .uc-card-block .t760 .t-container {
    display: flex !important;
    flex-direction: column !important;
  }

  .uc-card-block .t760__flexcolumn {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  .uc-card-block .t760__flexcolumn:has(.js-store-single-product-info) {
    order: 1 !important;
  }

  .uc-card-block .t760__flexcolumn:has(.t760__img) {
    order: 2 !important;
  }

  .uc-card-block .t760__floatable {
    position: static !important;
    top: auto !important;
    transform: none !important;
  }
}



/* ===== T760: кнопка "В корзину" + лайк ===== */

/* Убираем большой искусственный отступ снизу */
.uc-card-block .t760__textwrapper {
    position: relative;
    padding-bottom: 0 !important;
}

/* Контейнер кнопок */
.uc-card-block .t1002__btns-wrapper {
    position: static !important;
    display: flex !important;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin: 32px 0 0 0 !important;
}

/* Кнопка "В корзину" */
.uc-card-block .t760__btn {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 54px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 20px !important;
    font-family: 'Monoid', Arial, sans-serif;
    font-weight: 400 !important;
    font-size: 20px !important;
    line-height: 95% !important;
    overflow: visible !important;
}

/* Текст внутри кнопки */
.uc-card-block .t760__btn .t-btnflex__text,
.uc-card-block .js-store-prod-buy-btn-txt {
    max-width: none !important;
    width: auto !important;
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: nowrap !important;
    font-family: 'Monoid', Arial, sans-serif;
    font-weight: 400 !important;
    font-size: 20px !important;
    line-height: 95% !important;
}

/* Кнопка лайка */
.uc-card-block .t1002__addBtn {
    flex: 0 0 54px !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    border-radius: 50%;
    background: #fff;
    padding: 0 !important;
    box-sizing: border-box;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Иконка сердца */
.uc-card-block .t1002__addBtn svg {
    width: 22px;
    height: 20px;
    display: block;
}

.uc-card-block .t1002__addBtn svg path {
    fill: #000;
    stroke: none;
}

/* Hover / active */
.uc-card-block .t1002__addBtn:hover,
.uc-card-block .t1002__addBtn_active {
    background: #000;
}

.uc-card-block .t1002__addBtn:hover svg path,
.uc-card-block .t1002__addBtn_active svg path {
    fill: #fff;
}

/* Мобилка */
@media (max-width: 560px) {
    .uc-card-block .t1002__btns-wrapper {
        margin-top: 28px !important;
        gap: 12px;
    }

    .uc-card-block .t760__btn {
        height: 54px !important;
        font-size: 20px !important;
        padding: 0 16px !important;
    }

    .uc-card-block .t760__btn .t-btnflex__text,
    .uc-card-block .js-store-prod-buy-btn-txt {
        font-size: 20px !important;
    }

    .uc-card-block .t1002__addBtn {
        flex-basis: 54px !important;
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        min-height: 54px !important;
    }
}
