/* =========================================
   ВЫРАВНИВАНИЕ ВСЕХ КАРТОЧЕК В TILDA STORE
   ========================================= */

/* Карточка — фиксированная структура */
.t-store__card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    position: relative !important;
}

/* Область изображения — фиксированная высота */
.t-store__card__imgwrapper {
    height: 260px !important;  /* можно менять */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 0 !important;
}

/* Изображение */
.t-store__card__imgwrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Заголовок — 2 строки */
.t-store__card__title {
    min-height: 48px !important;
    display: block !important;
}

/* Блок текста + цена + кнопка */
.t-store__card__wrap_txt-and-btns {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 120px !important;
    position: relative !important;
}

/* Цена */
.t-store__card__price-wrapper {
    position: relative !important;
    margin-bottom: 12px !important; /* чтобы кнопка не прилипала */
}

/* Блок кнопки */
.t-store__card__btns-wrapper {
    margin-top: auto !important;
    position: relative !important;
}


/* =========================================
   ТВОЙ КОД (адаптирован и объединён)
   ========================================= */
@media (min-width: 481px) {

    /* Позиция кнопки (кнопка всегда выше, одинаково) */
    .t-store__card-list .t-store__card__btns-wrapper a {
        top: -11px !important;
        left: 4px !important;
    }

    /* Убираем bottom:auto конфликт */
    #allrecords .t-store__card__btns-wrapper a {
        bottom: auto !important;
    }

    /* Цена всегда в одном уровне */
    .t-store__card-list a .t-store__card__price-wrapper {
        position: relative !important;
        top: -13px !important;
    }
}