.books-nav {
  background-color: var(--bg);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5;
}

.hidden-info{
  display: none;
}

.books-book-container {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-right: 3.5rem;
}

.books-book-container .category-container {
  display: flex;
  align-items: center;
  margin: 0;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.books-book-container .category-container h4 {
  margin: 0;
}

.books-book-container .category-container .book-tab {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 1rem;
  font-size: 0.8rem;
}

.books-book-container .category-container .search-box {
  margin-left: auto;
  height: 2rem;
  display: flex;
  align-items: center;
}

.books-book-container .category-container .search-box input {
  outline: none;
  border: 1px solid var(--yellow);
  padding: 10px;
  border-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  height: 100%;
}

.books-book-container .category-container .search-box .search-btn {
  background-color: var(--yellow);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 4px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  transition: ease 0.2s;
  cursor: pointer;
}

.books-book-container .category-container .search-box .search-btn:hover {
  background-color: var(--yellow-hover);
}

.books-book-container .category-container .search-box .search-btn i {
  color: var(--bg);
}

.books-page-book-container {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.book-container:after {
  content: "";
  width: 70%;
  height: 50%;
  background-color: var(--blue);
  position: absolute;
  right: 0px;
  bottom: -40px;
  border-bottom-left-radius: 4px;
  display: none;
}

.books-page-book-container .book-card {
  margin: 0;
}

.books-page-book-container .book-card:nth-child(1) {
  margin-left: 0;
}

.book-overlay {
  background-color: #eaeaea; 
  margin: 0; 
  z-index: 20; 
  overflow: hidden; 
  overflow-y: scroll;
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  padding-left: 3.5rem;
  padding-right: 3.5rem;
  display: none;
}

.pop-overlay{
  width: 100vw;
  height: 100vh;
  background-color: #eaeaea;
  display: none;
  position: absolute;
  left: 0;
  top: 0;
}

.book-overlay-active{
  display: flex;
}

.overlay-book-cover {
  width: 40%;
  max-height: 90%;
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;
}

.overlay-book-details {
  width: 60%;
  height: 100%;
  padding-top: 1rem;
  padding-bottom: 2rem;
  flex-direction: column;
}

.overlay-book-details .overlay-by-line {
  width: 100%;
  display: flex;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.overlay-title {
  width: 100%;
  display: flex;
  height: fit-content;
}

.overlay-book-description h3 {
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.btn-container {
  display: flex;
}

.book-price{
  font-size: 0.9rem;
  color: var(--yellow);
  margin-top: auto;
  margin-bottom: 0.5rem;
}

.btn-container .get-btn {
  color: var(--bg);
  background-color: var(--yellow);
  margin-right: 0.5rem;
  padding: 10px;
  border-radius: 5px;
  transition: ease 0.2s;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-container .get-btn:hover {
  background-color: var(--yellow-hover);
}

.btn-container .cancel-btn {
  border: 1px solid var(--yellow);
  padding: 10px;
  border-radius: 5px;
  transition: ease 0.2s;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-container .cancel-btn:hover {
  background-color: #fff;
}


.book-info{
  font-size: 0.8rem;
  width: 100%;
  overflow-y: auto;
  max-height: 250px;
}

.price-section, .popup-price-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: start;
}

.airtel-mood {
  display: none;
}


@media (max-width: 961px) {

  .book-overlay {
    left: 0;
    top: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
}

@media (max-width: 650px) {

  .book-overlay {
    left: 0;
    top: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .book-overlay-active{
    display: block;
  }

  .book-info{
    width: 100%;
    max-height: 500px;
  }
  

  .overlay-book-cover {
    width: 60%;
    height: 100%;
    background-size: 90%;
  }
  
  .overlay-book-details {
    width: 100%;
    height: 100%;
    padding-top: 1rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
  }

  .books-book-container .category-container .search-box {
    padding-top: 5px;
  }
  
}

@media (max-width: 450px) {

  .books-book-container {
    margin-top: 5rem;
    padding-right: 0.5rem;
  }

  .overlay-book-cover {
    width: 75%;
    height: 100%;
    background-size: 100%;
  }

  .overlay-book-details {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
  }

  .books-book-container .category-container .book-tab {
    font-size: smaller;
    padding: 5px 2px 5px 2px ;
  }

  .book-overlay {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
}

@media (max-width: 400px) {

  .overlay-book-cover {
    width: 80%;
    height: 100%;
    background-size: 100%;
  }

  .book-overlay {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
}

@media (max-width: 360px) {

  .overlay-book-cover {
    width: 100%;
    height: 100%;
    background-size: 100%;
  }

  .book-overlay {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
}