.footer-legal-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal-copy {
  color: #777;
  font-size: 13px;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: #999;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-links a:hover {
  color: #c8963e;
}
@media (max-width: 768px) {
  .footer-legal-wrap {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
  }
}

/* ═══ Max icon: белый везде, чёрный только на странице Контактов ═══ */
.contacts-card img[alt="Max"] {
  filter: invert(1) brightness(0);
}

/* ═══ Form checkboxes ═══ */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #666;
  margin: 8px 0;
  cursor: pointer;
  text-align: left;
}
.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: #c8963e;
  cursor: pointer;
}
.form-checkbox a {
  color: #c8963e;
  text-decoration: underline;
}
.form-checkbox a:hover {
  color: #b8872e;
}

/* ═══ Legal pages ═══ */
.page-legal .container {
  max-width: 860px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}
.page-legal h2 {
  font-size: 24px !important;
  margin: 32px 0 16px !important;
  font-weight: 700;
  color: #1a1a1a;
}
.page-legal h3 {
  font-size: 18px !important;
  margin: 24px 0 12px !important;
  font-weight: 600;
  color: #1a1a1a;
}
.page-legal h4, .page-legal h5 {
  font-size: 16px !important;
  margin: 18px 0 10px !important;
  font-weight: 600;
}
.page-legal p, .page-legal li {
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 500;
}
.page-legal table {
  font-size: 14px !important;
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.page-legal table td, .page-legal table th {
  padding: 6px 10px !important;
  border: 1px solid #ddd;
}
.page-legal table th {
  background: #f5f5f5;
  font-weight: 600;
}
.page-legal .requisites {
  margin-top: 24px;
  padding: 16px 20px;
  background: #f9f9f9;
  border-left: 3px solid #c8963e;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .page-legal .container {
    padding-top: 100px !important;
  }
  .page-legal h2 { font-size: 22px !important; }
  .page-legal h3 { font-size: 18px !important; }
}

/* Phone — всегда в одну строку */
a[href^="tel:"] {
  white-space: nowrap;
}


/* Max icon — black on hover like TG/WA */
.social li a:hover img[alt="Max"] {
  filter: invert(1) brightness(0);
}

/* Delivery cards — description under title */
  margin-bottom: 8px;
}

/* Cards — description tight under title, not spaced */

/* Form centered vertically in feedback wrap */
.feedback-form {
  
}

/* Form centered vertically */
.feedback-wrap {
  align-items: center !important;
}

/* Install center — unified text sizing */.install-center .about-text p,.install-center .about-card-text p,.install-center .delivery-text {  font-size: 16px !important;  font-weight: 500;  line-height: 24px !important;  color: #333;}

/* Install center — cards tight layout */
.install-center .delivery-card {
  justify-content: flex-start !important;
  gap: 0 !important;
}
