/* ===== BOOK DETAIL ===== */

.book-detail {
  max-width: 1100px;
  margin: auto;
}

/* HERO */
.book-hero {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.book-cover img {
  max-width: 220px;
  width: 100%;
  height: auto;
}

.book-main {
  flex: 1;
}

.book-title {
  margin-bottom: 0.3rem;
}

.book-author {
  font-weight: bold;
}

.book-meta {
  color: #666;
  margin-bottom: 1rem;
}

/* CTA */
.book-cta {
  background: #f5f5f5;
  padding: 1.5rem;
  margin-top: 1rem;
}

.book-cta form {
  margin-top: 0.5rem;
}

.book-cta input[type="text"] {
  width: 100%;
  margin-bottom: 0.5rem;
}

.cta-divider {
  text-align: left;
  margin: 1rem 0;
  color: #888;
}

/* CONTENT */
.book-section {
  margin-top: 2rem;
}

.book-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .book-hero {
    flex-direction: column;
  }

  .book-cover img {
    max-width: 180px;
    margin: auto;
    display: block;
  }

  .book-details {
    grid-template-columns: 1fr;
  }

}
