
/* Minimal custom styles layered on Bootstrap */
/* Maintain a clean, airy look */
:root {
  --bs-body-color: #334155; /* slate-700 */
  --bs-body-bg: #ffffff;
}

.slogan { font-weight: 500; letter-spacing: 0.2px; color: #475569; }


/* Book thumbnail: enforce 5:8 (0.625) aspect ratio */
.book-thumb {
  width: 100%;
  aspect-ratio: 5 / 8; /* width : height */
  object-fit: cover;
  border-radius: .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  background-color: #f8fafc;
}

.book-image {
  width: 100%;
  object-fit: cover;
  border-radius: .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  background-color: #f8fafc;
}

/* Small caption under each book cover */
.book-caption {
  font-size: .9rem;
  line-height: 1.25rem;
  color: #475569;
  margin-top: .5rem;
}

/* Buy box */
.buy-box {
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: 1rem;
  background: #f8fafc;
}

/* ----------------------------- */
/*Style spécifiques */
/* ----------------------------- */
/* */

.texte_lit {text-align:justify;}

.retailer-logo { width: 120px; max-height: 40px; object-fit: contain; }
.review-quote { font-style: italic; color: #475569; }

/* Card-like hover without being "clickbait" */
.book-card { transition: transform .06s ease, box-shadow .12s ease; }
.book-card:focus-within, .book-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

/* Section spacing */
.section-title { margin-top: 2.5rem; margin-bottom: 1rem; }

/* Prevent any accidental "scroll controls" visuals: avoid carousels */
.carousel, .carousel-inner, .carousel-item, .carousel-control-prev, .carousel-control-next { display: none !important; }

/* Make images crisp on hi-dpi */
img { image-rendering: -webkit-optimize-contrast; }
