/* Babbikit - Check-list du trousseau personnalise (pack a composer).
   Charge uniquement par a_compose.tpl. Toutes les classes commencent par bbk-tl. */

/* Bandeau au-dessus des categories */
.bbk-tl-bandeau { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; background: #0E314B; border-radius: 16px; padding: 16px 20px; margin: 0 0 28px; color: #FFFFFF; font-family: inherit; }
.bbk-tl-deco { position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; background: #6CC0BA; opacity: 0.12; pointer-events: none; }
.bbk-tl-bebe { position: relative; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #FEB737; display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1; }
.bbk-tl-textes { position: relative; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bbk-tl-titre { font-size: 17px; font-weight: 700; line-height: 22px; color: #FFFFFF; }
.bbk-tl-sous { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.bbk-tl-ouvrir, .bbk-tl-flottant { position: relative; flex: 0 0 auto; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 18px; color: #0E314B; background: #FFEBAD; border: 0; border-radius: 10px; padding: 11px 20px; cursor: pointer; white-space: nowrap; }
.bbk-tl-ouvrir:hover, .bbk-tl-flottant:hover { background: #FFE08A; }
.bbk-tl-court { display: none; }
/* Pas de contour apres un clic ou un toucher ; contour discret seulement au clavier */
.bbk-tl-ouvrir:focus, .bbk-tl-flottant:focus, .bbk-tl-fermer:focus { outline: none; }
.bbk-tl-ouvrir:focus-visible, .bbk-tl-flottant:focus-visible, .bbk-tl-fermer:focus-visible { outline: 2px solid #FEB737; outline-offset: 2px; }

/* Bouton flottant, visible tant que le panneau est ferme */
.bbk-tl-flottant { position: fixed; left: 16px; bottom: 84px; z-index: 990; box-shadow: 0 6px 18px rgba(14, 49, 75, 0.22); display: inline-block; }
.bbk-tl-ouvert .bbk-tl-flottant { display: none; }

/* Panneau (sans voile : la page reste utilisable) */
.bbk-tl-panneau { position: fixed; top: 0; left: 0; bottom: 0; z-index: 1001; width: 400px; max-width: 100%; background: #FBF6F3; box-shadow: 8px 0 30px rgba(14, 49, 75, 0.16); border-radius: 0 20px 20px 0; display: flex; flex-direction: column; overflow: hidden; transform: translateX(-105%); transition: transform .3s ease; color: #0E314B; font-family: inherit; outline: none; }
.bbk-tl-ouvert .bbk-tl-panneau { transform: translateX(0); }
/* Articles masques pendant le changement de categorie */
.bbk-tl-transition { opacity: 0; }
/* Grand ecran : la page se decale pour rester visible a cote du panneau */
body { transition: padding-left .3s ease; }
@media (min-width: 1200px) {
  html.bbk-tl-pousse { overflow-x: hidden; }
  html.bbk-tl-pousse body { padding-left: 400px; overflow-x: clip; }
}
.bbk-tl-entete { position: relative; overflow: hidden; flex: 0 0 auto; display: flex; align-items: flex-start; gap: 14px; background: #0E314B; padding: 22px 22px 20px; }
.bbk-tl-fermer { position: relative; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.bbk-tl-corps { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px 18px 4px; }
.bbk-tl-panneau .bbk-tl-aide { margin: 0 0 2px; font-size: 12px; line-height: 16px; color: #5A6B7A; }
.bbk-tl-carte { background: #FFFFFF; border-radius: 16px; padding: 12px 16px 8px; margin-top: 12px; box-shadow: 0 1px 3px rgba(14, 49, 75, 0.06); }
.bbk-tl-cat { display: flex; align-items: center; gap: 12px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid #F2EEEA; }
.bbk-tl-picto { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.bbk-tl-picto img { display: block; width: 22px; height: 22px; }
.bbk-tl-cat-nom { font-size: 16px; font-weight: 600; line-height: 20px; }
.bbk-tl-ligne { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14px; line-height: 18px; color: #0E314B; text-decoration: none; border-radius: 8px; }
a.bbk-tl-ligne:hover, a.bbk-tl-ligne:focus { color: #0E314B; text-decoration: none; background: #FBF6F3; }
.bbk-tl-case-zone { flex: 0 0 36px; display: flex; justify-content: center; }
.bbk-tl-case { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #CFC6BE; box-sizing: border-box; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.bbk-tl-coche .bbk-tl-case { border-color: #0E314B; background: #0E314B; }
.bbk-tl-absent .bbk-tl-case { border-style: dashed; background: transparent; }
.bbk-tl-qte { flex: 0 0 30px; font-size: 13px; font-weight: 700; }
.bbk-tl-nom { flex: 1 1 auto; min-width: 0; }
.bbk-tl-coche .bbk-tl-nom { font-weight: 600; }
.bbk-tl-pied { flex: 0 0 auto; padding: 14px 24px 18px; display: flex; justify-content: center; }
.bbk-tl-pied a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #0E314B; text-decoration: none; }
.bbk-tl-pied a:hover { color: #0E314B; text-decoration: none; }

/* Telephone */
@media (max-width: 767px) {
  .bbk-tl-bandeau { gap: 12px; padding: 12px; border-radius: 14px; margin-bottom: 20px; }
  .bbk-tl-bebe { flex-basis: 40px; width: 40px; height: 40px; font-size: 20px; }
  .bbk-tl-titre { font-size: 14px; line-height: 18px; }
  .bbk-tl-sous { font-size: 12px; line-height: 1.5; }
  .bbk-tl-ouvrir { font-size: 13px; padding: 9px 12px; }
  .bbk-tl-long { display: none; }
  .bbk-tl-court { display: inline; }
  .bbk-tl-racine .bbk-tl-flottant { display: none; }
  .bbk-tl-panneau { width: 100%; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bbk-tl-panneau, body { transition: none; }
}
