
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     /* border: #ff523b solid 1px; */
}
body{
    font-family: 'Poppins','sans-serif';
     
}
.header{
    background: radial-gradient(#fff,#ffd6d6);
}

.navbar{
    display: flex;
    align-items: center;
    padding: 20px;
}
nav{
    flex: 1;
    text-align: right;
}
nav ul{
    display: inline-block;
    list-style: none;
}
nav ul li{
    display: inline-block;
    margin-right: 20px;
}
a{
    text-decoration: none;
    color: #555;
}
p{
   color: #555; 
}
.container{
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;

}
#menuitems li a {
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}

#menuitems li a:hover {
    color: #ff523b;
}
#menuitems li a:hover {
    color: #ff523b;
    border-bottom: 2px solid #ff523b;
}
#menuitems li a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

#menuitems li a:hover {
    color: #ff523b;
    transform: translateY(-2px);
}
#menuitems li a {
    display: inline-block;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}
#menuitems li:first-child a {
    color: #ff523b;
    font-weight: bold;
    border-bottom: 2px solid #ff523b;
}

/* --- CART BADGE & TRIGGER --- */
.cart-icon-wrapper {
  position: relative;
  cursor: pointer;
  display: inline-block;
  margin-left: 20px;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #ff523b;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- ADD TO CART BUTTON --- */
.add-btn {
  display: inline-block;
  background: #ff523b;
  color: #fff;
  padding: 6px 14px;
  margin-top: 8px;
  border-radius: 20px;
  border: none;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s;
}

.add-btn:hover {
  background: #563434;
}

/* --- CART DRAWER & OVERLAY --- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1000;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
  z-index: 1001;
}

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

.cart-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.cart-header h2 {
  font-size: 20px;
  color: #333;
}

.close-btn {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #555;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f2f2f2;
}

.cart-item img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-size: 14px;
  margin-bottom: 4px;
  color: #333;
}

.cart-item-info p {
  font-size: 13px;
  color: #777;
}

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

.qty-box button {
  width: 24px;
  height: 24px;
  border: 1px solid #ddd;
  background: #fdfdfd;
  cursor: pointer;
  font-weight: bold;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.checkout-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  text-align: center;
}
/* --- ACCOUNT PAGE STYLES --- */
.account-page {
  padding: 50px 0;
  background: radial-gradient(#fff, #ffd6d6);
}

.form-container {
  background: #ffffff;
  width: 300px;
  height: 400px;
  position: relative;
  text-align: center;
  padding: 20px 0;
  margin: auto;
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 8px;
}

.form-container span {
  font-weight: bold;
  padding: 0 10px;
  color: #555;
  cursor: pointer;
  width: 100px;
  display: inline-block;
}

.form-btn {
  display: inline-block;
}

.form-container form {
  max-width: 300px;
  padding: 0 20px;
  position: absolute;
  top: 100px;
  transition: transform 0.5s ease;
}

form input {
  width: 100%;
  height: 40px;
  margin: 10px 0;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form input:focus {
  outline: none;
  border-color: #ff523b;
}

form .btn {
  width: 100%;
  border: none;
  cursor: pointer;
  margin: 10px 0;
}

#LoginForm {
  left: -300px;
}

#RegForm {
  left: 0px;
}

form a {
  font-size: 12px;
  color: #777;
  text-decoration: none;
}

#indicator {
  width: 100px;
  border: none;
  background: #ff523b;
  height: 3px;
  margin-top: 8px;
  transform: translateX(100px);
  transition: transform 0.5s ease;
}
/* ------row and coloum---- */
.row{
    display: flex;

    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}
.col-2{
    flex-basis: 50%;
    min-width: 300px;
}
.col-2 img{
    max-width: 100%;
    padding: 50px 0;
}
.col-2 h1{
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}
.btn{
    display: inline-block;
    background: #ff523b;
    color: #fff;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    transition: 2s;
}

.btn:hover{
   background: #563434;
}
.header .row{
    margin-top: 70px;
}
/* ---------Feature category---------- */
.categories{
    margin: 70px 0;
}
.col-3{
flex-basis: 30%;
min-width: 250px;
margin-bottom: 30px;
}
.col-3 img{
    width: 100%;
}
.small-container{
max-width: 1080px;
margin: auto;
padding-left: 25px;
padding-right: 25px;
}
/* ---------Featured Products---------- */
.col-4{
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transform: translate(0.5s);
}
.col-4 img{
    width: 100%;
}
.title{
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 60px;
    color: #555;
}
 .title::after{
    content: '';
    background: #ff523b;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
 }
 h4{
    color: #555;
    font-weight: normal;
 }
 .col-4 p{
    font-size: 14px;
 }
 .rating .fa{
    color: #ff523b;
 }
 .col-4 {
    transition: transform 0.5s;
}

 .col-4:hover{
    transform: translateY(-5px);
 }

 /* ------offer style-------- */
 .offer{
    background: radial-gradient(#fff, #ffd6d6);
    margin-top: 80px;
    padding: 30px 0;
 }
 .col-2 .offer-img{
    padding: 50px;

 }
 small{
    color: #555;
 }

 /* ----------------------testimonial-------------- */
 .testimonial{
    padding-top: 100px;
 }
 .testimonial .col-3{
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.1);
    cursor: pointer;
 }
 .testimonial .col-3 img{
   width: 50px;
   margin-top: 20px;
   border-radius: 50%;
 }
 .testimonial .col-3:hover{
    transform: translateY(-10px);
 }
 .fa .fa-quote-left{
    font-size: 34px;
    color: #ff523b;
 }
 .col-3 p{
   font-size: 12px;
   margin: 12px 0;
   color: #777;
 }
 .testimonial .col-3 h3{
  font-weight: 600;
  color: #555;
  font-size: 16px;
 }

 /* --------------bransds---------- */
 .brands{
    margin: 100px auto;
 }
 .col-5{
    width: 160px;
 }
 .col-5 img{
    width: 100%;
    cursor: pointer;
    filter: grayscale(0);
 }
  .col-5 img:hover{
    filter: grayscale(100%);
  }
  /* ----------footer--------- */
  .footer{
    background: #000;
    color: #8a8a8a;
    font-size: 14px;
    padding: 60px 0 20px;
  }
  .footer p{
    color: #8a8a8a;
  }

  .footer h3{
    color: #fff;
    margin-bottom: 20px;
  }
  .footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4{
    min-height: 25px;
    margin-bottom: 20px;
  }
  .footer-col-1{
    flex-basis: 30%;
  }
  .footer-col-2{
    flex: 1;
    text-align: center;
  }
  .footer-col-2 img{
    width: 180px;
    margin-bottom: 20px;
  }
  .footer-col-3, .footer-col-4{
    flex-basis: 12%;
    text-align: center;
  }
  ul{
    list-style: none;
  }
  .app-logo{
    margin-top: 20px;
  }
  .app-logo img{
    width: 140px;
  }
  .footer hr{
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin: 20px 0;
  }
  .copyright{
    text-align: center;
  }
  /* ---------menu icons------------ */
  .menu-icon{
    width: 28px;
    margin-left: 20px;
    display: none;
  }
  nav ul {
    max-height: 0;
}
nav ul.open {
    max-height: 300px; /* Or any height you need */
}


  /* ---------------media query for menu--------- */
  @media only screen and (max-width: 800px){
    nav ul{
      position: absolute;
      top: 70px;
      left: 0;
      background: #333;
       width: 100%;
      overflow: hidden;
      transition: max-height 0.5s;
    }
    nav ul li{
      display: block;
      margin-right: 50px;
      margin-top: 10px;
      margin-bottom: 10px;
    }
    nav ul li a{
      color: #fff;
    }
      .menu-icon{
        display: block;
        cursor: pointer;
        
      }

  }
  /* ---------media query for less than 600 screen size--------- */
  @media only screen and (max-width: 600px){
    .row{
      text-align: center;
    }
    .col-2,.col-3,.col-4{
      flex-basis: 100%;
    }
  }
  

