* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.logo a {
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  color: black;
}

.nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.search-cart {
  display: flex;
  gap: 10px;
}

.search-cart input {
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #ccc;
}

.icon {
  font-size: 18px;
}

/* Product Section */
.product-list {
  padding: 40px 5%;
}

.product-list h2 {
  margin-bottom: 30px;
  font-size: 28px;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.card h3 {
  margin: 15px 0 5px;
  font-size: 18px;
}

.card p {
  margin-bottom: 10px;
  color: #666;
}

.card button {
  background-color: #000;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.card button:hover {
  background-color: #444;
}
