/* 공통 레이아웃 · 푸터 (landing.css에서 분리) */
html {
  scroll-behavior: smooth;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  height: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

#wrapper,
#container,
#container .shop-content {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0 !important;
  box-sizing: border-box;
}

/* GnuBoard shop 기본 CSS의 min-width:1200px / width:1200px 가로 스크롤 방지 */
#hd,
#wrapper,
#ft {
  min-width: 0 !important;
  width: 100%;
  max-width: 100%;
}

#wrapper #container {
  width: 100% !important;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bar {
  width: 100%;
  max-width: 100%;
  position: relative;
  left: auto;
  margin-top: auto;
  margin-left: 0;
  box-sizing: border-box;
  border-top: 1px solid #e5e5e5;
  flex-shrink: 0;
  background: #fff;
}

.footer-bar .footer {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 70px 16px 28px;
  font-family: var(--font-pretendard);
  color: #222;
  background: transparent;
}

.footer-bar .footer-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  height: auto;
  gap: 24px;
}

.footer-bar .footer-logo {
  display: block;
  width: 132px;
  height: auto;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
}

.footer-bar .footer-contact-all {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.footer-bar .footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.footer-bar .footer-contact-item {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  white-space: nowrap;
  border: 0;
  margin: 0;
  padding: 0;
}

.footer-bar .footer-contact-item + .footer-contact-item {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid #d8d8d8;
}

.footer-bar .footer-contact-item-title {
  font-weight: 600;
  margin-right: 6px;
}

.footer-bar .copyright {
  font-size: 12px;
  color: #333;
  margin: 0;
}

.footer-bar .footer-right {
  display: flex;
  gap: 110px;
  margin-right: 40px;
}

.footer-bar .footer-column h3 {
  font-size: 24px;
  font-weight: 700;
}

.footer-bar .footer-column p {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
  color: #333;
}

@media (max-width: 768px) {
  .footer-bar .footer-left {
    width: 100%;
    min-height: 0;
  }

  .footer-bar .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .footer-bar .footer-contact-item {
    white-space: normal;
  }

  .footer-bar .footer-contact-item + .footer-contact-item {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .footer-bar .footer-right {
    gap: 10px;
    margin-right: 0;
  }

  .footer-bar .footer-column {
    gap: 0;
  }

  .footer-bar .footer-column h3 {
    margin: initial;
  }

  .footer-bar .footer {
    display: grid;
    gap: 32px;
  }
}
