/* default.css */

/* 사용자 공통 css */
#hd_login_msg {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0;
    line-height: 0;
    overflow: hidden
}

.msg_sound_only,
.sound_only {
    display: inline-block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0;
    line-height: 0;
    border: 0 !important;
    overflow: hidden !important
}

/* 팝업레이어 */
/*#hd_pop { z-index:1000; position:relative; margin:0 auto; width:1200px; height:0 } */
#hd_pop {
    z-index: 1000;
    margin: 0 auto;
    width: 1200px;
    height: 0
}

#hd_pop h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    z-index: 1000;
}

.hd_pops {
    position: absolute;
    border: 1px solid #e9e9e9;
    background: #fff;
    z-index: 1000;
}

.hd_pops img {
    max-width: 100%
}



.hd_pops_footer {
    padding: 0;
    background: #000;
    color: #fff;
    text-align: left;
    position: relative
}

.hd_pops_footer:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: ""
}

.hd_pops_footer button {
    padding: 10px;
    border: 0;
    color: #fff
}

.hd_pops_footer .hd_pops_reject {
    background: #000;
    text-align: left
}

.hd_pops_footer .hd_pops_close {
    background: #393939;
    position: absolute;
    top: 0;
    right: 0
}


/* 사용자 공통 css */

/* 숨김처리하는 클래스 */
.disN {
    display: none !important;
}


/* 알람블릿 */
.head_sec .lnbG .etc .notify {
    position: relative;
}

.head_sec .lnbG .etc .notify .alarm {
    position: absolute;
    right: -4px;
    top: -4px;
    min-width: 12px;
    height: 12px;
    background: var(--main-color);
    border-radius: 12px;
    color: #fff;
    text-indent: 0;
    font-size: 11px;
    text-align: center;
    line-height: 14px;
    padding: 0 4px;
}


.action-btn {
    display: inline-block;
    width: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.md_btn button.on,
.md_btn button.gray {
    flex: 1;
    height: 50px;
    line-height: 50px;
    font-size: 17px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

.md_btn button.on {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
    cursor: pointer;
}

.md_btn button.gray {
    background: #e4e4e4;
    color: #999;
    border-color: #e4e4e4;
}


/* input */
input[type="email"]:read-only {
    background-color: #dedede !important;
}


.in-password input {
    width: 100%;
    padding: 12px;
    padding-right: 40px;
    /* 아이콘 공간 확보 */
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.in-password button {
    position: absolute;
    right: 190px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #999;
    padding: 5px;
    transition: color 0.2s;
}

.readonly {
    background-color: #dedede !important;
}

/* modal_confirm_notice 스타일 추가 */
.modal.modal_confirm_notice {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* 반투명 배경 */
    z-index: 1000;
    /* 다른 요소 위에 표시되는 우선 순위 */
}

.modal.modal_confirm_notice .modal_content {
    width: 320px;
    /* 모달의 기본 너비 */
    background-color: #fff;
    /* 모달 내용 배경 색 */
    border-radius: 12px;
    /* 모서리를 둥글게 처리 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* 그림자 추가 */
    text-align: center;
    /* 텍스트 중앙 정렬 */
    padding: 20px;
    /* 내부 여백 */
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    /* 화면 중앙 정렬 */
}

.modal.modal_confirm_notice .modal_content p {
    font-size: 16px;
    /* 메시지 텍스트 크기 */
    color: #333;
    /* 메시지 텍스트 색상 */
    margin-bottom: 20px;
    /* 버튼과 간격 */
}

.modal.modal_confirm_notice .modal_buttons {
    display: flex;
    justify-content: space-between;
    /* 버튼 간격 조정 */
    gap: 10px;
    /* 버튼간 여백 */
}

.modal.modal_confirm_notice .modal_buttons .button {
    width: 48%;
    /* 버튼 너비 설정 */
    padding: 12px 0;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    /* 버튼 모서리 둥글게 */
    cursor: pointer;
    font-weight: bold;
}

.modal.modal_confirm_notice .modal_buttons .button_confirm_yes {
    background-color: var(--main-color);
    /* 확인 버튼 배경 색 */
    color: #fff;
    /* 버튼 텍스트 색 */
    transition: background-color 0.2s, transform 0.2s;
    /* 호버 효과 */
}

.modal.modal_confirm_notice .modal_buttons .button_confirm_yes:hover {
    background-color: #e67c00;
    /* 호버 시 색상 변경 */
    transform: scale(1.05);
    /* 크기 약간 확대 */
}

.modal.modal_confirm_notice .modal_buttons .button_confirm_no {
    background-color: #dedede;
    /* 취소 버튼 배경 색 */
    color: #333;
    /* 텍스트 색상 */
    transition: background-color 0.2s, transform 0.2s;
    /* 호버 효과 */
}

.modal.modal_confirm_notice .modal_buttons .button_confirm_no:hover {
    background-color: #b0b0b0;
    /* 호버 시 색상 변경 */
    transform: scale(1.05);
    /* 크기 약간 확대 */
}

/* show 클래스가 modal에서 display를 덮어씀 */
.modal.show {
    display: block !important;
    /* !important로 우선 순위 강제 */
}

.empty_coupon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    border: 1px solid #dedede;
    border-radius: 8px;
    padding: 24px;
    background-color: #fff;
}

#loading {
    text-align: center;
    margin: 30px 0;
    display: none;
}


/* 공지등 에디터에서 작성된 내용을 보여줄때 사용하는 클래스 */
/* width 초기화 */
.fr_accor_desc>* {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* 주문/결제 혜택노출 영역 리사이즈 */

.space_re {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 501px) {
    .space_re {
        max-width: 440px;
    }
}

@media (max-width: 500px) {
    .space_re {
        max-width: 160px;
    }
}

@media (max-width: 400px) {
    .space_re {
        max-width: 100px;
    }
}

@media (max-width: 350px) {
    .space_re {
        max-width: 80px;
    }
}

.md_btn button {
    flex: 1;
    height: 50px;
    line-height: 50px;
    font-size: 17px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

.md_btn button.gray {
    background: #e4e4e4;
    color: #999;
    border-color: #e4e4e4;
}

.md_btn button.bg,
.md_btn button.on {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
    cursor: pointer;
}

.md_btn button.sizel {
    height: 60px;
    line-height: 60px;
    font-size: 18px;
}


/* 페이징 */
.pg_wrap {
    margin: 10px 0 30px;
    text-align: center;
}

.pg_wrap:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: ""
}

.pg {
    text-align: center
}

.pg_page,
.pg_current,
.qa_page {
    display: inline-block;
    vertical-align: middle;
    background: #eee;
    border: 1px solid #eee
}

.pg a:focus,
.pg a:hover {
    text-decoration: none
}

.pg_page,
.qa_page {
    color: #959595;
    font-size: 1.083em;
    height: 30px;
    line-height: 28px;
    padding: 0 5px;
    min-width: 30px;
    text-decoration: none;
    border-radius: 3px
}

.pg_page:hover,
.qa_page:hover {
    background-color: #fafafa
}

.pg_start {
    text-indent: -999px;
    overflow: hidden;
    background: url('../img/btn_first.gif') no-repeat 50% 50% #eee;
    padding: 0;
    border: 1px solid #eee
}

.pg_prev {
    text-indent: -999px;
    overflow: hidden;
    background: url('../img/btn_prev.gif') no-repeat 50% 50% #eee;
    padding: 0;
    border: 1px solid #eee
}

.pg_end {
    text-indent: -999px;
    overflow: hidden;
    background: url('../img/btn_end.gif') no-repeat 50% 50% #eee;
    padding: 0;
    border: 1px solid #eee
}

.pg_next {
    text-indent: -999px;
    overflow: hidden;
    background: url('../img/btn_next.gif') no-repeat 50% 50% #eee;
    padding: 0;
    border: 1px solid #eee
}

.pg_start:hover,
.pg_prev:hover,
.pg_end:hover,
.pg_next:hover {
    background-color: #fafafa
}

.pg_current {
    display: inline-block;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    min-width: 30px;
    border-radius: 3px
}

/* 리뷰더보기 버튼 추가 */
.review_fold_btn {
    background-color: #fff;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.review_fold_btn>img {
    width: 16px;
}

.review_fold_btn.on img {
    transform: rotate(180deg);
}

/* 주문관련 css custom */
.cha_btn:disabled,
button:disabled {
    background-color: #f0f0f0 !important;
    color: #999 !important;
}


.usim_accor_qa_item {
    background-color: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.usim_accor_qa_item:last-child {
    border-bottom: none;
}


.usim_accor_qa_item .usim_accor_tit_wrap>span>img {
    margin-left: 5px;
    width: 16px;
}

.usim_accor_qa_item.active .usim_accor_tit_wrap>img {
    transform: rotate(180deg);
    width: 16px;
}

.usim_accor_qa_item.active .usim_accor_tit_wrap>span>img {
    transform: rotate(180deg);
}

.modal_alert_notice .multi_modal>p {
    padding: 20px 0;
}





/* 커스텀 셀렉트 박스 컨테이너 */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 0;
    background-color: #fff;
    cursor: pointer;
}

/* 현재 선택된 항목 표시 영역 */
.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: #555;
}

/* 새 화살표 CSS (Chevron 모양) */
.custom-select-trigger .arrow {
    display: inline-block;
    /* 크기 및 transform 적용을 위해 */
    width: 8px;
    /* 화살표 크기 (조절 가능) */
    height: 8px;
    /* 화살표 크기 (조절 가능) */
    border-style: solid;
    border-color: #888;
    /* 화살표 색상 */
    border-width: 0 2px 2px 0;
    /* 오른쪽, 아래쪽 테두리만 사용 (두께 2px) */
    transform: rotate(45deg);
    /* 아래쪽을 향하도록 45도 회전 */
    transition: transform 0.3s ease, margin-top 0.3s ease;
    /* 부드러운 전환 효과 */
    margin-bottom: 3px;
    /* 수직 위치 미세 조정 */
    flex-shrink: 0;
    /* trigger 크기 변경 시 줄어들지 않도록 */
}

/* 옵션 목록이 열렸을 때 화살표 회전 (위쪽 방향) */
.custom-select-wrapper.open .arrow {
    transform: rotate(-135deg);
    /* 위쪽을 향하도록 회전 */
    margin-top: 3px;
    /* 수직 위치 미세 조정 */
    margin-bottom: 0;
}

/* 옵션 목록 */
.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    /* 상단 테두리 제거 */
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    /* 최대 높이 설정 (스크롤) */
    overflow-y: auto;
    z-index: 10;
    display: none;
    /* 기본적으로 숨김 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* 그림자 효과 */
    border-top: 1px solid #ddd;
    /* 상단 테두리 추가 */
    margin-top: -1px;
    /* 상단 테두리 겹침 방지 */
}

/* 타이틀 항목 숨기기 */
.custom-options li[data-value="0"] {
    display: none;
}

/* 옵션 목록 보이기 */
.custom-select-wrapper.open .custom-options {
    display: block;
}

/* 개별 옵션 항목 */
.custom-options li {
    display: flex;
    justify-content: space-between;
    /* 좌우 정렬 */
    align-items: center;
    padding: 12px 15px;
    border-top: 1px solid #eee;
    /* 항목 구분선 */
    transition: background-color 0.2s ease;
    /* 부드러운 배경색 변경 */
    color: #333;
}

/* 첫 번째 항목의 상단 구분선 제거 */
.custom-options li:first-child {
    border-top: none;
}

/* 옵션 항목 텍스트 (좌측) */
.custom-options li .option-title {
    flex-grow: 1;
    /* 남는 공간 차지 */
    margin-right: 10px;
    /* 가격과의 간격 */
    font-size: 14px;
}

/* 옵션 항목 가격 (우측) */
.custom-options li .option-charge {
    color: #888;
    /* 가격 텍스트 색상 */
    font-size: 14px;
    white-space: nowrap;
    /* 가격 줄바꿈 방지 */
}

/* 마우스 올렸을 때 배경색 변경 (요청사항) */
.custom-options li:hover {
    background-color: #fef8e7;
    /* 이미지와 유사한 연한 노란색 */
}




/* _pc */
@media all and (min-width: 1024px) {

    /* 토스트 팝업 */
    .toast-popup {
        position: fixed;
        top: 180px;
        background-color: #333;
        color: #fff;
        padding: 12px 60px;
        border-radius: 8px;
        font-size: 14px;
        z-index: 9999;
        opacity: 30;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .toast-popup::after {
        content: '';
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 6px;
        border-style: solid;
        border-color: transparent transparent #333 transparent;
        /* 아래 방향 화살표 */
    }

    .pc-ft17 {
        font-size: 17px !important;
    }

    .pc-fw15-500 {
        font-weight: 500 !important;
        font-size: 15px !important;
    }

}

/* _mo */
@media (max-width: 1023px) {
    .modal_alert_notice .multi_modal>p {
        padding: 20px 0;
    }

    /* 토스트 팝업 */
    .toast-popup {
        position: fixed;
        bottom: 70px;
        width: 92%;
        text-align: center;
        background-color: #333;
        color: #fff;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 14px;
        z-index: 9999;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .toast-popup::after {
        content: '';
        position: absolute;
        top: 0px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 6px;
        border-style: solid;
        border-color: transparent transparent #333 transparent;
        /* 아래 방향 화살표 */
    }



    .md_country_selok .list {
        align-items: center;
        gap: 10px !important;
        width: auto;
        justify-content: start !important;
        flex-wrap: nowrap !important;
    }

    .ft15 {
        font-size: 15px !important;
    }

    .fw16-600 {
        font-weight: 600 !important;
        font-size: 16px !important;
    }

    .fw17-500 {
        font-weight: 500 !important;
        font-size: 17px !important;
    }

    .mbp-14-16 {
        padding: 14px 16px !important;
    }

    .modal_tit {
        margin-bottom: 5px !important;
        font-size: 20px !important;
        font-weight: 700;
    }

    .event_tit {
        margin-top: 30px;
    }

    .event_tit h3 {
        font-weight: 700 !important;
    }


    .event_ban_detail {
        padding: 2%;
    }

    .event_ban_detail img {
        width: 100%;
    }


    .m_mlr {
        padding: 18px;
    }




}

.flag-rect {
    width: 32px;
    height: 22px;
    object-fit: cover;
    vertical-align: middle;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-right: 6px;
}

.modal_evt .ali_le .h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.5px;

}

.gd_desc_p {
    line-height: 2 !important;
}
