/* landsearch_result.php — PC·태블릿 (768+) toolbar 디자인.
   모바일 정렬탭 디자인을 PC 사이즈(A = height 26 / font 14 / radius 4 — 컴팩트)로 확장.
   PC freeze 상태에서 toolbar 영역만 해제 (2026-05-15). */

@media (min-width: 768px) {
  /* ===== 본문 1200 가운데 정렬 강제 (viewport 전체 기준) ===== */
  .rsl-list .list-wrapper,
  .rsl-list .rsl-list__main {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ===== toolbar 밑 가이드선/구분선 제거 (toolbar·header 및 모든 자식의 border-bottom·pseudo) ===== */
  .rsl-list .rsl-list__header,
  .rsl-list .rsl-list__header > *,
  .rsl-list .rsl-list__toolbar,
  .rsl-list .rsl-list__toolbar > *,
  .rsl-list .rsl-list__controls.listtmp,
  .rsl-list .listtmp__right,
  .rsl-list .listtmp__sorts.rsl-list__sort {
    border-bottom: none !important;
    box-shadow: none !important;
  }
  .rsl-list .rsl-list__header::after,
  .rsl-list .rsl-list__header::before,
  .rsl-list .rsl-list__toolbar::after,
  .rsl-list .rsl-list__toolbar::before,
  .rsl-list .rsl-list__controls.listtmp::after,
  .rsl-list .listtmp__right::after,
  .rsl-list .listtmp__sorts.rsl-list__sort::after {
    display: none !important;
    content: none !important;
  }

  /* ===== 정렬 그룹 ===== */
  .rsl-list .listtmp__sorts.rsl-list__sort {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    align-items: center;
  }

  /* 정렬 pill — A 사이즈 */
  .rsl-list .listtmp__sorts.rsl-list__sort .listtmp__sort {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    height: 26px;
    padding: 0 10px !important;
    box-sizing: border-box;
    border-radius: 4px !important;
    border: 1px solid #e5e7eb !important;
    background: #fff !important;
    color: #6b7280 !important;
    font-family: inherit;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    outline: none;
    letter-spacing: 0;
  }
  .rsl-list .listtmp__sorts.rsl-list__sort .listtmp__sort:hover {
    border-color: #c4c7cf !important;
    color: #111 !important;
  }
  .rsl-list .listtmp__sorts.rsl-list__sort .listtmp__sort.is-active {
    background: #1860ef !important;
    color: #fff !important;
    border-color: #1860ef !important;
  }

  /* ===== 페이지당 개수 ===== */
  /* 래퍼 div .rsl-list__perpage — PC base의 89×39 박스 디자인 무력화 */
  .rsl-list .rsl-list__perpage {
    width: auto !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }

  /* 실제 select .listtmp__page — A 사이즈 디자인 */
  .rsl-list .listtmp__page {
    height: 26px !important;
    width: auto !important;
    font-size: 14px !important;
    padding: 0 24px 0 10px !important;
    border-radius: 4px !important;
    border: 1px solid #e5e7eb !important;
    color: #111 !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    line-height: 1;
    box-sizing: border-box;
    outline: none;
  }
  .rsl-list .listtmp__page:hover { border-color: #c4c7cf !important; }
  .rsl-list .listtmp__page:focus { border-color: #1860ef !important; }

  /* ===== 총건수 — PC·태블릿 폰트 16 + 굵게 + em 색상 통일 ===== */
  .rsl-list .rsl-list__toolbar .total-count {
    font-size: 16px !important;
    font-weight: 700 !important;
  }
  .rsl-list .rsl-list__toolbar .total-count em {
    color: #2563eb !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-style: normal !important;
  }
  /* PC base의 ::before "경매" 배지 제거 */
  .rsl-list--auction .rsl-list__count .total-count::before { display: none; }
}
