/* BASIC css start */
#basket .all-select {border-top:1px solid #dddddd;   border-bottom:1px solid #dddddd; padding:16px 16px; font-size:1.4rem; display: flex; justify-content: space-between; }
#basket label span {position:relative; display:inline-block; font-size:1.4rem}
#basket label em {font-weight:bold; }
#basket label em i {font-style:normal; font-size: inherit; font-weight: inherit;}


.mypage_navi {margin:10px 0px;padding:0px 10px;background:#f4f4f4;font-size:1rem;display:flex;}
.mypage_navi:after {display: block;clear: both;content: "";}
.mypage_navi a {display:inline-block;width:33.33%;border:1px solid transparent;border-bottom:1px solid transparent !important;font-size:1.2rem;line-height:40px;text-align:center;}
.mypage_navi a.btn_selecet {color:#2f2f2f;background:#fff;border-color:#e9e9e9;}
.mypage_navi a.btn_selecet a:first-child {border-left:1px solid transparent;}
.mypage_navi a:first-child {border-left:1px solid transparent;}

.not_provider li { padding:16px; border-bottom:6px solid #f5f5f5}
.not_provider li:last-child { border-bottom:none; }
.top_btn_box {display: flex; justify-content: space-between; align-items: center; margin-bottom:16px; }
.top_btn_box span a { display:inline-block; width:18px; margin-right:4px; box-sizing: border-box; vertical-align: top; }
.top_btn_box span a:last-child {margin-right:0}
.top_btn_box span a.btn_del {padding:2px }
.top_btn_box label span:after {margin-top:-12px; }

.pro_box { display:flex; align-items: center; border-bottom:1px solid #dcdcdc; padding-bottom:16px;  }
.basketLeft {width: 132px; position:relative; display:inline-block; box-sizing:border-box;}
.basketRight {width: calc(100% - 132px); padding-left:16px; box-sizing:border-box;display: flex;flex-direction: column;justify-content: space-between;}
.pro_box p {position:relative}
.pro_box .pname {font-size:1.3rem;display: -webkit-box;-webkit-box-orient: vertical;text-overflow: ellipsis;overflow: hidden;-webkit-line-clamp:2;max-height: 47px;margin-bottom: 10px;color: #000;word-wrap: break-word;word-break:keep-all;line-height: 1.5;font-weight:bold;}
.pro_box .pname a {color:#000}
.pro_box .price { margin-top: 13px; font-size: 1.7rem; font-weight: bold; }
.pro_box .price .discount {margin-left:4px; font-size:1.3rem; color:#c6c6c6; text-decoration: line-through;  font-weight:500 }
.pro_box .count {font-size:0}
.pro_box .count a {display:inline-block;vertical-align: middle;width: 24px;height: 24px;line-height: 22px;text-align: center;border: 1px solid #9E9E9E;box-sizing: border-box;font-size: 1.6rem;color: #9E9E9E;}
.pro_box .count .amount-input {width: 28px;border: none;text-align: center;font-size: 1.2rem; padding:0 ;height: 24px;border-top: 1px solid #9E9E9E;border-bottom: 1px solid #9E9E9E;font-weight: 500;box-sizing: border-box;}
.pro_box .option {margin-bottom:10px;font-size: 1.2rem; color:#888}



.not_provider li a.btn_right {position:absolute; right:0; top: calc(50% - 12px);box-sizing: border-box; height:24px; width:62px; line-height:24px; text-align:center; font-size:1.2rem; color:#000; border:1px solid #9E9E9E }
.option_box {position:relative; padding:16px 0; border-bottom:1px solid #dcdcdc; }
.option_box p {padding-right:74px; font-size:1.4rem; line-height:24px  }


.price-total-info-bottom {padding:0 16px; display:flex; align-items: center; justify-content: space-between; border-bottom:1px solid #dcdcdc; padding-bottom:16px; }
.price-total-info-bottom p {font-size:1.4rem; }
.price-total-info-bottom p .txt-price {font-weight:600 }
.price-total-info-bottom .btn {height:36px; line-height:36px; border-radius:0; width:120px}

.delivery-type { padding:0 16px; text-align:center; }
.delivery-type li {font-size:1.2rem; margin-bottom:12px; }
.delivery-type li:last-child {margin-bottom:none; }
.naver-checkout {}

.price-total-info-box {border-top: 6px solid #f5f5f5;  padding:16px 16px; }
.price-total-info-box .total_tt {font-size:1.4rem }
.price-total-info-box .total_tt .choice_count {font-size:2rem;}
.price-total-info-top {margin-top:24px;font-weight:500;}
.price-total-info-top li {display:flex; align-items: center; justify-content: space-between; padding:0 }
.price-total-info-top li:last-child {margin-bottom:0}
.price-total-info-top li span { width:50%}
.price-total-info-top li .lb {color:#9E9E9E;font-weight:400;font-size:1.3rem; text-align:left}
.price-total-info-top li .num {color:#666; font-size:1.6rem; font-weight:400; text-align:right}
.price-total-info-top li .num font {font-weight:600;  font-size:1.8rem;}
.price-total-info-top li.total {}
.price-total-info-top li.total .lb { color:#000}
.price-total-info-top li.total .num {color:#000;  }
.price-total-info-top li.total .num font {font-size:2rem; font-weight:800;  }
.price-total-info-top li.total .num i {font-style:normal; font-weight:500; font-size:1.6rem; }

.order-btn { padding:10px;display:flex; margin-top:20px; box-sizing:border-box; }
.order-btn a {font-size:1.5rem;color:#2f2f2f;text-align: center;font-weight: 500;width: calc(50% - 5px);margin-right: 10px;border:1px solid #e8e8e8;height: 45px;display: flex;align-items: center;justify-content: center;}
.order-btn a:last-child {margin-right:0; border:none; color:#fff; background: #d6b68a;}

.cart-free-wrap { text-align:center; margin-bottom: 10px; }
.cart-free-wrap .btn-list-open { display:inline-block; width:90%; height:30px; line-height:30px; background:#585858; color:#fff; font-weight:bold; font-size: 1rem; text-align:center; }
.cart-free-wrap p { padding:10px 0 15px; font-size: 1.2rem; font-weight:bold; text-align: center; }
.cart-free-wrap p span { color:#f40000; }
.cart-free-wrap .btn-more { display:inline-block; width:94%; height:30px; line-height:30px; margin-top:10px; border:1px solid #383838; background:#fff; color:#383838; font-size: 1rem; text-align:center; }
.cart-free-wrap .btn-more span { display:inline-block; width:8px; height:5px; margin-left:5px; background:url(/images/d3/m_04/h10_arr.gif) no-repeat 0 0; background-size:100% 100%; vertical-align:middle; }
.cart-free-wrap .list-wrap { overflow-x:hidden; padding:0 20px; margin-top:20px; display: none; }
.cart-free-wrap .list-wrap ul { width:100%; list-style:none; }
.cart-free-wrap .list-wrap ul:after { clear: both; content: ""; display: block; }
.cart-free-wrap .list-wrap ul li { float:left; width:33.3333%; height:180px; font-size: .7em; list-style:none; }
.cart-free-wrap .list-wrap ul li dl { margin:10px 10px 10px; }
.cart-free-wrap .list-wrap ul li dl dt { height:100px; margin-bottom:13px; }
.cart-free-wrap .list-wrap ul li dl dt img { width:100%; height:100%; }
.cart-free-wrap .list-wrap ul li dl dd {font-size:1rem;}
.cart-free-wrap a {font-size:1rem;}

#basket .warning-box {margin:15px 10px 30px;padding:15px;border:1px solid #e6e6e6;box-sizing:border-box;}
#basket .warning-box .title {margin-bottom:5px;padding-left:25px;color:#2f2f2f;font-size:1.3rem;font-weight:bold;line-height:19px;background:url(/design/ssodo82/smartskin2017/gaenso2017/img/delay_simbol.jpg)no-repeat top 3px left;background-size: auto 19px;}
#basket .warning-box p {color:#777777;font-size:1.1rem;line-height:18px;}



/* ===== 모바일 간편결제 수정: gaenso-easy-pay-row HTML과 함께 사용 ===== */
/* 기존 상품/리뷰 스타일을 유지하고 결제 영역에만 적용합니다. */
#gaenso-pay-mobile-cart {
    display:flex; flex-wrap:nowrap; align-items:flex-start; gap:6px;
    width:100%; clear:both; margin:12px 0; padding:0 10px;
    box-sizing:border-box; line-height:normal; letter-spacing:0;
}
#gaenso-pay-mobile-cart > .gaenso-easy-pay-slot {
    flex:1 1 0; width:auto; min-width:0; margin:0; padding:0;
    float:none; box-sizing:border-box;
}
#gaenso-pay-mobile-cart > .gaenso-easy-pay-naver:has(.npay_btn_zzim) {
    flex:1 1 50px;
}
#gaenso-pay-mobile-cart > .gaenso-easy-pay-slot:empty {display:none;}
#gaenso-pay-mobile-cart a {
    margin:0 !important; padding:0 !important; letter-spacing:0;
    vertical-align:top; font-weight:400; box-sizing:border-box;
}
#gaenso-pay-mobile-cart #nhn_btn {
    width:100% !important; margin:0 !important; padding:0 !important;
    display:block; float:none; line-height:normal;
}
#gaenso-pay-mobile-cart .npay_storebtn_bx,
#gaenso-pay-mobile-cart .npay_button_box,
#gaenso-pay-mobile-cart .npay_button {
    width:100% !important; min-width:0 !important; height:52px !important;
    margin:0 !important; padding:0 !important; border:0 !important;
    box-sizing:border-box !important;
}
#gaenso-pay-mobile-cart .npay_text,
#gaenso-pay-mobile-cart .npay_event {display:none !important;}
#gaenso-pay-mobile-cart .npay_btn_list {
    width:100% !important; table-layout:fixed; border-collapse:collapse;
    margin:0 !important; padding:0 !important;
}
#gaenso-pay-mobile-cart .npay_btn_item {
    height:52px !important; padding:0 !important; border:0 !important;
}
#gaenso-pay-mobile-cart .npay_btn_item.btn_width {
    width:50px !important;
}
#gaenso-pay-mobile-cart .npay_btn_item:has(.npay_btn_talk) {
    display:none !important;
}
#gaenso-pay-mobile-cart .npay_btn_link.npay_btn_pay {
    display:block !important; width:100% !important; height:52px !important;
    box-sizing:border-box !important; border-radius:0 !important;
    background-size:80px auto !important; background-position:50% -5% !important;
}
#gaenso-pay-mobile-cart .npay_btn_link.npay_btn_zzim {
    display:block !important; width:44px !important; height:52px !important;
    box-sizing:border-box !important; margin-left:6px !important;
    border-radius:0 !important; background-size:40px auto !important;
    background-position:50% -4% !important;
}
/* 카카오 A1 이미지형 버튼: 기본 이미지의 로고 영역과 기존 링크를 사용 */
#gaenso-pay-mobile-cart #kakaopay_order_btn:has(img:is([src*="kakao_A1.png"], [src*="kakao_m_A1.png"])) {
    display:flex; justify-content:center; align-items:center;
    width:100% !important; height:52px; margin:0 !important; padding:0 !important;
    border:1px solid #f3e309; border-radius:0; background:#ffed00;
    overflow:hidden; box-sizing:border-box;
}
#gaenso-pay-mobile-cart #kakaopay_order_btn a:has(img:is([src*="kakao_A1.png"], [src*="kakao_m_A1.png"])) {
    display:block !important; position:relative; flex:0 0 90px;
    width:90px !important; height:36px !important; overflow:hidden;
    border:0; background:#ffed00; line-height:36px;
}
#gaenso-pay-mobile-cart #kakaopay_order_btn a:has(img:is([src*="kakao_A1.png"], [src*="kakao_m_A1.png"]))::after {
    content:"구매"; position:absolute; top:0; right:0;
    width:34px; height:36px; line-height:37px;
    font-size:15px; font-weight:600; letter-spacing:-0.2px;
    color:#1e1e1e; background:#ffed00; text-align:left;
}
#gaenso-pay-mobile-cart #kakaopay_order_btn img:is([src*="kakao_A1.png"], [src*="kakao_m_A1.png"]) {
    display:block; width:300px !important; max-width:none !important;
    height:76px !important; margin:0; padding:0;
    object-fit:cover; object-position:-147px -8px;
}

/* 실제 모바일 MA 버튼 구조: 로고와 텍스트를 수직 중앙 정렬 */
#gaenso-pay-mobile-cart .npay_btn_list {
    display:flex !important; gap:6px; list-style:none;
}
#gaenso-pay-mobile-cart .npay_btn_item {
    display:block !important; flex:1 1 0; min-width:0; width:auto !important;
    float:none !important; margin:0 !important;
}
#gaenso-pay-mobile-cart .npay_btn_item.btn_width {
    flex:0 0 44px; width:44px !important;
}
#gaenso-pay-mobile-cart .npay_btn_link.npay_btn_pay,
#gaenso-pay-mobile-cart .npay_btn_link.npay_btn_zzim {
    display:flex !important; align-items:center; justify-content:center;
    height:52px !important; line-height:normal !important;
    margin:0 !important; padding:0 !important;
    border-radius:0 !important; box-shadow:none !important;
    font-family:Arial, 'Malgun Gothic', sans-serif !important;
    font-size:14px !important; letter-spacing:0 !important;
}
#gaenso-pay-mobile-cart .npay_btn_link.npay_btn_pay {
    background-color:#00c851 !important; border:1px solid #00c851 !important;
    color:#000 !important; font-weight:700 !important;
}
#gaenso-pay-mobile-cart .npay_btn_link.npay_btn_zzim {
    width:44px !important; background-color:#fff !important;
    border:1px solid #ccc !important; color:#333 !important;
}
#gaenso-pay-mobile-cart .npay_btn_pay .npay_logo {
    position:static !important; display:block !important;
    flex:0 0 46px; width:46px !important; height:40px !important;
    margin:0 4px 0 0 !important; padding:0 !important;
    background-size:46px 80px !important; background-position:center top !important;
}
#gaenso-pay-mobile-cart .npay_btn_item:has(.npay_btn_talk) {
    display:none !important;
}

#gaenso-pay-mobile-cart #nhn_btn .npay_btn_pay::after {content:none !important; display:none !important;}
#gaenso-pay-mobile-cart #nhn_btn .npay_btn_link.btn_green {background-color:#00c851 !important; color:#000 !important;}
#gaenso-pay-mobile-cart #nhn_btn .npay_btn_pay .npay_logo {
 background-image:url("https://img.pay.naver.net/static/images/button/mobile/npay_sp_payment.png") !important;
 background-repeat:no-repeat !important; background-position:center top !important;
 background-size:46px 80px !important; width:46px !important; height:40px !important;
}

/* BASIC css end */

