@charset "utf-8";
/* 기본프로그램 사용자모듈 메뉴 - PC */
.all_m_btn {padding:10px; background:#323337;}
.pro_m_wrap .m_menu {width:200px;}

@media all and (max-width:999px){
	.pro_m_wrap.view {left:0;}
}

/* basic */
.inner{width:100%; max-width:1400px; margin:0 auto; position:relative;}

@media all and (max-width:1400px){
	.inner{width:96%;}
}

/* 햄버거 메뉴 */
#header {display:none;} /* header.jsp의 헤더는 항상 숨김 - leftmenu.jsp의 navbar 사용 */
#header .m_btn {display:none; width:24px; margin:0 auto; text-align:right; cursor:pointer; }
#header .m_btn i{display:inline-block; width:100%; height:2px; margin:3px 0; background:#000; transition:all 0.5s;}
#header .m_btn i:nth-of-type(2){width:84%;}
#header .m_btn.on i:nth-of-type(1){margin:11px 0 -2px; transform:rotate(-45deg); -webkit-transform:rotate(-45deg); -moz-transform:rotate(-45deg); -ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);}
#header .m_btn.on i:nth-of-type(2){width:0; margin:0;}
#header .m_btn.on i:nth-of-type(3){margin:0 0 11px; transform:rotate(45deg); -webkit-transform:rotate(45deg); -moz-transform:rotate(45deg); -ms-transform:rotate(45deg); -o-transform:rotate(45deg);}


@media all and (max-width:1024px){
	#header {display:none;} /* header.jsp의 헤더는 숨김 - leftmenu.jsp의 navbar 사용 */
	#header .gnb{display: none;}
	#header .m_btn{display: inline-block;}
	
	/* leftmenu.jsp의 햄버거 버튼 - 모바일에서 왼쪽에 표시 */
	#toggle_nav_btn {
		position: absolute !important;
		top: 50% !important;
		left: 15px !important;
		transform: translateY(-50%) !important;
		display: inline-block !important;
		padding: 10px !important;
		z-index: 9999 !important;
	}
	#toggle_nav_btn > i.zmdi-menu {
		display: block !important;
		font-size: 24px;
		color: #fff;
	}
	#toggle_nav_btn > img {
		display: none !important;
	}
	
	/* 모바일 슬라이드 메뉴 상단 여백 */
	#m_menu {
		padding-top: 80px;
	}
}

/* 모바일 메뉴 */
.m_menu_bg {z-index:101; position:fixed; left:0; top:0; display:none; width:100%; height:100%; background:rgba(0,0,0,.7); cursor:pointer; }
#m_menu {z-index:102; position:fixed; left:-100%; top:0; width:100%; max-width:240px !important; height:100%; background-color:#fff; box-sizing:border-box; transition:all 0.3s; overflow-y:auto;}
#m_menu.on {left:0; }
#m_menu .top_box {position:relative; padding:10px; box-sizing:border-box; }
#m_menu .top_box .close_btn {position:absolute; right:20px; top:calc(50% - 15px); width:30px; height:30px; }
#m_menu .top_box .close_btn i {display:block; width:100%; height:2px; background-color:#333; }
#m_menu .top_box .close_btn i:first-of-type {-webkit-transform:rotate(45deg) translate(9px,9px); -moz-transform:rotate(45deg) translate(9px,9px); -ms-transform:rotate(45deg) translate(9px,9px); -o-transform:rotate(45deg) translate(9px,9px); transform:rotate(45deg) translate(9px,9px); }
#m_menu .top_box .close_btn i:last-of-type {-webkit-transform:rotate(-45deg) translate(-7px,8px); -moz-transform:rotate(-45deg) translate(-7px,8px); -ms-transform:rotate(-45deg) translate(-7px,8px); -o-transform:rotate(-45deg) translate(-7px,8px); transform:rotate(-45deg) translate(-7px,8px); }
#m_menu .login_box {padding:20px 0; background-color:#292929; text-align:center; }
#m_menu .login_box a {position:relative; padding:0 30px; font-size:20px; color:#fff; letter-spacing:-0.04em; }
#m_menu .login_box a:first-of-type:before {content:''; position:absolute; right:-1px; top:calc(50% - 7px); width:2px; height:15px; background-color:#fff; }
/* leftmenu.jsp 메뉴 스타일 (모바일 메뉴용) - PC와 동일한 메뉴 HTML 사용 */
#m_menu .top_box {display:none;} /* 닫기 버튼 영역 숨김 - 배경 클릭으로 닫기 */
#m_menu .login_box {display:none;}
#m_menu .gnb_box {border-top:none;}
#m_menu .gnb_box > ul {list-style:none; margin:0; padding:0;}
#m_menu .gnb_box > ul > li {border-bottom:1px solid #e0e0e0;}
#m_menu .gnb_box > ul > li > a {display:flex !important; align-items:center; justify-content:space-between; padding:8px 10px !important; font-size:16px !important; font-weight:600; color:#222; text-decoration:none;}
#m_menu .gnb_box > ul > li > a .pull-left {display:flex; align-items:center;}
#m_menu .gnb_box > ul > li > a .pull-left i {font-size:18px; margin-right:8px; color:inherit; width:20px; text-align:center;}
#m_menu .gnb_box > ul > li > a .pull-left .right-nav-text {font-size:16px !important;}
#m_menu .gnb_box > ul > li > a .pull-right {display:flex; align-items:center; margin-left:auto;} /* 화살표 오른쪽 정렬 */
#m_menu .gnb_box > ul > li > a .pull-right i {font-size:14px; color:#999; transition:transform 0.3s;}
#m_menu .gnb_box > ul > li.on > a .pull-right i {transform:rotate(180deg);}
#m_menu .gnb_box > ul > li > a .clearfix {display:none;}
#m_menu .gnb_box > ul > li > ul {display:none; background:transparent; padding:3px 0; border-top:1px solid rgba(0,0,0,0.1);} /* PC와 동일 - 투명 배경 */
#m_menu .gnb_box > ul > li > ul > li > a {display:block; padding:6px 10px 6px 38px !important; font-size:15px !important; color:#444; text-decoration:none;}
#m_menu .gnb_box > ul > li > ul > li > a span {font-size:15px !important;}
/* leftmenu.jsp의 .user_depth_custom 스타일 오버라이드 */
#m_menu .gnb_box .user_depth_custom > li > a {padding:8px 10px !important; font-size:16px !important;}
#m_menu .gnb_box .user_depth_custom > li > ul > li > a {padding:6px 10px 6px 38px !important; font-size:15px !important;}
#m_menu .gnb_box > ul > li > ul > li > a:hover,
#m_menu .gnb_box > ul > li > ul > li > a:active {color:#307dd4; background:#f5f5f5;} /* 호버 효과 */
/* 선택된 메뉴 배경색 */
#m_menu .gnb_box > ul > li > ul > li > a.current-menu,
#m_menu .gnb_box .user_depth_custom > li > ul > li > a.current-menu {background-color:rgba(48, 125, 212, 0.15) !important; color:#307dd4 !important;}
#m_menu .gnb_box > ul > li.on > ul {display:block;}
#m_menu .gnb_box > ul > li.navigation-header {display:none;}
/* 전체 펼침/닫힘 버튼 스타일 */
#m_menu .gnb_box > ul > li > .tree-controls {display:flex; justify-content:center; padding:6px; gap:0; background:#323337; border-bottom:1px solid rgba(255,255,255,0.1);}
#m_menu .gnb_box > ul > li > .tree-controls a {font-size:12px; padding:4px 10px; text-decoration:none;}
#m_menu .gnb_box > ul > li > .tree-controls a.btn-expand-all {color:#5bc0de;}
#m_menu .gnb_box > ul > li > .tree-controls a.btn-collapse-all {color:#d9534f;}
#m_menu .gnb_box > ul > li > .tree-controls a i {margin-right:4px;}
#m_menu .gnb_box > ul > li > .tree-controls .divider {display:inline-block; width:1px; height:14px; background:rgba(255,255,255,0.3); margin:0 4px;}

/* ========== 퀵메뉴 & TOP 버튼 ========== */
.quick_step_btn_box01 {
	display: flex;
}
.quick_step_btn_box01 > a {
	position: absolute;
	z-index: 2;
}
.quick_step_btn_box01 > a.btn-prev {
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
}
.quick_step_btn_box01 > a.btn-next {
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
}

/* PC 퀵메뉴 */
#sideQuick {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 9999;
	width: 60px;
}
#sideQuick > ul {	
	border-radius: 6px;	
	margin-bottom: 20px;
}
#sideQuick ul li .side_quick_menu01 {
	width: 100%;
	aspect-ratio: 1/0.357;
	display: flex;
	align-items: center;
	gap: 5px;
	text-align: center;
	font-size: 14px;
	font-weight: 400;
	color: #222;
	background-color: #fff;
	box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.07);
	border-radius: 6px;
	padding: 0 20px;
}
#sideQuick ul li .side_quick_menu01 + .side_quick_menu01 {
	margin-top: 10px;
}
#sideQuick ul li .side_quick_menu01 img {
	width: fit-content;
}
#top_btn {
	margin-top: 10px;
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
	position: absolute;
	bottom: 0;
}
#top_btn.show {
	display: flex;
	opacity: 1;
	transform: translateY(0);
}
#sideQuickMoreBtn {
	position: absolute;
	cursor: pointer;
	bottom: 0;
	z-index: 2;
	transition: all 0.3s ease-in-out;
}
#top_btn,
#sideQuickMoreBtn {
	display: flex;
	justify-content: center;
}
.sideQuickBtn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
	background-color: #fff;
}
#sideQuickMoreBtn .sideQuickBtn {
	background-color: var(--color-primary01, #307dd4);
}
#sideQuickMoreBtn .sideQuickBtn span {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);	
	background-color: #fff;
	transition: transform 0.3s, opacity 0.3s;
}
#sideQuickMoreBtn .sideQuickBtn span:nth-child(1) {
	width: 12px;
	height: 1px;
}
#sideQuickMoreBtn .sideQuickBtn span:nth-child(2) {
	width: 1px;
	height: 12px;
}
#sideQuickMoreBtn.scroll {
	bottom: 60px;
}
#sideQuickMoreBtn.active .sideQuickBtn span:nth-child(1) {
	transform: translate(-50%, -50%) rotate(45deg);
}
#sideQuickMoreBtn.active .sideQuickBtn span:nth-child(2) {
	transform: translate(-50%, -50%) rotate(45deg);
}
#sideQuickMoreBtn .quick {
	position: absolute;
	bottom: 100%;
	margin-bottom: 10px;
	min-width: 140px;
	display: none;
}

/* 최근 본 상품 / 관심 상품 */
.quick ul li.recent_prod {}
.quick ul li.recent_prod > p {
	height: 40px;
	font-size: 15px;
	color: #fff;
	letter-spacing: -0.025em;
	line-height: 40px;
	background-color: var(--color-primary01, #307dd4);
	text-align: center;
}
.prod_no_box {
	width: 114px;
	height: 114px;
	border-radius: 5px;
	background: #F5F5F5;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.prod_no_box > p {
	font-size: 11px;
	font-weight: 400;
	color: #999;
	margin-top: 5px;
}
.quick ul li.recent_prod ul {
	padding: 30px 10px;
	box-sizing: border-box;
	margin-bottom: 10px;
	background-color: #fff;
	border-radius: 0 0 6px 6px;
	position: relative;
}
.quick ul li.recent_prod ul li {
	border: unset;
	border-radius: 6px;
	aspect-ratio: 1/0.7333;
	overflow: hidden;
	margin-bottom: 10px;
}
.quick ul li.recent_prod ul li:last-of-type { margin-bottom: 0; }
.quick ul li.recent_prod ul li img { width: 100%; height: 100%; object-fit: contain; }
.quick ul li.recent_prod .quick_pager { margin-top: 0; margin-bottom: 30px; }
.quick ul li.recent_prod .quick_pager a { display: inline-block; vertical-align: middle; width: auto; height: auto; border: 0 none; margin: 0 3px; line-height: 14px; font-size: 14px; color: #b6b6b6; }
.quick ul li.recent_prod .quick_pager a.active { color: #666666; }
.quick ul.zzim { margin-top: 30px; }
.quick ul li.top_btn { width: 100%; height: 40px; background-color: #000; box-sizing: border-box; line-height: 48px; text-align: center; }
.quick ul li.top_btn a { display: block; color: #fff; line-height: 40px; font-size: 15px; letter-spacing: -0.025em; }

/* 모바일에서 퀵메뉴 위치 조정 */
@media all and (max-width:768px) {
	#sideQuick {
		right: 10px;
		bottom: 10px;
	}
	
	#sideQuickMoreBtn .quick {
		right: auto;
		left: auto;
		transform: translateX(-30px);
	}
}
/* ========== END 퀵메뉴 & TOP 버튼 ========== */