/* Global Styles */
body {
  font-family: "Poppins", sans-serif;
  text-align: center;
  background: #f4f4f4;
  padding: 20px;
}

header {
  background: #2c3e50;
  color: white;
  padding: 15px;
  font-size: 24px;
}

#search-box {
  width: 40%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
  font-size: 16px;
}

/* Product Filters */
.filters {
  margin: 20px 0;
}

.filters button {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  margin: 5px;
  cursor: pointer;
  font-weight: bold;
}

.filters button:hover {
  background: #27ae60;
  color: white;
}

/* Product Listings */
#products {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  width: 250px;
}

.product img {
  width: 100%;
  border-radius: 8px;
}

.product h3 {
  font-size: 18px;
  margin: 10px 0;
}

.product p {
  color: #555;
}

.product button {
  padding: 10px;
  background: #27ae60;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.product button:hover {
  background: #1e8449;
}

/* AI Recommendations */
#ai-recommendations {
  margin-top: 30px;
}

#recommendation-output {
  background: #f8f9fa;
  padding: 15px;
  margin-top: 10px;
  border-radius: 8px;
  display: none;
}

/* Shopping Cart */
.cart {
  margin-top: 30px;
}

.cart h2 {
  color: #2c3e50;
}

#cart-items {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

#checkout-btn {
  padding: 12px;
  background: #e67e22;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

#checkout-btn:hover {
  background: #d35400;
}
