/*
 * (2026-12-01) 애플CSN 회원 화면 고급형 스킨
 *  - 기존 이미지(로고·메뉴·탭·제목·버튼)는 그대로 두고 여백·카드·그림자·글꼴만 다듬음
 *  - <body class="pm"> 인 화면(애플CSN 회원 사이트)에만 적용 → 되돌리려면 top_dev.php 의 pm 클래스/이 파일 연결만 빼면 됨
 */

/* 글꼴: 돋움 → 맑은 고딕 (윈도우 기본 글꼴, 더 또렷함). 크기는 그대로 12px */
body.pm, .pm td, .pm input, .pm select, .pm textarea { font-family: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", Dotum, "돋움", sans-serif; }
body.pm { color: #2b3428; -webkit-font-smoothing: antialiased; }

/* 상단: 초록 메뉴바를 둥글게 + 옅은 그림자 */
.pm div[style*="h_bg_apple.jpg"] { border-radius: 10px; box-shadow: 0 2px 8px rgba(77, 110, 20, .18); overflow: hidden; }
.pm a img[src*="/images/low.gif"] { border-radius: 8px; box-shadow: 0 1px 2px rgba(31, 42, 28, .10), 0 3px 10px rgba(31, 42, 28, .08); }

/* 페이지 제목 이미지(상온상품발주 등) */
.pm img[src*="/images/sub_title_"] { border-radius: 10px; box-shadow: 0 1px 2px rgba(31, 42, 28, .06), 0 6px 16px rgba(31, 42, 28, .06); }

/* 카드: 마감 안내(주황 상자)·상품검색(파란 상자) */
.pm .box_orange, .pm .box_blue {
	border-collapse: separate; border-radius: 14px; background: #ffffff;
	box-shadow: 0 1px 2px rgba(31, 42, 28, .06), 0 8px 24px rgba(31, 42, 28, .06);
	padding: 10px 16px;
}
.pm .box_orange { border: 1px solid #f1d9bc; background: #fffdf9; }
.pm .box_blue { border: 1px solid #dfe6ee; }
.pm .box_blue { padding: 6px 10px; }
.pm .box_blue table[bgcolor="#f6f6f6"] { background: #f6f8fa; border-radius: 10px; margin: 3px 0; }
.pm .box_blue td.col_red, .pm .box_blue td.col_blue { white-space: nowrap; padding-right: 4px; }
.pm .box_blue input[type="text"] { max-width: 150px; }
.pm .box_blue .col_red, .pm .box_blue .col_blue { font-weight: bold; }

/* 마감 남은 시간: 핵심 숫자를 크게 */
.pm #order_deadline_box { font-size: 15px; letter-spacing: -0.2px; line-height: 1.6; }
.pm #order_deadline_left { font-size: 22px; font-weight: bold; color: #c2410c !important; letter-spacing: -0.5px; }

/* 입력칸 */
.pm input[type="text"], .pm input[type="password"] {
	border: 1px solid #cfd8ca; border-radius: 6px; background: #ffffff; color: #2b3428;
	height: 24px; padding: 0 6px; box-sizing: border-box; vertical-align: middle;
	transition: border-color .15s, box-shadow .15s;
}
/* 선택칸은 폭이 좁게 고정된 곳(수량 40px 등)이 많아 안쪽 여백·높이는 건드리지 않음 */
.pm select { border: 1px solid #cfd8ca; border-radius: 4px; background-color: #ffffff; color: #2b3428; vertical-align: middle; }
.pm input[type="text"]:focus, .pm input[type="password"]:focus, .pm select:focus { outline: none; border-color: #7aa63a; box-shadow: 0 0 0 3px rgba(122, 166, 58, .18); }
.pm input[type="image"] { vertical-align: middle; }

/* 상품리스트 · 장바구니 카드 */
.pm table:has(> tbody > tr > td > img[src*="sub03_tit_0"]),
.pm table:has(> tbody > tr > td > .cartSearchHead) {
	border-collapse: separate; background: #ffffff; border: 1px solid #e3e8df; border-radius: 14px;
	box-shadow: 0 1px 2px rgba(31, 42, 28, .06), 0 8px 24px rgba(31, 42, 28, .06); overflow: hidden;
}
.pm img[src*="sub03_tit_0"] { display: block; }
.pm td[bgcolor="fef7fa"], .pm td[bgcolor="fefbf6"] { background: #fafbf8 !important; color: #5d6b57; font-weight: bold; white-space: nowrap; letter-spacing: -0.3px; }
.pm .bg_red, .pm .bg_orange { height: 2px; }
.pm .line_E8 { background-color: #eef1ec; }
.pm .box_pro { border: 1px solid #eef0ec; border-radius: 8px; }
.pm .box_pro img { border-radius: 6px; }
.pm .col_redB { letter-spacing: -0.2px; }

/* 왼쪽 분류 메뉴 */
.pm .left-list { border: 1px solid #dbe5cf !important; border-radius: 14px !important; background: #ffffff; box-shadow: 0 1px 2px rgba(31, 42, 28, .06), 0 8px 24px rgba(31, 42, 28, .06); }
.pm ul.bbsList li { border-bottom: 1px solid #f0f2ee !important; border-radius: 6px; }
.pm ul.bbsList li:hover { background: #f3f7ec; }
.pm ul.bbsList li a { color: #3d4a38 !important; }
.pm ul.bbsList li a:hover { color: #2d5a14 !important; }

/* 마이페이지 거래내역 표 */
.pm td.pad15t > table:first-child { border-collapse: separate; border: 1px solid #e3e8df; border-radius: 14px; overflow: hidden; background: #ffffff; box-shadow: 0 1px 2px rgba(31, 42, 28, .06), 0 8px 24px rgba(31, 42, 28, .05); }
.pm td.pad15t > table td[bgcolor="e8f2fa"] { background: #f4f7fb !important; color: #3a4e66; }
.pm td.pad15t > table .line_blue01 { background-color: #c9d8ea; }

/* 장바구니 최소주문금액 진행 막대 (good_one_list.php) */
.pm .pmMinBar { margin: 6px 0 2px; height: 6px; border-radius: 3px; background: #e7ebe4; overflow: hidden; }
.pm .pmMinBar > span { display: block; height: 6px; border-radius: 3px; background: #e07a1a; }
.pm .pmMinBar.pmDone > span { background: #6f9a2b; }
.pm .pmMinTxt { font-size: 11px; color: #5d6b57; text-align: right; }
.pm .pmMinTxt b { color: #c2620c; }
.pm .pmMinTxt.pmDone b { color: #4f7320; }
