/* Reset & Fonts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 10px 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  width: 40px;
  margin-right: 10px;
}

.logo {
  font-size: 24px;
  color: #ff4081;
}

.nav-links a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ff4081;
}

#searchBox {
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid #ccc;
}

.cart {
  margin-left: 20px;
  font-size: 18px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 40px 20px;
  background-color: #ffe6f0;
}

.hero img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 20px;
}

/* Filters */
.filters {
  padding: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.filters label,
.filters select {
  font-size: 16px;
  margin-left: 10px;
}

/* Product List */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px;
}

.product-item {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-item img {
  width: 100%;
  max-width: 250px;
  height: 250px;
  object-fit: contain;
  border-radius: 8px;
  background-color: #f3f3f3;
  padding: 10px;
}

.product-item h3 {
  margin: 10px 0;
  font-size: 18px;
}

.product-item button {
  background-color: #ff4081;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.product-item button:hover {
  background-color: #e73370;
}

/* Pagination */
.pagination {
  text-align: center;
  margin: 20px 0;
}

.pagination button {
  padding: 8px 16px;
  margin: 0 5px;
  border: none;
  background-color: #eee;
  border-radius: 4px;
  cursor: pointer;
}

.pagination button:hover {
  background-color: #ccc;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 30px 20px;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-about,
.footer-contact {
  flex: 1;
  margin: 10px;
}

footer h4 {
  color: #ff4081;
  margin-bottom: 10px;
}

footer p {
  font-size: 14px;
  margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .product-item img {
    height: 200px;
    max-width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
