/*СКИДКА в карточке товара слева*/

.t-catalog__card__mark-wrapper {
    left: 20px !important;
    top: 20px !important;
}

.t-catalog__card__mark {
    border-radius: 0px !important;
    height: 24px !important;
    width: 44px !important;
    font-family: 'Unageo' !important;
    font-size: 13px !important;
}


/* Выравнивание заголовка и цены в карточке*/
/* ссылка товара */
.js-product .t-catalog_card_wrap-txt-and-opts > a {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  text-decoration: none !important;
}

/* строка: название + цена */
.js-product .t-catalog_card__textwrapper {
  display: table !important;
  width: 100% !important;
  table-layout: fixed !important;
}

/* название слева */
.js-product .js-catalog-prod-name {
  display: table-cell !important;
  width: 100% !important;
  vertical-align: middle !important;
  margin: 0 !important;
  padding-right: 12px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* цена справа */
.js-product .js-catalog-price-wrapper {
  display: table-cell !important;
  width: 1% !important;
  vertical-align: middle !important;
  text-align: right !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

/* внутренности цены в строку */
.js-product .js-catalog-price-wrapper > * {
  display: inline-block !important;
  vertical-align: baseline !important;
  margin: 0 !important;
}

/* если первым идет новая цена, а второй старая:
   визуально ставим старую перед новой */
.js-product .js-catalog-price-wrapper > *:first-child {
  margin-left: 10px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  color: #556b2f !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  margin-left: 8px !important;
}

.js-product .js-catalog-price-wrapper > *:last-child {
  font-size: 14px !important;
  line-height: 1 !important;
  color: #9aa08c !important;
  text-decoration: line-through !important;  
}

/* разворачиваем порядок элементов внутри цены */
.js-product .js-catalog-price-wrapper {
  direction: rtl !important;
  text-align: right !important;
}

/* возвращаем нормальное направление текста у самих цен */
.js-product .js-catalog-price-wrapper > * {
  direction: ltr !important;
  display: inline-block !important;
  vertical-align: baseline !important;
}


/* Код написан с помощью cascad.cc */


.t-item .t-catalog__card__btns-wrapper{
     max-width:100%;
     flex-direction:row;
     display:grid;
     flex:1 1 0%;
     align-self:flex-start;
     float:left;
     grid-template-columns:1fr 1fr;
     column-gap:0px;
     clear:none;
     align-content:normal;
     justify-content:normal;
     margin-right:0px;
}

#allrecords .t1291 .js-catalog .js-catalog-cont-w-filter .t-catalog__cont-wrapper .js-catalog-grid-cont .swiper-backface-hidden 
#swiper-wrapper-1d6cc83559106c7bd .t-item .t-catalog__card__wrap_txt-and-btns .t-catalog__card__btns-wrapper {
    grid-template-rows:auto !important;
    grid-template-columns:1fr 1fr !important;
}

.t-item .t-btnflex_type_button2{
    margin-right:0px;
}

.t-item .t-catalog__card__wrap_txt-and-btns .t-catalog__card__btns-wrapper .t-btnflex_type_button2 span{
    flex:0 1 auto !important;
}


@media (max-width:959px){

     .t-item .t-catalog__card__btns-wrapper{
          position:static !important;
          grid-template-columns:50% 50% !important;
          width:100% !important;
     }

#allrecords .t1291 .js-catalog .js-catalog-cont-w-filter .t-catalog__cont-wrapper .js-catalog-grid-cont .swiper-backface-hidden 
#swiper-wrapper-1d6cc83559106c7bd .t-item .t-catalog__card__wrap_txt-and-btns .t-catalog__card__btns-wrapper {
    grid-template-columns:50% 50% !important;
 }
}