body { margin:0; font-family:Arial; background:#f5fff5; }

/* HEADER */
.header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #1b7a35;
  color: #fff;
  z-index: 1000;
}

.logo { font-weight:bold; white-space:nowrap; }
.location { font-size:14px; white-space:nowrap; }

.search {
  flex: 1;
  padding: 10px;
  border-radius: 20px;
  border: none;
}

/* TITLES */
.title {
  padding:15px;
  font-size:18px;
  font-weight:bold;
}

/* PRODUCTS */
.products {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:15px;
  padding:0 15px;
}

.product {
  background:#fff;
  padding:10px;
  border-radius:10px;
  text-align:center;
  position:relative;
}

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

.off {
  position:absolute;
  top:8px;
  left:8px;
  background:red;
  color:#fff;
  padding:4px 6px;
  font-size:12px;
  border-radius:5px;
}

.price { color:#1b7a35; font-weight:bold; }
.price span { text-decoration:line-through; color:red; font-size:13px; }

.btns {
  display:flex;
  justify-content:space-between;
  margin-top:8px;
}

button {
  padding:8px;
  border:none;
  border-radius:6px;
  background:#1b7a35;
  color:#fff;
}

.buy { background:#ff9800; }

/* CATEGORIES */
.categories {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  padding:0 15px;
}

.cat {
  background:#fff;
  padding:15px;
  border-radius:10px;
  text-align:center;
  font-weight:bold;
}

/* BRANDS */
.brands {
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:0 15px;
}

.brand {
  min-width:120px;
  background:#fff;
  padding:15px;
  border-radius:10px;
  text-align:center;
  font-weight:bold;
}

/* VIEW ALL */
.view-all {
  text-align:center;
  color:#1b7a35;
  font-weight:bold;
  margin:10px;
}

/* NEWS */
.news {
  padding:0 15px;
}

.news-item {
  background:#fff;
  padding:10px;
  border-radius:8px;
  margin-bottom:10px;
}

/* FOOTER */
.footer {
  background:#1b7a35;
  color:#fff;
  padding:20px 10px;
  text-align:center;
}

.footer-links {
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.footer-links a {
  color:#fff;
  text-decoration:none;
  font-size:14px;
}
