*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
}

body{
  background:#f1f3f6;
  color:#111;
}

/* ===== NAVBAR ===== */
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 32px;
  background:#ffffff;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
  position:sticky;
  top:0;
  z-index:100;
}

.logo{
  font-weight:800;
  font-size:22px;
  letter-spacing:1px;
}

.navbar nav a{
  margin-left:24px;
  text-decoration:none;
  color:#111;
  font-weight:500;
}

.navbar nav a:hover{
  color:#000;
}

/* ===== HERO ===== */
.hero{
  min-height:70vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  background:linear-gradient(to bottom,#ffffff,#f1f3f6);
}

.hero h1{
  font-size:36px;
  font-weight:800;
}

.hero p{
  margin-top:12px;
  opacity:0.7;
}

.btn{
  margin-top:28px;
  background:#000;
  color:#fff;
  padding:14px 42px;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
}

/* ===== ADMIN PANEL ===== */
.admin{
  background:#ffffff;
  padding:24px;
  margin:30px;
  border-radius:12px;
  max-width:420px;
  box-shadow:0 4px 14px rgba(0,0,0,0.08);
}

.admin h2{
  margin-bottom:16px;
}

.admin input{
  width:100%;
  padding:12px;
  margin-bottom:12px;
  border:1px solid #ddd;
  border-radius:8px;
}

.admin button{
  width:100%;
  padding:12px;
  background:#000;
  color:#fff;
  border:none;
  border-radius:25px;
  font-weight:600;
  cursor:pointer;
}

/* ===== PRODUCTS ===== */
.products{
  padding:30px;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:22px;
}

.product-card{
  background:#fff;
  border-radius:12px;
  padding:14px;
  transition:0.3s ease;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
  display:flex;
  flex-direction:column;
}

.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.product-card img{
  width:100%;
  height:220px;
  object-fit:contain;
  background:#fafafa;
  border-radius:8px;
}

.product-card h3{
  margin-top:12px;
  font-size:16px;
  font-weight:600;
}

.product-card p{
  margin-top:6px;
  font-weight:700;
}

.product-card button{
  margin-top:auto;
  padding:10px;
  border:none;
  border-radius:20px;
  background:#000;
  color:#fff;
  cursor:pointer;
}

/* ===== CART ===== */
.cart{
  padding:30px;
}

#cart-items div{
  background:#fff;
  padding:16px;
  border-radius:10px;
  margin-bottom:12px;
  display:flex;
  justify-content:space-between;
  font-weight:500;
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

/* ===== FOOTER ===== */
.footer{
  text-align:center;
  padding:24px;
  opacity:0.6;
}

/* ===== MOBILE ===== */
@media(max-width:600px){
  .navbar{
    padding:14px 20px;
  }
  .hero h1{
    font-size:26px;
  }
}