.t-store__card::after {
    content: attr(data-product-inv) " шт на складе";
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12px;
    color: #878787;
    display: block; /* Чтобы текст отобразился на новой строке */
    margin-top: 5px; /* Измените отступ по вашему желанию */
    position: absolute;
}

.t-store__card__btns-wrapper {
    margin-top: 20px !important;
}
.js-store-prod-sold-out {
    display: none;
}

.js-store-product.js-product::before {
    content: attr(data-product-inv) " шт на складе";
    font-family: 'Roboto',Arial,sans-serif;
    font-size: 14px;
    color: #000;
    background-color: #ededed;
    margin-left: 20px;
    padding: 3px 8px;
    position: absolute;
    top: -5px;
}
.t-store__prod-popup__name {
    margin-top: 5px;
}
.js-store-product.js-product.t-store__product-snippet::before {
    margin-left: calc(50% + 20px);
}

@media screen and (max-width: 1240px) {
    .js-store-product.js-product::before {
        margin-left: 5px;
    }
    .js-store-product.js-product.t-store__product-snippet::before {
        margin-left: calc(50% - 10px);
    }
}
@media screen and (max-width: 980px) {
    .js-store-product.js-product.t-store__product-snippet::before {
        margin-left: calc(50% - 60px);
        top: -20px;
    }
}

@media screen and (max-width: 640px) {
    .js-store-product.js-product::before {
        margin-left: 5px;
        position: relative;
        top: 15px;
        left: 5px;
        transform: translateX(-50%);
    }
    .t-store__prod-popup__slider.js-store-prod-slider {
        padding-top: 30px;
    }
}
