*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}
body{
  background-color: rgb(220, 224, 226);
  line-height: 1.5;
}
.row{
    padding-left: 4%;
    padding-top: 8%;
}
.slider{
  height: 100%;
}
.product-btns{
  height: auto;
  display: flex;
  justify-content:space-around;
  
}
.product-btns a{
  width: auto;
  font: inherit;
  border: 2px solid #333399;
  color: #fff;
  padding: 5px 20px;
  display: flex;
  margin-bottom: 5px;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
  background-color: #333399;
 
}
.product-btns button{
  width: 100%;
  font: inherit;
  border: 2px solid #333399;
  color: #fff;
  padding: 5px;
  display: flex;
  margin-bottom: 5px;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
  background-color: #333399;
  outline: none;
 
}
.product-btns i{
  margin-right: 10px;
}
.product-btns a:hover{
  color: #333399;
  background-color: white;
}
.product-btns button:hover{
  color: #333399;
  background-color: white;
}
 .carousel-indicators{
  bottom: -150px;
}
 .carousel-indicators li{
  width: 100px;
  height: 100px;
  border-radius: 5%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel-indicators li img{
  max-width: 80%;
  height: 45px;
  vertical-align: middle;
  border-radius: 5%;
}
.carousel-indicators li.active{
  background: #fff;
  box-shadow: 2px 5px 20px rgba(32, 57, 90, .379);
}

.carousel-control-next, .carousel-control-prev{
  position: absolute;
  width: 50px;
  height: 50px;
  top: 125%;
  z-index: 5;
}
.carousel-control-next-icon{
  background-image: none;
  width: 10px;
  height: 10px;
  transform: rotate(225deg);
}
.carousel-control-prev-icon{
  background-image: none;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
}
.carousel-control-prev-icon{
  border-left: 2px solid black;
  border-bottom: 2px solid black;

}
.carousel-control-next-icon{
  border-left: 2px solid black;
  border-bottom: 2px solid black;

}
.card-wrapper{
    max-width: 1100px;
    margin: 0 auto;
}
.card{
    box-shadow: rgba(0, 153, 255, 0.22) 0px 5px 15px;
    border-radius:12px;
}
img{
    width: 100%;
    display: block;
}
.img-display{
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    overflow: hidden;
}
.img-showcase{
    display: flex;
    width: 100%;
    transition: all 0.5s ease;
}
.img-showcase img{
    min-width: 100%;
}
.img-select{
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    display: flex;
}
.img-item{
    margin:10px !important;
    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{
    margin-top:25px;
    padding: 2rem 1rem;
}
.product-price{
    margin: 1rem 0;
    font-size: 1rem;
    font-weight: 700;
}
.product-price span{
    font-weight: 400;
}
.new-price span{
    color: red;
    font-weight:bold;
}
.product-detail p{
    font-size: 0.9rem;
    padding: 0.3rem;
    opacity: 0.8;
}
.product-detail ul{
    margin: 1rem 0;
    font-size: 1.2rem;
}
.product-detail ul li{
    margin: 0;
    list-style: none;
    background: url(https://fadzrinmadu.github.io/hosted-assets/product-detail-page-design-with-image-slider-html-css-and-javascript/checked.png) 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;
}
@media only screen and (min-width:768px) and (max-width:996px){
    .row {
        padding-left: 35%;
   }
}
@media screen and (min-width: 997px){

    .card{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1.5rem;
    }
    .card-wrapper{
        height: 90vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .product-content{
        padding-top: 0;
    }
    .carousel {
        width: 500px;
    }
}
@media only screen and (max-width: 996px){
    .card{
        border-radius: 0px;
    }
    .carousel-indicators, {
        height:30px !important;
        margin-bottom:50px !important;
    }

    .product-content .head-detail{
        text-align:center;
        margin-top: 70px;
    }
    .d-flex{
        display:block !important;
        padding:10px;
    }
}
@media only screen and (max-width:767px){
  .row{
    padding-left: 0;
    padding-top: 0;
  }

  .product-btns{
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  
}
  .product-btns a{
    width: 100%;
    font-size: 18px;
    border: 2px solid #333399;
    color: #fff;
    padding: 5px;
    display: flex;
    margin-bottom: 5px;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    background-color: #333399;
   
  }
  .carousel .carousel-indicators li img{

    height: 45px;
  }
  .carousel-control-next,.carousel-control-prev{
    top: 110%;
  }
  .carousel .carousel-indicators{
   bottom: -60px;
    height: 40px;
  }
}