/* ================================================================
   basic2_v2 웹반응형 오버라이드 (서브페이지 공통)
   - PC/모바일 공용 스킨 (site_m, board_m 미사용)
   - 대상: 장바구니, 주문/결제, 주문리스트, 주문상세, 공통 폼/버튼
   ================================================================ */

/* ── 전역 고정폭 해제 ───────────────────────────────────────── */
body { min-width: 0 !important; }

@media (max-width: 1320px) {
	.c_section { padding-left: 16px !important; padding-right: 16px !important; }
	.c_section .layout_fix,
	.sub_section .layout_fix {
		width: auto !important;
		max-width: 1260px;
		box-sizing: border-box;
	}
}

/* ================================================================
   주문/결제 페이지 - 메인 디자인과 통일 (모든 해상도 공통)
   메인 컬러: #245fc3 (--color-primary)
   ================================================================ */
.c_shop .c_group_tit {
	clear: both; /* 앞 요소 float에 밀려 틀어지는 현상 방지 */
	margin-top: 34px;
	padding: 0 0 10px;
	border-bottom: 0;
}
.c_shop .c_group_tit .tit {
	color: #111;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.02em;
	position: relative;
	padding-left: 12px;
}
.c_shop .c_group_tit .tit:before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 2px;
	width: 4px;
	border-radius: 2px;
	background: #245fc3;
}
.c_shop .c_group_tit.cal-section { border-top: 0; }
.c_shop .c_group_tit.cal-section .tit { color: #111; }
.c_shop .c_form {
	clear: both;
	background: #fff;
	border: 1px solid #e0e6f0;
	border-radius: 8px;
	padding: 6px 16px;
	box-sizing: border-box;
}
.c_shop .c_form.cal-form { border: 1px solid #e0e6f0; border-radius: 8px; }
.c_shop .c_form table tr { }
.c_shop .c_form table tr:last-child {  }
.c_shop .c_form table th { background: transparent; }
.c_shop .c_total_price { border: 2px solid #245fc3; border-radius: 8px; }
.c_shop .c_form.if_last_order { border: 0; padding: 0; background: transparent; }
.c_shop .c_form.if_last_order dt { border: 1px solid #e0e6f0; border-radius: 8px; background: #fff; padding: 6px 16px; }
.c_shop .c_form.if_last_order .total_order { border-radius: 8px; border: 1px solid #e0e6f0; }

/* 캘린더 품목 테이블 (PC) */
.c_shop .cal-item-table th,
.c_shop .cal-item-table td { border-color: #e0e6f0; }
.c_shop .cal-item-table thead th { background: #f0f5ff; color: #245fc3; }

/* ── 주문상품·주문리스트 표 가로 스크롤 ───────────────────── */
@media (max-width: 900px) {
	.c_order_list { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.c_order_list table { min-width: 720px; }

	.c_mypage_total { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ── 장바구니: PC 테이블 하나를 모바일 카드형으로 전환 ───────── */
@media (max-width: 768px) {
	#ID_cart_display .c_cart_list .cart_table {
		overflow: visible;
		border: 0;
	}
	#ID_cart_display .c_cart_list .cart_table table,
	#ID_cart_display .c_cart_list .cart_table tbody {
		display: block;
		width: 100%;
	}
	#ID_cart_display .c_cart_list .cart_table colgroup,
	#ID_cart_display .c_cart_list .cart_table thead {
		display: none;
	}
	#ID_cart_display .c_cart_list .cart_table tbody tr {
		position: relative;
		display: grid;
		grid-template-columns: 108px minmax(0, 1fr);
		gap: 0 14px;
		width: 100%;
		margin-bottom: 14px;
		padding: 14px;
		background: #fff;
		border: 1px solid #e0e6f0;
		border-radius: 10px;
		box-sizing: border-box;
		box-shadow: 0 2px 8px rgba(30, 55, 90, 0.05);
	}
	#ID_cart_display .c_cart_list .cart_table tbody td {
		display: block;
		width: auto;
		padding: 0;
		border: 0 !important;
		text-align: left;
		box-sizing: border-box;
	}
	/* 선택 체크박스 */
	#ID_cart_display .c_cart_list .cart_table tbody td:nth-child(1) {
		position: absolute;
		left: 20px;
		top: 20px;
		z-index: 2;
	}
	#ID_cart_display .c_cart_list .cart_table .design {
		padding: 0;
	}
	/* 상품 이미지 */
	#ID_cart_display .c_cart_list .cart_table tbody td:nth-child(2) {
		grid-column: 1;
		grid-row: 1 / span 3;
	}
	#ID_cart_display .c_cart_list .cart_table .thumb_box {
		width: 108px;
		min-height: 108px;
		margin: 0;
		border-radius: 6px;
		background-color: #fafafa;
	}
	/* 상품명/옵션 */
	#ID_cart_display .c_cart_list .cart_table tbody td:nth-child(3) {
		grid-column: 2;
	}
	#ID_cart_display .c_cart_list .order_item {
		padding: 0;
	}
	#ID_cart_display .c_cart_list .order_item .title {
		display: block;
		font-size: 15px;
		line-height: 1.45;
		letter-spacing: -0.4px;
	}
	#ID_cart_display .c_cart_list .option ul {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
		width: 100%;
		margin-top: 8px;
		padding-top: 8px;
		table-layout: auto;
	}
	#ID_cart_display .c_cart_list .option li {
		display: block;
		padding: 0;
	}
	#ID_cart_display .c_cart_list .option li:first-child {
		flex: 1 1 100%;
	}
	#ID_cart_display .c_cart_list .option .counter {
		width: 104px;
		padding-left: 0;
	}
	#ID_cart_display .c_cart_list .option .price {
		width: auto;
		padding: 0;
		margin-left: auto;
		text-align: right;
	}
	#ID_cart_display .c_cart_list .delete {
		width: 32px;
	}
	#ID_cart_display .c_cart_list .delete .btn_delete {
		width: 32px;
		height: 32px;
	}
	/* 수량 입력을 터치하기 좋은 크기로 확대 */
	#ID_cart_display .c_cart_list .c_counter_design {
		width: 104px;
		height: 32px;
		padding: 0 31px;
		box-sizing: border-box;
		border-radius: 3px;
	}
	#ID_cart_display .c_cart_list .c_counter_design .btn {
		width: 30px;
		height: 30px;
	}
	#ID_cart_display .c_cart_list .c_counter_design .counter_input {
		width: 42px;
		height: 30px;
		line-height: 30px;
		padding: 0;
		font-size: 14px;
		background: #fff;
	}
	/* 금액/적립금 */
	#ID_cart_display .c_cart_list .cart_table tbody td:nth-child(4),
	#ID_cart_display .c_cart_list .cart_table tbody td:nth-child(5) {
		grid-column: 2;
		margin-top: 9px;
		padding-top: 9px;
		border-top: 1px solid #eef1f6 !important;
	}
	#ID_cart_display .c_cart_list .cart_table tbody td:nth-child(4)::before {
		content: "상품금액";
		margin-right: 10px;
		color: #777;
		font-size: 12px;
		font-weight: 400;
	}
	#ID_cart_display .c_cart_list .cart_table tbody td:nth-child(5),
	#ID_cart_display .c_cart_list .cart_table thead th:nth-child(5),
	#ID_cart_display .c_cart_list .cart_table tbody td.col-point {
		display: none !important;
	}
	#ID_cart_display .c_cart_list .cart_table tbody td:nth-child(5)::before {
		content: none;
	}
	#ID_cart_display .c_cart_ctrl {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		overflow: visible;
		min-height: 36px;
		margin: 10px 0;
	}
	#ID_cart_display .c_cart_ctrl .left_box,
	#ID_cart_display .c_cart_ctrl .select_num {
		float: none;
		margin: 0;
		padding: 0;
	}
	#ID_cart_display .c_cart_ctrl .left_box {
		display: flex;
		align-items: center;
		gap: 6px;
		height: 36px;
	}
	#ID_cart_display .c_cart_ctrl .c_btn.h30 {
		display: inline-flex;
		float: none;
		align-items: center;
		justify-content: center;
		height: 32px;
		line-height: 30px;
		margin: 0;
		padding: 0 10px;
		vertical-align: middle;
	}
	#ID_cart_display .c_cart_ctrl .select_num {
		line-height: 32px;
		white-space: nowrap;
	}
}

/* ── 총 결제금액 바 (장바구니·주문서 상단) ──────────────────── */
@media (max-width: 768px) {
	.c_total_price { padding: 14px 10px; }
	.c_total_price .lineup {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 6px 4px;
	}
	.c_total_price .price,
	.c_total_price .price_num strong { float: none; }
	.c_total_price .ic_price { float: none; margin: 0 8px; }
	.c_total_price .price { font-size: 13px; }
	.c_total_price .price_num strong { font-size: 17px; }
}

/* ── 섹션 타이틀 모바일 정리 ────────────────────────────────── */
@media (max-width: 768px) {
	.c_group_tit { clear: both; overflow: hidden; }
	.c_group_tit .tit { float: none; display: block; }
	.c_group_tit .sub_txt {
		float: none;
		display: block;
		margin: 6px 0 0;
		padding-left: 13px;
	}
}

/* ── 입력 폼(주문자/배송지/캘린더 폼 등) 세로 스택 ──────────── */
@media (max-width: 768px) {
	.c_shop .c_form:not(.cal-form) {
		padding-left: 10px;
		padding-right: 10px;
	}
	.c_form table,
	.c_form thead,
	.c_form tbody,
	.c_form tr,
	.c_form th,
	.c_form td {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
	}
	.c_form colgroup,
	.c_form col { display: none; }
	.c_form tr { border-bottom: 0; }
	.c_form th {
		clear: both;
		text-align: left;
		padding: 14px 0 4px;
		background: none !important;
		border: 0;
	}
	.c_form td {
		clear: both;
		overflow: hidden; /* 내부 float 정리 */
		padding: 0 0 12px;
		border: 0;
	}
	.c_form .input_design,
	.c_form select,
	.c_form textarea { max-width: 100%; box-sizing: border-box; }
	/* 인라인 style width 지정 입력칸 → 전체폭 */
	.c_form td .input_design[style] { width: 100% !important; }
	/* float 입력칸 → 블록 스택 */
	.c_form .input_box { margin-left: 0; overflow: hidden; display: block; }
	.c_form .input_box .input_design {
		float: none;
		display: block;
		width: 100% !important;
		margin-left: 0;
		margin-bottom: 6px;
	}
	.c_form .input_box select { width: 100%; margin-left: 0 !important; }
	/* 주소검색·중복확인 등 작은 버튼이 있는 입력줄의 높이/상하여백 통일 */
	.c_form .input_box:has(.c_btn.h30) {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px;
		overflow: visible;
	}
	.c_form .input_box:has(.c_btn.h30) .input_design {
		flex: 1 1 160px;
		width: auto !important;
		margin: 0 !important;
	}
	.c_form .input_box .c_btn.h30 {
		display: inline-flex;
		float: none;
		align-items: center;
		justify-content: center;
		height: 30px;
		line-height: 28px;
		margin: 0;
		padding-top: 0;
		padding-bottom: 0;
		vertical-align: middle;
	}
	/* "실명을 입력해주세요" 등 옆 붙는 안내문구 → 아래 줄로 */
	.c_form .tip_txt.if_beside,
	.c_form .input_box .if_beside {
		float: none !important;
		display: block;
		clear: both;
		margin: 4px 0 0 !important;
	}
	/* 우편번호 등 짧은 입력칸 예외 */
	.c_form td .input_design[name="_post1"],
	.c_form td .input_design[name="_post2"],
	.c_form td .input_design[name="_cal_deliv_zip"],
	.c_form td .input_design[id="_cal_deliv_zip"] {
		width: 110px !important;
		display: inline-block;
		float: none;
	}
	/* 이메일 @ 아이콘 정리 */
	.c_form .input_box .mail_icon { display: inline-block; margin: 0 4px; }

	/* 주문자 이메일: 아이디 @ 도메인을 한 줄의 일반적인 이메일 입력 배열로 표시 */
	.c_shop .c_form .input_box.mail {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
		align-items: center;
		gap: 6px;
		overflow: visible;
	}
	.c_shop .c_form .input_box.mail .input_design,
	.c_shop .c_form .input_box.mail select {
		width: 100% !important;
		min-width: 0;
		margin: 0 !important;
		box-sizing: border-box;
	}
	.c_shop .c_form .input_box.mail .mail_icon {
		display: block;
		margin: 0;
		text-align: center;
		font-weight: 700;
		color: #666;
	}
	.c_shop .c_form .input_box.mail .js_email_suffix_input {
		grid-column: 1 / -1;
		margin-top: 6px !important;
	}
}

/* ── 결제정보 (좌: 결제수단 / 우: 금액 요약) 세로 스택 ─────── */
@media (max-width: 768px) {
	.c_form.if_last_order { display: block; }
	.c_form.if_last_order dl { display: block; }
	.c_form.if_last_order dt,
	.c_form.if_last_order .total_order {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
	}
	.c_form.if_last_order .total_order { margin-top: 12px; }
	.c_form.if_last_order .bank { min-width: 0; width: 100%; }
}

/* (주문 품목 표의 모바일 카드형 스타일은 shop.order.form.php 내 스타일 블록에서 처리) */

/* ── 버튼 영역 ──────────────────────────────────────────────── */
@media (max-width: 768px) {
	.c_btnbox ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
	}
	.c_btnbox ul li { float: none !important; margin: 0 !important; }
	.c_btnbox .c_btn { min-width: 130px; box-sizing: border-box; }
}

/* ── 페이지 타이틀 / 단계 표시 ──────────────────────────────── */
@media (max-width: 768px) {
	.c_page_tit .title { font-size: 2rem; }
	.c_page_tit .c_process { text-align: center; }
}

/* ── 비회원 약관 동의 영역 ──────────────────────────────────── */
@media (max-width: 768px) {
	.c_agree .agree_form {
		width: 100%;
		box-sizing: border-box;
		padding: 16px;
		margin-bottom: 16px;
	}
	.c_agree textarea { width: 100%; box-sizing: border-box; }

	/* 주문 유의사항 아이콘/좌측 영역 축소 */
	.c_user_guide {
		padding-left: 72px;
		background-position: 16px center;
		background-size: 42px auto;
	}
	.c_user_guide .guide_box {
		padding: 22px 18px;
	}
}

/* ── 이미지 오버플로 방지 ───────────────────────────────────── */
@media (max-width: 768px) {
	.c_section img,
	.sub_section img { max-width: 100%; height: auto; }
}

/* ================================================================
   상품 상세페이지 모바일 반응형
   ================================================================ */
.view_business_info {
	margin-top: 48px;
}
.view_business_info > .layout_fix {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}
.view_info_list h3 {
	margin: 0;
	padding: 0 0 12px;
	font-size: 19px;
	font-weight: 700;
	color: #222;
	border-bottom: 2px solid #245fc3;
}
.view_info_list dl {
	margin: 0;
	border-bottom: 1px solid #e5e8ee;
}
.view_info_list .info_row {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	align-items: stretch;
	border-top: 1px solid #e5e8ee;
}
.view_info_list .info_row:first-child {
	border-top: 0;
}
.view_info_list dt,
.view_info_list dd {
	margin: 0;
	padding: 13px 14px;
	box-sizing: border-box;
	line-height: 1.5;
}
.view_info_list dt {
	background: #f7f8fa;
	color: #555;
	font-weight: 600;
}
.view_info_list dd {
	color: #333;
	word-break: keep-all;
}
.view_order_guide_empty {
	min-height: 180px;
}

/* 상품 상세 관련상품: 메인/서브 캘린더 카드와 동일한 목록 */
.view_relative_v2 {
	margin-top: 64px;
	overflow: visible;
}
.view_relative_v2 .layout_fix {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
}
.view_relative_v2 .relative_top {
	margin-bottom: 28px;
	padding: 0 0 14px;
	border-bottom: 1px solid #e5e5e5;
}
.view_relative_v2 .relative_top .tt {
	float: none;
	font-family: "Pretendard", "Pretendard Variable", lato, "Noto Sans KR", "맑은 고딕", sans-serif;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.02em;
	color: #111;
}
.view_relative_v2 .view-relative-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.view_relative_v2 .view-relative-grid > li {
	width: calc((100% - 60px) / 4);
	flex: 0 0 calc((100% - 60px) / 4);
	clear: none !important;
}

@media (max-width: 768px) {
	.view_section {
		width: 100%;
		max-width: none;
		padding: 20px 16px 70px;
		box-sizing: border-box;
	}
	.view_section .layout_fix {
		width: 100%;
		padding: 0;
		box-sizing: border-box;
	}
	.view_top { margin-top: 0; }
	.view_top .ul,
	.view_top .li {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
	.view_top .view_photo {
		width: 100%;
	}
	.view_top .view_info {
		padding: 30px 0 0;
	}

	/* 대표 이미지/슬라이더 */
	.view_photo .photo_box,
	.view_photo .rolling_box,
	.view_photo .bx-wrapper,
	.view_photo .bx-viewport {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	.view_photo .thumb {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 1 / 1;
		border-radius: 8px;
		background-color: #fff;
	}
	.view_photo .thumb .real_img img,
	.view_photo .thumb .fake_img img {
		width: 100%;
		height: 100%;
		object-fit: contain;
		float: none;
	}
	.view_photo .rolling_thumb {
		margin-top: 12px;
		padding: 0 0 18px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.view_photo .rolling_thumb ul {
		display: inline-flex;
		margin: 0;
		gap: 8px;
		white-space: nowrap;
	}
	.view_photo .rolling_thumb li {
		float: none;
		flex: 0 0 64px;
		width: 64px;
		margin: 0;
		border-radius: 4px;
		overflow: hidden;
	}

	/* 상품명/가격/기본정보 */
	.view_name {
		padding: 0 0 18px;
		border-bottom: 2px solid #245fc3;
	}
	.view_name .title {
		font-size: 23px;
		line-height: 1.4;
		font-weight: 700;
	}
	.view_default dt {
		width: 105px;
		padding: 12px 8px;
	}
	.view_default dd {
		padding: 12px 8px;
	}
	.view_default .cal-spec-list li {
		display: flex;
		align-items: flex-start;
		gap: 8px;
	}

	/* 옵션/수량 */
	.view_option,
	.view_option dl,
	.view_option.result dl {
		width: 100%;
		box-sizing: border-box;
	}
	.view_option dt {
		width: 92px;
		padding: 12px 8px;
	}
	.view_option dd {
		padding: 12px 8px;
	}
	.view_option.result {
		padding: 6px 10px;
	}
	.view_option.result dd.price { width: 90px; }
	.view_option.result dd.counter { width: 80px; }

	/* 총액과 구매 버튼 */
	.view_total { padding: 15px 8px 0; }
	.view_btn {
		margin-top: 24px;
		padding-right: 62px;
	}
	.view_btn ul { margin-left: -6px; }
	.view_btn .btn {
		margin-left: 6px;
		font-size: 16px;
	}
	.view_btn .btn_wish { width: 56px; }

	/* 관련상품/탭/상세 콘텐츠 */
	.view_relative { margin-top: 42px; overflow: hidden; }
	.view_relative .rolling_box { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.view_relative_v2 {
		overflow: visible;
		padding: 0 4px;
	}
	.view_relative_v2 .relative_top {
		margin-bottom: 20px;
	}
	.view_relative_v2 .relative_top .tt {
		font-size: 1.4rem;
	}
	.view_relative_v2 .view-relative-grid {
		gap: 20px;
	}
	.view_relative_v2 .view-relative-grid > li {
		width: calc((100% - 20px) / 2);
		flex: 0 0 calc((100% - 20px) / 2);
	}
	.view_tab {
		margin-top: 48px;
		overflow: hidden;
	}
	.view_tab .layout_fix {
		min-width: 0;
		width: 100%;
	}
	.view_tab li {
		min-width: 0;
	}
	.view_business_info {
		margin-top: 36px;
	}
	.view_business_info > .layout_fix {
		display: block;
	}
	.view_info_list + .view_info_list {
		margin-top: 34px;
	}
	.view_info_list h3 {
		font-size: 18px;
	}
	.view_info_list .info_row {
		grid-template-columns: 125px minmax(0, 1fr);
	}
	.view_info_list dt,
	.view_info_list dd {
		padding: 11px 12px;
	}
	.view_detail,
	.view_notify,
	.view_eval,
	.view_qna {
		width: 100%;
		box-sizing: border-box;
		overflow: hidden;
	}
	.view_detail img,
	.view_notify img,
	.view_eval img,
	.view_qna img {
		max-width: 100% !important;
		height: auto !important;
	}
	/* 상품정보 제공고시/판매자정보 4열 표를 모바일 1열로 전환 */
	.view_notify table,
	.view_notify tbody,
	.view_notify tr,
	.view_notify th,
	.view_notify td {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
	}
	.view_notify colgroup,
	.view_notify col { display: none; }
	.view_notify th {
		padding: 10px 12px 4px;
		border-bottom: 0;
		text-align: left;
		background: #f6f8fc;
	}
	.view_notify td {
		padding: 6px 12px 12px;
		word-break: keep-all;
	}

	/* 상품후기/문의 작성·목록 테이블 */
	.c_view_form table,
	.c_view_form tbody,
	.c_view_form tr,
	.c_view_form th,
	.c_view_form td {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
	}
	.c_view_form colgroup,
	.c_view_form col { display: none; }
	.c_view_form th { padding: 10px 12px 4px; text-align: left; }
	.c_view_form td { padding: 6px 12px 12px; }
	.c_view_list .board_box td {
		padding: 20px 16px !important;
	}
	.c_view_form input,
	.c_view_form select,
	.c_view_form textarea {
		max-width: 100%;
		box-sizing: border-box;
	}

	.view_summery {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
	}
	.view_summery .score,
	.view_summery .sns { float: none; }
	.view_hash ul,
	.view_hash li {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
	.view_hash .title {
		width: auto;
		text-align: left;
		padding: 0 15px 10px;
	}
	.view_hash li + li {
		border-left: 0;
		border-top: 1px solid #eee;
	}
}

/* ================================================================
   주문완료 페이지
   ================================================================ */
.complete_list .complete_cart_scroll,
.complete_list .cart_table.complete_cart_scroll,
.c_form .complete_cart_scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.complete_list .complete_cart_scroll > table,
.c_form .complete_cart_scroll > table {
	min-width: 720px;
}
.complete_cal_imgs {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding: 8px 0;
}
.complete_cal_img {
	border: 1px solid #ddd;
	padding: 10px;
	text-align: center;
	box-sizing: border-box;
}
.complete_cal_img .tit {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	color: #666;
}
.complete_cal_img img {
	max-width: 220px;
	max-height: 180px;
	object-fit: contain;
}

@media (max-width: 768px) {
	.c_section.c_shop .complete_list .cart_table {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.c_section.c_shop .complete_list .cart_table > table {
		min-width: 720px;
		width: 720px;
	}
	.c_section.c_shop .c_form.cal-form .cal-item-table-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.c_section.c_shop .c_form.cal-form .cal-item-table {
		min-width: 640px;
	}
	.complete_cal_img {
		width: 100%;
	}
	.complete_cal_img img {
		max-width: 100%;
	}
}

/* ── 상품상세 호수(번호) 리본 배지 : [175] 타이틀 ── */
.view_name .cal-title-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.view_name .cal-title-text {
	flex: 1 1 auto;
	min-width: 0;
	word-break: keep-all;
}
.cal-no-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 68px;
	height: 46px;
	padding: 0 20px 0 16px;
	border-radius: 6px 2px 2px 6px;
	color: #fff;
	font-size: 28px;
	font-weight: 800;
	font-family: "Pretendard", "Noto Sans KR", "맑은 고딕", sans-serif;
	letter-spacing: -0.02em;
	line-height: 1;
	z-index: 1;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.14);
	vertical-align: middle;
}
/* 오른쪽 리본 접힘 */
.cal-no-badge::after {
	content: "";
	position: absolute;
	right: -1px;
	bottom: -7px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 7px 8px;
	z-index: -1;
}

/* 2번째 첨부 — 라임 그린 */
.cal-no-badge--green {
	background: linear-gradient(180deg, #9ad446 0%, #7eb82f 100%);
}
.cal-no-badge--green::after {
	border-color: transparent transparent transparent #5f8f1f;
}

/* 3번째 첨부 — 오렌지 */
.cal-no-badge--orange {
	background: linear-gradient(180deg, #f0a04b 0%, #e07a22 100%);
}
.cal-no-badge--orange::after {
	border-color: transparent transparent transparent #b85a12;
}

/* 4번째 첨부 — 퍼플 */
.cal-no-badge--purple {
	background: linear-gradient(180deg, #a86bc4 0%, #8e4eaf 100%);
}
.cal-no-badge--purple::after {
	border-color: transparent transparent transparent #6b3480;
}

@media (max-width: 768px) {
	.cal-no-badge {
		min-width: 56px;
		height: 38px;
		padding: 0 14px 0 12px;
		font-size: 22px;
	}
	.view_name .cal-title-row {
		gap: 8px;
	}
}

/* 상품리스트 할인율(%) 미표기 */
.product-card .discount-rate,
.product-grid .discount-rate {
	display: none !important;
}
.product-card .price-sale,
.product-grid .price-sale {
	color: #e02020 !important;
	font-weight: 800;
}

/* ========================================
 * 주문조회(member.login.form) 반응형
 * ======================================== */
@media (max-width: 900px) {
	.c_section.c_member {
		margin: 0 12px 24px !important;
		padding: 0 !important;
		box-sizing: border-box;
	}
	.c_section.c_member .layout_fix {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
		box-sizing: border-box;
	}
	.c_login,
	.c_login.if_none_member {
		width: 100% !important;
		margin: 0 !important;
	}
	.c_login .ul,
	.if_none_member .ul,
	.c_login.if_none_member .ul {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		table-layout: auto !important;
		border: none !important;
		border-top: none !important;
		box-sizing: border-box !important;
	}
	.c_login .li {
		display: block !important;
		width: 100% !important;
		float: none !important;
		border: none !important;
		box-sizing: border-box !important;
	}
	.c_login .login_form,
	.c_login.if_none_member .login_form {
		max-width: none !important;
		width: auto !important;
		margin: 20px 16px !important;
		border: none !important;
		box-sizing: border-box !important;
	}
	.c_login .form {
		padding-right: 0 !important;
		overflow: visible !important;
	}
	.c_login .form .input_design {
		width: 100% !important;
		height: 48px !important;
		padding: 12px 14px !important;
		font-size: 15px !important;
		box-sizing: border-box !important;
	}
	.c_login .form .btn_login,
	.c_login .form .btn_order,
	.c_login .form .btn_find {
		position: static !important;
		display: block !important;
		width: 100% !important;
		height: 52px !important;
		margin-top: 12px !important;
		font-size: 16px !important;
	}
	.c_login .guide {
		margin-top: 20px !important;
		padding-left: 4px !important;
	}
	.c_login .guide dd {
		line-height: 1.5 !important;
		word-break: keep-all !important;
	}
	.c_page_tit .title {
		font-size: 22px !important;
	}
}

