/* =========================================
   [공통] 팝업 레이어 (주문변경 / 안내창 등)
========================================= */

#detail .dim-layer {
    display: none; 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    z-index: 9999; 
}
#detail .dimBg {
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(0, 0, 0, 0.6);
}
#detail .pop-layer {
    position: absolute; 
    top: 50%; left: 50%; 
    transform: translate(-50%, -50%); 
    width: 85%;
    max-width: 320px; 
    background: #ffffff; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
#detail .pop-container { padding: 0; }

/* 첫 번째 팝업: 주문변경 안내 (popup-open1) */
#detail .popup-open1 .pop-layer img { 
    width: 100%; 
    display: block; 
}
#detail .popup-open1 .pop-layer .ctxt div { 
    padding: 20px; 
    box-sizing: border-box; 
}
#detail .popup-open1 .pop-layer .ctxt div h3 { 
    font-size: 15px; 
    font-weight: 500; 
    color: #444444; 
    line-height: 1.6; 
    font-family: 'Pretendard', sans-serif;
    margin: 0 0 10px 0;
    word-break: keep-all;
}
#detail .popup-open2 .pop-layer .ctxt h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    text-align: center;
    padding: 40px 20px 20px;
    margin: 0;
    font-family: 'Pretendard', sans-serif;
}
/* 팝업 공통 닫기 버튼 (★ 싹다버림 시그니처 캡슐 버튼 스타일 적용) */
#detail .dim-layer input[type="button"]:not(.ss-btn) { 
    width: calc(100% - 40px); /* 팝업창 안쪽 여백에 맞춤 */
    height: 54px; /* 로그인/변경 버튼과 동일한 시그니처 높이 */
    margin: 0 20px 20px; 
    background: #1a3952; 
    border: none; 
    border-radius: 27px; /* 시그니처 둥근 캡슐 모양 */
    font-size: 16px; /* 글씨 크기 통일 */
    font-weight: 600; 
    color: #ffffff; 
    font-family: 'Pretendard', sans-serif; 
    cursor: pointer; 
    display: block;
    box-shadow: 0 6px 15px rgba(26, 57, 82, 0.2); /* 고급스러운 시그니처 그림자 */
    transition: transform 0.2s;
}

/* 터치했을 때 살짝 들어가는 애니메이션 효과 */
#detail .dim-layer input[type="button"]:not(.ss-btn):active {
    transform: scale(0.98);
}


/*요금표*/
#price { padding: 25.0000vw 0 31.9444vw; box-sizing: border-box; }
#price .wrap { width: 90%; left: 0; right: 0; margin: auto; }

/*탭*/
#price .sub-menu { position: fixed; top: 13.6111vw; left: 0; z-index: 2; width: 100%; overflow: scroll; }
#price .tabs { width: 288.8889vw; height: 10.0000vw; left: 0; right: 0; margin: auto; background: #ddd; border-top: 0.2778vw solid #284889; border-bottom: 0.2778vw solid #284889; box-sizing: border-box; }
#price .tabs li { float: left; position: relative; width: 22.2222vw; height: 10.0000vw; font-size: 3.6111vw; font-weight: 400; color: #6e6e6e; text-align: center; line-height: 10.0000vw; }
#price .tabs li.active { color: #284889; }
#price .tabs li.active a { display: block; color: #284889; }
#price .tabs li:after { content: ''; display: block; clear: both; }
#price .tab_container { clear: both; }
#price .tab_content li { position: relative; border-bottom: 0.2778vw solid #9f9f9f; padding: 2.7778vw 0; box-sizing: border-box; }
#price .tab_content li h2 { font-size: 3.6111vw; font-weight: 400; color: #6e6e6e; }
#price .tab_content li h3 { position: absolute; top: 2.7778vw; right: 0; font-size: 3.6111vw; font-weight: 500; color: #333; }

#price .tab_container input[type="button"] { position: fixed; bottom: 19.4444vw; width: 90%; height: 9.7222vw; left: 0; right: 0; margin: auto; background: #284889; border: 0.2778vw solid #284889; box-sizing: border-box; font-size: 4.1667vw; font-weight: 400; color: #fff; }
#price .tab_container input[type="button"]:active { background: #fff; color: #284889; }


/*공지사항*/
#notice { padding: 16.6667vw 0 0; box-sizing: border-box; }
#notice .wrap { width: 90%; left: 0; right: 0; margin: auto; }

#notice li { border-bottom: 0.2778vw solid #ccc; padding: 2.7778vw 0; box-sizing: border-box; }
#notice h2 { font-size: 3.6111vw; font-weight: 500; color: #284889; }
#notice h3 { font-size: 3.0556vw; font-weight: 400; color: #6e6e6e; }
#notice span { font-size: 3.0556vw; font-weight: 400; color: #e32424; }


/*추천코드*/
#code { padding: 25.8889vw 0 18.0556vw; box-sizing: border-box; font-family: Pretendard;}
#code h2 { font-size: 3.6111vw; font-weight: 500; color: #555; text-align: center; }
#code h2 span { font-size: 4.1667vw; font-weight: 600; color: #e32424; }
#code p {position: relative; width: 45.5556vw; left: 0; right: 0; margin: 5.5556vw auto 9.7222vw; }
#code p img { width: 100%; margin-top: 2.7778vw; }
#code .codeArea { position: relative; width: 65%; left: 0; right: 0; margin: auto; border-top: 0.2778vw solid #284889; border-bottom: 0.2778vw solid #284889; padding: 1.9444vw 0; box-sizing: border-box; }
#code .codeArea h3 { font-size: 3.6111vw; font-weight: 400; color: #6e6e6e; }
#code .codeArea h3 span { font-size: 3.6111vw; font-weight: 600; color: #284889; }
#code .codeArea h4 input[type="button"] { position: absolute; top: 1.6667vw; right: 0; width: 13.8889vw; height: 5.5556vw; background: #99a2b5; border: 0.2778vw solid #99a2b5; box-sizing: border-box; font-size: 3.0556vw; font-weight: 400; color: #fff; }
#code .codeArea h4 input[type="button"]:active { background: #284889; }
#code h5 { font-size: 3.0556vw; font-weight: 400; color: #707070; text-align: center;  margin: 4.1667vw auto 8.3333vw; }
#code p input[type="button"] { display: block; width: 46.1111vw; height: 13.8889vw; left: 0; right: 0; margin: auto; background: #284889; border: 0.2778vw solid #284889; box-sizing: border-box; font-size: 4.1667vw; font-weight: 400; color: #fff; border-radius: 2.7778vw; font-family: Pretendard;}
#code p input[type="button"]:active { background: #fff; color: #284889; }

#code .recommend{font-size: 3.4444vw;}
#code .recom-1{border: 0.2778vw solid #ccc; padding: 0.8333vw; width: 43.4444vw; height: 7.2222vw; margin-top: 1.3889vw; margin-bottom: 1.3889vw;}

#code .pop-layer { width: 71.1111vw; }
#code .pop-layer .pop-container { padding: 0; }
#code .code-send { padding: 5.5556vw 4.1667vw; }
#code .code-send li { margin: 2.2222vw 0; }

#code .code-send input[type="radio"] { display: none; }
#code .code-send input[type="radio"] + label { display: inline-block; font-size: 3.6111vw; font-weight: 500; color: #381e1f; }
#code .code-send input[type="radio"] + label span { display: inline-block; width: 3.8889vw; height: 3.8889vw; vertical-align: middle; cursor: pointer; background: url("../img/radio2_off.png") no-repeat; background-size: 100%; margin-right: 1.3889vw; }
#code .code-send input[type="radio"]:checked + label span { background-image: url("../img/radio2_on.png"); }

#code .code-send li img { width: 10.2778vw; height: 9.7222vw; margin-right: 1.3889vw; }
#code .code-send li input[type="text"] { width: 45.8333vw; height: 9.7222vw; padding: 1.3889vw; border: 0.2778vw solid #cdcdcd; box-sizing: border-box; font-size: 3.0556vw; font-weight: 400; color: #707070; }
#code .codesend-btn { width: 100%; height: 6.9444vw; background: #ffcd00; border: 0; font-size: 3.3333vw; font-weight: 400; color: #381e1f; }




.sub13_num {width: 5.5vw;}
.sub13_note {padding: 1vw 0;}


/* =========================================
   [서브페이지] 환경설정 페이지 
========================================= */

#setting { 
    padding: 50px 0 70px; 
    box-sizing: border-box; 
    background: #ffffff;
    min-height: calc(100vh - 120px);
}

#setting .wrap { 
    width: 100%; 
    max-width: 500px;
    margin: 0 auto; 
    position: relative; 
}

#setting .wrap ul { 
    list-style: none; 
    padding: 0; 
    margin: 0 0 0 0; 
}

#setting .wrap li { 
    position: relative; 
    border-bottom: 1px solid #e5e5e5; 
    padding: 16px 0; 
    box-sizing: border-box; 
    cursor: pointer; 
}

#setting .wrap li h2 { 
    font-size: 15px; 
    font-weight: 500; 
    color: #333333; 
    margin: 0; 
}

#setting .wrap li h2.version-title { 
    color: #135A9A; 
}

#setting .wrap li h3 { 
    position: absolute; 
    top: 18px; 
    right: 0; 
    font-size: 14px; 
    font-weight: 400; 
    color: #707070; 
    margin: 0; 
}

#setting .wrap li h3 span { 
    font-size: 14px; 
    font-weight: 500; 
    color: #284889; 
}

#setting .wrap li h3 img { 
    width: 8px; 
    height: 15px; 
    display: block; 
}

/* 하단 버전 정보 영역 */
#setting .wrap ul.version-list { 
    margin-top: 30px; 
}

#setting .wrap ul.version-list li { 
    border-top: 1px solid #e5e5e5; 
    border-bottom: 1px solid #e5e5e5; 
    box-sizing: border-box; 
    cursor: default; 
}

/* 푸시 토글 버튼 위치 조정 */
.push { 
    position: absolute; 
    right: 0; 
}

#setting .push { 
    top: 10px; 
}

/* 약관 팝업 레이어 공통 스타일 */
.setting-layer {
    display: none;
    position: fixed;
    overflow-y: scroll;
    z-index: 10000;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

/* 하단 버전 정보 영역 */
#setting .wrap ul.version-list { margin-top: 6vw; }
#setting .wrap ul.version-list li { border-top: 0.2778vw solid #9f9f9f; border-bottom: 0.2778vw solid #9f9f9f; box-sizing: border-box; cursor: default; }

/*푸시*/
.push { position: absolute; right: 0; }
#setting .push { top: 2.5vw; }

/* 약관 팝업 레이어 공통 스타일 */
.setting-layer {
    display: none;
    position: fixed;
    overflow-y: scroll;
    z-index: 10000;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}
.push {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.push label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.push input[type="checkbox"] { 
    position: absolute; 
    opacity: 0; 
    width: 0;
    height: 0;
    cursor: pointer; 
}

.push input[type="checkbox"].ios-switch + div { 
    position: relative;
    display: inline-block;
    vertical-align: middle; 
    width: 44px; 
    height: 24px; 
    border-radius: 24px; 
    background-color: #e2e8f0; 
    transition: background-color 0.25s ease;
    cursor: pointer; 
    box-sizing: border-box;
}

.push input[type="checkbox"].ios-switch:checked + div { 
    background-color: #1a3952;
}

.push input[type="checkbox"].ios-switch + div > div { 
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px; 
    height: 20px; 
    border-radius: 50%; 
    background: #ffffff; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; 
}

.push input[type="checkbox"].ios-switch:checked + div > div { 
    transform: translate3d(20px, 0, 0); 
    -webkit-transform: translate3d(20px, 0, 0);
}

/*게시판 뷰*/
#board-view { padding: 16.6667vw 0 18.0556vw; box-sizing: border-box; }
#board-view .wrap { width: 90%; left: 0; right: 0; margin: auto; }

#board-view .b-pic img { width: 100%; }

#board-view .b-info { padding: 2.7778vw 0; border-bottom: 0.2778vw solid #9f9f9f; box-sizing: border-box; }
#board-view .b-info:after { content: ''; display: block; clear: both; }
#board-view .b-info span { float: left; font-size: 3.0556vw; font-weight: 400; color: #6e6e6e; }
#board-view .b-info .b-writer { margin-right: 2.7778vw; }
#board-view .b-info .b-views { float: right; }
#board-view .b-info .b-views img { width: 5.0000vw; margin-right: 1.3889vw; vertical-align: -0.2778vw; }

#board-view .b-container { clear: both; padding: 2.2222vw 0; box-sizing: border-box; }
#board-view .b-container .b-title { margin-bottom: 2.7778vw; font-size: 3.6111vw; font-weight: 400; color: #333; }
#board-view .b-container .b-contents { font-size: 3.0556vw; font-weight: 400; color: #6e6e6e; }
#board-view .b-btn { display: block; margin: 20.8333vw auto 0; width: 46.1111vw; height: 9.7222vw; line-height: 9.7222vw; text-align: center; background: #284889; font-size: 4.1667vw; font-weight: 400; color: #fff; }

