/* Footer base */

.ps-site-footer {
  width: 100%;
  padding: 36px 0 18px;
  background: var(--ps-bg);
  border-top: 1px solid var(--ps-border);
  color: var(--ps-muted);
  font-family: var(--ps-font);
}

.ps-site-footer__inner {
  width: min(var(--ps-container), calc(100% - 48px));
  margin: 0 auto;
}

.ps-site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.1fr 1fr 0.9fr;
  gap: 18px 20px;
  padding-bottom: 22px;
  align-items: stretch;
}

.ps-site-footer__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ps-site-footer__logo {
  display: inline-flex;
  margin-bottom: 8px;
  text-decoration: none !important;
}

.ps-site-footer__logo-img {
  height: 52px;
  width: auto;
  max-width: 240px;
}

.ps-site-footer__logo-text {
  color: var(--ps-heading);
  font-size: 16px;
  font-weight: 700;
}

.ps-site-footer__text {
  margin: 0;
  max-width: 240px;
  color: var(--ps-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ps-site-footer__title {
  margin: 0 0 10px;
  color: var(--ps-heading);
  font-size: 14px;
  font-weight: 600;
}

.ps-site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-site-footer__list li {
  margin: 0 0 6px;
}

.ps-site-footer__list a {
  color: var(--ps-muted) !important;
  font-size: 13px !important;
  text-decoration: none !important;
}

.ps-site-footer__list a:hover {
  color: var(--ps-primary) !important;
}

.ps-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--ps-border);
}

.ps-site-footer__copy,
.ps-site-footer__visits {
  margin: 0;
  color: var(--ps-muted);
  font-size: 12px;
}

.ps-site-footer__copy a {
  color: var(--ps-heading) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.ps-site-footer__copy a:hover {
  color: var(--ps-primary) !important;
}

.ps-site-footer__sep {
  margin: 0 6px;
  color: var(--ps-muted);
}

.ps-mz-wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #111111;
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.28);
  text-decoration: none !important;
}

.ps-mz-wa-float:hover {
  background: var(--ps-primary);
  color: #fff;
}

.ps-mz-wa-float svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 1024px) {
  .ps-site-footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .ps-site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .ps-site-footer__brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

  .ps-site-footer__logo {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .ps-site-footer__logo-img {
    height: 56px;
    max-width: 260px;
  }

  .ps-site-footer__text {
    max-width: 320px;
    margin: 0 auto;
  }

  .ps-site-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
