/****************************************
*     Wrap site Common
****************************************/
.wrap-site {}
.wrap-site .wrap-site-sub {
	margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px;
	width: 100%; min-width: 340px; max-width: 1200px;
}


/****************************************
*     site Header
****************************************/
#site_header{
	background: #ffffff;
	border-bottom: 1px solid #eae3d8;
	position: sticky; top: 0;
	z-index: 50;
}
#site_header_inner {
	padding-top: 10px; padding-bottom: 10px;
	display: flex; justify-content: space-between; align-items: center; gap: 10px;
}

/* Logo */
#site_header_logo {}
#site_header_logo img { width: auto; height: 34px; }

/* Menu */
#site_header_menu {
	margin-left: 20px;
	flex: 1;
	display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 5px;
}
#site_header_menu a {
	padding: 8px 15px;
	color: #4b5258;
	font-size: 1.0rem; font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	background: transparent;
	border: none; border-radius: 100px;
	/*display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 8px;*/
}
#site_header_menu a svg { height: 20px; fill: #4b5258; }
#site_header_menu a:hover { background: #f1f3f5; }
#site_header_menu a.active { color: #fff; background: #22baa7; }
#site_header_menu a.active svg { fill: #fff; }

/* Menu Item (드롭다운 컨테이너) */
#site_header_menu .menu_item {
	display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center;
	position: relative;
}

/* Sub Dropdown */
#site_header_menu .menu_sub_dropdown {
	min-width: 180px;
	background: #fff;
	border: 1px solid #e7eaed; border-radius: 12px;
	display: flex; flex-direction: column; flex-wrap: nowrap; gap: 4px;
	position: absolute; top: calc(100% + 8px); left: 0;
	padding: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
	z-index: 100;
}
#site_header_menu .menu_item.has_sub:hover .menu_sub_dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
#site_header_menu .menu_sub_dropdown a {
	padding: 10px 14px;
	width: 100%;
	font-size: 0.95rem; font-weight: 600;
	white-space: nowrap;
	border-radius: 8px;
	display: block;
}
#site_header_menu .menu_sub_dropdown a:hover { background: #f1f3f5; }

/* Point */
#site_header_point span {
	padding: 8px 15px;
	min-width: 120px; height: 45px;
	color: #000;
	font-size: 1.0rem; font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	background: #fff;
	border: 1px solid #e7eaed; border-radius: 100px;
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 8px;
}
#site_header_point span svg { height: 20px; fill: #22baa7; }

/* User Info */
#site_header_user_info {
	padding: 8px 20px;
	height: 45px;
	color: #969ca3;
	font-size: 0.8rem; font-weight: 400;
	line-height: 1;
	white-space: nowrap;
	background: #fff;
	border: 1px solid #e7eaed; border-radius: 100px;
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 8px;
	cursor: pointer;
}
#site_header_user_info span {
	color: #1a1e22;
	font-size: 1.0rem; font-weight: 600;
	line-height: 1.2;
}

/* Header Right (회원/로그인) */
#site_header_right {
	display: flex; flex-direction: row; align-items: center; gap: 8px;
	color: #4b5258;
	font-size: 0.92rem; font-weight: 600;
	white-space: nowrap;
}
#site_header_right .kh-header-sep { display: none; }
#site_header_right .kh-header-link {
	padding: 8px 16px;
	font-size: 0.92rem; font-weight: 700;
	line-height: 1;
	text-decoration: none;
	border-radius: 100px;
	transition: background .15s, color .15s, border-color .15s;
}
/* 회원가입 = 고스트, 로그인 = 채움 (마지막 링크) */
#site_header_right .kh-header-link {
	color: #4b5258;
	background: transparent;
	border: 1px solid #e1e5e9;
}
#site_header_right .kh-header-link:hover {
	color: #15835e;
	border-color: #7fcbae;
	background: #eaf7f1;
}
#site_header_right .kh-header-link:last-of-type {
	color: #fff;
	background: #22baa7;
	border-color: #22baa7;
}
#site_header_right .kh-header-link:last-of-type:hover {
	background: #15835e;
	border-color: #15835e;
}
/* 로그인 상태: 로그아웃 링크 */
#site_header_right > a:not(.kh-header-link) {
	padding: 7px 14px;
	color: #4b5258;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid #e1e5e9; border-radius: 100px;
	transition: background .15s, color .15s, border-color .15s;
}
#site_header_right > a:not(.kh-header-link):hover {
	color: #15835e; border-color: #7fcbae; background: #eaf7f1;
}

/* Mobile Menu Icon */
#site_header_popup_menu_icon{
	padding: 6px;
	background: #fff;
	border: 1px solid #969ca3; border-radius: 5px;
	display: none;
	transition: background .15s;
	cursor: pointer;
}
#site_header_popup_menu_icon svg{ width: 26px; height: 26px; fill: #4b5258; }


/****************************************
*     Wrap site Popup Menu
****************************************/
/* Popup Menu Overlay */
#site_header_popup_menu_overlay{
	background: rgba(11,16,32,0.45);
	backdrop-filter: blur(5px);
	display: none;
	opacity: 0;
	position: fixed; inset: 0;
	transition: opacity .3s ease;
	z-index: 99;
}
#site_header_popup_menu_overlay.is-open{ display: block; opacity: 1; }

/* Popup Menu */
#site_header_popup_menu{
	width: 280px; height: 100%;
	background: #fff;
	box-shadow: -4px 0 24px rgba(11,16,32,0.12);
	display: flex; flex-direction: column;
	overflow-y: auto;
	position: fixed; top: 0; right: 0;
	transform: translateX(100%);
	transition: transform .3s cubic-bezier(.4,0,.2,1);
	z-index: 100;
}
#site_header_popup_menu.is-open{ transform: translateX(0); }

/* Popup Menu Header */
#popup_menu_header{
	padding: 16px 20px;
	/*background: #fafafa;*/
	background: linear-gradient(160deg,#23b06b,#178f81);
	border-bottom: 1px solid #e7eaed;
	display: flex; align-items: center; justify-content: space-between;
	flex-shrink: 0;
}
#popup_menu_header img{ width: auto; height: 28px; }
#popup_menu_header #popup_menu_close{
	padding: 6px;
	background: #fff;
	border: 1px solid #969ca3; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	transition: background .15s;
	cursor: pointer;
}
#popup_menu_header #popup_menu_close svg{ width: 20px; height: 20px; fill: #4b5258; }

/* Popup Menu User Info */
#popup_menu_user_info{
	padding: 15px 30px;
	border-bottom: 1px solid #e7eaed;
}

#popup_menu_user_info .user_info{
	margin-bottom: 10px;
	display: flex; flex-direction: start; align-items: center; gap: 20px;
}
#popup_menu_user_info .user_info .avatar {
	width: 44px; height: 44px;
	color: #fff;
	font-size: 1.0rem; font-weight: 700;
	background: linear-gradient(135deg, #28a77b, #15835e);
	border-radius: 50%; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
}
#popup_menu_user_info .user_info .name {
	color: #969ca3;
	font-size: 0.8rem; font-weight: 400;
	line-height: 1.4;
}
#popup_menu_user_info .user_info .name span {
	color: #1a1e22;
	font-size: 1.1rem; font-weight: 600;
}

#popup_menu_user_info hr{
	border-width: 2px 0 0 0; border-style: dotted; border-color: #e7eaed;
}

#popup_menu_user_info .point {
	margin-top: 10px;
	display: flex; flex-direction: start; align-items: center; gap: 20px;
}
#popup_menu_user_info .point .point-icon {
	width: 44px; height: 44px;
	color: #fff;
	background: linear-gradient(135deg, #28a77b, #15835e);
	border-radius: 50%; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
}
#popup_menu_user_info .point .point-icon svg { width: 22px; height: 22px; fill: #fff; }
#popup_menu_user_info .point .point-text {
	color: #0f5f44;
	font-size: 1.1rem; font-weight: 600;
	line-height: 1.4;
}
#popup_menu_user_info .point span {
	color: #15835e;
	font-size: 0.8rem; font-weight: 400;
}

/* Popup Menu Item */
#popup_menu_item {}
#popup_menu_item a {
	padding: 15px 10px 15px 30px;
	color: #4b5258;
	font-size: 1.0rem; font-weight: 600;
	letter-spacing: 1px;
	line-height: 1;
	white-space: nowrap;
	background: #fff;
	border-bottom: 1px solid #e7eaed;
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: start; align-items: center; gap: 8px;
	position: relative;
}
#popup_menu_item a svg { height: 20px; fill: #4b5258; }
#popup_menu_item a:hover{ background: #f1f3f5; }
#popup_menu_item a.active::before {
	content: '';
	width: 10px;
	background: #22baa7;
	position: absolute; top: 0; bottom: 0; left: 0;
}


/****************************************
*     반응형 960px
****************************************/
@media (max-width: 960px) {
	.wrap-site .wrap-site-sub { padding-left: 15px; padding-right: 15px; }

	#site_header_logo { flex: 1; }
	#site_header_menu, #site_header_point, #site_header_user_info { display: none; }
	#site_header_popup_menu_icon{ display: flex; }
}

/****************************************
*     반응형 560px
****************************************/
@media (max-width: 560px) {
	.wrap-site .wrap-site-sub { padding-left: 10px; padding-right: 10px; }

	#site_header_popup_menu{ width: 100%; }
}
