/* Legal policy pages — calm, readable storefront documents */
.sunpal-legal-page .sunpal-shop-shell,
body.page-template-default .sunpal-shop-shell,
body.page .entry-content {
  max-width: 760px;
}

body.page:not(.woocommerce-page) .entry-content,
.sunpal-legal-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 0 72px;
  color: var(--ink, #090b0d);
  font-size: 16px;
  line-height: 1.7;
}

body.page:not(.woocommerce-page) .entry-content .sunpal-legal-updated,
.sunpal-legal-doc .sunpal-legal-updated {
  margin: 0 0 22px;
  color: var(--muted, #64696d);
  font-size: 13px;
}

body.page:not(.woocommerce-page) .entry-content h1,
body.page:not(.woocommerce-page) .entry-content h2,
.sunpal-legal-doc h2 {
  margin: 2em 0 .7em;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.2;
}

body.page:not(.woocommerce-page) .entry-content h2,
.sunpal-legal-doc h2 {
  font-size: clamp(20px, 2.4vw, 26px);
}

body.page:not(.woocommerce-page) .entry-content p,
.sunpal-legal-doc p {
  margin: 0 0 1em;
}

body.page:not(.woocommerce-page) .entry-content ul,
body.page:not(.woocommerce-page) .entry-content ol,
.sunpal-legal-doc ul,
.sunpal-legal-doc ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}

body.page:not(.woocommerce-page) .entry-content li,
.sunpal-legal-doc li {
  margin: 0 0 .45em;
}

body.page:not(.woocommerce-page) .entry-content a,
.sunpal-legal-doc a {
  color: var(--green, #168b3d);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.page:not(.woocommerce-page) .entry-content table,
.sunpal-legal-doc table {
  width: 100%;
  margin: 0 0 1.4em;
  border-collapse: collapse;
  font-size: 14px;
}

body.page:not(.woocommerce-page) .entry-content th,
body.page:not(.woocommerce-page) .entry-content td,
.sunpal-legal-doc th,
.sunpal-legal-doc td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line, #dedfdf);
  text-align: left;
  vertical-align: top;
}

body.page:not(.woocommerce-page) .entry-content th,
.sunpal-legal-doc th {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted, #64696d);
}
