body {
  text-align: center;
  /* font-family: "Montserrat"; */
  font-family: "PT Sans", sans-serif ;
  
}
.heading{
  font-weight: 600;
}

.container-fluid {
  padding: 5%;
}

.btn {
  font-family: sans-serif;
  /* background-color: orange !important; */
  /* background-color: #0cb4ba; */
  background-color: #ff0f33;
  color: white !important;
  border: solid #ff0f33 2px;
  /* margin: 5%; */
  transition: all 0.2s ease-in;
}

.btn:hover {
  background-color: white;
  color: #ff0f33 !important;
  border: solid #ff0f33 2px;

}


/* ------------------------------------- product section --------------------------------------------------  */

#product-section {
  background-color: white;
}

#product-section .container-fluid {
  padding: 10rem 8% 5%;
  background-color: #f5f5f4;
}
#product-section .container-fluid .product-view {
  padding-top: 5%;
  padding-bottom: 5%;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
    rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
  border-radius: 20px;
  background-color: white;
}

#product-section .product-price-info {
  /* font-size: 2rem; */
  text-align: left;
}

#product-section .product-price-info .product-price {
  font-size: 2rem;
}
#product-section .product-price-info .product-fake-price {
  font-size: 1.3rem;
  text-decoration: line-through;
  color: gray;
}
#product-section .product-price-info .product-discount {
  font-size: 1.2rem;
  color: green;
}
#product-section .product-price-info .membership-script {
  color: green;
}

#product-section .product-price-info .membership-link {
  /* color: green; */
  display: block;
  color: #676666;
  font-size: 1.1rem;
  transition: all 0.2s ease-in;
  /* text-decoration: underline !important; */
}

#product-section .product-price-info .prime-price{
  color: #ff0f33 ;
  font-size: 1.1rem;
}

#product-section .product-price-info .membership-link:hover {
  /* color: green; */
  display: block;
  font-size: 1.2rem;
}
#product-section .detailes .heading {
  text-align: left;
}

#product-section #book-details-list span {
  text-align: left;
  font-size: 1.1rem;
}

#product-section #book-details-list {
  text-align: left;
}
#product-section #book-details-list .detail-heading {
  color: gray;
}
#product-section .product-image {
  /* max-width: 55vh; */
  max-width: 25vw;
  height: auto;
}
#product-section #book-details-list a {
  color: rgb(16, 72, 255);
  font-size: 1.1rem;
}

/* ------------------------------------- recomandations section ----------------------------------------------- */

/*-------------------------------popular book section ----------------------------------*/

#popularbook-section {
  /* background-color: white; */
  background-color: #f5f5f4;
  color: black;
}
#popularbook-section .popular-book-hr{
  border: 0;
  height: 1px;
  background: #333;
  background-image: linear-gradient(to right, #ccc, #333, #ccc);
  margin-bottom: 2.5rem;
}
#popularbook-section .container-fluid {
  padding: 2% 2%;
}

#popularbook-section p {
  margin-bottom: 0;
}

#popularbook-section .viewall {
  text-align: right;
}

.viewall a {
  color: black !important;
}

#popularbook-section img {
  width: 100%;
  /* width: 90%; */
  height: 40vh;
  /* height: auto; */
  /* margin-top: 10%; */
  background-size: cover;
  /* background-color: #00000080; */
}
#popularbook-section .hover-div{
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all 0.2s ease-in;
}
#popularbook-section .hover-div:hover{
  background-color: #00000046;
}
#popularbook-section .img-container{
  position: relative;
}

#popularbook-section .bookinfo {
  /* text-align: left; */
  text-align: center;

  margin-top: 2%;
}

#popularbook-section .card a {
  display: inline-block;
}

#popularbook-section .card {
  background-color: #f5f5f4;
  border: none;
  margin-top: 8%;

}
#popularbook-section .bookcell{
  background-color: #f5f5f4;
}

#popularbook-section .bookcell:hover {
  /* border: solid black 2px; */
  /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
}

#popularbook-section .bookname {
  color: #121212;
  
  font-size: 1.15rem;
  line-height: 1.3;
  /* font-family: "playfair display", serif; */
  font-family: "PT Sans", sans-serif;
  font-weight: 600;
  /* font-family: 'Merriweather', serif; */
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}
#popularbook-section .bookname:hover{
  color: #de3241;
}

#popularbook-section .authorname {
  color: #5b5b5b;
  font-size: 1rem;
  font-family: "PT Sans", sans-serif;
  font-weight: 500;
  /* margin-top: 0.20rem; */
}

#popularbook-section .price {
  /* color: black; */
  color: #de3241;
  font-size: 1.3rem;
  line-height: 0.9;
  font-weight: 600;
  margin-top: 0.6rem;
}
#popularbook-section .false-price {
  text-decoration: line-through;
  font-size: 1.2rem;
  color: gray;
}
#popularbook-section .percent{
  font-weight: 700;
  font-size: 1.2rem;
}
#popularbook-section .price-info {
  /* text-align: left; */
  text-align: center;

}
#popularbook-section .price-info a {
  cursor: pointer;
  /* color: green; */
  line-height: 1.3;
  font-size: 0.95rem;
  /* letter-spacing: 1px; */
  color: #3d3d3d;
  margin-top: 0.6rem;
  /* font-family: "Roboto"; */
  font-family: "PT Sans", sans-serif ;
  transition: all 0.2s ease-in ;

}
#popularbook-section .price-info a:hover {
  /* color: green; */
  /* font-size: 1rem; */
  line-height: 1.5;
}

#popularbook-section .prime-price {
  /* color: #ff0f33; */
  color: #de3241;
}

#popularbook-section .card .btn {
  margin: 2% 10%;
}

#popularbook-section .card a {
  text-decoration: none;
}

#popularbook-section .btn {
  padding-top: 5%;
}

#popularbook-section .favoruite-icon-container {
  position: absolute;
  display: inline-block;
  top: 7px;
  right: 8px;
  cursor: pointer;
  z-index: 99;
}

.pascal-case-text {
  text-transform: capitalize;
}


/* ************************************************************************************************ */

.radio input[type="radio"] {
  display: none;
  &:not(:disabled) ~ label {
    cursor: pointer;
  }
  &:disabled ~ label {
    color: hsla(150, 5%, 75%, 1);
    border-color: hsla(150, 5%, 75%, 1);
    box-shadow: none;
    cursor: not-allowed;
  }
}

.radio label {
  height: 100%;
  display: block;
  background: white;
  border: 2px solid hsla(150, 75%, 50%, 1);
  border-radius: 20px;
  /* padding: 1rem; */
  /* margin-bottom: 1rem; */
  /* margin: 1rem; */
  text-align: center;
  box-shadow: 0px 3px 10px -2px hsla(150, 5%, 65%, 0.5);
  position: relative;
}

.radio input[type="radio"]:checked + label {
  background: hsla(150, 75%, 50%, 1);
  color: hsla(215, 0%, 100%, 1);
  box-shadow: 0px 0px 20px hsla(150, 100%, 50%, 0.75);
}

/*  ======================================= media query============================================= */
@media screen and (max-width: 600px) {
  #product-section .container-fluid {
    padding: 7rem 8% 5%;
  }

  #product-section .product-image {
    max-width: 70vw;
    height: auto;
  }
  #product-section .container-fluid .product-view {
    box-shadow: none;
    /* box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px; */
  }

  .heading {
    font-size: 1.3rem;
    /* text-align: left; */
    text-align: center;
  }
  .btn {
    font-size: 0.7rem;
    margin: 1%;
  }
  .btn:hover {
    font-size: 0.8rem !important;
  }
  /* for product view section */
  
  #product-section .product-price-info .product-price {
    font-size: 1.2rem;
  }
  #product-section .product-price-info .product-fake-price {
    font-size: 1.1rem;
  }
  #product-section .product-price-info .product-discount {
    font-size: 1.1rem;
  }
  #product-section .product-price-info .membership-link {
    font-size: 0.9rem;
  }
  #product-section .product-price-info .prime-price{
    font-size: 0.9rem;
  }
  #product-section #book-details-list {
    font-size: 0.9rem;
  }
  #product-section #book-details-list .list-group-item {
    padding: 1%;
  }
 

  /* for recommedation section */

  #popularbook-section .container-fluid {
    padding: 2% 0;
  }
  #popularbook-section .bookcell {
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 0px;
    font-size: 0.8rem;
  }
  #popularbook-section img {
    width: 100%;
    height: auto;
    margin-top: 10%;
  }
  #popularbook-section .container-fluid .container {
    padding: 2%;
  }

  #popularbook-section .bookname {
    font-size: 0.8rem;
  }
  #popularbook-section .authorname {
    font-size: 0.7rem;
  }
  #popularbook-section .price {
    font-size: 1rem;
  }
  #popularbook-section .false-price {
    font-size: 1.1rem;
  }
}
