/*모바일 전체메뉴 노출 부분*/
#aside {opacity: 0; visibility: hidden; position: fixed; bottom:-100%; width: 100%; max-width:var(--s-max-width); height:-webkit-calc(100% - 50px); overflow-y: hidden; z-index: 180; background: #fff; -webkit-transition: .5s; -moz-transition: .5s; -o-transition: .5s; transition: .5s; box-shadow: 0px 5px 5px 0 rgba(0, 0, 0, 0.1);}
#asideDim { opacity: 0; visibility: hidden;}
#aside.nowShow { opacity: 1; visibility: visible; bottom:0; border-top-left-radius:34px; border-top-right-radius:34px;}
#aside.nowShow ~ #asideDim { opacity: 1; visibility: visible; position: fixed; left: 0; bottom: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#60000000,endColorstr=#60000000); zoom: 1; z-index: 179; cursor:pointer; }

#aside img {max-width:100%;}

#aside .inner { position: relative; width: 100%; height: 100%; box-sizing:border-box; padding: 10px 0 17px; overflow-y: auto;   }
#aside .inner::-webkit-scrollbar {display: none; width: 5px; height: 3px;}
#aside .inner::-webkit-scrollbar-button { display: none;}
#aside .inner::-webkit-scrollbar-track { background-color: #f3f3f3; }
#aside .inner::-webkit-scrollbar-track-piece { background: #eee; }
#aside .inner::-webkit-scrollbar-thumb { background: #999;}
#aside .inner::-webkit-scrollbar-corner {}

#aside .asideButton {position:relative; z-index:12; padding: 20px 30px 0px 0; overflow: hidden; }
#aside .asideButton button { float: right; margin: 0 10px; cursor:pointer; }
#aside .asideButton button img {max-width:21px;display: block;}
#aside .asideButton .asideClose img {max-width:18px; margin-top:2px;}

#aside .asideLogo { padding: 0 20px; box-sizing:border-box;}

.asideLogin { position: relative; width: calc(100% - 80px); padding: 0 40px 10px 40px; }
.asideLogin1 .title { position: relative; width: 100%; margin-bottom: 15px; }
.asideLogin1 .title a { display: block; font-size: 18px; color: #037158; font-weight: bold; }
.asideLogin1 .title a img {width:10px; margin:7px 0 0 3px;}
.asideLogin1 .promotion { font-size: 14px; line-height: 44px; height: 44px; color: #fff; background: #037158; text-align: center; border-radius:10px; overflow:hidden;}
.asideLogin1 .promotion a {display:block;color: #fff;}
#aside .asideLogin1 .promotion img {max-width:32px; vertical-align:middle;}
.asideLogin2 .loginSection1 { width: 100%; overflow: hidden; }
.asideLogin2 .loginSection1 .name { float: left; display: block; font-size: 19px; color: #037158; font-weight: 500; }
.asideLogin2 .loginSection1 .logout { float: right; }
.asideLogin2 .loginSection1 .logout a { display: block; margin-top:10px; font-size: 16px; color: #000; }
.asideLogin2 .loginSection2 { width: 100%; margin-top: 10px; padding: 15px 0; border: 2px solid #ddd; border-width: 1px 0; overflow: hidden;}
.asideLogin2 .loginSection2 > div { float: left; width: 33.33%; text-align: center; font-size: 17px; color: #3B3B3B; font-weight: 400; }
.asideLogin2 .loginSection2 > div:nth-child(2) { background: url(../images/new/point_new.png) no-repeat 69% 8%; background-size: 7px; }
.asideLogin2 .loginSection2 > div span { color: #037158; font-size: 16px;}
.asideLogin2 .loginSection3 { width: 100%; overflow: hidden; margin-top: 20px; }
.asideLogin2 .loginSection3 a { float: left; display: block; width: 49%; padding: 10px 0; margin-left: 1%; text-align: center; color: #037158; background: #DEEBE1; font-size: 15px; border-radius:10px;font-weight: 400;}
.asideLogin2 .loginSection3 a:first-child { margin: 0 0 1% 0;} 

.mypage-summary .asideLogin { width: calc(100% - 40px); padding: 0 20px; }
.mypage-summary .asideLogin2 .loginSection2 { background-color:#DEEBE1; border:none; border-radius: 10px;}
.mypage-summary .asideLogin2 .loginSection3 a {background-color:#fff; width:calc(100% - 4px); border:2px solid #DEEBE1;}
.mypage-summary .mypageTopBtn {clear:both; margin-top:5px;}


.asideContents { clear:both; width: calc(100% - 80px); padding: 0px 40px 0;}
.asideContents .title { width: 100%; margin-bottom: 20px; font-size: 18px; color: #000; font-weight: bold; }
.asideContents .section1,
.asideContents .section2,
.asideContents .section3,
.asideContents .section4 {
    clear: both;
    margin-bottom: 10%;
}

.asideContents .section1 {
    margin: 5% 0 10%;
}

.asideContents .section1 .content,
.asideContents .section2 .content,
.asideContents .section3 .content,
.asideContents .section4 .content {
    clear: both;
    width: 100%;
}


@media screen and (max-width:600px){
	#aside .asideButton {padding:20px 20px 10px 0;}
	#aside .asideButton button {margin:0 6px;}
	#aside .asideLogin { width: calc(100% - 40px); padding: 0 20px 10px 20px; }
	.asideContents {width: calc(100% - 40px); padding: 0px 20px 0;}

	/* 모바일 추가 2606  */
    #aside .anchor_tab_v2 a.on:after {
        width: 52px;
        height: 3px;
    }
}

/* app pop */
#appPop {opacity: 0; visibility: hidden; position:fixed; max-width:var(--s-max-width); width:100%; height:100%; overflow-y: hidden; z-index: 190;  background: rgba(0, 0, 0, 0.4); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#60000000,endColorstr=#60000000); zoom: 1;  -webkit-transition: .5s; -moz-transition: .5s; -o-transition: .5s; transition: .5s; }
#appPop.nowShow { opacity: 1; visibility: visible;}
#appPop .inner {clear:both; position: absolute; left:50%; top:50%; transform: translate(-50%, -50%); display:inline-block; background: #fff; border-radius:10px; padding:10px 20px 20px; box-shadow: 0px 5px 5px 0 rgba(0, 0, 0, 0.1); }
#appPop .inner:after {clear:both; display:block; content:"";}
#appPop .appPopButton {clear:both; display:block; text-align:right; z-index:12; padding: 10px 10px 20px;}
#appPop .appPopButton .appPopClose { cursor:pointer;}
#appPop .appPopButton .appPopClose img {max-width:22px;}


/* 사이드바 탭 2026 */
#aside .anchor_div_v2 {
    position: sticky !important;
    top: -10px !important;
    left: auto !important;

    width: 100% !important;
    height: auto !important;
    padding: 0 5% !important;
    box-sizing: border-box;

    background: #fff;
    z-index: 30;

    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* 기존 anchor_div:before 제거 */
#aside .anchor_div_v2:before {
    display: none !important;
}

#aside .anchor_tab_v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    height: 48px;

    background: #fff;
    border-bottom: 1.5px solid #e5e5e5;
    box-sizing: border-box;
}

#aside .anchor_tab_v2 a {
    position: relative;
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 48px;
    padding: 0;
    box-sizing: border-box;

    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    color: #3A3937;
    text-decoration: none;
}

#aside .anchor_tab_v2 a.on {
    color: #037158;
    font-weight: 700;
}

#aside .anchor_tab_v2 a.on:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 52px;
    height: 3px;
    background: #037158;
    transform: translateX(-50%);
}


/* 건강고민별 2606 */
.health-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px 8px;
    padding: 18px 10px 10px;
    box-sizing: border-box;
}

.health-category-item {
    position: relative;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    line-height: 1.3;
}

.health-icon-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 8px;
    background: #f3f3f3;
    border-radius: 24px;
    box-sizing: border-box;
}

.health-icon-box img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.health-category-name {
    display: block;
    font-weight: 500;
    color: #333;
    letter-spacing: -0.04em;
}

.health-badge {
    position: absolute;
    left: 50%;
    top: -7px;
    z-index: 2;
    transform: translateX(-50%);
    min-width: 38px;
    height: 18px;
    padding: 0 8px;
    border-radius: 999px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
}

.badge-best {
    background: #3dbb84;
}

.badge-pick {
    background: #9b6be8;
}

.badge-hot {
    background: #d93663;
}


/* 성분별 2606 */
.ingredient-menu-wrap {
    /*padding: 18px 16px 28px;*/
    box-sizing: border-box;
}

.ingredient-group {
    margin-bottom: 34px;
}

.ingredient-group:last-child {
    margin-bottom: 0;
}

.ingredient-banner {
    display: block;
    width: 100%;
    margin-bottom: 18px;
    text-decoration: none;
}

.ingredient-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* 성분 버튼 영역 안정화 */
.ingredient-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 10px;
    width: 100%;
    box-sizing: border-box;
}

.ingredient-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    box-sizing: border-box;

    background: #f1f1f1;
    border-radius: 999px;

    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.04em;
    overflow: hidden;
}

.ingredient-link span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ingredient-link em {
    flex: 0 0 auto;
    margin-left: 6px;
    font-style: normal;
    font-size: 8px;
    line-height: 1;
    color: #555;
}

/* 성분별 구분선 */
.ingredient-group-line {
    margin-top: 34px;
    padding-top: 34px;
    border-top: 1px solid #e5e5e5;
}




/* 스페셜 2606 */
.special-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 14px;
    /*padding: 18px 16px 24px;*/
    box-sizing: border-box;
}

.special-card-item {
    display: block;
    width: 100%;
	border-radius: 40px;
    overflow: hidden;
    text-decoration: none;
    background: #f5f5f5;
}

.special-card-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 서비스 2606 */
.service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
    box-sizing: border-box;
}

.service-card-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    min-height: 152px;
    padding: 16px 6px 20px;
    box-sizing: border-box;

    background: #f1f1f1;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    color: #222;
}

.service-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #fff;
}

.service-icon-box img {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.service-card-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.04em;
    color: #222;
}

.service-card-arrow {
    position: absolute;
    right: 9px;
    bottom: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;
    border-radius: 50%;

    background: #00110d;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
}


/* 하단배너  2606 */
.aside-bottom-banner {
    padding: 24px 0 32px;
    box-sizing: border-box;
}

.aside-bottom-banner-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.aside-bottom-banner-link img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}


/* 사이드바 좌우 흔들림 방지 2606 */
#aside,
#aside .inner {
    overflow-x: hidden;
}

/* 마이페이지 배너 2606 */
.mypage_aside_bottom_banner {
    padding: 10px 20px 0px;
}

.mypage_aside_bottom_banner_link {
    display: block;
}

.mypage_aside_bottom_banner_link img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}