/* BASIC css start */
.btn-wrap {padding:15px 10px;}
.btn-wrap div {width:49%; float:left;}
.btn-wrap div:last-child {float:right;}
.all-select {font-weight:bold; border-top: 1px solid #4a4a4a; border-bottom: 1px solid #dedede; background-color: #f1f1f1; padding:10px;}
.recentList li {padding:20px 0; border-bottom:1px solid #dedede;}
figure {width:100%; display: table; box-sizing: border-box; padding:0 10px;}
.basketLeft {width:130px; position:relative; float: left;}
.basketLeft a {padding:0 20px; display:block;}
.basketLeft .MS_input_txt {top:0; left:0; position:absolute;}
.basketRight {padding-left:130px;}
.basketRight p {color:#707070; margin-bottom:5px;}
.basketRight .pname {font-weight:bold; border-bottom:1px solid #dedede;  padding-bottom: 4px;}
.basketRight .pname .blue-delivery {background-color: #74a9e4; color:#fff; font-size:0.917em; padding: 1px 2px;}
.basketRight .pname .red-delivery {background-color: #d674e4; color:#fff; font-size:0.917em; padding: 1px 2px;}
/* 최근 본 상품 삭제 X 버튼 */
.basketRight .pname > a:last-child{
    position:absolute;
    top:0;
    right:0;

    display:block;
    width:24px;
    height:24px;

    font-size:0;
    line-height:0;
    text-align:center;
}

/* 기존 FontAwesome X 숨김 */
.basketRight .pname > a:last-child .fa{
    float:none;
    margin:0;

    width:24px;
    height:24px;
    margin-top:-4px;

    font-size:0 !important;
    line-height:24px;
}

/* 새로운 얇은 X */
.basketRight .pname > a:last-child .fa::before{
    content:"×";

    display:block;

    font-family:Arial, sans-serif;
    font-size:25px;
    line-height:22px;
    font-weight:300;

    color:#222;
}
.basketRight .pname > a:first-child{
    display:block;
    line-height:18px;
    white-space:normal;
    word-break:keep-all;
}

/* X 위치 기준 */
.basketRight .pname{
    position:relative;
    padding-right:30px;
    padding-bottom:4px;
    font-weight:bold;
    border-bottom:0;
}
.amount-input {width:30px; text-align : right;}
.basketRight .btn_Black {height:28px; line-height:28px; margin-top:5px;}
.basketRight .MS_select {width:100%;}

@media screen and (min-width:768px) {
 .all-select {border-bottom:0px none;}
 .recentList ul {width: 100%; display: table; table-layout: fixed; box-sizing: border-box; border-bottom: 1px solid #d9d9d9;}
 .recentList li {width:50%; border-bottom:0px none; display: inline-block; vertical-align: top; border-top: 1px solid #d9d9d9;}
 .recentList ul li:first-child {border: 0px none;}
 .recentList ul li:nth-child(2) {border: 0px none;} 
}

/* 최근 본 상품 페이지 */
#recent{
    padding-bottom:0 !important;
    margin-bottom:0 !important;
}

/* 최근 본 상품이 실제로 있을 때만 푸터 여백 제거 */
#recent:has(.recentList li){
    margin-bottom:-50px !important;
}

/* 최근 본 상품이 없을 때 */
#recent:has(.none-data){
    margin-bottom:0 !important;
}
/* BASIC css end */

