/* =====================================================
   SIZE GUIDE + LEGAL PAGES — Jakis Promotions
   Measurement tables for the size guide, plus simple,
   readable typography for Privacy Policy / Terms pages.
   ===================================================== */

/* ── How to measure steps ─────────────────────────────── */
.measure-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .measure-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.measure-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  min-width: 0;
  padding: 1.5rem 1.1rem;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.measure-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-ivory-dim);
  color: var(--color-gold-dark);
}

.measure-step-icon svg {
  width: 22px;
  height: 22px;
}

.measure-step-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--color-ink);
  margin: 0;
}

.measure-step-text {
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(16, 16, 18, 0.65);
  margin: 0;
}

/* ── Size chart table ─────────────────────────────────── */
.size-chart-wrap {
  max-width: 900px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.size-chart-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: var(--color-ink);
  margin: 0 0 0.4rem;
}

.size-chart-note {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: rgba(16, 16, 18, 0.6);
  margin: 0 0 1.25rem;
}

.size-chart-scroll {
  overflow-x: auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  -webkit-overflow-scrolling: touch;
}

.size-chart {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.86rem;
}

.size-chart caption {
  caption-side: top;
  text-align: left;
  padding: 0.85rem 1rem 0;
  font-size: 0.78rem;
  color: rgba(16, 16, 18, 0.5);
}

.size-chart th,
.size-chart td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  white-space: nowrap;
}

.size-chart thead th {
  background: var(--color-ivory-dim);
  font-weight: 700;
  color: var(--color-ink);
}

.size-chart tbody tr:last-child td {
  border-bottom: none;
}

.size-chart tbody tr:nth-child(even) {
  background: rgba(16, 16, 18, 0.015);
}

.size-guide-custom-note {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--color-white);
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-md);
}

.size-guide-custom-note p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(16, 16, 18, 0.72);
  margin: 0 0 1rem;
}

/* ════════════════════════════════════════════════════
   LEGAL PAGE TYPOGRAPHY (Privacy / Terms)
   ════════════════════════════════════════════════════ */
.legal-body {
  max-width: 760px;
  margin: 0 auto;
}

.legal-updated {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(16, 16, 18, 0.5);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: var(--color-ink);
  margin: clamp(2rem, 4vw, 2.75rem) 0 0.85rem;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(16, 16, 18, 0.75);
  margin: 0 0 1.1rem;
}

.legal-body ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-body li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(16, 16, 18, 0.75);
  margin-bottom: 0.4rem;
}

.legal-notice {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding: 1.1rem 1.25rem;
  background: rgba(184, 134, 59, 0.08);
  border: 1px solid rgba(184, 134, 59, 0.3);
  border-radius: var(--radius-sm);
}

.legal-notice p {
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(16, 16, 18, 0.75);
  margin: 0;
}
