/* =====================================================================
   KAIJU — размерная сетка на карточке товара (вкладка «Размеры»).
   Мерки строками, размеры столбцами — на телефоне таблица помещается
   без прокрутки. Цвета — токены карточки (--rc-*), поэтому ночная тема
   работает сама. Выбранный размер подсвечивается мягкой заливкой.
   ===================================================================== */
.pdx-tabs[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pdx-tabs[data-count="4"] .pdx-tab { padding-left: 6px; padding-right: 6px; }

.szc { margin: 0 0 16px; }
.szc-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}
.szc-cap {
  padding: 0 0 12px;
  caption-side: top;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
}
.szc-table th,
.szc-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--rc-line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}
/* первый столбец — подписи мерок, остальные делят ширину поровну */
.szc-table tbody th { width: 46%; padding-right: 12px; color: var(--rc-muted); }
.szc-table thead th,
.szc-table thead td { padding-top: 0; border-bottom-color: var(--rc-ink); }
.szc-table thead th,
.szc-table td { padding-left: 10px; padding-right: 10px; }
.szc-size { display: block; font-weight: 700; letter-spacing: 0.02em; }
.szc-label { display: block; margin-top: 2px; color: var(--rc-muted); font-size: 11px; }
.szc-table [data-size] { transition: background-color 0.2s; }
.szc-table [data-size].is-sel { background: var(--rc-soft); }
.szc-table thead [data-size].is-sel { border-radius: 8px 8px 0 0; }
.szc-height th,
.szc-height td { border-bottom: 0; }
.szc-note { margin: 12px 0 0 !important; color: var(--rc-muted); }

@media (max-width: 989px) {
  .szc-table tbody th { width: 44%; padding-right: 8px; }
  .szc-table thead th,
  .szc-table td { padding-left: 8px; padding-right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .szc-table [data-size] { transition: none; }
}
