.book-card {
  background: #fff;
  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;
  padding: 15px;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.book-image img {
  max-height: 220px;
  width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.book-title {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
  display: block;
}

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

.book-price {
  font-size: 1rem;
  margin-bottom: 12px;
}

.btn-order {
  background-color: #0d6efd;
  color: white;
  padding: 10px 14px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
  width: 100%;
}

.btn-order:hover:not(:disabled) {
  background-color: #0b5ed7;
}

.btn-order:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.7;
}

.view-all-btn {
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.view-all-btn:hover {
  background-color: #0b5ed7 !important;
  text-decoration: none;
}