/* Remove default padding/margins on WooCommerce product <li> items */
ul.products li.product {
  padding: 6px !important;
  margin: 6px !important;
  background: none !important;
  box-shadow: none !important;
  margin-bottom: 40px !important;
}

/* Optional: Make all product cards the same height */
.custom-product-card {
  height: 100%;
  box-sizing: border-box;
}

/* Pulsegear Custom Product Cards */
.custom-product-card {
  display: block;
  text-decoration: none;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.custom-product-card .product-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  width: 100%;
}

.custom-product-card .product-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 0px;
}

.custom-product-card .product-new-sticker {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #23252a;
  color: white;
  padding: 4px 8px;
  margin: 8px 4px;
  border-radius: 4px;
  font-size: 0.7rem !important;
  font-weight: bold !important;
}

.custom-product-card .product-description-wrapper {
  background-color: #ddd;
  overflow: hidden;
  padding: 8px 12px;
}

.custom-product-card .product-description {
  font-size: 0.9rem;
  line-height: 1.2;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: calc(1.2em * 2);
}

.custom-product-card .product-footer {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background-color: #fff;
  /*font-size: 0.95rem !important;*/
}

.custom-product-card .product-price {
  font-size: 1rem !important;
  color: #23252a !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border: 0;
}

.custom-product-card .product-condition {
  background-color: #9c4191;
  color: white;
  padding: 6px 8px 0px 8px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 400;
  text-transform: lowercase;
}

.custom-product-card .woocommerce-LoopProduct-link {
  display: block;
  height: 100%;
}

/* Testing the larger rows */
/* .products.columns-5 {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}
@media (max-width: 1200px) {
    .products.columns-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 900px) {
    .products.columns-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .products.columns-5 {
        grid-template-columns: 1fr;
    }
} */
