/* --------------------------------------------------
   Product cards: equal image box + neat spacing
   /home/usdigitalventure/public_html/wp-content/themes/generatepress_child_theme_v1/woocommerce/image-price-title-locations-settings.css
   Applies to shop, category & brand loops
-------------------------------------------------- */

/* Make each product a light card */
.woocommerce ul.products li.product {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 12px 16px;
  background: #fff;
  box-sizing: border-box;
}

/* Make the main link a vertical flex container */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;                /* space between image, price, title */
  text-align: left;
}

/* Equal image box on all archive loops */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
  width: 100%;
  height: 190px;           /* adjust up/down if needed */
  object-fit: contain;     /* image fully visible, no cropping */
  margin: 0 auto 4px;
}

/* Price (now between image & title) */
.woocommerce ul.products li.product .price {
  font-weight: 600;
  margin: 0 0 2px;
  font-size: 0.95rem;
}

/* Product titles: max 2 lines, slightly tighter spacing */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 2px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;     /* ⬅️ max 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.7em;         /* keeps rows even when shorter */
}

/* Hide Add to cart buttons on all archive grids */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .added_to_cart {
  display: none !important;
}

/* Optional: a bit more space between cards */
.woocommerce ul.products {
  row-gap: 24px;
}