/* <a> — высота, чтобы фото развернулось. li.product-category.product = 2 класса */
.woocommerce ul.products li.product-category.product > a:first-of-type {
  display: flex !important;
  flex-direction: column !important;
  height: 340px !important;
  min-height: 340px !important;
  max-height: 340px !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}
/* IMG — ТА ЖЕ форма что у виновника (a:first-of-type img) + лишний класс -category = специфичнее */
.woocommerce ul.products li.product-category.product > a:first-of-type img {
  position: static !important;
  width: 100% !important;
  height: 250px !important;
  min-height: 250px !important;
  max-height: 250px !important;
  max-width: none !important;
  flex: 0 0 250px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 !important;
}
/* H2 — статик плашка под фото */
.woocommerce ul.products li.product-category.product > a:first-of-type h2 {
  position: static !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  background: #fff !important;
  inset: auto !important;
  font: 700 14px/1.2 'Geologica', system-ui, sans-serif !important;
  color: #2A1F1A !important;
  text-transform: uppercase !important;
}
.woocommerce ul.products li.product-category.product > a:first-of-type h2 .count {
  display: block !important;
  margin-top: 4px !important;
  font: 500 12px 'Manrope', sans-serif !important;
  color: #6B5D52 !important;
  text-transform: none !important;
}