/* lbreassurance 1.0.0 : icônes de réassurance, fiche produit (thème falcon)
   Couleurs falcon : orange #e6721d / #fd7e14, bordures #ced4da / #dee2e6, rayon 0.4rem, police héritée (Quicksand). */
.lbr-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.lbr-item { margin: 0; min-width: 0; }
.lbr-item,
.lbr-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #212529;
}
.lbr-link { text-decoration: none; width: 100%; }
.lbr-ico {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #fff1e6;
  color: #e6721d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lbr-ico svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lbr-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.lbr-txt strong { font-size: 0.875rem; font-weight: 700; color: #212529; }
.lbr-txt small { font-size: 0.78rem; color: #6c757d; margin-top: 0.1rem; }

/* Zone 1 : promesse, entre le prix et la quantité (bandeau teinté léger) */
.lbr-promesse {
  margin: -0.5rem 0 1.25rem;
  padding: 0.625rem 0.75rem;
  background: #fff8f2;
  border: 1px solid #fde1cb;
  border-radius: 0.4rem;
}
.lbr-promesse .lbr-ico { background: #fff; box-shadow: inset 0 0 0 1px #fde1cb; }

/* Zone 2 : grille sous le bouton panier (cartes à bordure fine, comme les « versions disponibles ») */
.lbr-grille {
  margin: 1rem 0 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid #dee2e6;
}
.lbr-grille .lbr-item {
  padding: 0.5rem 0.625rem;
  border: 1px solid #ced4da;
  border-radius: 0.4rem;
  background: #fff;
}
.lbr-grille .lbr-item:has(.lbr-link) { padding: 0; }
.lbr-grille .lbr-link { padding: 0.5rem 0.625rem; border-radius: 0.4rem; }
.lbr-link:hover,
.lbr-link:focus-visible { background: #fff8f2; color: #212529; }
.lbr-link:hover strong { color: #e6721d; }
.lbr-link:focus-visible { outline: 2px solid #fd7e14; outline-offset: 1px; }
.lbr-grille .lbr-item:has(.lbr-link:hover) { border-color: #fd7e14; }

/* Mobile : icônes au-dessus, texte centré (2 colonnes conservées) */
@media (max-width: 575.98px) {
  .lbr-promesse { margin-top: 0; padding: 0.5rem; gap: 0.375rem; }
  .lbr-promesse .lbr-item { gap: 0.5rem; }
  .lbr-promesse .lbr-ico { width: 2rem; height: 2rem; }
  .lbr-promesse .lbr-ico svg { width: 1.1rem; height: 1.1rem; }
  .lbr-txt strong { font-size: 0.8125rem; }
  .lbr-txt small { font-size: 0.75rem; }
  .lbr-grille .lbr-item,
  .lbr-grille .lbr-link { flex-direction: column; text-align: center; gap: 0.375rem; }
  .lbr-grille .lbr-txt { align-items: center; }
}

/* Variante B retenue par Cyril (27/10/2026) : les 6 arguments ENTRE LE PRIX ET LA QUANTITÉ,
   6 cartes séparées (bordure grise arrondie, comme les « versions disponibles ») ; 3 colonnes en ordinateur, 2 en mobile.
   Cartes d'environ 166 px de large dans les deux cas : mêmes dimensions compactes partout. */
.lbr-grille--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: -0.5rem 0 1.25rem;
  padding: 0;
  border: 0;
}
.lbr-grille--6 .lbr-item {
  padding: 0.45rem 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 0.4rem;
  background: #fff;
  transition: border-color .15s ease;
}
.lbr-grille--6 .lbr-item:has(.lbr-link) { padding: 0; }
.lbr-grille--6 .lbr-item,
.lbr-grille--6 .lbr-link { flex-direction: row; text-align: left; gap: 0.4rem; }
.lbr-grille--6 .lbr-link { height: 100%; padding: 0.45rem 0.5rem; border-radius: calc(0.4rem - 1px); }
.lbr-grille--6 .lbr-txt { align-items: flex-start; }
.lbr-grille--6 .lbr-ico { width: 1.75rem; height: 1.75rem; }
.lbr-grille--6 .lbr-ico svg { width: 1rem; height: 1rem; }
.lbr-grille--6 .lbr-txt strong { font-size: 0.75rem; white-space: nowrap; }
.lbr-grille--6 .lbr-txt small { font-size: 0.7rem; }
@media (max-width: 575.98px) {
  .lbr-grille--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
  .lbr-grille--6 .lbr-item,
  .lbr-grille--6 .lbr-link { flex-direction: row; text-align: left; gap: 0.4rem; }
  .lbr-grille--6 .lbr-item:not(:has(.lbr-link)) { padding: 0.45rem 0.5rem; }
  .lbr-grille--6 .lbr-txt { align-items: flex-start; }
}
@media (max-width: 340px) { .lbr-grille--6 .lbr-txt strong { white-space: normal; } }
