body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f8f5f0;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2e7d32;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.logo {
  height: 50px;
}

.brand {
  font-family: 'Pacifico', cursive;
  color: white;
  font-size: 26px;
}

.nav-right a {
  color: white;
  margin: 8px;
  text-decoration: none;
}

/* HERO */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to right, #a5d6a7, #d7ccc8);
}

.hero button {
  padding: 12px 20px;
  background: #6d4c41;
  color: white;
  border: none;
}

/* SLIDER */
.slider {
  max-width: 900px;
  margin: 20px auto;
}

.slider img {
  width: 100%;
  height: 300px;       /* adjust this value */
  object-fit: cover;   /* keeps image nice without stretching */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* FEATURES */
.features {
  display: flex;
  justify-content: space-around;
  padding: 20px;
}

/* PRODUCTS */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
  padding: 20px;
}

.product {
  background: white;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
}

.product:hover {
  transform: scale(1.05);
}

.product img {
  width: 100%;
}

/* CATEGORY BUTTONS */
.categories {
  text-align: center;
  margin: 20px;
}

.categories button {
  margin: 5px;
  padding: 10px;
  background: #2e7d32;
  color: white;
  border: none;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .features {
    flex-direction: column;
    gap: 10px;
  }
}
/* SEARCH BAR */
.search-bar {
  text-align: center;
  margin: 20px;
}

.search-bar input {
  width: 60%;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ccc;
}

/* QUANTITY */
.quantity {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.quantity button {
  padding: 5px 10px;
  margin: 0 5px;
  background: #2e7d32;
}

.quantity span {
  font-size: 18px;
}

/* AMAZON STYLE CARD */
.product {
  border: 1px solid #ddd;
}
.product {
  transition: 0.3s;
}

.product:hover {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .slider img {
    height: 200px;
  }
}