/*===========================================================================
	웹폰트
============================================================================*/

/* 폰트 */
@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-style: normal;
    src: url('../fonts/Pretendard-Thin.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-style: normal;
    src: url('../fonts/Pretendard-ExtraLight.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-style: normal;
    src: url('../fonts/Pretendard-Light.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/Pretendard-Regular.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-style: normal;
    src: url('../fonts/Pretendard-Medium.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-style: normal;
    src: url('../fonts/Pretendard-SemiBold.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-style: normal;
    src: url('../fonts/Pretendard-Bold.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-style: normal;
    src: url('../fonts/Pretendard-ExtraBold.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-style: normal;
    src: url('../fonts/Pretendard-Black.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'xeicon';
    font-style: normal;
    src: url('../fonts/xeicon.ttf') format("truetype");
    font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* font-family: 'Inter', sans-serif; */

/*===========================================================================
	CSS 초기화
============================================================================*/
* { font-family: "Pretendard", sans-serif; box-sizing:border-box; margin:0; padding:0; word-break: keep-all; line-height: 1.2;}
html, body, div, object, iframe, h1, h2, h3, h4, h5, h6, p, em, img, b, dl, dt, dd, ol, ul, li, form, label, legend, caption, article, aside, footer, header, menu, nav, section, video {border:0; outline:0; font-size: 16px; color:#000; }
html { scroll-behavior: smooth; }
body { line-height:1; -ms-overflow-style: none; width: 100%; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {display:block;}
ul, ol, li {list-style:none;}
a {margin:0; padding:0; font-size:100%; line-height: 100%; display: block; text-decoration: none; color: inherit; }
pre { font-family: "Pretendard", sans-serif; white-space: pre-line; line-height: 1.2; }
img {width: 100%;}
input, select {vertical-align:middle; outline:0; border: 0; background: none; font-family: "Pretendard", sans-serif;}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="file"], input[type="checkbox"], input[type="radio"] { display: none; }
input[type="date"] { appearance: none; -webkit-appearance: none; -moz-appearance: none; text-align: left; }
input::-webkit-date-and-time-value { text-align: left; }
select { appearance: none; background-image: url(/images/icon_arrow_down.png); background-repeat: no-repeat; background-position: right 16px center; background-size: 15px; width: 100%; min-width: 100%; }
select option { width: 100%; }
select option[value="disabled"][disabled] {display: none;}
label { cursor: pointer; }
button { cursor:pointer; border: 0; outline: 0; background: none; color: inherit; }
textarea { border: 0; outline: 0; resize: none; font-family: "Pretendard", sans-serif;}
i { font-family: 'xeicon'; font-style: normal; color: inherit; line-height: inherit; }

/* 콘텐츠 공통 */
.col-group {display:flex;}
.col-group.wrap { flex-flow: wrap; }
.row-group {display:flex; flex-flow: column;}
.container { width: 100%; margin: 0 auto; max-width: 1440px; }
.img-container { width: 100%; position: relative; }
.img-container img, .img-container video { position: absolute; width: 100%; height: 100%; object-fit: cover; left: 0; top: 0; right: 0; bottom: 0; object-position: center; }

/* ::-webkit-scrollbar { width: 2px; height: 2px; }
::-webkit-scrollbar-track { background: #a8a8a8; }
::-webkit-scrollbar-thumb { background: #0088db; border-radius: 4px;} */

::-webkit-scrollbar {display: none; }

.blue { color: #3348cc; }
.red { color: #f72f2f; }
.green { color: #0088db; }
.lightgreen { color: #00ff44; }
.yellow { color: #fcdb00; }
.dagr { color: #636363; }
.gray { color: #999999; }


:root {
    /* 폰트 */
    --nanumMyeongjo: 'Nanum Myeongjo', serif;
    --Inter: 'Inter', sans-serif;
    --soruceSerif: "source-serif-pro", serif;
    /* 칼라 */
    --pale-grey: #f6f3fc;
    --dark-slate-blue: #283f75;
    --dull-orange: #e37741;
    --warm-grey: #9e9e9e;
    --black: #222;
    --black-two: #333;
    --pale-grey-two: #eff3f8;
    --orangey-red: #ff3d3d;
    --lightish-blue: #5057ff;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lineBtn {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #505ea4;
}


.bgBtn {
    width: 100%;
    border-radius: 10px;
    background-color: #505ea4;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.btn-64 {
  height: 64px;
}

.pc { display: block; }
.mb { display: none; }

@media screen and (max-width: 1440px) {
    .container { padding: 0 16px; }
}
@media screen and (max-width: 1280px) {
    .pc { display: none; }
    .mb { display: block; }
}

/* header */
/* #header {  width: 100%; position: fixed; top: 0; z-index: 998; transition: .3s; margin-top: 40px; background-color: #fff;} */
#header { position: fixed; top: 0; z-index: 998;  width: 100%; z-index: 998; transition: .3s;  background-color: #fff;}
.header-wrap {  height: 100px; width: 100%; max-width: 1480px; padding: 0 20px;  margin: 0 auto; position: relative; display: flex; align-items: center; justify-content: space-between; }
.header-wrap .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.header-wrap .logo a { width: 142px; height: 44px; background-image: url('/images/logo.png'); background-repeat: no-repeat; background-size: contain; background-position: center; }
.gnb-wrap { display: flex; justify-content: center; height: 100%; align-items: center; gap: 64px; }
.gnb-title { font-size: 20px; color: #fff; line-height: 80px; }
.gnb-btn i { font-size: 24px; color: #202020;}
.toggle-btn { display: none; }
.header-btn-wrap { display: flex; align-items: center; gap: 40px;}
.header-btn-wrap .bgBtn { height: 48px; padding: 0 20px; }
.header-btn-wrap .bgBtn:hover { background-color: #007be3;}
.header-btn-wrap .login-btn { font-size: 16px; font-weight: bold; color: #202020; }
/* --- 로그인 후 */
.header-btn-wrap .my-btn { font-size: 24px;}

@media screen and (max-width: 1280px) {
    #header { padding: 0; background: none; }
    .header-wrap { border-radius: 0; background-color: #fff; height: 60px; }
    .header-wrap .logo a { width: 118px; height: 27px;   }
    .gnb-wrap { display: none; }
    .header-btn { display: none; }
    .toggle-btn { display: block; font-size: 28px; color: #021859; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
}


/* 서브페이지 헤더 */
#header .search-bar { display: none; }
#header.search-header .search-bar { display: flex; }
#header.search-header .gnb-btn { display: none; }
#header.search-header .openMenu .gnb-btn { display: flex; }
.search-header .search-bar,
.search-active .search-bar { 
    max-width: 440px; height: 56px; 
}
.openMenu {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

#header.search-header .openMenu {
  display: none;
}

.main-header .openMenu {
    display: none;
}

/* 기본: openMenu 버튼은 보이고 검색바는 숨김 */
.header-wrap .search-bar {
  display: none;
}

#header.search-active .openMenu {
  display: flex;
}

#header.search-active .cat-open {
    display: none;
}

#header.search-active .openMenu .cat-open {
    display: flex;
}

#header.search-active .main-header .openMenu {
  display: flex!important;
}

#header.search-active .header-wrap .search-bar {
  display: flex; 
}

.main-header.search-active .openMenu {
    display: flex;
}

#header.search-header .openMenu {
    display: flex;
}

.openMenu .container {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 12px 20px;
}

.openMenu .open-gnb-wrap {
    display: flex;
    align-items: center;
    gap: 30px;
}

.openMenu .gnb-item {
    font-size: 16px;
    font-weight: 600;
    color: #202020;
}

.openMenu .gnb-item:hover {
    text-decoration: underline;
}

.cat-modal {
    display: none;
}
.cat-modal.is-open {
    display: flex;
}


@media screen and (max-width: 1280px) {


    #header.search-header .search-bar {
        display: none;
    }

    #header .openMenu,
    #header.search-active .header-wrap .search-bar {
        display: none !important;
    }

    #header.search-header .gnb-btn {
        display: flex;
    }

    #header.search-header .gnb-btn.cat-open {
        display: none;
    }

    .header-btn-wrap .bgBtn {
        display: none;
    }


}


.main-header .openMenu {
    transition: top 0.3s ease, transform 0.3s ease;
    position: relative; /* 기본은 일반 배치 */
    z-index: 1000;
}

.main-header .openMenu.fixed {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(0);
}

.main-header .openMenu.hidden {
    transform: translateY(-100%);
}


@media screen and (max-width: 1280px) {

    .main-header .openMenu.fixed {
        display: none;
    }

}



/* site map */
.site-map { display: none; position: absolute; width: 100%; height: 100vh; top: 0; left: 0; right: 0; bottom: 0; background-color: #fff; transform: translateX(100%); transition: .2s;  z-index: 999;}
.site-map.active { transform: translateX(0); }
.site-map .close-btn { position: absolute; left: 20px; top: 20px; font-size: 24px; color: #fff; }
.site-map-top { height: 212px; background-color: #021859; border-bottom-right-radius: 40px; display: flex; flex-flow: column; padding: 20px; padding-top: 40px; justify-content: center; gap: 20px; }
.user-login-wrap { display: flex; align-items: center; justify-content: space-between; }
.user-login-wrap .txt { font-size: 30px; font-weight: 500; color: #fff; }
.user-login-wrap .title { font-size: 36px; font-weight: bold; color: #fff; }
.user-login-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); text-align: center; line-height: 40px; font-size: 20px; color: #fff; }
.user-btn-wrap { display: flex; align-items: center; gap: 10px; }
.user-btn { width: 40px; }
.site-map-content { display: flex; }
.site-map-scroll-wrap { height: calc( 100vh - 212px ); overflow-y: auto; }
.sm-gnb-wrap { width: 144px; background: #F2F3F6; }
.sm-sub-gnb-wrap { width: calc( 100% - 144px ); }
.sm-gnb-item { height: 80px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; color: #021859; }
.sm-gnb-item.active { background-color: #fff; }
.sm-sub-gnb-group { display: none; }
.sm-sub-gnb-group.active { display: block; }
.sm-sub-gnb-item { height: 80px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 13px; font-weight: bold; color: #021859; }
.site-map-btm { padding: 20px; padding-bottom: 40px; background-color: #021859; display: flex; flex-flow: column; gap: 24px; }
.site-map-btm .footer-contact-wrap { align-items: flex-start; }

@media screen and (max-width: 1280px) {
    .site-map { display: block; }
}


/* footer */
#footer { background-color: #000; padding: 60px 0 40px;  color: #fff; }
#footer * { color: #fff;}
.footer-wrap { display: flex; flex-flow: wrap; justify-content: space-between; gap: 24px; }
.footer-logo { width: 124px; }
.footer-menu-wrap { display: flex; align-items: center; gap: 40px; }
.footer-wrap .footer-menu-wrap { width: calc( 100% - 148px ); justify-content: flex-end; }
.footer-menu-item { font-size: 16px; color: #fff; }
.footer-txt-wrap { display: flex; flex-flow: column; gap: 8px; }
.footer-txt { font-size: 14px; font-weight: 300; color: #fff; line-height: 1.5; }
.footer-contact-wrap { display: flex; flex-flow: column; gap: 8px; }
.footer-contact-wrap .item-title { font-size: 20px; font-weight: 600; color: #fff; }
.footer-contact-wrap .item-txt { font-size: 15px; font-weight: 300; color: #fff; }
.footer-btm-wrap { padding-top: 16px; border-top: 1px solid #fff; display: flex; justify-content: space-between; align-items: baseline; align-items: center; margin-top: 48px; }
.footer-copy-txt { font-size: 16px; font-weight: 300; color: #fff; }


.ft-top-wrap {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.ft-le-wrap .btn-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ft-line-btn {
    border-radius: 10px;
    border: solid 1px #fff;
    background-color: rgba(255, 255, 255, 0);
    width: 100%;
    max-width: 112px;
    min-width: 112px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-size: 16px;
    font-weight: bold
}

.ft-service-wrap {
    line-height: 1.43;
}

.ft-ri-wrap {
    display: flex;
    gap: 60px;
}

.ft-link-wrap .link-title {
    font-size: 14px;
    color: #fff;
    opacity: 0.5;
    margin-bottom: 16px;
}

.ft-link-wrap a {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.ft-link-wrap a:not(:last-child){
    margin-bottom: 16px;
}

.ft-btm-wrap {
    padding-top: 40px;
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.ft-logo {
    max-width: 125px;
    margin-bottom: 24px;
}

.ft-policy-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ft-policy-wrap a {
    font-size: 16px;
    font-weight: bold;
}

.ft-meta {
    font-size: 14px;
    opacity: 0.4;
    margin-top: 24px;
    line-height: 1.5;
}

.ft-meta span {
    margin: 0 8px;
}

.ft-inner-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ft-sns-wrap {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
    margin-top: 9px;
    height: -webkit-fill-available;
}

.ft-sns {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    aspect-ratio: 1/1;
    border-radius: 24px;
    background-color: rgba(255, 255, 255, 0.16);
}

.ft-sns img {
    width: 22px;
}

@media screen and (max-width: 1280px) {
    #footer { padding: 40px 0; }
    .footer-wrap { flex-flow: column; justify-content: center; align-items: center; }
    .footer-logo { width: 88px; order: 1; }
    .footer-menu-wrap { gap: 32px; }
    .footer-wrap .footer-menu-wrap { display: none; }
    .footer-menu-item { font-size: 14px; }
    .footer-txt-wrap { order: 3; align-items: center; }
    .footer-txt { font-size: 12px; }
    .footer-contact-wrap { align-items: center; order: 2; }
    .footer-btm-wrap { padding-top: 0; border-top: 0; flex-flow: column; align-items: center; gap: 32px; margin-top: 32px; }
    .footer-copy-txt { font-size: 12px; opacity: .5; }

    .ft-top-wrap {
        flex-direction: column-reverse;
        gap: 24px;
        padding-bottom: unset;
        border-bottom: unset;
    }

    .ft-le-wrap {
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    }

    .ft-ri-wrap {
        flex-direction: column;
        gap: 24px;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    }

    .ft-link-wrap .link-wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }

    .ft-link-wrap a:not(:last-child) {
        margin-bottom: unset;
    }

    .ft-line-btn {
        max-width: 168px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
    }

    .ft-le-wrap .btn-wrap {
        gap: 8px;
    }

    .ft-service-wrap {
        font-size: 14px;
    }

    .ft-btm-wrap {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .ft-meta-wrap {
        justify-content: center;
        text-align: center;
    }

    .ft-policy-wrap {
        justify-content: center;
    }

    .ft-logo {
        max-width: 113px;
    }

    .ft-policy-wrap a {
        font-size: 14px;
    }

    .ft-meta {
        margin-top: 16px;
        font-size: 13px;
        margin-bottom: 24px;
    }

    .ft-sns {
        width: 40px;
        height: 40px;
        border-radius: 20px;
        min-width: 40px;
    }

    .ft-sns img {
        width: 18px;
    }


    .ft-link-wrap .link-title {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .ft-link-wrap a {
        font-size: 14px;
    }


    .ft-sns-wrap {
        align-items: center;
        margin-top: unset;
        flex-direction: column;
    }


    .ft-sns-wrap .ft-meta {
        margin-bottom: unset;
        margin-top: 10px;
    }


}

/* pagination */
/* .pagination { justify-content: center; margin-top: 56px; align-items: center; }
.pagination .page-nav-btn { width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 20px; margin: 0 8px; }
.pagination .page-btn { width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 17px; font-weight: 300; color: #333; border-radius: 50%; transition: .2s; }
.pagination .page-btn.active { background: #333; color: #fff; }
.modal-content-wrap > .pagination { margin-top: 0; }

@media screen and (max-width: 1280px) {
    .pagination { margin-top: 24px; }
    .pagination .page-nav-btn { width: 32px; height: 32px; line-height: 32px;font-size: 18px; margin: 0 4px; }
    .pagination .page-btn { width: 32px; height: 32px; line-height: 32px; font-size: 14px; }
}
 */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.page-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #202020;
}

.page-number,
.page-dots {
    padding: 4px 8px;
    border-radius: 50%;
    cursor: pointer;
}

.page-numbers {
    display: flex;
    align-items: center;
}

.page-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    aspect-ratio: 1/1;
    font-size: 16px;
}

.page-number.active {
    background-color: #505ea4;
    color: #fff;
    font-weight: bold;
}

.page-dots {
    cursor: default;
    color: #888;
}



@media screen and (max-width: 1280px) {

    .openMenu {
        display: none;
    }

    #pagination {
        width: calc(100% - 32px);
        margin: 0 auto;
    }

    .pagination {
        margin-top: 40px;
    }

    .page-number {
        font-size: 14px;
    }

}







/* 메뉴바 카테고리 */

:root{ --brand:#4F63D2; --line:#eef0f3; }
.cat-modal {
    position: fixed;      /* absolute 말고 fixed */
    display: none;        /* 기본 숨김 */
    z-index: 10000;
    /* 전체 덮지 않고, 패널 위치만 제어 */
    top: 140px;
}

.cat-modal.is-open {
    display: block;       /* 열릴 때만 보임 */
}

.cat-modal.is-open.from-gnb {
    top: 54px;
}


.cat-modal__panel {
    position: absolute;
    left: 0;
    top: 0;
    width: min(300px, calc(100vw - 40px));   /* 처음엔 대메뉴만 */
    height: min(570px, calc(100vh - 80px));
    border-radius: 24px;
    box-shadow: 6px 0 14px 0 rgba(0, 0, 0, 0.06);
    background-color: #fff;
    display: grid;
    grid-template-columns: 239px 133px 1fr;
    overflow: hidden;
    padding: 30px;
    transition: width 0.3s ease;
}

/* 세부 메뉴까지 확장된 상태 */
.cat-modal__panel.has-detail {
    width: min(857px, calc(100vw - 40px));
}



.cat-col{height:100%;overflow:auto}
.cat-col--left{

}
.cat-col--mid {



}




.cat-col--art {
    display:flex;
    align-items:end;
    justify-content:end;
}

.cat-list {

}

.cat-item {
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    height: 21px;
}

.cat-item:not(:last-child){
    margin-bottom: 18px;
}

.cat-item.is-active {
    color:var(--brand);
    font-weight:bold;
}

.cat-item.is-active::after {
    content:"›";
    font-size: 18px;
    margin-left: 16px;
    color:var(--brand);
}

.cat-item__img {
    width:20px;
    object-fit:contain;
    flex:0 0 20px;
    filter:grayscale(100%);
}
.cat-item.is-active .cat-item__img{filter:none}

.sub-list {
    display:flex;
    flex-direction:column;
    gap:16px;
}
.sub-link{color:#333;text-decoration:none}
.sub-link:hover{color:var(--brand);text-decoration:underline}

.doodle{width:220px;height:220px;border-radius:50%;background:radial-gradient(circle at 30% 30%, #ff8af3, #c56dff);opacity:.25}

.cat-figure{
    width: 230px;
    object-fit: contain;
}

/* 처음엔 숨김 */
.cat-col--mid,
.cat-col--art {
    display: none;
}

/* has-detail 붙으면 보이도록 */
.cat-modal__panel.has-detail .cat-col--mid,
.cat-modal__panel.has-detail .cat-col--art {
    display:flex;
}


/* 세부 리스트/일러스트 기본은 닫힘 */
.sub-list,
.cat-figure {
    display: none;
}

/* 활성화된 것만 열림 */
.sub-list.active,
.cat-figure.active {
    display:flex !important;
}


@media (max-width:900px){
    .cat-col--art{ display:none; } /* 모바일에서 숨기는 기존 정책 유지 */
}

@media (max-width:900px){
    .cat-modal__panel{grid-template-columns:1fr;height:min(80vh,680px)}
    .cat-col--mid{border-right:0;border-top:1px solid var(--line)}
    .cat-col--art{display:none}
}






/* 햄버거 버튼 */
.hamburger-btn {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 99;
}

/* 오버레이 */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

/* 패널 */
.hamburger-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 375px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 6px rgba(0,0,0,0.2);
    transition: 0.3s;
    z-index: 1000;
    padding: 20px 16px;
    overflow-y: auto;
}

/* 열림 상태 */
.hamburger-menu.open {
    left: 0;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* 닫기 버튼 */
.hamburger-menu .menu-close {
    font-size: 20px;
    float: right;
    cursor: pointer;
}

/* 헤더 */
.menu-header {
    margin-bottom: 16px;
}

.hamburger-menu.consumer .menu-header {
    margin-bottom: 10px;
}

.hamburger-menu .profile-header {
    width: 100%;
    background-color: #505EA4;
    border-radius: 8px;
    padding: 10px 16px;
    justify-content: space-between;
}

.hamburger-menu .profile-header .btn-withdraw {
    color: #fff;
}

.hamburger-menu a {
    color: #fff;
}




.hamburger-menu.consumer .stats {
    margin-bottom: 16px;
}


.hamburger-menu .guest-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.hamburger-menu.guest img {
  max-width: 83px;
  margin-bottom: 32px;
}

.hamburger-menu .guest-wrap .cont {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.hamburger-menu.guest .btn {
  max-width: 343px;
}

.hamburger-menu .btn-guide {
  text-decoration: underline;
  font-size: 12px;
  color: #959595;
  width: fit-content;
  margin: 0 auto;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}


.hamburger-menu .heart-icon {
    max-width: 28px;
}


/* 숏컷 */
.menu-shortcuts {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    height: 80px;
}

.menu-shortcuts a {
    flex: 1;
    padding: 8px;
    background: #F8F8F8;
    border-radius: 16px;
    text-align: center;
    font-size: 14px;
    color: #202020;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 100%;

}

.menu-shortcuts img {
    max-width: 32px;
}

/* 검색 */
#header .hamburger-menu .search-bar {
    display: flex;
    margin-bottom: 40px;
    padding: 0 24px;
}

/* 메뉴 리스트 */
.menu-list > li {
    margin-bottom: 40px;
}

.menu-list > li > span {
    font-weight: bold;
    display: flex;
    margin-bottom: 16px;
    color: #202020;
    font-size: 16px;
}

.menu-list li ul li a {
    display: flex;
    color: #222;
    text-decoration: none;
    font-size: 14px;
    margin: 16px 0;
}


.menu-list li ul li a:hover {
    color: #505EA4;
    font-weight: bold;
}

#header .hamburger-menu.consumer .search-bar {
    margin-bottom: 24px;
}

.hamburger-menu.consumer {
    padding-bottom: unset;
}

.hamburger-menu.consumer .menu-container {
    display: flex;
    height: calc(100vh - 200px); /* 헤더/검색 영역 제외 */
    overflow: hidden;
}

.hamburger-menu.consumer .menu-category {
    width: 120px;
    background: #f8f8f8;
    border-right: 1px solid #eee;
    overflow: scroll;
}

.hamburger-menu.consumer .menu-category img {
    max-width: 32px;
}

.hamburger-menu.consumer .menu-category li {
    padding: 16px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    color: #202020;
    font-size: 12px;
    line-height: 1.3;
    padding: 24px 0;
}

.hamburger-menu.consumer .menu-category li.active {
    background: #505EA4;
    color: #fff;
}

.hamburger-menu.consumer .menu-detail {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.hamburger-menu.consumer .submenu {
    display: none;
}

.hamburger-menu.consumer .submenu.active {
    display: block;
}

.hamburger-menu.consumer .submenu li {
    margin-bottom: 20px;
}

.hamburger-menu.consumer .submenu li a {
    text-decoration: none;
    font-size: 14px;
    color: #222;
}

.hamburger-menu.consumer .submenu li a:hover {
    color: #505EA4;
    font-weight: bold;
}

.hamburger-menu.consumer .menu-category li .icon-active {
    display: none;
}

.hamburger-menu.consumer .menu-category li.active .icon-default {
    display: none;
}

.hamburger-menu.consumer .menu-category li.active .icon-active {
    display: inline-block;
}

/* 반응형: 데스크탑에서는 항상 오른쪽 고정 */

/* 작은 화면에서는 토글 */
@media (max-width: 1279px) {
    .hamburger-menu.open {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 573px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 8px rgba(0,0,0,0.2);
        z-index: 2000;
    }
}

/* 큰 화면에서는 아예 숨김 */
@media (min-width: 1280px) {
    .hamburger-btn,
    .menu-overlay,
    .hamburger-menu {
        display: none !important;
    }
}



.header-btn-wrap .search-btn .xi-search,
.header-search-bar .search-bar .xi-search  {
    font-size: 20px;
    color: #202020;
}

#header .header-wrap .header-search-bar {
    display: none;
    position: absolute;
    top: 59px; /* 헤더 높이만큼 내려오기 */
    left: 0;
    width: 100%;
    padding: 24px 16px 32px;
    box-sizing: border-box;
    z-index: 2001;
    background-color: #fff;
}


#header .header-wrap .search-overlay {
    display: none;
    position: fixed;
    top: 106px; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2000;
}

#header  .header-search-bar .search-bar {
    padding: 0 24px;
}

/* 활성화 */
#header  .header-search-bar.active {
    display: flex;
    align-items: center;
    gap: 8px;
}

#header  .header-search-bar.active .search-bar {
    display: flex;

}


#header .search-overlay.active {
    display: block;
}




.top-btn {
    position: fixed;
    bottom: 80px;
    right: 60px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #fff;

    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.top-btn.show {
    opacity: 1;
    visibility: visible;
}

#footer .top-btn.show i {
    color: #202020 !important;
    font-size: 20px;
}

@media (max-width: 768px) {
    .top-btn {
        right: 18px;
    }

}
