/* KattaCloud — Shop product grid fix
   The theme renders ul.products as a CSS grid (2 cols, 1px ink gaps = "ledger" look).
   Two things break it:
   1) WooCommerce's clearfix adds ul.products::before/::after { display:table } —
      in a grid those pseudo-elements become grid ITEMS, occupying cells and pushing
      the 4 cards into a diagonal staircase (exposing the ink background as black blocks).
   2) WooCommerce forces li.product { float:left; width:22.05% } (columns-4 rule) —
      the float is ignored in a grid but the width survives, shrinking each card.
   3) Product images render at full track width (~720px), making cards ~1000px tall.
   These overrides make the boxes even, full-width and compact. */

/* 1) Remove the clearfix pseudo-elements so they stop being grid items. */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

/* 2) Make each card fill its grid track (override WooCommerce float/width). */
.woocommerce ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

/* 3) Cap + center the product image so cards stay compact and even. */
.woocommerce ul.products li.product img {
  width: auto !important;
  max-width: 220px;
  height: auto;
  margin: 0 auto 26px !important;
}

/* Keep the 2-col grid on desktop, 1-col on small screens (matches theme intent). */
.woocommerce ul.products {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 1024px) {
  .woocommerce ul.products { grid-template-columns: 1fr; }
}
