/* unipro/market/static/market/css/footer.css */
/* Layout: footer only */

.mkf-footer {
  width: 100%;
  margin-top: 48px;
  background: var(--mkf-surface-bg, #fff);
  border-top: 1px solid var(--mkf-border-subtle, #e5e7eb);
  padding: 24px 0 20px;
  font-size: 14px;
  color: var(--mkf-text-muted, #6b7280);
}

/* Контейнер с колонками */
.mkf-footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px 32px;
  width: min(96%, 1700px);
  margin-inline: auto;
  margin-bottom: 20px;
  padding-inline: 24px;
}

/* Нижняя линия */
.mkf-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--mkf-border-subtle, #e5e7eb);
  padding-top: 8px;
  width: min(96%, 1700px);
  margin-inline: auto;
  padding-inline: 24px;
  font-size: 12px;
}

.mkf-footer-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--mkf-text-main, #111827);
}

.mkf-footer-text {
  margin: 0;
  line-height: 1.4;
}

.mkf-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mkf-footer-list li { margin-bottom: 4px; }

.mkf-footer-list a {
  text-decoration: none;
  color: var(--mkf-text-muted, #6b7280);
}

.mkf-footer-list a:hover { color: var(--mkf-accent, #2563eb); }

.mkf-footer-separator { opacity: 0.4; }

.mkf-footer-link {
  color: var(--mkf-text-muted, #6b7280);
  text-decoration: none;
}
.mkf-footer-link:hover { color: var(--mkf-accent, #2563eb); }

.mkf-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--mkf-text-main, #111827);
  margin-bottom: 10px;
}

.mkf-footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mkf-footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mkf-footer-logo-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

.mkf-footer-logo-subtitle {
  font-size: 13px;
  color: var(--mkf-text-muted, #6b7280);
}

/* === Адаптивность (footer only) === */
@media (max-width: 700px) {
  .mkf-footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .mkf-footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}
