/* Shared customer-site Footer.
   Loaded by both the main-site shell and the frozen Materials V3.3.0 integration. */
.site-footer {
  display: grid;
  min-height: 0;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  align-items: start;
  justify-content: stretch;
  gap: 36px;
  padding: 62px max(56px, calc((100% - var(--max, 1320px)) / 2)) 34px;
  border-top: 1px solid var(--line-dark, rgba(244, 243, 239, 0.16));
  background: var(--black, #09090a);
  color: var(--muted-light, var(--gray-light, #c6c3bd));
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: normal;
}

html[lang="zh-CN"] .site-footer {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.72;
}

.site-footer > div {
  min-width: 0;
}

.footer-brand img {
  width: 170px;
  height: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 12px;
}

.site-footer h2 {
  color: var(--gold-light, var(--gold, #c4a26d));
  font-size: 15px;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 7px 0;
}

.site-footer a:hover {
  color: var(--white, var(--cream, #f4f3ef));
}

.footer-inquiry {
  width: max-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--gold-light, var(--gold, #c4a26d));
  background: transparent;
  color: var(--gold-light, var(--gold, #c4a26d));
  font-weight: 800;
  cursor: pointer;
}

.footer-social {
  margin-top: 28px;
}

.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.site-footer a.footer-social-link {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(247, 245, 240, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--white, var(--cream, #f4f3ef));
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.footer-social-link svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-social-link .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer a.footer-social-link:hover,
.site-footer a.footer-social-link:focus-visible {
  border-color: rgba(233, 213, 173, 0.7);
  background: rgba(198, 33, 0, 0.16);
  color: var(--gold-light, var(--gold, #c4a26d));
  transform: translateY(-1px);
}

.site-footer a.footer-social-link:focus-visible {
  outline: 2px solid var(--gold-light, var(--gold, #c4a26d));
  outline-offset: 3px;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark, rgba(244, 243, 239, 0.16));
  font-size: 12px;
}

@media (max-width: 1000px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: minmax(0, 1fr);
    padding: 52px 20px calc(136px + env(safe-area-inset-bottom, 0px));
  }

  .footer-brand img {
    width: 150px;
  }

  .page-materials-v3.has-favorites > .site-footer,
  .page-materials-v3.has-moodboard-dock > .site-footer {
    min-height: 0;
    padding: 52px 20px calc(136px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a.footer-social-link {
    transition: none;
  }
}
