/* Dedicated layout for the public Leather Size Charts page. */
.site-main--leather-size-chart {
  width: min(100% - 72px, 1440px);
  max-width: none;
  padding-top: 42px;
}

.leather-size-chart-page { min-width: 0; }
.leather-size-chart__header { margin-bottom: 28px; }
.leather-size-chart__header .entry-title {
  margin: 0;
  font-family: var(--morticia-typeface, Arial, sans-serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
}

.leather-size-chart__intro {
  max-width: 980px;
  margin: 0 0 42px;
  color: var(--morticia-muted);
  font-size: 15px;
  line-height: 1.7;
}
.leather-size-chart__intro p { margin: 0; }
.leather-size-chart__intro p + p { margin-top: 9px; }
.leather-size-chart__intro a { text-decoration: underline; text-underline-offset: 3px; }

.leather-size-chart__layout {
  display: grid;
  grid-template-columns: minmax(210px, .36fr) minmax(0, 1.64fr);
  align-items: start;
  gap: clamp(30px, 5vw, 72px);
}

.leather-size-chart__figure {
  position: sticky;
  top: 24px;
  width: min(100%, 285px);
  justify-self: center;
  margin: 0;
  background: #000;
}
.leather-size-chart__figure img { display: block; width: 100%; height: auto; }
.leather-size-chart__figure figcaption {
  padding: 10px 12px 12px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
}

.leather-size-chart__table-wrap { min-width: 0; }
.leather-size-chart__scroll {
  overflow-x: auto;
  border: 1px solid var(--morticia-ink);
  -webkit-overflow-scrolling: touch;
}
.leather-size-chart__scroll table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--morticia-typeface, Arial, sans-serif);
  font-size: 12px;
  line-height: 1.35;
}
.leather-size-chart__scroll caption {
  padding: 0 0 12px;
  color: var(--morticia-ink);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
}
.leather-size-chart__scroll th,
.leather-size-chart__scroll td {
  border-right: 1px solid var(--morticia-line);
  border-bottom: 1px solid var(--morticia-line);
  padding: 12px 10px;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
}
.leather-size-chart__scroll thead th {
  background: var(--morticia-soft);
  color: var(--morticia-ink);
  font-size: 12px;
  font-weight: 600;
}
.leather-size-chart__scroll thead th:first-child,
.leather-size-chart__scroll tbody th { width: 122px; }
.leather-size-chart__scroll tbody th { background: #fff; font-weight: 600; }
.leather-size-chart__scroll td span,
.leather-size-chart__scroll .leather-size-chart__units span { display: block; }
.leather-size-chart__scroll td span + span { margin-top: 4px; }
.leather-size-chart__scroll tr > :last-child { border-right: 0; }
.leather-size-chart__scroll tbody tr:last-child > * { border-bottom: 0; }
.leather-size-chart__unit-head { width: 55px; }
.leather-size-chart__units { text-align: center; }
.leather-size-chart__note { margin: 22px 0 0; color: var(--morticia-muted); font-size: 12px; line-height: 1.6; }

.leather-size-chart__instructions {
  max-width: 980px;
  margin-top: 58px;
  padding-top: 36px;
  border-top: 1px solid var(--morticia-line);
}
.leather-size-chart__instructions h2 {
  margin: 0 0 22px;
  font-family: var(--morticia-typeface, Arial, sans-serif);
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
}
.leather-size-chart__instructions p { margin: 0 0 20px; line-height: 1.65; }
.leather-size-chart__instructions strong { font-weight: 700; }

@media (max-width: 900px) {
  .site-main--leather-size-chart { width: min(100% - 32px, 720px); padding-top: 28px; }
  .leather-size-chart__layout { grid-template-columns: 1fr; gap: 36px; }
  .leather-size-chart__figure { position: static; width: min(100%, 260px); margin: 0 auto; }
}

@media (max-width: 760px) {
  .site-main--leather-size-chart { width: min(100% - 24px, 520px); padding-top: 18px; }
  .leather-size-chart__header .entry-title { font-size: 30px; }
  .leather-size-chart__intro { margin-bottom: 28px; font-size: 13px; }
  .leather-size-chart__scroll table { min-width: 1040px; font-size: 11px; }
  .leather-size-chart__scroll th, .leather-size-chart__scroll td { padding: 11px 9px; }
}
