site-footer {
  display: block;
  width: 100%;
  max-width: 1300px;
  margin: 5px auto 0;
}

.home-layout > site-footer {
  grid-column: 1 / -1;
}

.site-footer {
  overflow: hidden;
  color: #212121;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(17, 17, 47, 0.06);
  font-family: Arial, Helvetica, sans-serif;
}

.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 170px;
  min-height: 100px;
  padding: 10px 24px;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  position: static;
  grid-column: 1;
  justify-self: start;
  display: flex;
  width: 170px;
  height: 35px;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-links {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 0;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #212121;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  padding: 0 12px;
}

.footer-links a + a { border-left: 1px solid #dfe0e7; }
html[data-home-theme=dark] .footer-links a + a { border-left-color: #394453; }
@media (max-width: 1100px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .footer-links { grid-column: 1; }
}

.footer-links a:hover {
  color: #ed0874;
}

.footer-bottom {
  display: flex;
  min-height: 42px;
  padding: 8px 24px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #dfe0e7;
}

.footer-bottom p {
  display: flex;
  width: 100%;
  margin: 0;
  align-items: center;
  justify-content: center;
  color: #515151;
  font-size: 12px;
  text-align: center;
}

.footer-heart {
  width: 16px;
  height: 16px;
  margin-left: 7px;
  background-color: #ed0874;
  -webkit-mask: url("icons/like.svg") center / contain no-repeat;
  mask: url("icons/like.svg") center / contain no-repeat;
}

.footer-logo:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(237, 8, 116, 0.35);
  outline-offset: 3px;
}
