/* ============================================================
   리세일 — 네이버 카페(중고나라)형 메인
   개인 간 직거래 게시판의 밀도 높은 커뮤니티 보드 룩.
   ============================================================ */
:root {
  --green: #03C75A;
  --green-dark: #02B350;
  --green-bg: #E8F9EF;
  --navy: #26343F;
  --black: #191919;
  --gray-900: #333;
  --gray-700: #505050;
  --gray-500: #808080;
  --gray-400: #A0A0A0;
  --gray-200: #E0E0E0;
  --gray-100: #F5F5F5;
  --gray-50: #FAFAFA;
  --red: var(--resale-danger);
  --orange: #FF9500;
  --comment: var(--resale-action);
  --auction: var(--resale-action);
  --auction-bg: var(--resale-surface-brand);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕",
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: #fff;
  color: var(--black);
  font-size: 14px;
  line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px 80px; }
.wrap-flush { padding-bottom: 0; }

/* ── 헤더 ─────────────────────────────── */
.site-header { background: #fff; border-bottom: 1px solid var(--gray-200); margin-bottom: 4px; }
.top { display: flex; align-items: center; gap: 14px; padding: 14px 0 12px; }
.searchbar {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center;
  height: 52px; border: 2px solid var(--navy); border-radius: 26px;
  background: #fff; padding: 0 6px 0 14px;
}
.searchbar input {
  flex: 1; min-width: 0; border: none; outline: none; background: none;
  font-size: 15px; color: var(--black); padding: 0 8px;
}
.searchbar input::placeholder { color: var(--gray-400); }
.search-go {
  width: 40px; height: 40px; border: none; background: none;
  color: var(--navy); flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.search-go svg { width: 21px; height: 21px; }
.top-links { display: flex; gap: 14px; flex-shrink: 1; min-width: 0; }
/* <button>(카테고리·전체)은 글꼴·행간을 상속하지 않아 <a>(로그인 등)와 1px 어긋난다 — 같은 값을 명시 */
.top-link {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px;
  border: none; background: none; padding: 0;
  font-family: inherit; line-height: 1.5;
  font-size: 11px; color: #2b6cb0; font-weight: 600; white-space: nowrap;
}
.top-link .ic {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  color: #2b6cb0;
}
.top-link .ic svg { width: 25px; height: 25px; }
/* 상단 "전체"는 main.css 의 옛 모바일 햄버거(.hamburger 40px 고정 상자, .hamburger span 검은 2px 막대)와
   클래스가 같다. 그 규칙이 .ic 상자에 칠해져 검은 사각형이 되고 높이가 옆 아이콘과 어긋나므로
   여기서 되돌린다 — 계약 H-21. 카테고리 아이콘도 같은 .ic 상자를 쓴다 — H-20/H-22. */
.top-link.hamburger { width: auto; height: auto; gap: 3px; padding: 0; }
.top-link.hamburger .ic { width: 30px; height: 30px; background: none; }
.top-link:hover { text-decoration: underline; }

/* 브랜드 마크 — 확정 워드마크 이미지 (2026-09-17) */
.brand {
  flex-shrink: 0; font-size: 22px; font-weight: 800; letter-spacing: -.5px;
  color: var(--green); white-space: nowrap;
  display: inline-flex; align-items: center;
}
.brand .brand-logo { display: block; width: auto; height: 30px; }
/* 좁은 화면에서 바꿔 끼울 심볼. 기본은 워드마크만 보인다 (2026-09-17) */
.brand .brand-logo-mark { display: none; width: auto; height: 28px; }

/* 가격은 한 덩어리로 유지한다 */
.price { white-space: nowrap; font-weight: 700; color: var(--black); }
.price.auct-price { color: var(--auction); }
.price.consult { color: var(--gray-700); font-weight: 600; }

/* 가로 스크롤 영역에 더 있다는 단서를 준다 */
.scroll-hint { position: relative; }
.scroll-hint::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 28px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255,255,255,0), #fff 78%);
}

/* 가격 + 태그 줄 */
.price-row-line {
  margin-top: 5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.price-row-line .price { font-size: 15px; }
/* 태그는 가격과 다른 줄에 둔다 — 카드 높이를 일정하게 만든다 (2026-09-18) */
.tag-row { margin-top: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 4px;
  background: var(--gray-100); color: var(--gray-500); white-space: nowrap;
}
.tag.trade { background: var(--gray-100); color: var(--resale-muted); }
.tag.cond  { background: var(--gray-100); color: var(--resale-muted); }

/* ── 카테고리 원형 바 ─────────────────── */
.cats {
  display: flex; gap: 4px; overflow-x: auto; padding: 6px 0 14px;
  scrollbar-width: none; border-bottom: 1px solid var(--gray-200);
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: 0 0 auto; width: 74px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.cat .ring {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--gray-200); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #fff; transition: box-shadow .15s;
}
.cat img { width: 100%; height: 100%; object-fit: cover; }
.cat .ring.all {
  background: #1a1a1a; color: #fff;
  font: italic 700 13px/1 Georgia, serif; letter-spacing: .5px;
}
.cat span.lbl { font-size: 12px; color: var(--gray-900); white-space: nowrap; }
.cat.active .ring { box-shadow: 0 0 0 2px var(--green); border-color: var(--green); }
.cat.active span.lbl { color: var(--green); font-weight: 700; }

/* 게시판 본문 — 1080px 안에서 읽기 좋은 폭으로 좁힌다.
   행을 1080 전폭에 두면 제목 한 줄이 한글 80자를 넘어 눈이 다음 줄을 못 찾는다. */
.board { max-width: 860px; margin: 0 auto; }

/* ── 게시판 컨트롤 ─────────────────────── */
.board-head { display: flex; align-items: center; padding: 14px 0 10px; }
.board-write {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 44px; padding: 0 16px; margin-right: 16px; flex-shrink: 0;
  border-radius: 10px; background: var(--green); color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none;
}
.board-write:hover { background: var(--green-dark); color: #fff; }
.board-write:focus-visible { outline: 3px solid #174d35; outline-offset: 3px; }
.total { font-size: 15px; font-weight: 700; white-space: nowrap; }
.total b { color: var(--green); font-weight: 700; }
.head-tabs { display: flex; gap: 2px; margin-left: 18px; }
.htab {
  padding: 5px 9px; font-size: 13px; color: var(--gray-500);
  border-radius: 14px; white-space: nowrap;
}
.htab.on { background: var(--black); color: #fff; font-weight: 700; }
.view-toggle { margin-left: auto; display: flex; border: 1px solid var(--gray-200); border-radius: 6px; overflow: hidden; }
.vbtn {
  width: 34px; height: 30px; border: none; background: #fff; color: var(--gray-400);
  display: flex; align-items: center; justify-content: center;
}
.vbtn.on { background: var(--gray-100); color: var(--black); }
.vbtn svg { width: 16px; height: 16px; }

/* ── 게시글 리스트 ─────────────────────── */
.list { border-top: 2px solid var(--black); }
.post {
  display: flex; gap: 14px; padding: 15px 2px;
  border-bottom: 1px solid #EFEFEF;
}
.post:hover .title { text-decoration: underline; }
.post-main { flex: 1; min-width: 0; }
.badge {
  display: inline-block; vertical-align: 1px; margin-right: 6px;
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px;
}
.badge.sell { background: var(--resale-surface-brand); color: var(--resale-action); }
.badge.buy  { background: var(--gray-100); color: var(--resale-muted); }
.badge.auct { background: var(--resale-surface-brand); color: var(--auction); }
.badge.sold { background: var(--gray-100); color: var(--gray-500); }
.title {
  font-size: 16px; color: var(--black); font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  word-break: keep-all; overflow-wrap: anywhere;
}
.title .price-inline { color: var(--green); font-weight: 700; }
.title .price-inline.auct-price { color: var(--auction); }
.kw { color: var(--green); font-weight: 700; }
.title .cmt { color: var(--comment); font-weight: 700; font-size: 13px; margin-left: 4px; }
.desc {
  margin-top: 4px; font-size: 13px; color: var(--gray-700);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  word-break: keep-all; overflow-wrap: anywhere;
}
.meta { margin-top: 6px; font-size: 12px; color: var(--gray-400); display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; }
.meta .nick { color: var(--gray-500); }
.meta i { font-style: normal; margin: 0 6px; color: #D8D8D8; }

/* 경매 줄
   .timer 처럼 흔한 한 단어 클래스는 쓰지 않는다. 2026-09-08 운영에서
   브라우저 확장이 주입한 `.timer { height:4px; width:0 }` 와 부딪혀
   카운트다운이 0x4 로 뭉개지고 글자가 세로로 쌓였다. */
.auct-row {
  margin-top: 7px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--auction-bg); border: 1px solid var(--resale-border-brand); border-radius: 6px;
  padding: 7px 10px; font-size: 13px;
}
.auct-row .cur { color: var(--auction); font-weight: 700; font-size: 14px; }
.auct-row .cnt { color: var(--gray-700); }
.auct-row .auct-timer {
  margin-left: auto; font-weight: 700; color: var(--gray-900);
  font-variant-numeric: tabular-nums;
  white-space: nowrap; flex-shrink: 0;
}
.auct-row .auct-timer.hot { color: var(--red); }
.auct-row .auct-timer::before { content: "남은 시간 "; font-weight: 400; }
.auct-row .auct-timer.done { color: var(--gray-500); }
.auct-row .auct-timer.done::before { content: ""; }
.bid-btn {
  flex-shrink: 0; border: none; background: var(--auction); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 4px;
}
.bid-btn { min-height:44px; }
.bid-btn:hover { background: var(--resale-action-hover); }
.bid-btn:disabled { background: #C0C0C0; cursor: default; }

/* 썸네일 */
.thumb {
  position: relative; flex-shrink: 0;
  width: 92px; height: 92px; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(0,0,0,.06); background: var(--gray-100);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .pcount {
  position: absolute; right: 5px; top: 5px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 10px; padding: 1px 7px;
}

/* ── 그리드 뷰 ────────────────────────── */
.list.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 14px; border-top: none; padding-top: 12px; }
.list.grid .post { flex-direction: column-reverse; gap: 8px; padding: 0; border-bottom: none; }
.list.grid .thumb { width: 100%; height: auto; aspect-ratio: 1/1; }
.list.grid .desc { display: none; }
.list.grid .title { font-size: 14px; }
.list.grid .meta { display: none; }
@media (min-width: 640px) { .list.grid { grid-template-columns: repeat(3, 1fr); } }

.no-items { padding: 70px 0; text-align: center; color: var(--gray-400); }
/* 아무것도 없는 화면이 텍스트 한 줄로 끝나지 않게 R 심볼을 세운다 (2026-09-17) */
.no-items::before {
  content: "";
  display: block;
  width: 72px; height: 72px;
  margin: 0 auto 14px;
  background-image: url("../images/brand/mark-r.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .5;
}

/* ── 페이지네이션 ─────────────────────── */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 24px; }
.pagination a, .pagination span {
  min-width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 13px; color: var(--gray-700); padding: 0 6px;
}
.pagination a:hover { background: var(--gray-100); }
.pagination .current { background: var(--black); color: #fff; font-weight: 700; }

/* ── 글쓰기 플로팅 버튼 ────────────────── */
.fab {
  position: fixed; right: max(18px, calc(50vw - 384px + 18px)); bottom: 26px;
  height: 48px; padding: 0 20px; border-radius: 24px; border: none;
  background: var(--green); color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(3,199,90,.4);
  display: flex; align-items: center; gap: 6px; z-index: 20;
}
.fab:hover { background: var(--green-dark); }

/* ── 모달 공통 ────────────────────────── */
.modal-dim {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90;
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.modal-dim.show { display: flex; }
.login-modal {
  width: 100%; max-width: 400px; background: #fff; border-radius: 14px;
  padding: 36px 32px 28px; position: relative;
  animation: pop .18s ease-out;
  max-height: 92vh; overflow-y: auto;
}
@keyframes pop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.login-modal .x {
  position: absolute; right: 14px; top: 12px; border: none; background: none;
  font-size: 20px; color: var(--gray-400); padding: 6px;
}
.login-logo {
  text-align: center; font-size: 26px; font-weight: 800; color: var(--green);
  letter-spacing: -1px; margin-bottom: 24px;
}
.modal-desc {
  text-align: center; font-size: 13px; color: var(--gray-700);
  line-height: 1.6; margin: -8px 0 18px;
}
.login-modal .field {
  display: block; width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--gray-200); font-size: 15px; outline: none;
  background: #fff; color: var(--black); border-radius: 0;
}
.login-modal .field:focus { border-color: var(--green); position: relative; z-index: 1; }
.login-modal .field + .field { border-top: none; }
.login-modal .field:first-of-type { border-radius: 8px 8px 0 0; }
.login-modal .field:last-of-type { border-radius: 0 0 8px 8px; }
.login-modal .field.single { border-radius: 8px; }
.login-opts {
  display: flex; flex-direction: column; gap: 8px;
  margin: 12px 2px 16px; font-size: 13px; color: var(--gray-700);
}
.login-opts label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.login-opts input[type=checkbox] { accent-color: var(--green); width: 15px; height: 15px; flex-shrink: 0; }
.login-opts a { color: var(--gray-900); text-decoration: underline; }
/* 흰 글자 버튼은 짙은 녹색 토큰을 쓴다 — 밝은 녹색은 대비 2.2:1 (2026-09-18). */
.login-submit {
  width: 100%; height: 50px; border: none; border-radius: 8px;
  background: var(--resale-action); color: #fff; font-size: 16px; font-weight: 700;
}
.login-submit:hover { background: var(--resale-action-hover); }
.login-links {
  display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 13px; color: var(--gray-500); flex-wrap: wrap;
}
.login-links a:hover { text-decoration: underline; }
.login-links i { font-style: normal; color: var(--gray-200); }
.login-links b { color: var(--green); }

/* ── 입찰 모달 ────────────────────────── */
.bid-modal-title {
  text-align: center; font-size: 18px; font-weight: 800; color: var(--auction);
  margin-bottom: 6px;
}
.bid-product {
  text-align: center; font-size: 13px; color: var(--gray-700); margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bid-info {
  background: var(--auction-bg); border: 1px solid var(--resale-border-brand); border-radius: 8px;
  padding: 12px 14px; font-size: 13px; color: var(--gray-900); margin-bottom: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.bid-info b { color: var(--auction); }
.bid-error { color: var(--red); font-size: 13px; margin: 10px 2px 0; display: none; }
.bid-error.show { display: block; }
.bid-submit { background: var(--auction); }
.bid-submit:hover { background: var(--resale-action-hover); }

/* ── 토스트 ───────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px);
  background: rgba(25,25,25,.92); color: #fff; font-size: 13px;
  padding: 10px 18px; border-radius: 20px; opacity: 0; pointer-events: none;
  transition: all .25s; z-index: 100; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ── 모바일 ──────────────────────────────
   좁은 화면에서는 상단 링크를 '전체' 하나로 접는다.
   나머지 진입점은 하단 탭바와 사이드 패널이 담당하므로 중복이다.
   예전에는 링크가 모두 남아 390px 에서 177px 가로 넘침이 났다. */
@media (max-width: 640px) {
  .board { max-width: none; }
  .title { font-size: 15px; }
  .top { gap: 10px; padding: 10px 0; }
  .brand { font-size: 18px; }
  .brand .brand-logo { height: 26px; }
  .searchbar { height: 44px; }
  .top-links { gap: 0; }
  .top-link { display: none; }
  .top-link.hamburger { display: flex; }
  .board-head { flex-wrap: wrap; row-gap: 8px; }
  .head-tabs { margin-left: 0; order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .head-tabs::-webkit-scrollbar { display: none; }
  .view-toggle { margin-left: auto; }
  .thumb { width: 78px; height: 78px; }
}

@media (max-width: 380px) {
  /* 예전에는 브랜드를 통째로 숨겼다. 워드마크가 검색창을 밀어냈기 때문이다.
     브랜드가 사라지는 대신 폭을 거의 쓰지 않는 심볼만 남긴다. */
  .brand .brand-logo { display: none; }
  .brand .brand-logo-mark { display: block; }
}


/* ── 폼 보조 요소 (공통) ──────────────────── */
.req { color: var(--red); font-weight: 700; margin-left: 2px; }
.field-sub { font-size: 12px; font-weight: 400; color: var(--gray-500); margin-left: 6px; }
.field-hint { margin: 6px 0 0; font-size: 12px; color: var(--gray-500); min-height: 16px; }

/* 구매자 제안 가격 */
.offer-label { display: inline-flex; align-items: center; gap: 4px; }
.offer-won { color: var(--gray-500); font-weight: 700; }
.offer-input {
  width: 190px; max-width: 52vw; height: 34px; padding: 0 10px;
  border: 1px solid var(--gray-200); border-radius: 8px;
  font-size: 13px; color: var(--black); background: #fff;
}
.offer-input:focus { border-color: var(--green); outline: none; }

/* 사진 첨부 */
.file-input { padding: 9px 12px; height: auto; }
.img-existing { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.img-chip {
  width: 92px; border: 1px solid var(--gray-200); border-radius: 8px;
  overflow: hidden; background: #fff; cursor: pointer;
}
.img-chip img { width: 100%; height: 92px; object-fit: cover; display: block; }
.img-chip-del {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 5px 0; font-size: 12px; color: var(--gray-700);
  border-top: 1px solid var(--gray-200);
}
.img-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.img-preview img {
  width: 92px; height: 92px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--gray-200);
}

/* 터치 영역 최소 확보 */
.opt-label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.vbtn { min-width: 40px; min-height: 40px; }

/* 주문 내역 상품 셀 */
.order-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.order-thumb {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 8px; overflow: hidden;
  background: var(--gray-100); border: 1px solid var(--gray-200); display: block;
}
.order-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.order-name { min-width: 0; word-break: keep-all; overflow-wrap: anywhere; }

/* 구매자 공개 제안가 */
.buyer-offer {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 6px 0 0; padding: 5px 10px;
  background: var(--green-bg); border-radius: 8px;
  font-size: 13px; color: var(--gray-900); white-space: nowrap;
}
.buyer-offer-label {
  font-size: 11px; font-weight: 700; color: var(--green-dark);
  background: #fff; border-radius: 4px; padding: 1px 6px;
}

/* ── 상품 상세 갤러리 ─────────────────────── */
.detail-gallery { margin: 14px 0 18px; }
.gallery-main {
  width: 100%; aspect-ratio: 1 / 1; max-height: 520px;
  border-radius: 12px; overflow: hidden; background: var(--gray-100);
  border: 1px solid var(--gray-200);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery-thumbs {
  display: flex; gap: 8px; margin-top: 10px; overflow-x: auto;
  scrollbar-width: none; padding-bottom: 2px;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  flex: 0 0 auto; width: 64px; height: 64px; padding: 0;
  border: 2px solid transparent; border-radius: 8px; overflow: hidden;
  background: var(--gray-100); cursor: pointer;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.on { border-color: var(--green); }
.sp-email-verification {
  display: flex; justify-content: space-between; margin: 0 16px 12px;
  padding: 12px 14px; border-radius: 10px; background: #edf6f0; color: #1d7150;
  font-size: 14px; font-weight: 600;
}
@media (max-width: 767px) {
  .wrap.product-detail-page { padding-left: 0; padding-right: 0; }
  .product-detail-page .detail-header { padding-left: 16px; padding-right: 16px; }
  /* Use the content width, excluding the browser scrollbar. */
  .detail-gallery {
    width: calc(100% + 32px); max-width: none; margin: 18px -16px;
    padding: 0; border: 0; border-radius: 0; box-shadow: none;
  }
  .detail-gallery .gallery-main {
    width: 100%; max-width: none; max-height: none; aspect-ratio: auto;
    border: 0; border-radius: 0; background: #fff;
  }
  .detail-gallery .gallery-main img { width: 100%; height: auto; object-fit: contain; }
  .detail-gallery .gallery-thumbs { padding: 0 16px 2px; }
}
@media (min-width: 768px) {
  .gallery-main { max-width: 520px; margin: 0 auto; }
}

/* 목록 정렬·거래방식 칩 (2026-09-18 UI 점검)
   2026-09-21 클라이언트 확정으로 화면에서는 걷어냈다(index.php). 조회 기능(?sort/?trade)은
   그대로 살아 있고 되살릴 가능성이 있어 스타일은 남겨 둔다 — 지금은 쓰는 마크업이 없다. */
.list-filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 4px; }
.filter-chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px;
  border: 1px solid var(--gray-200); border-radius: 16px;
  font-size: 12px; color: var(--gray-700); background: #fff; white-space: nowrap;
}
.filter-chip:hover { border-color: var(--resale-border-brand); color: var(--resale-action); }
.filter-chip.on {
  background: var(--resale-surface-brand); border-color: var(--resale-border-brand);
  color: var(--resale-action); font-weight: 700;
}
