/* ============================================================
   SIZE GUIDE PAGE  –  page-templates/size-guide.php
   ============================================================ */

.vsg-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 0 60px;
  font-family: var(--v-font-body, 'Mulish', sans-serif);
}

/* ── Header ──────────────────────────────────────────────────── */
.vsg-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 24px 36px;
  gap: 8px;
}

.vsg-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--v-primary, #500814);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}
.vsg-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.vsg-logo-line1,
.vsg-logo-line2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: #fff;
  line-height: 1.3;
}
.vsg-logo-line1 { font-size: 16px; }
.vsg-logo-line2 { font-size: 19px; }

.vsg-brand {
  font-family: var(--v-font-heading, 'Playfair Display', Georgia, serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--v-primary, #500814);
  margin: 0;
  text-align: center;
}

.vsg-ornament {
  color: #c9909f;
  font-size: 13px;
  letter-spacing: .3em;
  margin: 4px 0;
}

.vsg-title {
  font-family: var(--v-font-heading, 'Playfair Display', Georgia, serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--v-primary, #500814);
  margin: 0;
  text-align: center;
}

.vsg-subtitle {
  font-size: 14px;
  color: #7a5560;
  margin: 4px 0 0;
  text-align: center;
}

/* ── Table ───────────────────────────────────────────────────── */
.vsg-table-wrap {
  padding: 0 32px 40px;
  overflow-x: auto;
}

/* Styles applied to both the default <table> and a WYSIWYG-entered table */
.vsg-table,
.vsg-wysiwyg-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 460px;
}

.vsg-table th,
.vsg-table td,
.vsg-wysiwyg-table table th,
.vsg-wysiwyg-table table td {
  padding: 16px 12px;
  text-align: center;
  border: 1px solid #e8c8d0;
}

.vsg-table thead th,
.vsg-wysiwyg-table table thead th {
  background: #f5d8de;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  color: #500814;
  text-transform: uppercase;
  line-height: 1.5;
}

.vsg-table tbody tr:nth-child(odd) td,
.vsg-wysiwyg-table table tbody tr:nth-child(odd) td {
  background: #fff8f9;
}
.vsg-table tbody tr:nth-child(even) td,
.vsg-wysiwyg-table table tbody tr:nth-child(even) td {
  background: #fdf0f2;
}

.vsg-table tbody td:first-child,
.vsg-wysiwyg-table table tbody td:first-child {
  font-weight: 700;
  font-size: 16px;
  color: #500814;
  letter-spacing: .04em;
}

.vsg-table tbody tr:hover td,
.vsg-wysiwyg-table table tbody tr:hover td {
  background: #f5d8de;
  transition: background .15s;
}

/* ── How to measure ──────────────────────────────────────────── */
.vsg-htm {
  background: #fff;
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vsg-htm-title {
  font-family: var(--v-font-heading, 'Playfair Display', Georgia, serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--v-primary, #500814);
  margin: 4px 0 24px;
  text-align: center;
}

.vsg-htm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 680px;
}

.vsg-htm-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.vsg-htm-svg svg,
.vsg-htm-img {
  width: 80px;
  height: 100px;
  object-fit: contain;
}

.vsg-htm-info strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--v-primary, #500814);
  margin-bottom: 8px;
}

.vsg-htm-info p {
  font-size: 13px;
  color: #7a5560;
  line-height: 1.7;
  margin: 0;
}

.vsg-heart {
  font-size: 16px;
  color: #c9909f;
  margin-top: 20px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .vsg-brand  { font-size: 19px; letter-spacing: .1em; }
  .vsg-title  { font-size: 26px; }
  .vsg-table-wrap { padding: 0 16px 32px; }
  .vsg-htm    { padding: 32px 16px 28px; }
  .vsg-htm-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
}
