@charset "utf-8";
/* ==========================================================================
   카테고리 / 지역별 탐색 페이지 (제품·상가 목록 없이 분류만)
   파일: sub/browse.custom.css
   ========================================================================== */

.nvr-catp-page {
    background: #f5f5f7;
    min-height: calc(100vh - 56px);
    padding: 0 0 24px;
}

.nvr-catp {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(20,20,30,.04);
}

@media (min-width: 481px) {
    .nvr-catp-page { padding-top: 16px; }
    .nvr-catp { border-radius: 20px; }
}

/* ── 헤더 ──────────────────────────────────────────── */
.nvr-catp-head {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 8px;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid #f0f0f2;
}
.nvr-catp-head span {
    flex: 1;
    text-align: center;
    font-size: 17px;
    font-weight: 800;
    color: #131316;
    letter-spacing: -.2px;
}
.nvr-catp-head-spacer { flex: 1; }
.nvr-catp-back {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #444;
    font-size: 19px;
    border-radius: 50%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .15s ease;
}
.nvr-catp-back:hover,
.nvr-catp-back:active { background: #f2f2f4; }

.nvr-catp-body {
    display: flex;
    align-items: stretch;
}

/* ── 좌측: 대분류 목록 ─────────────────────────────── */
.nvr-catp-side {
    flex: 0 0 100px;
    background: #fafafa;
    border-right: 1px solid #f0f0f2;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 8px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.nvr-catp-side-item {
    display: block;
    padding: 12px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #86868b;
    text-align: center;
    text-decoration: none;
    line-height: 1.35;
    word-break: keep-all;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
    transition: background .15s ease, color .15s ease, transform .1s ease;
}
.nvr-catp-side-item:active { transform: scale(.96); }
.nvr-catp-side-item.active {
    background: #fff3ea;
    color: #ff6b01;
    font-weight: 800;
    box-shadow: 0 1px 2px rgba(255,107,1,.12);
}

/* ── 우측: 상세 분류 ───────────────────────────────── */
.nvr-catp-main {
    flex: 1;
    min-width: 0;
    padding: 8px 14px 40px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.nvr-catp-group {
    padding: 14px 0 8px;
    border-bottom: 1px solid #f4f4f5;
}
.nvr-catp-group:last-child { border-bottom: none; }

.nvr-catp-header,
.nvr-catp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #1c1c1e;
    border-radius: 12px;
    padding: 11px 10px;
    margin: 0 -10px;
    -webkit-tap-highlight-color: transparent;
    transition: background .15s ease, color .15s ease;
}
.nvr-catp-header {
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: -.2px;
}
.nvr-catp-row {
    font-size: 13.5px;
    font-weight: 500;
    color: #48484c;
}
.nvr-catp-row-sub {
    padding-left: 22px;
    font-size: 12.5px;
    color: #86868b;
}
.nvr-catp-row-sub::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #d4d4d8;
    margin-right: 8px;
    flex-shrink: 0;
}
.nvr-catp-header i,
.nvr-catp-row i {
    color: #d4d4d8;
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 8px;
    transition: color .15s ease, transform .15s ease;
}
.nvr-catp-header:hover,
.nvr-catp-row:hover,
.nvr-catp-header:active,
.nvr-catp-row:active {
    background: #f7f7f8;
    color: #ff6b01;
}
.nvr-catp-header:hover i,
.nvr-catp-row:hover i,
.nvr-catp-header:active i,
.nvr-catp-row:active i {
    color: #ff6b01;
    transform: translateX(2px);
}

.nvr-catp-empty {
    padding: 80px 0;
    text-align: center;
    color: #aaa;
    font-size: 13px;
}

@media (max-width: 480px) {
    .nvr-catp-side { flex: 0 0 88px; }
    .nvr-catp-main { padding: 8px 10px 40px; }
}
