/* ============================================================
   Nanning Zhipeng E-Commerce Co., Ltd. — shared legal stylesheet
   Loaded by privacy.html and terms-of-service.html ONLY.
   Standalone palette definition (legal pages load only this file).
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  background-color: #F5F3EC;
  color: #2C2C2A;
  line-height: 1.75;
  overflow-x: hidden;
}

.legal-header {
  background-color: #2B2A26;
  color: #F5F3EC;
  padding: 34px 24px;
}
.legal-header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-header a.legal-home {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #B8862C;
  text-decoration: none;
  margin-bottom: 14px;
  border-bottom: 2px solid #B8862C;
  padding-bottom: 2px;
}
.legal-header a.legal-home:hover {
  color: #F5F3EC;
  border-color: #F5F3EC;
}
.legal-header h1 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 34px;
  color: #F5F3EC;
  margin: 0 0 8px 0;
  line-height: 1.2;
}
.legal-header p {
  margin: 0;
  color: #F5F3EC;
  font-size: 15px;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-content section {
  background-color: #F5F3EC;
  margin: 34px 0;
}
.legal-content section {
  background-color: #F5F3EC !important;
}

.legal-content h2 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 24px;
  color: #2C2C2A;
  margin: 34px 0 12px 0;
  padding-top: 12px;
  border-top: 3px solid #B8862C;
}
.legal-content h3 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 19px;
  color: #2C2C2A;
  margin: 22px 0 8px 0;
}
.legal-content p {
  margin: 0 0 15px 0;
}
.legal-content ul,
.legal-content ol {
  margin: 0 0 15px 0;
  padding-left: 26px;
}
.legal-content li {
  margin-bottom: 9px;
}
.legal-content strong {
  color: #2C2C2A;
  font-weight: 700;
}
.legal-content a {
  color: #B8862C;
  text-decoration: underline;
}

.legal-toc {
  background-color: #FAF9F2;
  border: 4px solid #B9B5A8;
  border-radius: 4px;
  padding: 26px 30px;
  margin: 34px 0;
}
.legal-toc h2 {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
  font-size: 20px;
}
.legal-toc ul {
  columns: 2;
  column-gap: 40px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.legal-toc li {
  margin-bottom: 8px;
  break-inside: avoid;
}
.legal-toc a {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  text-decoration: none;
  color: #2B2A26;
}
.legal-toc a:hover {
  color: #B8862C;
  text-decoration: underline;
}

.legal-footer {
  background-color: #2B2A26;
  color: #F5F3EC;
  padding: 34px 24px;
  margin-top: 50px;
}
.legal-footer-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-footer p {
  margin: 0 0 12px 0;
  font-size: 15px;
}
.legal-footer a {
  color: #B8862C;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #B8862C;
}
.legal-footer a:hover {
  color: #F5F3EC;
  border-color: #F5F3EC;
}

@media (max-width: 640px) {
  .legal-header h1 { font-size: 26px; }
  .legal-toc ul { columns: 1; }
}
