/* BASIC css start */
body {
    position: relative;
    background-color: #f5f5f5;
    min-height: 100dvh;
    box-sizing: border-box;
    word-break: break-all;
}

#mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 200
}

:root {
    --maincolor: #124098;
}

.displaynone {
    display: none !important;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}


.mo {
    display: none;
}

.trans1 {
    transition: all 0.3s ease;
}

.trans2 {
    transition: all 0.3s ease-in-out;
}

.noscroll {
    overflow: hidden !important;
}


/* 기본 스타일 (PC용) */
body {
    padding-top: 76px;
}

header {
    padding: 20px 20px 35px;
    background-color: #f5f5f5;
    z-index: 101;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}

.header {
    display: flex;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    gap: 30px;
    position: relative;
}
.logo img {width:72px;}
.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav>a {
    color: #000;
    font-size: 15px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

.nav>a.active {
    color: var(--maincolor);
    position: relative;
}

.nav>a.active::after {
    content: "";
    background: #144198;
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.header-icons {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
}

.header-icons>.toggle,
.header-icons>a {
    color: #000000;
    font-size: 15px;
    display: inline-flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    margin-left: 22px;
    position: relative;
    cursor: pointer;
    font-weight: 500;
}
.header-icons>a #user_basket_quantity {
    background: var(--maincolor);
    color: #fff;
    position: absolute;
    top: -5px;
    right: -10px;
    width: 15px;
    height: 15px;
    font-size: 11px;
    border-radius: 15px;
    display:none;
}
.header-icons>a #user_basket_quantity.active{
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-icons>a img {height:20px; }

.header-icons a.language {
    margin-left: 17px;
}

.header-icons .currency {
    margin-left: 6px;
    padding-left: 6px;
    position: relative;
}

.header-icons .currency::after {
    content: "";
    background: #a6a6a6;
    width: 1px;
    height: 11px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}


.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    z-index: 11;
    box-sizing: border-box;
    display: none;
    border-top: 1px solid #e0e0e0e0;
}

.bottom-nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
}
.bottom-nav ul li {
    flex: 1 1 0%;
}

.bottom-nav ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 44px;
    justify-content: space-between;
}
.bottom-nav ul li a img {height:20px;}
.bottom-nav ul li a .eventIcon {
    height: 25px;
    margin-top: -3px;
}
.searchArea {
    /*display: none;*/
    opacity: 0;
    visibility: hidden;
    border: 1px solid var(--maincolor);
    border-radius: 17px;
    background: #fff;
    position: absolute;
    top: -14px;
    left: calc(-100% - 122px);
    z-index: 22;
    padding: 5px 14px 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.searchArea.active{
    opacity: 1;
    visibility: visible;
}
.searchGo img {
    width: 20px;
}
.searchBox {}

.searchInput {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--maincolor);
    /* border-radius: 0 0 3px 3px; */
    padding: 0;
    gap: 10px;
    height: 36px;
    width: 455px;
    flex-direction: row-reverse;
}


.searchInput input {
    font-size: 13px;
    color: #000;
    height: 36px;
    border: 0;
    outline: 0;
    flex: 1;
}

.searchInput input::placeholder {
    color: #323232;
}
.searchClosed {display: none;}
.recentSearch {
    padding: 20px 0 28px;
    width: 436px;
}

.recentSearchTitle {
    color: #2c2c2e;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 20px;
}

.recentSearch ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recentSearch ul li {
    position: relative;
    padding-right: 20px;
    box-sizing: border-box;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recentSearch ul li.empty {
    color: #838383;
    font-size: 13px;
    position: relative;
    left: 0;
}

.recentSearch ul li a {
    color: #2c2c2e;
    font-size: 14px;
}

.recentSearch ul li a.recentDelete {
    position: absolute;
    top: 0;
    right: 0;
}

.header-icons>.toggle ul {
    background: #fff;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    text-align: left;
    padding: 10px 0;
    border: 1px solid #efefef;
    display: none;
    box-sizing: border-box;
    text-align: left;
    border-radius: 3px;
}

.header-icons>.toggle img {
    transition: all 0.3s ease;
    width: 9px;
}

.header-icons>.toggle:hover img {
    transform: rotate(180deg);
}

.header-icons>.toggle:hover>ul {
    display: block;
}

.header-icons>.toggle>ul>li {
    padding: 5px 0;
}
.header-icons>.toggle>ul>li.active {
    background: #f0f0f0;
}
.header-icons>.toggle>ul>li>a {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    padding: 0 10px;
}

.header-icons>.toggle>ul>li>a:hover {
    color: var(--maincolor);
}

.header-icons>.toggle.currency>ul {
    width: 100px;
}


.menu-layer {
    position: absolute;
    top: 35px;
    right: -28px;
    z-index: 22;
    width: 296px;
    display: none;
}

.menu-layer.active {
    display: block;
}
.menu-layer .triangle {
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 16px solid #f5f5f5;
    position: absolute;
    top: 1px;
    right: 30px;
    filter: drop-shadow(0 -1px 0 #e0e0e0) drop-shadow(0px 0px 0 #e0e0e0);
}

.menu-wrap {
    display: flex;
    height: 472px;
}

.menu-content {
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0px 17px 32px 6px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-top: 16px;
}

.menu-left {
    width: 135px;
    background: #f5f5f5;
    overflow-y: auto;
}

.menu-left li {
    padding: 15px 5px 15px 15px;
    cursor: pointer;
    color: #828282;
    font-size: 16px;
    line-height: 1;
    font-weight: bold;
}

.menu-left li.active {
    background: #fff;
    color: #292b2b;
    font-weight: bold;
    position: relative;
}

.menu-left li:hover {
    color: #292b2b;
}

.menu-right {
    flex: 1;
    overflow-y: auto;
    padding: 25px 18px;
}


.menu-right a {
    font-size: 14px;
    display: block;
    padding: 8px 0;
    color: #828282;
    font-weight: bold;
}

.nav .menu {
    position: relative;
}


.nav .menu .menuIcon {
    width: 21px;
}

.nav .menu .menuIcon {
    cursor: pointer;
}

.menu-select {
    background: #f5f5f5;
    height: 45px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 15px;
    border-bottom: 1px solid #ebebeb;
}

.menu-select span {
    cursor: pointer;
    color: #292b2b;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    height: 45px;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
}

.menu-select span.active::after {
    content: "";
    background: var(--maincolor);
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.menu-left li.active::after {
    content: "";
    background: var(--maincolor);
    width: 8px;
    height: 8px;
    border-radius: 8px;
    top: -12px;
    position: relative;
    display: inline-block;
    left: 3px;
}

.menu-right .submenu {
    display: none;
}

.menu-right .submenu.active {
    display: block;
}

.menu-right h3 {
    color: #292b2b;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 8px;
}

.menu-right a:hover {
    color: var(--maincolor);
}

/* 인기검색어 */
.mk_new_ranking * {
    font-family: 'Pretendard Variable', sans-serif !important;
}
.mk_new_ranking {
    width: 100% !important;
    border: 0 !important;
    padding: 0 !important;
}

.mk_title_wrap {
    display: none !important;
}

.mk_new_ranking .mk_keyword_wrap .mk_keywords li {
    padding: 20px 10px 0 0 !important;
}

.mk_new_ranking .mk_keyword_wrap .mk_keywords li:first-child {
    margin-top: -10px;
}

.mk_new_ranking .mk_keyword_wrap .mk_keywords li a {
    width: 100% !important;
    color: #2c2c2e !important;
    font-size: 16px !important;
}

.mk_new_ranking .mk_keyword_wrap .mk_keywords li .mk_keywords_num {
    font-family: 'Pretendard Variable', sans-serif !important;
    color: #2c2c2e !important;
    font-size: 16px;
    font-weight: bold;
}

.mk_new_ranking .mk_keyword_wrap .mk_keywords li .mk_keywords_txt{
    font-family: 'Pretendard Variable', sans-serif !important;
}


/* 검색, 메뉴 뒤 배경 */
.dim-background {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*    background-color: rgba(0, 0, 0, 0.7); */
    z-index: 3;
} 
.dim-transition {
    opacity: 0;
    visibility: hidden; 
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dim-transition.active {
    opacity: 1;
    visibility: visible;
}


/* 태블릿/모바일용 */
@media (max-width: 1024px) {
    .mo {
        display: inline-block;
    }

    .pc {
        display: none !important;
    }


    body {
        padding-top: 102.75px;
    }

    header {
        padding: 25px 24px 10px;
        border-bottom: 1px solid #e5e7eb;
    }

    .bottom-nav {
        display: block;
    }




    .header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .nav .menu .menuIcon,
    .header-icons a.my,
    .header-icons>.toggle {
        display: none;
    }

    .nav {
        order: 2;
        flex: 1;
        justify-content: flex-start;
    }

    .nav>a.active::after {
        bottom: -10px;
    }

    .logo {
        order: 1;
    }

    .header-icons {
        order: 3;
    }

    .menu-layer {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        display: block;
        transition: all 0.3s ease;
    }

    .menu-layer.active {
        right: 0;
    }

    .menu-layer .dimmed {
        opacity: 0;
        visibility: hidden;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        /*background: rgba(0, 0, 0, 0.5);*/
        background: rgba(0, 0, 0, 0);
    }

    .menu-layer.active .dimmed {
        opacity: 1;
        visibility: visible;
        background: rgba(0, 0, 0, 0.5);
    }

    .menu-layer .triangle {
        display: none;
    }

    .menu-content {
        margin-top: 0;
        border-radius: 0;
        height: 100%;
        /*width: 60%;*/
        width: 320px;
        position: absolute;
        right: 0;
        top: 0;
        box-sizing: border-box;
    }

    .menu-select {
        display: none;
    }




    /* 메뉴 전체 영역 */
    .menu-content {
        height: 100vh;
        overflow-y: auto;
        padding: 20px;
    }

    /* 검색 */
    .search-box {
        border: 1px solid #828282;
        border-radius: 50px;
        width: calc(100% - 30px);
        box-sizing: border-box;
        overflow: hidden;
        margin-bottom: 30px;
        position: relative;
        display: none;
    }

    .search-box input {
        border: none;
        font-size: 13px;
        outline: none;
        height: 33px;
        padding: 0 15px;
        width: calc(100% - 30px);
        box-sizing: border-box;
    }

    .search-box input::placeholder {
        color: #888888;
    }

    .search-box button {
        background: none;
        border: none;
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 15px;
    }
.search-box button img {width:13px;}
    /* 로그인, 언어, 통화 */
    .user-options {
        margin-top: 60px;
        display: flex;
        gap: 10px;
        margin-bottom: 30px;
    }

    .user-options>a {
        color: #2c2c2e;
        font-size: 14px;
        font-weight: bold;
        border: 1px solid #999999;
        padding: 0 15px;
        border-radius: 31px;
        height: 31px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .user-options .toggle {
        position: relative;
    }

    .user-options .toggle span {
        color: #2c2c2e;
        font-size: 14px;
        font-weight: bold;
        border: 1px solid #999999;
        padding: 0 10px;
        border-radius: 31px;
        height: 31px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .user-options .toggle span img:first-child {
        margin-right: 4px;
    }

    .user-options .toggle span img:last-child {
        width: 9px;
        transition: all 0.3s ease;
        margin-left: 8px;
    }

    .user-options .toggle.active span img:last-child {
        transform: rotate(180deg);
    }

    .user-options .slide-wrap {
        position: absolute;
        top: 32px;
        width: 100%;
        display: none;
        min-width: 149px;
        box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.1);
        border-radius: 15px;
        margin-top: 13px;
        overflow: hidden;
    }

    .user-options .toggle ul {
        border: 1px solid #f3f3f3;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* gap: 4px; */
        padding: 0;
        background: #fff;
    }

    .user-options .toggle ul li {
    width: 100%;
    padding: 0 14px;
    box-sizing: border-box;
}
    .user-options .toggle ul li + li {border-top:1px solid #eeeeee;}

    .user-options .toggle ul li a {
        color: #2c2c2e;
        font-size: 14px;
        font-weight: bold;
        padding: 8px 0;
        display: flex;
    }
    /* 메뉴 */
    .menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        font-family: 'Inter', sans-serif;
    } 
    .menu-list>li {
        padding: 14px 0;
        font-size: 16px;
        font-weight: bold;
        color: #101010;
    }
    .menu-list>li.login_li a {
        font-size: 16px;
        font-weight: bold;
        color: #101010;
    }

    .menu-list>li.direct {
        background: url('/design/offik/images/menu_arr.png') no-repeat center right;
    }

    .menu-list>li>a {
        font-size: 16px;
        font-family: 'Inter', sans-serif;
        font-weight: bold;
        color: #101010;
        display: block;
    }

    .menu-list>li>.submenu {
        padding-left: 15px;
        padding-top: 8px;
        display: none;
    }

    .menu-list>li>.submenu>li {
        padding: 8px 0;
    }

    .menu-list>li>.submenu>li:last-child {
        padding: 8px 0 0 0;
    }

    .menu-list>li>.submenu>li>a {
        font-family: 'Inter', sans-serif;
        color: #101010;
        font-weight: 400;
        font-size: 14px;
        display: block;
    }


    .menu-list>li.has-sub .has-sub-title {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .menu-list>li.has-sub .no-has-sub-title a {
        font-size: 16px;
        font-weight: bold;
        color: #101010;
    }
    
    .menu-list>li.has-sub .has-sub-title img {
        transition: all 0.3s ease;
        transform: rotate(-90deg); 
    }

    .menu-list>li.has-sub.open .has-sub-title img {
        transform: rotate(180deg);
    }

    .side-menu .-divider {
        margin: 40px 0;
        border-top: 1px solid #ebebeb;
    }

    .side-menu .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        cursor: pointer;
    }
.side-menu .close-btn img {
    width: 14px;
}
    .searchArea {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        border: 0;
        padding: 75px 50px;
        box-sizing: border-box;
    }

    .searchInput {
        display: flex;
        flex-direction: row-reverse;
        width: 100%;
        height: 44px;
        border-radius: 0;
        padding: 0;
        border-bottom: 2px solid #000;
    }

    .searchInput input {
        font-size: 14px;
    }
    .searchInput .searchGo img { width: 18px; }
    .searchClosed{display:inline-block;}

    .recentSearch {
        width: 100%;
        padding: 30px 0;
    }

    .recentSearchTitle {
        color: #2c2c2e;
        font-size: 18px;
        margin-bottom: 14px;
    }

    .recentSearch ul {
        padding: 0;
        gap: 20px;
    }

    .recentSearch ul li:first-child {
        margin-top: 10px;
    }

    .recentSearch ul li a {
        font-size: 16px;
    }

    .recentSearch ul li.empty {
        font-size: 14px;
        left: 0;
    }

    .hotSearch {
        width: 100%;
        padding: 30px 0;
    }

    .hotSearchTitle {
        font-weight: bold;
        color: #2c2c2e;
        font-size: 18px;
        margin-bottom: 14px;
    }

/* 햄버거메뉴 접혔을때 */
@media (max-height: 890px) {
    .user-options {    margin-top: 40px;    margin-bottom: 20px;}
    .side-menu .-divider {    margin: 30px 0;}
}
@media (max-height: 795px) {
    .user-options {    margin-top: 20px;    margin-bottom: 15px;}
    .side-menu .-divider {    margin: 20px 0;}
}

@media (max-height: 729px) {
    .menu-list>li.has-sub .no-has-sub-title a, .menu-list>li, .menu-list>li>a {    font-size: 15px;} 
    .side-menu .-divider {    margin: 14px 0;}
    .user-options {margin-top: 10px;margin-bottom: 5px;}
    
}





}

@media (max-width: 768px) {



    body {
        padding-top: 100.75px;
    }

    header {
        padding: 23px 20px 10px;
    }

    .bottom-nav ul {
        /*padding: 13px 20px;*/
    }

    .searchArea {
        padding: 35px 40px;
        overflow-y: scroll;
    }


    .menu-content {}

    .recentSearchTitle,
    .hotSearchTitle {
        font-size: 16px;
    }

    .recentSearch ul {
        gap: 14px;
    }

    .recentSearch ul li a {
        font-size: 14px;
    }


    .mk_new_ranking .mk_keyword_wrap .mk_keywords li a {
        font-size: 14px !important;
    }

    .mk_new_ranking .mk_keyword_wrap .mk_keywords li .mk_keywords_num {
        font-size: 14px;
    }

    .hotSearch {
        padding: 0;
    }

    .mk_new_ranking .mk_keyword_wrap .mk_keywords li {
        padding: 14px 10px 0 0 !important;
    }

    .recentSearch ul li:first-child {
        margin: 0;
    }
}

/* 한글 */ 
/* BASIC css end */

