.book-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Cover */
.book-card img {
  height: 220px;
  object-fit: cover;
}

/* Description with fade-out */
.card-description {
  max-height: 4.5rem; /* ~3 lines */
  overflow: hidden;
  position: relative;
}

.card-description::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1.5rem;
  width: 100%;
  background: linear-gradient(to bottom, transparent, white);
}
