/* Google fonts*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    scroll-padding-top: smooth;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
:root{
    --mian-color: #fd4646;
    --text-color: #171427;
    --bg-color: #fff;
}
img {
    width: 100%;
}
body {
    color: var(--text-color);

}
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    box-shadow: 0 1px 4px hsl(0, 4%, 15% / 10);
}

#nav-cart{
    font-size: 1.8rm;
    cursor: pointer;
    margin-left: 100px;
}
.logo{
	color: black;
	letter-spacing: 1px;
	cursor: pointer;
}

/*cart*/
.cart{
    position: fixed;
    top: 0;
    right: -100%;
    width: 360px;
    min-height: 100vh;
    padding: 20px;
    background: var(--bg-color);
    box-shadow: -2px 0 4px hsl(0, 4%, 15% / 10);
    transition: 0.3s;

}
.cart.active {
    right: 0%;
}
.cart-title{
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
}
.cart-box{
    display: grid;
    grid-template-columns: 32% 50% 18%;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}
.cart-img{
    width: 100px;
    height: 100px;
    object-fit: contain;
    padding: 10px;
}
.detail-box{
    display: grid;
    row-gap: 0.5rem;
}
.cart-product-title{
    font-size: 1rem;
    text-transform: uppercase;
}
.cart-price{
    font-weight: 500;
}
.cart-quantity{
    border: 1px solid var(--text-color);
    outline-color: var(--mian-color);
    width: 2.4rem;
    text-align: center;
    font-size: 1rem;
}
.cart-remove{
    font-size: 24px;
    color: var(--mian-color);
    cursor: pointer;

}
.total{
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    border-top: 1px solid var(--text-color);
}

.total-price{
    margin-left: 0.5rem;
}
.delivery{
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    border-top: 1px solid var(--text-color);
}
.delivery-price{
    margin-left: 0.5rem;
}
.btn-buy{
    display: flex;
    margin: 1.5rem auto 0 auto;
    padding: 12px 20px;
    border: none;
    background: var(--mian-color);
    color: var(--bg-color);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}
.btn-buy:hover{
    background: var(--text-color);
}
#close-cart{
    position: absolute;
    top: 1rem;
    right: 0.8rem;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
}
.navbar-nav{
    margin-left: 300px;
}
.section-title{
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-top: 1.5rem;
}
.shop{
    margin-top: 2rem;
}
/*   shop content   */
.shop-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, auto));
    gap: 1.5rem;
}
.product-box{
    position: relative;
}
.product-box:hover{
    padding: 10px;
    border: 1px solid var(--text-color);
    transition: 0.4s;
}
.product-img{
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}
.product-title{
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.price{
    font-weight: 500;
}
.add-cart{
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--text-color);
    color: var(--bg-color);
    padding: 10px;
    cursor: pointer;

}
.add-cart:hover{
    background: hsl(249,32%,17%);
}


/* upcoming */
.upcoming{
    margin-top: 10px;
    background-color: var(--text-color);
}
.upcoming-product-card{
    display: flex;
    margin-top: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    background-color: var(--text-color);
    color: var(--bg-color);
    justify-content: center;

}
.up-card-img{
   object-fit: cover;
   border-radius: 2rem;

}
.up-card{
    margin: 0.5rem;
    width: 35%;
    text-align: center;
    font-size: small;
    font-weight: 400;
    background-color: #fff;
    color: #171427;
    border-radius: 2rem;

}

/* review */

.cards-wrapper{
    display: flex;
}

.card{
    margin: 0.5rem;
    width: 35%;
    background-color: #171427;
    color: #fff;
}

.image-wrapper{
height: 22vw;
margin: 0 auto;

}

.card-img-top{
    margin-top: 30px;
    border-radius: 50%;
   border-style: solid;
   object-fit: cover;
}
.image-wrapper img{
    max-height: 200px;
    max-width: 200px;
}
.card-text{
 font-size: small;
 font-weight: 200;
}
/* footer */
.news{
    background-color: #171427;
    color: white;
}
.btn-footer{
    height: 45px;
    width: 100px;
    background: white;
    margin-left: -10px;
    border: 2px solid white;
    font-weight: 600;
}
.news input{
    height: 45px;
    width: 55%;
    border: 2px solid white;
    outline: none;
    background: black;
    color: white;
    margin-top: 20px;
    font-weight: 600;


}
.fab{
    font-size: 2.5rem;
    cursor: pointer;
    padding-right: 5px;
}