*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:Arial,sans-serif;
  background:#f4f7ef;
}


.top-navbar{

  width:100%;

  background:white;

  padding:15px 35px;

  display:flex;

  justify-content:space-between;

  align-items:center;

  position:sticky;

  top:0;

  z-index:1000;

  box-shadow:
  0px 4px 10px rgba(0,0,0,0.08);
}


.logo-section{

  display:flex;

  align-items:center;

  gap:12px;
}

.logo-section img{

  width:55px;

  height:55px;

  object-fit:cover;

  border-radius:50%;
}

.logo-section h2{

  color:#2d5a27;

  font-size:24px;
}


.menu-icon{

  font-size:30px;

  cursor:pointer;

  color:#2d5a27;
}


.sidebar{

  position:fixed;

  top:0;

  right:-280px;

  width:260px;

  height:100%;

  background:white;

  padding-top:90px;

  transition:0.4s;

  z-index:2000;

  box-shadow:
  -5px 0px 20px rgba(0,0,0,0.1);
}


.sidebar a{

  display:block;

  padding:18px 30px;

  text-decoration:none;

  color:#333;

  font-size:16px;

  transition:0.3s;
}

.sidebar a:hover{

  background:#eef6ea;

  color:#2d5a27;
}


.close-btn{

  position:absolute;

  top:20px;

  right:20px;

  font-size:24px;

  cursor:pointer;

  color:#ff4d6d;
}

.login-popup{

  position:fixed;

  top:0;

  left:0;

  width:100%;

  height:100%;

  background:rgba(0,0,0,0.5);

  display:none;

  justify-content:center;

  align-items:center;

  z-index:3000;
}

.login-box{

  background:white;

  padding:40px;

  width:350px;

  border-radius:20px;

  text-align:center;
}

.login-box h2{

  margin-bottom:25px;

  color:#2d5a27;
}

.login-box input{

  width:100%;

  padding:14px;

  margin-bottom:18px;

  border:1px solid #ccc;

  border-radius:10px;

  font-size:14px;
}

.login-box button{

  width:100%;

  padding:14px;

  border:none;

  border-radius:30px;

  background:
  linear-gradient(
    to right,
    #2d5a27,
    #6f4e37
  );

  color:white;

  font-size:15px;

  cursor:pointer;
}

.products-page{
  padding:80px 50px;
}

.products-page h1{

  text-align:center;

  color:#2d5a27;

  font-size:45px;

  margin-bottom:55px;
}


.products-grid{

  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(280px,1fr));

  gap:30px;
}

.single-product{

  background:white;

  border-radius:25px;

  overflow:hidden;

  text-align:center;

  box-shadow:
  0px 8px 20px rgba(0,0,0,0.08);

  transition:0.3s;

  display:flex;

  flex-direction:column;
}

.single-product:hover{
  transform:translateY(-8px);
}

.single-product img{

  width:100%;

  height:240px;

  object-fit:cover;
}

.single-product h2{

  color:#6f4e37;

  margin-top:18px;

  font-size:23px;

  padding:0px 10px;
}

.single-product p{

  color:#666;

  line-height:1.7;

  padding:15px 20px;

  font-size:15px;
}

.single-product h3{

  color:#2d5a27;

  margin-top:5px;

  margin-bottom:8px;

  font-size:17px;
}

.single-product span{

  color:#555;

  display:block;

  padding:0px 15px;

  line-height:1.6;
}

.single-product h4{

  margin-top:15px;

  font-size:23px;

  color:black;
}


.add-to-cart-btn, .go-to-cart-btn {
  margin-top: 18px;
  margin-bottom: 25px;
  padding: 14px 30px;
  border: none;
  border-radius: 40px;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
  width: 80%;
}

.add-to-cart-btn {
  background: linear-gradient(to right, #2d5a27, #6f4e37);
}

.go-to-cart-btn {
  background: #ff9900; 
  color: black;
  font-weight: bold;
}

.nav-cart-btn {
  background: #2d5a27;
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 12px;
}

@media(max-width: 600px) {
  .cart-item { flex-direction: column; text-align: center; }
  .cart-item img { margin-right: 0; margin-bottom: 15px; }
  .qty-box { margin-top: 15px; }
}

.single-product a{
  text-decoration:none;
}

.single-product button{

  margin-top:18px;

  margin-bottom:25px;

  padding:14px 30px;

  border:none;

  border-radius:40px;

  background:
  linear-gradient(
    to right,
    #2d5a27,
    #6f4e37
  );

  color:white;

  font-size:15px;

  cursor:pointer;

  transition:0.3s;
}

.single-product button:hover{

  transform:scale(1.05);
}

@media(max-width:768px){

  .products-page{
    padding:60px 20px;
  }

  .products-page h1{
    font-size:33px;
  }

  .single-product img{
    height:220px;
  }

  .login-box{
    width:90%;
  }

}