/* BASIC css start */
/* ======================== */
/* 금찌 공통 + 상단 CSS (최신 구조 반영, 충돌 제거) */
/* ======================== */

/* 폰트 */
@font-face {
  font-family: 'Pretendard-Regular';
  src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
z-index
/* 색상 변수 */
:root {
  --fff: #fff;
  --000: #000;
  --border: #ededed;
  --main-color: #121212; 
  --gray-light: #F2F2F2;
  --point-color: #FF1377;
  --line-color: #E9E9E9;
  --gray: #999999;
}





/* ================================
   금찌 상단/탭: Canonical CSS (교체본)
   이 파일 하나만 남기고 기존 중복/유사 규칙 삭제
================================ */

/* 기본 */
*{margin:0;padding:0;box-sizing:border-box;-webkit-text-size-adjust:none}
html,body{font-family:'Pretendard','Helvetica Neue',Helvetica,sans-serif;font-size:14px;line-height:1.5;color:#000;background:#fff}
img{max-width:100%;display:block}
ul,ol{list-style:none}
a{text-decoration:none;color:inherit}
.dn{display:none !important}

/* 래퍼/마스크 */
#wrap{min-width:320px;overflow:hidden}
#mask{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:1000}
.menu_on{height:100%;overflow:hidden}

/* ── 헤더/GNB ───────────────────────── */
#header{position:fixed;top:0;left:0;right:0;width:100%;z-index:1001}
#gnb{
  height:52px;
  background:rgba(0,0,0,.0);
  transition:background-color .3s ease;
}
#gnb.fix{background:rgba(0,0,0,.5)}

#gnb .gnb-inner{
  height:52px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 8px;white-space:nowrap;
}
#gnb .gnb-left,#gnb .gnb-right{display:flex;align-items:center;gap:8px;flex:0 0 auto}
#gnb .gnb-center{flex:1 1 auto;text-align:center;min-width:0}

/* 기존 유지 */
#gnb .logo{margin:0;position:static;width:auto;text-align:center}
#gnb .logo img{height:28px;width:auto;display:inline-block}

/* 아래로 6~10px 내리기 - 이미지에 직접 적용 */
#gnb .logo img{
  position: relative;
  top: 0; /* 필요시 6~12px 사이로 조정 */
}

/* (선택) 컨테이너로 내리고 싶다면: +값=아래로 */
#gnb .logo{
  transform: translateY(6px);
}

/* 아이콘은 그대로 */
#gnb .icon{display:flex;align-items:center;justify-content:center;flex:0 0 44px;height:52px;line-height:52px;color:#fff}
#gnb .icon i{font-size:17px}
#gnb .icon.asideOpen i,#gnb .icon.searchBtn i{font-size:20px}


/* 로고 위치 미세조정 필요시(원하면 px 바꿔줘) */
/* #gnb .logo{transform:translateY(15px)} */

/* ── 검색창 ─────────────────────────── */
#header .searchArea{
  position:absolute;top:52px;left:0;right:0;z-index:1001;
  display:none;padding:6px 10px;background:rgba(255,255,255,.95)
}
#header .searchArea.fix{position:fixed;top:52px;background:#fff}
#header .searchArea .search{
  display:flex;align-items:center;height:36px;background:#fff;border:1px solid #ccc
}
#header .searchArea .search .searchBox{flex:1 1 auto;height:100%;margin:0}
#header .searchArea fieldset{border:0;margin:0;padding:0}
#header .searchArea legend{display:none !important}
#header .searchArea .search input,
#header .searchArea .search .MS_search_word{
  width:100%;height:100%;border:0 !important;outline:0 !important;padding:0 10px;background:transparent;font-size:14px
}
#header .searchArea .btn_search{
  flex:0 0 36px;height:36px;display:flex;align-items:center;justify-content:center;
  font-size:18px;color:#000;background:none;border:0;line-height:36px
}

/* ── 사이드바 ───────────────────────── */
aside{
  position:fixed;top:0;left:-100%;z-index:1001;
  width:80%;max-width:340px;height:100%;background:#fff;
  overflow-y:auto;-webkit-overflow-scrolling:touch;transition:left .2s ease;overscroll-behavior:contain
}
aside.is-open{left:0}
aside .asideTop{
  height:56px;padding:0 12px;background:#000;display:flex;align-items:center;position:relative
}
/* 닫기: 좌측 고정 */
aside .asideTop .asideClose{
  position:absolute;left:8px;top:6px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;
  font-size:22px;color:#fff;cursor:pointer;z-index:2
}
/* 로고: 우측 정렬 */
aside .asideTop .logo{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;width:calc(100% - 60px);text-align:right}
aside .asideTop .logo img{height:20px;width:auto;display:block}

/* 사이드 퀵메뉴 */
aside .asideContent .asBx{background:#f5f5f5}
aside .asideContent .asBx ul{display:flex;flex-wrap:wrap}
aside .asideContent .asBx ul li{width:25%}
aside .asideContent .asBx ul li a{
  display:flex;flex-direction:column;align-items:center;justify-content:center;height:76px;gap:6px;font-size:12px;color:#333
}
aside .asideContent .asBx ul li a i{font-size:20px}

/* 탭 */
aside .asideNav{display:flex;height:44px}
aside .asideNav a{flex:1 1 50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;color:#333;background:#e9e9e9;border-right:1px solid #fff}
aside .asideNav a:last-child{border-right:none}
aside .asideNav a.act{background:#fff;color:#000}

/* 카테고리/커뮤니티 */
.navCategory,.navCommunity,.navMypage{background:#fff}
aside nav li{position:relative}
aside nav li a{
  display:block;min-height:48px;padding:12px 44px 12px 16px;font-size:15px;color:#333;border-bottom:1px solid #eee
}
aside nav li i.fa-angle-down{
  position:absolute;right:10px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:48px;font-size:18px;color:#666;transition:transform .2s
}
.fa-rotate-180{transform:rotate(180deg)}
aside nav li>ul{display:none;background:#fafafa}
aside nav li>ul>li>a{padding-left:24px}
aside nav li>ul>li>ul>li>a{padding-left:32px}

aside .asideBottom{padding:16px;background:#f5f5f5}
aside .asideBottom dt{font-size:15px;font-weight:700;margin-bottom:6px}
aside .asideBottom dd{color:#555}
aside .asideBottom p a{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 14px;background:#333;color:#fff;border-radius:0}

/* ── 섹션3: 탭 크로스페이드 & 스와이프 ── */
#section3.product_tab .tab_container{
  position:relative;touch-action:pan-y;overflow:hidden
}
#section3.product_tab .tab_content{
  position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity var(--tab-dur,220ms) var(--tab-ease,cubic-bezier(.2,.6,.2,1)),visibility var(--tab-dur,220ms) var(--tab-ease,cubic-bezier(.2,.6,.2,1));
  will-change:opacity;transform:translateZ(0)
}
#section3.product_tab .tab_content.is-current{opacity:1;visibility:visible;pointer-events:auto;z-index:2}
#section3.product_tab .tab_content.is-next{z-index:3}
@media (prefers-reduced-motion:reduce){
  #section3.product_tab .tab_content{transition:none}
}

/* ===== 회원가입 메인(간편가입) 전용 스타일 ===== */
:root { --gz-gnb-h: 56px; } /* 헤더 실제 높이에 맞게 52~60px 사이로 조정 가능 */

/* 스크린리더 전용 유틸 */
#gz-join .sr-only{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}

/* 상단바 겹침 방지   헤더 높이만큼 공간 */
#gz-join .gz-header-spacer{ height: var(--gz-gnb-h); }

/* 레이아웃 */
#gz-join { font-size: 16px; }
#gz-join .sns-join{ position:relative; margin: 24px 0 24px; }
#gz-join .sns-join .sns-title{ padding:0 20px; }
#gz-join .sns-join .sns-title img{ width:300px; display:block; }

/* 리스트 */
#gz-join .sns-join .sns-list{
  padding:0 20px 20px; list-style:none; margin:0; border-bottom:1px solid #dadada;
}
#gz-join .sns-join .sns-list li{
  position:relative; margin-top:10px; height:48px; line-height:48px;
  border:1px solid #dfdfdf; border-radius:6px; overflow:hidden;
}
#gz-join .sns-join .sns-list li a{
  display:block; height:48px; line-height:48px; font-size:1.05em; font-weight:700;
  color:#666; padding-left:60px; /* 아이콘 왼쪽 여백 */
}

/* 아이콘 영역 */
#gz-join .sns-join .sns-list li .ico{
  position:absolute; top:0; left:0; width:48px; height:48px;
  border-right:1px solid #e9e9e9; background-position:50% 50%; background-repeat:no-repeat;
  background-size: 20px auto;
}
#gz-join .sns-join .sns-list li.naver  .ico{ background-image:url(/images/d3/m_01/icon/ico_sns_naver.gif); }
#gz-join .sns-join .sns-list li.facebook .ico{ background-image:url(/images/d3/m_01/icon/ico_sns_facebook.gif); background-size:14px auto; }
#gz-join .sns-join .sns-list li.kakao .ico{ background-image:url(/images/d3/m_01/icon/ico_sns_kakaotalk.gif); }
#gz-join .sns-join .sns-list li.apple .ico{ background-image:url(/images/d3/m_01/icon/ico_sns_apple.gif); }

/* 버튼/안내 */
#gz-join .sns-join .sns-btn{ margin:20px 20px 10px; }
#gz-join .sns-join .sns-btn .btn-primary{
  display:block; height:50px; line-height:50px; text-align:center;
  font-size:1.125em; font-weight:700; color:#fff; background:#000;
  border-radius:8px;
}
#gz-join .sns-join .sns-btn .help{
  margin-top:10px; text-align:center; color:#999; font-size:.95em; line-height:1.4;
}

/* 안전장치: 혹시 헤더가 sticky/fixed로 더 크게 겹치면 추가 여백 부여 */
@media (max-width:980px){
  body.page-join #container,
  body.page_join #container{
    padding-top: var(--gz-gnb-h) !important;
    box-sizing: border-box;
  }
}



/* =======================================================
   [추가] GNB 전환 패치
   - 메인 맨위: 기존처럼 #gnb 배경 rgba(0,0,0,.1)
   - 메인 스크롤↓: 기존처럼 #gnb.fix = rgba(0,0,0,.7)
   - 비메인: 항상 전역 상단바 느낌 → .always-fix
   ======================================================= */
#gnb.always-fix{ background: rgba(0,0,0,.5) !important; }
#header .searchArea.always-fix{ position: fixed; top: 52px; }

/* 로고는 1장만 쓰며 숨기지 않음(이전 사라짐 방지) */
#gnb .logo img{ display:inline-block !important; height:28px; width:auto; }

/* BASIC css end */

