/* PBF Reassurance Bar Widget: style.css */

.lss-rb-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 24px 32px;
}

/* Répartition : colonnes égales (pleine largeur) - alignement « Espace entre ». */
.lss-rb-cols .lss-rb-item {
  flex: 1 1 0;
  min-width: 0;
}

/* ── Layout : En ligne (défaut) ── */
.lss-rb-layout-inline {
  flex-direction: row;
  flex-wrap: wrap;
}

/* ── Layout : Grille 2×2 ── */
.lss-rb-layout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

/* ── Layout : Empilé ── */
.lss-rb-layout-stacked {
  flex-direction: column;
  align-items: stretch;
}

/* ── Séparateur vertical ── */
.lss-rb-has-separator .lss-rb-item {
  position: relative;
}
.lss-rb-has-separator .lss-rb-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(var(--lss-rb-gap, 32px) / -2);
  top: calc(var(--lss-rb-pt, 24px) * -1);
  bottom: calc(var(--lss-rb-pb, 24px) * -1);
  width: 1px;
  background-color: #e5e7eb;
}

/* ── Bloc item ── */
.lss-rb-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 1 auto;
}

.lss-rb-layout-stacked .lss-rb-item {
  justify-content: flex-start;
}

/* ── Icône ── */
.lss-rb-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lss-rb-emoji {
  font-size: 24px;
  line-height: 1;
}
.lss-rb-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ── Body ── */
.lss-rb-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lss-rb-label {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #9ca3af;
  line-height: 1.3;
}

.lss-rb-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.lss-rb-subtitle {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.4;
}

/* ── Défilement horizontal mobile (marquee) ── */
.lss-rb-mscroll-active {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.lss-rb-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: max-content;
  animation-name: lss-rb-marq;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}
.lss-rb-mscroll-active .lss-rb-item { flex: 0 0 auto; }
.lss-rb-mscroll-active:hover .lss-rb-track { animation-play-state: paused; }
@keyframes lss-rb-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .lss-rb-mscroll-active { overflow-x: auto; }
  .lss-rb-track { animation: none !important; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .lss-rb-layout-inline {
    justify-content: center;
  }
  .lss-rb-has-separator .lss-rb-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .lss-rb-list {
    padding: 20px 20px;
    gap: 20px;
  }
  .lss-rb-layout-inline {
    flex-direction: column;
    align-items: flex-start;
  }
  .lss-rb-layout-grid {
    grid-template-columns: 1fr;
  }
  .lss-rb-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  .lss-rb-emoji {
    font-size: 20px;
  }
  .lss-rb-img {
    width: 20px;
    height: 20px;
  }
  .lss-rb-label {
    font-size: 10px;
  }
  .lss-rb-title {
    font-size: 14px;
  }
  .lss-rb-subtitle {
    font-size: 11px;
  }
}
