/* Market 탭 */

.mk__body { padding: var(--section-top) var(--pad-screen); }

.mk__search {
  width: 100%; box-sizing: border-box; padding: 12px 13px; margin-bottom: 14px;
  border: 1.5px solid var(--line-12); border-radius: 10px;
  font-size: 14.5px; color: var(--text-strong); background: var(--surface-header); outline: none;
}

.mk__controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mk__filters  { display: flex; gap: 6px; overflow-x: auto; }
.mk__divider  { width: 1px; height: 18px; background: var(--line-12); flex-shrink: 0; }
.mk__sorts    { display: flex; gap: 14px; flex-shrink: 0; }
.mk__sort     { font-size: 12.5px; font-weight: 600; color: var(--text-dim); cursor: pointer; white-space: nowrap; }
.mk__sort.is-on { color: var(--text-mid); }

.mk__bfilter {
  padding: 8px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line-12);
  background: var(--surface-header); color: var(--text-muted);
  font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; flex-shrink: 0; min-height: 38px;
}
.mk__bfilter.is-on { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .12); color: var(--text-strong); }

/* 강사 카드 */
.ins {
  background: var(--surface-header); border: 1px solid var(--line-10);
  border-radius: 18px; padding: 18px; margin-bottom: 12px; cursor: pointer; width: 100%; text-align: left;
}
.ins__row  { display: flex; gap: 14px; }
.ins__photo {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: repeating-linear-gradient(135deg, rgba(122,201,255,.18), rgba(122,201,255,.18) 6px, rgba(122,201,255,.08) 6px, rgba(122,201,255,.08) 12px);
  display: flex; align-items: center; justify-content: center;
  font-family: monospace; font-size: 12.5px; color: #5a7a86;
}
.ins__main  { flex: 1; min-width: 0; }
.ins__head  { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; flex-wrap: wrap; }
.ins__name  { font-size: 18px; font-weight: 700; color: var(--text-strong); }
.ins__grade { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 6px; border-radius: var(--r-pill); }
.ins__gradename { font-size: 14.5px; font-weight: 700; }
.ins__new   { font-size: 14.5px; color: #8FD3EA; font-weight: 700; }
.ins__rate  { font-size: 14.5px; color: var(--accent-rating); font-weight: 600; }
.ins__rate small { color: var(--text-muted); font-weight: 500; }
.ins__chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; align-items: center; }
.ins__bchip { font-size: 12.5px; font-weight: 700; padding: 4px 9px; border-radius: 6px; }
.ins__bchip--main { background: rgba(94, 198, 240, .16); color: var(--accent-forecast); }
.ins__bchip--sub  { background: rgba(255, 255, 255, .06); color: var(--text-muted); font-weight: 500; }
.ins__sep   { width: 1px; height: 14px; background: rgba(255, 255, 255, .22); margin: 0 4px; flex-shrink: 0; }
.ins__skills { font-size: 13px; font-weight: 500; color: #8a8a8e; white-space: nowrap; }

/* 강사 상세 */
.mkd__hero { background: linear-gradient(160deg, #062B3E, #0A4F6E); padding: 16px 16px 22px; position: relative; overflow: hidden; }
.mkd__hero::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 18px; background: var(--app-bg); border-radius: 18px 18px 0 0; }
.mkd__back { position: relative; z-index: 1; background: none; border: none; color: rgba(255, 255, 255, .8); font-size: 15.5px; cursor: pointer; padding: 8px 0 12px; min-height: 44px; }
.mkd__prof { position: relative; z-index: 1; display: flex; gap: 14px; align-items: flex-start; }
.mkd__name { font-size: 22px; font-weight: 800; color: #fff; }
.mkd__ratingline { font-size: 14px; color: rgba(255, 255, 255, .78); margin-top: 6px; }
.mkd__exp  { font-size: 13.5px; color: rgba(255, 255, 255, .62); margin-top: 6px; }
.mkd__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.mkd__vbadge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(94, 198, 240, .2); color: #bfe8fb; }
.mkd__sbadge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(245, 239, 230, .14); color: #f0e6d8; }
.mkd__bio  { font-size: 14.5px; color: rgba(255, 255, 255, .8); line-height: 1.65; margin-top: 12px; }

.mkd__body { padding: 8px var(--pad-screen) 20px; }
.mkd__sect { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 2px 12px; }
.mkd__secth { font-size: 16px; font-weight: 700; color: var(--text-strong); }
.mkd__guide { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; color: var(--accent-forecast); font-size: 13.5px; font-weight: 600; cursor: pointer; padding: 6px 2px; min-height: 36px; }

.prod {
  background: var(--surface-header); border: 1px solid var(--line-10);
  border-radius: var(--r-mid); padding: 16px 18px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 14px; cursor: pointer; width: 100%; text-align: left;
}
.prod.is-off { cursor: default; }
.prod__main { flex: 1; min-width: 0; }
.prod__name { font-size: 15.5px; font-weight: 700; color: var(--text-strong); }
.prod__desc { font-size: 13px; color: var(--text-muted); margin-top: 5px; line-height: 1.5; }
.prod__price { font-size: 16px; font-weight: 800; color: var(--text-strong); white-space: nowrap; }
.prod.is-off .prod__name, .prod.is-off .prod__desc, .prod.is-off .prod__price { color: var(--text-dim); }
.prod__na { font-size: 13.5px; font-weight: 600; color: var(--text-dim); white-space: nowrap; }
.prod__divider { height: 1px; background: var(--line-08); margin: 16px 4px; }
.prod__pending { font-size: 12.5px; color: var(--text-muted); margin: -4px 4px 12px; }

/* 상품 상세 시트 */
.pd__tag  { font-size: 15.5px; color: var(--text-mid); line-height: 1.65; margin-bottom: 18px; }
.pd__h    { font-size: 13px; font-weight: 700; color: var(--accent-forecast); letter-spacing: .4px; margin: 18px 0 10px; }
.pd__step { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-quiet); line-height: 1.6; margin-bottom: 9px; }
.pd__n    { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(94, 198, 240, .16); color: var(--accent-forecast); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pd__body { font-size: 14.5px; color: var(--text-quiet); line-height: 1.65; }
.pd__note { border-left: 3px solid #e2a33a; background: rgba(255, 255, 255, .045); border-radius: 0 8px 8px 0; padding: 11px 13px; font-size: 14px; color: var(--text-quiet); line-height: 1.6; margin-top: 14px; }
.pd__cross { background: none; border: none; color: var(--accent-forecast); font-size: 14px; font-weight: 600; cursor: pointer; padding: 12px 0 0; text-align: left; min-height: 44px; }
.pd__price { font-size: 20px; font-weight: 800; color: var(--text-strong); }
.pd__band  { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

.guide__item { padding: 14px 0; border-bottom: 1px solid var(--line-08); }
.guide__item:last-child { border-bottom: none; }
.guide__n { font-size: 15.5px; font-weight: 700; color: var(--text-strong); margin-bottom: 5px; }
.guide__b { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
