/* BASIC css start */
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden !important;
}

table { 
    margin: 0 auto;
}

#layout_config {
    width: 1280px;
    margin: auto;
}

#layout_config_full {
    width: 100%;
}

#layout_side {
    width: 263px;
}

.wrap_inner {
    width: 1140px;
    margin: auto;
}

#language {
    position: relative;
    border: 0;
    background: none;
    background-image: url("/design/skinfood/skinfood/images/main/lang-icon-8x5.png");
    -webkit-background-size: 8px 5px;
    background-size: 8px 5px;
    background-position: right;
    background-repeat: no-repeat;
    font-weight: bold;
    text-decoration: underline;
    text-underline-position: under;
    top: 0;
}

#language.language_on {
    right: 70px;
}

#layout_side.flying,
#layout_config_body.flying,
#layout_config_full.flying {
    margin-top: 50px;
}

#hot ul li:hover a {
    color: #fff;
}

#layout_body {
    overflow: initial;
    min-width: auto;
    max-width: none;
}


/* 상단 띠배너 */
.swiper_newsban{
    height:46px; 
    position:relative; 
    background: var(--Ypoint); 
    display:none;
}

.swiper_newsban .swiper-wrapper .swiper-slide a{
    color:#231815; 
    width:100%; 
    text-align:center; 
    display:inline-block; 
    padding:15px 0; 
    font-size:16px; 
    line-height:1; 
    font-weight:600;
}

.swiper_newsban .clsbtn {
    width:12px; 
    position:absolute; 
    top:17px; 
    right:51px; 
    z-index:999;
}

/* 헤더 */
#layout_topBar { 
    width: 100%;
    min-height: 56px;
    background: transparent;
    position: relative;
    z-index: 100;
    border-bottom: none;
}

#layout_topBar .wrap_inner {
    width: auto;
    height: 56px;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    margin: 0;
}

#layout_topBar .wrap_inner .left {
    display: flex;
}

/* gnb 로고 */
#layout_topBar .wrap_inner .left .gnb__logo {
    position: relative;
    height: 21px;
    width: 150px;
    padding: 0;
    margin: 0;
    top: 50% !important;
    transform: translateY(-50%);
    font-size: 0;
}

/* gnb */
#layout_topBar .wrap_inner .left .gnb__list {
    margin: 0 0 0 80px;
}

#layout_topBar .wrap_inner .left .gnb__list .gnb__item  {
    padding: 0 30px;
    line-height: 56px;
    height: 56px;
}

#layout_topBar .wrap_inner .left .gnb__list .gnb__item > a {
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
}

#layout_topBar .wrap_inner .left .gnb__list .gnb__item > a.open {
    color: var(--Ypoint) !important;
}

/* 헤더 gnb scroll */
#layout_topBar.scroll {
    position: fixed;
    top: 0;
    left: 0;
    background:var(--blurBg) !important;
}

/* gnb 하위카테고리 */
#layout_topBar .relative {
    display: none;
    position: absolute !important;
    top: 37px;
    left: 20px;
    padding-top: 60px;
}


#layout_topBar .relative .gnb__sub-category {
    background: var(--blurBg);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    padding: 40px;
    height: 542px;
    width: auto !important;
}

#layout_topBar .relative .gnb__sub-category h2 {
    line-height: 1;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

#layout_topBar .relative .gnb__sub-category .gnb__2depth-wrap {
    width: 100%;
    height: auto;
    min-height: 440px;
    padding: 0;
    margin: 0;
}

#layout_topBar .relative .gnb__sub-category .gnb__2depth-wrap .gnb-2depth {
    width: 100% !important;
}

#layout_topBar .relative .gnb__sub-category .gnb__2depth-wrap .gnb-2depth .designCategoryNavigation {
    display: flex;
    width: 100%;
    gap: 0 40px;
}

#layout_topBar .relative .gnb__sub-category .gnb__2depth-wrap .secBox h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.54px;
    color: var(--gray700);
    margin-bottom: 25px;
}

#layout_topBar .relative .gnb__sub-category .gnb__2depth-wrap .secBox .typeSec,
#layout_topBar .relative .gnb__sub-category .gnb__2depth-wrap .secBox .lineSec {
    display: block;
}


#layout_topBar .relative .gnb__sub-category .gnb-2depth__item {
    padding: 15px 0;
}

#layout_topBar .relative .gnb__sub-category .gnb-2depth__item:nth-child(n+9) { display: none;}

#layout_topBar .relative .gnb__sub-category .gnb-2depth__item > a {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    letter-spacing: -0.48px;
}

#layout_topBar .relative .gnb__sub-category .gnb-2depth__item > a:hover {
    text-decoration: underline;
    text-underline-offset:3px;
}

#layout_topBar .relative .gnb__sub-category .gnb-2depth__item.gnb-2depth__item--has-child:hover a::before {
    display: none;
}

#layout_topBar .relative .gnb__sub-category .gnb-3depth__list {
    left: 180px;
    right: auto;
    padding: 92px 0 32px 60px;
    width: auto;
    background: transparent;
}

#layout_topBar .relative .gnb__sub-category .gnb-3depth__list.gnb-3depth__list--active {
    display: none !important;
}

#layout_topBar .relative .gnb__sub-category .gnb-3depth__item ul li {
    padding: 15px 0;
}

#layout_topBar .relative .gnb__sub-category .gnb-3depth__item ul li ~ li {
    margin-top: 0;
    margin-right: 60px;
}

#layout_topBar .relative .gnb__sub-category .gnb-3depth__item li a {
    color: var(--gray800);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.48px;
    white-space: nowrap;
    padding: 15px 0;
}

#layout_topBar .relative .gnb__sub-category .gnb-3depth__item li:hover a {
    text-decoration: underline;
    text-underline-offset:3px;
}

/* 고민별 & 타입별 추가 */
#layout_topBar .typeSec .gnb-3depth__list,
#layout_topBar .lineSec .gnb-3depth__list { 
    display: block;
    padding: 0 !important;
    left: auto !important;
    position: relative;
}

#layout_topBar .relative .gnb__sub-category .gnb__2depth-wrap .secBox:first-child {
    min-width: 136px;
}

#layout_topBar .secBox .gnb-3depth__item {
    margin-top: 0;
    width: 150px;
}

#layout_topBar .typeSec .gnb-3depth__list {
    width: 136px !important;
}

#layout_topBar .lineSec .gnb-3depth__list {
    width: 100%;
    display: flex;
}


/* CIMMUNITY */
#layout_topBar .csRelative {
    display: none;
    position: absolute;
    top: 37px;
    left: 20px;
    padding-top: 60px;
}

/* ABOUT */
#layout_topBar .aboutRelative {
    display: none;
    position: absolute;
    top: 37px;
    left: 20px;
    padding-top: 60px;
}

.pag_g .sub-category-wrap {
    background: var(--blurBg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.pag_g .gnb__sub-category {
    width: auto;
    padding: 40px;
}

.pag_g .gnb__sub-category h2 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin-bottom: 30px;
}

.pag_g .gnb__sub-category ul > li {
    padding: 10px 0;
    line-height: 1;
}

.pag_g .gnb__sub-category ul > li:last-child {
    padding: 10px 0 0;
}

.pag_g .gnb__sub-category ul > li a {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.48px;
    color: var(--gray800) !important;
    white-space: nowrap;
}



/* gnb 검색 & 마이페이지 & 장바구니 & 언어 */
.gnb-icon-wrap {
    display: flex;
    gap: 0 20px;
    padding: 16px 0;
}

.gnb-icon {
    width: 24px;
    height: 24px;
    background-size: cover;
}

.gnb-icon.gnb-icon--search {
    margin-left: 0;
}

.gnb-icon.gnb-icon--search a,
.gnb-icon.gnb-icon--cart a {
    background: none;
}

.gnb-icon.sub > .boxline {
    display: none;
    padding-top: 41px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
}

.gnb-icon.sub > .boxline > div {
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    padding: 20px 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 0;
    box-sizing: border-box;
}

.gnb-icon.sub > .boxline div div {
    width: 100%;
}

.gnb-icon.sub > .boxline > div a {
    width: 100%;
    height: auto;
    font-size: 16px;
    white-space: nowrap;
    color: var(--gray800) !important;
    text-align: center;
}

.gnb-icon.sub > .boxline > div a:hover {
    text-decoration: underline;
    text-underline-offset:3px;
    color: #333;
}

.gnb-icon.admin,
.gnb-icon.language  {
    position: relative;
}

.gnb-icon.gnb-icon--cart {
    margin-left: 0;
}


/* 검색창 */
.gnb__search--active {
    background-color: var(--blurBg);
    padding: 20px 0 80px;
    top: 96px;
}

.gnb__search-icon {
    right: 37px;
    left: auto;
}

.gnb__search-icon--close {
    position: fixed;
    width: 100vw;
    height: 70%;
    background: transparent;
    z-index: -1;
}

.MS_search_word {
    width: 800px;
    padding: 8px 15px;
    border-bottom: 1px solid #4E5059;
}

#hot {
    width: 800px;
    margin: 40px auto 0;
    display: flex;
    gap: 0 40px;
    align-items: center;
}

#hot h2 {
    text-indent: inherit;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    letter-spacing: inherit;
    margin-bottom: 0;
}

#hot ul {
    margin: 0;
    display: flex;
    gap: 0 20px;
}

#hot ul > li {
    background: transparent;
    border: none;
    height: auto;
    border-radius: inherit;
    line-height: 1;
    width: auto;
}

#hot ul li a {
    color: #666;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.48px;
    color: #666;
    white-space: nowrap;
}

#hot ul li:hover {
    background: transparent;
    color: #333;
    text-decoration: underline;
    text-underline-offset:3px;
}

#hot ul li:hover a {
    color: #333;
}
/* BASIC css end */

