@charset "utf-8";
/* ============================================================
   셀러클럽 상품수배 게시판 스킨 (카드형)
   ============================================================ */

/* ---------- 카드 그리드 : 4 → 3(≤1280) → 2(≤768) → 1(≤480) ---------- */
#bo_list .quote-list { width: 100%; margin: 14px 0; }
#bo_list .quote-list .ql-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }

#bo_list .ql-selall { margin: 6px 0 -4px; padding: 6px 2px; }
#bo_list .ql-selall .chk_all_label { cursor: pointer; font-size: 13px; color: var(--m-muted); display: inline-flex; align-items: center; gap: 6px; }
#bo_list .ql-selall .chk_all_label span { float: none; display: inline-block; vertical-align: middle; }

#bo_list .quote-list .ql-card { position: relative; display: flex; flex-direction: column; background: var(--m-white); border: 1px solid var(--m-line); border-radius: 14px; overflow: hidden; transition: .2s; }
#bo_list .quote-list .ql-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(37, 99, 235, .16); border-color: transparent; }
#bo_list .quote-list .ql-notice { border-color: var(--m-accent); background: #fafafa; }
#bo_list .quote-list .ql-current { border-color: var(--m-brand); box-shadow: 0 0 0 2px rgba(37, 99, 235, .18); }

#bo_list .quote-list .ql-chk { position: absolute; top: 12px; left: 12px; z-index: 3; }
#bo_list .quote-list .ql-chk label span { float: none; display: block; }

#bo_list .quote-list .ql-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
#bo_list .quote-list .ql-cat { display: inline-flex; align-items: center; margin: 0; padding: 0; background: none; border-radius: 0; color: inherit; font-size: inherit; font-weight: inherit; white-space: nowrap; }
#bo_list .quote-list .ql-cat-notice,
#bo_list .quote-list .ql-cat-empty,
#bo_list .quote-list .ql-cat:not(:has(.bo_cate_link)) { font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 20px; white-space: nowrap; }
#bo_list .quote-list .ql-cat-notice { color: #fff; background: var(--m-accent); }
#bo_list .quote-list .ql-cat-empty { color: var(--m-muted); background: var(--m-bg); }
#bo_list .quote-list .ql-cat:not(:has(.bo_cate_link)):not(.ql-cat-notice):not(.ql-cat-empty) { color: var(--m-brand); background: var(--m-brand-light); }
#bo_list .quote-list .ql-date { font-size: 12px; color: var(--m-muted); white-space: nowrap; }
#bo_list .quote-list .ql-subject { font-size: 16px; font-weight: 800; line-height: 1.45; color: var(--m-ink); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#bo_list .quote-list .ql-subject .xi-lock { color: var(--m-muted); font-size: 14px; }
#bo_list .quote-list .ql-new, #bo_list .quote-list .ql-hot { display: inline-block; vertical-align: middle; margin-left: 4px; font-size: 10px; font-weight: 800; color: #fff; padding: 2px 6px; border-radius: 5px; line-height: 1.2; }
#bo_list .quote-list .ql-new { background: #16a34a; }
#bo_list .quote-list .ql-hot { background: #ef4444; }

#bo_list .quote-list .ql-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
#bo_list .quote-list .ql-meta li { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--m-muted); }
#bo_list .quote-list .ql-meta li i { color: var(--m-brand); font-size: 14px; }

#bo_list .quote-list .ql-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 20px 12px 20px; font-size: 13px; color: var(--m-ink-2); }
#bo_list .quote-list .ql-foot i { margin-right: 4px; color: var(--m-muted); }
#bo_list .quote-list .ql-writer { display: inline-flex; align-items: center; min-width: 0; }
#bo_list .quote-list .ql-stat { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
#bo_list .quote-list .ql-cmt { font-weight: 700; color: var(--m-brand); }
#bo_list .quote-list .ql-cmt i { color: var(--m-brand); }

#bo_list .quote-list .ql-empty { grid-column: 1 / -1; text-align: center; color: var(--m-muted); padding: 60px 0; border: 1px dashed var(--m-line); border-radius: 14px; }

@media (max-width: 1280px) { #bo_list .quote-list .ql-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { #bo_list .quote-list .ql-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { #bo_list .quote-list .ql-grid { grid-template-columns: 1fr; } }

/* ---------- 카드 본문 : 썸네일 + 내용 ---------- */
#bo_list .sc-list .ql-card { padding: 0; border: 1px solid var(--m-line); }
#bo_list .sc-list .sc-thumb { position: relative; display: block; overflow: hidden; background: var(--m-bg); aspect-ratio: 480 / 300; }
#bo_list .sc-list .sc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
#bo_list .sc-list .ql-card:hover .sc-thumb img { transform: scale(1.05); }
/* 첨부 이미지가 없을 때 : noimg.png(480x300) 를 잘림 없이 원본 비율로 표시 */
#bo_list .sc-list .sc-thumb-none { background: var(--m-bg); }
#bo_list .sc-list .sc-thumb-none img { object-fit: contain; }
#bo_list .sc-list .ql-card:hover .sc-thumb-none img { transform: none; }
#bo_list .sc-list .sc-thumb-tag { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 20px; background: rgba(15, 23, 42, .78); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.4; }
#bo_list .sc-list .sc-body { flex: 1 1 auto; padding: 18px 18px 14px; }
#bo_list .sc-list .ql-subject { margin-bottom: 10px; }
#bo_list .sc-list .ql-subject a { color: inherit; }
#bo_list .sc-list .sc-labels { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; }

/* ---------- 찾는 품목 ---------- */
#bo_list .sc-list .sc-vendor { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
#bo_list .sc-list .sc-vendor-name { font-size: 14px; font-weight: 800; color: var(--m-ink); }
#bo_list .sc-list .sc-vendor-name i { color: var(--m-brand); margin-right: 2px; }

/* ---------- 카테고리 태그 ---------- */
#bo_list .sc-list .sc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
#bo_list .sc-list .sc-tag { padding: 3px 8px; border-radius: 6px; background: var(--m-brand-light); color: var(--m-brand); font-size: 12px; font-weight: 600; }

/* ---------- 수량 · 예산 · 납기 ---------- */
#bo_list .sc-list .sc-meta { margin-bottom: 2px; gap: 5px 12px; }
#bo_list .sc-list .sc-meta li { width: 100%; align-items: flex-start; line-height: 1.5; }
#bo_list .sc-list .sc-meta li i { margin-top: 2px; }

/* ---------- 진행상태 배지 ---------- */
#bo_list .sc-list .sc-state { flex: 0 0 auto; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 800; white-space: nowrap; }
#bo_list .sc-list .sc-state.is-wait { background: #fef3c7; color: #b45309; }
#bo_list .sc-list .sc-state.is-ing { background: var(--m-brand-light, #FFF4EE); color: var(--m-brand, #FF7A2F); }
#bo_list .sc-list .sc-state.is-done { background: #dcfce7; color: #15803d; }
#bo_list .sc-list .sc-state.is-hold { background: #f1f5f9; color: #64748b; }

/* ---------- 다크 모드 ---------- */
html[data-theme="dark"] #bo_list .quote-list .ql-cat:has(.bo_cate_link) { background: none; }
html[data-theme="dark"] #bo_list .quote-list .ql-cat:not(:has(.bo_cate_link)):not(.ql-cat-notice):not(.ql-cat-empty) { background: var(--m-brand-light); color: var(--m-brand); }
html[data-theme="dark"] #bo_list .quote-list .ql-cat-empty { color: var(--m-muted); background: rgba(148, 163, 184, .12); }
html[data-theme="dark"] #bo_list .quote-list .ql-notice { background: #252d3a; }
html[data-theme="dark"] #bo_list .quote-list .ql-card:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, .5); }
html[data-theme="dark"] #bo_list .sc-list .sc-tag { background: rgba(96, 165, 250, .18); }
html[data-theme="dark"] #bo_list .sc-list .sc-state.is-wait { background: rgba(245, 158, 11, .18); color: #fbbf24; }
html[data-theme="dark"] #bo_list .sc-list .sc-state.is-ing { background: rgba(59, 130, 246, .18); color: #93c5fd; }
html[data-theme="dark"] #bo_list .sc-list .sc-state.is-done { background: rgba(34, 197, 94, .18); color: #4ade80; }
html[data-theme="dark"] #bo_list .sc-list .sc-state.is-hold { background: rgba(148, 163, 184, .16); color: #cbd5e1; }

/* ============================================================
   상품수배 요청 폼 · 읽기 페이지
   ============================================================ */
.sc-form-box { border: 1px solid var(--m-line); border-radius: var(--m-radius); background: var(--m-bg); padding: 20px 22px; margin: 10px 0 18px; }
.sc-form-box > h3 { margin: 0 0 16px; font-size: 16px; font-weight: 800; color: var(--m-ink); }
.sc-form-box > h3 i { color: var(--m-brand); margin-right: 6px; }
.sc-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.sc-form-field { display: flex; flex-direction: column; }
.sc-form-field.is-full { grid-column: 1 / -1; }
.sc-form-field label { margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--m-ink-2); }
.sc-form-box .frm_input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--m-line); border-radius: var(--m-radius-sm); background: var(--m-white); color: var(--m-ink); font-size: 14px; font-family: inherit; }
.sc-form-box .frm_input:focus { outline: 0; border-color: var(--m-brand); box-shadow: 0 0 0 3px rgba(37, 124, 252, .15); }
@media (max-width: 768px) { .sc-form-grid { grid-template-columns: 1fr; } }

/* 읽기 페이지 문의 정보 */
.sc-info-view { border: 1px solid var(--m-line); border-radius: var(--m-radius); overflow: hidden; margin: 16px 0; }
.sc-info-view h3 { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--m-line); background: var(--m-bg); font-size: 16px; font-weight: 800; color: var(--m-ink); }
.sc-info-view h3 i { color: var(--m-brand); margin-right: 6px; }
.sc-info-view dl { display: grid; grid-template-columns: 150px 1fr; margin: 0; }
.sc-info-view dt { padding: 12px 18px; border-bottom: 1px solid var(--m-line); background: var(--m-bg); font-weight: 700; color: var(--m-ink-2); }
.sc-info-view dd { padding: 12px 18px; margin: 0; border-bottom: 1px solid var(--m-line); color: var(--m-ink); word-break: break-all; }
.sc-info-view dt:last-of-type, .sc-info-view dd:last-of-type { border-bottom: 0; }
.sc-state-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 800; }
.sc-state-badge.is-wait { background: #fef3c7; color: #b45309; }
.sc-state-badge.is-ing { background: var(--m-brand-light, #FFF4EE); color: var(--m-brand, #FF7A2F); }
.sc-state-badge.is-done { background: #dcfce7; color: #15803d; }
.sc-state-badge.is-hold { background: #f1f5f9; color: #64748b; }
@media (max-width: 640px) { .sc-info-view dl { grid-template-columns: 1fr; } .sc-info-view dt { border-bottom: 0; padding-bottom: 0; background: transparent; } }

/* 칩 버튼 (문의유형 선택) */
.sc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-chip { padding: 8px 15px; border: 1px solid var(--m-line); border-radius: 20px; background: var(--m-white); color: var(--m-ink-2); font-size: 13px; line-height: 1.2; cursor: pointer; transition: .12s; font-family: inherit; }
.sc-chip:hover { border-color: var(--m-brand); color: var(--m-brand); }
.sc-chip.on { border-color: var(--m-brand); background: var(--m-brand); color: #fff; font-weight: 700; }
html[data-theme="dark"] .sc-chip { background: transparent; }

html[data-theme="dark"] #bo_list .sc-list .sc-thumb-none { background: #111827; }
html[data-theme="dark"] #bo_list .quote-list .ql-subject,
html[data-theme="dark"] #bo_list .sc-list .ql-subject a { color: #f3f4f6; }
html[data-theme="dark"] #bo_list .sc-list .sc-vendor-name,
html[data-theme="dark"] #bo_list .sc-list .sc-fig-value,
html[data-theme="dark"] #bo_list .sc-list .sc-price-now { color: #f3f4f6; }
html[data-theme="dark"] #bo_list .sc-list .sc-tag { background: #3b2416; color: #FF8A4A; }
html[data-theme="dark"] .cp-region .subTabs a,
html[data-theme="dark"] .cp-cate .subTabs a { color: #e5e7eb; }
