/* 구 사이트 CSS(/css/*) 위에 얹는 새 틀 보정. 구 템플릿의 인라인 스타일을 옮긴 것 */
body { margin: 0; background: #fff url('/img/common/body_bg.gif') no-repeat center top; color: #000; } /* 구 layout.css 의 전체 폭 상단 띠(초록·회색 메뉴 바) */
.site-wrap { position: relative; width: 944px; margin: 0 auto; text-align: left; }
.site-body { width: 944px; background: url('/img/common/bg_top.gif') no-repeat center 45px; }
.site-footer { margin-top: 30px; }

/* 퀵메뉴: 구 사이트 이름 그대로 — #quick 은 오른쪽, #right_quick 은 왼쪽에 뜬다 */
#quick { position: absolute; left: 960px; top: 208px; z-index: 99; }
#quick .today-view { width: 67px; margin-top: 10px; text-align: center; list-style: none; }
#quick .today-view p { margin: 0 0 5px; }
#quick .today-view-all { font-size: 11px; }
#quick .today-view-item { display: block; margin: 0 auto 6px; font-size: 11px; color: #333; text-decoration: none; }
#quick .today-view-item img { display: block; margin: 0 auto 2px; border: 1px solid #ddd; object-fit: contain; background: #fff; }
#right_quick { position: absolute; left: -105px; top: 208px; z-index: 99; text-align: center; }
#right_quick img { display: block; }

#contents08 { text-align: left; }

/* 카테고리 메뉴 펼침(site/_category_menu) — 버튼 아래 카드 하나: 왼쪽 중분류, 오른쪽 하위 바둑판. 버튼 배치는 구 CSS(ul#category li) 그대로 */
ul#category.cm { position: relative; }
ul#category li.cm-item { position: relative; }
.cm-panel { display: none; position: absolute; top: 100%; left: 0; z-index: 1000; box-sizing: border-box; min-width: 300px; padding: 14px 16px 16px;
	background: #fff; border: 1px solid #e6e8ec; border-radius: 12px; box-shadow: 0 14px 36px rgba(17, 24, 39, .14);
	font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; font-size: 13px; line-height: 1.4; text-align: left; }
.cm-panel.to-left { left: auto; right: 0; }
.cm-panel.has-sub { width: 600px; min-height: 260px; }
/* 키보드(Tab)로도 열림 — "포커스가 안에 있음(:focus-within) + 마우스 클릭으로 생긴 포커스는 아님".
   :focus-within 만 쓰면 Ctrl+클릭 뒤 카드가 열린 채 남고, :has(:focus-visible) 만 쓰면 Tab 이 카드 안 링크로 넘어가는 순간 닫혀 포커스가 사라진다 */
li.cm-item:hover > .cm-panel, li.cm-item:focus-within:not(:has(:focus:not(:focus-visible))) > .cm-panel { display: block; }
.cm-row:focus-within:not(:has(:focus:not(:focus-visible))) > .cm-sub { display: block; }
.cm-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 10px; padding: 0 4px 10px; border-bottom: 1px solid #f0f1f4; }
.cm-head strong { font-size: 15px; color: #111827; }
.cm-head a { color: #6b7280; font-size: 12px; text-decoration: none; }
.cm-head a:hover { color: #e8541e; }
.cm-list { width: 200px; margin: 0; padding: 0; list-style: none; }
ul#category .cm-panel li { float: none; margin: 0; }
.cm-link { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 8px; color: #374151; text-decoration: none; }
.cm-count { min-width: 20px; padding: 1px 6px; border-radius: 10px; background: #f3f4f6; color: #6b7280; font-size: 11px; text-align: center; }
.cm-row:hover > .cm-link, .cm-row:focus-within:not(:has(:focus:not(:focus-visible))) > .cm-link, .cm-list:not(:hover):not(:has(:focus-visible)) > .cm-row:first-child > .cm-link { background: #fff4ef; color: #e8541e; font-weight: bold; }
.cm-row:hover > .cm-link .cm-count, .cm-row:focus-within:not(:has(:focus:not(:focus-visible))) > .cm-link .cm-count, .cm-list:not(:hover):not(:has(:focus-visible)) > .cm-row:first-child > .cm-link .cm-count { background: #e8541e; color: #fff; }
/* 하위 칸은 카드 오른쪽 영역에 겹쳐 두고, 마우스를 올린 행(없으면 첫 행)의 것만 보임.
   행(폭 200, 카드 안쪽 16~216px)에 틈 없이 붙여야(left 216) 오른쪽으로 옮기는 동안 행의 hover 가 풀리지 않는다 — 간격·구분선은 안쪽 여백과 배경으로 */
.cm-sub { display: none; position: absolute; top: 56px; left: 216px; right: 16px; bottom: 16px; padding-left: 32px; overflow-y: auto;
	background: linear-gradient(#f0f1f4, #f0f1f4) 16px 0 / 1px 100% no-repeat, #fff; }
.cm-row:hover > .cm-sub, .cm-list:not(:hover):not(:has(:focus-visible)) > .cm-row:first-child > .cm-sub { display: block; }
.cm-sub-title { display: inline-block; margin: 2px 0 10px; color: #111827; font-weight: bold; text-decoration: none; }
.cm-sub-title:hover { color: #e8541e; }
.cm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }
.cm-grid a, .cm-chips a { display: block; padding: 6px 8px; border-radius: 6px; color: #4b5563; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-grid a:hover { background: #f6f7f9; color: #e8541e; }
.cm-empty { margin: 4px 0; color: #9ca3af; }
.cm-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 480px; }
.cm-chips a { padding: 8px 10px; border: 1px solid #eceef2; text-align: center; }
.cm-chips a:hover { border-color: #f6c3ae; background: #fff4ef; color: #e8541e; }

/* 헤더 검색칸 — 구 fn_typing 이 폭을 370px 로 늘렸음(구 layout.css 의 240px 규칙보다 앞서야 해서 같은 선택자 + id). 타이핑 안내 문구는 구처럼 진한 글자 */
div#header div.middle_box div.search_box ul.search li.box_type input#search_word { width: 370px; }
#search_word::placeholder { color: #333; opacity: 1; }

/* 처리 결과 안내(구 사이트 alert 창 대신) */
.site-flash { margin: 10px 0; padding: 10px 14px; border: 1px solid #ccc; font-size: 12px; }
.site-flash-error { border-color: #e0a0a0; background: #fdf0f0; color: #a00; }
.site-flash-notice { border-color: #e6cf8a; background: #fffbea; color: #7a5a00; }
.site-flash-success { border-color: #9fd0a6; background: #f0faf1; color: #1d6b2a; }

/* 카테고리 상품 목록(category/show) — 구 category_detail_1.html 모양(빨강·파랑 선택 버튼, 회색 머리줄, 행마다 썸네일·이름·브랜드·가격·담기). 하위 카테고리 판은 아래 .pb-* */
.cl-wrap { padding: 4px 0 20px; text-align: left; font-size: 12px; color: #333; }
.cl-wrap a { color: inherit; text-decoration: none; }
.cl-path { margin: 4px 0 10px; padding: 5px; }
.cl-wrap .center_banner + .center_banner { margin-top: 10px; }
.cl-path a:hover { text-decoration: underline; }
.cl-guide { margin: 0 0 14px; padding: 16px; border: 1px solid #d1d1d1; background: #f7f8fb; text-align: center; line-height: 1.7; font-size: 13px; }
.cl-guide strong { color: #2a5db0; font-size: 15px; }
.cl-ribbon { display: flex; gap: 16px; margin: 0 0 14px; padding: 14px; border: 1px solid #d1d1d1; background: #efefef; }
.cl-ribbon ol { flex: 1; margin: 0; padding-left: 18px; line-height: 2; }
.cl-ribbon b { color: #d1261b; }
.cl-ribbon-box { display: flex; align-items: center; gap: 6px; }
.cl-ribbon-box input { width: 240px; height: 34px; padding: 0 10px; border: 2px solid #333; font-weight: bold; text-align: center; }
.cl-ribbon-box button { height: 34px; padding: 0 16px; border: 0; background: #333; color: #fff; font-weight: bold; cursor: pointer; }
.cl-empty { margin: 0 0 14px; color: #888; }
/* 하위 카테고리 판(category/_board) — 묶음 카드: 왼쪽 이름·개수, 오른쪽 기종 버튼 바둑판(긴 이름 두 칸) */
.pb-wrap { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.pb-group { display: grid; grid-template-columns: 150px 1fr; border: 1px solid #e1e4ea; border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 1px 3px rgba(20, 30, 50, .05); }
.pb-group-title { display: flex; flex-direction: column; justify-content: flex-start; gap: 5px; margin: 0; padding: 14px; border-right: 1px solid #eceef2; background: linear-gradient(#fafbfc, #f3f5f8); color: #8a2a10; font-size: 13px; font-weight: bold; line-height: 1.4; word-break: keep-all; }
.pb-group-title a { color: inherit !important; }
.pb-group-title a:hover { color: #d9480f !important; }
.pb-wrap a:hover { text-decoration: none; }
.pb-group-title span { align-self: flex-start; padding: 0 7px; border-radius: 9px; background: #e9ecf1; color: #6b7280; font-size: 10.5px; font-weight: normal; line-height: 17px; }
.pb-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-flow: row dense; gap: 6px; margin: 0; padding: 10px; list-style: none; }
.pb-items li { min-width: 0; }
.pb-items li.is-wide { grid-column: span 2; }
.pb-items a { display: block; padding: 7px 10px; border: 1px solid #e3e6eb; border-radius: 6px; background: #fff; color: #3d4450 !important; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .12s, background .12s, color .12s, box-shadow .12s; }
.pb-items a:hover, .pb-items a:focus-visible { border-color: #f08c54; background: #fff6f0; color: #d9480f !important; box-shadow: 0 2px 6px rgba(217, 72, 15, .12); }
.cl-title { margin: 24px 0 10px; }
/* 검색 결과 프린터 판 — 구 layout.css .border_blink(주황 테두리 + 바깥 파란 테두리 0.4초 깜박임) */
.sr-blink { position: relative; margin: 10px 0 14px; padding: 6px 8px 8px; border: 1px solid orange; }
.sr-blink::after { content: ""; position: absolute; inset: -5px; border: 3px solid transparent; pointer-events: none; animation: srBorderBlink .4s infinite alternate; }
@keyframes srBorderBlink { from { border-color: transparent; } to { border-color: #2b93da; } }
.sr-blink-title { margin: 0 0 6px; }
.sr-after { position: relative; }
.sr-cat { position: absolute; z-index: 5; left: 150px; top: -40px; width: 179px; height: 150px; }
.sr-cat[hidden] { display: none; }
.sr-cat-close { position: absolute; left: 98px; top: 104px; padding: 0; border: 0; background: none; cursor: pointer; }
.sr-cat-btns { position: absolute; bottom: 7px; left: 77px; white-space: nowrap; }
.sr-cat-btns a { display: inline-block; padding: 2px 5px; border-radius: 7px; background: green; color: #fff !important; font-size: 11px; }
.cl-toolbar { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4px; }
.cl-bulk { display: flex; gap: 4px; margin: 0; }
.cl-bulk-bottom { margin-top: 8px; }
.cl-btn { padding: 0 10px; height: 26px; border: 0; border-radius: 3px; color: #fff; font: bold 11px/26px "Malgun Gothic", sans-serif; cursor: pointer; }
.cl-bulk .cl-btn { height: 30px; padding: 0 12px; font-size: 12px; }
.cl-btn-cart { background: #e05a24; }
.cl-btn-buy { background: #59a52c; }
.cl-bulk .cl-btn-cart { background: #c81f24; }
.cl-bulk .cl-btn-buy { background: #1f7fc8; }
.cl-btn:hover { filter: brightness(1.08); }
.cl-sorts { display: flex; align-items: center; gap: 8px; }
.cl-tabs { display: flex; border: 1px solid #d1d1d1; }
.cl-tabs a { padding: 4px 12px; border-left: 1px solid #e1e1e1; background: #f6f6f6; color: #888; font-size: 11px; }
.cl-tabs a:first-child { border-left: 0; }
.cl-tabs a:hover { color: #333; }
.cl-tabs a.is-on { background: #555; color: #fff; font-weight: bold; }
.cl-per { height: 22px; font-size: 11px; }
.cl-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cl-table th { height: 32px; border-top: 2px solid #ccd0db; border-bottom: 1px solid #ccd0db; background: #f4f5f7; color: #555; font-size: 12px; }
.cl-table td { padding: 12px 4px; border-bottom: 1px solid #e3e3e3; vertical-align: middle; }
.cl-chk, .cl-thumb, .cl-brand, .cl-buy { text-align: center; }
.cl-thumb img { width: 80px; height: 80px; object-fit: contain; border: 1px solid #eee; }
.cl-name { position: relative; }
.cl-name > a { color: #3a72a9 !important; font-size: 13px; font-weight: bold; line-height: 1.5; }
.cl-name > a:hover { text-decoration: underline; }
.cl-color { display: block; margin-top: 4px; }
.cl-icons { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.cl-printers { display: none; position: absolute; left: 0; top: 100%; z-index: 20; width: 560px; max-height: 260px; overflow-y: auto; padding: 8px; border: 1px solid #999; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.cl-name:hover .cl-printers, .cl-name:focus-within .cl-printers { display: block; }
.cl-printers strong { display: block; margin: -8px -8px 6px; padding: 6px 8px; background: #eee; text-align: center; }
.cl-printers a { display: inline-block; width: 270px; padding: 2px 0; }
.cl-printers a:hover { color: #3a72a9; text-decoration: underline; }
.cl-brand span { color: #777; }
.cl-brand b { color: blue; }
.cl-price b { display: block; color: #e83b3b; font-size: 14px; }
.cl-point { color: #3a72a9; font-size: 11px; }
.cl-price img { display: block; margin-top: 4px; }
.cl-buy .cl-btn { display: block; width: 96px; margin: 0 auto 4px; padding: 0; letter-spacing: 0; white-space: nowrap; }
.cl-none { padding: 40px 0 !important; text-align: center; color: #888; }
.cl-none a { color: #3a72a9 !important; text-decoration: underline !important; }
.cl-pager { display: flex; justify-content: center; gap: 3px; margin-top: 16px; }
.cl-pager a, .cl-pager strong { min-width: 26px; padding: 3px 6px; border: 1px solid #ddd; text-align: center; }
.cl-pager strong { border-color: #555; background: #555; color: #fff; }
.cl-pager a:hover { border-color: #999; }
/* 상품 상세(product/show) — 틀은 구 CSS(info_box·img_box·buy_box·info_type·gellery), 여기는 구 템플릿 인라인 스타일을 옮긴 것 */
.pd-title { margin: 0 0 10px; padding: 10px 0; border: 1px solid #e3e3e3; background: url('/img/view/subject_pt.gif') repeat-x left top; text-align: center; font-size: 13px; font-weight: bold; }
.pd-wrap .info_box { overflow: hidden; min-height: 360px; margin-bottom: 20px; }
.pd-main { display: flex; align-items: center; justify-content: center; width: 358px; height: 250px; margin-bottom: 8px; border: 1px solid #ddd; background: #fff; }
.pd-main img { max-width: 350px; max-height: 242px; }
.pd-wrap .gellery img[data-large] { cursor: pointer; }
.pd-img-note { margin: 6px 0 0; font-size: 11px; color: #555; }
.pd-img-note b { color: #c00; }
.pd-price { display: flex; justify-content: space-between; align-items: center; }
.pd-price b { color: #333; font-size: 13px; }
.pd-wrap .buy_box table.info_type { width: 100%; }
.pd-wrap .buy_box select { max-width: 260px; }
.pd-buttons { display: flex; justify-content: center; gap: 4px; padding: 10px 0 0; border-top: 2px solid #eee; }
.pd-buttons button { padding: 0; border: 0; background: none; cursor: pointer; }
.pd-sec { margin: 20px 0 10px; padding: 7px 10px; border: 1px solid #e3e3e3; border-left: 4px solid #555; background: #f7f7f7; font-size: 12px; }
.pd-comment { overflow-x: auto; text-align: center; }
.pd-comment img { max-width: 100%; height: auto; }

/* 폐카트리지 매입·안내(cartridge/*) — 틀은 구 CSS(div.cartridge_list·p.tap_menu·table.table_type01), 여기는 구 인라인 스타일 */
.ct-wrap { text-align: left; }
.ct-wrap p.ct-top { text-align: left; padding: 0 0 0 196px; }
.ct-wrap .tap_menu a { display: inline-block; }
.ct-search { margin: 0; padding: 0 0 5px; text-align: right; }
.ct-search input[type=text] { width: 370px; }
.ct-search input[type=image], .ct-wrap .search input[type=image] { width: 37px; height: 19px; border: 0; vertical-align: middle; }
.ct-table td { text-align: center; }
.ct-name { position: relative; padding-left: 10px !important; text-align: left !important; }
.ct-name:hover .cl-printers, .ct-name:focus-within .cl-printers { display: block; }
.ct-thumb img { object-fit: contain; }
.ct-add { padding: 0; border: 0; background: none; cursor: pointer; }
.ct-info { margin: 0 auto; text-align: center; }
.ct-cj { display: flex; justify-content: center; margin-top: 30px; }
.rv-title { margin: 10px 0; }
.rv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 10px 0; list-style: none; }
.rv-grid a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #333 !important; text-align: center; font-size: 12px; }
.rv-grid img { border: 1px solid #ddd; object-fit: contain; background: #fff; }
.rv-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-grid b { color: #e83b3b; }
.gd-image { margin: 10px 0 0; text-align: center; }
.gd-image img { max-width: 100%; }
.gd-note { margin: 0 0 10px; color: #555; }
.gd-centers th { width: auto; text-align: center; }
.gd-centers td a { color: #3a72a9 !important; }
.gd-customer { display: flex; gap: 20px; align-items: flex-start; }
.gd-side { flex: 0 0 190px; border: 1px solid #d8dde4; background: #fafbfc; padding: 10px; }
.gd-side p { margin: 0 0 8px; }
.gd-side .gd-cs { font-size: 11px; color: #555; line-height: 1.6; }
.gd-side .gd-cs b { font-size: 15px; color: #2693df; }
.gd-side ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #e3e3e3; }
.gd-side li a { display: block; padding: 6px 4px; border-bottom: 1px dotted #ddd; }
.gd-side li a:hover { background: #eef3f8; }
.gd-main { flex: 1; min-width: 0; }
.site-popup { position: absolute; z-index: 1000; max-width: calc(100vw - 20px); background: #fff; border: 1px solid #999; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.site-popup[hidden] { display: none; }
.site-popup-body { overflow: auto; contain: paint; }
.site-popup-body img { max-width: 100%; height: auto; display: block; }
.site-popup-foot { display: flex; justify-content: space-between; align-items: center; padding: 5px 8px; background: #333; color: #fff; font-size: 11px; }
.site-popup-foot label { cursor: pointer; }
.site-popup-close { padding: 1px 10px; border: 1px solid #888; background: #555; color: #fff; font-size: 11px; cursor: pointer; }

/* 프린터 찾기(printer/index) — 구 브랜드 그림 버튼 7개씩 줄 */
.pf-brands { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin: 0 0 16px; }
.pf-brands a { display: block; text-align: center; }
.pf-brands img { max-width: 100%; vertical-align: top; }
.blind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 게시판 바깥 틀(board/_frame_top) — 구 bbs_default: 왼쪽 22% 고객센터 메뉴, 오른쪽 배너·현재위치·바로가기 상자 */
.bd-frame { width: 944px; margin: 0 0 20px; border-collapse: collapse; }
.bd-frame-left { width: 22%; padding: 0 0 0 4px; vertical-align: top; text-align: left; background: url('/img/sub/left_bg.gif') no-repeat -2px 20px; }
.bd-frame-left dl.left_menu { height: auto; }
.bd-frame-left dl.left_menu a { color: #333; text-decoration: none; }
.bd-frame-main { vertical-align: top; text-align: left; }
.bd-frame-main p.center_banner, .contents_wrap .bd-frame-main .center_banner + .center_banner { margin: 0; }
.bd-frame-path { margin: 0 0 15px; height: 30px; line-height: 30px; padding: 0 6px; background: url('/img/table_log_2.gif') repeat-x; border-radius: 4px; font-size: 12px; }
.bd-frame-path a { color: #333; text-decoration: none; }
.bd-frame-cs { width: 740px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #f2b98c; border-radius: 8px; font-size: 12px; }
.bd-frame-cs p { display: flex; margin: 0; height: 30px; line-height: 30px; }
.bd-frame-cs p span { width: 50%; }
.bd-frame-cs ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.bd-frame-cs li { height: 27px; line-height: 27px; }
.bd-frame-cs a { color: #f60; text-decoration: none; }
.bd-frame-content { min-height: 480px; padding: 15px 0 0; }
.bd-frame-content .cl-wrap { padding-top: 0; }

/* 게시판(board/*) — 구 bbs_list_cus·bbs_detail 칸 구성, 위 띠·점선 구분 */
.bd-head { margin: 0 0 10px; }
.bd-head h3 { font-size: 16px; margin: 0; }
.bd-list { width: 100%; border-collapse: collapse; border-top: 2px solid #6c7a8b; }
.bd-list th { height: 30px; background: #f3f5f8; border-bottom: 1px solid #d8dde4; font-size: 11px; font-weight: bold; text-align: center; }
.bd-list td { height: 27px; border-bottom: 1px dotted #ccc; text-align: center; }
.bd-list tr:hover td { background: #f6f6f6; }
.bd-list .is-notice td { background: #fbf8ee; }
.bd-list .bd-no { width: 56px; } .bd-list .bd-file { width: 40px; } .bd-list .bd-writer { width: 80px; } .bd-list .bd-date { width: 90px; } .bd-list .bd-hit { width: 50px; }
.bd-list td.bd-title { text-align: left; word-break: break-all; }
.bd-list td.bd-title a:hover { text-decoration: underline; }
.bd-re, .bd-lock, .bd-new { vertical-align: middle; margin: 0 2px; }
.bd-cmt { color: #e2541b; font-size: 11px; margin-left: 2px; }
.bd-search { display: flex; justify-content: flex-end; gap: 4px; margin-top: 12px; }
.bd-search input[type=text] { width: 160px; }
.bd-search a { align-self: center; color: #3a72a9 !important; }
.bd-faq details { border-bottom: 1px solid #e3e3e3; }
.bd-faq summary { padding: 9px 6px; cursor: pointer; font-weight: bold; }
.bd-faq .bd-q { display: inline-block; width: 18px; color: #3a72a9; }
.bd-faq .bd-body { padding: 4px 6px 14px 30px; }
.bd-view { border-top: 2px solid #6c7a8b; }
.bd-view header { padding: 10px 6px; background: #f3f5f8; border-bottom: 1px solid #d8dde4; }
.bd-view h4 { margin: 0 0 6px; font-size: 14px; word-break: break-all; }
.bd-view dl { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; color: #666; font-size: 11px; }
.bd-view dt { color: #999; } .bd-view dd { margin: 0 12px 0 0; }
.bd-files { margin: 0; padding: 6px; list-style: none; border-bottom: 1px dotted #ccc; }
.bd-files a { color: #3a72a9 !important; }
.bd-body { padding: 16px 6px; line-height: 1.7; word-break: break-word; overflow-x: auto; contain: paint; } /* 본문의 position:fixed 등이 본문 상자 밖(화면 전체)을 덮지 못하게 */
.bd-body img { max-width: 100%; height: auto; }
.bd-comments { margin-top: 6px; border-top: 1px solid #d8dde4; }
.bd-comments h5 { margin: 10px 0 6px; font-size: 12px; }
.bd-comments ul { margin: 0; padding: 0; list-style: none; }
.bd-comments li { padding: 7px 6px; border-bottom: 1px dotted #ccc; }
.bd-comments li span { color: #999; font-size: 11px; margin-left: 4px; }
.bd-comments li p { margin: 3px 0 0; word-break: break-all; }
.bd-actions { margin-top: 14px; text-align: right; }
.bd-btn { display: inline-block; padding: 4px 12px; border: 1px solid #aaa; border-radius: 3px; background: #fafafa; }
.bd-btn:hover { background: #eee; }
.bd-locked { padding: 30px 10px; text-align: center; }
.bd-locked form { display: inline-flex; gap: 4px; margin: 8px 0; }
.bd-error { color: #d0352b; }
.bd-hint { color: #777; font-size: 11px; }
.bd-hint a { color: #3a72a9 !important; text-decoration: underline !important; }
.bd-btn-primary { background: #3a72a9; border-color: #2f5f8e; color: #fff !important; }
.bd-btn-primary:hover { background: #2f5f8e; }
.bd-btn-danger { background: #d0352b; border-color: #b02a22; color: #fff !important; }
.bd-imgbtns { margin: 8px 0; }
.bd-imgbtns-top { text-align: right; }
.bd-imgbtns img, .bd-imgbtns input[type=image] { vertical-align: middle; }
.bd-imgbtn { padding: 0; border: 0; background: none; cursor: pointer; vertical-align: middle; }
.bd-form { border-top: 2px solid #6c7a8b; }
.bd-formtable { width: 100%; border-collapse: collapse; }
.bd-formtable th { width: 90px; padding: 8px 6px; background: #f3f5f8; border-bottom: 1px solid #e3e3e3; text-align: left; font-weight: bold; vertical-align: top; }
.bd-formtable td { padding: 8px 6px; border-bottom: 1px solid #e3e3e3; }
.bd-formtable td label { margin-right: 12px; }
.bd-title-input { width: 98%; }
.bd-formtable textarea { width: 98%; }
.bd-oldfile { color: #3a72a9; margin-right: 6px; }
/* 글쓰기(board/form) — 구 bbs_regist.html: 제목 띠 "게시물 등록하기", 화살표 칸 이름(write_type01), 회색 입력칸 */
.bd-formtitle { margin: 0; padding: 0 0 0 5px; height: 28px; line-height: 28px; border: solid #ddd; border-width: 2px 0 1px; color: #666; font-size: 12px; font-weight: 600; }
.bd-writetable { margin: 5px 0; }
.bd-writetable th { width: 20%; height: 25px; padding: 3px 0 3px 15px; background: url('/img/ico_s02_arrow.gif') no-repeat 5px 12px; border: 0; color: #777; font-size: 11px; font-weight: bold; text-align: center; vertical-align: top; line-height: 25px; }
.bd-writetable th:empty { background: none; }
.bd-writetable td { padding: 3px 0; border: 0; }
.bd-writetable td input[type=text], .bd-writetable td input[type=password], .bd-writetable td input[type=email], .bd-writetable td input[type=tel], .bd-writetable td input[type=file] { border: solid #ddd; border-width: 1px 0 0 1px; background: #f9f9f9; }
.bd-writetable .bd-title-input, .bd-writetable td input[type=file] { width: 530px; }
.bd-writetable .bd-short { width: 150px; }
.bd-writetable tr.bd-dobae th { background: none; padding-left: 0; }
.bd-writetable tr.bd-dobae th img { vertical-align: middle; }
.bd-writetable tr.bd-dobae td { padding: 8px 0; }
.bd-writetable #dobae { width: 100px; height: 22px; border: solid #ddd; border-width: 1px 0 0 1px; background: #eee; font-family: arial; font-size: 11pt; font-weight: bold; letter-spacing: 1px; }
.bd-dobae-key { display: inline-block; margin: 0 8px 0 16px; padding: 4px 8px; background: #999; color: #fff; font-family: arial; letter-spacing: 3px; }
.bd-admin-mark { vertical-align: middle; }
.bd-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bd-quote { margin-bottom: 12px; border: 1px solid #d8dde4; background: #fafbfc; }
.bd-quote h4 { margin: 0; padding: 8px 6px; font-size: 13px; border-bottom: 1px solid #e3e3e3; }
.bd-quote h4 small { color: #888; font-weight: normal; margin-left: 6px; }
.bd-quote .bd-body { max-height: 260px; overflow-y: auto; }
.bd-cmt-del { display: inline; margin-left: 6px; }
.bd-cmt-del button { padding: 0 6px; font-size: 11px; color: #888; background: none; border: 1px solid #ccc; border-radius: 2px; cursor: pointer; }
.bd-cmt-form { display: flex; gap: 6px; margin-top: 8px; }
.bd-cmt-form textarea { flex: 1; }
.bd-cmt-form button { width: 90px; }
.bd-report-intro { margin: 6px 0 14px; padding: 16px; border: 1px solid #d8dde4; background: #f6f9fc; text-align: center; }
.bd-report-intro h3 { margin: 0 0 6px; font-size: 20px; color: #2693df; }
.bd-report-intro p { margin: 0; color: #333; }
.bd-report { border-collapse: collapse; }
.bd-report th { padding: 6px 10px; background: #f3f5f8; text-align: left; white-space: nowrap; vertical-align: top; }
.bd-report td { padding: 6px 10px; }

/* 장바구니 — 구 html/basket_order.html (40_order O2). 표·썸네일·상품명 규칙은 .ct-cart 안에만 — 폐카 단가 목록(cartridge/list, 같은 .ct-table·.ct-thumb·.ct-name 이름)과 겹치지 않게 */
.ct-title { margin: 10px 0 14px; }
.ct-title img { max-width: 100%; }
.ct-count { text-align: right; margin: 0 0 4px; }
.ct-count b { color: red; }
.ct-cart .ct-table { width: 100%; border-collapse: collapse; border-top: 2px solid #9cbc3c; }
.ct-cart .ct-table th { height: 30px; background: #f3f5f8; border-bottom: 1px solid #d8dde4; text-align: center; }
.ct-cart .ct-table td { padding: 6px 4px; border-bottom: 1px solid #eee; vertical-align: middle; }
.ct-cart .ct-table tfoot td { height: 40px; text-align: right; border-top: 1px solid #bdbdbd; border-bottom: 0; }
.ct-table tfoot b, .ct-red { color: red; }
.ct-blue { color: blue; }
.ct-chk, .ct-del, .ct-qty { text-align: center; }
.ct-cart .ct-thumb img { width: 60px; border: 1px solid #333; }
.ct-cart .ct-name { line-height: 1.3; padding-left: 10px !important; }
.ct-cart .ct-name b { color: #3a72a9; }
.ct-color, .ct-off { display: block; margin-top: 3px; color: #666; }
.ct-off { color: #c00; }
.ct-cart .ct-table tr.is-off td { background: #fafafa; }
.ct-num, .ct-cart .ct-table td.ct-num { text-align: right; padding-right: 8px !important; }
.ct-qty-box { display: inline-flex; align-items: center; gap: 2px; }
.ct-qty-box input { width: 32px; text-align: right; }
.ct-qty-box span img { display: block; cursor: pointer; }
.ct-img-btn { padding: 0; border: 0; background: none; cursor: pointer; vertical-align: middle; }
.ct-empty { height: 80px; text-align: center; color: #888; }
.ct-sub { margin: 18px 0 6px; }
.ct-point { width: 100%; border-collapse: collapse; border-top: 2px solid #9cbc3c; }
.ct-point th, .ct-point td { height: 30px; border-bottom: 1px solid #eee; text-align: center; }
.ct-point .ct-point-head { text-align: left; padding-left: 10px; }
.ct-point-form { display: inline; }
.ct-point-form input { text-align: right; }
.ct-ship { margin: 14px 0 10px; padding: 7px; background: #dbe9a3; text-align: center; }
.ct-summary { display: flex; align-items: center; gap: 10px; }
.ct-order { flex: 1; text-align: center; margin: 0; }
.ct-pay { width: 360px; border-collapse: collapse; }
.ct-pay th, .ct-pay td { height: 25px; padding: 0 10px; border: 1px solid #eee; text-align: left; }
.ct-pay th { background: #f6f4e9; font-weight: normal; }
.ct-buttons { margin: 20px 0 5px; padding-top: 7px; border-top: 1px solid #eee; text-align: center; }
.ct-inline { display: inline; }
.ct-notice { margin-top: 14px; line-height: 1.6; }
.ct-notice em { font-style: normal; color: red; }
@media (max-width: 720px) {
	.ct-summary { flex-direction: column; }
	.ct-pay { width: 100%; }
}

/* 폐카트리지 매입 장바구니·신청·조회 — 구 cartridge_price·cartridge_order(02) (40_order O6-2) */
.cb-able { margin: 12px 0 12px 20px; }
.cb-form textarea { border: solid #ddd; border-width: 1px 0 0 1px; padding: 7px; max-width: 95%; }
.cb-off { color: #aaa; }
.cb-state { margin: 8px 0; }
.cb-pass { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .35); }
.cb-pass[hidden] { display: none; }
.cb-pass-box { padding: 20px 24px; background: #fff; border: 2px solid #9cbc3c; text-align: center; }

/* 주문서·주문 완료 — 구 html/basket_order3.html · my_pay_buy_bank_end.html (40_order O3) */
.co-wrap .ct-sub { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.co-edit { color: #3a72a9 !important; font-weight: normal; margin-left: 6px; }
.co-agree-text { height: 140px; overflow-y: auto; padding: 8px 10px; border: 1px solid #ddd; background: #fafafa; line-height: 1.5; }
.co-agree { margin: 6px 0 0; }
.co-form { width: 100%; border-collapse: collapse; }
.co-form th, .co-form td { height: 30px; padding: 3px 10px; border: 1px solid #eee; text-align: left; }
.co-form th { width: 130px; background: #f6f4e9; white-space: nowrap; }
.co-form input[type="text"], .co-form input[type="email"], .co-form select, .co-form textarea { border: 1px solid #ccc; padding: 2px 4px; }
.co-wide { width: 95%; max-width: 480px; margin: 2px 0; }
.co-btn { padding: 2px 8px; border: 1px solid #999; background: #f3f3f3; cursor: pointer; }
.co-note { color: #888; font-size: 11px; }
.co-warn { color: #d40000; font-size: 12px; margin-left: 4px; }
.co-form td.co-guide { height: auto; padding: 14px 16px; background: #fcfcfa; line-height: 1.7; color: #444; font-size: 12px; }
.co-guide-head { margin: 0 0 8px; font-weight: bold; color: #222; }
.co-guide-ex { margin: 0 0 10px; padding: 8px 12px; background: #fff; border: 1px solid #e6e1cf; display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; }
.co-guide-ex dt { font-weight: bold; color: #3a72a9; white-space: nowrap; }
.co-guide-ex dd { margin: 0; }
.co-guide-say { display: block; color: #b45309; }
.co-guide-list { margin: 0; padding-left: 18px; list-style: disc; }
.co-guide-list li { margin: 2px 0; }
.co-guide-list b { color: #d40000; }
.co-guide-receipt { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #ddd; }
.co-guide-receipt .co-guide-say { display: inline; margin-left: 4px; }
.co-copy { margin: 0 0 5px; }
.co-radio { margin-right: 10px; white-space: nowrap; }
.co-radio.is-off { color: #aaa; }
.co-quick { margin: 6px 0 0; padding: 6px 8px; background: #fffbea; border: 1px solid #e6cf8a; }
.co-big { font-size: 15px; }
.co-submit { margin: 20px 0; text-align: center; }
.co-done { margin: 10px 0 16px; padding: 18px; border: 1px solid #9cbc3c; background: #f7fbe9; text-align: center; line-height: 1.8; }
.co-done-title { font-size: 16px; font-weight: bold; color: #3a72a9; }
.ct-cart .co-thumb img { width: 80px; height: 80px; object-fit: contain; border: 1px solid #333; }
.co-sum { margin-top: 10px; }
