* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
}

/* ✅ Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.menu li {
  cursor: pointer;
}

.cart {
  font-size: 18px;
}

/* ✅ Hero */
.hero {
  height: 70vh;
  background: url('https://images.unsplash.com/photo-1607082349566-187342175e2f')
    center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 42px;
}

.hero-content button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  background: black;
  color: white;
  cursor: pointer;
}

/* ✅ Features */
.features {
  padding: 50px 20px;
  text-align: center;
  background: white;
}

.feature-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.feature {
  background: #f9f9f9;
  padding: 20px;
  width: 250px;
  border-radius: 10px;
}

/* ✅ Categories */
.categories {
  padding: 40px 20px;
  text-align: center;
}

.category-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.category-buttons button {
  padding: 8px 15px;
  border: none;
  background: black;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

.category-buttons button.active {
  background: crimson;
}

/* ✅ Products */
.products {
  padding: 40px 20px;
  text-align: center;
}

.grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.card button {
  margin-top: 10px;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  background: black;
  color: white;
}

/* ✅ Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  width: 400px;
  border-radius: 10px;
  position: relative;
}

.hidden {
  display: none;
}

#close-modal {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}

/* ✅ Newsletter */
.newsletter {
  padding: 40px;
  text-align: center;
  background: white;
  margin-top: 40px;
}

.newsletter input {
  padding: 10px;
  width: 250px;
}

/* ✅ Footer */
footer {
  background: black;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .modal-content {
    width: 90%;
  }
}