/* kusnica-product-grid-align v1 2026-12-04
   Равная высота карточек в ряду: цена и кнопка «В корзину» на одной линии.
   Тема задаёт .product-preview__content { grid-template-rows: repeat(5, max-content) 1fr },
   и 1fr попадает в area-bottom только если он 6-й ребёнок. В блоках без
   area-description (связанные/kbs/special) пустая 1fr-строка оказывается ПОД кнопкой.
   Вид списком (.catalog-list.k-list) не трогаем: там другая сетка.
   Откат: /workspace/product-grid-align/rollback.py --apply --copy-ok
*/

.special-products .product-preview,
.catalog-list:not(.k-list) .product-preview {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.special-products .product-preview__content,
.catalog-list:not(.k-list) .product-preview__content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
}
.special-products .product-preview__area-bottom,
.catalog-list:not(.k-list) .product-preview__area-bottom {
  margin-top: auto;
}
