* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body { font-family: Arial, sans-serif; background-color: #FDFBD4; }
/* Header/Navbar */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #95693f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  height: 80px;
}
.logo img { height: 80px; }
.nav-menu { display: flex; gap: 20px; }
.nav-menu a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size:20px;
  transition: color 0.3s;
}
.nav-menu a:hover { color:#FDFBD4; }

/* Buttons */
.btn {
  text-decoration: none;
  padding: 8px 16px;
  border: 2px solid #333;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  color: black;
  background-color: white;
  transition: background-color 0.3s, color 0.3s;
}
.btn:hover { background-color: black; color: white; }

/* Auth/User */
.auth-buttons { display: flex; gap: 10px; align-items: center; }
.user-dropdown { position: relative; display: inline-block; }
.user-name {
  cursor: pointer;
  padding: 8px 12px;
  background-color: white;
  border: 1px solid #444;
  border-radius: 5px;
  font-weight: bold;
  color: #000;
}
ul.dropdown-menu {
  width: 180px;
  background: #000;
  position: absolute;
  top: 140%;
  right: 0;
  z-index: 999;
  display: none;
  list-style: none;
  border-radius: 5px;
}
ul.dropdown-menu li a {
  display: block;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
}
ul.dropdown-menu li a:hover { background: #333; }
ul.dropdown-menu.show { display: block; }

/* Sections */
.section {
  padding: 20px;
  min-height: 100vh;
  background-color: #FDFBD4;
  text-align: center;
  scroll-margin-top: 90px; /* fixed header offset */
}

/* Product Grid */
.filter-buttons { text-align: center; margin-bottom: 20px; }
.filter-btn {
  background: #95693f;
  color: white;
  padding: 8px 16px;
  border: none;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
}
.filter-btn:hover { background: #704b2a; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}
.product-card {
  background: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.no-image {
  width: 100%;
  height: 180px;
  background: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.price { color: #95693f; font-weight: bold; }
.product-card button {
  background: #95693f;
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.product-card button:hover { background: #704b2a; }

/* Responsive */
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

