
/* CHG Custom CSS for Category and Product Listings */
.chg-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
  padding: 0 1rem;
  max-width: 1200px;
}

.chg-category-card, .chg-product-card {
  width: calc(33.333% - 2rem);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem;
  background: #fff;
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.chg-category-card:hover, .chg-product-card:hover {
  transform: translateY(-4px);
}

.chg-category-image img, .chg-product-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

.chg-category-title, .chg-product-title {
  font-size: 1.25rem;
  margin: 0.5rem 0;
  color: #333;
}

.chg-category-description, .chg-product-description {
  font-size: 0.95rem;
  color: #555;
}

.chg-product-price {
  font-weight: bold;
  font-size: 1rem;
  color: #222;
  margin-top: 0.5rem;
  display: block;
}

@media screen and (max-width: 900px) {
  .chg-category-card, .chg-product-card {
    width: calc(50% - 2rem);
  }
}

@media screen and (max-width: 600px) {
  .chg-category-card, .chg-product-card {
    width: 100%;
  }
}
