/* Book card style */
.book-card {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-card:hover {
  transform: scale(1.02);
}

/* Book image */
.book-image img {
  max-height: 200px;
  object-fit: contain;
  width: 100%;
  display: block;
  margin: 0 auto;
}

/* Book title */
.book-title {
  font-size: 16px;
  font-weight: 500;
  color: #212529;
  text-decoration: none;
  margin-top: 8px;
  display: block;
  min-height: 40px;
  line-height: 1.3;
}

.book-title:hover {
  color: #0d6efd;
  text-decoration: underline;
}

/* Book price */
.book-price {
  font-size: 15px;
  margin-top: 5px;
}

/* Order button */
.btn-order {
  background-color: #0d6efd;
  color: #fff;
  padding: 6px 14px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  margin-top: auto;
}

.btn-order:hover {
  background-color: #0b5ed7;
}

/* Ensure carousel item fills container */
.carousel-item {
  min-height: 100%;
}

/* Prevent column wrapping issue */
.carousel-item .row {
  flex-wrap: nowrap;
}

/* Prevent carousel from shrinking */
.carousel-inner {
  width: 100%;
}

/* Fix image alignment */
.book-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}