/* ===== Product Grid Section - Larger Cards (Standalone) ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  padding: 70px 20px 50px 20px;
  background: #fde0e0;
  justify-items: center;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.18);
}

.product-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.product-grid .product-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
}

.badge.sale { background: #ff4d6d; }
.badge.new { background: #ff7f9a; }

.product-info {
  padding: 20px;
  text-align: center;
}

.product-info .category {
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.product-info h3 {
  font-size: 20px;
  margin: 6px 0 12px 0;
  color: #333;
}

.product-info p {
  font-size: 15px;
  color: #666;
  margin-bottom: 12px;
}

.product-price {
  margin: 12px 0;
}

.product-price .old-price {
  text-decoration: line-through;
  color: #999;
  margin-right: 10px;
}

.product-price .new-price {
  font-weight: bold;
  color: #ff4d6d;
  font-size: 18px;
}

.rating {
  font-size: 15px;
  color: #ffce00;
  margin-bottom: 12px;
}

.rating span {
  font-size: 13px;
  color: #555;
  margin-left: 5px;
}

.product-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-buttons button {
  padding: 10px 16px;
  border: none;
  border-radius: 28px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart {
  background: #ff4d6d;
  color: #fff;
}

.add-to-cart:hover {
  background: #e04361;
  transform: scale(1.07);
}

.wishlist {
  background: #ff7f9a;
  color: #fff;
}

.wishlist:hover {
  background: #ff96ab;
  transform: scale(1.07);
}

.quick-view {
  background: #d9534f;
  color: #fff;
}

.quick-view:hover {
  background: #c9302c;
  transform: scale(1.07);
}

/* Responsive */
@media(max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
  }
  .product-image img { height: 200px; }
}

@media(max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-image img { height: 160px; }
}
