@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500&display=swap');

.bs-wrap { 
  font-family: 'DM Sans', sans-serif; 
  padding: 2rem 0 1rem; 
}

.bs-label { 
  font-size: 11px; 
  font-weight: 500; 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  color: #707070; 
  margin-bottom: 0.4rem; 
}

.bs-heading { 
  font-family: 'Playfair Display', serif; 
  font-size: 22px; 
  font-weight: 700; 
  color: #1a1a1a; 
  margin: 0 0 1.5rem; 
}

.book-swiper { 
  width: 100%; 
  overflow: visible; 
  padding-bottom: 2.5rem !important; 
}

.book-slide {
  background: #ffffff;
  border: 0.5px solid #e0e0e0;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 210px 1fr;
  overflow: hidden;
  min-height: 280px;
}

.book-img-col {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

.book-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  text-align: center;
}

.bg1 { background: #1a1a2e; }
.bg2 { background: #2d1b69; }
.bg3 { background: #4a0e2e; }
.bg4 { background: #0a2a1a; }

.fb-title { 
  font-family: 'Playfair Display', serif; 
  font-size: 15px; 
  font-weight: 700; 
  color: #fff; 
  line-height: 1.3; 
  margin-bottom: 5px; 
}

.fb-line { 
  width: 28px; 
  height: 2px; 
  background: rgba(255,255,255,0.35); 
  margin: 6px auto; 
  border-radius: 1px; 
}

.fb-sub { 
  font-size: 11px; 
  color: rgba(255,255,255,0.5); 
  letter-spacing: 0.04em; 
}

.fb-spine { 
  position: absolute; 
  left: 0; 
  top: 0; 
  bottom: 0; 
  width: 5px; 
  background: rgba(255,255,255,0.07); 
}

.book-body {
  padding: 1.25rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-genre {
  font-size: 10px; 
  font-weight: 500; 
  letter-spacing: 0.09em; 
  text-transform: uppercase;
  color: #2563eb; 
  background: #dbeafe;
  padding: 3px 8px; 
  border-radius: 4px; 
  display: inline-block; 
  margin-bottom: 0.6rem;
}

.book-title {
  font-family: 'Playfair Display', serif; 
  font-size: 17px; 
  font-weight: 600;
  color: #1a1a1a; 
  line-height: 1.35; 
  margin: 0 0 4px;
}

.book-author-row { 
  display: flex; 
  align-items: center; 
  gap: 7px; 
  margin-bottom: 0.6rem; 
}

.author-dot { 
  width: 5px; 
  height: 5px; 
  border-radius: 50%; 
  background: #707070; 
  opacity: 0.5; 
  flex-shrink: 0; 
}

.book-author { 
  font-size: 12px; 
  color: #707070; 
  font-weight: 400; 
  margin: 0; 
}

.book-rating { 
  display: flex; 
  align-items: center; 
  gap: 6px; 
  margin-bottom: 0.65rem; 
}

.stars { 
  display: flex; 
  gap: 2px; 
}

.star { 
  width: 11px; 
  height: 11px; 
  background: #f5a623; 
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); 
}

.star.half { 
  background: linear-gradient(90deg,#f5a623 50%,#d1d5db 50%); 
}

.star.empty { 
  background: #d1d5db; 
}

.rating-txt { 
  font-size: 12px; 
  color: #707070; 
}

.book-desc {
  font-size: 12.5px; 
  line-height: 1.65; 
  color: #707070;
  margin: 0 0 0.85rem;
  display: -webkit-box; 
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical; 
  overflow: hidden;
}

.book-price { 
  font-size: 16px; 
  font-weight: 500; 
  color: #1a1a1a; 
  margin-bottom: 0.75rem; 
}

.book-price s { 
  font-size: 12px; 
  font-weight: 400; 
  color: #707070; 
  margin-left: 5px; 
  text-decoration: line-through; 
}

.book-actions { 
  display: flex; 
  gap: 7px; 
  flex-wrap: wrap; 
}

.btn-amz {
  display: inline-flex; 
  align-items: center; 
  gap: 5px;
  padding: 7px 14px; 
  border-radius: 6px; 
  font-size: 12px; 
  font-weight: 500;
  cursor: pointer; 
  border: none; 
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  background: #FF9900; 
  color: #111;
}

.btn-fk {
  display: inline-flex; 
  align-items: center; 
  gap: 5px;
  padding: 7px 14px; 
  border-radius: 6px; 
  font-size: 12px; 
  font-weight: 500;
  cursor: pointer; 
  border: none; 
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  background: #2874F0; 
  color: #fff;
}

.btn-amz:hover, .btn-fk:hover { 
  opacity: 0.85; 
  transform: translateY(-1px); 
}

.btn-amz:active, .btn-fk:active { 
  transform: scale(0.97); 
}

.btn-ic { 
  width: 13px; 
  height: 13px; 
  flex-shrink: 0; 
}

.swiper-pagination-bullet { 
  background: #707070 !important; 
  opacity: 0.3 !important; 
}

.swiper-pagination-bullet-active { 
  background: #1a1a1a !important; 
  opacity: 1 !important; 
}

.swiper-button-prev, .swiper-button-next {
  width: 32px !important; 
  height: 32px !important;
  background: #ffffff;
  border: 0.5px solid #d1d5db;
  border-radius: 50%;
  color: #1a1a1a !important;
  top: calc(50% - 20px) !important;
}

.swiper-button-prev::after, .swiper-button-next::after { 
  font-size: 10px !important; 
  font-weight: 700; 
}

.swiper-button-disabled { 
  opacity: 0.2 !important; 
}

@media (max-width: 500px) {
  .book-slide { 
    grid-template-columns: 130px 1fr; 
  }
  .book-title { 
    font-size: 15px; 
  }
  .book-desc { 
    -webkit-line-clamp: 2; 
  }
}
