/* ============================================================
 * frontend-bookplace-detail.css — fiche livre + pages listing Bookplace.
 * S'appuie sur frontend-bookplace-index-v2.css (cartes .bp-*). Tokens bleus, contraste AA.
 * ============================================================ */

/* Fil d'Ariane + en-têtes listing */
.bp-crumbs { font-size: 13px; color: var(--bp-muted, #5f6c79); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.book-page a.bp-crumbs-link, .bp-crumbs a { color: var(--b24-dark, #063773); text-decoration: none; font-weight: 600; }
.bp-crumbs a:hover { text-decoration: underline; }
.bp-crumbs .sep { color: #cdcdcd; }
.bp-list-eyebrow { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--b24-dark, #063773); margin-bottom: 4px; }
.bp-empty { color: var(--bp-muted, #5f6c79); }
.bp-list-grid { margin-top: 18px; }

/* ════════ Fiche détail ════════ */
.bpd-top { display: grid; grid-template-columns: 300px 1fr 320px; gap: 32px; align-items: start; }
.bpd-cover { position: relative; overflow: hidden; aspect-ratio: 2/3; border-radius: 12px; background: var(--bpd-cover, #1f3a5f); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 24px; box-shadow: 0 18px 44px rgba(15,17,17,.25); }
.bpd-cover-title { font-size: 22px; font-weight: 800; line-height: 1.2; color: #fff; }
.bpd-cover-author { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; opacity: .85; color: #fff; }
.bpd-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.bpd-info h1 { font-size: 30px; font-weight: 800; color: var(--bp-ink, #0f1111); margin: 0 0 6px; line-height: 1.2; }
.bpd-author { font-size: 15px; color: var(--bp-muted, #5f6c79); margin-bottom: 14px; }
.book-page a.bpd-author-link { color: var(--b24-dark, #063773); font-weight: 600; text-decoration: none; }
.book-page a.bpd-author-link:hover { text-decoration: underline; }
.bpd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.bpd-chip { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: var(--bg-info, #e6f3ff); color: var(--b24-dark, #063773); }
.bpd-desc-short { font-size: 15px; color: var(--bp-ink, #0f1111); line-height: 1.6; max-width: 60ch; }
.bpd-highlights { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bpd-highlights li { font-size: 14px; color: var(--bp-ink, #0f1111); display: flex; gap: 8px; align-items: center; }
.bpd-highlights i { color: #2f7d4f; }

/* Buybox */
.bpd-buy { border: 1px solid var(--bp-border, #ebeded); border-radius: 14px; padding: 20px; background: #fff; position: sticky; top: 90px; }
.bpd-price { font-size: 28px; font-weight: 800; color: var(--b24-dark, #063773); }
.bpd-old { font-size: 14px; color: var(--bp-muted, #5f6c79); text-decoration: line-through; margin-top: 2px; }
.book-page a.bpd-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 16px; background: #ffb700; color: #0f1111; border: 1px solid #fcd200; border-radius: 24px; padding: 13px; font-size: 15px; font-weight: 800; text-decoration: none; }
.book-page a.bpd-cta:hover { background: #f7ca00; color: #0f1111; }
.bpd-fav2 { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; background: #fff; color: var(--bp-ink, #0f1111); border: 1px solid var(--bp-border, #ebeded); border-radius: 24px; padding: 11px; font-size: 14px; font-weight: 700; cursor: pointer; }
.bpd-fav2:hover { border-color: #cc0c39; color: #cc0c39; }
.bpd-fav2.is-fav { color: #cc0c39; border-color: #cc0c39; }
.bpd-reassure { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid #f0f0f0; display: flex; flex-direction: column; gap: 10px; }
.bpd-reassure li { font-size: 13px; color: var(--bp-muted, #5f6c79); display: flex; gap: 10px; align-items: flex-start; }
.bpd-reassure i { color: var(--b24-dark, #063773); width: 16px; margin-top: 2px; }

.bpd-section { margin-top: 40px; }
.bpd-section h2 { font-size: 20px; font-weight: 800; color: var(--bp-ink, #0f1111); margin: 0 0 14px; }
.bpd-desc-full { font-size: 15px; line-height: 1.7; color: var(--bp-ink, #0f1111); max-width: 75ch; }
.bpd-desc-full p { margin: 0 0 14px; }

@media (max-width: 991px) {
    .bpd-top { grid-template-columns: 220px 1fr; }
    .bpd-buy { grid-column: 1 / -1; position: static; }
}
@media (max-width: 640px) { .bpd-top { grid-template-columns: 1fr; } }
