.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.woocommerce ul.products li.product {
  list-style: none;
  text-align: center;
  padding: 1rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.woocommerce ul.products li.product img {
  max-width: 100%;
  height: auto;
  margin: 0 auto 1rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1rem;
  white-space: normal;
  word-break: break-word;
}
