/* Section styling */
.all-products {
  padding: 100px 20px 80px;
  text-align: center;
}

.all-products h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  margin-top: 40px;
  color: #b04b6a;
  font-family: 'Playfair Display', serif;
}

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

/* Search bar + Menu shortcuts */
.search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  max-width: 400px;
  background: #fff;
  border-radius: 30px;
  padding: 8px 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.search-container i {
  margin-right: 10px;
  color: #999;
}
.search-bar {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1rem;
}

.search-bar:focus {
  border-color: #ff7ca3;
  box-shadow: 0 0 5px rgba(255, 124, 163, 0.4);
}

.menu-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-shortcuts a {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #444;
  background: #f9f9f9;
  transition: all 0.3s ease;
}

.menu-shortcuts a:hover {
  background: #ff7ca3;
  color: #fff;
  border-color: #ff7ca3;
}

 #wishlist-count {
      background: #ff5c8a;
      color: white;
      font-size: 0.8em;
      padding: 2px 6px;
      border-radius: 50%;
      position: relative;
      top: -10px;
      right: 10px;
    }
    .remove {
      color: #ff5c8a;
      cursor: pointer;
    }

/* Make the icon container relative so the badge positions correctly */
.cart-icon, .wishlist-link {
  position: relative;
  display: inline-block;
}


/* Product Grid (Polaroid style, 10 rows × 5 columns) */
.all-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-content: center;
  margin-top: 30px; 
}

.all-grid .product-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 10px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  transition: transform 0.3s ease;
  text-align: center;
  position: relative;
}

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

.all-grid .product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 8px;
}

.all-grid .product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #000;
}

.all-grid .icons {
  display: flex;
  gap: 8px;
  color: #e85470;
}

.all-grid .icons i {
  cursor: pointer;
  transition: color 0.3s ease;
}

.all-grid .icons i:hover {
  color: #ff7ca3;
}

.product-info {
  display: flex;
  flex-direction: column;
  align-items: center; 
  gap: 5px; 
}

.product-name {
  font-size: 1.5rem;       /* bigger text */
  font-weight: 600;        /* slightly bolder */
  color: #000;             /* pure black */
  text-align: center;
}

.product-price {
  font-size: 1.2rem;       /* bigger price */
  font-weight: 500;        /* optional: make price bold */
  color: #000;             /* pure black */
  margin: 5px 0 0 0;
  text-align: center;      /* center it like name */
}

.icons {
  display: flex;
  gap: 8px;
  justify-content: center; 
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .all-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .all-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .all-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .all-grid {
    grid-template-columns: 1fr;
  }
}
