/* SEARCH */

.search-box {
  background: var(--white);
  padding: var(--card-padding);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.form-control,
.form-select {
  border-radius: var(--radius-sm);
  min-height: 52px;
  border: 1px solid var(--gray-border);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: none;
}

.btn-search {
  background: var(--primary);
  color: white;
  border: none;
  min-height: 52px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.btn-search:hover {
  background: var(--primary-hover);
  color: white;
}

/* CATEGORY */

.category-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.category-btn {
  background: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--secondary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
  transition: .3s;
  text-decoration: none;
  display: inline-block;
}

.category-btn:hover,
.category-btn.active {
  background: var(--primary);
  color: white;
}

/* BOOK CARD */

.book-card .book-cover {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.book-card .book-content {
  padding: 25px;
}

.book-meta {
  color: var(--gray);
  font-size: .92rem;
  margin-bottom: 10px;
}

.book-meta i {
  color: var(--primary);
}

/* BOOK DETAIL */

.book-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
  box-shadow: var(--shadow);
}

.book-detail-content {
  line-height: 1.9;
  font-size: 1rem;
}

.book-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.book-sidebar .card {
  position: sticky;
  top: 100px;
}
