@media all and (min-width:0px) and (max-width:768px){
	.cart_screen{width:100%;}
	.cart_screen_mid{/* position:relative; */margin:0px auto;width: 100%;padding-top:40px;/* padding-bottom: 104px; *//* height: 3000px; */}
	.cart_list{/* display:block; *//* margin:0px auto; */width: 100%;/* background-color:#fff; *//* margin-top:10px; */padding-bottom: 200px;float: left;}
	.cart_table_box{}

	.cart_table{width:100%;border-spacing: 0px;}
	.cart_table > tbody.cart_col_title {display:none;border-bottom:1px solid #ccc;}
	.cart_item{border-bottom:1px solid #ccc}
	.item{padding: 20px 8px 0px 0;/* width: 100%; */display: block;position: relative;}
	.item_anc {
		display: table-cell;
		/* padding-right: 20px; */
		/* position: static; */
		vertical-align: top;
		width: 1%;
	}
	.cart_deal_img{position:absolute;width:35px;margin-top:-8px;margin-left: -4px;}
	.item_photo{width:60px;height:60px;margin: 0px 10px;}
	.item_detail {
		display: table-cell;
		padding-bottom: 0px;
		vertical-align: top;
		white-space: normal;
		width: 99%;
	}
	.col.price,.col.qty,.col.subtotal{
		vertical-align: top;
		padding: 0px 8px 0px;
	}
	.col.price,.col.qty,.col.subtotal{text-align:right;width: 33%;box-sizing: border-box;display: block;float: left;white-space: nowrap;}
	.item_action{text-align:right;width: 100%;box-sizing: border-box;display: block;float: left;white-space: nowrap;}
	.col.qty{text-align: right;}


	.col.price[data-th]:before, .col.qty[data-th]:before, .col.subtotal[data-th]:before {
		content: attr(data-th);
		display: block;
		font-weight: 600;
		padding-bottom: 4px;
	}


	.cart_table{width:100%;border-collapse:collapse;border-top: 1px solid #ccc;}
	.cart_total{background-color:#fff;width:100%;float: right;padding-bottom: 20px;}
	.cart_total_box {
		width: 98%;
		margin: 0px auto;
		padding: 1%;
		margin-top: 10px;
		background-color: white;
		border: 1px solid #ccc;
		border-radius: 8px;
	}
	.cart_bottom_action {/* float: right; */width:100%;text-align: center;margin: 20px 0px;}
	.cart_bottom_action.btn_idg{clear:both;}
	.cart_total > table {width:100%;}
	.cart_total th{font-size:1.5em;text-align:left;}
	.cart_total td{font-size:1.3em;text-align:right;}
	.cart_total_ment {color:red;font-size:14px;margin:20px 0px;text-align:left;}
	.cart_total button{
    background: var(--dz-primary,#0A0A0A);
    border: 1px solid var(--dz-primary,#0A0A0A);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: 'ProximaNovaBold';
    font-weight: 600;
    margin: 0;
    padding: 6px 20px;
    font-size: 1.5rem;
    line-height: 1.6rem;
    box-sizing: border-box;
    vertical-align: middle;
    font-size: 14px;
    line-height: 20px;
    transition: all .3s;
	}

	.cart_total > div{
		box-sizing:border-box;
	}
	.text_qty {
		text-align:center;
		font-size:1em;
		height:20px;
		margin-top:5px;
	}
}

/* Cart quantity stepper */
.order_qty_control {
	display: inline-flex;
	align-items: center;
	gap: 0;
	vertical-align: middle;
	white-space: nowrap;
}

.order_qty_input_wrap {
	display: inline-flex;
	margin: 0;
}

.order_qty_input {
	box-sizing: border-box;
	width: 44px;
	height: 34px;
	margin: 0;
	border: 1px solid #d7dde5;
	border-left: 0;
	border-right: 0;
	border-radius: 0;
	background: #fff;
	color: #222;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.order_qty_input:focus {
	border-color: #f26b21;
	box-shadow: inset 0 0 0 1px #f26b21;
}

.order_qty_btn {
	box-sizing: border-box;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 1px solid #cfd6df;
	background: #f8fafc;
	color: #1f2933;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	touch-action: manipulation;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.order_qty_btn:hover,
.order_qty_btn:focus {
	border-color: #f26b21;
	background: #fff7f1;
	color: #e85d12;
	outline: none;
}

.order_qty_btn:active {
	background: #f26b21;
	border-color: #f26b21;
	color: #fff;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, .16);
}

.order_qty_minus {
	border-radius: 6px 0 0 6px;
}

.order_qty_plus {
	border-radius: 0 6px 6px 0;
}

@media all and (min-width:768px) {
	.cart_screen{width:100%;}
	.cart_screen_mid{position:relative;margin:0px auto;width: 1200px;padding-top:40px;/* padding-bottom: 104px; *//* height: 3000px; */}
	.cart_list{/* display:block; *//* margin:0px auto; */width:75%;/* background-color:#fff; *//* margin-top:10px; */padding-bottom: 200px;float: left;}
	.cart_table_box{padding-right: 30px;}

	.cart_table{width:100%;border-spacing: 0px;}
	.cart_table > tbody.cart_col_title  {border-bottom:1px solid #ccc;}
	.cart_item{border-bottom:1px solid #ccc}
	.item{padding: 20px 8px 0px 0;}
	.item_anc {
		display: table-cell;
		/* padding-right: 20px; */
		/* position: static; */
		vertical-align: top;
		width: 1%;
	}
	.cart_deal_img{position:absolute;width: 40px;margin-top: -8px;margin-left: -4px;}
	.item_photo{width:120px;height:120px;margin-right: 12px;}
	.item_detail {
		display: table-cell;
		padding-bottom: 35px;
		vertical-align: top;
		white-space: normal;
		width: 99%;
	}
	.col.price,.col.qty,.col.subtotal{
		vertical-align: top;
		padding: 20px 11px 10px;
	}
	.col.price,.col.subtotal,.item_action{text-align:right;}
	.col.qty{text-align: center;width: 95px;}

	.cart_table{width:100%;border-collapse:collapse;}

	.cart_total{background-color:#fff;width:25%;float: right;/* padding: 14px 17px; */}

	.cart_bottom_action {/* float: right; */width:100%;text-align: right;margin: 20px 0px;}

	.cart_total > table {width:100%;}
	.cart_total th{font-size:1.5em;text-align:left;}
	.cart_total td{font-size:1.3em;text-align:right;}
	.cart_total_ment {color:red;font-size:14px;margin:20px 0px;text-align:left;}
	.cart_total button{
    background: var(--dz-primary,#0A0A0A);
    border: 1px solid var(--dz-primary,#0A0A0A);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: 'ProximaNovaBold';
    font-weight: 600;
    margin: 0;
    padding: 6px 20px;
    font-size: 1.5rem;
    line-height: 1.6rem;
    box-sizing: border-box;
    vertical-align: middle;
    font-size: 14px;
    line-height: 20px;
    transition: all .3s;
	}

	.cart_total > div{
		box-sizing:border-box;
	}
	.cart_total_box {
		padding:16px;
		position: absolute;
		width: 25%;
		/*height: 200px;*/
		/* right: 25%; */
		/* top: 103px; */
		margin-top: 200px;
		background-color: white;
		border: 1px solid #ccc;
		border-radius: 12px;
	}
	.text_qty {
		text-align:center;
		font-size:1em;
		height:30px;
		margin:5px;
	}
}

.cart_table .order_qty_input {
	width: 44px;
	height: 34px;
	margin: 0;
}

@media all and (min-width:0px) and (max-width:768px) {
	.cart_table .order_qty_control {
		justify-content: flex-end;
		width: 100%;
	}

	.cart_table .order_qty_btn {
		width: 38px;
		height: 38px;
		font-size: 20px;
	}

	.cart_table .order_qty_input {
		width: 48px;
		height: 38px;
		font-size: 16px;
		margin: 0;
	}
}

@media all and (min-width:768px) {
	.cart_table .col.qty .order_qty_control {
		margin: 0 auto;
		display: inline-flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}

	.cart_table .col.qty .order_qty_input_wrap {
		display: inline-flex;
		margin: 0;
	}
}

/* =====================================================================
   장바구니 리뉴얼 테마 (흰 배경 + 투데이 네이비 var(--dz-primary,#0A0A0A))
   - 장바구니 화면(.cart_screen) 안에서만 적용 → 다른 페이지 .btn_red/.btn_idg 영향 없음
   ===================================================================== */
.cart_screen {
	color: #222;
}
.cart_screen_mid > h3 {
	margin: 0 0 24px;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #161a22;
}

/* 목록 테이블 */
.cart_screen .cart_table {
	border-top: 2px solid var(--dz-primary,#0A0A0A);
}
.cart_screen .cart_table > tbody.cart_col_title {
	border-bottom: 1px solid #e5e7eb;
}
.cart_screen .cart_table > tbody.cart_col_title th {
	padding: 14px 10px;
	font-size: 13px;
	font-weight: 700;
	color: #6b7280;
	background: #f8f9fb;
}
.cart_screen .cart_item {
	border-bottom: 1px solid #e5e7eb;
}
.cart_screen .cart_item td[colspan] {
	color: #9ca3af;
	font-size: 14px;
}
.cart_screen .item_photo {
	box-sizing: border-box;
	overflow: hidden;
	padding: 6px;
	border-radius: 8px;
	background: #f3f4f6;
}
.cart_screen .item_photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.cart_screen .item_detail a {
	color: #222;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}
.cart_screen .item_detail a:hover {
	color: var(--dz-primary,#0A0A0A);
}
.cart_screen .col.price,
.cart_screen .col.subtotal {
	font-size: 15px;
	font-weight: 700;
	color: #161a22;
}
.cart_screen .col.subtotal {
	color: var(--dz-primary,#0A0A0A);
}

/* 수량 스테퍼 : 주황 → 네이비 */
.cart_screen .order_qty_input {
	border-color: #d7dde5;
}
.cart_screen .order_qty_input:focus {
	border-color: var(--dz-primary,#0A0A0A);
	box-shadow: inset 0 0 0 1px var(--dz-primary,#0A0A0A);
}
.cart_screen .order_qty_btn {
	background: #fff;
	color: #374151;
}
.cart_screen .order_qty_btn:hover,
.cart_screen .order_qty_btn:focus {
	border-color: var(--dz-primary,#0A0A0A);
	background: #eef2f8;
	color: var(--dz-primary,#0A0A0A);
}
.cart_screen .order_qty_btn:active {
	border-color: var(--dz-primary,#0A0A0A);
	background: var(--dz-primary,#0A0A0A);
	color: #fff;
}

/* 찜 · 삭제 아이콘 */
.cart_screen .item_action {
	padding: 4px 0 14px;
}
.cart_screen .item_action button {
	width: 36px;
	height: 36px;
	border-radius: 6px;
	background: transparent !important;
	cursor: pointer;
	transition: background-color .15s ease;
}
.cart_screen .item_action button i.material-icons {
	font-size: 20px;
	color: #9ca3af !important;
	background: transparent !important;
	transition: color .15s ease;
}
.cart_screen .item_action button:hover {
	background: #f3f4f6 !important;
}
.cart_screen .item_action button:hover i.material-icons {
	color: var(--dz-primary,#0A0A0A) !important;
}
.cart_screen .item_action button + button:hover i.material-icons {
	color: #e53935 !important;
}

/* 하단 버튼 : 비우기(보조) · 변경내용 적용(보조-네이비) */
.cart_screen div.cart_bottom_action {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: wrap;
}
.cart_screen .cart_bottom_action .btn_red,
.cart_screen .cart_bottom_action .btn_idg {
	box-sizing: border-box;
	height: 44px;
	margin: 0;
	padding: 0 20px !important;
	border-radius: 6px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 42px;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.cart_screen .cart_bottom_action .btn_red {
	border: 1px solid #d1d5db;
	background: #fff;
	color: #4b5563;
}
.cart_screen .cart_bottom_action .btn_red:hover {
	border-color: #e53935;
	background: #fff;
	color: #e53935;
}
.cart_screen .cart_bottom_action .btn_idg {
	border: 1px solid var(--dz-primary,#0A0A0A);
	background: #fff;
	color: var(--dz-primary,#0A0A0A);
}
.cart_screen .cart_bottom_action .btn_idg:hover {
	background: var(--dz-primary,#0A0A0A);
	color: #fff;
}

/* 우측 합계 박스 */
.cart_screen .cart_total_box {
	box-sizing: border-box;
	padding: 22px 22px 20px;
	border: 1px solid #e5e7eb;
	border-top: 3px solid var(--dz-primary,#0A0A0A);
	border-radius: 12px;
	background: #f8f9fb;
}
.cart_screen .cart_total_box table {
	width: 100%;
	border-collapse: collapse;
}
.cart_screen .cart_total th,
.cart_screen .cart_total td {
	padding: 6px 0;
	font-size: 14px;
	font-weight: 600;
	color: #4b5563;
}
.cart_screen .cart_total td {
	font-weight: 700;
	color: #161a22;
}
/* 첫 줄 : 전체 합계 제목 */
.cart_screen .cart_total tr:first-child th {
	padding: 0 0 12px;
	font-size: 17px;
	font-weight: 800;
	color: #161a22;
}
/* 주문총액 강조 */
.cart_screen .cart_total tr:nth-child(4) th,
.cart_screen .cart_total tr:nth-child(4) td {
	padding-top: 14px;
	border-top: 1px solid #e3e6eb;
	font-size: 16px;
	font-weight: 800;
	color: #161a22;
}
.cart_screen .cart_total tr:nth-child(4) td {
	font-size: 20px;
	color: var(--dz-primary,#0A0A0A);
}
.cart_screen .cart_total_ment {
	margin: 14px 0 16px;
	padding: 10px 12px;
	border-radius: 6px;
	background: #fff;
	color: #c62828;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.6;
	word-break: keep-all;
}
/* 주문하기 */
.cart_screen .cart_total button {
	width: 100%;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: var(--dz-primary,#0A0A0A);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	line-height: 52px;
	letter-spacing: 0.02em;
}
.cart_screen .cart_total button:hover {
	background: #16304f;
}

@media all and (max-width: 768px) {
	.cart_screen_mid > h3 {
		padding: 0 4px;
		font-size: 20px;
	}
	.cart_screen div.cart_bottom_action {
		justify-content: center;
	}
	.cart_screen .cart_bottom_action .btn_red,
	.cart_screen .cart_bottom_action .btn_idg {
		flex: 1 1 0;
	}
}

/* 장바구니 상품명 영역 (cart_form.php 마크업 정리분) */
.cart_screen .item_detail > a {
	display: block;
}
.cart_screen .item_detail .cart_tags,
.cart_screen .item_detail .cart_item_name,
.cart_screen .item_detail .cart_notes {
	float: none;
	width: auto;
}
.cart_screen .cart_tags {
	justify-content: flex-start;
	margin-bottom: 6px;
}
.cart_screen .cart_item_name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	color: #222;
}
.cart_screen .cart_notes {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin-top: 6px;
}
.cart_note {
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--dz-primary,#0A0A0A);
}
.cart_note.is_red {
	color: #e53935;
}
.cart_price_old {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: #9ca3af;
	text-decoration: line-through;
}
.cart_price_sale {
	display: block;
	color: #e53935;
}
.cart_soldout {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 6px;
	background: #fdecec;
	color: #d32f2f;
	font-size: 13px;
	font-weight: 700;
}
.cart_icon_btn {
	display: inline-grid;
	place-items: center;
	padding: 0;
	border: 0;
}
.cart_warning {
	margin: 10px 0;
	padding: 12px 14px;
	border: 1px solid #f3c4c4;
	border-left: 3px solid #e53935;
	border-radius: 6px;
	background: #fff7f7;
	color: #c62828;
	font-size: 13.5px;
	line-height: 1.6;
}
