@charset "utf-8";

/* 스쿨샵 상세 - 시안 디자인 */
/* sticky 동작을 위해 body overflow-x 허용 (head.php overflow-x: hidden이 sticky 방해) */
body:has(.school_shop_detail) { overflow: visible !important; overflow-x: clip; }

:root {
	--school: #051C95;
	--school-dark: #000E5C;
	--school-light: #E8F0FE;
}

/* #sit 내 스쿨샵: 기본 스타일 리셋 및 상세 적용 */
#sit .school_shop_detail { box-sizing: border-box; }
#sit .school_shop_detail * { box-sizing: border-box; }

/* ===== 상단 구매 영역 ===== */
#sit .school_shop_detail,
.school_shop_detail { max-width: 1300px; margin: 0 auto; padding: 10px 0px; }
.detail_hero { display: flex; gap: 60px; align-items: flex-start; }
@media (max-width: 900px) { .detail_hero { flex-direction: column; gap: 32px; } .detail_img_zone { position: relative; top: auto; } }

/* 이미지 영역 - 스크롤 시 왼쪽에 고정 */
.detail_img_zone { width: 48%; position: sticky; top: 100px; align-self: flex-start; }
/* 메인 미리보기: 정사각 프레임 꽉 참, 비율 맞추느라 위·아래(또는 옆) 흰 띠 X → cover + 크롭 */
.main_img_wrap {
	position: relative;
	width: 100%;
	background: #f8f9fa;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 1;
}
.main_img_wrap a.popup_item_image {
	position: absolute;
	inset: 0;
	display: none;
	z-index: 1;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	overflow: hidden;
	line-height: 0;
	outline: none;
}
.main_img_wrap a.popup_item_image.visible {
	display: block !important;
}
.main_img_wrap a.popup_item_image img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	margin: 0;
	border: 0;
}
/* 공통 shop CSS 등이 인라인 width/max-width로 막히는 경우 */
#sit .school_shop_detail .main_img_wrap a.popup_item_image.visible img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center;
}
.main_img_wrap > img {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: none;
	box-sizing: border-box;
}
.main_img_wrap > img.visible {
	display: block !important;
}
.main_img_wrap .badge_new { position: absolute; top: 12px; left: 12px; z-index: 2; }
.color_thumbs { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.color_thumbs .thumb_item {
	position: relative;
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	overflow: hidden;
	border: 2px solid #eee;
	transition: border-color 0.2s;
	box-sizing: border-box;
	text-decoration: none;
}
.color_thumbs .thumb_item:hover { border-color: var(--school); }
.color_thumbs .thumb_item img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	margin: 0;
}
.btn_wish.active i.fa-heart-o:before { content: "\f004"; }
/* 정보 영역 - 전체 너비 사용 */
.detail_info_zone { flex: 1; min-width: 0; width: 100%; }
.school_shop_detail form { width: 100%; }
.badge_new { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--school); padding: 4px 10px; border-radius: 4px; }

/* 시안: 판매자 블록 - 굿러닝 공식 (녹색) */
.seller_block_official { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding: 16px 20px; background: #ecfdf5; border: 1px solid #10b981; border-radius: 12px; }
.seller_official_icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #10b981; color: #fff; font-size: 20px; font-weight: 700; border-radius: 10px; flex-shrink: 0; }
.seller_official_info { flex: 1; min-width: 0; }
.seller_official_name { display: block; font-size: 16px; font-weight: 700; color: #111; margin-bottom: 4px; }
.seller_official_desc { margin: 0; font-size: 13px; color: #666; }
.btn_official_sale { flex-shrink: 0; padding: 10px 20px; background: #d1fae5; color: #047857; font-size: 14px; font-weight: 600; border-radius: 8px; }

/* 시안: 판매자 블록 - 입점 판매자 (보라/스쿨 컬러) */
.seller_block_marketplace { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding: 16px 20px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.seller_store_icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--school); color: #fff; font-size: 18px; border-radius: 10px; flex-shrink: 0; }
.seller_marketplace_info { flex: 1; min-width: 0; }
.seller_marketplace_info .seller_name { display: block; font-size: 16px; font-weight: 700; color: #111; margin-bottom: 4px; }
.seller_marketplace_info .seller_meta { font-size: 14px; color: #666; }
.seller_marketplace_info .stars { color: #fbbf24; letter-spacing: 1px; }
.seller_marketplace_info .score { font-weight: 700; color: #111; }
.seller_marketplace_info .sep { color: #ccc; margin: 0 4px; }
.school_shop_detail .btn_seller_shop { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--school); text-decoration: none; flex-shrink: 0; }
.school_shop_detail .btn_seller_shop:hover { text-decoration: underline; }
/* 시안: 알약형 카테고리 태그 */
.detail_cate { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.detail_cate_tag { display: inline-block; padding: 6px 14px; background: #F7F8FC; color: #5B5C95; font-size: 14px; font-weight: 500; border-radius: 999px; }
/* 시안: 타이틀·설명 */
.detail_title { font-size: 24px; font-weight: 800; color: #111; margin: 0 0 8px; line-height: 1.4; letter-spacing: -0.5px; }
.detail_desc { font-size: 14px; color: #555; margin: 0 0 16px; line-height: 1.6; }

/* 시안: 별점 + 리뷰 + 구분선 + 공유버튼(찜·공유·링크) */
.detail_rating_row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.detail_rating { display: flex; align-items: center; gap: 6px; }
.detail_rating .stars { color: #fbbf24; font-size: 16px; letter-spacing: 1px; }
.detail_rating .score { font-weight: 700; font-size: 16px; color: #111; }
.detail_rating .review_count { font-size: 14px; color: #111; }
.detail_rating_sep { width: 1px; height: 14px; background: #e0e0e0; }
.detail_action_btns { display: flex; gap: 7px; position: relative; }
.btn_action { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #e5e7eb; background: #fff; color: #4b5563; font-size: 16px; border-radius: 8px; cursor: pointer; margin-left: -1px; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.btn_action:hover { border-color: var(--school); color: var(--school); }
.detail_action_btns .btn_action.btn_wish_aihub:hover { border-color: #ccc; color: #E53935; }
.detail_action_btns .btn_action.btn_wish_aihub.is-wished { color: #E53935; border-color: #FECACA; background: #FFF5F5; }
.detail_share_popup { position: absolute; top: 100%; right: 0; margin-top: 6px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 10; }
.detail_share_popup a { display: inline-block; margin: 0 4px; }

/* 시안: 가격 블록 - 회색 박스, 정기, 빨간 할인배지, 보라-파랑 가격 */
.detail_price_block { margin-bottom: 24px; padding: 20px 24px; background: #f5f5f7; border-radius: 12px; }
.detail_price_block .price_orig_line { font-size: 15px; color: #9ca3af; margin-bottom: 8px; text-decoration: line-through; }
.detail_price_block .price_main_line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.detail_price_block .sale_pct { display: inline-block; padding: 4px 10px; background: #dc2626; color: #fff; font-size: 16px; font-weight: 700; border-radius: 6px; }
.detail_price_block .price_now { font-size: 28px; font-weight: 800; color: var(--school); }
.detail_price_block .price_now .unit { font-size: 15px; font-weight: 500; color: #111; margin-left: 2px; }
.send_cost_sel { padding: 6px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; }

/* 전화/견적 문의 상품 — 컴팩트: 한 줄 요약 + 가로 CTA + 접는 안내 */
.detail_price_block--tel_inq {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	box-shadow: none;
	padding: 12px 14px;
	margin-bottom: 16px;
}
.detail_price_block--tel_inq .tel_inq_compact_top {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
.detail_price_block--tel_inq .tel_inq_badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--school-dark);
	background: #fff;
	border: 1px solid #c7d2fe;
	flex-shrink: 0;
}
.detail_price_block--tel_inq .tel_inq_one_liner {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: #64748b;
	flex: 1 1 auto;
	min-width: 0;
}
.detail_price_block--tel_inq .tel_inq_price_label {
	font-size: 22px;
	color: var(--school);
	margin: 0;
}
.detail_price_block--tel_inq .tel_inq_lead {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.55;
	color: #475569;
}
.detail_price_block--tel_inq .tel_inq_hints {
	margin: 0 0 10px;
	padding-left: 18px;
	font-size: 12px;
	line-height: 1.5;
	color: #64748b;
}
.detail_price_block--tel_inq .tel_inq_hints li + li { margin-top: 3px; }
.detail_price_block--tel_inq .tel_inq_actions--inline {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
	margin-bottom: 2px;
}
.detail_price_block--tel_inq .tel_inq_btn--compact {
	flex: 1 1 auto;
	min-width: 0;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
}
.detail_price_block--tel_inq .tel_inq_btn--compact .tel_inq_btn_main {
	flex: 0 1 auto;
	font-weight: 800;
}
/* 컴팩트 버튼: 보조 줄 없음 */
.detail_price_block--tel_inq .tel_inq_btn--compact .tel_inq_btn_sub {
	display: none;
}
.detail_price_block--tel_inq .tel_inq_fallback {
	margin: 0;
	padding: 10px 12px;
	font-size: 12px;
	line-height: 1.5;
	color: #64748b;
	background: #f1f5f9;
	border-radius: 8px;
	border: none;
}
.detail_price_block--tel_inq .tel_inq_btn {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	box-sizing: border-box;
}
.detail_price_block--tel_inq .tel_inq_btn i {
	font-size: 16px;
	opacity: 0.95;
	flex-shrink: 0;
}
.detail_price_block--tel_inq .tel_inq_btn .tel_inq_btn_main {
	min-width: 0;
}
.detail_price_block--tel_inq .tel_inq_btn .tel_inq_btn_sub {
	flex: 1 1 100%;
	font-size: 12px;
	font-weight: 600;
	opacity: 0.92;
	padding-left: calc(18px + 14px);
	margin-top: -4px;
}
.detail_price_block--tel_inq .tel_inq_btn--call {
	background: var(--school);
	color: #fff;
	border: 2px solid var(--school);
}
.detail_price_block--tel_inq .tel_inq_btn--call:hover {
	background: var(--school-dark);
	border-color: var(--school-dark);
	color: #fff;
}
.detail_price_block--tel_inq .tel_inq_btn--call .tel_inq_btn_sub { color: rgba(255, 255, 255, 0.92); padding-left: calc(18px + 14px); }
.detail_price_block--tel_inq .tel_inq_btn--mail {
	background: #fff;
	color: #111;
	border: 1px solid #e2e8f0;
}
.detail_price_block--tel_inq .tel_inq_btn--mail:hover {
	border-color: var(--school);
	color: var(--school);
}
.detail_price_block--tel_inq .tel_inq_btn--mail .tel_inq_btn_sub {
	color: #64748b;
	font-weight: 500;
	word-break: break-all;
}
.detail_price_block--tel_inq .tel_inq_btn--mail:hover .tel_inq_btn_sub { color: var(--school-dark); }
.detail_price_block--tel_inq .tel_inq_btn--ghost {
	background: #fff;
	color: var(--school-dark);
	border: 1px solid #c7d2fe;
}
.detail_price_block--tel_inq .tel_inq_btn--ghost:hover {
	border-color: var(--school);
	color: var(--school);
}
.detail_price_block--tel_inq .tel_inq_btn--ghost .tel_inq_btn_sub { color: #64748b; font-weight: 600; }
.detail_price_block--tel_inq .tel_inq_btn--ghost:hover .tel_inq_btn_sub { color: var(--school); }

/* 접는 영역: 기본 닫힘, 최신 몰 패턴 */
.detail_price_block--tel_inq .tel_inq_details {
	margin-top: 8px;
	border-top: 1px solid #e2e8f0;
	padding-top: 8px;
}
.detail_price_block--tel_inq .tel_inq_details_summary {
	cursor: pointer;
	list-style: none;
	font-size: 12px;
	font-weight: 600;
	color: var(--school);
	padding: 6px 0;
	user-select: none;
}
.detail_price_block--tel_inq .tel_inq_details_summary::-webkit-details-marker { display: none; }
.detail_price_block--tel_inq .tel_inq_details_summary::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 6px;
	vertical-align: middle;
	border: 4px solid transparent;
	border-top-color: var(--school);
	transition: transform 0.15s ease;
}
.detail_price_block--tel_inq .tel_inq_details[open] .tel_inq_details_summary::after {
	transform: rotate(180deg);
}
.detail_price_block--tel_inq .tel_inq_details_body {
	padding: 4px 0 2px;
}
.detail_price_block--tel_inq .tel_inq_mail_line {
	margin: 8px 0 0;
	font-size: 13px;
	color: #334155;
	word-break: break-all;
}
.detail_price_block--tel_inq .tel_inq_mail_lbl {
	font-weight: 600;
	color: #64748b;
	margin-right: 6px;
}
.detail_price_block--tel_inq .tel_inq_mail_line a {
	color: var(--school);
	font-weight: 600;
}

/* 하단 고정형 전화 버튼 (전화문의 상품) */
.school_shop_detail .btn_tel_inq_sticky {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px 14px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	background: #fff;
	border: 2px solid var(--school);
	color: var(--school);
	cursor: pointer;
	box-sizing: border-box;
	font-family: inherit;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.school_shop_detail .btn_tel_inq_sticky:hover {
	background: var(--school);
	color: #fff;
	border-color: var(--school);
}

/* 시안: 수량별 단체 할인 - 배지, 진한 파랑 헤더, 선택행 하이라이트 */
.bulk_discount_section { margin-bottom: 24px; }
.bulk_discount_section .section_label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #333; margin: 0 0 14px; }
.bulk_discount_section .section_badge { display: inline-block; width: 20px; height: 20px; background: rgba(5, 28, 149, 0.15); border-radius: 4px; }
.bulk_table { width: 100%; border-collapse: collapse; font-size: 14px; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.bulk_table th, .bulk_table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #e5e7eb; }
.bulk_table thead th { background: var(--school); color: #fff; font-weight: 600; }
.bulk_table tbody tr { background: #fff; color: #6b7280; }
.bulk_table tbody tr.selected { background: #eef2ff; color: var(--school-dark); font-weight: 600; }
.bulk_table tbody tr:last-child td { border-bottom: none; }
.bulk_table tr.best td { font-weight: 600; }
.bulk_table .best_tag { font-size: 11px; background: #f59e0b; color: #fff; padding: 2px 8px; border-radius: 4px; margin-left: 6px; }

/* ===== 선택/추가 옵션 (쇼핑몰 get_item_options · it_option / it_supply) ===== */
.school_shop_detail .school_opt_section.school_shop_option_pick,
.school_shop_detail .school_opt_section.school_shop_supply_pick,
#mod_option_frm .school_opt_section.school_shop_option_pick,
#mod_option_frm .school_opt_section.school_shop_supply_pick {
	margin-bottom: 12px;
	padding: 14px 16px 12px;
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 12px;
	box-shadow: 0 1px 6px rgba(5, 28, 149, 0.05);
}
.school_shop_detail .school_shop_supply_pick,
#mod_option_frm .school_shop_supply_pick {
	box-shadow: 0 1px 6px rgba(245, 158, 11, 0.06);
	border-color: #eef0f4;
}
.school_opt_section .school_opt_heading {
	font-size: 14px;
	font-weight: 800;
	color: #111;
	margin: 0 0 10px;
	letter-spacing: -0.02em;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--school);
	display: block;
}
.school_shop_detail .school_shop_supply_pick .school_opt_heading {
	border-bottom-color: #f59e0b;
	color: #1f2937;
}

/* 입력옵션 필드 — 선택옵션 카드 안에서 본품 옵션 셀렉트와 동일 톤 */
.school_shop_detail .school_opt_section.school_shop_option_pick .school_supply_written_input,
#mod_option_frm .school_opt_section.school_shop_option_pick .school_supply_written_input {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
	min-height: 44px;
	font-size: 15px !important;
	padding: 10px 12px !important;
	border-radius: 10px !important;
	border: 1px solid #eef2f7 !important;
	background: #f8fafc !important;
}
.school_shop_detail .school_opt_section.school_shop_option_pick .school_supply_written_input:focus,
#mod_option_frm .school_opt_section.school_shop_option_pick .school_supply_written_input:focus {
	border-color: var(--school) !important;
	outline: none;
	box-shadow: 0 0 0 2px rgba(5, 28, 149, 0.12);
}
.school_main_memo_req { color: #dc2626; font-weight: 700; }
.school_main_memo_opt { color: #64748b; font-weight: 600; }

.school_main_memo_err {
	display: none;
	margin: 6px 0 0;
	font-size: 12px;
	color: #dc2626;
	line-height: 1.4;
}
.school_main_memo_err.is-visible {
	display: block;
}
.school_supply_written_input.school_main_memo_input--invalid,
#mod_option_frm .school_supply_written_input.school_main_memo_input--invalid {
	border-color: #dc2626 !important;
	box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15) !important;
}
.school_opt_section .opt_section { margin: 0; }
.school_shop_detail .opt_section .get_item_options,
.school_shop_detail .opt_section .get_item_supply {
	margin-bottom: 10px;
	padding: 10px 12px;
	background: #f8fafc;
	border: 1px solid #eef2f7;
	border-radius: 10px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.school_shop_detail .opt_section .get_item_options:last-child,
.school_shop_detail .opt_section .get_item_supply:last-child { margin-bottom: 0; }
.school_shop_detail .opt_section .get_item_options:focus-within,
.school_shop_detail .opt_section .get_item_supply:focus-within {
	border-color: rgba(5, 28, 149, 0.3);
	box-shadow: 0 0 0 2px rgba(5, 28, 149, 0.1);
}
.school_shop_detail .opt_section .get_item_supply:focus-within {
	border-color: rgba(245, 158, 11, 0.4);
	box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1);
}
.school_shop_detail .opt_section .label-title,
.school_shop_detail .opt_section label[for^="it_option_"],
.school_shop_detail .opt_section label[for^="it_supply_"] {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #4b5563;
	margin: 0 0 6px;
	letter-spacing: -0.01em;
}
.school_shop_detail .opt_section .get_item_options > span,
.school_shop_detail .opt_section .get_item_supply > span {
	display: block;
	width: 100%;
}
.school_shop_detail .opt_section select.it_option,
.school_shop_detail .opt_section select.it_supply {
	width: 100%;
	max-width: none;
	height: 40px;
	padding: 0 36px 0 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #111;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.school_shop_detail .opt_section select.it_option:hover,
.school_shop_detail .opt_section select.it_supply:hover { border-color: #cbd5e1; }
.school_shop_detail .opt_section select.it_option:focus,
.school_shop_detail .opt_section select.it_supply:focus {
	outline: none;
	border-color: var(--school);
	box-shadow: 0 0 0 2px rgba(5, 28, 149, 0.12);
}
.school_shop_detail .opt_section select.it_supply:focus {
	border-color: #d97706;
	box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}
.school_shop_detail .opt_section select.it_option:disabled,
.school_shop_detail .opt_section select.it_supply:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	background-color: #f3f4f6;
}
.opt_color_row, .opt_size_row { margin-bottom: 20px; }
.opt_label { display: block; font-size: 14px; font-weight: 700; color: #333; margin-bottom: 10px; }
.opt_color_swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.color_swatch { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #e5e7eb; cursor: pointer; transition: border-color 0.2s, transform 0.2s; position: relative; }
.color_swatch:hover { border-color: var(--school); }
.color_swatch.selected { border-color: var(--school); border-width: 2px; }
.color_swatch.selected::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: #fff; text-shadow: 0 0 1px #000, 0 1px 3px rgba(0,0,0,0.6), 0 0 2px #fff; }
.school_shop_detail .opt_color_swatches .color_swatch.selected[style*="background:#fff"]::after,
.school_shop_detail .opt_color_swatches .color_swatch.selected[style*="background: #fff"]::after { color: #1f2937; text-shadow: 0 0 1px #fff, 0 1px 2px rgba(255,255,255,0.8); }
.opt_size_btns { display: flex; flex-wrap: wrap; gap: 8px; }
.size_btn { padding: 10px 18px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; font-weight: 600; color: #374151; cursor: pointer; transition: all 0.2s; }
.size_btn:hover { border-color: var(--school); color: var(--school); }
.size_btn.selected { background: var(--school); border-color: var(--school); color: #fff; }
.size_btn.disabled { color: #9ca3af; border-color: #e5e7eb; cursor: not-allowed; }

/* ===== 선택된 옵션 + 수량 + 총액 (2017_renewal + shop.override 구조) ===== */
.qty_tot_block {
	margin-bottom: 18px;
	padding: 16px 16px 18px;
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.qty_tot_block .sel_opt_section { width: 100%; }
.qty_tot_block .sel_opt_section ul#sit_opt_added {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
/* 옵션 상품: JS로 추가된 행 (opt_name / opt_count) — sit_opt_simple 은 단순 상품 전용 */
.qty_tot_block .sel_opt_section li.sit_opt_list:not(.sit_opt_simple),
.qty_tot_block .sel_opt_section li.sit_spl_list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	flex-wrap: nowrap;
}
.sit_opt_supply_ctx {
	font-size: 12px;
	font-weight: 500;
	color: #64748b;
	margin: 0 0 6px;
	line-height: 1.45;
}
.sit_opt_supply_ctx--multi { color: #94a3b8; }
.qty_tot_block .opt_count .sit_opt_prc .sit_opt_prc_free,
#mod_option_frm .opt_count .sit_opt_prc .sit_opt_prc_free {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
}
.qty_tot_block .sel_opt_section li.sit_opt_list:not(.sit_opt_simple) .opt_name,
.qty_tot_block .sel_opt_section li.sit_spl_list .opt_name {
	width: 100%;
	padding-bottom: 2px;
	border-bottom: 1px solid #f3f4f6;
	margin: 0;
}
.qty_tot_block .sit_opt_subj {
	font-size: 14px !important;
	font-weight: 600;
	color: #111827;
	line-height: 1.45;
	word-break: break-word;
}
.qty_tot_block .sel_opt_section li.sit_opt_list:not(.sit_opt_simple) .opt_count,
.qty_tot_block .sel_opt_section li.sit_spl_list .opt_count {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	width: 100%;
	justify-content: flex-start;
}
.qty_tot_block .opt_count .sit_qty_minus,
.qty_tot_block .opt_count .sit_qty_plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 8px;
	background: #f1f5f9;
	color: #475569;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	flex-shrink: 0;
}
.qty_tot_block .opt_count .sit_qty_minus:hover,
.qty_tot_block .opt_count .sit_qty_plus:hover {
	background: #e0e7ff;
	color: var(--school);
}
.qty_tot_block .opt_count .num_input {
	width: 44px !important;
	height: 36px;
	border: 1px solid #e5e7eb !important;
	border-radius: 8px;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	color: #111;
	background: #fff;
	box-sizing: border-box;
}
.qty_tot_block .opt_count .sit_opt_prc {
	font-size: 16px;
	font-weight: 800;
	color: var(--school);
	margin-left: auto;
	white-space: nowrap;
}
.qty_tot_block .opt_count .sit_opt_del {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	color: #9ca3af;
	cursor: pointer;
	transition: all 0.2s;
	flex-shrink: 0;
}
.qty_tot_block .opt_count .sit_opt_del:hover {
	border-color: #fecaca;
	background: #fef2f2;
	color: #dc2626;
}
/* 옵션 없는 상품: 수량 + 총액 한 줄 */
.qty_tot_block .sel_opt_section li.sit_opt_list.sit_opt_simple {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	flex-wrap: wrap;
}
.qty_col { display: flex; align-items: center; gap: 12px; }
.qty_col .opt_label { margin: 0; font-size: 14px; font-weight: 700; color: #475569; }
.qty_ctrl_wrap { display: inline-flex; align-items: center; border: 2px solid #e5e7eb; border-radius: 12px; background: #fff; overflow: hidden; }
.qty_ctrl_wrap .qty_btn { width: 40px; height: 40px; flex-shrink: 0; border: none; background: transparent; font-size: 18px; color: #64748b; cursor: pointer; line-height: 1; transition: all 0.2s; }
.qty_ctrl_wrap .qty_btn:hover { color: var(--school); background: #eef2ff; }
.qty_ctrl_wrap .num_input { width: 48px; border: none; text-align: center; font-size: 15px; font-weight: 700; background: transparent; color: #111; }
.tot_col { flex: 1; min-width: 140px; display: flex; flex-direction: column; align-items: flex-end; }
.qty_tot_block .tot_col_alone {
	width: 100%;
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px dashed #cbd5e1;
	align-items: stretch;
}
.tot_price_inner { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-height: 1.5em; }
#sit_tot_price, .tot_price_inner { font-size: 14px; color: #64748b; text-align: right; line-height: 1.35; }
#sit_tot_price .tot_label, .tot_price_inner .tot_label { display: block; font-size: 13px; font-weight: 700; color: #64748b; letter-spacing: 0.02em; margin: 0 0 2px 0; }
#sit_tot_price strong.tot_amount, #sit_tot_price strong, .tot_price_inner strong.tot_amount, .tot_price_inner strong {
	font-size: 28px;
	font-weight: 800;
	color: var(--school);
	white-space: nowrap;
	letter-spacing: -0.03em;
}
.tot_price_inner.tot_placeholder .tot_placeholder_txt { font-size: 14px; color: #94a3b8; font-weight: 500; }
.tot_save_line { margin-top: 6px; font-size: 15px; font-weight: 700; color: #16a34a !important; }

.soldout_msg { padding: 16px; background: #fef2f2; color: #dc2626; font-weight: 600; border-radius: 10px; margin: 20px 0; text-align: center; }

/* AI 디자인 행 / 학교 로고 (시안: 연두 배경 스트립) */
.ai_design_row { margin: 20px 0; padding: 16px 20px; background: #f8fafc; border-radius: 10px; }
.ai_design_row.school_logo_opt { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 12px; }
.ai_design_row .ai_check_wrap { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: #555; }
.ai_design_row .ai_check_wrap input { width: 18px; height: 18px; accent-color: var(--school); }

/* 시안: AI 디자인(풀폭) + 장바구니/견적서(나란히) */
.action_btns_primary { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.btn_ai_design_primary { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 24px; background: var(--school); color: #fff !important; border: 0; border-radius: 14px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background 0.2s; width: 100%; }
.btn_ai_design_primary:hover { background: var(--school-dark); color: #fff; }

/* 액션 버튼 - 장바구니/견적서/바로구매 동일 칸 맞춤 (base 스킨 #sit_ov_btn button 우선순위 덮어씀) */
.school_shop_detail #sit_ov_btn,
.school_shop_detail .action_btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; float: none !important; }
.school_shop_detail #sit_ov_btn:after { display: none !important; }
.school_shop_detail .action_btns .btn_alm { grid-column: 1 / -1; }
.school_shop_detail #sit_ov_btn button,
.school_shop_detail .action_btns .btn_cart,
.school_shop_detail .action_btns .btn_quote,
.school_shop_detail .action_btns .btn_buy { appearance: none; display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100% !important; min-width: 0; padding: 16px 12px !important; border-radius: 12px; font-size: 15px !important; font-weight: 700; cursor: pointer; transition: all 0.2s; text-decoration: none; box-sizing: border-box; font-family: inherit; float: none !important; margin-right: 0 !important; margin-bottom: 0 !important; height: auto !important; }
.school_shop_detail .action_btns .btn_cart,
.school_shop_detail .action_btns .btn_quote { background: #fff; border: 2px solid var(--school); color: var(--school); }
.school_shop_detail .action_btns .btn_cart:hover,
.school_shop_detail .action_btns .btn_quote:hover { background: #f0f4ff; }
.school_shop_detail .action_btns .btn_buy { background: var(--school); border: 2px solid var(--school); color: #fff; }
.school_shop_detail .action_btns .btn_buy:hover { background: var(--school-dark); border-color: var(--school-dark); }
.btn_alm { display: inline-block; padding: 16px 36px; background: #dc2626; color: #fff; border-radius: 12px; font-size: 16px; font-weight: 700; text-decoration: none; }
.btn_alm:hover { background: #b91c1c; color: #fff; }

/* 시안: 결제 옵션 (학교 장터 / 나라장터) */
.payment_options_row { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.btn_payment_opt { padding: 12px 24px; background: #fff; border: 2px solid #e5e7eb; border-radius: 10px; font-size: 14px; font-weight: 600; color: #444; text-decoration: none; transition: all 0.2s; }
.btn_payment_opt:hover { border-color: var(--school); color: var(--school); }

/* 퀵 정보 4칸 - 시안: 아이콘+제목 인라인, 설명 아래 */
.quick_info_row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; padding-top: 28px; border-top: 1px solid #eee; }
.quick_info { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.quick_info .ic { font-size: 24px; line-height: 1; flex-shrink: 0; }
.quick_info strong { font-size: 14px; color: #111; font-weight: 700; }
.quick_info p { margin: 4px 0 0; font-size: 13px; color: #666; line-height: 1.5; }
@media (max-width: 600px) { .quick_info_row { grid-template-columns: 1fr; } }

/* 학운위 증빙자료 / 교육부 가이드라인 버튼 2개 */
.doc_support_toggle { margin-top: 24px; }
.doc_support_btns { display: flex; gap: 12px; flex-wrap: wrap; }
.doc_btn_download, .doc_btn_guide { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.2s; width: 49%; }
.doc_btn_download { background: var(--school); color: #fff !important; border: 0; }
.doc_btn_download:hover { background: var(--school-dark); color: #fff; }
.doc_btn_guide { background: #fff; border: 2px solid var(--school); color: var(--school); }
.doc_btn_guide:hover { background: #f0f4ff; }
@media (max-width: 600px) { .doc_support_btns { flex-direction: column; } .doc_btn_download, .doc_btn_guide { width: 100%; } }

.doc_support_btns.doc_cert_btns .doc_btn_download,
.doc_support_btns.doc_cert_btns .doc_btn_guide { flex: 1 1 200px; min-width: 200px; width: auto; max-width: none; }
.ss_file_dropdown { margin-top: 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,.06); }
.ss_file_down_list { list-style: none; padding: 0; margin: 0; }
.ss_file_down_link { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; text-decoration: none; color: #333; font-size: 13px; border-bottom: 1px solid #f3f4f6; transition: background .2s, color .2s; }
.ss_file_down_link:hover { background: #f9fafb; color: var(--school); }
.ss_file_down_link:hover .fa-download { color: var(--school); }
.ss_file_down_link .fa-download { color: #ccc; transition: color .2s; }
.ss_file_down_name { display: inline-flex; align-items: center; gap: 8px; }
.ss_btn_all_down { display: block; padding: 12px; text-align: center; background: #f8fafc; color: var(--school); font-weight: 700; text-decoration: none; font-size: 13px; border-top: 1px solid #eee; transition: background .2s; }
.ss_btn_all_down:hover { background: #f0f4ff; }
.ss_file_dropdown_empty { padding: 15px; text-align: center; color: #888; font-size: 13px; }
.ss_cert_chev { font-size: 12px; margin-left: 4px; transition: transform .2s; display: inline-block; vertical-align: middle; }

/* 시안: 하단 고정 액션 바 */
.sticky_action_bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #e5e7eb; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 900; box-shadow: 0 -4px 20px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(100%); transition: all 0.3s; }
.sticky_action_bar.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sticky_info { display: flex; flex-direction: column; gap: 2px; }
.sticky_title { font-size: 14px; font-weight: 600; color: #111; }
.sticky_price { font-size: 18px; font-weight: 800; color: var(--school); }
.btn_sticky_ai { padding: 14px 28px; background: var(--school); color: #fff !important; border: 0; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn_sticky_ai:hover { background: var(--school-dark); color: #fff; }

/* AI 디자인 / 견적서 모달 */
body.modal_open { overflow: hidden; }
.modal_ai_design, .modal_quote { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal_overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.modal_content { position: relative; background: #fff; border-radius: 16px; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.modal_close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: none; background: #f0f0f0; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; color: #666; z-index: 2; }
.modal_close:hover { background: #e0e0e0; }
.modal_title { padding: 28px 24px 0; font-size: 20px; font-weight: 700; margin: 0 0 24px; }
.modal_body { padding: 0 24px 28px; }
.form_group { margin-bottom: 20px; }
.form_group label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 8px; }
.form_input, .form_textarea { width: 100%; padding: 12px 16px; border: 1px solid #e0e0e0; border-radius: 10px; font-size: 15px; box-sizing: border-box; }
.form_textarea { resize: vertical; min-height: 80px; }
.upload_zone { padding: 32px; border: 2px dashed #ddd; border-radius: 12px; text-align: center; cursor: pointer; background: #fafafa; }
.upload_zone .upload_icon { font-size: 36px; display: block; margin-bottom: 8px; }
.upload_zone p { margin: 0 0 4px; font-size: 14px; color: #555; }
.upload_zone small { font-size: 12px; color: #999; }
.style_options { display: flex; flex-wrap: wrap; gap: 8px; }
.style_btn { padding: 10px 18px; border: 1px solid #e0e0e0; border-radius: 8px; background: #fff; font-size: 14px; cursor: pointer; }
.style_btn:hover { border-color: var(--school); color: var(--school); }
.btn_ai_submit, .btn_quote_submit { width: 100%; padding: 16px; background: var(--school); color: #fff !important; border: 0; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 8px; }
.btn_ai_submit:hover, .btn_quote_submit:hover { background: var(--school-dark); }

/* ===== 하단 상세 탭 ===== */
#sit .detail_bottom,
.detail_bottom { max-width: 1300px; margin-left: auto; margin-right: auto; margin-top: 0px; padding: 60px 
	0px; }
.detail_tabs { display: flex; gap: 0; border-bottom: 2px solid #e5e7eb; margin-bottom: 40px; flex-wrap: wrap; }
.detail_tabs .tab_item { padding: 16px 28px; font-size: 15px; font-weight: 600; color: #888; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.detail_tabs .tab_item:hover { color: #333; }
.detail_tabs .tab_item.active { color: var(--school); border-bottom-color: var(--school); }

.detail_content .content_block { display: none; }
.detail_content .content_block:first-of-type { display: block; }

/* 상품 상세 - 특징 카드 (시안: 아이콘 위, 제목, 설명) */
.feature_cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 32px 0 40px; }
.feature_card { padding: 24px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.feature_card .fc_icon { display: block; font-size: 36px; line-height: 1; margin-bottom: 12px; }
.feature_card strong { display: block; font-size: 16px; color: #111; margin-bottom: 8px; }
.feature_card p { margin: 0; font-size: 14px; color: #666; line-height: 1.6; }
@media (max-width: 700px) { .feature_cards { grid-template-columns: 1fr; } }

/* 상품 설명 */
.detail_explan { line-height: 1.8; color: #444; margin-bottom: 32px; }
.detail_explan img { max-width: 100%; height: auto; }

/* 스펙 테이블 */
/* 상단 · 제조사/원산지 등 — 박스 없이 인라인 메타(요즘 리테일 흐름) */
.school_item_basic_meta {
	margin: 4px 0 18px;
	padding: 0;
	border: none;
	background: transparent;
}
.school_item_basic_meta .school_item_meta_inline {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 0;
	line-height: 1.55;
	font-size: 13px;
}
.school_item_basic_meta .school_item_meta_item {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
	max-width: 100%;
}
.school_item_basic_meta .school_item_meta_item:not(:last-child)::after {
	content: '';
	width: 3px;
	height: 3px;
	margin: 0 12px 0 4px;
	border-radius: 50%;
	background: #e5e7eb;
	align-self: center;
	flex-shrink: 0;
}
.school_item_basic_meta .school_item_meta_k {
	font-size: 12px;
	font-weight: 600;
	color: #9ca3af;
	letter-spacing: -0.02em;
	margin-right: 6px;
}
.school_item_basic_meta .school_item_meta_v {
	font-weight: 600;
	color: #374151;
	word-break: break-word;
}
@media (max-width: 540px) {
	.school_item_basic_meta .school_item_meta_inline {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.school_item_basic_meta .school_item_meta_item:not(:last-child)::after {
		display: none;
	}
	.school_item_basic_meta .school_item_meta_item {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 12px;
		padding: 10px 0;
		border-bottom: 1px solid #f3f4f6;
	}
	.school_item_basic_meta .school_item_meta_item:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}
	.school_item_basic_meta .school_item_meta_item .school_item_meta_k {
		flex-shrink: 0;
	}
	.school_item_basic_meta .school_item_meta_v {
		text-align: right;
	}
}

.spec_table_wrap { margin: 32px 0; }
.spec_table { width: 100%; border-collapse: collapse; font-size: 14px; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.spec_table th { padding: 14px 20px; background: #f8f9fa; color: #555; font-weight: 500; width: 140px; border-bottom: 1px solid #eee; }
.spec_table td { padding: 14px 20px; border-bottom: 1px solid #eee; color: #333; }
.spec_table tr:last-child th, .spec_table tr:last-child td { border-bottom: none; }

/* AI 제작 프로세스 - 시안 (basic 우선순위 덮어씀) */
#sit_inf .ai_process_section,
.detail_bottom .ai_process_section { margin: 48px 0; padding: 36px 0; border-top: 1px solid #eee; }
#sit_inf .ai_process_section .process_title,
.detail_bottom .ai_process_section .process_title { position: static !important; font-size: 20px !important; line-height: normal !important; display: flex !important; align-items: center; gap: 10px; font-weight: 700 !important; color: #111; margin: 0 0 28px !important; }
#sit_inf .ai_process_section .process_title .fa-cube,
.detail_bottom .ai_process_section .process_title .fa-cube { font-size: 20px; color: #b45309; }
#sit_inf .ai_process_section .process_steps,
.detail_bottom .ai_process_section .process_steps { display: flex !important; align-items: stretch; gap: 0; flex-wrap: nowrap; justify-content: flex-start; }
#sit_inf .ai_process_section .process_step,
.detail_bottom .ai_process_section .process_step { flex: 1 !important; min-width: 0; text-align: center; padding: 24px 16px !important; background: #f8f9fa !important; border-radius: 12px; border: 1px solid #e9ecef; position: relative; display: flex !important; flex-direction: column; align-items: center; }
#sit_inf .ai_process_section .process_step .step_num,
.detail_bottom .ai_process_section .process_step .step_num { display: flex !important; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0 auto 14px; background: var(--school-dark); color: #fff; font-size: 15px; font-weight: 700; border-radius: 50%; flex-shrink: 0; }
#sit_inf .ai_process_section .process_step .step_icon,
.detail_bottom .ai_process_section .process_step .step_icon { display: block; font-size: 38px; line-height: 1; margin-bottom: 12px; }
#sit_inf .ai_process_section .process_step strong,
.detail_bottom .ai_process_section .process_step strong { display: block; font-size: 15px; color: #111; margin-bottom: 8px; font-weight: 700; }
#sit_inf .ai_process_section .process_step p,
.detail_bottom .ai_process_section .process_step p { margin: 0; font-size: 13px; color: #6c757d; line-height: 1.5; }
#sit_inf .ai_process_section .step_arrow,
.detail_bottom .ai_process_section .step_arrow { align-self: center; font-size: 18px; color: #111; padding: 0 8px; flex-shrink: 0; }
@media (max-width: 900px) { #sit_inf .ai_process_section .process_step, .detail_bottom .ai_process_section .process_step { min-width: 120px; } }
@media (max-width: 800px) { #sit_inf .ai_process_section .process_steps, .detail_bottom .ai_process_section .process_steps { flex-direction: column; align-items: center; gap: 16px; } #sit_inf .ai_process_section .step_arrow, .detail_bottom .ai_process_section .step_arrow { transform: rotate(90deg); padding: 0; } }

/* 배송 테이블 */
.delivery_table_wrap { margin-top: 32px; }
.delivery_table { width: 100%; border-collapse: collapse; font-size: 14px; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.delivery_table th { padding: 14px 20px; background: #f8f9fa; color: #555; font-weight: 500; width: 120px; border-bottom: 1px solid #eee; }
.delivery_table td { padding: 14px 20px; border-bottom: 1px solid #eee; color: #333; }
.delivery_table tr:last-child th, .delivery_table tr:last-child td { border-bottom: none; }

.dex_content { line-height: 1.8; color: #444; }

/* 판매자 정보 (seller-card) - 시안 확장 */
.seller_card { padding: 32px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.seller_header { margin-bottom: 24px; }
.seller_name { font-size: 20px; font-weight: 700; color: #111; margin: 0 0 8px; }
.seller_meta { font-size: 14px; color: #666; }
/* 판매자 이메일: 라인 구분 + 아이콘 타일 (박스형 회색 배경 제거) */
.seller_contact_mail {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eef0f3;
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.seller_contact_icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--school-light);
	color: var(--school);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
}
.seller_contact_body {
	min-width: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.seller_contact_label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #6b7280;
}
.seller_contact_link {
	font-size: 15px;
	font-weight: 600;
	color: #111827;
	text-decoration: none;
	word-break: break-all;
	line-height: 1.45;
	transition: color 0.15s ease;
}
.seller_contact_mail .seller_contact_link:hover {
	color: var(--school);
}
.seller_contact_mail .seller_contact_link:focus-visible {
	outline: 2px solid var(--school);
	outline-offset: 3px;
	border-radius: 2px;
}
.seller_join { margin-right: 4px; }
.seller_stats { display: flex; gap: 32px; margin-bottom: 24px; padding: 20px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; flex-wrap: wrap; }
.seller_stat { text-align: center; }
.seller_stat .stat_val { display: block; font-size: 18px; font-weight: 700; color: var(--school); margin-bottom: 4px; }
.seller_stat .stat_label { font-size: 13px; color: #666; }
.seller_detail_table { margin-bottom: 24px; }
.seller_detail_table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.seller_detail_table th { padding: 12px 16px; background: #f8f9fa; color: #555; font-weight: 500; width: 140px; }
.seller_detail_table td { padding: 12px 16px; border-bottom: 1px solid #eee; color: #333; }
.seller_actions { display: flex; gap: 12px; margin-bottom: 24px; }
.btn_seller_visit, .btn_seller_contact { padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-block; }
.btn_seller_visit { background: var(--school); color: #fff !important; }
.btn_seller_visit:hover { background: var(--school-dark); }
.btn_seller_contact { background: #fff; border: 2px solid #e5e7eb; color: #444; }
.btn_seller_contact:hover { border-color: var(--school); color: var(--school); }
.seller_notice { font-size: 13px; color: #666; line-height: 1.6; padding-top: 20px; border-top: 1px solid #eee; }

/* 관련상품 (시안: 함께 많이 구매하는 상품) */
#sit_rel.related_section,
.related_section { max-width: 1300px; margin-left: auto; margin-right: auto; margin-top: 60px; padding: 40px 24px; }
.related_title { font-size: 20px; font-weight: 700; color: #111; margin: 0 0 24px; }

/* 시안: 판매자 입점 안내 배너 */
.seller_enroll_banner { max-width: 1200px; margin-left: auto; margin-right: auto; margin-top: 40px; margin-bottom: 60px; padding: 0 24px; }
.enroll_banner_inner { padding: 40px; background: linear-gradient(135deg, #f0f4ff 0%, #e8eef9 100%); border: 1px solid #d0daf0; border-radius: 16px; text-align: center; }
.enroll_title { font-size: 22px; font-weight: 700; color: #111; margin: 0 0 12px; }
.enroll_desc { font-size: 15px; color: #555; margin: 0 0 24px; }
.enroll_benefits { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 32px; }
.enroll_benefits li { font-size: 15px; color: #444; display: flex; align-items: center; gap: 8px; }
.benefit_icon { font-size: 20px; }
.btn_enroll { display: inline-block; padding: 16px 32px; background: var(--school); color: #fff !important; border-radius: 12px; font-size: 16px; font-weight: 700; text-decoration: none; transition: background 0.2s; }
.btn_enroll:hover { background: var(--school-dark); }
#sit_rel .sct_img img { max-height: 140px; object-fit: contain; }
#sit_rel .sct_li { padding: 12px; }
#sit_rel .sct_txt { font-size: 14px; line-height: 1.4; margin-top: 8px; }
#sit_rel .sct_cost { font-size: 15px; margin-top: 6px; font-weight: 700; }

/* 목록: 전화문의 상품 보조 안내 */
.sct_cost_tel_inq { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sct_cost_tel_inq .sct_tel_inq_caption {
	display: block;
	font-size: 11px;
	font-weight: 500;
	color: #64748b;
	line-height: 1.35;
}

/* 네비게이션 - 시안: 홈 > 스쿨샵 > 현재2차카테고리 */
#sct_location.breadcrumb_nav { display: flex; align-items: center; gap: 6px; padding: 12px 0; font-size: 13px; color: #888; flex-wrap: wrap; }
#sct_location .crumb_link { color: #888; text-decoration: none; }
#sct_location .crumb_link:hover { color: var(--school); }
#sct_location .crumb_divider { color: #ccc; font-size: 12px; user-select: none; }
#sct_location .crumb_current { color: #555; font-weight: 500; }
