@charset "utf-8";

/* Korean PC common header shell */
header.head,
header.head *,
nav.gnb,
nav.gnb * { box-sizing: border-box; }

header#l-content.head {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: min(1200px, calc(100% - 40px));
  height: 56px;
  align-items: center;
  margin: 0 auto;
  border-bottom: 0;
  background: var(--pc-ui-surface, #fff);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

header.head .l__common-sns {
  display: flex;
  width: auto !important;
  align-items: center;
  gap: 6px;
  margin: 0;
}

header.head .l__common-sns > span,
header.head .l__common-sns > span > a {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

header.head .l__common-sns > span img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

header.head .l__common-sns > span > a:hover { transform: translateY(-1px); }
header.head .l__common-sns > span > a:focus-visible {
  outline: 3px solid var(--pc-ui-focus-ring, rgb(0 149 222 / 20%));
  outline-offset: 2px;
}

header.head .l__common-member {
  display: flex;
  width: auto;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  margin: 0 20px;
  white-space: nowrap;
}

header.head .l__common-member > a {
  margin: 0;
  padding: 8px 0;
  color: var(--pc-ui-muted, #495057);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

header.head .l__common-member > a:not(:nth-child(1))::before {
  padding: 0 8px;
  color: var(--pc-ui-line, #dee2e6);
  content: "·";
  font-size: 13px;
}

header.head .l__common-member > a:hover,
header.head .l__common-member > a:focus-visible { color: var(--pc-ui-brand-text, #0077b8); }
header.head .l__common-member > a:focus-visible {
  outline: 2px solid var(--pc-ui-brand, #0095de);
  outline-offset: 2px;
  border-radius: 4px;
}

header.head .l__common-quickmenu { position: relative; display: block; }
header.head .l__common-quickmenu > ul {
  display: grid;
  width: auto;
  grid-template-columns: repeat(3, 44px);
  gap: 6px;
}

html > body header.head .l__common-quickmenu > ul > li {
  position: relative;
  display: block;
  float: none;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 12px;
  line-height: 44px;
}

html > body header.head .l__common-quickmenu > ul > li.js__toggle-menu {
  overflow: visible;
}

header.head .l__common-quickmenu > ul > li > a,
header.head .l__common-quickmenu > ul > li > .site-search-trigger,
header.head .l__common-quickmenu > ul > li > .pc-site-map-menu__trigger {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pc-ui-on-action, #fff);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: transform .14s ease;
}

header.head .l__common-quickmenu > ul > li:hover > a,
header.head .l__common-quickmenu > ul > li:hover > .site-search-trigger,
header.head .l__common-quickmenu > ul > li:hover > .pc-site-map-menu__trigger {
  transform: translateY(-1px);
}
.pc-site-map-menu__trigger-icon {
  width: auto;
  height: auto;
  font-size: 20px;
  line-height: 1;
}
header.head .l__common-quickmenu > ul > li > a:focus-visible,
header.head .l__common-quickmenu > ul > li > .site-search-trigger:focus-visible,
header.head .l__common-quickmenu > ul > li > .pc-site-map-menu__trigger:focus-visible {
  outline: 3px solid var(--pc-ui-on-action, #fff);
  outline-offset: -5px;
  border-radius: 10px;
}

header.head .l__common-quickmenu .jq-search {
  top: calc(100% + 8px);
  border-radius: 16px;
}

.pc-site-map-menu__panel[hidden] { display: none !important; }

.pc-site-map-menu__panel {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  right: 0;
  width: min(1200px, calc(100vw - 40px));
  max-height: calc(100vh - 76px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  contain: layout paint;
  border: 1px solid var(--pc-ui-line, #dee2e6);
  border-radius: 16px;
  background: var(--pc-ui-surface, #fff);
  box-shadow: 0 24px 64px rgb(33 37 41 / 22%);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .16s ease, transform .16s ease;
}

.pc-site-map-menu.is-open .pc-site-map-menu__panel {
  opacity: 1;
  transform: translateY(0);
}

.pc-site-map-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--pc-ui-line-soft, #e9ecef);
  background: var(--pc-ui-surface, #fff);
}

.pc-site-map-menu__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--pc-ui-brand-text, #0077b8);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.3;
}

.pc-site-map-menu__header h2 {
  margin: 0;
  color: var(--pc-ui-ink, #212529);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.pc-site-map-menu__header p {
  margin: 4px 0 0;
  color: var(--pc-ui-muted, #495057);
  font-size: 13px;
  line-height: 1.5;
}

.pc-site-map-menu__header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.pc-site-map-menu__primary,
.pc-site-map-menu__close {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.pc-site-map-menu__primary:link,
.pc-site-map-menu__primary:visited {
  border: 1px solid var(--pc-ui-action-primary, #0077b8);
  background: var(--pc-ui-action-primary, #0077b8);
  color: var(--pc-ui-on-action, #fff);
}

.pc-site-map-menu__close {
  border: 1px solid var(--pc-ui-line, #dee2e6);
  background: var(--pc-ui-surface, #fff);
  color: var(--pc-ui-text, #343a40);
  cursor: pointer;
}

.pc-site-map-menu__primary:hover {
  border-color: var(--pc-ui-action-pressed, #043b8b);
  background: var(--pc-ui-action-pressed, #043b8b);
  color: var(--pc-ui-on-action, #fff);
}

.pc-site-map-menu__close:hover {
  border-color: var(--pc-ui-brand, #0095de);
  background: var(--pc-ui-brand-soft, #e7f5fe);
  color: var(--pc-ui-brand-text, #0077b8);
}

.pc-site-map-menu__primary:focus-visible,
.pc-site-map-menu__close:focus-visible,
.pc-site-map-menu__link:focus-visible {
  outline: 3px solid var(--pc-ui-brand, #0095de);
  outline-offset: 2px;
}

.pc-site-map-menu__navigation {
  padding: 20px;
  background: var(--pc-ui-canvas, #f8f9fa);
}

.pc-site-map-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-site-map-menu__group {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--pc-ui-line, #dee2e6);
  border-radius: 12px;
  background: var(--pc-ui-surface, #fff);
}

.pc-site-map-menu__group h3 {
  margin: 0;
  color: var(--pc-ui-ink, #212529);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.pc-site-map-menu__group > p {
  min-height: 40px;
  margin: 4px 0 12px;
  color: var(--pc-ui-muted, #495057);
  font-size: 12px;
  line-height: 1.6;
}

.pc-site-map-menu__group > ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-site-map-menu__link:link,
.pc-site-map-menu__link:visited {
  position: relative;
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 9px 28px 9px 10px;
  border-radius: 8px;
  color: var(--pc-ui-text, #343a40);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.pc-site-map-menu__link::after {
  position: absolute;
  right: 10px;
  color: var(--pc-ui-subtle, #868e96);
  content: "›";
  font-size: 17px;
  font-weight: 400;
}

.pc-site-map-menu__link[target="_blank"]::after { content: "↗"; font-size: 13px; }
.pc-site-map-menu__link:hover,
.pc-site-map-menu__link:focus-visible {
  background: rgba(0, 149, 222, .05);
  color: var(--pc-ui-brand-text, #0077b8);
}

.pc-site-map-menu__link[aria-current="page"] {
  background: rgba(0, 149, 222, .08);
  box-shadow: none;
  color: var(--pc-ui-brand-text, #0077b8);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .pc-site-map-menu__panel { max-height: calc(100vh - 140px); }
  .pc-site-map-menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

nav.gnb {
  position: relative;
  z-index: 40;
  display: block;
  width: 100%;
  height: 72px;
  background: var(--pc-ui-action-primary, #0077b8);
  box-shadow: 0 8px 24px rgb(4 59 139 / 14%);
}

nav.gnb::before,
nav.gnb::after { display: none; }

nav.gnb > div#l-content {
  width: min(1200px, calc(100% - 40px)) !important;
  height: 72px;
  margin: 0 auto;
}

nav.gnb ul.l__gnb {
  display: grid;
  width: 100%;
  height: 72px;
  grid-template-columns: 190px repeat(6, minmax(0, 1fr));
  gap: 4px;
}

body nav.gnb ul.l__gnb > li,
body nav.gnb ul.l__gnb > li.logo {
  display: block;
  width: auto;
  min-width: 0;
  height: 72px;
}

body nav.gnb ul.l__gnb > li > a {
  display: flex;
  width: 100%;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
  padding: 0 10px;
  border-radius: 0;
  color: var(--pc-ui-on-action, #fff);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: box-shadow .16s ease;
}

body nav.gnb ul.l__gnb > li.logo > a {
  height: 72px;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 0;
  padding-right: 0;
  padding-left: 0;
}

body nav.gnb ul.l__gnb > li.logo img { width: 132px; height: auto; }

body nav.gnb ul.l__gnb > li:not(.logo) > a:hover {
  background: transparent;
  box-shadow: none;
}

body nav.gnb ul.l__gnb > li:not(.logo) > a:focus-visible,
body nav.gnb ul.l__gnb > li.active > a {
  background: transparent;
  box-shadow: none;
}

body nav.gnb ul.l__gnb > li > a:focus-visible {
  outline: 2px solid var(--pc-ui-on-action, #fff);
  outline-offset: -5px;
}

.pc-customer-center-menu__panel {
  top: 68px;
  width: 600px;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgb(31 43 58 / 20%);
}

.pc-customer-center-menu__panel::before { right: 72px; }
.pc-customer-center-menu__group-title { margin-bottom: 4px; padding: 0 10px 8px; }
.pc-customer-center-menu__group a { min-height: 40px; }

html.pc-site-map-menu-open .pc-customer-center-menu:hover > .pc-customer-center-menu__panel,
html.pc-site-map-menu-open .pc-customer-center-menu.is-open > .pc-customer-center-menu__panel,
html.pc-customer-menu-guarded .pc-customer-center-menu:hover > .pc-customer-center-menu__panel,
html.pc-customer-menu-guarded .pc-customer-center-menu.is-open > .pc-customer-center-menu__panel {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

@media (max-width: 1100px) {
  header.head .l__common-member { margin-right: 12px; margin-left: 12px; }
  header.head .l__common-member > a { font-size: 12px; }
  header.head .l__common-member > a:not(:nth-child(1))::before { padding: 0 5px; }
  nav.gnb ul.l__gnb { grid-template-columns: 170px repeat(6, minmax(0, 1fr)); }
  body nav.gnb ul.l__gnb > li > a {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  header.head .l__common-sns > span > a,
  header.head .l__common-quickmenu > ul > li > a,
  header.head .l__common-quickmenu > ul > li > .site-search-trigger,
  header.head .l__common-quickmenu > ul > li > .pc-site-map-menu__trigger,
  body nav.gnb ul.l__gnb > li > a,
  .pc-site-map-menu__panel { transition: none; }
}
