.dis-f {display: flex;}
.jc-c {justify-content: center;}
.jc-sb {justify-content: space-between;}
.ai-c {align-items: center;}
.mt-50 {margin-top: 50px;}
.mt-30 {margin-top: 30px;}
.mb-30 {margin-bottom: 30px;}
.mt-20 {margin-top: 20px;}
.ov_h {overflow: hidden;}

/* 사이드메뉴 */

.sidenav a {
    padding: 14px 8px 14px 24px;
    text-decoration: none;
    font-size: 16px;
    color: #818181;
    display: block;
    transition: 0.3s;
    border-bottom: 1px solid #eee;
}

.sidenav .es > ul > li{
    padding: 14px 8px 14px 24px;
    text-decoration: none;
    font-size: 16px;
    color: #818181;
    display: block;
    transition: 0.3s;
    border-bottom: 1px solid #eee;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: 8px 1px 10px 0px rgba(0, 0, 0, .04);
}
.sidenav a:hover {
    color: #111;
    font-weight: 600;
    /* background-color: #; */
}

.sidenav .closebtn {
    width: 24px;
    height: 24px;
    display: block;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-16px, 16px);
    font-size: 16px;
    margin-left: 50px;
    padding: 0;
    border: none;
}

.sidenav .closebtn > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sidenav .es-shop > ul > li,
.sidenav .es-board > ul > li {background-color: #f9f9f9;}

/* //사이드메뉴 */

.fix_login_opt {width: 100%; position: absolute; bottom: 0;}
.brd-story .fix_login_opt {position: fixed;}
.fix_login_opt button {font-size: 16px; font-weight: 600; border-radius: 0;}

.login_main .logo {width: 170px; height: auto; margin: 0 auto;}
.login_main .logo > img {width: 100%; display: block; object-fit: cover;}

.sns_button_tit {width: 100%; height: auto; position: relative;}
.sns_button_tit > p{display: block; position: relative; width: 150px; margin: 0 auto; font-size: 14px; text-align: center; color: #888888; background-color: #fff;}
.sns_button_tit::before {content: ''; position: absolute; width: 100%; height: 1px; display: block; top: 50%; left: 0; transform: translateY(-50%); background-color: #ddd; margin-right: 5px; z-index: -1;}
.sns_button_wrap > li {margin-right: 14px; cursor: pointer;}
.sns_button_wrap > li:last-child {margin: 0;}
.sns_button_wrap > li > i {width: 45px; height: auto; display: block;}
.sns_button_wrap > li > i > img {width: 100%; display: block; object-fit: cover;}

.find_button_wrap{position: absolute; bottom: 0; width: 100%; left: 0; background-color: #ffff; border-top:1px solid #eee; }

.find_button_wrap .id_find_button,
.find_button_wrap .pw_find_button{padding: 1.5em 0; cursor: pointer;}
.find_button_wrap .id_find_button p,
.find_button_wrap .pw_find_button p{text-align: center; font-size: 0.85em; margin-top: 0; color: #777; line-height: 1;}
.find_button_wrap .id_find_button{border-right:1px solid #eee; cursor: pointer;}

.icon {width: 90px; height: auto;}
.icon > img {width: 100%; display: block; object-fit: cover;}

.main_img {width: calc((100% - 10px) / 2);}
.main_img > i {width: 120px; height: 120px; display: block; margin: 0 auto;}
.main_img > i > img {width: 100%; height: 100%; display: block; object-fit: cover;}

.skin_but {margin-top: 10px;}
.skin_but > button {width: 150px; height: auto; font-size: 14px; padding: 12px; position: relative; background-color: #111; color: #fff; border-radius: 100px; justify-content: flex-start;}
.skin_but > button > i {width: 6px; height: 12px; display: block; position: absolute; top: 50%; right: 0; transform: translate(-12px, -50%);}
.skin_but > button > i > img {width: 100%; height: 100%; display: block; object-fit: cover;}

.sec_tit > p {display: block; font-size: 20px; font-weight: 700;}
.sec_tit > p > em,
.sec_tit > p > b {display: inline; font-weight: 700;}
.sec_tit > p > b {color: #C0A34F;}
.group_slide {margin-top: 30px;}

.skinpr01_thumb {position: relative; width: 100%; height: 180px; border-radius: 10px; overflow: hidden;}
.skinpr01_thumb > img {width: 100%; height: 100%; display: block; object-fit: cover;}

.skin01_info {width: 100%; margin-top: 10px;}
.skin01_info > .prd_info {width: 100%; gap: 5px;}

.gr_like {width: 100%;}

.count {width: 100%;}
.count em {margin-right: 5px; font-weight: 700; font-size: 16px; color: #FF511B;}

.info {width: 100%;}
.info > p {display: block; font-size: 14px; font-weight: 400; color: #555;}

.writer {}
.writer > .min_profile {width: 25px; height: 25px; overflow: hidden; display: block; border-radius: 100px; margin-right: 7px;}
.writer > .min_profile > img {width: 100%; height: 100%; display: block; object-fit: cover; }

.main .brd_str .info > p {overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;}


/* 서브페이지 공통 커스텀*/

.sub > .page_hd {display: flex; justify-content: space-between; align-items: center; padding: 10px 1.2em;}
.sub > .page_hd .icon{ display: block; width: 24px; height: 24px; }
.sub > .page_hd .alarm { width: 24px; height: 24px; }
.sub > .page_hd .alarm > img {width: 100%; height: 100%; display: block; object-fit: cover;}
.sub > .inner {width: 100%;} 

/* 피부진단 페이지 */
.wrap.skin-0 {padding: 100px 0 120px;} 
.skin-0 .type-test-wrap {width: 100%; justify-content: space-between;}
.skin-0 .type-test-wrap > li {width: calc((100% - 20px) / 2);  border-radius: 15px; overflow: hidden; }
.skin-0 .type-test-wrap > li:first-child{background-color: #139AFF; }
.skin-0 .type-test-wrap > li:nth-child(2){background-color: #C0A34F;}
.skin-0 .type-test-wrap > li > div {padding: 16px;}
.skin-0 .type-test-wrap .type-test {display: flex; flex-direction: column; gap: 25px;}
.skin-0 .type-test-wrap .type-txt {display: flex; flex-direction: column; gap: 7px;}
.skin-0 .type-test-wrap .type-txt > p {font-size: 18px; font-weight: 600; color: #fff;}
.skin-0 .type-test-wrap .type-txt > span {font-size: 14px; font-weight: 400; color: #ffffffb8;}
.skin-0 .type-test-wrap .type-img{width: 100%; display: flex; justify-content: flex-end;}
.skin-0 .type-test-wrap .type-img > i {display: block; width: 60px; height: 60px;}
.skin-0 .type-test-wrap .type-img > i > img {width: 100%; height: 100%; }

/* 에스테샵 */
.wrap.estpshop {padding: 55px 0 80px;} 
.estpshop > .main_banner {width: 100%; position: relative; border-radius: 12px; overflow: hidden;}
.estpshop > .main_banner .swiper-wrapper {height: 100%;}
.estpshop > .main_banner .swiper-slide {width: 100%; height: 100%;}
.estpshop > .main_banner img {width: 100%; height: 100%; display: block; object-fit: cover; filter: brightness(0.8);}
.estpshop > .main_banner .swiper-pagination{display: flex; align-items: center; position: absolute; bottom: 15px; left: initial; right: 15px; width: max-content; padding: 4px 12px 6px; border-radius: 40px; background-color: #88888850; color: #fff; gap: 5px; font-size: 14px;}
.estpshop > .main_banner .swiper-pagination > span {color: #fff; font-weight: 300;}
.estpshop > .main_banner .banner-txt {position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); padding: 0 16px;}
.estpshop > .main_banner .banner-txt > h3 {font-size: 20px;}
.estpshop > .main_banner .banner-txt > h3 > b {font-weight: 700;}
.estpshop > .main_banner .banner-txt > p {display: block; margin-top: 10px;}
.estpshop .category_box  {width: 100%; margin-top: 30px;}
.estpshop .category_menu > ul {width: 100%; gap: 7px;}
.estpshop .category_menu > ul > li {width: calc(100% / 5);}
.estpshop .category_menu > ul > li i {display: block; width: 50px; height: 50px; margin: 0 auto;}
.estpshop .category_menu > ul > li i > img {width: 100%; height: 100%; object-fit: cover; display: block;}
.estpshop .category_menu > ul > li p {display: block; text-align: center; font-size: 13px; margin-top: 7px;}
.estpshop .hot_area .prd_thumb {width: 55%;}
.estpshop .ranking_box {display: flex; align-items: center; gap: 5px; padding: 6px 15px 8px; border-radius: 5px 0px 5px 0px; background-color: #FF511B; box-shadow: 4px 4px 10px 6px rgba(0, 0, 0, .05); width: max-content; position: absolute; top: 0; left: 0;}
.estpshop .ranking_box > span { font-size: 14px; font-weight: 400; color: #fff;}

.estpshop .category_box li > div > p {color: #888;}
.estpshop .category_box li.on div > p {color: #C0A34F;}

.estpshop01 .prd_list {width: 100%; flex-wrap: wrap; flex-direction: row; justify-content: space-between; gap: 20px;}
.estpshop01 .prd_con {display: flex; flex-direction: column; width: calc((100% - 20px) / 2);}
.estpshop01 .hot_area .prd_thumb {width: 100%;}

/* 에스테보드 */

.estpboard > .main_banner > div {height: 480px; overflow: hidden; border-radius: 10px;} 
.estpboard > .main_banner > div > img {width: 100%; height: 100%; object-fit: cover; object-position: top;}
.estpboard > .main_banner > div > .banner-txt {top: unset; bottom: 0; transform: translateY(-50%);}
.estpboard > .main_banner > div > .banner-txt > h3 {font-size: 25px; font-weight: 700; color: #fff;}
.estpboard > .main_banner > div > .banner-txt > p {font-weight: 400; color: #fff;}
.estpboard > .main_banner > div {overflow: hidden;}

.estpboard01 > .main_banner > div {overflow: unset;}
.estpboard01 > .main_banner .swiper-slide { width: 100%; height: 480px; overflow: hidden; border-radius: 10px;}
.estpboard01 .swiper { width: 100%; height: 80%; padding-bottom: 30px; }
.estpboard01 .swiper-wrapper { transition-timing-function: linear;}
.estpboard01 .swiper-slide { text-align: center; font-size: 18px;  display: flex; justify-content: center; align-items: center; width: 48%; transition: transform 0.3s; }
.estpboard01 .swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;}
.estpboard01 > .main_banner .banner-txt {top: unset; bottom: 0; left: 0; text-align: left; transform: translateY(-50%);}
.estpboard01 .banner-txt > h3 {font-size: 25px; font-weight: 700; color: #fff;}
.estpboard01 .banner-txt > p {font-weight: 400; color: #fff;}

.estpboard02 .swiper-slide img {object-position: top;}

.wrap.detail .main_banner .bannerSwiper { overflow: hidden;}
.wrap.detail .main_banner {position: relative;}
.wrap.detail .swiper-pagination {display: flex}
.wrap.detail .swiper-pagination, .wrap.detail .swiper-pagination > span {color: #fff;}


/* 마이페이지 */
.wrap.mypage {padding: 55px 0 120px;}
.mypage_main {background-color: #111; padding-top: 30px;}
.mypage_main .my_profile .prof_name > span,
.mypage_main .my_profile .prof_name > p,
.mypage_main .my_profile .prof_name > p > em {color: #fff;}

/* 상세보기 */
.wrap.detail {padding: 55px 0 120px;}
.detail .main_banner {height: 450px;}
.detail .swiper-slide > img {width: 100%; height: 100%; object-fit: cover; }
.detail .sub_tab span{width: calc(100% / 3);}
.detail .prd_info .price p {font-size: 20px;}
.detail .count em{font-size: 20px;}

/* 피부톤 및 피부타입진단 */

.skintest .phone_box {display: flex; flex-direction: row; justify-content: space-between;}
.skintest .jen-button {width: calc((100% - 10px) / 2);}
.jen-button{border: 1px solid #ddd; border-radius: 5px;}
.jen-button{border: 1px solid #ddd; border-radius: 5px;}
.skintest.skintest03 .phone_box {flex-direction: column;}
.jen-on {border: 1px solid #C0A34F; background-color: #FFF7DF; color: #BD8D02;}
.skintest04 select {width: 100%; height: auto; padding: 16px; border: 1px solid #ddd; border-radius: 5px; font-size: 15px;}
select:focus{border: 1px solid #C0A34F;}
.skintest.skintype06 .phone_box,
.skintest.skintype07 .phone_box {flex-direction: column}
.img_preview {cursor: pointer; border: 1px dashed #ddd; color: #555; overflow: hidden; width: 100%; height: 400px; text-align: center; display: flex; align-items: center; justify-content: center;}
#imagePreview img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지를 영역에 꽉 채우기 위해 cover 사용 */
}
.font-red{color: #FF511B;}
.ft-13 {font-size: 13px;}
.skintest.skintype07 .type-card {width: 285px; display: flex; flex-direction: column; align-items: center; gap: 30px; margin: 0 auto; padding: 60px 16px; border-radius: 15px; background-color: #191919;}
.skintest.skintype07 .type-card > i {display: block; width: 100px;  height: 100px; overflow: hidden;}
.skintest.skintype07 .type-card > i > img {width: 100%; height: 100%; object-fit: cover; display: block;}
.skintest.skintype07 .type_result_txt,
.skintest.skintype07 .type_result_txt > b {font-size: 17px; font-weight: 600;}
.skintest.skintype07 .type_result_txt {color: #fff}
.skintest.skintype07 .type_result_txt > b {color: #c0a34f; font-weight: 700; font-size: 18px;}

/* .skintest.skintype07 .type_info_txt_box {margin-top: 16px;} */

.type_info_txt_box {margin-top: 28px;}
.type_info_txt_box > p {display: block; text-align: center; line-height: 1.6;}
.skintest.skintype07 .btn_box {display: flex;}
.skintest.skintype07 .btn_box > button:nth-child(2) {background-color: #FF511B; border: 1px solid #FF511B;} 

.shopdetail .sub_box {width: 100%;}
.shopdetail .sub_box > dl {width: 100%; height: auto; border-top: 1px solid #ddd; align-items: unset;}
.shopdetail .sub_box > dl:last-child {border-bottom: 1px solid #ddd;}
.shopdetail .sub_box dt {width: 25%; background-color: #f9f9f9; padding: 8px; vertical-align: top; word-spacing: -.5px;}
.shopdetail .sub_box dd {width: 75%; padding: 8px;}

.prd_title > p {font-size: 17px; font-weight: 700;}


.wrap.brd-stroy {padding: 55px 0 40px;  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), url("https://s3.ap-northeast-2.amazonaws.com/lbcontents/images/ESTP/169133818036813.png"); background-size: 100%; background-repeat: no-repeat;}
.wrap.brd-stroy02 {padding: 55px 0 40px; background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), url("https://s3.ap-northeast-2.amazonaws.com/lbcontents/images/ESTP/169204391371100.png"); background-size: 100%; background-repeat: no-repeat;}

.wrap.cal01 {padding: 55px 0 40px; background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), url("https://s3.ap-northeast-2.amazonaws.com/lbcontents/images/ESTP/169204501426835.png"); background-size: 100%; background-repeat: no-repeat;}
.wrap.cal02 {padding: 55px 0 40px; background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), url("https://s3.ap-northeast-2.amazonaws.com/lbcontents/images/ESTP/169204563587638.png"); background-size: 100%; background-repeat: no-repeat;}

.wrap.wrap.brd-stroy .main_inner {padding: 40px 0;} 
.brd-stroy .main_top {padding: 75px 1.2em;}
/* .wrap.brd-stroy > .page_hd {background-color: transparent; border: ;} */
.brd-stroy .main_title > p,
.brd-stroy .main_title > span{color: #Fff;}
.brd-stroy .main_title > p {font-size: 2em;}
.brd-stroy .main_title > span {margin-top: 10px;}
.brd-stroy .brd-dt {margin-top: 10px;}
.brd-stroy .brd-dt > span,
.brd-stroy .brd-dt > span > em {color: #fff; font-weight: 400; display: inline; font-size: 14px;}
.brd-stroy .brd-dt > span > em {margin-left: 4px;}
.brd-stroy .brd-dt {gap: 14px;}
.brd-stroy .brd-dt > span:first-child {position: relative;}
.brd-stroy .brd-dt > span:first-child::after{content: ''; display: block; position: absolute; top: 3px; right: -7px; width: 1px; height: 10px; background: #fff;}
.cal .brd-dt > span:nth-child(2) {position: relative;}
.cal .brd-dt > span:nth-child(2)::after{content: ''; display: block; position: absolute; top: 3px; right: -7px; width: 1px; height: 10px; background: #fff;}
.brd-stroy .sect_bt {margin-bottom: 50px;}
.brd-stroy .sec_info > p {font-weight: 300; color: #555;}


.writer > span {color: #555; display: inline; margin-top: 3px; font-size: 15px; font-weight: 500;}
.cal .dt_bottom > button.btn_main {width: 100%;}
.cal .sect_bt:first-child {margin-bottom: 20px;}