/* ============================================================
 * frontend-bookplace-giftcards.css — Le Store des cartes cadeaux Bootik24.
 * Structure type gift card store. S'appuie sur .book-page (tokens bleus). Contraste AA.
 * ============================================================ */

/* Hero : titre + actions + carte */
.bpg-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: var(--bg-info, #e6f3ff); border-radius: 18px; padding: 40px clamp(20px, 4vw, 48px); }
.bpg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.book-page a.bpg-action { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--b24-dark, #063773); border: 1px solid var(--bp-border, #ebeded); border-radius: 99px; padding: 11px 18px; font-size: 14px; font-weight: 700; text-decoration: none; }
.book-page a.bpg-action:hover { border-color: var(--b24-dark, #063773); }
.bpg-hero-card { position: relative; display: flex; justify-content: center; }
.bpg-orbit { position: absolute; width: 62px; height: 62px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 8px 22px rgba(15,17,17,.22); }
.bpg-orbit-1 { top: -8px; left: 12%; background: #1f5fb3; }   /* shopping */
.bpg-orbit-2 { top: 26%;  right: 2%; background: #c0392b; }   /* livres */
.bpg-orbit-3 { bottom: 4%; left: 5%; background: #6c3483; }   /* audio */
.bpg-orbit-4 { bottom: -6px; right: 14%; background: #1e8449; } /* high-tech */
@media (max-width: 560px) { .bpg-orbit { display: none; } }
.bpg-card { position: relative; width: 300px; aspect-ratio: 8/5; border-radius: 16px; background: var(--b24-dark, #063773); color: #fff; padding: 22px; box-shadow: 0 18px 44px rgba(6,55,115,.30); display: flex; flex-direction: column; justify-content: space-between; }
.bpg-card-brand { font-size: 20px; font-weight: 800; letter-spacing: .3px; }
.bpg-card-label { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: .85; }
.bpg-card-ico { position: absolute; right: 20px; bottom: 18px; font-size: 40px; opacity: .9; }

.bpg-h2 { margin-top: 44px; }

/* Acheter par occasion — grandes tuiles (couleur + photo + libellé) */
.bpg-occ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.book-page a.bpg-occ-card { display: block; position: relative; overflow: hidden; aspect-ratio: 3/2; border-radius: 14px; background: var(--card-c, var(--b24-dark, #063773)); text-decoration: none; }
.book-page a.bpg-occ-card:hover { box-shadow: 0 10px 26px rgba(15,17,17,.18); }
.bpg-occ-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book-page a.bpg-occ-card.is-empty img { display: none; }
.bpg-occ-fallico { position: absolute; top: 14px; right: 16px; color: #fff; font-size: 26px; opacity: .9; }
.bpg-occ-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; background: rgba(15,17,17,.55); color: #fff; font-weight: 700; font-size: 15px; padding: 12px 14px; }

/* Nouveautés — bannières (couleurs plates) */
.bpg-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.book-page a.bpg-feature { display: flex; align-items: center; gap: 16px; border-radius: 14px; padding: 22px 26px; text-decoration: none; }
.bpg-feature--orange { background: var(--b24-orange, #ff9900); }
.bpg-feature--blue { background: var(--b24-dark, #063773); }
.bpg-feature-ico { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(255,255,255,.25); }
.bpg-feature--orange .bpg-feature-ico { color: #0f1111; }
.bpg-feature--blue .bpg-feature-ico { color: #fff; }
.bpg-feature-title { display: block; font-size: 17px; font-weight: 800; }
.bpg-feature-sub { display: block; font-size: 13px; margin-top: 3px; }
.bpg-feature--orange .bpg-feature-title, .bpg-feature--orange .bpg-feature-sub { color: #0f1111; }
.bpg-feature--orange .bpg-feature-sub { opacity: .82; }
.bpg-feature--blue .bpg-feature-title, .bpg-feature--blue .bpg-feature-sub { color: #fff; }
.bpg-feature--blue .bpg-feature-sub { opacity: .88; }

/* Cartes cadeaux par occasion — grandes photos (image + libellé dessous) */
.bpg-bigcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.book-page a.bpg-bigcard { display: block; text-decoration: none; color: var(--bp-ink, #0f1111); }
.bpg-bigcard-media { display: block; position: relative; overflow: hidden; aspect-ratio: 16/11; border-radius: 14px; background: var(--card-c, var(--b24-dark, #063773)); }
.bpg-bigcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bpg-bigcard-fallico { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 48px; }
.bpg-bigcard-brand { position: absolute; top: 12px; left: 14px; color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .3px; opacity: .95; }
.bpg-bigcard-media.is-empty img { display: none; }
.book-page a.bpg-bigcard:hover .bpg-bigcard-media { box-shadow: 0 10px 26px rgba(15,17,17,.16); }
.bpg-bigcard-name { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; }

/* Catégories — pills */
.bpg-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.book-page a.bpg-pill { display: inline-flex; padding: 10px 18px; border-radius: 99px; background: #fff; border: 1px solid var(--bp-border, #ebeded); color: var(--b24-dark, #063773); font-weight: 700; font-size: 14px; text-decoration: none; }
.book-page a.bpg-pill:hover { background: var(--bg-info, #e6f3ff); border-color: var(--b24-dark, #063773); }

/* Comment l'offrir — cartes-photos */
.bpg-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bpg-mode { background: #fff; border: 1px solid var(--bp-border, #ebeded); border-radius: 14px; overflow: hidden; }
.bpg-mode-media { display: block; position: relative; aspect-ratio: 16/9; background: var(--bg-info, #e6f3ff); }
.bpg-mode-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bpg-mode-fallico { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--b24-dark, #063773); font-size: 30px; }
.bpg-mode-media.is-empty img { display: none; }
.bpg-mode-body { padding: 18px 20px; }
.bpg-mode-body h3 { font-size: 16px; font-weight: 800; color: var(--bp-ink, #0f1111); margin: 0 0 6px; }
.bpg-mode-body p { font-size: 14px; color: var(--bp-muted, #5f6c79); line-height: 1.5; margin: 0; }

/* Bannière volume */
.book-page a.bpg-bulk { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 32px; background: var(--bg-info, #e6f3ff); border-radius: 14px; padding: 24px 28px; text-decoration: none; }
.bpg-bulk-title { display: block; font-size: 18px; font-weight: 800; color: var(--b24-dark, #063773); }
.bpg-bulk-sub { display: block; font-size: 14px; color: var(--bp-ink, #0f1111); margin-top: 4px; }
.bpg-bulk-cta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; background: var(--b24-dark, #063773); color: #fff; font-weight: 800; font-size: 14px; padding: 11px 20px; border-radius: 99px; }

/* Bannière sécurité */
.book-page a.bpg-security { display: flex; align-items: center; gap: 12px; margin-top: 14px; background: var(--bg-light, #f8f9fa); border: 1px solid var(--bp-border, #ebeded); border-radius: 12px; padding: 16px 20px; text-decoration: none; color: var(--bp-ink, #0f1111); font-weight: 600; font-size: 14px; }
.book-page a.bpg-security:hover { border-color: var(--b24-dark, #063773); }
.bpg-security i:first-child { color: var(--b24-dark, #063773); }
.bpg-security i:last-child { margin-left: auto; color: var(--bp-muted, #5f6c79); font-size: 12px; }

/* FAQ */
.bpg-faq { max-width: 820px; }
.bpg-faq-item { border: 1px solid var(--bp-border, #ebeded); border-radius: 12px; padding: 4px 18px; margin-bottom: 10px; background: #fff; }
.bpg-faq-item summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--bp-ink, #0f1111); padding: 14px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bpg-faq-item summary::-webkit-details-marker { display: none; }
.bpg-faq-item summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 12px; color: var(--b24-dark, #063773); transition: transform .15s ease; }
.bpg-faq-item[open] summary::after { transform: rotate(180deg); }
.bpg-faq-item p { margin: 0 0 16px; font-size: 14px; color: var(--bp-muted, #5f6c79); line-height: 1.6; }

@media (max-width: 900px) {
    .bpg-hero { grid-template-columns: 1fr; }
    .bpg-occ-grid { grid-template-columns: repeat(2, 1fr); }
    .bpg-features { grid-template-columns: 1fr; }
    .bpg-bigcards { grid-template-columns: repeat(2, 1fr); }
    .bpg-modes { grid-template-columns: 1fr; }
    .book-page a.bpg-bulk { flex-direction: column; align-items: flex-start; }
}
