*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Inter', 'Space Grotesk', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
}
/*nav maenu on the left as a unordered list*/
.navbar{
    display: flex;
    align-items: center;
    padding: 25px 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: none;
}
/*nav maenu on the right as a unordered list*/
nav{
    flex: 1;
    text-align: right;
}
/*nav maenu on the right as a list but without bullet*/
nav ul{
    display: inline-block;
    list-style-type: none;   
}
/*nav maenu on the right as a vertically list with 50px gapping with each with underline*/
nav ul li{
    display: inline-block;
    margin-right: 40px;   
}
nav ul li a{
    position: relative;
    font-size: 16px;
    letter-spacing: -0.01em;
}
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    transition: width 0.3s ease;
}
nav ul li a:hover::after {
    width: 100%;
}
/*nav maenu on the right as a vertically list with 50px gapping with each without underline*/
a{
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
}
a:hover{
    color: #8B5CF6;
}
p{
    color: #6B7280;
    font-size: 16px;
    line-height: 1.7;
}
.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 0;
} 

.col-2 h1{
    font-family: 'Space Grotesk', sans-serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin: 25px 0;
    color: #1F2937;
    letter-spacing: -0.02em;
}

.btn{
    display: inline-block;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #fff;
    padding: 12px 32px;
    margin: 30px 0px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
}
.btn:hover{
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(139, 92, 246, 0.6);
}
.header{
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(79, 70, 229, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.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%;
}

.small-container{
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;   
}
.col-4{
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: transform 0.5s;
}
.col-4 img{
    width:100%;
}
.title{
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 1.3;
    color: #1F2937;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 42px;
    letter-spacing: -0.02em;
}
.title::after{
    content: '';
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    width: 100px;
    height: 6px;
    border-radius: 3px;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
h4{
    color: #374151;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    letter-spacing: -0.01em;
}
.col-4 p{
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
}
.rating .fa{
    color: #F59E0B;
}
.col-4:hover{
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/*-----------------------offer -----------------------*/
.offer{
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    margin-top: 80px;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(79, 70, 229, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.col-2 .offer-img{
    padding: 50px;
}
small{
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
}

/*-----------------------Testimonial -----------------------*/
.testimonial{
    padding-top: 100px;
    background: linear-gradient(to bottom, transparent 0%, rgba(139, 92, 246, 0.02) 50%, transparent 100%);
}
.testimonial .col-3{
    text-align: center;
    padding: 50px 30px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
}
.testimonial .col-3 img{
    width: 60px;
    height: 60px;
    margin-top: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(139, 92, 246, 0.2);
}
.testimonial .col-3:hover{
    transform: translateY(-15px);
    box-shadow: 0 25px 60px -10px rgba(139, 92, 246, 0.25);
}
.fa.fa-quote-left{
    font-size: 36px;
    color: #8B5CF6;
    opacity: 0.8;
}
.col-3 p{
    font-size: 14px;
    margin: 16px 0;
    color: #6B7280;
    line-height: 1.6;
    font-style: italic;
}
.testimonial .col-3 h3{
    font-weight: 700;
    color: #1F2937;
    font-size: 18px;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.01em;
}

/*-----------------------Brands -----------------------*/
.brands{
    margin: 100px auto;
    padding: 50px 0;
    background: linear-gradient(to right, transparent 0%, rgba(139, 92, 246, 0.02) 50%, transparent 100%);
}
.col-5{
    width: 120px;
    transition: all 0.3s ease;
}
.col-5 img{
    width: 100%;
    cursor: pointer;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}
.col-5 img:hover{
    filter: grayscale(0) opacity(1);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(139, 92, 246, 0.3);
}

/*-----------------------Footer -----------------------*/
.footer{
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    color: #9CA3AF;
    font-size: 15px;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer p{
    color: #9CA3AF;
    line-height: 1.7;
}

.footer h3{
    color: #F9FAFB;
    margin-bottom: 25px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.01em;
}
.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: 180px;
    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: 140px;
}

.footer hr{
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin: 20px 0;
}
.copyright{
    text-align: center;
}



.menu-icon{
    width: 28px;
    margin-left: 20px;  
    display:none;
}

/*-----------------------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(mobile device) -----------------------*/
@media only screen and (max-width:600px){
    .row{
        text-align: center;
    }
    .col-2 .col-3 .col-4{
        flex-basis: 100%;
    }
    .single-product .row{
        text-align: left;
    }
    .single-product .col-2{
        padding: 20px 0;
    }
    .single-product h1{
        font-size: 20px;
        line-height: 32px;
    }
    .cart-info p{
        display: none;
    }
    

}

/*--------------------all products-----------------------------------------------*/
.row-2{
    justify-content: space-between;
    margin:100px auto 50px;
}
select{
    border: 2px solid #8B5CF6;
    padding: 8px 12px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    background: white;
    transition: all 0.3s ease;
}
select:focus{
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.page-btn{
    margin: 0 auto 80px;
}
.page-btn span{
    display: inline-block;
    border: 2px solid #8B5CF6;
    margin-left: 12px;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 41px;
    cursor: pointer;
    border-radius: 12px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}
.page-btn span:hover{
    background: #8B5CF6;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
}


/*-----------------------single product details -----------------------*/

.single-product{
    margin-top: 80px;
}
.single-product .col-2 img{
    padding:0;
}
.single-product .col-2{
    padding:20px;
}
.single-product h4{
    margin: 25px 0;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: #1F2937;
    letter-spacing: -0.01em;
}
.single-product select{
    display: block;
    padding: 12px 15px;
    margin-top: 25px;
    border-radius: 12px;
    border: 2px solid #E5E7EB;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}
.single-product select:focus{
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.single-product input{
    width: 60px;
    height: 45px;
    padding-left: 15px;
    font-size: 18px;
    font-weight: 600;
    margin-right: 15px;
    border: 2px solid #8B5CF6;
    border-radius: 12px;
    text-align: center;
}
input:focus{
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.single-product .fa{
    color: #F59E0B;
    margin-left: 8px;
}
.small-img-row{
   display:flex;
    justify-content: space-between;
}
.small-img-col{
    flex-basis: 24%;
    cursor: pointer;
}




        /*------------------------------ cart items ------------------------------*/
.cart-page{
    margin: 80px auto;
}

table{
    width: 100%;
    border-collapse: collapse;
}

.cart-info{
    display:flex;
    flex-wrap: wrap;
}
th{
    text-align: left;
    padding: 15px 10px;
    color: #fff;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
td{
    padding: 20px 10px;
    border-bottom: 1px solid #E5E7EB;
}

td input{
    width: 50px;
    height: 40px;
    padding: 8px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}
td input:focus{
    outline: none;
    border-color: #8B5CF6;
}
td a{
    color: #EF4444;
    font-weight: 600;
}
td a:hover{
    color: #DC2626;
}
td img{
    width: 90px;
    height: 90px;
    margin-right: 15px;
    border-radius: 12px;
    object-fit: cover;
}
.total-price{
    display: flex;
    justify-content: flex-end;
}
.total-price table{
    border-top: 3px solid #8B5CF6;
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.2);
}
td:last-child{
    text-align: right;
}
th:last-child{
    text-align: right;
}


        /*------------------------------ account-page ------------------------------*/
.account-page{
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    min-height: 100vh;
}
.account-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(79, 70, 229, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.02) 0%, transparent 70%);
    pointer-events: none;
}
.form-container{
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    width: 420px;
    min-height: 520px;
    position: relative;
    text-align: center;
    padding: 40px 30px;
    margin: auto;
    box-shadow: 0 25px 60px -10px rgba(139, 92, 246, 0.25);
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.form-container span{
    font-weight: 600;
    padding: 15px 20px;
    color: #374151;
    cursor: pointer;
    width: 140px;
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    margin: 0 5px;
}

.form-container span:hover{
    color: #8B5CF6;
    background: rgba(139, 92, 246, 0.08);
}

.form-btn{
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.form-container form{
    max-width: 100%;
    padding: 0 20px;
    position: absolute;
    top: 160px;
    left: 0;
    right: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

form input{
    width: 100%;
    height: 52px;
    margin: 8px 0;
    padding: 0 45px 0 50px;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

form input:focus{
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

form input::placeholder{
    color: #9CA3AF;
    font-weight: 400;
}

form .btn{
    width: 100%;
    border: none;
    cursor: pointer;
    margin: 20px 0;
    border-radius: 16px;
    height: 52px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
form .btn:focus{
    outline: none;
}

#Indicator{
    width: 140px;
    border: none;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    height: 4px;
    margin: 15px auto 0;
    transform: translateX(-75px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

#LoginForm{
    left: 0;
}
#RegForm{
    left: 0;
    transform: translateX(420px);
}
form a{
    font-size: 14px;
    color: #8B5CF6;
    font-weight: 500;
    transition: all 0.3s ease;
}
form a:hover{
    color: #7C3AED;
    text-decoration: underline;
}
