.site-footer {
  --sf-border: rgba(18, 38, 58, 0.1);
  --sf-text: #12263a;
  --sf-muted: #5a6a85;
  --sf-link: #4a5a6b;
  --sf-link-hover: #0077cc;
  margin-top: auto;
  background: #fff;
  color: var(--sf-text);
  border-top: 1px solid var(--sf-border);
  width: 100%;
}

.site-footer-main {
  padding: 2rem 0 1.5rem;
}

.site-footer--compact .site-footer-main {
  padding: 1.5rem 0 1rem;
}

.site-footer-brand {
  margin-bottom: 0.75rem;
}

.site-footer-brand img {
  height: 24px;
  width: auto;
  display: block;
}

.site-footer-tagline {
  color: var(--sf-muted);
  font-size: 0.875rem;
  line-height: 1.55;
  max-width: 26rem;
  margin-bottom: 0.75rem;
}

.site-footer-contact a {
  color: var(--sf-link);
  text-decoration: none;
  font-size: 0.875rem;
}

.site-footer-contact a:hover {
  color: var(--sf-link-hover);
}

.site-footer-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sf-muted);
  margin-bottom: 0.75rem;
}

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

.site-footer-links li + li {
  margin-top: 0.4rem;
}

.site-footer-links a {
  color: var(--sf-link);
  text-decoration: none;
  font-size: 0.875rem;
}

.site-footer-links a:hover {
  color: var(--sf-link-hover);
}

.site-footer-legal {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--sf-muted);
}

.site-footer-legal strong {
  color: var(--sf-text);
  font-weight: 600;
}

.site-footer-legal .sf-inn {
  margin-top: 0.25rem;
}

.site-footer-bottom {
  border-top: 1px solid var(--sf-border);
  padding: 0.85rem 0 1rem;
  font-size: 0.8125rem;
  color: var(--sf-muted);
}

.site-footer-bottom a {
  color: var(--sf-muted);
  text-decoration: none;
}

.site-footer-bottom a:hover {
  color: var(--sf-link-hover);
}

.site-footer-marketplaces {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--sf-muted);
}

.site-footer-mp {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.site-footer-mp img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.site-footer-mp a {
  color: inherit;
  text-decoration: none;
}

.site-footer-mp a:hover {
  color: var(--sf-link-hover);
}

.site-footer-inner {
  max-width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.content {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 70px);
}

.content > .container {
  flex: 1 0 auto;
}

/* Kadso оставляет 65px снизу под старый absolute-footer — убираем */
.content-page {
  padding-bottom: 0 !important;
  min-height: calc(100vh - 70px);
}

.site-footer {
  margin-bottom: 0;
}

.site-footer-bottom {
  padding-bottom: 0.75rem;
}

@media (min-width: 992px) {
  .site-footer-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .site-footer-main {
    padding-top: 1.5rem;
  }
  .site-footer-col + .site-footer-col {
    margin-top: 1.25rem;
  }
}
