.scfw-size-chart-container h3 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 30px;
}


/* 🖋️ Centrer le texte explicatif au-dessus du tableau */
.chart-content.scfw-tab-content {
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
}

/* 🧩 Centrer le tableau lui-même */
.chart-table.scfw-tab-content {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* 📏 Style général du tableau */
#size-chart {
    font-size: 17px;
    border-collapse: collapse;
    border: 1px solid #ccc;
    width: auto;
    max-width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

/* 🎀 En-têtes du tableau */
#size-chart th {
    background-color: #f7f7f7;
    padding: 12px 15px;
    font-weight: 600;
    color: #222;
    text-align: center;
    border: 1px solid #eee;
}

/* 📦 Cellules du tableau */
#size-chart td {
    padding: 10px 15px;
    text-align: center;
    border: 1px solid #eee;
    color: #333;
}

/* 💪 Mettre en valeur la colonne "Tour de taille" */
#size-chart td:nth-child(2),
#size-chart th:nth-child(2) {
    font-weight: bold;
    color: #000;
}
/* Rendre le conteneur scrollable correctement */
.scfw-size-chart-container {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Forcer le tableau à ne pas déborder */
.scfw-size-chart-container table {
  width: max-content !important;
  min-width: 100%;
  table-layout: auto !important;
  border-collapse: collapse;
}

/* Conteneur scrollable fluide */
.scfw-size-chart-container {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Tableau adaptatif */
.scfw-size-chart-container table {
  width: max-content !important;
  min-width: 100%;
  table-layout: auto !important;
  border-collapse: collapse;
}

/* Cellules normales */
.scfw-size-chart-container th,
.scfw-size-chart-container td {
  white-space: nowrap;
  padding: 6px 8px;
  font-size: 14px;
  text-align: center;
}

/* Réduction forcée des 2 premières colonnes */
.scfw-size-chart-container th:nth-child(1),
.scfw-size-chart-container td:nth-child(1),
.scfw-size-chart-container th:nth-child(2),
.scfw-size-chart-container td:nth-child(2) {
  width: 40px;
  max-width: 40px;
}
@media (max-width: 480px) {
  /* Conteneur scrollable tactile complet */
  .scfw-size-chart-container {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    max-width: 100vw;
  }

  .scfw-size-chart-container::-webkit-scrollbar {
    height: 6px;
  }

  /* Tableau mobile adaptatif */
  .scfw-size-chart-container table {
    width: max-content !important;
    min-width: 100%;
    table-layout: auto !important;
    border-collapse: collapse;
  }

  /* Cellules normales */
  .scfw-size-chart-container th,
  .scfw-size-chart-container td {
    white-space: nowrap;
    padding: 4px 6px;
    font-size: 13px;
    text-align: center;
  }

  /* Colonnes 1 et 2 ultra-compactes */
  .scfw-size-chart-container th:nth-child(1),
  .scfw-size-chart-container td:nth-child(1),
  .scfw-size-chart-container th:nth-child(2),
  .scfw-size-chart-container td:nth-child(2) {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    font-size: 12px !important;
    padding: 3px 4px !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
#size-chart {
  border-radius: 8px;
}
.scfw-size-chart-container h3 {
    margin-bottom: 25px;
}
#size-chart th {
  background-color: #f0f0f0;
}

