.size-language[hidden] {
  display: none;
}

.size-figure {
  margin: 38px 0 44px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 50px rgba(32, 28, 20, 0.08);
}

.size-figure img {
  width: 100%;
  height: auto;
}

.size-figure-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

.size-tip,
.size-warning {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(185, 148, 78, 0.08);
  color: #4f4c46;
  line-height: 1.8;
}

.size-tip strong,
.size-warning strong {
  color: var(--ink);
}

.size-table-wrap {
  width: 100%;
  margin: 28px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  -webkit-overflow-scrolling: touch;
}

.size-table {
  width: 100%;
  min-width: 690px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.size-table th,
.size-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
}

.size-table th {
  color: var(--ink);
  background: rgba(185, 148, 78, 0.1);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.size-table tbody tr:last-child td {
  border-bottom: 0;
}

.size-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 600px) {
  .size-figure {
    margin: 30px -8px 36px;
    padding: 8px;
  }

  .size-tip,
  .size-warning {
    padding: 18px;
  }

  .size-table-wrap {
    margin-left: -8px;
    width: calc(100% + 16px);
  }
}
