body.woocommerce-shop main ul.products,
body.tax-product_cat .hess-category-main ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 18px;
  margin: 0 0 30px;
  padding: 0;
}

body.tax-product_cat .hess-category-main ul.products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.woocommerce-shop main ul.products::before,
body.woocommerce-shop main ul.products::after,
body.tax-product_cat .hess-category-main ul.products::before,
body.tax-product_cat .hess-category-main ul.products::after {
  display: none;
}

body.woocommerce-shop main ul.products > li.product,
body.tax-product_cat .hess-category-main ul.products > li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
}

body.woocommerce-shop main ul.products > li.product > a.woocommerce-LoopProduct-link,
body.tax-product_cat .hess-category-main ul.products > li.product > a.woocommerce-LoopProduct-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
}

body.woocommerce-shop main ul.products > li.product img,
body.tax-product_cat .hess-category-main ul.products > li.product img {
  display: block;
  width: 100%;
  margin: 0 0 12px !important;
  background: #f3f3f1;
  object-fit: cover;
}

body.tax-product_cat .hess-category-main ul.products > li.product img {
  aspect-ratio: 1;
}

body.woocommerce-shop main ul.products > li.product .woocommerce-loop-product__title,
body.tax-product_cat .hess-category-main ul.products > li.product .woocommerce-loop-product__title {
  margin: 0;
  padding: 0;
  color: #343a35;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.42;
}

body.woocommerce-shop main ul.products > li.product .price,
body.tax-product_cat .hess-category-main ul.products > li.product .price {
  display: block;
  margin: auto 0 0 !important;
  padding-top: 10px;
  color: #293f34;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

body.woocommerce-shop main ul.products > li.product .price del,
body.tax-product_cat .hess-category-main ul.products > li.product .price del {
  color: #777e77;
  font-size: 12px;
  font-weight: 400;
  opacity: 1;
}

body.woocommerce-shop main ul.products > li.product .price ins,
body.tax-product_cat .hess-category-main ul.products > li.product .price ins {
  color: #293f34;
  text-decoration: none;
}

body.woocommerce-shop main ul.products > li.product > a.button,
body.tax-product_cat .hess-category-main ul.products > li.product > a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 44px;
  margin: 16px 0 0 !important;
  padding: 10px 14px;
  border-radius: 0;
  background: #293f34;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

body.woocommerce-shop main ul.products > li.product > a.button:hover,
body.tax-product_cat .hess-category-main ul.products > li.product > a.button:hover {
  background: #3d5d4b;
  color: #fff;
}

body.woocommerce-shop main ul.products > li.product .onsale,
body.tax-product_cat .hess-category-main ul.products > li.product .onsale {
  display: grid;
  place-items: center;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  margin: 0 !important;
  padding: 0;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}

@media (min-width: 701px) and (max-width: 1050px) {
  body.woocommerce-shop main ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.tax-product_cat .hess-category-shell:not(.hess-category-shell--full) .hess-category-main ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.woocommerce-shop main ul.products,
  body.tax-product_cat .hess-category-main ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 10px;
  }

  body.woocommerce-shop main ul.products > li.product > a.button,
  body.tax-product_cat .hess-category-main ul.products > li.product > a.button {
    width: 100%;
    padding-inline: 6px;
  }

  body.woocommerce-shop main ul.products > li.product .woocommerce-loop-product__title,
  body.tax-product_cat .hess-category-main ul.products > li.product .woocommerce-loop-product__title {
    font-size: 13px;
  }

  body.woocommerce-shop main ul.products > li.product .onsale,
  body.tax-product_cat .hess-category-main ul.products > li.product .onsale {
    top: 8px !important;
    right: 8px !important;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    font-size: 9px;
  }
}
