
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior:smooth;
    
}
/*---------------for light mode-------------------*/
body{
    font-family: 'Poppins', sans-serif;
}
.navbar{
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    max-width: 100%;
}
nav{
    flex: 1;
    text-align: right;

}
nav ul{
    display: inline-block;
    list-style-type: 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;
}
.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 0px;
    border-radius: 60px;
}
.col-2 h1{
    font-size: 50px;
    line-height: 60px;
    margin:25px 0px;

}
.btn{
    display:inline-block;
    background: #ff523b;
    color: #fff;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    transition: background 0.5s;

}
.btn:hover{
    background: #563434;
}
.header .row{
    margin-top:70px;
}
.categories{
    margin:70px 0;
}
.col-3{
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}
.col-3 img{
    width:100%;
    border-radius: 10px;
}
.small-container{
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
    background-color: whitesmoke;
    border-radius: 30px;

}
.offer-container{
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 30px;

}
.col-4{
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom:50px ;
    transition: transform 0.5s;
}
.col-4 img{
    width:100%;
    border-radius: 20px;
    border-color:#ffa99e ;
    border-width: 2px;
    border-style: outset;
}
.title{
    text-align: center;
    margin:0 auto 80px;
    position: relative;
    line-height: 60px;
    color: #555;
    background-color: none;
    border-radius: 20px;
    width: 100%;
    text-rendering: auto;
    scroll-behavior: smooth;
}
.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:rgb(119, 178, 255);

}
.col-4:hover{
    transform:translateY(-20px);
}
/*---------for offer section------------------*/
.offer {
    background:radial-gradient(#fff,#ffd6d6);
    margin-top: 80px;
    padding: 30px 0;
    border-radius: 20px;
    max-height: 680px;
}
.col-2 .offer-img{
    padding: 50px;
}
.header{
    background:radial-gradient(#fff,#ffd6d6);
}
small{
    color: #555;
}
/*---------for testimonial section------------------*/
.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;
    transition:transform 0.5s;
    border-radius: 15px;
}
.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-size:16px;
    color: #555;
    font-weight: 600;
}
/*---------for footer section------------------*/
.footer{
    background-color: #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-width: 250px;
    margin-bottom: 20px;
}
.footer-col-1{
    flex-basis: 30%;
}
.footer-col-2{
    flex : 1;
    text-align: center;
}
.footer-col-2 img{
    width: 140px;
    margin-bottom: 20px;
}
.footer-col-3,.footer-col-4{
    flex-basis: 12%;
    text-align: center;

}
ul{
    list-style-type: none;
}
.app-logo{
    margin-top:20px;
}
.app-logo img{
    width: 120px;
}
.copyright{
    text-align: center;
}
.menu-icon{
    width: 28px;
    margin-left: 20px;
    display:none;

}
/*------------for cart page------------------*/
.cart-page{
    margin: 80px auto;
}
table{
    width: 100%;
    border-collapse: collapse;
}
.cart-info{
    display: flex;
    flex-wrap: wrap;
}
th{
    text-align: left;
    padding: 5px;
    color: #ffffff;
    background:rgb(89, 192, 232);
    border-radius: 5px;
    text-align: center;
}
td{
    padding: 10px 5px;
}
td input{
    width: 40px;
    height: 30px;
    padding:5px;
}
td a{
    color: red;
    font-size: 10px;
}
td img{
    width: 60px;
    height: 60px;
    margin-right: 10px;
    border-style: groove;
    border-radius: 5px;
    border-color: rgb(89, 192, 232);
    border-width: 1.5px;
}
.total-price{
    display: flex;
    justify-content: flex-end;
}
.total-price table{
    border-top: 3px dotted rgb(89, 192, 232) ;
    width:100%;
    max-width: 400px;
}
td:last-child{
    text-align: right;
}
th:last-child{
    text-align: right;
}
/*--------account-page-----------------*/
.account-page{
    padding:50px 0;
    background: radial-gradient(#fff,#ffd6d6);
}
.form-container{
    background: #fff;
    width: 300px;
    height: 420px;
    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: 20px;
    border-style: groove;
    border-color: pink;
    border-width: 2px;
  
}
.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: 130px;
    transition:transform 1s;
}
form input{
    width: 100%;
    height: 30px;
    margin:10px 0;
    padding: 0 10px;
    border: 1.5px solid #ccc;
    border-radius:15px;
}
form .btn{
    width: 100%;
    border:none ;
    cursor: pointer;
    margin: 10px 0;

}
form .btn:focus{
    outline: none;
}
#LoginForm {
    left: -300px;
}

#RegForm {
    left: 0;
}

form a {
    font-size: 12px;
}

#Indicator {
    width: 100px;
    border: none;
    background: #ff523b;
    height: 3px;
    margin-top: 8px;
    transform: translateX(100px);
    border-radius: 30px;
    transition:transform 1s;
}


/*---------for small screen than 800px------------------*/
@media only screen and (max-width:800px){
    nav ul{
        position:absolute;
        top:70px;
        left:0;
        background: #5f5a5e;
        width:100%;
        align-items: center;
        border-radius: 20px;
        text-align: center;
        overflow: hidden;
        transition: max-height .3s;
    }
    nav ul li{
        display: block;
        margin-top: 10px;
        margin-right: 50px;
        margin-bottom: 10px;
        text-align: center;
        padding-left: 13%;



    }
    nav ul li A{
        color:#fff;

    }
    .menu-icon{
        display: block;
        cursor: pointer;
    }
    
}
/*---------for small screen than 600px------------------*/
@media only screen and (max-width:600px){
   .col-2, .col-3, .col-4{
    flex-basis: 100%;
   }
   .row{
    text-align: center;
   }
   .single-product .row{
    text-align: left;
   }
   .single-product .col-2{
    padding: 20px 0;
   }
   .single-product h1{
    font-size: 26px;
    line-height: 32px;
   }
   .cart-info p{
    display: none;
   }
}
/*---------for single-product page------------------*/
img{
    cursor: pointer;
}
.row-2{
    justify-content: space-between;
    margin: 100px auto 50px;
}
select{
    border: 1.3px solid #3ba0ff;
    padding: 5px;
    border-radius: 7px;
}

select:focus{
    outline:none;
}
.page-btn{
    margin:0 auto 80px;
}
.page-btn span{
    display: inline-block;
    border: 1px solid #ff523b;
    margin-left: 10px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}
.page-btn span:hover{
    background: #ff523b;
    color: white;
}
.single-product{
    margin-top: 80px;
    background: #e6f4fd;
}
.single-product .col-2 img{
    padding: 0;
    border-width: 2px;
    border-style:groove;
    border-radius: 15px;
    border-color: #ff9292;

}
.single-product .col-2{
    padding: 20px;
}s
.single-product h4{
    margin:20px 0 ;
    font-size: 22px;
    font-weight: bold;
}
.single-product h4 select{
    display: block;
    padding: 10px;
    margin-top: 20px;

}
.single-product input{
    width: 50px;
    height:50px;
    padding-left: 10px;
    font-size: 20px;
    margin-right: 10px;
    border: 1px solid #3ba0ff;
    border-radius: 7px;
}
input:focus{
    outline: none;
}
.single-product .fa{
    color: #ff523b;
    margin-left:10px;
}
.small-img-row{
    display: flex;
    justify-content: space-between;
}
.small-img-row img{
    flex-basis: 20%;
    border-radius: 3px;
}


/*---------for Dark Mode------------------*/
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode a {
    color: #bb86fc;
}

body.dark-mode .navbar {
    background-color: #1e1e1e;
}

body.dark-mode .btn {
    background: #bb86fc;
    color: #000;
}

body.dark-mode .btn:hover {
    background: #3700b3;
}

body.dark-mode .small-container,
body.dark-mode .offer-container {
    background-color: #2c2c2c;
}

body.dark-mode .footer {
    background-color: #181818;
    color: #bbbbbb;
}

body.dark-mode .footer h3 {
    color: #ffffff;
}

body.dark-mode .col-3,
body.dark-mode .testimonial .col-3 {
    background-color: #1e1e1e;
    box-shadow: 0 0 20px 0px rgba(255, 255, 255, 0.1);
}

body.dark-mode select {
    background-color: #2c2c2c;
    color: #ffffff;
    border: 1px solid #bb86fc;
}

body.dark-mode input {
    background-color: #2c2c2c;
    color: #ffffff;
    border: 1px solid #bb86fc;
}

body.dark-mode .rating .fa {
    color: #ffc107;
}

body.dark-mode .page-btn span:hover {
    background: #bb86fc;
    color: #000;
}
