/* 모바일 장바구니 상품 전용: 900px 이하에서만 적용 */
@media screen and (max-width:900px) {
/* 장바구니 상품 전용 스타일. 주문서의 .cart_item과 독립적으로 관리합니다. */
.c_order .cart_product_card { }
.c_order .cart_product_card .cart_item_header { display: flex; margin-bottom: 10px;}
.c_order .cart_product_card .cart_item_body {display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 2fr); gap:10px;}
.c_order .cart_product_card .cart_item_left,
.c_order .cart_product_card .cart_item_right {min-width:0; width:100%; box-sizing:border-box;}
.c_order .cart_product_card dt {display:flex; justify-content: flex-start; align-items: flex-start; flex-direction:row}
.c_order .cart_product_card dd {flex:1; display:flex; justify-content: stretch; align-items: stretch; flex-direction:column;}
.c_order .cart_product_card .thumb {width:100%; display:flex; justify-content: stretch; align-items: stretch; flex-direction:column;}
.c_order .cart_product_card .thumb img {width:100%;}
.c_order .cart_product_card .c_label {height:auto; margin-right:10px;}
.c_order .cart_product_card .c_label .tx {height:auto;}
.c_order .cart_product_card .top_name {display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 10px;}
.c_order .cart_product_card .top_ctrl {}
.c_order .cart_product_card .top_ctrl .c_btn {width: 70px; padding: 0;}
.c_order .cart_product_card .item_name {
	flex: 1;
	color:#333;
	font-size:14px;
	font-weight:500;
	line-height: 1.4;
	max-width:100%;
	display:inline-block;
	white-space: nowrap; /* 줄바꿈 방지 */
	overflow: hidden; /* 넘치는 텍스트 숨기기 */
	text-overflow: ellipsis; /* 말줄임표(...) 표시 */
}
.c_order .cart_product_card .option_list {margin-top:10px;}
.c_order .cart_product_card .option_list li {display:grid; grid-template-columns:minmax(0, 1fr) auto 30px; align-items:center; padding:10px 0; border-top:1px dashed #e5e5e5; gap:10px 30px; flex-wrap:wrap}
.c_order .cart_product_card .opt_ctrl {width: 100%; padding-top: 0; box-sizing: border-box; display: flex; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap:wrap; gap:5px;}
.c_order .cart_product_card .opt_ctrl div {display:flex; justify-content:flex-start; align-items: center; flex-direction:row; gap:5px; flex-wrap:wrap}
.c_order .cart_product_card .opt_ctrl .limit_day {color: var(--primary-color);}
.c_order .cart_product_card .opt_ctrl .c_tag {width:63px; padding:0px !important;}

.c_order .cart_product_card .opt_name {grid-column:1; grid-row:1; min-width:0; color:#999; line-height:1.35; box-sizing: border-box; font-weight:500; flex:1; display:flex; justify-content: flex-start; align-items: flex-start; flex-direction:column; flex-wrap:wrap; gap:5px}
.c_order .cart_product_card .opt_name strong {display:inline; word-wrap:break-word; word-break:keep-all; white-space:normal;}
.c_order .cart_product_card .opt_name .date {color: #0065e3; box-sizing: border-box; position: relative; padding-right:10px; background:transparent url('../images/c_img/ic_date.svg') left center no-repeat;}
.c_order .cart_product_card .opt_name .date {background-size:12px; padding-left:17px; white-space:nowrap}
.c_order .cart_product_card .opt_name .ess_tx {font-weight:500; display: none; margin-right:5px;}
.c_order .cart_product_card .opt_name .ess_tx.add {color:#48A1E5; display: inline;}
.c_order .cart_product_card .opt_price {grid-column:2; grid-row:1; margin-left: auto; display: flex; flex-direction: row; justify-content: flex-end; align-items: center; gap:10px}
.c_order .cart_product_card .opt_price .price {font-weight:600; font-size:13px; color:#000; text-align:right; white-space:nowrap}
.c_order .cart_product_card .option_list li > .btn_delete {grid-column:3; grid-row:1; justify-self:end; width:30px; height:30px; background:transparent url('../images/c_img/ic_delete.svg') center center no-repeat; background-size:13px; border:1px solid #e5e5e5; box-sizing:border-box;}

.c_order .cart_product_card .counter {text-align:center; background:#f5f5f5; display:flex; justify-content: center; align-items: center; flex-direction:row}
.c_order .cart_product_card .counter .counter_input {height:30px; text-align:center; width:30px; box-sizing:border-box; color:#000; font-weight:600; font-size:13px; cursor:default}
.c_order .cart_product_card .counter a {display:inline-block; width:34px; height:30px; box-sizing:border-box; display:flex; justify-content: center; align-items: center; flex-direction:column;}
.c_order .cart_product_card .counter .shape {background:#000; height:2px; width:10px; position:relative;}
.c_order .cart_product_card .counter .shape:before {content:""; background:#000; position:absolute; left:4px; top:-4px; width:2px; height:10px;}
.c_order .cart_product_card .counter .btn_plus {border-left:0;}
.c_order .cart_product_card .counter .btn_minus {border-right:0;}
.c_order .cart_product_card .counter .btn_minus .shape:before {display:none;}
.c_order .cart_product_card .counter .none {pointer-events:none; opacity: 0.3; filter: alpha(opacity=30); -ms-filter:alpha(opacity=30);}

.c_order .cart_product_card .option_total {display:flex; justify-content: flex-start; align-items: flex-end; flex-direction:column; border-top:1px dashed #e5e5e5; padding-top:10px; gap:8px}
.c_order .cart_product_card .option_total ul {display:flex; justify-content: flex-end; align-items: center; flex-direction:row; flex-wrap:wrap; gap:8px 10px;}
.c_order .cart_product_card .option_total li {display:flex; justify-content: flex-end; align-items: center; flex-direction:row; gap:5px; font-size:13px; line-height:1; color:#333; white-space:nowrap}
.c_order .cart_product_card .option_total .opt {color:#888;}
.c_order .cart_product_card .option_total .value { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; font-weight:600; gap:5px}
.c_order .cart_product_card .option_total .value strong {color:var(--primary-color); font-weight:500;}

.c_order .cart_product_card .coupon {display:flex; flex-direction: row; justify-content: flex-start; align-items: stretch; height:50px; margin-top:5px; pointer-events:none}
.c_order .cart_product_card .coupon span {border: 1px solid #333; padding:5px 10px; border-radius:5px; position:relative; color:#333; font-size:12px; font-weight:500;}
.c_order .cart_product_card .coupon span {display:flex; justify-content: center; align-items: center; flex-direction:column; box-sizing:border-box;}
.c_order .cart_product_card .coupon .name {width:150px;}
.c_order .cart_product_card .coupon .name strong {overflow:hidden; text-overflow:ellipsis; -webkit-line-clamp:2; -webkit-box-orient: vertical; display: -webkit-box;}
.c_order .cart_product_card .coupon .discount {margin-left:-1px;  width:100px;}
.c_order .cart_product_card .coupon .discount strong {font-size:13px; font-weight:700; color:#000; line-height:1;}
.c_order .cart_product_card .coupon .discount em {color:#999; font-size:11px; line-height:1; margin-top:3px;}
.c_order .cart_product_card .coupon .discount:before {content:""; width:1px; height:30px; border-left:1px dashed #333; position:absolute; left:-1px; top:5px; background:#fff;}


@media screen and (min-width:900px) {
    .c_order .cart_product_card .item_name:hover {text-decoration:underline;}
}

@media screen and (max-width:1300px) {
    .c_order .cart_product_card .thumb {width:100%;}
}

@media screen and (max-width:1100px) {
    .c_order .cart_product_card {gap:15px}
    .c_order .cart_product_card .thumb {width:100%;}
    .c_order .cart_product_card .coupon .name {flex:1; width:auto;}
    .c_order .cart_product_card .option_list li {grid-template-columns:minmax(0, 1fr) 30px; align-items:center; gap:10px;}
    .c_order .cart_product_card .option_list li > .btn_delete {grid-column:2;}
    .c_order .cart_product_card .opt_price {grid-column:1 / -1; grid-row:2;}
    .c_order .cart_product_card .opt_price {margin-left:0px; justify-content:flex-start; gap:5px}
    .c_order .cart_product_card .counter {margin-left:auto;}
}

@media screen and (max-width:900px) {
    .c_order .cart_product_card {gap:10px}
    .c_order .cart_product_card .opt_name {font-size:12px;}
    .c_order .cart_product_card .option_total li {font-size:12px;}
    .c_order .cart_product_card .thumb {width:100%;}
}

}
