/* Breadcrumb */
.breadcrumb-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 20px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #1c8b8b;
  text-decoration: none;
}

.separator {
  margin: 0 8px;
}

/* Content Layout */
.content-wrapper {
  display: flex;
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

/* Filter Container */
.filter-container {
  width: 350px;
  padding: 20px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-right: 30px;
  height: fit-content;
  position: sticky;
  top: 20px;
  border: 1px solid #e0e0e0;
  align-self: flex-start;
}

.filter-section {
  margin-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}

.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 10px;
}

.filter-section h4 {
  margin: 0 0 12px 0;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}
.filter-heading {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1c8b8b;
}

.filter-section label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.filter-section input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}

.filter-section input[type="number"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.apply-filter-btn {
  width: 100%;
  padding: 10px;
  background-color: #020e0e;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.apply-filter-btn:hover {
  background-color: #e86666;
}



/* ... Previous styles ... */

.sort-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  width: 100%; /* Ensure it takes the full width of the parent */
}

.sort-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  margin-right: 10px;
}

.sort-container select {
  width: 220px;
  padding: 10px 15px;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
}

.sort-container select:hover {
  border-color: #1c8b8b;
  box-shadow: 0 0 5px rgba(28, 139, 139, 0.2);
}

.sort-container select:focus {
  border-color: #1c8b8b;
  box-shadow: 0 0 8px rgba(28, 139, 139, 0.3);
}

.sort-container select option {
  font-size: 1rem;
  color: #333;
  background-color: #fff;
}




/* Products Grid */


.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Fixed 3-column layout */
  gap: 25px;
  margin-top: 30px;
}

/* Product Card */
.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
  min-height: 460px; /* Keep the minimum height */
  height: 460px; /* Enforce a fixed height for consistency */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribute content evenly */
}

.product-image {
  position: relative;
  height: 250px; /* Fixed height for the image container */
  overflow: hidden;
  cursor: pointer;
}

.offer-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #972626;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

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

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

.product-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border-radius: 50%;
  padding: 8px;
  height: 35px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(6, 3, 3, 0.1);

}

.wishlist-icon {
  color: #ccc;
  font-size: 18px;
}

.wishlist-icon.active {
  color: #e74c3c;
}

.product-details {
  padding: 15px;
  flex-grow: 1; /* Allow the details section to grow */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensure consistent spacing */
}


.product-name {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
  height: 50px; /* Fixed height for the name */
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
}

.price-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  min-height: 30px; /* Ensure consistent height for price section */
}

.mrp {
  color: #888;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.selling-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1c8b8b;
}

.product-rating {
  color: #ffd700;
  margin-bottom: 12px;
  min-height: 20px; /* Ensure consistent height for rating */
}

.add-to-cart {
  width: 100%;
  padding: 10px;
  background: #1c8b8b;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.add-to-cart:hover {
  background: #156666;
}