/* ===== SIZE GUIDE ===== */
.sizeguide-head {
  max-width: var(--container-narrow);
  margin-bottom: var(--space-4);
}

.sizeguide-sub {
  margin-top: var(--space-2);
  color: var(--c-stone);
  line-height: 1.6;
}

/* Табы */
.size-tabs {
  display: inline-flex;
  border: 1px solid var(--c-line);
  margin-bottom: var(--space-3);
}

.size-tab {
  padding: 0.7rem 1.6rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.size-tab + .size-tab { border-left: 1px solid var(--c-line); }

.size-tab.is-active {
  background: var(--c-offwhite);
  color: var(--c-black);
}

/* Таблица */
.size-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  margin-bottom: var(--space-3);
}

.size-table {
  display: none;
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.size-table.is-visible {
  display: table;
  animation: table-fade 0.5s var(--ease);
}

@keyframes table-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.size-table th,
.size-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
}

.size-table thead th {
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-sand);
  background: var(--c-surface);
}

.size-table tbody td {
  font-size: var(--fs-small);
  color: var(--c-stone);
  font-variant-numeric: tabular-nums;
}

.size-table tbody td:first-child {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--c-white);
}

.size-table tbody tr:last-child td { border-bottom: none; }
.size-table tbody tr { transition: background 0.3s var(--ease); }
.size-table tbody tr:hover { background: var(--c-graphite); }

/* Заметки */
.size-notes {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.size-notes li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--fs-small);
  color: var(--c-text-muted);
  line-height: 1.6;
}

.size-notes li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--c-sand);
}