/* Cycles Blain — bon cadeau 1.4.3 : bandeau encadré avec étiquette Cycles Blain, 3 petites cases,
   formulaire dans une carte à bord, pied crème, aperçu façon ticket. Chargé après boncadeau-1.1.0.css. */

/* Bandeau */
.cbbc .cbbc-bandeau { flex-direction: column; align-items: stretch; gap: 28px; padding: 40px 44px 32px; border: 1.5px solid #ead6c6; border-radius: 28px; background: #faf1e8; }
.cbbc-bandeau-haut { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cbbc .cbbc-bandeau h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: .06em; line-height: 1; }
.cbbc .cbbc-accroche { font-size: clamp(17px, 2vw, 24px); font-weight: 700; color: #b24a22; }
.cbbc .cbbc-intro { font-size: 16px; line-height: 1.6; color: #3e4656; max-width: 520px; }
.cbbc .cbbc-paquet { width: 290px; }
.cbbc-infos { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cbbc-infos li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid #ead6c6; border-radius: 16px; background: #fff; }
.cbbc-infos-ico { flex: 0 0 40px; height: 40px; border-radius: 12px; background: #eef3fa; color: var(--bc-bleu); display: inline-flex; align-items: center; justify-content: center; }
.cbbc-infos-ico.is-terre { background: #fbebe3; color: #b24a22; }
.cbbc-infos li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.cbbc-infos strong { font-size: 15px; font-weight: 700; color: var(--bc-noir); }
.cbbc-infos small { font-size: 13px; color: var(--bc-gris2); }

/* Formulaire dans une carte à bord */
.cbbc .cbbc-form { gap: 0; border: 1.5px solid #e6ded4; border-radius: 24px; background: #fff; box-shadow: 0 6px 24px rgba(29, 36, 51, .05); overflow: hidden; }
.cbbc .cbbc-form > .cbbc-etape { margin: 28px 32px 0; padding: 0 0 28px; border-bottom: 1px solid #efe8df; }
.cbbc .cbbc-form > .cbbc-etape:last-of-type { border-bottom: 0; }
.cbbc .cbbc-etape legend { font-size: 20px; }
.cbbc .cbbc-num { width: 30px; height: 30px; font-size: 14px; }
.cbbc input[type=text], .cbbc input[type=email], .cbbc input[type=date], .cbbc input[type=number], .cbbc select, .cbbc textarea { min-height: 48px; border: 1.5px solid #d9d2c8; border-radius: 12px; }
.cbbc .cbbc-carte { padding: 18px; border-radius: 16px; border-color: #e6ded4; }
.cbbc .cbbc-carte.is-on { border-width: 2px; padding: 17.5px; }

/* Pied crème du formulaire : lien cagnotte (bon cadeau) et bouton créer (cagnotte) */
.cbbc .cbbc-form > .cbbc-lien-cagnotte { margin: 0; padding: 22px 32px; border: 0; border-top: 1.5px solid #ead6c6; border-radius: 0; background: #faf1e8; }
.cbbc .cbbc-form > .cbbc-lien-cagnotte:hover { background: #f6e9dc; }
.cbcg-creer .cbcg-envoi { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 22px 32px; border-top: 1.5px solid #ead6c6; background: #faf1e8; }
.cbcg-creer .cbcg-envoi .cbbc-paiement { order: -1; text-align: left; font-size: 14px; font-weight: 600; color: #3e4656; }
.cbcg-creer .cbcg-envoi .cbbc-offrir { padding: 0 28px; border-radius: 14px; }
.cbcg-creer .cbcg-envoi .cbbc-erreur { order: 3; flex: 1 1 100%; }

/* Aperçu façon ticket */
.cbbc-cote-titre { margin: 0; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-gris2); }
.cbbc .cbbc-apercu { border: 1.5px solid #ead6c6; border-radius: 24px; background: #fbf6f0; }
.cbbc .cbbc-apercu .cbbc-trait { position: relative; height: 0; margin: 6px -24px 0; background: none; border-top: 2px dashed #e3d3c2; }
.cbbc .cbbc-apercu .cbbc-trait::before, .cbbc .cbbc-apercu .cbbc-trait::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1.5px solid #ead6c6; }
.cbbc .cbbc-apercu .cbbc-trait::before { left: -12px; }
.cbbc .cbbc-apercu .cbbc-trait::after { right: -12px; }
.cbcg-retour a { display: block; padding: 12px; border: 1.5px dashed #c9d7ea; border-radius: 14px; background: #f5f8fc; text-decoration: none !important; }
.cbcg-retour a:hover { border-color: var(--bc-bleu); }

@media (min-width: 992px) {
  .cbbc .cbbc-puce { border-radius: 14px; height: 56px; }
  .cbbc .cbbc-total { border: 1.5px solid #e6ded4; border-radius: 20px; }
}
@media (max-width: 991px) {
  .cbbc .cbbc-bandeau { gap: 0; padding: 16px 18px; border-radius: 20px; }
  .cbbc-bandeau-haut { gap: 12px; }
  .cbbc .cbbc-bandeau h1 { font-size: 27px; letter-spacing: .05em; }
  .cbbc-br { display: none; }
  .cbbc .cbbc-paquet { width: 116px; }
  .cbbc-infos { display: none; }
  .cbbc .cbbc-form > .cbbc-etape { margin: 22px 18px 0; padding-bottom: 22px; }
  .cbbc .cbbc-form > .cbbc-lien-cagnotte, .cbcg-creer .cbcg-envoi { padding: 18px; }
  .cbcg-creer .cbcg-envoi .cbbc-offrir { flex: 1 1 100%; }
  .cbbc-cote-titre { display: none; }
}
