@charset "utf-8";
/* ==========================================================================
   Cstore 목록 페이지 전용 커스텀 디자인 (Naver 스마트스토어 참고)
   파일: skin/board/shop_gallery/list.custom.css
   작성: 2026-07-26 — 기존 style.css/list.skin.php 로직은 건드리지 않고
         이 페이지 전용 마크업(.nvr-* 클래스)에만 적용되는 신규 스타일시트.
   ========================================================================== */

#bo_custom_gall {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
    color: #191919;
}

/* ── 카테고리 바 (지역별 카테고리) ───────────────────────────── */
#bo_cate {
    position: relative;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 6px;
    margin: 20px 0 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#bo_cate::-webkit-scrollbar { display: none; }
#bo_cate_ul {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
    margin: 0;
    list-style: none;
    white-space: nowrap;
}
#bo_cate_ul li { display: flex; align-items: center; }
#bo_cate_ul .chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.2px;
    color: #767676;
    background: transparent;
    border: none;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
    cursor: pointer;
}
#bo_cate_ul .chip:hover { color: #191919; background: #f5f5f5; }
#bo_cate_ul .chip.active {
    color: #fff;
    background: #ff6b01;
    font-weight: 700;
}
#bo_cate_ul .chip .pin-icon { width: 12px; height: 12px; opacity: .85; }
#bo_cate_ul .cate-dot { width: 3px; height: 3px; border-radius: 50%; background: #ddd; flex-shrink: 0; margin: 0 6px; }
@media (max-width: 640px) {
    #bo_cate { border-radius: 11px; padding: 5px; margin: 14px 0 18px; }
    #bo_cate_ul .chip { padding: 7px 11px; font-size: 12px; }
}

/* ── 상단 툴바 ────────────────────────────────────────────── */
.nvr-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.nvr-total {
    font-size: 13px;
    color: #767676;
    letter-spacing: -0.1px;
}
.nvr-total strong { color: #191919; font-weight: 700; }
.nvr-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nvr-tool-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 9px;
    background: #f5f5f5; color: #767676; border: none; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.nvr-tool-btn:hover { background: #ececec; color: #191919; }
.nvr-write-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0 16px; height: 34px; border-radius: 9px;
    background: #ff6b01; color: #fff; font-size: 13px; font-weight: 700;
    text-decoration: none; transition: background .15s ease;
}
.nvr-write-btn:hover { background: #e56000; }

/* ── 상가 카드 그리드 ─────────────────────────────────────── */
.nvr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
@media (max-width: 860px) {
    .nvr-grid { grid-template-columns: 1fr; gap: 14px; }
}

.nvr-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
.nvr-card:hover { box-shadow: 0 8px 24px rgba(25,25,25,.08); transform: translateY(-2px); }

/* 배너 */
.nvr-banner { position: relative; display: block; aspect-ratio: 21 / 9; overflow: hidden; background: #f5f5f5; }
.nvr-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nvr-card:hover .nvr-banner img { transform: scale(1.045); }
.nvr-region-badge {
    position: absolute; left: 12px; bottom: 12px;
    display: inline-flex; align-items: center;
    padding: 4px 10px; border-radius: 7px;
    background: rgba(25,25,25,.55); backdrop-filter: blur(2px);
    color: #fff; font-size: 11px; font-weight: 600; letter-spacing: -0.1px;
    max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 상가 정보 */
.nvr-info { padding: 14px 16px 4px; }
.nvr-shop-name {
    font-size: 16px; font-weight: 700; letter-spacing: -0.3px;
    color: #191919; line-height: 1.35;
    display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nvr-shop-tagline {
    margin-top: 3px; font-size: 12.5px; color: #999;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 최신 제품 스트립 */
.nvr-strip-wrap { padding: 12px 16px 14px; }
.nvr-strip-label {
    font-size: 11.5px; font-weight: 700; color: #a8a8a8;
    letter-spacing: .2px; margin-bottom: 8px;
    display: flex; align-items: center; gap: 5px;
}
.nvr-strip-outer { position: relative; }
.nvr-strip {
    display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth;
    scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px;
}
.nvr-strip::-webkit-scrollbar { display: none; }
.nvr-strip-item {
    flex-shrink: 0; width: 92px; height: 92px; border-radius: 10px;
    overflow: hidden; border: 1px solid #f0f0f0; display: block;
    transition: opacity .15s ease;
}
.nvr-strip-item:hover { opacity: .82; }
.nvr-strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nvr-strip-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; border-radius: 50%;
    background: #fff; border: 1px solid #ececec; box-shadow: 0 2px 6px rgba(0,0,0,.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #767676; cursor: pointer; z-index: 2;
    opacity: 0; transition: opacity .15s ease;
}
.nvr-card:hover .nvr-strip-nav { opacity: 1; }
.nvr-strip-nav.prev { left: -4px; }
.nvr-strip-nav.next { right: -4px; }

/* 카드 하단 액션 */
.nvr-card-foot {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid #f2f2f2; padding: 11px 16px;
    background: #fafafa;
}
.nvr-more-link { font-size: 13px; font-weight: 700; color: #ff6b01; text-decoration: none; }
.nvr-more-link:hover { text-decoration: underline; }
.nvr-review-link { font-size: 12.5px; color: #999; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.nvr-review-link:hover { color: #767676; }

.nvr-empty { grid-column: 1 / -1; text-align: center; color: #aaa; padding: 70px 0; font-size: 14px; }

/* ── 더보기 / 검색 모달 ───────────────────────────────────── */
.nvr-loadmore-wrap { margin-top: 28px; text-align: center; }
.nvr-loadmore-btn {
    display: inline-block; cursor: pointer;
    background: #191919; color: #fff; font-weight: 700; font-size: 13.5px;
    padding: 12px 30px; border-radius: 10px; transition: background .15s ease;
}
.nvr-loadmore-btn:hover { background: #000; }
