/* Featured Collection */
.featured {
  padding: 120px 20px 80px;
  text-align: center;
  min-height: 100vh;
  height: auto;
}

.featured h1 {
  font-size: 3rem;
  margin-top: 40px;
  margin-bottom: 40px;
  color: #b04b6a;
}

.featured h4 {
  color: #555;
  font-weight: 400;
  margin-bottom: 40px;
  font-family: 'Poppins', sans-serif;
}

/* Product grid layout */
.product-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.product-card {
  background: #fff;
  border: 1px solid #ccc;
  width: 240px;
  padding: 12px 12px 28px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  border-radius: 12px;
}

.product-card:hover {
  transform: scale(1.07);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.product-card img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  border-radius: 12px;
  display: block;
  margin-bottom: 12px;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.icons i {
  color: #e85470;
  margin: 0 4px;
  transition: 0.3s;
}

.icons i:hover {
  color: #000;
}

.icons {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: #e85470;
}

.heart-icon {
  cursor: pointer;
  color: #e85470; 
  font-size: 20px;
  transition: color 0.2s;
}

.heart-icon.active {
  color: #ff69b4; 
}

.product-info p {
  font-weight: bold;
  color: #333;
}

/* Button */
.featured .btn {
  display: inline-block;
  background: #fff;
  padding: 12px 24px;
  color: #000;
  border: 1px solid;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 30px;
  transition: 0.3s;
}

.featured .btn:hover {
  background: #e85470;
  color: #fff;
}

/* ✅ Responsive Design */
@media (max-width: 1024px) {
  .product-grid {
    gap: 20px;
  }

  .product-card {
    width: 220px;
  }

  .featured h1 {
    font-size: 2.5rem;
  }
}

/* ✅ Tablets & Mobile (2x2 layout) */
@media (max-width: 768px) {
  .featured {
    padding: 100px 10px 60px;
  }

  .product-grid {
    justify-content: center;
    gap: 15px;
  }

  .product-card {
    width: 45%; /* two cards per row */
  }

  .featured h1 {
    font-size: 2rem;
  }

  .featured h4 {
    font-size: 0.95rem;
  }
}

/* ✅ Small phones still 2 per row */
@media (max-width: 480px) {
  .product-grid {
    gap: 10px;
  }

  .product-card {
    width: 48%; /* still 2 cards per row */
  }

  .featured h1 {
    font-size: 1.7rem;
  }

  .featured h4 {
    font-size: 0.9rem;
  }
}
