
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #333;
}

.topbar {
  background-color: #006400;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
} 

/* .topbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
} */


.logo {
  font-size: 1.5em;
  font-weight: bold;
}

.location {
  font-size: 1em;
}

.account-links a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-size: 0.9em;
}

.category-menu {
  background-color: #eee;
  padding: 10px;
  text-align: center;
}

.category-menu a {
  margin: 0 10px;
  text-decoration: none;
  color: #006400;
  font-weight: bold;
}

.banner {
  background-color: #ffdf00;
  text-align: center;
  padding: 10px;
  font-weight: bold;
}

.search input[type="text"] {
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.search button {
  background-color: #006400;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.barrios {
  text-align: center;
  margin: 20px;
}

.barrio-list form {
  display: inline-block;
  margin: 5px;
}

.barrio-list button {
  background-color: #f0f0f0;
  border: 1px solid #aaa;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.barrio-list button:hover {
  background-color: #ddd;
}

.product-sections {
  padding: 20px;
}

.product-box {
  margin-bottom: 30px;
}

.product-box h3 {
  border-left: 5px solid #006400;
  padding-left: 10px;
  color: #006400;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.product {
  background-color: #fafafa;
  border: 1px solid #ccc;
  padding: 10px;
  width: 180px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.05);
}

.product button {
  background-color: #006400;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  margin-top: 8px;
  cursor: pointer;
}

.product button:hover {
  background-color: #004d00;
}

.footer {
  background-color: #f4f4f4;
  color: #777;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 0.9em;
}

/* === MOBILE RESPONSIVE TWEAKS === */
@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .account-links {
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .category-menu a {
    display: inline-block;
    margin: 5px;
    font-size: 0.9em;
  }

  .search input[type="text"] {
    width: 90% !important;
    margin-bottom: 10px;
  }

  .search button {
    width: 90%;
  }

  .product-grid {
    flex-direction: column;
    align-items: center;
  }

  .product {
    width: 90% !important;
  }

  .barrio-list form {
    width: 48%;
    margin: 5px 1%;
  }

  .footer {
    font-size: 0.8em;
    padding: 10px;
  }
}
