.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 0 clamp(2rem, 12vw, 16rem);
}

.category-item {
  grid-column: span 2;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.rating-content {
  display:        inline-flex;
  align-items:    center;
  gap:            2px;
  vertical-align: middle;
}

.category-image {
  width:      100%;
  height:     100%;
  overflow:   hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position:   relative;
}

.category-image img {
  width:      100%;
  height:     100%;
  object-fit: cover;
}

.category-title {
  position:    absolute;
  top:         0;
  left:        0;
  right:       0;
  bottom:      0;
  display:     flex;
  align-items: center;
  justify-content: center;
  color:       white;
  text-align:  center;
}

.category-title h2 {
  font-family:    "TT Commons";
  font-weight:    700;
  font-size:      55px;
  text-transform: capitalize;
}

.product {
  grid-column:     span 1;
  display:         flex;
  flex-direction:  column;
  width:           auto;
  text-decoration: none;
  color:           inherit;
}

.image-section {
  aspect-ratio: 1 / 1;
  width: 100%;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.image-section.png-bg {
  background: #ececec;
}

/* Product Description */
.product-desc {
  font-family:     "TT Commons";
  font-size:       18px;
  padding:         1rem 0;
  flex-grow:       1;
  display:         flex;
  flex-direction:  column;
}

.product-desc h6 {
  font-weight: 600;
  color:       #000;
}

.product-desc p {
  font-size:     14px;
  color:         #666;
  margin-bottom: 5px;
  line-height:   1.4;
}

.product-desc h5 {
  font-weight: 600;
  color:       #000;
  margin:      0;
}

@media (max-width: 992px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
  }

  .category-item {
      grid-column: span 2;
      grid-row:   span 1;
  }

  .category-image {
      min-height: 200px;
  }

  .product {
      grid-column: span 1;
  }
}

@media screen and (max-width: 968px) {
  .category-title h2 {
      font-size: 45px;
  }
}

@media (max-width: 576px) {
  .shop-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0 1rem;
  }

  .category-item {
      grid-column: span 1;
  }

  .product {
      grid-column: span 1;
  }
}