 .book-image-carousel-wrapper {
    position: relative;
    overflow: hidden;
  }

  .book-image-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .book-image-carousel::-webkit-scrollbar {
    display: none;
  }

  .book-image-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
  }

  .book-arrow-btn {
  position: absolute;
  top: 63%;
  transform: translateY(-50%);
  background: none; /* No background */
  border: none;
  padding: 0.5rem 0.8rem;
  z-index: 10;
  color: #DBBC57; /* Yellow arrows */
  font-size: 2rem;
  cursor: pointer;
  border-radius: 0;
}

.book-arrow-left {
  left: 50px;
}

.book-arrow-right {
  right: 50px;
}

.arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.book-image-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
  @media (min-width: 992px) {
    .book-image-item {
      width: calc(100% / 3 - 0.8rem);
    }
  }

  @media (min-width: 768px) and (max-width: 991px) {
    .book-image-item {
      width: calc(100% / 2 - 0.7rem);
    }
     .book-arrow-left {
  left: 0px;
}

.book-arrow-right {
  right: 0px;
}
.book-image-item img {
    width: 90%;
    margin: auto;
    height: 100%;

  }
  .book-image-overlay-text {
    max-width: 85%;
    margin: 0px 7.5%;
}
  }

  @media (max-width: 767px) {
    .book-image-item {
       width: 100%;
    margin-left: auto;
    margin-right: auto;
    }
    .book-image-item img {
    width: 80%;
    margin: auto;

  }
  .book-arrow-left {
  left: 10px;
}

.book-arrow-right {
  right: 10px;
}
.book-image-overlay-text {
    max-width: 65%;
    margin: 0px 17.5%;
}
  }
