/* Empêche la largeur intrinsèque du tableau d'agrandir ses parents flex/grid. */
.bbs-comparatif { --bbs-comparatif-blue: #1c408f; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; contain: inline-size; }
.ct-code-block:has(.bbs-comparatif), .oxy-shortcode:has(.bbs-comparatif) { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.bbs-comparatif__scroll { display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bbs-comparatif .bbs-comparatif__table { width: 100%; border-collapse: collapse; border: 0; font: inherit; text-align: center; }
.bbs-comparatif__table .bbs-comparatif__caption { text-align: left; margin-bottom: 12px; font-weight: 600; }
.bbs-comparatif__table th, .bbs-comparatif__table td { padding: 20px 16px; border: 0; border-bottom: 1px solid #dadada; vertical-align: middle; }
.bbs-comparatif__table thead th { background: var(--bbs-comparatif-blue); color: #fff; font-weight: 400; min-width: 135px; }
.bbs-comparatif__table thead tr:first-child th { border-bottom-color: rgba(255,255,255,.2); }
.bbs-comparatif__table tbody th { text-align: left; min-width: 300px; }
.bbs-comparatif__table tbody td { color: #737373; }
.bbs-comparatif__table td strong { display: block; white-space: nowrap; font-weight: 700; }
.bbs-comparatif__table td small { display: block; margin-top: 14px; font-size: .9em; line-height: 1.6; }
.bbs-comparatif__product-layout { display: flex; flex-direction: row; align-items: center; gap: 16px; }
.bbs-comparatif__product { display: flex; flex-direction: row; align-items: center; text-align: left; gap: 14px; color: inherit; text-decoration: none; flex: 1 1 0; min-width: 90px; }
.bbs-comparatif__product-copy { display: flex; flex-direction: column; gap: 6px; }
.bbs-comparatif__bags { display: block; font-size: .85em; font-weight: 400; color: #737373; }
.bbs-comparatif__product .bbs-comparatif__image { display: block; width: 1.75rem; height: 1.75rem; object-fit: contain; flex: 0 0 auto; }
.bbs-comparatif__short-description { flex: 0 0 auto; }
.bbs-comparatif__short-description img { display: block; width: auto; max-width: 5.625rem; max-height: 9.375rem; height: auto; margin: 0; object-fit: contain; }
.bbs-comparatif__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.bbs-comparatif .bbs-comparatif__button { display: inline-block; background: var(--bbs-comparatif-blue); color: #fff; padding: 12px 20px; border-radius: 4px; text-decoration: none; line-height: 1.4; }
.bbs-comparatif__button:hover { filter: brightness(.9); }
.bbs-comparatif__button:focus-visible, .bbs-comparatif__scroll:focus-visible { outline: 2px solid var(--bbs-comparatif-blue); outline-offset: 3px; }
.bbs-comparatif__note { margin-top: 12px; font-size: .85em; color: #737373; }
.bbs-comparatif__anchor { display: block; scroll-margin-top: 120px; }
@media (max-width: 767px) {
  .bbs-comparatif__table th, .bbs-comparatif__table td { padding: 16px 12px; }
  .bbs-comparatif__table thead th { min-width: 120px; }
  .bbs-comparatif__table tbody th { min-width: 300px; }
  .bbs-comparatif__product { gap: 10px; }
  .bbs-comparatif__actions { flex-direction: column; align-items: stretch; }
  .bbs-comparatif__actions .bbs-comparatif__button { box-sizing: border-box; max-width: 100%; text-align: center; }
}
