/* BASIC css start */
/* ========================================================
   [장바구니 - 화이트 미니멀 + 커스텀 2단 결제버튼]
======================================================== */
#basket {
    background: #ffffff;
    font-family: 'Pretendard', 'Noto Sans KR', "맑은 고딕", sans-serif;
    color: #111111;
    padding-bottom: 40px;
}

/* 1. 상단 타이틀 */
#basket .h_title {
    padding: 18px 20px 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #ffffff;
}

#basket .h_title h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111111;
    letter-spacing: -0.3px;
}

#basket .h_title h3 span {
    font-weight: 500;
    color: #111111;
}

/* 2. 전체선택 & 선택삭제/전체삭제 컨트롤 바 */
#basket .basketControlBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f2f2f2;
    background: #ffffff;
}

#basket .basketControlBar .allSelectLabel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #111111;
    cursor: pointer;
}

#basket .basketControlBar input[type="checkbox"],
#basket .basketCheck input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #111111;
    margin: 0;
    cursor: pointer;
}

#basket .basketControlBar .deleteLinks {
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

#basket .basketControlBar .deleteLinks a {
    font-size: 12px;
    color: #999999;
    text-decoration: none;
    letter-spacing: -0.3px;
}

/* 3. 상품 카드 리스트 */
#basket .basketItemList {
    padding: 0 20px;
}

#basket .basketItemList > li {
    padding: 22px 0;
    border-bottom: 1px solid #f0f0f0;
}

#basket .basketCard {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

#basket .basketCheck {
    width: 24px;
    flex-shrink: 0;
    padding-top: 2px;
}

#basket .basketThumb {
    width: 82px;
    flex-shrink: 0;
    margin-right: 14px;
}

#basket .basketThumb a {
    display: block;
    padding: 0;
    margin: 0;
}

#basket .basketThumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

#basket .basketInfo {
    flex: 1;
    min-width: 0;
    padding: 0;
}

#basket .pnameRow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

#basket .pnameRow .pnameTxt {
    font-size: 13px;
    font-weight: 500;
    color: #111111;
    line-height: 1.4;
    word-break: keep-all;
}

#basket .pnameRow .btnDelItem {
    flex-shrink: 0;
    padding: 2px;
    margin-top: -1px;
    display: inline-flex;
}

/* 옵션 회색 뱃지 */
#basket .optionBadge {
    display: inline-block;
    background: #f5f5f5;
    color: #666666;
    font-size: 11px;
    line-height: 1.4;
    padding: 4px 8px;
    border-radius: 2px;
    margin-bottom: 10px;
    word-break: keep-all;
}

#basket .itemPrice {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 12px;
}

#basket .itemSubMeta {
    font-size: 11px;
    color: #888888;
    margin-bottom: 4px;
}

/* 옵션변경 버튼 + [- 수량 +] 박스 */
#basket .itemControlRow {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

#basket .btnOptionEdit,
#basket .btnOptionEdit.btn_Black {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 28px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    border: 1px solid #dddddd !important;
    background: #ffffff !important;
    color: #333333 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

#basket .btnOptionEdit span,
#basket .btnOptionEdit.btn_Black span {
    color: #333333 !important;
    font-size: 11px !important;
    line-height: 1 !important;
}

#basket .qtyBox {
    display: inline-flex;
    align-items: center;
    height: 28px;
    border: 1px solid #dddddd;
    background: #ffffff;
    box-sizing: border-box;
}

#basket .qtyBox .qtyBtn {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666666;
    text-decoration: none;
}

#basket .qtyBox .amount-input,
#basket .qtyBox input[type="text"] {
    width: 30px !important;
    height: 26px !important;
    border: 0 !important;
    text-align: center !important;
    font-size: 12px !important;
    color: #111111 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

#basket .btnQtyApply,
#basket .btnQtyApply.btn_Black {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 28px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    border: 1px solid #222222 !important;
    background: #222222 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

#basket .btnQtyApply span,
#basket .btnQtyApply.btn_Black span {
    color: #ffffff !important;
    font-size: 11px !important;
    line-height: 1 !important;
}

/* 4. 영수증 스타일 결제 금액 요약 */
#basket .receiptSummary {
    padding: 24px 20px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

#basket .receiptRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
}

#basket .receiptRow .label {
    color: #333333;
}

#basket .receiptRow .val {
    font-weight: 500;
    color: #111111;
}

#basket .receiptRow .val.discount {
    color: #e52e2e;
}

#basket .receiptRow .val.delivery {
    color: #888888;
}

#basket .receiptTotalRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f4f4f4;
}

#basket .receiptTotalRow .totalLabel {
    font-size: 15px;
    font-weight: 600;
    color: #111111;
}

#basket .receiptTotalRow .totalVal {
    font-size: 17px;
    font-weight: 700;
    color: #111111;
}

#basket .reserveNote {
    text-align: right;
    font-size: 11px;
    color: #999999;
    margin-top: 6px;
}

/* 5. 무료배송 안내 및 추천상품 보기 (주문하기 버튼과 좌우 폭 100% 일치) */
.cart-free-wrap {
    text-align: center;
    padding: 22px 20px 8px 20px;
    box-sizing: border-box;
}

.cart-free-wrap p {
    padding: 0 0 12px 0;
    font-size: 13px;
    font-weight: 500;
    color: #222222;
}

.cart-free-wrap p span {
    color: #e52e2e;
    font-weight: 600;
}

.cart-free-wrap .btn-list-open,
.cart-free-wrap .btn-type-02 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 44px !important;
    line-height: 1 !important;
    margin: 0 !important;
    background: #f7f7f7 !important;
    border: 1px solid #e5e5e5 !important;
    color: #222222 !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

.cart-free-wrap .btn-more {
    display: inline-block;
    width: 100%;
    height: 34px;
    line-height: 34px;
    margin-top: 10px;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #333333;
    font-size: 12px;
    text-align: center;
    box-sizing: border-box;
}

.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;
    margin-top: 16px;
    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: 175px;
    font-size: 11px;
    list-style: none;
}

.cart-free-wrap .list-wrap ul li dl {
    margin: 6px;
    text-align: left;
}

.cart-free-wrap .list-wrap ul li dl dt {
    height: 100px;
    margin-bottom: 8px;
}

.cart-free-wrap .list-wrap ul li dl dt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 6. 결제 버튼 영역: 1줄 주문하기 / 2줄 네이버페이 + 페이코 커스텀 */
#basket .checkoutActionWrap {
    padding: 12px 20px 20px 20px;
    box-sizing: border-box;
}

#basket .order-btn {
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
    width: 100% !important;
}

/* 1줄: 주문하기 버튼 */
#basket .order-btn .btnOrderMain {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    background-color: #111111 !important;
    border: 1px solid #111111 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: -0.3px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

/* 2줄: 네이버페이(좌) + 페이코(우) 반반 배치 */
#basket .customEasyPayRow {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
}

#basket .customPayBox {
    position: relative !important;
    flex: 1 !important;
    width: 50% !important;
    height: 48px !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

/* 네이버페이 커스텀 스타일 (초록 테두리 + 초록 글씨) */
#basket .customPayBox.naverCustom {
    border: 1px solid #03c75a !important;
}
#basket .customPayBox.naverCustom .customPayLabel {
    color: #03c75a !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: -0.3px !important;
}

/* 페이코 커스텀 스타일 (레드 테두리 + 레드 글씨) */
#basket .customPayBox.paycoCustom {
    border: 1px solid #fa2828 !important;
}
#basket .customPayBox.paycoCustom .customPayLabel {
    color: #fa2828 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: -0.3px !important;
}

/* 실제 공식 위젯을 투명하게 확대해 버튼 영역 전체에 덮기 */
#basket .hiddenRealWidget {
    position: absolute !important;
    top: -10px !important;
    left: -90px !important;
    width: 320px !important;
    height: 80px !important;
    opacity: 0.001 !important;
    z-index: 10 !important;
}

#basket .hiddenRealWidget * {
    cursor: pointer !important;
}

#basket .appCheckoutWrap {
    margin-top: 10px;
    text-align: center;
}

/* 장바구니 비었을 때 */
#basket .none-data {
    padding: 80px 20px;
    text-align: center;
}

#basket .none-data p {
    font-size: 13px;
    color: #888888;
    margin-bottom: 20px;
}

#basket .none-data .btnGoShop {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid #222222;
    color: #111111;
    font-size: 12px;
}
/* BASIC css end */

