#yandex-checkout-button-wrapper {
    display: inline-block !important;
    width: auto !important;
    max-width: max-content !important;
}

#yastore-checkout-button {
    min-width: 244px !important;
    height: 45px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    color: #ffffff !important;
    background-color: rgb(255, 99, 41) !important;
    border-radius: 5px !important;
    border-style: none !important;
    box-shadow: none !important;
    white-space: normal !important;
}

#yastore-checkout-button .t-btnflex__text {
    color: #ffffff !important;
}

/* 1. Выравниваем сетку: заставляем все карточки в ряду тянуться до одинаковой высоты */
.t778__col {
    display: flex !important;
}

.t778__wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
}

/* 2. Делаем текстовую часть резиновой */
.t778__textwrapper {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

/* 3. Контейнер вариантов (размеров) оставляем на своем месте, но сбрасываем жесткие сдвиги */
.t778__variants {
    margin-bottom: 15px !important;
}

/* 4. Прижимаем блок цены и кнопки строго к самому низу карточки */
.t778__price-wrapper {
    margin-top: auto !important;
    padding-top: 15px !important;
}

