/* 공개 사이트 공통 규격. 페이지별 스타일 뒤에서 읽는다. */
:root {
  --lt-brand: #1a365d;
  --lt-brand-strong: #0f2442;
  --lt-shell-height: 80px;
  --lt-shell-font: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html:has(body > header.header) { scroll-padding-top: 100px; }
body:has(> header.header) { padding-top: var(--lt-shell-height) !important; }
body > header.header,
body > header.header.scrolled {
  box-sizing: border-box;
  position: fixed;
  inset: 0 0 auto;
  transform: none;
  width: 100%;
  max-width: none;
  height: var(--lt-shell-height);
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: #1e293b;
  font: 400 16px/1.5 var(--lt-shell-font);
  letter-spacing: normal;
  z-index: 9999;
}
body > header.header .header-container {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1168px;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}
body > header.header .logo {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 144px;
  width: 144px;
  height: 48px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
body > header.header .logo img {
  flex: 0 0 180px;
  width: 180px;
  min-width: 180px;
  max-width: none;
  height: 180px;
  margin: 0;
  object-fit: contain;
}
body > header.header .nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 2px;
  margin: 0;
  padding: 0;
  overflow: visible;
}
body > header.header .nav-menu > a,
body > header.header .dropdown-toggle {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  padding: 8px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  font: 500 14px/1.5 var(--lt-shell-font);
  white-space: nowrap;
  text-decoration: none;
}
body > header.header .header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  margin: 0;
}
body > header.header .nav-menu > a:hover,
body > header.header .dropdown-toggle:hover { background: #f1f5f9; color: #1a365d; }
body > header.header .dropdown-content:not(.show) { visibility: hidden; opacity: 0; pointer-events: none; }
body > header.header .dropdown-content.show { visibility: visible; opacity: 1; pointer-events: auto; }
body > header.header .header-actions > a,
body > header.header .lang-toggle {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #1a365d;
  box-shadow: none;
  font: 700 14px/1.5 var(--lt-shell-font);
  white-space: nowrap;
  text-decoration: none;
}
body > header.header .header-actions > a.purchase-btn {
  background: #1a365d;
  border-color: #1a365d;
  color: #fff;
}
body > header.header .lt-purchase-icon,
body > header.header .lang-icon { display: none; }
body > header.header .mobile-toggle { display: none; }
body > header.header .mobile-menu-content {
  box-sizing: border-box;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin: 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 12px 20px rgb(15 23 42 / 8%);
  font: 400 16px/1.5 var(--lt-shell-font);
  max-height: calc(100dvh - var(--lt-shell-height));
  overflow-y: auto;
}
body > header.header a:focus-visible,
body > header.header button:focus-visible {
  outline: 3px solid #1a365d;
  outline-offset: 3px;
}
@media (max-width: 1199px) {
  :root { --lt-shell-height: 72px; }
  body > header.header .nav-menu { display: none; }
  body > header.header .header-actions > a.purchase-btn { display: none; }
  body > header.header .mobile-toggle {
    box-sizing: border-box;
    display: flex;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
  }
  body > header.header .mobile-toggle span { background: #1a365d; }
  body > header.header .mobile-nav-menu .purchase-btn { display: flex; }
}
@media (max-width: 600px) {
  body > header.header .header-container { padding-inline: 16px; gap: 8px; }
  body > header.header .logo { flex-basis: 120px; width: 120px; }
  body > header.header .logo img { flex-basis: 156px; width: 156px; min-width: 156px; height: 156px; }
  body > header.header .header-actions { gap: 4px; }
  body > header.header .header-actions > a,
  body > header.header .lang-toggle { padding-inline: 8px; font-size: 13px; }
  body > header.header .lt-purchase-label { font-size: inherit; }
  body > header.header .header-actions > .lt-purchase-btn { display: none; }
  body > header.header .header-actions > .store-btn { display: none; }
}
