/* ============================================================
   ZTACOM GNB v3 — 메인 페이지(신규 index)와 동일한 정렬/치수
   적용: 공통 헤더(head.php)에 아래 2줄
     <link rel="stylesheet" href="/gnb/ztacom-gnb.css">
     <script src="/gnb/ztacom-gnb.js" defer></script>
   ============================================================ */

@font-face{
  font-family:"GmarketSansMedium";
  src:url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff") format("woff");
  font-weight:400;font-style:normal;font-display:swap;
}

:root{
  --zta-ink:#0A1330;
  --zta-blue:#0069B4;
  --zta-line:#E2E6EC;
  --zta-label:"GmarketSansMedium","Noto Sans KR",sans-serif;
}

/* ---------- 컨테이너 정렬 (메인과 같은 1400px 기준) ---------- */
/* 왼쪽 여백 = (뷰포트 - 1400)/2 + 10  : 메인 .wrap 과 동일 */
#header .logo{ left: calc(max(0px, (100% - 1400px) / 2) + 10px); }
/* 로고: 메인 페이지(.brandmark img height:29px)와 동일 크기 */
#header .logo img{height:29px!important;width:auto!important;max-width:none;display:block}
@media (max-width:768px){ #header .logo img{height:25px!important} }

/* ---------- 데스크톱 메뉴 ---------- */
#header #m_gnb{
  position:absolute;
  /* 오른쪽 끝 = 컨테이너 오른쪽 - (EN 알약 46px + 간격 10px) */
  right: calc(max(0px, (100% - 1400px) / 2) + 10px + 66px);
  top:50%; transform:translateY(-50%);
  display:flex!important;align-items:center;gap:clamp(0px,.6vw,6px);
  float:none;margin:0;padding:0;list-style:none;z-index:1000;
}
#header #m_gnb > li{
  float:none!important;position:relative;margin:0;padding:0;list-style:none;
}
#header #m_gnb > li > a{
  display:block;padding:11px clamp(8px,1.1vw,15px);
  font-family:var(--zta-label);font-size:.92rem;font-weight:400;
  letter-spacing:-0.01em;color:var(--zta-ink);white-space:nowrap;line-height:1.3;
}
#header #m_gnb > li > a:hover{color:var(--zta-ink)}
#header #m_gnb > li.on > a{font-weight:400;color:var(--zta-blue)}
#header #m_gnb > li.is-vital > a{color:var(--zta-blue)}
#header #m_gnb > li.is-vital > a:hover{color:var(--zta-blue)}

/* 새창 화살표 : 메인 .tag-ext 와 동일 */
#header #m_gnb .zta-ext-mark{
  font-family:var(--zta-label);font-size:.72em;margin-left:3px;
  color:inherit;opacity:.65;display:inline-block;transform:translateY(-1px);
}

/* ---------- 드롭다운 : 메인 .drop 과 동일 ---------- */
#header #m_gnb .lnb{
  position:absolute;top:calc(100% + 4px);left:50%;
  transform:translateX(-50%);
  min-width:186px;width:max-content;max-width:280px;
  margin:0;padding:8px;list-style:none;text-align:left;
  background:#fff;border:1px solid var(--zta-line);border-radius:3px;
  box-shadow:0 26px 50px -30px rgba(10,19,48,.45);
  display:block;opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .22s ease,transform .22s ease,visibility .22s;
}
#header #m_gnb > li:hover .lnb,
#header #m_gnb > li:focus-within .lnb{
  opacity:1;visibility:visible;pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
#header #m_gnb .lnb > li{margin:0;padding:0;list-style:none}
#header #m_gnb .lnb a{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:9px 12px;border-radius:2px;
  font-family:var(--zta-label);font-size:.85rem;font-weight:400;
  color:var(--zta-ink);white-space:nowrap;line-height:1.4;
  transition:background .18s,color .18s;
}
#header #m_gnb .lnb a:hover{background:#F1F4EC;color:#263A79}
/* 바이탈링 하위 : 파란 상단선 + 파란 호버 */
#header #m_gnb > li.is-vital .lnb{border-top:2px solid var(--zta-blue)}
#header #m_gnb > li.is-vital .lnb a:hover{background:#EDF5FC;color:var(--zta-blue)}
#header #m_gnb .lnb .zta-ext-mark{margin-left:6px;font-size:.72em;opacity:.65}

/* 하위 메뉴 도메인 배지 : 메인과 동일하게 표시 */
#header #m_gnb .zta-ext-badge{
  font-family:var(--zta-label);font-size:.62rem;letter-spacing:.04em;
  color:#8C93A6;border:1px solid #E3E7EE;border-radius:2px;
  padding:2px 5px;white-space:nowrap;flex:0 0 auto;
}
#header #m_gnb .lnb a:hover .zta-ext-badge{color:var(--zta-blue);border-color:#C9DDF0}

/* ---------- 언어 선택 : 메인 .lang 과 동일한 크기/위치 ---------- */
#header .langs{
  position:absolute;
  right: calc(max(0px, (100% - 1400px) / 2) + 10px);
  top:50%; transform:translateY(-50%);
  width:56px;padding:0;font-size:.72rem;
  border:1px solid currentColor;border-radius:999px;background:transparent;
  text-align:center;line-height:1;overflow:hidden;
}
#header .langs > div{position:relative;padding:6px 0}
#header .langs a{
  display:none;padding:0;width:100%;
  font-family:var(--zta-label);font-size:.72rem;letter-spacing:.12em;
  color:var(--zta-ink);opacity:.6;line-height:1.6;
}
#header .langs a.on{display:block;opacity:1}
#header .langs:hover{overflow:visible;background:#fff;border-radius:10px}
#header .langs:hover a{display:block}
#header .langs a:hover{opacity:1}
#header .langs i{display:none}

/* ============================================================
   헤더 배경을 메인과 같은 네이비로 (흰색 반전 로고용)
   흰 배경으로 되돌리려면 ztacom-gnb.js 의 HEAD_DARK = false
   ============================================================ */
/* 흰 헤더 : 배너와 경계를 주는 얇은 선 */
#header.zta-light-head{border-bottom:1px solid #E8EBF0}

#header.zta-dark-head{
  background:#0A1330;
  box-shadow:0 1px 0 rgba(255,255,255,.08);
}
/* 로고 : 원본(네이비+그린) -> 흰색 반전 (메인과 동일) */
#header.zta-dark-head .logo img{filter:brightness(0) invert(1)}
/* 메뉴 글자 */
#header.zta-dark-head #m_gnb > li > a{color:rgba(255,255,255,.86)}
#header.zta-dark-head #m_gnb > li > a:hover{color:#fff}
#header.zta-dark-head #m_gnb > li.on > a{color:#fff}
#header.zta-dark-head #m_gnb > li.is-vital > a{color:#82C8F5}
#header.zta-dark-head #m_gnb > li.is-vital > a:hover{color:#A9D9F7}
/* 언어 선택 */
#header.zta-dark-head .langs{color:#fff;background:transparent}
#header.zta-dark-head .langs a{color:#fff;opacity:.62}
#header.zta-dark-head .langs a:hover{opacity:1}
#header.zta-dark-head .langs:hover{background:#fff}
#header.zta-dark-head .langs:hover a{color:#0A1330;opacity:.62}
#header.zta-dark-head .langs:hover a:hover{opacity:1}
/* 모바일 메뉴 버튼 */
#header.zta-dark-head #nav_btn{color:#fff}
/* 모바일 전체메뉴는 흰 배경 유지 (열었을 때 가독성) */
#header.zta-dark-head #all_menu,
#header.zta-dark-head #all_nav{background:#fff}

/* ---------- 모바일 전체메뉴 (#all_gnb) ---------- */
#all_gnb > li{position:relative;border-bottom:1px solid #eee;margin:0;padding:0;list-style:none;float:none;width:auto}
#all_gnb > li > a{
  display:block;padding:16px 60px 16px 20px;
  font-family:var(--zta-label);font-size:1.02rem;font-weight:400;color:var(--ink,#0A1330);
}
#all_gnb > li.is-vital > a{color:var(--zta-blue)}
#all_gnb .lnb{display:none;margin:0;padding:0 0 10px;list-style:none;background:#f7f8fa}
#all_gnb .lnb > li{margin:0;padding:0;list-style:none}
#all_gnb .lnb a{
  display:flex;align-items:center;gap:6px;
  padding:12px 32px;font-size:.95rem;font-weight:400;color:#444;
}
#all_gnb .lnb a:active{background:#eef0f4}
#all_gnb .zta-ext-mark{font-size:.72em;opacity:.65}
#all_gnb .zta-ext-badge{
  margin-left:auto;font-size:11px;color:#8C93A6;
  border:1px solid #E3E7EE;border-radius:2px;padding:1px 5px;
  background:#fff;white-space:nowrap;
}
#all_gnb .zta-sub-toggle{
  position:absolute;right:0;top:0;width:56px;height:53px;
  background:none;border:0;cursor:pointer;
  font-size:22px;line-height:1;color:#888;
}
#all_gnb > li.open .zta-sub-toggle{color:var(--zta-blue)}

/* ============================================================
   서브 페이지 푸터 — 메인(index)과 동일한 푸터
   기존 #footer 마크업은 스크립트가 교체합니다.
   ============================================================ */
#footer.zta-ft{
  background:#2b2b2b;color:#fff;font-weight:300;font-size:15px;line-height:27px;
  margin-top:0;padding:0;
}
#footer.zta-ft .container{max-width:1400px;margin:0 auto;padding:0 10px;position:relative}
#footer.zta-ft .container>div{padding:30px 0;position:relative}
#footer.zta-ft .container>div:first-of-type{border-bottom:1px solid #424242}
#footer.zta-ft .container>div:last-of-type{padding:30px 0}
#footer.zta-ft p{margin:0;word-break:keep-all}
#footer.zta-ft .zta-ft-brand{font-size:13px;color:#9a9a9a;line-height:1.7;margin-bottom:14px!important}
#footer.zta-ft .zta-ft-brand b{color:#d7d7d7;font-weight:500}

#footer.zta-ft .sns{
  position:absolute;right:0;top:50%;transform:translateY(-50%);
  display:flex;align-items:center;gap:10px;float:none;margin:0;text-align:left;
}
#footer.zta-ft .sns a{display:block;float:none!important;margin:0!important;line-height:0}
#footer.zta-ft .sns img{width:26px;height:26px;display:block}
#footer.zta-ft .ft-contact{
  padding:6px 22px!important;text-align:center;background:#37cf37;color:#fff!important;
  font-size:16px;font-weight:500;border-radius:40px;line-height:27px;
  transition-duration:.2s;text-decoration:none;line-height:27px;
}
#footer.zta-ft .ft-contact:hover{background:#fff;color:#37cf37!important}

#footer.zta-ft .ft-bt .contents-box{
  display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:baseline;
}
#footer.zta-ft .ft-bt .copy{float:none!important;color:#fff}
#footer.zta-ft .ft-terms{
  float:none!important;display:flex;flex-wrap:wrap;gap:0 14px;
  justify-content:flex-end;font-size:13px;
}
#footer.zta-ft .ft-terms a{color:#656565;font-weight:400;word-break:keep-all;text-decoration:none;transition:color .2s;margin:0!important}
#footer.zta-ft .ft-terms a:hover{color:#fff}

@media (max-width:768px){
  #footer.zta-ft{font-size:14px;line-height:25px}
  #footer.zta-ft .sns{position:static;transform:none;margin-top:20px;justify-content:center;flex-wrap:wrap}
  #footer.zta-ft .ft-bt .contents-box{justify-content:center;text-align:center}
  #footer.zta-ft .ft-terms{justify-content:center}
  #footer.zta-ft .container>div{padding:26px 0}
}

/* ============================================================
   content.php(약관·정책) 본문 — 읽기 좋게 정리
   실제 마크업: <div class="ctt_privacy"><div class="container">
   ============================================================ */
.ctt_privacy{max-width:1000px;margin:0 auto;padding:44px 0 70px}
.ctt_privacy .container{padding:0 20px}
.ctt_privacy,
.ctt_privacy p,
.ctt_privacy div,
.ctt_privacy li,
.ctt_privacy td{font-size:15px;line-height:1.9;color:#333;word-break:keep-all}
.ctt_privacy h1,.ctt_privacy h2,.ctt_privacy h3,.ctt_privacy h4{
  font-family:"GmarketSansMedium","Noto Sans KR",sans-serif;color:#0A1330;line-height:1.45;
  margin:0 0 14px;
}
.ctt_privacy h1{font-size:26px;text-align:center;padding-bottom:22px;margin-bottom:30px;border-bottom:2px solid #0A1330}
.ctt_privacy h2{font-size:20px;margin-top:44px;padding-bottom:9px;border-bottom:1px solid #E2E6EC}
.ctt_privacy h3{font-size:16px;margin-top:26px;color:#263A79}
.ctt_privacy p{margin:0 0 12px}
.ctt_privacy ul,.ctt_privacy ol{margin:0 0 14px;padding-left:20px}
.ctt_privacy li{margin:0 0 6px;list-style:disc}
.ctt_privacy ol li{list-style:decimal}
.ctt_privacy table{width:100%;border-collapse:collapse;margin:0 0 18px;font-size:14px}
.ctt_privacy th,.ctt_privacy td{border:1px solid #E2E6EC;padding:10px;vertical-align:top;text-align:left}
.ctt_privacy th{background:#F7F8FA;font-weight:500;color:#0A1330}
.ctt_privacy a{color:#0069B4;text-decoration:underline}
.ctt_privacy b,.ctt_privacy strong{color:#0A1330}

@media (max-width:768px){
  .ctt_privacy{padding:28px 0 46px}
  .ctt_privacy,.ctt_privacy p,.ctt_privacy div,.ctt_privacy li{font-size:14px;line-height:1.85}
  .ctt_privacy h1{font-size:21px}
  .ctt_privacy h2{font-size:18px;margin-top:32px}
}

/* content.php 실제 구조 : <article id="ctt" class="ctt_privacy"><div id="ctt_con">
   본문에 인라인 스타일(맑은 고딕 10pt 등)이 박혀 있어 !important 로 덮어씀 */
#sub-wrapper #ctt.ctt_privacy{max-width:1000px;margin:0 auto;padding:44px 0 70px}
#ctt_con{font-size:15px!important;line-height:1.9!important;color:#333!important;word-break:keep-all}
#ctt_con p,#ctt_con span,#ctt_con div,#ctt_con li,#ctt_con td,#ctt_con font{
  font-family:"Noto Sans KR",sans-serif!important;font-size:15px!important;
  line-height:1.9!important;color:#333!important;text-align:left!important;margin:0 0 10px!important;
}
#ctt_con h1,#ctt_con h2,#ctt_con h3,#ctt_con h4{
  font-family:"GmarketSansMedium","Noto Sans KR",sans-serif!important;color:#0A1330!important;
  line-height:1.45!important;text-align:left!important;
}
#ctt_con h2{font-size:20px!important;margin:40px 0 12px!important;padding-bottom:9px!important;border-bottom:1px solid #E2E6EC}
#ctt_con h3{font-size:16px!important;margin:26px 0 8px!important;color:#263A79!important}
#ctt_con ul,#ctt_con ol{padding-left:20px!important;margin:0 0 14px!important}
#ctt_con li{list-style:disc!important;margin:0 0 6px!important}
#ctt_con table{width:100%!important;border-collapse:collapse!important;margin:0 0 18px!important}
#ctt_con th,#ctt_con td{border:1px solid #E2E6EC!important;padding:10px!important;vertical-align:top!important}
#ctt_con strong,#ctt_con b{color:#0A1330!important;font-weight:600!important}
#ctt_con a{color:#0069B4!important}

@media (max-width:768px){
  #sub-wrapper #ctt.ctt_privacy{padding:26px 0 46px}
    #ctt_con p,#ctt_con span,#ctt_con div,#ctt_con li{font-size:14px!important;line-height:1.85!important}
}

/* 약관 제목 : header h1 을 페이지 제목으로 (본문에 같은 문구가 있으면 JS가 숨김) */
#sub-wrapper #ctt header h1{
  position:static!important;font-size:26px!important;line-height:1.4!important;
  overflow:visible!important;width:auto!important;height:auto!important;
  font-family:"GmarketSansMedium","Noto Sans KR",sans-serif!important;
  color:#0A1330!important;text-align:center!important;font-weight:400!important;
  padding:0 0 22px!important;margin:0 0 30px!important;
  border-bottom:2px solid #0A1330!important;
}
@media (max-width:768px){
  #sub-wrapper #ctt header h1{font-size:21px!important;padding-bottom:16px!important;margin-bottom:22px!important}
}

/* 본문 첫 문단이 제목과 같은 문구라 제거 (CSS로 확정 처리) */
#ctt header + #ctt_con > p:first-child,
#ctt header + #ctt_con > p:first-child + p:empty{display:none!important}

/* ---------- 반응형 ---------- */
/* ---------- 모바일 / 태블릿 : 데스크톱 메뉴 숨기고 햄버거로 ---------- */
@media (max-width:1024px){
  #header #m_gnb{display:none!important}
  #header .langs{display:none!important}
  #header{height:80px!important;padding:0!important}
  #header .logo{left:20px!important;top:50%!important;transform:translateY(-50%)!important}
  #header .logo img{height:25px!important}
  #header #nav_btn{
    display:block!important;position:absolute!important;right:20px!important;
    top:50%!important;transform:translateY(-50%)!important;
    font-size:26px!important;cursor:pointer;z-index:1200;
  }
  #header #all_menu{
    position:fixed!important;top:80px!important;left:0!important;right:0!important;bottom:0!important;
    z-index:1100;background:#fff!important;display:none;
    border-bottom:1px solid #E8EBF0;box-shadow:0 20px 40px -30px rgba(0,0,0,.5);
    overflow-y:auto;
  }
  #header.zta-dark-head #nav_btn::before{background:#fff;box-shadow:0 7px 0 #fff,0 -7px 0 #fff}
}
@media (max-width:768px){
  #header .logo img{height:25px!important}
}

/* ============================================================
   모바일 전체메뉴 — 메인(index)과 동일한 형태
   기존 #all_menu(청록 상단바 + X) 를 흰 배경 드로어로 교체
   ============================================================ */
@media (max-width:1024px){
  /* 헤더: EN 알약 + 햄버거 (메인과 동일 배치) */
  #header .langs{
    display:block!important;
    position:absolute!important;right:64px!important;top:50%!important;
    transform:translateY(-50%)!important;
    width:44px!important;border:1px solid currentColor!important;
    border-radius:999px!important;overflow:visible!important;
    color:#0A1330!important;background:transparent!important;text-align:center;
  }
  #header .langs > div{padding:5px 0!important;position:relative}
  #header .langs a{
    display:none!important;padding:0!important;font-size:.68rem!important;
    letter-spacing:.1em!important;color:#0A1330!important;opacity:.65!important;
    line-height:1.5!important;width:100%!important;
  }
  #header .langs a.on{display:block!important}
  #header .langs:hover a{display:block!important}

  /* 드로어 컨테이너 */
  #header #all_menu{
    position:fixed!important;inset:0!important;z-index:1190;
    background:rgba(10,19,48,.34)!important;
    display:none;
  }
  #header #all_menu .nav_bg{
    position:absolute!important;top:0;right:0;left:0;
    background:#fff!important;height:auto!important;
    max-height:100vh;overflow-y:auto;
    box-shadow:0 24px 48px -30px rgba(0,0,0,.55);
  }
  #header #all_nav{position:static!important;width:100%!important;background:#fff!important;padding:10px 20px 18px!important}

  /* 상단: 로고 + 닫기 (청록 바 제거) */
  #header #all_nav .mobile-langs{display:none!important}
  #header #all_nav .mobile-langs > div:first-child{display:none!important}
  #header #all_nav .mobile-langs::before{
    content:"ZTACOM";font-family:"GmarketSansMedium","Noto Sans KR",sans-serif;
    font-size:15px;letter-spacing:.06em;color:#0A1330;
  }
  #header #all_nav #close{
    position:static!important;width:26px!important;height:26px!important;
    background:none!important;cursor:pointer;flex:0 0 auto;
  }
  #header #all_nav #close::before,
  #header #all_nav #close::after{
    content:"";position:absolute;width:22px;height:2px;background:#0A1330;
  }
  #header #all_nav #close{position:relative!important}
  #header #all_nav #close::before{transform:rotate(45deg)}
  #header #all_nav #close::after{transform:rotate(-45deg)}
  #header #all_nav .mobile-langs a{color:#0A1330!important;font-size:12px!important;opacity:.6}

  /* 메뉴 리스트: 메인과 동일 */
  #header #all_gnb{padding:6px 20px 24px!important;margin:0!important}
  #header #all_gnb > li{
    border-bottom:1px solid #E8EBF0!important;position:relative;float:none!important;width:auto!important;
  }
  #header #all_gnb > li > a{
    display:flex!important;align-items:center;justify-content:space-between;
    padding:14px 52px 14px 0!important;
    font-family:"GmarketSansMedium","Noto Sans KR",sans-serif!important;
    font-size:1rem!important;font-weight:400!important;color:#0A1330!important;
  }
  #header #all_gnb > li.is-vital > a{color:#0069B4!important}
  #header #all_gnb .zta-sub-toggle{
    position:absolute!important;right:0!important;top:0!important;
    width:44px!important;height:47px!important;
    background:none!important;border:0!important;cursor:pointer;
    font-size:1.15rem!important;line-height:1!important;color:#8C93A6!important;
    display:flex;align-items:center;justify-content:center;
    transition:transform .25s ease,color .25s ease;
  }
  #header #all_gnb > li.open .zta-sub-toggle{transform:rotate(45deg);color:#263A79!important}
  #header #all_gnb .lnb{
    display:none;padding:0 0 10px 12px!important;background:transparent!important;
    margin:0!important;border:0!important;
  }
  #header #all_gnb .lnb > li{border:0!important}
  #header #all_gnb .lnb a{
    padding:9px 0!important;font-size:.92rem!important;color:#5A6072!important;
    display:flex;align-items:center;gap:8px;
  }
  #header #all_gnb .lnb a:active{background:none!important}
  #header #all_gnb .zta-ext-mark{color:#0069B4!important;font-size:.8em}
  #header #all_gnb .zta-ext-badge{
    order:2;margin-left:auto;font-size:10px;color:#8C93A6;
    border:1px solid #E3E7EE;border-radius:2px;padding:1px 4px;background:#fff;
  }
}

/* ============================================================
   모바일 드로어 (서브) — 메인 .nav.is-open 과 동일한 모양
   ============================================================ */

/* ============================================================
   모바일 전체메뉴(#all_menu) — 메인 .nav.is-open 과 동일한 모양
   ============================================================ */
@media (max-width:1024px){
  #header #nav_btn{display:block!important;position:absolute!important;right:20px!important;top:50%!important;transform:translateY(-50%)!important;cursor:pointer;z-index:1200}
  #header #nav_btn i{display:none!important}
  #header #nav_btn::before{content:"";display:block;width:24px;height:2px;background:#0A1330;box-shadow:0 7px 0 #0A1330,0 -7px 0 #0A1330}
  #header.zta-dark-head #nav_btn::before{background:#fff;box-shadow:0 7px 0 #fff,0 -7px 0 #fff}

  #header #all_menu{
    position:fixed!important;top:80px!important;left:0!important;right:0!important;bottom:0!important;
    z-index:1150;background:#fff!important;overflow-y:auto;
    border-bottom:1px solid #E8EBF0;box-shadow:0 20px 40px -30px rgba(0,0,0,.5);
  }
  #header #all_menu .nav_bg{position:static!important;background:#fff!important;height:auto!important;padding:0!important}
  #header #all_nav{position:static!important;width:100%!important;background:#fff!important;padding:10px 20px 18px!important}
  /* 청록 상단바 제거 */
  #header #all_nav .mobile-langs{display:none!important}

  #header #all_gnb{padding:0!important;margin:0!important}
  #header #all_gnb > li{
    position:relative;border-bottom:1px solid #E8EBF0!important;
    float:none!important;width:auto!important;margin:0!important;padding:0!important;list-style:none;
  }
  #header #all_gnb > li > a{
    display:flex!important;align-items:center;justify-content:space-between;
    padding:13px 52px 13px 0!important;
    font-family:"GmarketSansMedium","Noto Sans KR",sans-serif!important;
    font-size:1rem!important;font-weight:400!important;color:#0A1330!important;text-decoration:none;
  }
  #header #all_gnb > li.is-vital > a{color:#0069B4!important}
  #header #all_gnb > li > a .zta-ext-mark{color:#0069B4!important}

  #header #all_gnb .zta-sub-toggle{
    position:absolute!important;right:0!important;top:0!important;
    width:44px!important;height:46px!important;
    background:none!important;border:0!important;cursor:pointer;
    font-family:"GmarketSansMedium","Noto Sans KR",sans-serif!important;
    font-size:1.15rem!important;line-height:1!important;color:#8C93A6!important;
    display:flex;align-items:center;justify-content:center;
    transition:transform .25s ease,color .25s ease;
  }
  #header #all_gnb > li.open .zta-sub-toggle{transform:rotate(45deg);color:#263A79!important}

  #header #all_gnb .lnb{
    display:none;padding:0 0 10px 12px!important;margin:0!important;
    background:transparent!important;border:0!important;
  }
  #header #all_gnb > li.open .lnb{display:block}
  #header #all_gnb .lnb > li{border:0!important;float:none!important;width:auto!important;margin:0;padding:0;list-style:none}
  #header #all_gnb .lnb a{
    display:flex;align-items:center;gap:8px;
    padding:9px 0!important;font-size:.92rem!important;color:#5A6072!important;text-decoration:none;
  }
  #header #all_gnb .zta-ext-badge{
    order:2;margin-left:auto;font-size:10px;color:#8C93A6;
    border:1px solid #E3E7EE;border-radius:2px;padding:1px 4px;background:#fff;
  }
}

/* ============================================================
   모바일 전체메뉴 최종 확정 (jQuery 애니메이션과 무관하게 동작)
   ============================================================ */
@media (max-width:1024px){
  #header #all_menu{
    display:none;
    position:fixed!important;
    top:80px!important; left:0!important; right:0!important; bottom:0!important;
    width:auto!important; height:auto!important;
    opacity:1!important; visibility:visible!important; transform:none!important;
    background:#fff!important; overflow-y:auto; z-index:1150;
    border-bottom:1px solid #E8EBF0;
    box-shadow:0 20px 40px -30px rgba(0,0,0,.5);
  }
  #header #all_menu.open{display:block}
}
