/* =====================================================================
   legal.css — стили юридических страниц (oferta / privacy / returns / delivery)
   и футера сайта со ссылками на них. Подключается ПОСЛЕ styles.css
   (шрифт Lato и reset берутся оттуда).

   1. СТРАНИЦЫ ДОКУМЕНТОВ  — .legal
   2. ФУТЕР САЙТА          — .site-footer (вставляется в index.html, см. footer-snippet.html)
   3. СОГЛАСИЕ ПОД ФОРМОЙ  — .form-consent
   ===================================================================== */


/* ---------- 1. СТРАНИЦЫ ДОКУМЕНТОВ ---------- */

.legal {
  display: block;
  padding: 22px 22px 40px;
  text-align: left;
}

.legal__back {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 16px;
  color: #522A82;
  text-decoration: none;
}

.legal h1 {
  margin: 0 0 6px;
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  color: #25123E;
}

.legal__date {
  margin: 0 0 22px;
  font-size: 15px;
  color: #8a909c;
}

.legal h2 {
  margin: 26px 0 10px;
  font-size: 21px;
  line-height: 27px;
  font-weight: 700;
  color: #25123E;
}

.legal p {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 26px;
  color: #2a2a2e;
}

.legal ul {
  margin: 0 0 12px;
  padding: 0 0 0 22px;
  list-style: disc;
}

.legal li {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 26px;
  color: #2a2a2e;
}

.legal a { color: #522A82; }

.legal__box {                         /* реквизиты продавца */
  margin: 8px 0 0;
  padding: 16px 18px 8px;
  background: #f5f3fa;
  border: 1px solid #e4dff0;
  border-radius: 16px;
}

.legal__nav {                         /* ссылки на остальные документы */
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #ececf0;
}

.legal__nav a {
  font-size: 16px;
  line-height: 22px;
}


/* ---------- 2. ФУТЕР САЙТА ---------- */

.site-footer {
  padding: 28px 22px 34px;
  background: #1d1d22;
  color: rgba(255, 255, 255, .7);
  text-align: center;
  font-size: 14px;
  line-height: 21px;
}

.site-footer a {
  color: rgba(255, 255, 255, .9);
  text-decoration: underline;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 15px;
}

.site-footer p { margin: 0 0 10px; }

.site-footer__note { font-size: 13px; line-height: 19px; color: rgba(255, 255, 255, .5); }


/* ---------- 3. СОГЛАСИЕ ПОД ФОРМОЙ ---------- */

.form-consent {
  margin: 2px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  color: #8a909c;
}

.form-consent a { color: inherit; text-decoration: underline; }
