@charset "euc-kr";
#m_preview_wrap {display:none;} /* 미리보기 숨기기 */

/* base */
* {-webkit-text-size-adjust:none;}
body {position:relative;font-size:0.75em;line-height:1.417em;color:#121212;-webkit-text-size-adjust:none;}
body,input,textarea,select,button,table{font-family:Pretendard,SUIT,"Helvetica Neue", Helvetica, NanumGothic,"Malgun Gothic",Dotum,Gulim,sans-serif}
body,p,h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,table,th,td,form,fieldset,legend,input,textarea,button,select,figure{margin:0;padding:0}
h1, h2, h3, h4, h5, h6 {font-weight:normal; font-size:100%; word-break: break-all;}
ul, ol, li {list-style:none;}
fieldset, img {border:none;}
img {vertical-align:top;}
hr, button img {display:none;}
form, fieldset, legend, label {margin:0; padding:0;}
fieldset{border:0 none;}
fieldset legend {position:absolute; visibility:hidden; overflow:hidden; width:0; height:0; margin:0; padding:0; font:0/0 Arial;}
em,address{font-style:normal;}
input,textarea,select,button,table{font-size:inherit;font-family:inherit;line-height:inherit;color:#121212;}
label { cursor:pointer; }
table {border-collapse: collapse; border-spacing: 0;}
/* //base */

/* cross */
* html input { margin:-1px 0; } 
*:first-child+html input { margin:-1px 0; }
input.checkbox { width:13px; height:13px; margin-top:-4px; vertical-align:middle;}
/* //cross */

/* a-style */
a {color:#121212; text-decoration:none;}
a:hover, a:active {text-decoration:none;}
/* //a-style */

/* 공통 */
address, article, aside, figure, footer, header, hgroup, menu, nav, section {display:block;}
caption {font-size:0; height:0;}
input[type="text"], input[type="date"], input[type="tel"], input[type="number"], input[type="email"], input[type="password"], select {height:35px; border:1px solid #bbb; vertical-align: middle; padding-left:10px; box-sizing: border-box; -webkit-border-radius:0; border-radius: 0;}
input[type="radio"], input[type="checkbox"] {vertical-align: middle;}
textarea {border:1px solid #bbb; vertical-align: middle; box-sizing:border-box; background-color:#fff; padding:10px; -webkit-border-radius:0; border-radius:0;}
.clearFix {position:relative; overflow:hidden; zoom:1;}
.bold {font-weight:bold;}
.response100 {width:100%;}
.location {padding:0 10px; margin-bottom:8px;}
.h_title {border-top:1px solid #464646; border-bottom:1px solid #464646; padding:6px 10px;}
.h_title h3 {font-weight:bold;}
#mask {width:100%; height:100%; position:fixed; top:36px; left:0; right:0; bottom:0; background-color:#3c3c3c; z-index:1000; display:none; opacity:0.8;}
.none-data {text-align: center; margin: 20px 0;}
.none-data img {margin-bottom:10px;}
.pd10 {padding:0 10px;}
.fr {float:right !important;}
.fl {float:left !important;}
.txt-input1 {width:100% !important;}
.txt-input2 {width:46% !important;}
.txt-input3 {width:29% !important;}
.txt-input4 {width:20% !important;}
.txt-area1 {width:100% !important;}
.mt5 {margin-top:5px;}
.page_location {padding:5px 5px;}
.page_location li {float:left;}
.page_location li::after {content: ">"; margin: 0 7px;}
.page_location li:last-child::after {content: ""; margin:0;}
.h_layerTitle {height:35px; line-height:35px; background-color:#f2f2f2; padding:0 10px; margin-bottom:10px;}
.h_layerTitle h3 {font-weight:bold;}
.h_layerTitle .fa-times {float:right; margin-top: 5px;}
.MK-product-icons img {padding:0 2px;}
/* //공통 */

/* 페이징 */
.paging {text-align:center; margin:26px 0;}
.paging a {width:30px; height:30px; line-height:30px; background-color:#fff; border:1px solid #ddd; display:inline-block; margin:0 2px;}
.paging a.now {background-color:#3b3b3b; color:#fff; border:1px solid #3b3b3b;}
/* //페이징 */

/* 폰트 관련 */
.color_1984f1 {color:#1984f1 !important;} /* Blue */
.color_f1191f {color:#f1191f !important;} /* Red */
.color_a63f42 {color:#a63f42 !important;} /* DarkRed */
.bgc077fe2 {background-color:#077fe2; color:#fff; padding:2px 5px; margin-right: 5px;}
.bgc464644 {background-color:#464644; color:#fff; padding:2px 5px; margin-right: 5px;}
.caution {color:#f1191f; text-align:center; font-size:0.917em;}
.ico_new {color: #ffffff; background-color: #ff8400; font-weight:bold; padding:1px 5px;}
.ico_hit {color: #ffffff; background-color: #f1191f; font-weight:bold; padding:1px 5px;}
/* //폰트 관련 */

/* 버튼 관련 */
.btn_White {width:100%; height:35px; line-height:35px; background-color:#fff; text-align:center; display:block; border:1px solid #c6c6c6; box-sizing: border-box; vertical-align: middle;}
.btn_Black {width:100%; height:35px; line-height:35px; background-color:#393939; color:#fff; text-align:center; display:block; border:1px solid #393939; box-sizing: border-box; vertical-align: middle;}
.btn_Red {width:100%; height:40px; line-height:40px; background-color:#ab3e41; color:#fff; text-align:center; display:block; border:1px solid #ab3e41; box-sizing: border-box; vertical-align: middle;}
.btn_Grey {width:100%; height:35px; line-height:35px; background-color:#858585; color:#fff; text-align:center; display:block; border:1px solid #858585; box-sizing: border-box; vertical-align: middle;}
.fixButtonR {position:relative; padding-right:120px;}
.fixButton {width:115px; position:absolute; top:0; right:0;}
.more {text-align:center; width:100%;}
.btn_moreGray {width:224px; height:35px; line-height: 35px; background-color:#efefef; border:0px none; font-weight:bold; display: block; margin: 0 auto;}
.btn_moreGray span {color:#aaaaaa;}
.btn_moreGray span em {color:#f1191f;}
/* 버튼 관련 */

/* 상품진열 */
.list_array {height:52px; border-bottom:1px solid #4a4a4a; border-top:1px solid #c7c7c7; padding:0 8px; margin-bottom: 20px;}
.list_array .list_arrayLeft {float:left; margin-top:12px;}
.list_array .list_arrayLeft select {height:28px;}
.list_array .list_arrayRight {float:right; margin-top:12px;}
.list_array .list_arrayRight img {margin-left:10px;}
.list_shopping1x {text-align:center;}
.list_shopping1x ul {width:100%; display:table; table-layout: fixed; box-sizing: border-box; text-align:left; font-size:0;}
.list_shopping1x li {width:100%; display:inline-block; vertical-align: top; border-top:1px solid #d9d9d9;}
.list_shopping1x li a {display: block; padding:18px 4px; position:relative; overflow:hidden; zoom:1;}
.list_shopping1x li:first-child {border:0px none;}
.list_shopping1x li:first-child a {padding:0 4px 18px 4px;}
.list_shopping1x li img.listPic {width:50%; float:left;}
.list_shopping1x li .main_icons {position:relative; display:inline-block; text-align:center; width:50%}
.list_shopping1x li .main_icons img.listPic {width:100%;}
.list_shopping1x .list_shoppingInfo {width:46%; float:right; padding-left:4%; font-size:12px;}
.list_shopping2x {text-align:center;}
.list_shopping2x ul {width:100%; display:table; table-layout: fixed; box-sizing: border-box; padding:0 2px;  text-align:left; font-size:0;}
.list_shopping2x li {width:50%; display:inline-block; vertical-align: top; text-align:left;}
.list_shopping2x li a {display: block; padding:0 2px 18px 2px;}
.list_shopping2x li img.listPic {width:100%;}
.list_shopping2x li .main_icons {position:relative;}
.list_shopping2x .list_shoppingInfo {margin-top:10px; text-align:center; font-size:12px;}
.list_shopping3x {text-align:center;}
.list_shopping3x ul {width:100%; display:table; table-layout: fixed; box-sizing: border-box; padding:0 2px; text-align:left; font-size:0;}
.list_shopping3x li {width:33.33%; display:inline-block; vertical-align: top;}
.list_shopping3x li a {display: block; padding:2px;}
.list_shopping3x li img.listPic {width:100%;}
.list_shopping3x li .main_icons {position:relative;}
.list_shopping3x .list_shoppingInfo {margin-top:10px; text-align:center; font-size:12px;}
.listName {color:#3b3b3b; word-break: break-all;}
.listDiscount {color:#b5b5b5;}
.listPrice {color:#1b1b1b; margin-bottom:4px;}
.listSoldout {color:#D22525; margin-bottom:4px;}
.listReplace {color:#1b1b1b; margin-bottom:4px;}
.listReview {color: #DB2E2E; margin-bottom:4px;}
.listReserve {color:#7d7d7d; font-size:0.917em;}
.listPoint {color:#7d7d7d; font-size:0.917em;}
.listWish { margin: -7px 0 10px; font-family: 'Pretendard'; color: #000; }
.listWish i.fa { margin-right: 5px; color: #b9b9b9; font-size: 17px; vertical-align: text-top; cursor:pointer; }
.listWish i.fa-heart { display:none; color: #f41f3a; }
.listWish .wish-on i.fa-heart { display:inline-block; }
.listWish .wish-on i.fa-heart-o { display:none; }
/* //상품진열 */

/* 로그인 */
.login .caution {margin-bottom:10px;}
.member {padding:0 15px; margin-top: 20px;}
.login #keyboard {text-align:center; margin:0 auto;}
.login #keyboard p {text-align:right; margin-bottom:12px;}
.login #keyboard img {display:none; width:100%;}
.login .loginInput {margin-top:18px;}
.login .loginInput input {width:100%; display:block; margin-bottom:10px;}
.login .loginCheck {margin-top:10px;}
.login .loginCheck label {margin-right:12px;}
.login .loginCheck label input {vertical-align: middle;}
.login .loginMiddle .btn_Red {font-size:1.167em; margin:10px 0;}
.login .loginMiddle .btn_White {font-size:1.167em;}
.login .loginBottom {background-color:#eaeaea; padding:18px 15px; margin-top:20px;}
.login .loginBottom h4 {background-color:#eaeaea; margin-bottom:5px; padding:0; font-weight:bold;}
.login .loginBottom a {font-size:1.167em;}
.login .loginBottom a.btn_Black {margin-top:16px;}
.login .loginBottom a.btn_Black:last-child {margin-top:10px;}
.login .loginBottom a.btn_White {margin-top:10px;}
.sns-login { position: relative; margin: 20px 10px 0; }
.sns-login .sns-title img { width: 100%; max-width: 300px; }
.sns-login ul li { position: relative; margin-top: 10px; padding-left: 50px; height: 40px; line-height: 40px; border: 1px solid #dfdfdf; border-radius: 4px; list-style: none; }
.sns-login ul li a { display: block; padding-left: 20px; border-left: 1px solid #dfdfdf; color: #999; font-size: 1.25em; font-weight: bold; letter-spacing: -1px; }
.sns-login ul li span { position: absolute; top: 0; left: 0; width: 50px; height: 40px; }
.sns-login ul li.facebook span { background: url(/images/d3/m_01/icon/ico_sns_facebook.gif) no-repeat 50% 50%; background-size: 12px auto; }
.sns-login ul li.naver span { background: url(/images/d3/m_01/icon/ico_sns_naver.gif) no-repeat 50% 50%; background-size: 18px auto; }
.sns-login ul li.kakaotalk span { background: url(/images/d3/m_01/icon/ico_sns_kakaotalk.gif) no-repeat 50% 50%; background-size: 20px auto; }
.sns-login ul li.apple span { background: url(/images/d3/m_01/icon/ico_sns_apple.gif) no-repeat 50% 50%; background-size: 20px auto; }
/* //로그인 */

#check_auth {padding:15px 0;}
#check_auth .head {text-align:center; color:#f46b00; margin-bottom:10px;}
#check_auth .contents table {margin:0 auto;}
#check_auth .contents table td {padding:5px 0;}
#check_auth .contents table td input {width:100% !important; height:35px !important; margin-bottom:0 !important;}

/* 레이어팝업 */
.layer {width: 100%; min-height: 100%; z-index: 3; position: fixed; left: 0; top: 0; background:rgba(60,60,60,0.8);z-index:9999;}
.layer .layer-pop {width:90%; background-color: #fff; position: relative; box-shadow: 0px 1px 10px #494949; margin:80px auto;}
.layer .layer-pop h3  {background-color: #efefef; height: 36px; line-height: 36px; font-weight: bold; padding: 0 10px; }
.layer .layer-pop .txt {max-height: 300px; overflow-y: auto; padding:10px;}
.layer .layer-pop .close {width:45px; height:36px; color:#fff; line-height: 42px; position:absolute; top:0; right:0;  background-color: #4f4f4f; text-align: center;}
body #comment_password {border-radius:0 !important; font-size:1em;}
body #comment_password .head {background-color: #efefef; height: 36px; line-height: 36px; font-weight: bold; text-align:left !important; padding: 0 10px;}
body #comment_password .head h5 {border-bottom:0px none !important; font-size:1em !important; padding:0 !important;}
body #comment_password .head a.close {width:45px; height:36px; color:#fff; line-height: 42px; top:0 !important; right:0 !important; text-align: center;}
body #comment_password .contents p {font-size:1em !important; font-weight:normal;}
body #comment_password .contents .form-wrap2 input {height: 35px;}
body #comment_password .contents .form-wrap2 p:last-child a {display:block; background-color: #393939; color:#fff; position:initial !important; padding:10px 0; margin-top: 10px;}
/* //레이어팝업 */

/* 팝업 */
.popup .pop h3  {background-color: #efefef; height: 36px; line-height: 36px; font-weight: bold; padding: 0 10px; }
.popup .pop .txt {padding:10px;}
.popup .pop .close {width:45px; height:36px; color:#fff; line-height: 42px; position:absolute; top:0; right:0;  background-color: #4f4f4f; text-align: center;}
#passimg {width: 90%; background-color: #fff; top:50%; left: 0; right: 0; margin: 0 auto; text-align: center; padding: 20px 0; box-shadow: 0 1px 10px #717171;}
#passimg .head {color:#f26c09;}
#passimg .btns {padding:0 10px; margin-top: 10px;}
#passimg .btns a {display:block; background-color: #393939; color:#fff; padding:10px 0;}
/* //팝업 */

@media screen and (max-width:319px) {
    .tabletOnly {display:none !important;}
}
@media screen and (min-width:320px) and (max-width:419px) {
    .tabletOnly {display:none !important;}
}
@media screen and (min-width:420px) and (max-width:767px) {
    .tabletOnly {display:none !important;}

    /* 상품진열 */
    .list_shopping1x li {width:50%;}
    .list_shopping1x li a {padding:4px;}
    .list_shopping1x li:first-child a {padding:4px;}
    .list_shopping1x li:nth-child(2) {border:0px none;}
    .list_shopping2x li {width:33.3%;}
    .list_shopping3x li {width:25%;}
    /* //상품진열 */
    
    /* 더보기 버튼 */
    .btn_moreGray {width:335px;}
    /* //더보기 버튼 */
    /* .layer .layer-pop .txt {max-height: 150px;} G패드에서 사이즈가 작게 나와서 제거함 */
    .layer .layer-pop {margin:20px auto;}
}
@media screen and (min-width:768px) {
    body {font-size:0.813em;}
    .mobileOnly {display:none !important;}

    /* 상품진열 */
    .list_shopping1x li {width:50%;}
    .list_shopping1x li a {padding:10px;}
    .list_shopping1x li:first-child a {padding:10px;}
    .list_shopping1x li:nth-child(2) {border:0px none;}
    .list_shopping2x ul {padding:0 5px;}
    .list_shopping2x li {width:33.3%;}
    .list_shopping2x li a {padding:5px;}
    .list_shopping3x ul {padding:0 5px;}
    .list_shopping3x li {width:25%;}
    .list_shopping3x li a {padding:5px;}
    /* //상품진열 */
    
    /* 더보기 버튼 */
    .btn_moreGray {width:335px;}
    /* //더보기 버튼 */
}





/* ===========================
   커튼 계산기 열기 버튼
=========================== */
.curtain-calc-open-btn {
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.curtain-calc-open-btn img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ===========================
   팝업 전체
=========================== */
.curtain-calc-popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;

    background: #fff;
    z-index: 999999;

    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.25);
}


/* 팝업 활성화 */
.curtain-calc-popup.active {
    display: block;
}


/* ===========================
   뒤 검은 배경
=========================== */
.curtain-calc-dim {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.45);

    z-index: 999998;
}

.curtain-calc-dim.active {
    display: block;
}


/* ===========================
   기본 디자인
=========================== */
.cal_font_ttl {
    font-size: 24px;
    font-weight: bold;
    text-align: center;

}



.curtain_cal_bg {
    margin: 0;
    padding: 0;
}

.curtain_cal_bg ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


.td1 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
}

.td2 {
    font-size: 14px;
    line-height: 1.8;
}

.td2 input[type="text"] {
    box-sizing: border-box;
    height: 40px;
    padding: 5px 10px;
    border: 1px solid #ddd;
}

.cal_box01 input[type="text"] {
    width: 150px;
}

.cal_box03 input[type="text"] {
    width: 80%;

}


/* 계산 버튼 */
.cal_box04 {
    text-align: center;
}

.cal_box04 input {
    width: 100%;
    max-width: 450px;
    height: 48px;

    border: 0;
    background: #333;
    color: #fff;

    font-size: 16px;
    cursor: pointer;
}


/* 안내문 */
.cal_font2 {
    margin-top: 20px;
    line-height: 1.7;
    font-size: 13px;
}


/* ===========================
   하단 닫기
=========================== */
.curtain-bottom-close-wrap {
    text-align: center;
    /*margin-top: 25px;*/
}

.curtain-bottom-close-img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}


/* ===========================
   모바일
=========================== */
@media screen and (max-width: 600px) {

    .curtain-calc-popup {
        width: calc(100% - 30px);
        max-height: 90vh;

    }

    .cal_font_ttl {
        font-size: 21px;
    }

    .cal_font {
        font-size: 13px;
    }

    .td1 {
        font-size: 14px;
    }

    .td2 {
        font-size: 13px;
    }

    .td2 p {
        margin-bottom: 7px !important;
    }

}


/* 팝업 열릴 때 */

html.curtain-lock,
body.curtain-lock {

    overflow: hidden !important;

    touch-action: none !important;

}



/*130-갯수-커튼계산기NEW 모바일*/
.curtain_cal_bg{width:85%; margin:0px auto;}
.curtain_cal_bg ul{width:100%;margin:0 auto;}
.curtain_cal_bg ul li{width: 100%;margin: 0 auto; overflow: hidden;border-style:none;}
.curtain_cal_bg ul li div{ padding: 5px 0px 0px 5px;  font-size:0.9rem; color:#5f5f5f; }
.curtain_cal_bg ul li div:first-of-type{font-size:0.9rem;font-weight:500;}
.curtain_cal_bg ul li.cal_box01{border-bottom:1px solid #e2e2e2;}
.curtain_cal_bg ul li.cal_box02> .td2{ padding: 0px 0px 0px 3px;} 
.curtain_cal_bg ul li.cal_box02> .td2 p img {width:150px;   height: auto;}


.curtain_cal_bg ul li.cal_box03 {width:95%;margin:0 auto;border:1px solid #ccc; margin-top:8px;background:#f6f1ee;}
.curtain_cal_bg ul li.cal_box04 {text-align:center;position:relative;background:#f6f1ee;}
.curtain_cal_bg ul li.cal_box04 input/*계산하기*/
{ -webkit-appearance: none;
   -webkit-border-radius: 0;cursor:pointer;width:40%;height: 35px;
    margin-bottom: 10px;font-size:0.9rem;font-weight:500;
   color:#fff;border:1px solid #ccc;background:#a28b80;font-size:0.9rem;}
.curtain_cal_bg ul li .td1{width:inherit; height: 100%;/*background:#efefef;*//*float: left; */overflow: hidden;}
.curtain_cal_bg ul li .cal_box02>.td1{font-weight:500;padding-bottom:5px;}
.curtain_cal_bg ul li .cal_box03>.td1{font-weight:500; padding-left:8px;}
.curtain_cal_bg ul li .td2{ width:inherit;height: 100%;/*float: left; */ overflow: hidden;padding-bottom:20px;}
.curtain_cal_bg ul li .td2 p{margin:8px;}  


.curtain_cal_bg ul li.cal_box03> .td2{width:inherit;}
.curtain_cal_bg ul li.cal_box03> .td2>input{-webkit-appearance: none;}
.curtain_cal_bg ul li.cal_box01> .td2{padding:5px 0;padding-left:5px;}
.curtain_cal_bg ul li.cal_box01> .td2 input{-webkit-appearance: none;width:200px;height:35px;font-size:0.9rem;}
.curtain_cal_bg ul li.cal_box02> .td2 input{width: 20px;    height: 15px;    padding: 0px 3px 3px 3px;    color: #333;background:#fff; border:1px solid #ccc; box-sizing:border-box;margin-top: -3px;
}

.ex span{position:relative; top:-11px;}



.cal_font_ttl{text-align:center; padding:10px 0 10px 0;}
.cal_font{font-size:0.8rem;color:#453f3c;text-align:center;padding-bottom:10px;}
.cal_font2{font-size:0.9rem;line-height:20px;color:#453f3c;text-align:center;padding:10px 0;margin-bottom:30px;}


/*130-갯수-커튼계산기NEW*/


/* 1015 추가*/


#curtainCalcPopup .curtain-top-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: #333;
    font-size: 30px;
    font-weight: 300;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    z-index: 1000000;
}


/* 1015 계산기 디자인변경*/

/* =====================================
   커튼계산기 PC + 모바일 공통 디자인
===================================== */

#curtainCalcPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: calc(100% - 36px);
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 25px;
    background: #f7f4ee;
    border-radius: 6px;
    z-index: 1000000;
    color: #292929;
    scrollbar-width: none;
} 

/*       box-sizing: border-box; border: 1px solid #d8d2c8; */

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

/* 우측 상단 닫기 */
#curtainCalcPopup .curtain-top-close {
    position: absolute;
    top: 18px;
    right: 12px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 30px;
    font-weight: 300;
    line-height: 30px;
    cursor: pointer;
    z-index: 10;
}

/* 제목 */
#curtainCalcPopup .cal_font_ttl {

    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #292929;
}

/* 설명 */
#curtainCalcPopup .cal_font {


    text-align: center;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

/* 계산기 기본 영역 */
#curtainCalcPopup .curtain_cal_bg,
#curtainCalcPopup .curtain_cal_bg ul {
    width: 100%;
    margin: 0;
    padding: 0;

}

#curtainCalcPopup .curtain_cal_bg ul {
    list-style: none;
}

#curtainCalcPopup .curtain_cal_bg li {

    list-style: none;
}

/* 항목 제목 */
#curtainCalcPopup .td1 {
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
    color: #292929;
}

/* 가로 사이즈 입력 */
#curtainCalcPopup .cal_box01 {
    border-bottom: 1px solid #eee9e1;
}

#curtainCalcPopup .cal_box01 .td2 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    font-weight: 700;
}

#curtainCalcPopup input[name="num3"] {
    width: 30%;
    max-width: 90%;
    height: 38px;
    box-sizing: border-box;
    border: 1px solid #e8dfd2;
    border-radius: 7px;
    background: #fff;
    font-size: 16px;
}

/* 주름 옵션 */
#curtainCalcPopup .cal_box02 {
    padding: 18px 0 12px;
    border-bottom: 1px solid #eee9e1;
}

#curtainCalcPopup .cal_box02 .td2 {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#curtainCalcPopup .cal_box02 .td2 p {
    width:98%;
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 8px 0px;
    box-sizing: border-box;
    border: 1px solid #e8dfd2;
    border-radius: 7px;
    background: #fff;
    font-size: 14px;
    line-height: 1.5;
}

#curtainCalcPopup input[name="rdo3"] {
    flex: 0 0 auto;
    margin: 0 10px 0 10px;
    accent-color: #71816f;
}

/* 주문 수량 */
#curtainCalcPopup .cal_box03 {

    padding:8px 0 0 15px;
    border-radius: 7px;
    background: #efe8dc;
}


#curtainCalcPopup input[name="result3"] {
    width:80%;
    height: 32px;
    padding: 0 0 5px 8px; 
    border: 0;
    outline: none;
    background: transparent;
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

/* 계산하기 버튼 */
#curtainCalcPopup .cal_box04 {
    margin-top: 16px;
}

#curtainCalcPopup .cal_box04 input[type="button"] {
    width: 100%;
    height: 58px;
    border: 0;
    border-radius: 6px;
    background: #6b7b6d;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

/* 하단 안내 */
#curtainCalcPopup .cal_font2 {
    margin: 18px 0 0;
    padding: 12px 8px;
    border: 1px solid #e5dfd6;
    text-align: center;
    color: #777;
    font-size: 12px;
    line-height: 1.7;
}

/* 기존 하단 닫기 이미지 숨김
   우측 상단 X 버튼만 사용할 경우 */
#curtainCalcPopup .curtain-bottom-close-wrap {
    display: none;
}

/* 검은 배경 */
#curtainCalcDim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999999;
}

/* =====================================
   모바일 화면
===================================== */
@media screen and (max-width: 767px) {

    #curtainCalcPopup {
        width: calc(100% - 28px);
        max-width: 80%;
        max-height: 90vh;
        padding: 20px 16px;
        border-radius: 6px;
    }



    #curtainCalcPopup .cal_font {
        font-size: 12px;

    }

    #curtainCalcPopup .td1 {
        font-size: 15px;
    }

    #curtainCalcPopup .cal_box01 .td2 {
        font-size: 15px;
    }

    #curtainCalcPopup input[name="num3"] {
        max-width: none;
        flex: 1;
        min-width: 0;
        height: 36px;
    }

    #curtainCalcPopup .cal_box02 {
        padding-top: 15px;
    }



    #curtainCalcPopup .cal_box04 input[type="button"] {
        height: 52px;
        font-size: 16px;
    }

    #curtainCalcPopup .cal_font2 {
        margin-top: 11px;
        font-size: 13px;
    }
}



/* 커튼계산기 - 모바일 화면 높이 자동 대응 */
@media screen and (max-width: 767px) {

  #curtainCalcPopup {
    position: fixed !important;

    /* 화면 가로·세로 정중앙 */
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;

    /* 휴대폰 너비에 맞춤 */
    width: calc(100% - 32px) !important;
    max-width: 420px !important;
    box-sizing: border-box !important;

    /* 기기별 실제 화면 높이에 맞춤 */
    height: auto !important;
    max-height: 90vh !important;
    max-height: 90dvh !important;

    /* 내부 스크롤바 숨김 */
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;

    z-index: 999999 !important;
  }

  #curtainCalcPopup::-webkit-scrollbar {
    display: none;
    width: 0;
  }

}

/*추가 1027 상세하단 공통*/

  .ciel-detail-info {
    max-width: 980px;
    margin: 40px auto 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    font-family: 'Pretendard', sans-serif;
    color: #333;
    text-align: left;
  }

  .ciel-detail-info summary {
    cursor: pointer;
    padding: 18px 4px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    list-style: none;
  }

  .ciel-detail-info summary::-webkit-details-marker {
    display: none;
  }

  .ciel-detail-content {
    padding: 4px 4px 28px;
    font-size: 14px;
    line-height: 1.75;
  }

  .ciel-detail-content p,
  .ciel-detail-content ul {
    margin: 0;
  }

  .ciel-detail-content h3 {
    margin: 22px 0 6px;
    font-size: 14px;
    font-weight: 700;
  }

  .ciel-detail-content .detail-intro {
    margin-bottom: 20px;
  }





/* 형상기억 동영상 - PC·모바일 반응형 */


#pd_contents4 {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 0;
}

#pd_contents4 .memory-video-wrap {
    position: relative;
    width: 100%;
    max-width: 590px;
    aspect-ratio: 590 / 1050;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

#pd_contents4 .memory-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
}

@media screen and (max-width: 590px) {
    #pd_contents4 .memory-video-wrap {
        width: 100%;
        max-width: 590px;
    }
}

