.t-store__card__sold-out-msg {
    visibility: hidden;
}

.t-store__card__sold-out-msg:after {
    content: 'Нет в наличии';
    visibility: visible;
    display: block;
    color: #FF6B00;
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: 17px;
    line-height: 1.2;
}

@media screen and (max-width: 640px) {
    .t-store__card__sold-out-msg:after {
        font-size: 16px;
    }
}


/* ================================================
   КОРЗИНА: шрифты, линии, поля, промокод
   ================================================ */

/* --- Базовый шрифт корзины: Arial, 18px на десктопе --- */
.t706__cartwin-content * {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
}

/* --- Заголовок корзины («Ваш заказ» и т.п.) --- */
.t706__cartwin-heading {
    font-family: 'Caveat', cursive !important;
    font-weight: 700 !important;
    font-size: 42px !important;
    color: #008736 !important;
    line-height: 1.0;
}

/* --- Кнопка «Применить» у промокода:
        стандартная высота, отступы 10px по бокам, 5px сверху/снизу --- */
.t-inputpromocode__btn {
    height: auto !important;
    padding: 5px 10px !important;
    box-sizing: border-box;
}

/* --- Обёртка промокода на десктопе:
        кнопка не растягивается по высоте поля,
        выравнивание по вертикали — по центру --- */
.t-inputpromocode__wrapper {
    align-items: center !important;
}

/* --- Все поля ввода в корзине --- */
.t706 .t-input,
.t706 .t-inputpromocode {
    height: auto !important;
    padding: 10px 15px !important;
    box-sizing: border-box;
    line-height: 1.0 !important;
}

/* --- Поле «Телефон» — выравниваем по высоте остальных полей --- */
.t706 .t-input-group_ph .t-input,
.t706 input[type="tel"] {
    height: auto !important;
    padding: 5px 15px !important;
    box-sizing: border-box;
    line-height: 1.0 !important;
    min-height: 0 !important;
}

/* --- Плашка «Покупали ранее? Авторизуйтесь»:
        подложка #FF6B00 с прозрачностью 80%,
        скругление углов 15px --- */
.t706__auth {
    background: rgba(0, 135, 52, 0.2) !important; /* #008736, прозрачность 20% */
    border-radius: 15px !important;
    color: inherit !important;
    box-sizing: border-box;
}
.t-descr.t706__auth__flex {
    color: inherit !important;
}

/* ================================================
   МОБИЛЬНАЯ ВЕРСИЯ (до 960px)
   ================================================ */
@media screen and (max-width: 960px) {
    .t706__cartwin-content * {
        font-size: 16px !important;
    }
    .t706__cartwin-heading {
        font-size: 36px !important;
    }

    /* --- Блок «Промокод» в мобильной версии:
            кнопка «Применить» справа от поля,
            зазор между полем и кнопкой всегда 10px,
            высота кнопки — auto (как на десктопе), а сама она
            вытягивается по высоте поля за счёт stretch --- */
    body .t706__cartwin-content .t-inputpromocode__wrapper,
    body .t-input-group_pc .t-inputpromocode__wrapper,
    body .t-inputpromocode .t-inputpromocode__wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }
    /* Пока поле в фокусе — обёртка остаётся в той же раскладке */
    body .t706__cartwin-content .t-inputpromocode__wrapper:focus-within,
    body .t-input-group_pc .t-inputpromocode__wrapper:focus-within,
    body .t-inputpromocode .t-inputpromocode__wrapper:focus-within {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    /* --- Поле промокода: размер целиком задаётся flex-раскладкой
            (flex: 1 1 auto), а не процентами от родителя — поэтому
            ни фокус, ни классы, которые Тильда добавляет при клике,
            не могут изменить ширину поля. Рамка, отступы и тень
            одинаковы во всех состояниях --- */
    body .t706__cartwin-content .t-inputpromocode,
    body .t-input-group_pc .t-inputpromocode,
    body .t-inputpromocode .t-inputpromocode,
    body input.t-inputpromocode[name="promocode"],
    body input.t-inputpromocode[name="promo"] {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 10px 15px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        outline: none !important;
        box-shadow: none !important;
        border: 1px solid #FF6B00 !important;
        transition: none !important;
        animation: none !important;
    }
    /* Состояния клика и фокуса — те же значения, что и в обычном состоянии */
    body .t706__cartwin-content .t-inputpromocode:hover,
    body .t706__cartwin-content .t-inputpromocode:focus,
    body .t706__cartwin-content .t-inputpromocode:active,
    body .t-input-group_pc .t-inputpromocode:hover,
    body .t-input-group_pc .t-inputpromocode:focus,
    body .t-input-group_pc .t-inputpromocode:active,
    body .t-inputpromocode .t-inputpromocode:hover,
    body .t-inputpromocode .t-inputpromocode:focus,
    body .t-inputpromocode .t-inputpromocode:active,
    body input.t-inputpromocode[name="promocode"]:hover,
    body input.t-inputpromocode[name="promocode"]:focus,
    body input.t-inputpromocode[name="promocode"]:active,
    body input.t-inputpromocode[name="promo"]:hover,
    body input.t-inputpromocode[name="promo"]:focus,
    body input.t-inputpromocode[name="promo"]:active {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 10px 15px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        outline: none !important;
        box-shadow: none !important;
        border: 1px solid #FF6B00 !important;
    }

    body .t706__cartwin-content .t-inputpromocode__wrapper .t-inputpromocode__btn,
    body .t-input-group_pc .t-inputpromocode__wrapper .t-inputpromocode__btn,
    body .t-inputpromocode .t-inputpromocode__wrapper .t-inputpromocode__btn {
        flex: 0 0 auto !important;
        width: auto !important;
        height: auto !important;        /* автовысота, как на десктопе */
        align-self: stretch !important; /* высота = высоте поля */
        margin: 0 !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;     /* текст по центру вертикали */
        justify-content: center !important; /* текст по центру горизонтали */
        text-align: center !important;
        line-height: 1.2 !important;
    }
}
