/* WHAT: Styles for the size chart inside the custom product tabs.
   WHY: Keeps the table readable and scrollable on small screens.
   HOW: Wrapper scrolls sideways if the table is too wide; tables get simple row lines. */

.size-chart {
  max-width: 100%;
  overflow-x: auto; /* allows horizontal scroll on very small screens */
}

.size-chart table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px; /* optional: keeps columns from getting too cramped */
}

.size-chart th,
.size-chart td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
}

.size-chart thead th {
  font-weight: 600;
  border-bottom: 2px solid #000;
}

@media (max-width: 480px) {
  .size-chart th,
  .size-chart td {
    padding: 0.5rem;
    font-size: 0.875rem;
  }
}
