/* Стили для юридических страниц */

.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal-header { margin-bottom: 36px; }

.legal-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.legal-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-sub);
  font-weight: 500;
}

.legal-body h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 32px 0 12px;
}

.legal-body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 8px;
}

.legal-body p {
  margin-bottom: 14px;
}

.legal-body ul, .legal-body ol {
  margin: 0 0 16px 24px;
  padding: 0;
}

.legal-body li {
  margin-bottom: 6px;
}

.legal-body strong {
  color: var(--text);
  font-weight: 700;
}

.legal-body a {
  color: var(--primary);
  text-decoration: none;
}
.legal-body a:hover {
  text-decoration: underline;
}

/* Блок реквизитов */
.requisites-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.requisites-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}
.requisites-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  width: 180px;
}
.requisites-table td:last-child {
  color: var(--text);
  font-weight: 600;
}
@media (max-width: 500px) {
  .requisites-table td:first-child { width: auto; white-space: normal; }
}

/* Логотипы платёжных систем в футере */
.footer-payment {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 12px 0 4px;
  flex-wrap: wrap;
}
.footer-payment img {
  height: 24px;
  opacity: .5;
  transition: opacity var(--dur-fast);
}
.footer-payment img:hover {
  opacity: .8;
}

/* Юридические ссылки в футере */
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.footer-legal a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}
.footer-legal a:hover {
  color: var(--primary);
}
