/* ==========================================================
   pages/category.css — 카테고리 상세 전용
   ========================================================== */

.cat-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cat-meta .tag { height: 28px; padding: 0 11px; font-size: 12.5px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cat-meta .tag .ico { width: 14px; height: 14px; color: var(--ink-4); }
.page-hero .cat-meta + .basis { margin-top: 12px; }

.ct-layout { display: grid; gap: 16px; }
.ct-rank { padding: 16px 10px; min-width: 0; }
.ct-rank .card-head { padding: 0 8px; }
.ct-side { min-width: 0; }
.ct-side .kpi-k .ico { width: 11px; height: 11px; }
.ct-side .kpi:nth-child(1) .kpi-k .ico { color: var(--exp); }
.ct-side .kpi:nth-child(2) .kpi-k .ico { color: var(--aff); }
.ct-mine { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--navy-soft); font-size: 13.5px; }
.ct-mine span { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--navy-2); }
.ct-mine span .ico { width: 15px; height: 15px; color: #F5A800; }
.ct-mine b { margin-left: auto; font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ct-mine em { font-style: normal; font-weight: 700; color: var(--ink-3); }
.ct-dl { margin-top: 12px; }
.ct-dl > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.ct-dl > div:last-child { border-bottom: 0; }
.ct-dl dt { color: var(--ink-3); font-weight: 600; }
.ct-dl dd { margin: 0; font-weight: 800; }

.ct-others { display: grid; gap: 4px; }
.ct-others a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 12px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.ct-others a:hover { background: var(--surface-2); }
.ct-others a[aria-current] { background: var(--navy-soft); color: var(--navy); }

/* 가격표 */
.mx-wrap { max-height: 70vh; overflow: auto; border: 1px solid var(--line-2); border-radius: var(--r-md); }
.mx-wrap .tbl thead th { background: #fff; }
.mx-wrap .tbl th, .mx-wrap .tbl td { padding: 10px 12px; }
.mx-wrap .tbl tbody th { font-weight: 700; }
.mx-wrap .tbl td b { font-weight: 700; }

/* 품목 바로가기 */
.ct-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 8px; }
.ct-item { display: grid; gap: 1px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2); transition: background .12s; }
.ct-item:hover { background: #EDF0F5; }
.ct-item b { font-size: 15px; font-weight: 800; }
.ct-item span { font-size: 12px; color: var(--ink-3); }
.ct-item em { margin-top: 6px; font-style: normal; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ct-item small { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-3); }

@media (min-width: 960px) {
  .ct-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
}
