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

/* Navbar */
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 30px;
  border-bottom:1px solid #eee;
  background:white;
}

.logo{
  font-size:22px;
  font-weight:600;
}

.nav-right{
  display:flex;
  gap:15px;
  align-items:center;
}

#search{
  padding:8px 12px;
  border:1px solid #ddd;
  border-radius:20px;
  width:220px;
}

.cart-icon{
  cursor:pointer;
  font-weight:bold;
}

/* Product Grid */
.product-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:30px;
  padding:40px;
}

.product-card{
  background:white;
  padding:20px;
  border-radius:12px;
  transition:0.3s;
  border:1px solid #f0f0f0;
}

.product-card:hover{
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.product-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
}

.product-card h3{
  margin:15px 0 5px;
  font-size:18px;
}

.price{
  font-weight:bold;
  font-size:18px;
}

.qty-box{
  display:flex;
  align-items:center;
  gap:10px;
  margin:10px 0;
}

.qty-box button{
  width:30px;
  height:30px;
  border:none;
  background:#111;
  color:white;
  border-radius:6px;
  cursor:pointer;
}

.add-btn{
  width:100%;
  padding:12px;
  border:none;
  background:linear-gradient(to right,#caa44f,#e5c77a);
  font-weight:bold;
  border-radius:8px;
  cursor:pointer;
}

/* Floating Cart */
.floating-cart{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#111;
  color:white;
  padding:12px 18px;
  border-radius:30px;
  cursor:pointer;
}

/* Cart Popup */
.cart-popup{
  position:fixed;
  right:-400px;
  top:0;
  width:350px;
  height:100%;
  background:white;
  box-shadow:-5px 0 20px rgba(0,0,0,0.1);
  padding:20px;
  transition:0.4s;
  overflow-y:auto;
}

.cart-popup.active{
  right:0;
}

/* Responsive */
@media(max-width:1000px){
  .product-grid{
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:600px){
  .product-grid{
    grid-template-columns: 1fr;
    padding:20px;
  }

  #search{
    width:120px;
  }
}
