@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}


.card-wrapper{
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 170px;
}

img{
    width: 100%;
    display: block;

}

.img-display{
    overflow: hidden;
    height: 450px;
}

.img-showcase{
    display: flex;
    width: 100%;
    transition: all 0.5 ease;
}
.img-showcase img{
    min-height: 100%;
}
.img-select{
    display: flex;
}

.img-item{
    margin: 0.3rem;
}

.img-item:nth-child(1),
.img-item:nth-child(2),
.img-item:nth-child(3){
    margin-right: 0;

}
.img-item:hover{
    opacity: 0.8;
}
.product-content{
    padding :2rem 1rem;

}
.product-title{
    font-size: 3rem;
    text-transform: capitalize;
    font-weight: 700;
    position: relative;
    color: #12263a;
    margin: 1rem 0;
}
.product-title::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 80px;
    background: #12263a;
}

.product-link{
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    background: #256eff;
    color: #fff;
    padding: 0 0.3rem;
    transition: all 0.5s ease;

}

.product-link:hover{
    opacity: 0.9;
}
.product-rating{
    color: #ffc107;
}
.product-rating span{
    font-weight: 600;
    color: #252525;
}
.product-price span{
    font-weight: 400;
}
.product-price{
    margin: 1rem 0;
    font-size: 1rem;
    font-weight: 700;
}
.last-price span{
    color: #f64749;
    text-decoration: line-through;
}
.new-price span{
    color: #256eff;
}
.product-detail h2{
    text-transform: capitalize;
    color: #12263a;
    padding-bottom: 0.6rem;
}

.product-detail p{
    font-size: 0.9rem;
    padding:0.3rem;
    opacity: 0.8;
}
.product-detail ul{
    margin: 1rem 0;
    font-size: 0.9rem;
}

.product-detail ul li{
    margin: 0;
    list-style: none;
    background: url(image/yellow\ check\ input.jpg)  left center no-repeat ;
    background-size: 18px;
    padding-left: 1.7rem;
    margin: 0.4rem 0;
    font-weight: 600;
    opacity: 0.9;
}
.product-detail ul li span{
    font-weight: 400;
}

.purchase-info{
    margin: 1.5rem 0;
}

.purchase-info input,
.purchase-info .btn{
    border: 1.5px solid #ddd;
    border-radius: 25px;
    text-align: center;
    padding: 0.45rem 0.8rem;
    outline: 0;
    margin-right: 0.2rem;
    margin-bottom: 1rem;
}
.purchase-info input{
    width: 60px;
}

.purchase-info .btn{
    cursor: pointer;
    color: white;
}

.purchase-info button:nth-child(2){
    background: #f64749;
    
}
.purchase-info button:nth-child(3){
    background: #256eff;
}
.purchase-info button:nth-child(4){
    background: #f64749;
}
.purchase-info button:nth-child(4) a{
    cursor: pointer;
    color: white;
    text-decoration: none;
    text-transform: capitalize;
}

.purchase-info .btn:hover{
    opacity: 0.9;
}

.social-links{
    display: flex;
    align-items: center;
}
.social-links a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #000;
    border: 1px solid #000;
    margin: 0 0.2rem;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.5s ease;
}

.social-links a:hover{
    background: #000;
    border-color: transparent;
    color: #fff;

}

@media screen and (min-width:992px){
    .card{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap:1.5rem;
        padding-top: 180px;
    }
    .card-wrapper{
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .product-imgs{
        display: flex;
        flex-direction: column;
        justify-content: top;
        align-items: top;
    }
    .product-content{
        padding-top: 0;
    }
    
    


}

@media (max-width: 500px){
    .img-select{
        display: flex;
        margin-top: -50px;

    }

}







/* footer page */

.footerend{
    width: 100%;
    background: #333;
    color: white;
    padding-top: 50px;
}

.footerend .footerwrapp{
    width: 90%;
    margin: 0px auto;
    display: flex;
    align-items: top;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footerend .footerwrapp .footcard{
    width: 350px;
    /* background: blue; */
}
.footerend .footerwrapp .footcard h3{
    text-transform: uppercase;
    font-size: 22px;
    margin-bottom: 30px;
    text-align: center;
}
.footerend .footerwrapp .footcard ul li{
    display: flex;
    align-items: center;
    justify-content: center;
    /* line-height: 30px; */
    margin: 12px 0px;
}
.footerend .footerwrapp .footcard ul li:hover{
    color: #da4357;
    margin-left: 20px;
    transition: all 0.5s;
}
.footerend .footerwrapp .footcard ul li span{
    margin-right: 10px;
}
.footerend .footerwrapp .footcard ul li span i{
    color: #da4357;
    
}
.footerend .footerwrapp .footcard ul li h2{
    font-size: 16px;
    
}
.footerend .footerwrapp .footcard .logofoot{
    display: flex;
    margin-bottom: 10px;
    align-items: center;
    justify-content: left;
}

.footerend .footerwrapp .footcard .image img{
    width: 60px;
    height: 60px;
}

.footerend .footerwrapp .footcard .logotitle h1{
    font-size: 20px;
}

.footerend .footerwrapp .footcard .logotitle h4{
    font-size: 12px;
}

.footerend .footerwrapp .footcard p{
    line-height: 30px;
}
.footerend .footerwrapp .footcard .wrapul{
    display: flex;
    align-items: top;
    justify-content: space-between;
}

.footerend .footerwrapp .footcard .wrapul ul li{
    display: flex;
    align-items: top;
    justify-content: left;
    margin: 12px 0px;

}
.footerend .footerwrapp .footcard .wrapul ul li:hover span{
    color: #da4357;
    margin-right: 20px;
    transition: all 0.5s;
}
.footerend .footerwrapp .footcard .wrapul ul li span{
    margin-right: 10px;
}
.footerend .footerwrapp .footcard .wrapul ul li span i{
    color: #da4357;

}
.footerend .footerwrapp .footcard .wrapul ul li h2{
    font-size: 15px;
    font-weight: normal;
}

.footerend .socialwrap{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 15px;
}
.footerend .socialwrap .span{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #da4357;
    margin-right: 20px;
    animation: all 0.5s ease;
}
.footerend .socialwrap .span:hover{
    background: #fff;
    animation: all 0.5s ease;
}
.footerend .socialwrap .span:hover a i{
    color: #da4357;
    
}
.footerend .socialwrap .span a{
    text-decoration: none;
    color: white;
    font-size: 20px;
}
.footerend .socialwrap .span a i{
    font-size: 20px;
}
.footerend .coright{
    text-align: center;
    padding-bottom: 40px;
    font-size: 15px;
    padding-top: 20px;
}

/* @media (max-width:700px) */

@media (max-width:700px){

    .footerend .footerwrapp .footcard{
        width: 350px;
        padding-top: 20px;
        
    }

}



