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

body{
    background-color:#e3e6e6;
}

/* NAVBAR */

.navbar{
    height:60px;
    background-color:#0F1111;
    color:white;
    display:flex;
    align-items:center;
    justify-content:space-evenly;
}

.navlogo{
    height:50px;
    width:100px;
}

.logo{
    background-image:url("https://upload.wikimedia.org/wikipedia/commons/a/a9/Amazon_logo.svg");
    background-size:contain;
    background-repeat:no-repeat;
    height:50px;
    width:100px;
}

.border{
    border:2px solid transparent;
}

.border:hover{
    border:1.5px solid white;
}

.add-first{
    color:#cccccc;
    font-size:0.85rem;
    margin-left:15px;
}

.add-sec{
    font-size:1rem;
    margin-left:3px;
}

.add-icon{
    display:flex;
    align-items:center;
}

.nav-search{
    display:flex;
    width:620px;
    height:40px;
    border-radius:4px;
    overflow:hidden;
}

.nav-search:hover{
    border:2px solid orange;
}

.search-select{
    width:50px;
    border:none;
    background:#f3f3f3;
}

.input{
    width:100%;
    border:none;
    padding-left:10px;
    font-size:1rem;
}

.search-icon{
    width:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#febd69;
    color:black;
}

span{
    font-size:0.75rem;
}

.nav-second{
    font-size:0.85rem;
    font-weight:700;
}

.nav-cart i{
    font-size:30px;
}

.nav-cart{
    font-size:0.85rem;
    font-weight:700;
}

/* PANEL */

.panel{
    height:40px;
    background-color:#222f3d;
    color:white;
    display:flex;
    align-items:center;
    justify-content:space-evenly;
}

.panel-ops{
    width:70%;
    font-size:0.85rem;
}

.panel-ops p{
    display:inline;
    margin-left:15px;
}

.panel-deals{
    font-size:0.9rem;
    font-weight:700;
}

/* HERO SECTION */

.hero-section{
    background-image:url("https://images.unsplash.com/photo-1522199710521-72d69614c702?q=80&w=1400&auto=format&fit=crop");
    height:350px;
    background-size:cover;
    display:flex;
    justify-content:center;
    align-items:flex-end;
}

.hero-msg{
    background:white;
    color:black;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:0.85rem;
    width:80%;
    margin-bottom:25px;
    border-radius:5px;
}

.hero-msg a{
    color:#007185;
}

/* SHOP SECTION */

.shop-section{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-evenly;
    background-color:#e3e6e6;
}

.box{
    height:400px;
    width:23%;
    background:white;
    padding:20px 0 15px;
    margin-top:15px;
    border-radius:10px;
    transition:0.3s;
}

.box:hover{
    transform:translateY(-5px);
    box-shadow:0 4px 15px rgba(0,0,0,0.2);
}

.box-content{
    margin-left:1rem;
    margin-right:1rem;
}

.box-content p{
    color:#007185;
}

.box-img{
    height:300px;
    background-size:cover;
    background-position:center;
    margin-top:1rem;
    margin-bottom:1rem;
    border-radius:10px;
    transition:transform 0.3s ease;
}

.box-img:hover{
    transform:scale(1.03);
    cursor:pointer;
}

/* FOOTER */

footer{
    margin-top:15px;
}

.foot-panel-1{
    background:#37475a;
    color:white;
    height:50px;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:0.85rem;
}

.foot-panel-2{
    background:#222f3d;
    color:white;
    height:350px;
    display:flex;
    justify-content:space-evenly;
}

ul{
    margin-top:20px;
}

ul a{
    display:block;
    font-size:0.85rem;
    margin-top:10px;
    color:#dddddd;
}

.foot-panel-3{
    background:#222f3d;
    border-top:0.5px solid white;
    height:70px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.logo2{
    background-image:url("https://upload.wikimedia.org/wikipedia/commons/a/a9/Amazon_logo.svg");
    background-size:contain;
    background-repeat:no-repeat;
    height:50px;
    width:100px;
}

.foot-panel-4{
    background:#0f1111;
    color:white;
    height:80px;
}

.pages{
    font-size:0.75rem;
    text-align:center;
    padding-top:25px;
}

.copyright{
    font-size:0.75rem;
    text-align:center;
    margin-top:5px;
}
/* MAIN CONTAINER */

.main-container{
    display:flex;
}

/* SIDEBAR */

.sidebar{
    width:220px;
    background:#131921;
    color:white;
    padding:20px;
}

.sidebar h2{
    margin-bottom:20px;
}

.sidebar ul{
    list-style:none;
}

.sidebar li{
    padding:12px;
    cursor:pointer;
    border-radius:5px;
    transition:0.3s;
}

.sidebar li:hover{
    background:#37475a;
}

/* PRODUCTS */

.shop-section{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-evenly;
    padding:20px;
}

/* PRODUCT BOX */

.box{
    width:23%;
    background:white;
    margin:15px;
    padding:15px;
    border-radius:12px;
    transition:all 0.3s ease;
}

.box:hover{
    transform:translateY(-10px);
    box-shadow:0 10px 20px rgba(0,0,0,0.3);
}

/* PRODUCT IMAGE */

.box-img{
    height:250px;
    background-size:cover;
    background-position:center;
    border-radius:10px;
    transition:0.3s;
}

.box-img:hover{
    transform:scale(1.1);
}

/* BUTTON */

button{
    width:100%;
    padding:10px;
    border:none;
    background:#febd69;
    margin-top:10px;
    border-radius:5px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

button:hover{
    background:#f3a847;
}

/* STARS */

.stars{
    color:orange;
    margin-top:10px;
}

/* CART */

.cart-box{
    background:white;
    padding:20px;
    margin:20px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

/* SALE TIMER */

.sale-timer{
    background:#b12704;
    color:white;
    text-align:center;
    padding:15px;
    font-size:1.2rem;
    font-weight:bold;
}

/* RESPONSIVE */

@media(max-width:900px){

    .box{
        width:45%;
    }

    .main-container{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
    }

}

@media(max-width:600px){

    .box{
        width:90%;
    }

}
/* STICKY NAVBAR */

.navbar{
    position:sticky;
    top:0;
    z-index:1000;
}

/* CART COUNT */

#cart-count{
    background:red;
    color:white;
    padding:2px 7px;
    border-radius:50%;
    font-size:12px;
    margin-left:5px;
}

/* LOGIN MODAL */

.login-modal,
.product-modal,
.checkout-page{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.7);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:2000;
}

/* BOXES */

.login-box,
.product-detail-box,
.checkout-box{
    background:white;
    padding:30px;
    border-radius:10px;
    width:350px;
    text-align:center;
    position:relative;
}

/* INPUTS */

.login-box input,
.checkout-box input{
    width:100%;
    padding:12px;
    margin-top:15px;
    border:1px solid #ccc;
    border-radius:5px;
}

/* CLOSE BUTTON */

.close-btn{
    position:absolute;
    right:15px;
    top:10px;
    font-size:25px;
    cursor:pointer;
}

/* PRODUCT DETAIL IMAGE */

.product-detail-box img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:10px;
}

/* REVIEWS */

.review-section{
    margin-top:20px;
    text-align:left;
}

.review-section p{
    margin-top:10px;
}

/* RESPONSIVE */

@media(max-width:768px){

    .navbar{
        flex-wrap:wrap;
        height:auto;
        padding:10px;
    }

    .nav-search{
        width:100%;
        margin-top:10px;
    }

    .box{
        width:90%;
    }

    .sidebar{
        width:100%;
    }

    .main-container{
        flex-direction:column;
    }

}
/* CART ITEMS */

.cart-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:10px;
    padding:10px;
    background:#f3f3f3;
    border-radius:5px;
}

.cart-item button{
    width:auto;
    padding:5px 10px;
    background:red;
    color:white;
}

/* CART COUNT */

#cart-count{
    background:red;
    color:white;
    padding:2px 6px;
    border-radius:50%;
    font-size:12px;
    margin-left:5px;
}

/* CHECKOUT PAGE */

.checkout-page{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.7);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999;
}

.checkout-box{
    background:white;
    padding:30px;
    border-radius:10px;
    width:350px;
}

.checkout-box input{
    width:100%;
    padding:12px;
    margin-top:15px;
}
/* EMPTY CART */

.empty-cart{
    text-align:center;
    color:gray;
    margin-top:15px;
}

/* CART ITEM */

.cart-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px;
    margin-top:10px;
    background:#f7f7f7;
    border-radius:8px;
}

.cart-item h4{
    margin-bottom:5px;
}

.cart-item button{
    background:red;
    color:white;
    border:none;
    padding:8px 12px;
    border-radius:5px;
    cursor:pointer;
}

.cart-item button:hover{
    background:darkred;
}
.cart-sidebar{
    position:fixed;
    right:-400px;
    top:0;
    width:350px;
    height:100%;
    background:white;
    z-index:3000;
    transition:0.4s;
    padding:20px;
    overflow-y:auto;
    box-shadow:-5px 0 15px rgba(0,0,0,0.3);
}

.cart-header{
    display:flex;
    justify-content:space-between;
    margin-bottom:20px;
}

.cart-sidebar.active{
    right:0;
}
.box{
    border:1px solid #ddd;
}

.box h2{
    font-size:18px;
    min-height:50px;
}

.box h3{
    color:#B12704;
    margin-top:10px;
}
.cart-sidebar{
    position:fixed;
    right:-400px;
    top:0;
    width:350px;
    height:100%;
    background:white;
    box-shadow:-5px 0 15px rgba(0,0,0,0.3);
    transition:0.4s;
    z-index:9999;
    padding:20px;
    overflow-y:auto;
}

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

.cart-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.cart-header span{
    font-size:28px;
    cursor:pointer;
}