/* BASIC css start */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap");

/* ===== 장바구니 - 젝시믹스 스타일 ===== */
#basket.xm-basket { padding: 0 20px 30px; font-family: "Pretendard", -apple-system, "Apple SD Gothic Neo", sans-serif; color: #000; letter-spacing: -0.02em; }
#basket.xm-basket * { box-sizing: border-box; font-family: inherit; }
#basket .h_title { padding: 22px 0 6px; margin: 0; border: 0; background: none; text-align: left; }
#basket .h_title h3 { margin: 0; font-size: 20px; font-weight: 700; color: #000; }
#basket .h_title h3 span { margin-left: 4px; font-family: "Montserrat", "Pretendard", sans-serif; font-weight: 600; }

/* 체크박스 (검정 네모) */
#basket input[type=checkbox] { -webkit-appearance: none !important; appearance: none !important; position: relative; display: inline-block !important; width: 22px !important; height: 22px !important; margin: 0 !important; padding: 0 !important; border: 1px solid #c4c4c4 !important; border-radius: 0 !important; background: #fff !important; vertical-align: middle; cursor: pointer; flex: 0 0 auto; opacity: 1 !important; }
#basket input[type=checkbox]:checked { border-color: #000 !important; background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11'%3E%3Cpath d='M1.5 5.5l4 4 7-8' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 14px 11px !important; }
#basket input[type=checkbox]:after, #basket input[type=checkbox]:before { display: none !important; }

/* 전체선택 / 선택삭제 */
#basket .xm-topbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid #e5e5e5; }
#basket .xm-allcheck { display: flex; align-items: center; gap: 10px; font-size: 16px; color: #000; cursor: pointer; }
#basket .xm-topbar-btns { display: flex; gap: 14px; }
#basket .xm-topbar-btns a { font-size: 14px; color: #999; text-decoration: none; }

/* 상품 목록 */
#basket .xm-list { margin: 0; padding: 0; list-style: none; }
#basket .xm-list > li.xm-item { padding: 20px 0 22px !important; border-bottom: 1px solid #e5e5e5; }
#basket .xm-item form { margin: 0; }
#basket .xm-item-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
#basket .xm-check .MS_input_checkbox { position: static !important; }
#basket .xm-del { position: relative; display: block; width: 24px; height: 24px; }
#basket .xm-del:before, #basket .xm-del:after { content: ""; position: absolute; top: 11px; left: 1px; width: 22px; height: 2px; background: #000; }
#basket .xm-del:before { transform: rotate(45deg); }
#basket .xm-del:after { transform: rotate(-45deg); }

#basket .xm-item-body { display: flex; gap: 16px; }
#basket .xm-thumb { flex: 0 0 31%; max-width: 130px; display: block; }
#basket .xm-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; background: #f5f5f5; }
#basket .xm-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#basket .xm-name { margin: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 1.45; word-break: keep-all; }
#basket .xm-name a { color: #000; text-decoration: none; }
#basket .xm-option { margin: 0 0 14px; font-size: 14px; color: #555; line-height: 1.5; word-break: keep-all; }
#basket .xm-option * { font-size: 14px !important; color: #555 !important; }
#basket .basket-option-dlist { margin: 0; padding: 0; list-style: none; }
#basket .basket-option-dlist li img { width: 30px; height: 30px; vertical-align: middle; }

/* 수량 / 옵션변경 */
#basket .xm-controls { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#basket .xm-qty { display: flex; align-items: stretch; height: 42px; border: 1px solid #d5d5d5; background: #fff; }
#basket .xm-qty-btn { position: relative; display: block; width: 40px; height: 40px; }
#basket .xm-qty-btn:before { content: ""; position: absolute; top: 19px; left: 12px; width: 16px; height: 2px; background: #000; }
#basket .xm-plus:after { content: ""; position: absolute; top: 12px; left: 19px; width: 2px; height: 16px; background: #000; }
#basket .xm-qty input.amount-input { width: 40px !important; height: 40px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; text-align: center; font-family: "Montserrat", "Pretendard", sans-serif; font-size: 16px !important; font-weight: 500; color: #000; box-shadow: none !important; -webkit-appearance: none; appearance: none; }
#basket .xm-sub-btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 16px; border: 1px solid #d5d5d5; background: #fff; font-size: 14px; color: #000; text-decoration: none; cursor: pointer; white-space: nowrap; }

/* 상품별 금액 */
#basket .xm-item-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 16px; }
#basket .xm-meta { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #999; }
#basket .xm-meta a { color: #999; text-decoration: underline; }
#basket .xm-price { margin: 0; font-family: "Montserrat", "Pretendard", sans-serif; font-size: 22px; font-weight: 700; color: #000; white-space: nowrap; }
#basket .xm-price small { margin-left: 1px; font-family: "Pretendard", sans-serif; font-size: 16px; font-weight: 600; }

/* 빈 장바구니 */
#basket .xm-empty { padding: 80px 0; text-align: center; border-bottom: 1px solid #e5e5e5; }
#basket .xm-empty p { margin: 0 0 20px; font-size: 16px; color: #555; }
#basket .xm-empty a { display: inline-flex; align-items: center; height: 46px; padding: 0 30px; background: #000; color: #fff; font-size: 15px; text-decoration: none; }

/* 결제 예정 금액 */
#basket .xm-summary { margin-top: 28px; padding: 22px 18px; background: #f7f7f7; }
#basket .xm-summary h4 { margin: 0 0 16px; font-size: 16px; font-weight: 700; }
#basket .xm-summary dl { display: flex; justify-content: space-between; margin: 0 0 10px; font-size: 15px; }
#basket .xm-summary dt { color: #555; font-weight: 400; }
#basket .xm-summary dd { margin: 0; font-family: "Montserrat", "Pretendard", sans-serif; font-weight: 500; }
#basket .xm-summary .xm-sale dd { color: #eb5e3e; }
#basket .xm-summary .xm-total { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #ddd; align-items: center; }
#basket .xm-summary .xm-total dt { color: #000; font-weight: 700; font-size: 16px; }
#basket .xm-summary .xm-total dd { font-size: 22px; font-weight: 700; }
#basket .xm-reserve { margin: 8px 0 0; text-align: right; font-size: 13px; color: #888; }

/* 안내문 */
#basket .xm-notice { padding: 18px 0 0; }
#basket .xm-notice ul { margin: 0; padding: 0; list-style: none; }
#basket .xm-notice li { position: relative; padding-left: 10px; margin-bottom: 6px; font-size: 13px; color: #777; line-height: 1.6; }
#basket .xm-notice li:before { content: "·"; position: absolute; left: 0; }
#basket .xm-notice strong { color: #000; }

/* 간편결제 */
.cart-ft2 { display: block; margin-top: 20px; text-align: center; }
#basket .naver-checkout { margin: 20px 0; }

/* 하단 고정 구매 버튼 */
#basket .xm-orderbar { position: sticky; bottom: 0; z-index: 90; display: flex !important; margin: 24px -20px 0; padding: 0 !important; background: #fff; }
#basket .xm-orderbar a { height: 62px !important; line-height: normal !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important; text-decoration: none; }
#basket .xm-orderbar .xm-buy { flex: 1; display: flex !important; align-items: center; justify-content: center; background: #eb5e3e !important; color: #fff !important; font-family: "Montserrat", "Pretendard", sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
#basket .xm-orderbar .xm-gift { flex: 0 0 82px; width: 82px !important; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: #000 !important; color: #fff !important; }
#basket .xm-orderbar .xm-gift .fa-gift { padding: 0; font-size: 22px; color: #fff; }
#basket .xm-orderbar .xm-gift span { font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 600; color: #fff; }

/* 무료배송 추천상품 (기존 유지) */
.cart-free-wrap { text-align: center; margin: 20px 0 10px; }
.cart-free-wrap .btn-list-open { display: inline-block; width: 100%; height: 44px; line-height: 44px; background: #fff; border: 1px solid #000; color: #000; font-weight: 600; font-size: 14px; text-align: center; }
.cart-free-wrap p { padding: 10px 0 12px; font-size: 14px; font-weight: 600; }
.cart-free-wrap p span { color: #eb5e3e; }
.cart-free-wrap .btn-more { display: inline-block; width: 100%; height: 40px; line-height: 40px; margin-top: 10px; border: 1px solid #383838; background: #fff; color: #383838; font-size: 13px; 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; margin-top: 16px; display: none; }
.cart-free-wrap .list-wrap ul { width: 100%; margin: 0; padding: 0; 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%; font-size: 12px; 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 { margin-bottom: 8px; }
.cart-free-wrap .list-wrap ul li dl dt img { display: block; width: 100%; height: auto; }
.cart-free-wrap .list-wrap ul li dl dd { margin: 0 0 2px; }
/* BASIC css end */

