/* ============================================
   Bloc Code Promo Produit
   ============================================ */

.wcsb-product-promo {
  margin-top: 15px;
  margin-bottom: 5px;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 6px 10px;
  background-color: color-mix(in srgb, var(--wcsb-button-primary-bg, var(--wcsb-primary-color, #2271b1)) 75%, transparent);
  color: var(--wcsb-button-primary-text, #ffffff);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.35;
}

.wcsb-product-promo .wcsb-promo-text,
.wcsb-product-promo .amount {
  color: inherit;
}

.wcsb-product-promo .wcsb-promo-text strong {
  font-weight: 600;
  color: inherit;
}

/* ============================================
   Section Réassurance Produit
   ============================================ */

.wcsb-product-reassurance {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  overflow: visible;
  contain: none;
}

.wcsb-reassurance-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  overflow: visible;
}

.wcsb-reassurance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: auto;
  text-align: center;
  min-width: 0;
  overflow: visible;
}

.wcsb-reassurance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  color: #2271b1; /* Couleur primaire WordPress par défaut - sera surchargée par la couleur des boutons */
  /* Laisse dépasser le demi-trait SVG (sinon rognage sur fusée, étoile, etc.) */
  overflow: visible;
}

.wcsb-reassurance-icon svg {
  /* Marge autour du trace (stroke Heroicons depasse du viewBox, surtout fusee) */
  width: 38px;
  height: 38px;
  max-width: none;
  max-height: none;
  overflow: visible;
  clip-path: none;
  stroke: currentColor;
  fill: none;
}

.wcsb-reassurance-text {
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  font-weight: 500;
  text-align: center;
}

.wcsb-reassurance-title-text {
  font-size: 12px;
  line-height: 1.35;
  color: #111827;
  font-weight: 600;
  text-align: center;
}

/* ============================================
  Lignes détaillées sous CTA
  ============================================ */

.wcsb-product-reassurance-details {
  margin-top: 10px;
  margin-bottom: 12px;
}

.wcsb-reassurance-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.wcsb-reassurance-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.wcsb-reassurance-detail-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: #2271b1;
  flex-shrink: 0;
  margin-top: 1px;
}

.wcsb-reassurance-detail-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.wcsb-reassurance-detail-text {
  font-size: 13px;
  line-height: 1.35;
  color: #374151;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  /* Ne pas forcer svg = boite : le trait Heroicons depasse du viewBox (fusee coupee). */
  .wcsb-reassurance-icon {
    width: 50px;
    height: 50px;
  }

  .wcsb-reassurance-icon svg {
    width: 40px;
    height: 40px;
  }

  .wcsb-reassurance-text {
    font-size: 12px;
  }

  .wcsb-reassurance-title-text {
    font-size: 11px;
  }

  .wcsb-reassurance-detail-text {
    font-size: 12px;
  }
}
