/* ============================================================
   v2 디자인 시스템 — 강남언니 스타일 앱형 레이아웃
   전역 오버라이드는 .v2-body 프리픽스로 스코프.
   .v2-* 컴포넌트 클래스는 프리픽스 불필요.
   ============================================================ */

/* ------------------------------------------------------------
   1. 디자인 토큰
   ------------------------------------------------------------ */
:root {
    --v2-brand: #6010A0;
    --v2-brand-strong: #6F13B8;
    --v2-brand-deep: #480C78;
    --v2-brand-bg: #F2E8FB;
    --v2-brand-bg-soft: #F9F4FE;
    --v2-gray-50: #F7F9FA;
    --v2-gray-100: #EFF2F5;
    --v2-gray-150: #E4E8EC;
    --v2-gray-200: #D8DFE6;
    --v2-gray-300: #B5BFC9;
    --v2-gray-400: #8694A2;
    --v2-gray-500: #697683;
    --v2-gray-600: #515E6A;
    --v2-gray-700: #3A444D;
    --v2-gray-800: #21272D;
    --v2-gray-900: #131517;
    --v2-blue: #3270D6;
    --v2-blue-bg: #F5F9FF;
    --v2-yellow: #F9C647;
    --v2-pink: #F982A7;
    --v2-radius-sm: 8px;
    --v2-radius: 12px;
    --v2-radius-lg: 16px;
    --v2-radius-full: 9999px;
    --v2-font: 'Pretendard Variable', Pretendard, -apple-system, 'Noto Sans KR', sans-serif;
    --v2-brand-gradient: linear-gradient(90deg, #6010A0, #8A2BD9, #B368F0);
}

/* ------------------------------------------------------------
   2. 전역 오버라이드 (.v2-body 스코프)
   ------------------------------------------------------------ */
.v2-body {
    background: var(--v2-gray-100);
    font-family: var(--v2-font);
    color: var(--v2-gray-900);
    letter-spacing: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* v1 폴백 뷰가 프레임 안에서 렌더링될 때 폭/여백 정리 */
/* v1 폴백 뷰 컨테인먼트: 데스크톱 그리드/와이드 요소가 616px 프레임을 뚫지 않게 */
.v2-body .v2-main {
    overflow-x: clip;
}

.v2-body .v2-main .row > [class*="col-"] {
    width: 100%;
    flex: 0 0 auto;
}

.v2-body .v2-main img,
.v2-body .v2-main video,
.v2-body .v2-main iframe,
.v2-body .v2-main canvas {
    max-width: 100%;
    height: auto;
}

.v2-body .v2-main table {
    max-width: 100%;
}

.v2-body .container,
.v2-body .container-fluid,
.v2-body .container-lg,
.v2-body .container-md,
.v2-body .container-sm,
.v2-body .container-xl,
.v2-body .container-xxl {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}

.v2-body a {
    text-decoration: none;
}

.v2-body img {
    max-width: 100%;
}

/* ------------------------------------------------------------
   3. 레이아웃 골격
   ------------------------------------------------------------ */
/* front.css의 html,body { overflow-x: hidden } 은 스크롤 컨테이너를 만들어
   viewport 기준 position: sticky(좌측 패널/헤더/하단 내비)를 전부 깨뜨린다.
   v2에서는 동일한 가로 오버플로 차단 효과를 내되 스크롤 컨테이너를 만들지 않는
   clip으로 대체한다. (v2.css는 v2 레이아웃에서만 로드되므로 v1에 영향 없음) */
html, body {
    overflow-x: clip;
}

.v2-page {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 44px;
    background: var(--v2-gray-100);
    min-height: 100dvh;
}

/* 데스크톱 전용 브랜드 패널 */
.v2-side {
    display: none;
}

@media (min-width: 1000px) {
    .v2-side {
        display: block;
        width: 360px;
        flex-shrink: 0;
        position: sticky;
        top: 0;
        height: 100dvh;
        padding: 44px 0 32px;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .v2-side::-webkit-scrollbar {
        display: none;
    }
}

/* ============ 좌측 패널: 브랜드 + 검색 + 실시간 인기 검색어 + QR ============ */
.v2-side-tag {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--v2-gray-800);
}

.v2-side-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.v2-side-brand-mark {
    height: 36px;
    width: auto;
    display: block;
    animation: v2SideBob 4s ease-in-out infinite;
}

@keyframes v2SideBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.v2-side-brand-name {
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    background-image: var(--v2-brand-gradient);
    background-size: 160% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: v2SideGleam 6s ease-in-out infinite;
}

@keyframes v2SideGleam {
    0%, 100% { background-position: 0% 0; }
    50% { background-position: 100% 0; }
}

/* 검색창 */
.v2-side-search {
    display: flex;
    align-items: center;
    margin: 18px 0 20px;
    height: 50px;
    background: #fff;
    border: 1px solid var(--v2-gray-150);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 150ms, box-shadow 150ms;
}

.v2-side-search:focus-within {
    border-color: var(--v2-brand);
    box-shadow: 0 0 0 3px var(--v2-brand-bg);
}

.v2-side-search input {
    flex: 1;
    height: 100%;
    padding: 0 16px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--v2-gray-900);
}

.v2-side-search input::placeholder {
    color: var(--v2-gray-400);
}

.v2-side-search button {
    width: 48px;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--v2-gray-500);
    font-size: 16px;
    cursor: pointer;
}

.v2-side-search button:hover {
    color: var(--v2-brand);
}

/* 실시간 인기 검색어 */
.v2-trend {
    background: #fff;
    border-radius: 16px;
    padding: 16px 10px 10px;
    box-shadow: 0 1px 2px rgba(19, 21, 23, 0.04);
}

.v2-trend-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 8px 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--v2-gray-900);
}

.v2-trend-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--v2-brand);
    animation: v2TrendPulse 1.6s ease-in-out infinite;
}

@keyframes v2TrendPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(96, 16, 160, 0.35); }
    50% { box-shadow: 0 0 0 6px rgba(96, 16, 160, 0); }
}

.v2-trend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    gap: 2px 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.v2-trend-item {
    opacity: 0;
    animation: v2TrendIn 400ms ease forwards;
    animation-delay: calc(var(--d) * 60ms);
}

@keyframes v2TrendIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.v2-trend-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 10px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 150ms;
}

.v2-trend-item a:hover {
    background: var(--v2-gray-50);
}

.v2-trend-rank {
    width: 16px;
    flex: none;
    font-size: 14px;
    font-weight: 800;
    font-style: normal;
    color: var(--v2-gray-400);
    text-align: center;
}

.v2-trend-rank.top {
    color: var(--v2-brand);
}

.v2-trend-word {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--v2-gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v2-trend-up,
.v2-trend-down,
.v2-trend-same,
.v2-trend-new {
    flex: none;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}

.v2-trend-up { color: #E5484D; }
.v2-trend-down { color: #3270D6; }
.v2-trend-same { color: var(--v2-gray-300); }

.v2-trend-new {
    color: var(--v2-brand);
    background: var(--v2-brand-bg);
    border-radius: 4px;
    padding: 1px 4px;
}

/* QR 박스 */
.v2-side-qrbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(19, 21, 23, 0.04);
}

.v2-side-qrhint {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--v2-gray-700);
    word-break: keep-all;
}

.v2-side-qr {
    width: 72px;
    height: 72px;
    flex: none;
    display: block;
    border-radius: 4px;
}

.v2-side-copy {
    margin: 18px 4px 0;
    font-size: 12px;
    color: var(--v2-gray-400);
}

/* 모션 최소화 설정 존중 */
@media (prefers-reduced-motion: reduce) {
    .v2-side, .v2-side * { animation: none !important; transition: none !important; }
    .v2-trend-item { opacity: 1; }
}

/* 흰색 앱 컬럼 */
.v2-frame {
    background: #fff;
    max-width: 616px;
    width: 100%;
    min-width: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 0 1px var(--v2-gray-150);
}

.v2-main {
    flex: 1;
    width: 100%;
    min-width: 0;
}

/* ------------------------------------------------------------
   4. 헤더
   ------------------------------------------------------------ */
.v2-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: box-shadow 200ms;
}

.v2-header.scrolled {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.v2-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.v2-logo-mark {
    height: 26px;
    width: auto;
    display: block;
}

.v2-logo-text {
    background: var(--v2-brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.v2-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.v2-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--v2-radius-full);
    background: transparent;
    color: var(--v2-gray-800);
    font-size: 18px;
    cursor: pointer;
    transition: background 150ms;
}

.v2-icon-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--v2-gray-900);
}

.v2-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 14px;
    border: 1px solid var(--v2-gray-200);
    border-radius: var(--v2-radius-full);
    background: #fff;
    color: var(--v2-gray-800);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 150ms;
}

.v2-login-btn:hover {
    background: var(--v2-gray-50);
    color: var(--v2-gray-900);
}

/* ------------------------------------------------------------
   5. 하단 5탭 내비게이션
   ------------------------------------------------------------ */
.v2-bottom-nav {
    position: sticky;
    bottom: 0;
    z-index: 100;
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--v2-gray-150);
    padding-bottom: env(safe-area-inset-bottom);
}

.v2-bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 56px;
    color: var(--v2-gray-300);
    font-size: 10px;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
}

.v2-bnav-item i {
    font-size: 20px;
    line-height: 1;
}

.v2-bnav-item span {
    line-height: 1;
}

.v2-bnav-item:hover {
    color: var(--v2-gray-500);
}

.v2-bnav-item.active {
    color: var(--v2-gray-900);
    font-weight: 700;
}

/* ------------------------------------------------------------
   6. 푸터
   ------------------------------------------------------------ */
.v2-footer {
    background: #fff;
    border-top: 1px solid var(--v2-gray-150);
    padding: 24px 16px 32px;
    font-size: 13px;
    color: var(--v2-gray-500);
}

.v2-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 20px;
}

.v2-footer-links a {
    color: var(--v2-gray-600);
    font-size: 13px;
    font-weight: 600;
}

.v2-footer-links a:hover {
    color: var(--v2-gray-900);
}

.v2-footer-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--v2-gray-700);
    margin-bottom: 8px;
}

.v2-footer-info ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.v2-footer-info li {
    line-height: 1.7;
}

.v2-footer-info li span {
    font-weight: 600;
    color: var(--v2-gray-600);
    margin-right: 4px;
}

.v2-footer-social {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.v2-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--v2-radius-full);
    background: var(--v2-gray-100);
    color: var(--v2-gray-600);
    font-size: 16px;
    transition: background 150ms;
}

.v2-footer-social a:hover {
    background: var(--v2-gray-150);
    color: var(--v2-gray-900);
}

.v2-footer-newsletter h6 {
    font-size: 13px;
    font-weight: 700;
    color: var(--v2-gray-700);
    margin: 0 0 8px;
}

.v2-newsletter-form {
    display: flex;
    gap: 8px;
}

.v2-newsletter-form input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--v2-gray-200);
    border-radius: var(--v2-radius);
    font-size: 13px;
    font-family: inherit;
    color: var(--v2-gray-900);
    background: #fff;
    outline: none;
}

.v2-newsletter-form input:focus {
    border-color: var(--v2-gray-400);
}

.v2-footer-copy {
    margin: 20px 0 0;
    font-size: 12px;
    color: var(--v2-gray-400);
}

/* ------------------------------------------------------------
   7. 섹션
   ------------------------------------------------------------ */
.v2-section {
    padding: 20px 16px;
}

.v2-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}

.v2-section-title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--v2-gray-900);
}

.v2-more {
    font-size: 13px;
    color: var(--v2-gray-400);
    white-space: nowrap;
}

.v2-more:hover {
    color: var(--v2-gray-600);
}

/* ------------------------------------------------------------
   8. 가로 스크롤 / 칩 / 탭
   ------------------------------------------------------------ */
.v2-scroll-x {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.v2-scroll-x::-webkit-scrollbar {
    display: none;
}

.v2-chip-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.v2-chip-row.v2-scroll-x {
    flex-wrap: nowrap;
    padding: 2px 16px 8px;
    margin: 0 -16px;
}

.v2-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    border: 1px solid var(--v2-gray-200);
    border-radius: var(--v2-radius-full);
    background: #fff;
    color: var(--v2-gray-700);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 150ms, color 150ms, border-color 150ms;
}

.v2-chip:hover {
    background: var(--v2-gray-50);
    color: var(--v2-gray-900);
}

.v2-chip.active {
    background: var(--v2-gray-900);
    border-color: var(--v2-gray-900);
    color: #fff;
}

.v2-chip-mini {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--v2-brand);
    line-height: 1.4;
}

/* 텍스트 탭 스트립 */
.v2-tabs {
    display: flex;
    align-items: stretch;
    box-shadow: inset 0 -1px 0 var(--v2-gray-150);
    background: #fff;
}

.v2-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--v2-gray-400);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.v2-tab:hover {
    color: var(--v2-gray-600);
}

.v2-tab.active {
    color: var(--v2-gray-900);
    font-weight: 700;
}

.v2-tab.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    background: var(--v2-gray-900);
    border-radius: 1px;
}

/* ------------------------------------------------------------
   9. 카테고리 아이콘 행 (홈)
   ------------------------------------------------------------ */
.v2-cat-row {
    display: flex;
    gap: 16px;
    padding: 4px 16px 8px;
    margin: 0 -16px;
}

.v2-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    width: 64px;
    -webkit-tap-highlight-color: transparent;
}

.v2-cat-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--v2-radius-full);
    background: var(--v2-brand-bg);
    color: var(--v2-brand);
    font-size: 22px;
    transition: transform 150ms;
}

.v2-cat:active .v2-cat-ico {
    transform: scale(0.94);
}

.v2-cat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--v2-gray-700);
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ------------------------------------------------------------
   10. 클리닉(병원) 카드
   ------------------------------------------------------------ */
.v2-hcard {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #fff;
}

.v2-hcard-logo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v2-gray-100);
    color: var(--v2-gray-400);
    font-size: 18px;
    font-weight: 700;
}

.v2-hcard-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-hcard-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.v2-hcard-region {
    font-size: 13px;
    color: var(--v2-gray-400);
    line-height: 1.4;
}

.v2-hcard-name {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--v2-gray-900);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-hcard .v2-tag,
.v2-hcard .v2-badge-cert {
    align-self: flex-start;
    margin-top: 3px;
}

/* 평점 */
.v2-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--v2-gray-800);
    line-height: 1.4;
}

.v2-rating em {
    font-style: normal;
    font-weight: 400;
    color: var(--v2-gray-400);
}

.v2-star {
    width: 14px;
    height: 14px;
    fill: var(--v2-yellow);
    flex-shrink: 0;
}

.v2-rating .fa-star {
    color: var(--v2-yellow);
    font-size: 12px;
}

/* xs 태그 */
.v2-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--v2-gray-100);
    color: var(--v2-gray-600);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.v2-tag i {
    font-size: 10px;
}

/* 인증 배지 */
.v2-badge-cert {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--v2-blue-bg);
    color: var(--v2-blue);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.v2-badge-cert i {
    font-size: 10px;
}

/* ------------------------------------------------------------
   11. 이벤트 카드
   ------------------------------------------------------------ */
.v2-ecard {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
}

.v2-ecard-thumb {
    flex-shrink: 0;
    width: 104px;
    height: 104px;
    border-radius: var(--v2-radius-lg);
    overflow: hidden;
    background: var(--v2-gray-100);
    position: relative;
}

.v2-ecard-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-ecard-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.v2-ecard-loc {
    font-size: 13px;
    color: var(--v2-gray-400);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-ecard-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: var(--v2-gray-900);
}

/* 가격 표시 */
.v2-price-orig {
    font-size: 12px;
    color: var(--v2-gray-400);
    line-height: 1.5;
    margin-top: 2px;
}

.v2-price-orig del {
    color: inherit;
}

.v2-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1.3;
}

.v2-price-discount {
    font-size: 18px;
    font-weight: 700;
    color: var(--v2-brand);
}

.v2-price-final {
    font-size: 18px;
    font-weight: 700;
    color: var(--v2-gray-900);
}

/* ------------------------------------------------------------
   12. 매거진/칼럼 카드
   ------------------------------------------------------------ */
.v2-acard {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    background: #fff;
}

.v2-acard-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.v2-acard-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: var(--v2-gray-900);
}

.v2-acard-date {
    font-size: 12px;
    color: var(--v2-gray-400);
    line-height: 1.4;
}

.v2-acard-thumb {
    flex-shrink: 0;
    width: 96px;
    height: 72px;
    border-radius: var(--v2-radius-sm);
    overflow: hidden;
    background: var(--v2-gray-100);
    position: relative;
}

.v2-acard-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------------------------------------------------
   13. 리뷰 카드
   ------------------------------------------------------------ */
.v2-rcard {
    padding: 16px;
    background: #fff;
}

.v2-rcard-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.v2-rcard-head > div {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.v2-rcard-head b {
    font-size: 14px;
    font-weight: 600;
    color: var(--v2-gray-900);
    line-height: 1.4;
}

.v2-rcard-head time {
    font-size: 12px;
    color: var(--v2-gray-400);
    white-space: nowrap;
    align-self: flex-start;
}

.v2-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: var(--v2-radius-full);
    background: var(--v2-gray-100);
    color: var(--v2-gray-500);
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
}

.v2-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-rcard-text {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--v2-gray-700);
}

.v2-rcard-imgs {
    gap: 8px;
    margin: 0 -16px 10px;
    padding: 0 16px;
}

.v2-rcard-imgs img {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: var(--v2-radius-sm);
    object-fit: cover;
    background: var(--v2-gray-100);
}

.v2-rcard-vendor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--v2-radius-sm);
    background: var(--v2-gray-50);
    color: var(--v2-gray-600);
    font-size: 13px;
    font-weight: 500;
}

.v2-rcard-vendor:hover {
    background: var(--v2-gray-100);
    color: var(--v2-gray-900);
}

/* ------------------------------------------------------------
   14. 전후사진 카드 (2열 그리드)
   ------------------------------------------------------------ */
.v2-card-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 16px;
}

.v2-bacard {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: var(--v2-radius-sm);
    min-width: 0;
}

.v2-bacard-img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--v2-radius-sm);
    overflow: hidden;
    background: var(--v2-gray-100);
    position: relative;
}

.v2-bacard-img.wide {
    aspect-ratio: 4 / 3;
}

.v2-bacard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-bacard-title {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--v2-gray-900);
}

.v2-bacard-vendor {
    font-size: 12px;
    color: var(--v2-gray-400);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ------------------------------------------------------------
   15. 히어로 캐러셀 (홈)
   ------------------------------------------------------------ */
.v2-hero {
    position: relative;
    padding: 0 16px;
}

.v2-hero-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 340px;
    border-radius: var(--v2-radius-lg);
    background-color: var(--v2-gray-200);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
    padding: 20px;
}

.v2-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.v2-hero-chip {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: var(--v2-radius-full);
    background: rgba(255, 255, 255, 0.9);
    color: var(--v2-gray-900);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.v2-hero-title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.v2-hero-sub {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.v2-hero-page {
    position: absolute;
    right: 28px;
    bottom: 12px;
    z-index: 5;
    padding: 3px 10px;
    border-radius: var(--v2-radius-full);
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    pointer-events: none;
}

/* ------------------------------------------------------------
   16. 버튼
   ------------------------------------------------------------ */
.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: var(--v2-gray-100);
    color: var(--v2-gray-800);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    transition: background 150ms, color 150ms, border-color 150ms, opacity 150ms;
}

.v2-btn:hover {
    background: var(--v2-gray-150);
    color: var(--v2-gray-900);
}

.v2-btn-brand {
    background: var(--v2-brand);
    color: #fff;
}

.v2-btn-brand:hover {
    background: var(--v2-brand-strong);
    color: #fff;
}

.v2-btn-brand:active {
    background: var(--v2-brand-deep);
}

.v2-btn-outline {
    background: #fff;
    border: 1px solid var(--v2-gray-200);
    color: var(--v2-gray-800);
}

.v2-btn-outline:hover {
    background: var(--v2-gray-50);
    color: var(--v2-gray-900);
}

.v2-btn-sm {
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 8px;
}

.v2-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

/* ------------------------------------------------------------
   17. 검색 필 + 검색 오버레이
   ------------------------------------------------------------ */
.v2-search-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    margin: 8px 16px;
    padding: 0 16px;
    border-radius: var(--v2-radius-full);
    background: var(--v2-gray-100);
    color: var(--v2-gray-400);
    font-size: 14px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 150ms;
}

.v2-search-pill:hover {
    background: var(--v2-gray-150);
    color: var(--v2-gray-500);
}

.v2-search-pill i {
    font-size: 15px;
}

.v2-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.4);
    display: none;
}

.v2-search-overlay.active {
    display: flex;
    justify-content: center;
}

.v2-search-panel {
    background: #fff;
    width: 100%;
    max-width: 616px;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: v2-slide-down 200ms ease-out;
}

@keyframes v2-slide-down {
    from {
        transform: translateY(-12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.v2-search-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 56px;
    padding: 0 8px;
    border-bottom: 1px solid var(--v2-gray-150);
    flex-shrink: 0;
}

.v2-search-form {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 4px;
}

.v2-search-input {
    flex: 1;
    min-width: 0;
    height: 40px;
    border: 0;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    color: var(--v2-gray-900);
}

.v2-search-input::placeholder {
    color: var(--v2-gray-400);
}

.v2-search-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.v2-search-section {
    margin-top: 16px;
}

.v2-search-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--v2-gray-500);
    margin: 0 0 10px;
}

/* ------------------------------------------------------------
   18. 탭 오버레이 (터치 피드백)
   ------------------------------------------------------------ */
.v2-tap {
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.v2-tap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(0, 0, 0, 0);
    transition: background 150ms;
    pointer-events: none;
}

.v2-tap:hover::after {
    background: rgba(0, 0, 0, 0.04);
}

.v2-tap:active::after {
    background: rgba(0, 0, 0, 0.08);
}

/* active scale 은 카드에만 */
.v2-hcard.v2-tap:active,
.v2-ecard.v2-tap:active,
.v2-acard.v2-tap:active,
.v2-bacard.v2-tap:active {
    transform: scale(0.98);
    transition: transform 150ms;
}

/* ------------------------------------------------------------
   19. 유틸리티
   ------------------------------------------------------------ */
.v2-clamp-1,
.v2-clamp-2,
.v2-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2-clamp-1 {
    -webkit-line-clamp: 1;
}

.v2-clamp-2 {
    -webkit-line-clamp: 2;
}

.v2-clamp-3 {
    -webkit-line-clamp: 3;
}

hr.v2-divider,
.v2-divider {
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--v2-gray-150);
    opacity: 1;
}

/* 스켈레톤 */
.v2-skel {
    background: var(--v2-gray-100);
    border-radius: var(--v2-radius-sm);
    animation: v2-pulse 1.4s ease-in-out infinite;
}

@keyframes v2-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 빈 상태 */
.v2-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 64px 16px;
    color: var(--v2-gray-400);
    font-size: 14px;
    text-align: center;
}

.v2-empty i {
    font-size: 40px;
    opacity: 0.6;
}

/* 페이지네이션 */
.v2-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 24px 16px;
}

.v2-pagination a,
.v2-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: var(--v2-radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--v2-gray-600);
    background: transparent;
    transition: background 150ms;
}

.v2-pagination a:hover {
    background: var(--v2-gray-100);
    color: var(--v2-gray-900);
}

.v2-pagination .active,
.v2-pagination a.active,
.v2-pagination span.active {
    background: var(--v2-gray-900);
    color: #fff;
    font-weight: 700;
}

.v2-pagination .disabled {
    color: var(--v2-gray-300);
    pointer-events: none;
}

/* 페이지 헤더 (리스트 페이지 상단) */
.v2-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
}

.v2-page-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--v2-gray-900);
}

.v2-sort-select {
    border: 0;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--v2-gray-600);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    padding-right: 2px;
    text-align: right;
}

/* ------------------------------------------------------------
   20. 반응형 보정
   ------------------------------------------------------------ */
@media (max-width: 999px) {
    .v2-side {
        display: none;
    }
}
