.t-btnflex.t-btnflex_type_button2, .t-btnflex.t-btnflex_type_button {
    min-width: 190px;
}

.t-store__card {
    position: relative;
}

.t-store__card::after {
  content: "Осталось " attr(data-product-inv) " мест";
  font-size: 18px;              
  display: block;                
  margin-top: 8px;
  margin-bottom: 8px;
  width: auto;
  position: absolute;
  bottom: 40px;
  right: 55px;
  font-family: 'Oranienbaum', Arial, sans-serif;
    font-weight: 600;
    color: #0b5055;
}

.t-store__card__btns-wrapper {
  margin-top: 0 !important;
}

.js-store-prod-sold-out {
  display: none;
}

.js-store-product.js-product::before {
  content: "Осталось " attr(data-product-inv) " мест";
    font-family: 'Oranienbaum', Arial, sans-serif;
    font-weight: 600;
    color: #0b5055;
  font-size: 18px;
  padding: 3px 8px;
  display: inline-block;         
  margin: 10px 10px 0; 
}

.t-store__prod-popup__name {
  margin-top: 5px;
}

.t-store__prod__quantity {
    display: none !important;
}

@media screen and (max-width: 1240px) {
  .js-store-product.js-product::before {
    margin: 5px 0;  
  }
}

@media screen and (max-width: 1200px) {
    .t-store__card::after {
        right: 30px;
    }
}

@media screen and (max-width: 980px) {
  .t-store__card::after {
        right: 0;
        bottom: 0;
  }
}

@media screen and (max-width: 980px) {
  .t-store__card::after {
        left: 215px;
        right: unset;
        bottom: 0;
  }
  
  .js-store-buttons-wrapper {
      margin-bottom: 25px !important;
  }
}


@media screen and (max-width: 640px) {
  .js-store-product.js-product::before {
    position: static;         
    left: auto;
    transform: none;
    margin: 5px auto;         
    display: block;
    text-align: center;
  }
  .t-store__prod-popup__slider.js-store-prod-slider {
    padding-top: 30px;
  }
}

@media screen and (max-width: 480px) {
  .t-store__card::after {
        left: 0px;
  }
}