@font-face {
    font-family: 'Pretendard';
    src: url('assets/fonts/pretendard/PretendardVariable.woff2') format('woff2-variations');
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
}

/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

:root {
    --black: #000000;
    --black-soft: #0d0d0d;
    --black-card: #161616;
    /* 블랙 & 화이트 팔레트 (변수명은 호환 위해 유지, 값만 그레이스케일로 교체)
       - green-bright = 밝은 배경용 메인 accent(니어블랙)
       - green-light  = 어두운 배경용 밝은 accent(화이트 계열) */
    --dark-green: #131313;
    --green: #2b2b2b;
    --green-mid: #4a4a4a;
    --green-bright: #141414;
    --green-light: #f4f4f4;
    --gold: #141414;
    --white: #ffffff;
    --bg-soft: #f4f4f4;
    --text: #111111;
    --text-2: #555555;
    --text-3: #8a8a8a;
    --border: #e6e6e6;
    --border-dark: #2a2a2a;
    --kakao: #FEE500;
    --header-h: 68px;
    --tabbar-h: 78px;
    --app-w: 100vw;
    --container: 100vw;
    --app-bg: #e8e8e8;        /* 앱 컨테이너 바깥(좌우 여백) 배경 */
    /* 글꼴 전체 통일(Pretendard). 로고는 이미지라 영향 없음. (DESIGN.md §2) */
    --serif: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
}

/* PC(넓은 화면)에서는 앱 컨테이너 폭을 660px로 확대 */
@media (min-width: 700px) {
    :root {
        --app-w: 660px;
        --container: 660px;
    }
}

/* 로고 느낌의 영문 세리프 유틸 (한글은 산세리프 유지) */
.serif { font-family: var(--serif); }
/* 세리프 가격/숫자는 라이닝 정렬 숫자로 (옛스타일 숫자 흔들림 방지) */
.hcard-price, .auction-price strong, .live-best strong, .bid-amount {
    font-variant-numeric: lining-nums tabular-nums;
}

/* 어두운 배경 컨테이너에서는 accent 변수를 밝게 재정의 → 흰 글씨/포인트가 보이게 */
.hero, .page-hero, .section-dark, .auction-status, .bottom-cta-band, .footer,
.live-best, .live-board, .live-board-section, .live-bid-section, .live-bid-big,
.live-card, .live-feed, .live-stage, .live-target-card, .live-watch-stage,
.exclusive-section, .brand-story-text, .event-inner, .market-notice,
.method-card, .option-card, .quick-tel-card, .two-col-img, .store-img,
.expert-img, .kf-card, .map-placeholder, .ad-banner {
    --green-bright: #ffffff;
    --green-mid: #cfcfcf;
    --green-light: #ffffff;
    --green: #e2e2e2;
}
/* 위 다크 스코프 안의 솔리드 버튼은 흰 배경 + 검은 글씨로 반전 */
.hero .btn-primary, .section-dark .btn-primary, .bottom-cta-band .btn-primary,
.live-board-section .btn-primary, .live-bid-section .btn-primary,
.exclusive-section .btn-primary, .market-notice .btn-primary {
    color: var(--black);
}

html {
    scroll-behavior: smooth;
    background: var(--app-bg);
    overflow-x: hidden;
}
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
    background: var(--app-bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;

    /* PC에서도 핸드폰처럼 가운데 좁게 + 좌우 회색 여백 */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 앱 컨테이너 - 모든 직접 자식을 660px로 가운데 정렬 */
body > .main-wrap,
body > .bottom-cta-band,
body > .footer {
    width: 100%;
    max-width: var(--app-w);
    background: var(--white);
}

body > .footer { background: var(--black); }
body > .bottom-cta-band { background: linear-gradient(135deg, var(--dark-green) 0%, var(--black) 100%); }

/* 흰 배경 + 양옆 그림자 (앱 화면 느낌) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--app-w);
    background: var(--white);
    z-index: -1;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 15px; outline: none; }
img { display: block; max-width: 100%; height: auto; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 18px; }

/* ========== Typography Helpers ========== */
.eyebrow {
    display: inline-block;
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3.5px;
    color: var(--green-bright);
    margin-bottom: 16px;
    text-transform: uppercase;
}
.eyebrow.center { display: block; text-align: center; position: relative; padding-top: 18px; }
.eyebrow.center::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 38px; height: 1px;
    background: currentColor;
    opacity: 0.45;
}
.eyebrow.light { color: var(--green-light); }

.section-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.8px;
    margin-bottom: 22px;
}
.section-title.center { text-align: center; }
.g { color: var(--green-bright); }
.hl { color: var(--gold); font-weight: 900; }
.hl-green { color: var(--green-bright); font-weight: 900; }

/* ========== Header (앱 스타일) ========== */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--app-w);
    height: auto;
    padding-top: env(safe-area-inset-top);
    box-sizing: border-box;
    background: rgba(16, 13, 10, 0.32);
    backdrop-filter: blur(22px);
    z-index: 1000;
    transition: background 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}
.header.scrolled,
.header.light-page {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--border);
}
.header-inner {
    padding: 0 20px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-icon {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: color 0.3s;
    border-radius: 50%;
}
.header-icon .noti-badge { top: 1px; right: 1px; }
.header.scrolled .header-icon,
.header.light-page .header-icon { color: var(--text); }
.header-icon:hover { background: rgba(255,255,255,0.1); }
.header.scrolled .header-icon:hover,
.header.light-page .header-icon:hover { background: rgba(0,0,0,0.05); }

/* ===== 헤더 검색바 ===== */
.header-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    transition: background 0.3s, border-color 0.3s;
    min-width: 0;
}
.header.scrolled .header-search,
.header.light-page .header-search {
    background: #f3f1ec;
    border-color: #e7e3da;
}
.header-search-ic { color: rgba(255,255,255,0.85); flex: 0 0 auto; }
.header.scrolled .header-search-ic,
.header.light-page .header-search-ic { color: #888; }
.header-search input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #fff;
    -webkit-appearance: none;
}
.header-search input::placeholder { color: rgba(255,255,255,0.7); }
.header.scrolled .header-search input,
.header.light-page .header-search input { color: var(--text); }
.header.scrolled .header-search input::placeholder,
.header.light-page .header-search input::placeholder { color: #999; }
.header-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ===== 헤더 카테고리 바 (스와이프) ===== */
.cat-bar {
    display: flex;
    gap: 18px;
    padding: 0 20px 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-chip {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.78);
    white-space: nowrap;
    padding: 4px 0;
    text-decoration: none;
    transition: color 0.2s;
}
.cat-chip:hover { color: #fff; }
.header.scrolled .cat-chip,
.header.light-page .cat-chip { color: var(--text-2); }
.header.scrolled .cat-chip:hover,
.header.light-page .cat-chip:hover { color: var(--text); }

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    transition: color 0.3s;
}
.header.scrolled .logo,
.header.light-page .logo { color: var(--text); }

.logo-img {
    height: 44px;
    width: auto;
    display: block;
    /* 히어로(어두운 투명 헤더)에선 로고를 흰색으로 */
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}
/* 스크롤/라이트 페이지(흰 헤더)에선 원래 검정 로고 */
.header.scrolled .logo-img,
.header.light-page .logo-img { filter: none; }

.logo-mark {
    width: 44px;
    height: 44px;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    border-radius: 8px;
    font-size: 16px;
    letter-spacing: 1px;
}
.logo-text {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 2px;
}
.logo-text em {
    font-style: normal;
    color: var(--green-bright);
    font-size: 11px;
    letter-spacing: 4px;
}

.nav-menu {
    display: flex;
    gap: 36px;
}
.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s;
    position: relative;
    padding: 8px 0;
}
.header.scrolled .nav-menu a,
.header.light-page .nav-menu a { color: var(--text-2); }
.nav-menu a:hover { color: var(--green-bright); }
.nav-menu a.active { color: var(--green-bright); font-weight: 700; }
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: var(--green-bright);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-tel {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s;
}
.header.scrolled .header-tel,
.header.light-page .header-tel { color: var(--text); }

.btn-cta-small {
    padding: 10px 22px;
    background: var(--green);
    color: var(--white);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
}
.btn-cta-small:hover {
    background: var(--green-bright);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}
.header.scrolled .menu-toggle span,
.header.light-page .menu-toggle span { background: var(--text); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Main / Pages ========== */
.main-wrap {
    padding-top: 0;
    padding-bottom: var(--tabbar-h);
    background: var(--white);
    overflow-x: hidden;
}
.page { display: none; }
.page.active { display: block; animation: fadeUp 0.5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ========== Hero (홈) ========== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    padding: 96px 0 40px;
}
.hero-image {
    position: absolute;
    inset: -4%;
    background-image: url('assets/2026-02-27_이미지자료_131744.jpeg');
    background-size: cover;
    background-position: center;
    /* 블랙&화이트 톤: 완전 그레이스케일 + 시네마틱 슬로우 줌(영상 느낌) */
    filter: grayscale(1) brightness(0.5) contrast(1.06);
    z-index: 0;
    will-change: transform;
    animation: heroKenburns 24s ease-in-out infinite alternate;
}
@keyframes heroKenburns {
    from { transform: scale(1) translateY(0); }
    to   { transform: scale(1.1) translateY(-1.5%); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-image { animation: none; }
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.62) 55%, rgba(0, 0, 0, 0.92) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
    position: relative;
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--green-light);
    padding-top: 22px;
    margin-bottom: 26px;
}
.hero-eyebrow::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 46px; height: 1px;
    background: rgba(255, 255, 255, 0.55);
}
.hero-title {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -1px;
    margin-bottom: 32px;
}
.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 40px;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    gap: 12px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary {
    background: var(--green-bright);
    color: var(--white);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.btn-primary:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--green-bright);
}
.btn-light {
    background: var(--white);
    color: var(--text);
}
.btn-light:hover { background: var(--green-bright); color: var(--white); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--text); }
.btn-large { padding: 20px 44px; font-size: 16px; }
.btn-full { width: 100%; padding: 20px; }
.btn-kakao {
    background: var(--kakao);
    color: #111;
    width: 100%;
    padding: 14px;
    font-weight: 700;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong {
    font-size: 32px;
    font-weight: 900;
    color: var(--green-bright);
    margin-bottom: 4px;
}
.hero-stats span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

/* ========== Section Common ========== */
.section { padding: 76px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-soft { background: var(--bg-soft); }
.section-about-preview { background: var(--white); }

.row-between {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    gap: 16px;
    flex-wrap: wrap;
}
.row-between .section-title { margin-bottom: 0; }

.link-arrow {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--green-bright);
    border-bottom: 1.5px solid var(--green-bright);
    padding-bottom: 4px;
    transition: all 0.2s;
}
.link-arrow:hover { color: var(--green-mid); border-color: var(--green-mid); }

/* ========== Two-column (앱에서는 세로 스택) ========== */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.two-col-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--black);
}
.two-col-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    backdrop-filter: blur(10px);
}
.two-col-text .lead {
    font-size: 18px;
    color: var(--text-2);
    margin-bottom: 24px;
    line-height: 1.7;
}
.check-list {
    margin-bottom: 32px;
}
.check-list li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 22px;
    height: 22px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* ========== Options Grid ========== */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
}
.option-card {
    background: var(--black-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    transition: all 0.4s;
}
.option-card:hover {
    transform: translateY(-8px);
    border-color: var(--green);
}
.option-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.option-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
}
.option-img-1 { background-image: url('assets/2026-03-18_이미지자료_193209.jpg'); }
.option-img-2 { background-image: url('assets/2026-03-18_이미지자료_193412.jpg'); }
.option-img-3 { background-image: url('assets/2026-03-18_이미지자료_193432.jpg'); }

.option-body { padding: 32px; }
.option-num {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--green-bright);
    margin-bottom: 12px;
    font-weight: 700;
}
.option-body h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}
.option-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ========== Brand Preview Grid ========== */
.brand-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 40px;
}
.brand-prev {
    aspect-ratio: 16/10;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}
.brand-prev::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.35) 0%, rgba(0, 0, 0, 0.88) 100%);
    transition: opacity 0.4s;
}
.brand-prev:hover { transform: translateY(-4px); }
.brand-prev:hover::before { background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(0, 0, 0, 0.88) 100%); }
.brand-prev span {
    position: relative;
    z-index: 2;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}
.brand-prev-1 { background-image: url('assets/2026-03-18_이미지자료_193209.jpg'); }
.brand-prev-2 { background-image: url('assets/2026-03-18_이미지자료_193342.jpg'); }
.brand-prev-3 { background-image: url('assets/2026-03-18_이미지자료_193452.jpg'); }
.brand-prev-4 { background-image: url('assets/2026-03-18_이미지자료_193412.jpg'); }
.brand-prev-5 { background-image: url('assets/2026-03-20_이미지자료_033809.jpg'); }
.brand-prev-6 { background-image: url('assets/1(487).jpg'); }

/* ========== Reviews Preview ========== */
.reviews-preview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.review-mini {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.review-mini:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.review-mini-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0f0;
}
.review-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.review-mini-body { padding: 24px; }
.badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--dark-green);
    color: var(--green-light);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.review-mini h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.review-mini p {
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 12px;
}
.review-mini small {
    font-size: 12px;
    color: var(--text-3);
}

/* ========== Insight Preview ========== */
.insight-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.insight-mini {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}
.insight-mini:hover { transform: translateY(-4px); }
.insight-mini-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 16px;
    border-radius: 16px;
}
.insight-mini-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.insight-mini:hover .insight-mini-img img { transform: scale(1.05); }
.tag-mini {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--green-bright);
    margin-bottom: 8px;
}
.insight-mini h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text);
}
.insight-mini p {
    font-size: 14px;
    color: var(--text-2);
}

/* ========== Page Hero ========== */
.page-hero {
    padding: 120px 0 56px;
    color: var(--white);
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.72), rgba(0, 0, 0, 0.9));
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
}
.page-hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
}

.page-hero-collection { background-image: url('assets/2026-03-18_이미지자료_193209.jpg'); }
.page-hero-reviews { background-image: url('assets/2026-02-27_이미지자료_131744.jpeg'); }
.page-hero-insight { background-image: url('assets/2026-03-18_이미지자료_193342.jpg'); }
.page-hero-brand { background-image: url('assets/2026-03-20_이미지자료_033800.jpg'); }
.page-hero-about { background-image: url('assets/2026-02-27_이미지자료_131815.jpg'); }
.page-hero-contact { background-image: url('assets/2026-03-18_이미지자료_193452.jpg'); }

/* ========== Ad Banner ========== */
.ad-banner {
    display: grid;
    grid-template-columns: 1fr;
    background: linear-gradient(135deg, var(--dark-green), var(--black));
    border-radius: 20px;
    overflow: hidden;
    color: var(--white);
}
.ad-banner-text {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ad-label {
    display: inline-block;
    background: var(--green-bright);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
    width: fit-content;
}
.ad-banner-text h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
}
.ad-banner-text p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
}
.ad-banner-text .btn { width: fit-content; }
.ad-banner-img {
    background-image: url('assets/2026-03-18_이미지자료_193412.jpg');
    background-size: cover;
    background-position: center;
    min-height: 200px;
}

/* ========== Collection Tabs ========== */
.col-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
    background: var(--white);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--border);
}
.col-tab {
    padding: 18px 24px;
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s;
    background: transparent;
    color: var(--text-2);
}
.col-tab strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}
.col-tab span {
    font-size: 13px;
    color: var(--text-3);
}
.col-tab.active {
    background: var(--black);
}
.col-tab.active strong { color: var(--white); }
.col-tab.active span { color: var(--green-light); }

.col-panel { display: none; }
.col-panel.active { display: block; animation: fadeUp 0.4s ease; }

.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.filter-chip {
    padding: 10px 22px;
    border: 1.5px solid var(--border);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    background: var(--white);
    white-space: nowrap;
    transition: all 0.2s;
}
.filter-chip.active,
.filter-chip:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.market-notice {
    padding: 20px 24px;
    background: var(--dark-green);
    color: var(--white);
    border-radius: 14px;
    margin-bottom: 32px;
}
.market-notice strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--green-light);
}
.market-notice p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}

/* ========== Product Grid ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.product-card {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--green-bright);
}
.product-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.5s;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    z-index: 2;
}
.product-tag.ny { background: var(--green); color: var(--white); }
.product-tag.user { background: rgba(255,255,255,0.9); color: var(--text); border: 1px solid var(--border); }
.product-body { padding: 20px; }
.product-brand {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--green-bright);
    margin-bottom: 6px;
}
.product-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
    line-height: 1.4;
}
.product-ref {
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 12px;
}
.product-price {
    font-size: 19px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}
.seller {
    font-size: 12px;
    color: var(--text-3);
}

/* ========== Reviews Page ========== */
.review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.review-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: var(--green);
}
.review-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0f0;
}
.review-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.review-card:hover .review-img img { transform: scale(1.05); }
.review-body { padding: 28px; }
.review-body h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 16px;
}
.review-quote {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-soft);
    border-radius: 12px;
    border-left: 3px solid var(--green-bright);
}
.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.review-meta span:first-child {
    color: var(--gold);
    font-size: 14px;
}
.review-meta small {
    font-size: 12px;
    color: var(--text-3);
}

/* ========== Insight Page ========== */
.insight-tabs-bar {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
    overflow-x: auto;
}
.insight-tab {
    padding: 16px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-3);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
}
.insight-tab.active,
.insight-tab:hover {
    color: var(--text);
    border-bottom-color: var(--green-bright);
    font-weight: 700;
}

.insight-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
    cursor: pointer;
}
.insight-featured-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 20px;
}
.insight-featured-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.insight-featured:hover .insight-featured-img img { transform: scale(1.04); }
.insight-featured-body h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin: 12px 0 20px;
}
.insight-featured-body p {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 20px;
}
.insight-meta {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--text-3);
}

.insight-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.insight-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    align-items: start;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}
.insight-row:last-child { border-bottom: none; }
.insight-row-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 14px;
}
.insight-row-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.insight-row:hover .insight-row-img img { transform: scale(1.05); }
.insight-row-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 6px 0 8px;
    line-height: 1.4;
}
.insight-row-body p {
    font-size: 13px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.insight-row-body p {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 14px;
}

/* ========== Brand Story ========== */
.brand-story {
    display: grid;
    grid-template-columns: 1fr;
}
.brand-story-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.brand-story-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.brand-story-text {
    background: var(--black);
    color: var(--white);
    padding: 48px 24px;
}
.brand-name {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 12px;
    color: var(--white);
}
.brand-tagline {
    font-size: 20px;
    color: var(--green-bright);
    margin-bottom: 24px;
    font-weight: 600;
}
.brand-body {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 16px;
}

.brand-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}
.brand-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.brand-card:hover {
    transform: translateY(-4px);
    border-color: var(--green-bright);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.brand-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.brand-card-img img { width: 100%; height: 100%; object-fit: cover; }
.brand-card-body { padding: 28px; }
.brand-card h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.brand-card-sub {
    font-size: 12px;
    color: var(--green-bright);
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 12px;
}
.brand-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
}

/* ========== About: Promises ========== */
.promise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
}
.promise-card {
    padding: 36px 28px;
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.promise-card:hover {
    border-color: var(--green-bright);
    transform: translateY(-4px);
}
.promise-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--green-bright);
    margin-bottom: 16px;
    line-height: 1;
}
.promise-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.promise-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
}

/* About: Company Info */
.company-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.info-list { margin-top: 24px; }
.info-list li {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}
.info-list li strong {
    width: 120px;
    color: var(--text-3);
    font-weight: 600;
}
.info-list li span {
    color: var(--text);
    font-weight: 600;
}
.map-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--dark-green), var(--black));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: 8px;
}
.map-placeholder span {
    font-size: 18px;
    font-weight: 700;
}
.map-placeholder small {
    color: var(--green-light);
    font-size: 13px;
}

/* ========== Contact Form ========== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.quote-form {
    background: var(--white);
    padding: 28px;
    border-radius: 20px;
    border: 1px solid var(--border);
}
.quote-form h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 32px;
}
.quote-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin: 20px 0 8px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-row label { margin-top: 20px; }
.form-row label:first-child { margin-top: 0; }
.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    color: var(--text);
    font-size: 15px;
    transition: border-color 0.2s;
    margin-top: 8px;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { border-color: var(--green-bright); }
.quote-form textarea { resize: vertical; font-family: inherit; }
.quote-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 42px;
}
.form-note {
    font-size: 12px;
    color: var(--text-3);
    text-align: center;
    margin-top: 16px;
}

.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-card {
    background: var(--white);
    padding: 28px;
    border-radius: 18px;
    border: 1px solid var(--border);
}
.contact-card h4 {
    font-size: 14px;
    color: var(--green-bright);
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.contact-card p {
    font-size: 14px;
    color: var(--text-2);
    margin-top: 8px;
}
.contact-big-tel {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 4px;
}
.kakao-card { background: linear-gradient(135deg, #FFEB3B 0%, #FEE500 100%); border: none; }
.kakao-card h4 { color: #3a2e00; }
.kakao-card p { color: #5a4a00; }

/* ========== Bottom CTA Band (인사이트 위 푸터식) ========== */
.bottom-cta-band {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--black) 100%);
    color: var(--white);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.bottom-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.06), transparent 60%),
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.04), transparent 50%);
}
.band-flex {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.band-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.band-cta .btn { flex: 1; min-width: 140px; }
.band-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--green-bright);
    font-weight: 700;
    margin-bottom: 12px;
}
.band-flex h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}
.band-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}
.band-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ========== Footer ========== */
.footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 calc(var(--tabbar-h) + 24px);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-dark);
}
.footer-brand { grid-column: 1 / -1; }
.footer-logo {
    display: block;
    margin-bottom: 16px;
}
.footer-logo img {
    height: 26px;
    width: auto;
    /* 어두운 푸터 → 로고 흰색 */
    filter: brightness(0) invert(1);
}
.footer-logo em {
    font-style: normal;
    color: var(--green-bright);
}
.footer-brand p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}
.footer-social a {
    width: 38px; height: 38px;
    display: block;
    transition: transform 0.2s, opacity 0.2s;
}
.footer-social a:hover { transform: translateY(-2px); opacity: 0.85; }
.footer-social img {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
}
.footer-sns {
    display: flex;
    gap: 10px;
}
.footer-sns a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-dark);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
}
.footer-sns a:hover {
    border-color: var(--green-bright);
    color: var(--green-bright);
}
.footer-col h5 {
    font-size: 14px;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.footer-col a {
    display: block;
    font-size: 13px;
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--green-bright); }
.footer-col p {
    font-size: 13px;
    margin-bottom: 6px;
}
.footer-tel {
    font-size: 22px;
    font-weight: 800;
    color: var(--white) !important;
    margin-bottom: 8px !important;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0 16px;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-company p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}
.footer-links a:hover { color: var(--green-bright); }
.footer-copy {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    padding-top: 16px;
    letter-spacing: 1px;
}

/* ========== 홈 히어로 3 CTA ========== */
.hero-cta-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.hero-cta-3 .btn {
    padding: 14px 8px;
    font-size: 14px;
    white-space: nowrap;
    min-width: 0;
}
.hero-new .hero-image {
    /* Unsplash 흑백 럭셔리 시계 (핫링크 안정 CDN) */
    background-image: url('https://images.unsplash.com/photo-1523275335684-37898b6baf30?auto=format&fit=crop&w=1600&q=80');
}

/* ========== 폼 페이지 (판매/구입/수리) ========== */
.page-form .page-hero {
    padding-top: 100px;
}
.page-hero-sell { background-image: url('assets/2026-03-18_이미지자료_193412.jpg'); }
.page-hero-buy { background-image: url('assets/2026-03-18_이미지자료_193452.jpg'); }
.page-hero-repair { background-image: url('assets/2026-03-18_이미지자료_193432.jpg'); }

.quick-tel-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, var(--dark-green), var(--black));
    color: var(--white);
    padding: 18px 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    transition: transform 0.2s;
}
.quick-tel-card:hover { transform: translateY(-2px); }
.quick-tel-card .qt-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    background: rgba(150,150,150,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.quick-tel-card strong {
    display: block;
    font-size: 14px;
    margin-bottom: 3px;
    color: var(--green-bright);
    font-weight: 800;
}
.quick-tel-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px 22px;
}
.form-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 18px;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}
.form-label input,
.form-label select,
.form-label textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 13px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
}
.form-label input:focus,
.form-label select:focus,
.form-label textarea:focus { border-color: var(--green-bright); outline: none; }
.form-label textarea { resize: vertical; font-family: inherit; }
.form-label select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 38px;
}
.form-hint {
    display: block;
    font-size: 11px;
    color: var(--text-3);
    font-weight: 500;
    margin-top: 6px;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ========== 비교견적: 매입완료 표시 ========== */
.auction-recent {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(150,150,150,0.1);
    border: 1px solid rgba(150,150,150,0.25);
    border-radius: 10px;
}
.recent-dot {
    width: 8px;
    height: 8px;
    background: var(--green-bright);
    border-radius: 50%;
    animation: pulseGreen 1s infinite;
}
@keyframes pulseGreen {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}
.recent-by {
    flex: 1;
    font-size: 13px;
    color: var(--white);
    font-weight: 700;
}
.recent-time {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

/* 매입완료 시 가격에 줄긋기 */
.auction-status.done .auction-price strong {
    color: var(--green-bright);
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}
.auction-status.done .auction-recent { display: none; }
.auction-done {
    margin-top: 16px;
    background: linear-gradient(135deg, var(--green-mid), var(--green-bright));
    color: var(--white);
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(150,150,150,0.35);
}
.done-badge {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 6px;
    color: var(--white);
}

/* ========== 직영점 강조 ========== */
.official-badge-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.official-badge {
    background: rgba(150,150,150,0.1);
    color: var(--green-bright);
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(150,150,150,0.25);
}
.official-badge strong {
    color: var(--green-bright);
    margin-right: 4px;
    font-weight: 900;
}

/* ========== 제휴처 섹션 타이틀 ========== */
.partner-section-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    margin: 16px 0 12px;
    padding-left: 4px;
}
.partner-badge.branch-badge {
    background: var(--green-bright);
    color: var(--white);
}
.partner-card.branch {
    background: linear-gradient(135deg, #f5f9f7, var(--white));
    border-color: rgba(150,150,150,0.2);
}

/* ========== 페이지 히어로 슬라이더 (판매시계) ========== */
.page-hero-slider {
    /* 고정 헤더(로고바 + 카테고리탭 + 노치 안전영역)에 가려지지 않도록 충분히 확보 */
    padding-top: calc(var(--header-h) + 52px + env(safe-area-inset-top));
    background: var(--white);
}
.page-hero-slider .event-slider {
    margin-top: 0;
}
.page-hero-slider .event-inner {
    border-radius: 0 0 20px 20px;
    height: 240px;
}

/* ========== 홈: LIVE 비교견적 진행 현황 ========== */
/* 어두운 배경 제거 → 밝고 자연스럽게. 라이브 표시만 강조 */
.live-board-section {
    background: var(--white);
    color: var(--text);
    padding: 40px 0 48px;
    position: relative;
}
.live-board-section > .container { position: relative; }

.live-board-header {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    font-size: 13px;
}
/* LIVE 강조: 빨간 점이 깜빡이는 알약형 배지 */
.live-board-header .live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e23b3b;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 4px 9px 4px 8px;
    border-radius: 30px;
    flex-shrink: 0;
}
.live-board-header .live-dot {
    width: 7px; height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: livePulse 1.2s infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(1.4); }
}
.live-board-header .live-title {
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.2px;
}
.live-board-header .live-count {
    margin-left: auto;
    font-size: 11px;
    color: var(--dark-green);
    background: rgba(31,107,79,.10);
    padding: 4px 10px;
    border-radius: 30px;
    font-weight: 700;
    flex-shrink: 0;
}

.live-board {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
/* 박스 구분 없이 — 카드/테두리/그림자 제거, 얇은 구분선으로만 자연스럽게 */
.live-row {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 13px;
    align-items: center;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f1f1f1;
    border-radius: 0;
    padding: 13px 2px;
    height: 84px;                 /* 행 높이 고정 — 스크롤이 튀지 않음 */
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: none;
    transition: background 0.3s;
}
.live-row:last-child { border-bottom: none; }
.live-row.new-in {
    animation: boardSlideIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.live-row.highlight {
    background: rgba(31,107,79,0.05);
}
@keyframes boardSlideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

.live-row-thumb {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f1ee;
}
.live-row-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.live-row-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}
.live-row-model {
    font-size: 13.5px;
    font-weight: 700;
    color: #141414;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.live-row-by {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.live-row-by b {
    color: var(--dark-green);
    font-weight: 700;
}
.live-row-by .amount {
    color: #141414;
    font-weight: 800;
}
.live-row-meta {
    font-size: 10px;
    color: #aaa;
    display: flex;
    gap: 8px;
}

.live-row-badge {
    padding: 5px 11px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
    align-self: center;
}
.badge-progress {
    background: rgba(31,107,79,0.10);
    color: var(--dark-green);
    border: 1px solid rgba(31,107,79,0.30);
}
.badge-done {
    background: #f0f0f0;
    color: #555;
}
.badge-pending {
    background: rgba(0, 0, 0, 0.06);
    color: #666666;
    border: 1px solid rgba(0, 0, 0, 0.16);
}
.badge-end {
    background: #f5f5f5;
    color: #aaa;
}

/* ========== 비교견적 페이지: 등록된 시계 상세 ========== */
.auction-detail-section {
    background: var(--bg-soft);
    padding: 56px 0;
}
.registered-watch {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    margin-top: 0;
}

/* 이미지 + 내용 가로 배치 (한 열) */
.registered-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0;
    align-items: stretch;
}
.registered-img-side {
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.registered-img-side img {
    width: 100%;
    height: 100%;
    max-height: 160px;
    object-fit: contain;
}
.registered-row .registered-info {
    padding: 18px 18px 20px;
}
.registered-row .registered-status {
    font-size: 10px;
    padding: 4px 10px;
    margin-bottom: 10px;
}
.registered-row .registered-model {
    font-size: 17px;
    margin-bottom: 12px;
}
.registered-row .registered-spec {
    padding: 4px 14px;
}
.registered-row .registered-spec li {
    font-size: 12px;
    padding: 7px 0;
}
.registered-info { padding: 22px 22px 24px; }
.registered-status {
    display: inline-block;
    background: rgba(150,150,150,0.12);
    color: var(--green-bright);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.registered-brand {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--green-bright);
    margin-bottom: 4px;
}
.registered-model {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
}
.registered-spec {
    list-style: none;
    padding: 0;
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 6px 16px;
}
.registered-spec li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ebebeb;
    font-size: 13px;
}
.registered-spec li:last-child { border-bottom: none; }
.registered-spec li span { color: var(--text-3); }
.registered-spec li strong { color: var(--text); font-weight: 700; }

.auction-status {
    background: var(--black);
    color: var(--white);
    border-radius: 18px;
    padding: 24px 22px;
    margin-top: 16px;
}
.auction-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
}
.auction-label {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.auction-price strong {
    font-size: 36px;
    font-weight: 900;
    color: var(--green-bright);
    display: inline-block;
    font-variant-numeric: tabular-nums;
}
.auction-price em {
    font-style: normal;
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-left: 6px;
    font-weight: 700;
}
.auction-price.flash strong {
    transform: scale(1.08);
}
.auction-count {
    text-align: right;
}
.auction-count p {
    font-size: 13px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 2px;
}
.auction-count strong {
    font-size: 26px;
    font-weight: 900;
    color: var(--green-bright);
}
.auction-count span {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

.auction-progress {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}
.auction-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--green-mid), var(--green-bright));
    /* JS에서 requestAnimationFrame으로 부드럽게 제어 */
}
.auction-range {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}
.auction-range span span { color: var(--green-bright); font-weight: 700; }

.auction-feed-wrap {
    margin-top: 24px;
}
.auction-feed {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    max-height: 360px;
    overflow-y: auto;
    margin-top: 12px;
}
.auction-feed-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    animation: feedSlideIn 0.4s ease;
}
.auction-feed-row:last-child { border-bottom: none; }
.auction-feed-bidder {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 700;
}
.auction-feed-bidder::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--green-bright);
    border-radius: 50%;
}
.auction-feed-time {
    font-size: 10px;
    color: var(--text-3);
    margin-left: 4px;
    font-weight: 500;
}
.auction-feed-amount {
    font-weight: 900;
    color: var(--text);
    font-size: 14px;
}
.auction-feed-amount em {
    font-style: normal;
    font-size: 11px;
    color: var(--text-3);
    margin-left: 3px;
}

/* ========== 로그인 모달: 추가 메뉴 ========== */
.login-extra {
    border-top: 1px solid var(--border);
    margin-top: 22px;
    padding-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
}
.extra-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 6px;
    border-radius: 10px;
    background: var(--bg-soft);
    font-size: 11px;
    color: var(--text-2);
    font-weight: 600;
    transition: all 0.2s;
}
.extra-link:hover {
    background: var(--green);
    color: var(--white);
}
.extra-icon {
    font-size: 18px;
    line-height: 1;
}
.admin-hint {
    text-align: center;
    font-size: 11px;
    color: var(--text-3);
    margin-top: 14px;
}
.admin-hint code {
    background: var(--bg-soft);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--text);
    font-weight: 700;
}

/* ========== 인사이트: 제휴처 그리드 ========== */
.partner-grid {
    padding: 16px 0;
}
.partner-grid-title {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 13px;
    color: var(--text-2);
    margin-bottom: 16px;
    line-height: 1.5;
}
.partner-grid-title strong {
    color: var(--green-bright);
    font-weight: 800;
}
.partner-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.partner-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 14px;
    text-align: left;
    transition: all 0.2s;
    position: relative;
}
.partner-card:hover {
    border-color: var(--green-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.partner-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--dark-green);
    color: var(--green-light);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}
.partner-card strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
    padding-right: 50px;
    line-height: 1.3;
}
.partner-card small {
    font-size: 11px;
    color: var(--text-3);
    line-height: 1.4;
}

/* ========== 관리자 패널 ========== */
.admin-only.show {
    display: block !important;
}
.admin-only[hidden] { display: none; }

.admin-add-btn {
    width: 100%;
    background: #fff;
    color: #2b2620;
    padding: 13px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1.5px dashed #cfc8bb;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.admin-add-btn:hover { background: #f7f5f0; border-color: #b8af9e; }
.admin-add-btn:active { transform: scale(0.98); }

.admin-pending-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 8px;
}
.admin-pending-item:last-child { margin-bottom: 0; }
.admin-pending-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}
.admin-pending-img img { width: 100%; height: 100%; object-fit: cover; }
.admin-pending-info strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--green-bright);
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.admin-pending-info p {
    font-size: 12px;
    color: var(--text);
    margin-bottom: 2px;
}
.admin-pending-info small {
    font-size: 10px;
    color: var(--text-3);
}
.admin-pending-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.admin-btn {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    border: 0;
}
.admin-btn.approve {
    background: var(--green-bright);
    color: var(--white);
}
.admin-btn.reject {
    background: var(--bg-soft);
    color: var(--text-2);
}

/* 관리자 모드: 상단 배너 제거 — 확인은 마이페이지에서만 */
body.admin-mode::after { content: none; display: none; }
body.admin-mode .header { top: 0; }
/* 로그인·관리자 상태에서도 고객 홈과 같은 헤더 여백을 유지한다. */

/* ========== EXCLUSIVE PRICING 카드 슬라이드 (사용 안함 - 보존만) ========== */
.exclusive-section {
    background: var(--black);
    color: var(--white);
    padding: 64px 0;
    overflow: hidden;
}
.exclusive-eyebrow {
    color: var(--green-bright);
    letter-spacing: 4px;
    font-size: 11px;
    font-weight: 700;
}

.exclusive-slider {
    margin-top: 32px;
    position: relative;
    overflow: hidden;
}
.exclusive-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.exclusive-slide {
    flex: 0 0 100%;
    padding: 0 24px;
}
.exclusive-card {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid var(--border-dark);
    border-radius: 22px;
    padding: 36px 24px 28px;
    text-align: center;
}
.exclusive-img-wrap {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
}
.exclusive-img-wrap img {
    max-height: 240px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}
.exclusive-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
    text-align: left;
}
.exclusive-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-align: left;
    margin-bottom: 22px;
}
.exclusive-divider {
    height: 1px;
    background: var(--border-dark);
    margin-bottom: 22px;
}
.exclusive-prices {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
}
.exclusive-price-col p {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 6px;
}
.exclusive-price-col strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-decoration: line-through;
}
.exclusive-price-col.target {
    text-align: right;
}
.exclusive-price-col.target p {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}
.exclusive-badge {
    background: #ffffff;
    color: #111111;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 900;
}
.exclusive-target-label {
    font-size: 13px;
    color: var(--white);
    font-weight: 700;
}
.exclusive-price-col.target strong {
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
}

.exclusive-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}
.exclusive-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}
.exclusive-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--green-bright);
}

/* ========== 컬렉션 2단 그리드 ========== */
.col-grid {
    margin-top: 24px;
}
.col-grid-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.col-grid-inner .hcard {
    flex: none;
    width: auto;
}

/* ========== 로그인 모달 - 회원가입 추가 ========== */
.login-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    margin-top: 8px;
}
.login-tab {
    flex: 1;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-3);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: none;
}
.login-tab.active {
    color: var(--text);
    border-bottom-color: var(--green-bright);
    font-weight: 800;
}
.login-panel { display: none; }
.login-panel.active { display: block; animation: fadeIn 0.3s ease; }

.login-divider {
    text-align: center;
    position: relative;
    margin: 22px 0 18px;
    font-size: 12px;
    color: var(--text-3);
}
.login-divider::before,
.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: var(--border);
}
.login-divider::before { left: 0; }
.login-divider::after { right: 0; }
.login-divider span { background: var(--white); padding: 0 12px; position: relative; z-index: 1; }

.login-form,
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.login-form input,
.signup-form input,
.signup-form select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    background: var(--white);
    color: var(--text);
    transition: border-color .15s, box-shadow .15s;
}
.signup-form select {
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 38px;
}
.login-form input:focus,
.signup-form input:focus,
.signup-form select:focus {
    border-color: var(--toss-blue);
    box-shadow: 0 0 0 3px rgba(49,130,246,.15);
    outline: none;
}
.login-form input::placeholder,
.signup-form input::placeholder { color: #b5b0a7; }

.signup-form label {
    display: block;
}
.signup-form label > span {
    display: block;
    font-size: 12.5px;
    color: var(--text-2);
    margin-bottom: 7px;
    font-weight: 600;
    letter-spacing: -.2px;
}
.signup-check {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 10px 0 6px;
}
.signup-check input { width: auto; }
.signup-check span {
    font-size: 12px;
    color: var(--text-2);
    margin-bottom: 0 !important;
}

.login-btn.login-default {
    background: var(--text);
    color: var(--white);
    margin-top: 4px;
}

.login-switch {
    text-align: center;
    font-size: 13px;
    color: var(--text-2);
    margin-top: 18px;
}
.link-switch {
    color: var(--green-bright);
    font-weight: 700;
    margin-left: 4px;
    text-decoration: underline;
    background: none;
}

/* ========== 홈 판매시계 가로 스와이프 - 여백 정리 ========== */
/* 컨테이너 안쪽으로 시작 + 깔끔한 패딩 */

/* ========== 홈 실시간 매입 피드 리스트 ========== */
.feed-section {
    padding: 48px 0;
    background: var(--bg-soft);
}
.feed-section .live-header {
    margin-bottom: 20px;
}
.feed-section .live-header strong {
    color: var(--text);
}
.feed-section .live-header .live-sub {
    color: var(--text-3);
}

.bid-feed-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.bid-feed-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    animation: feedSlideIn 0.4s ease;
}
.bid-feed-item:last-child { border-bottom: none; }

@keyframes feedSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.feed-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feed-info { flex: 1; min-width: 0; }
.feed-model {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.3;
}
.feed-model strong {
    font-weight: 800;
    color: var(--green-bright);
    letter-spacing: 0.5px;
    margin-right: 6px;
}
.feed-by {
    font-size: 13px;
    color: var(--text-2);
    margin-bottom: 6px;
    line-height: 1.4;
}
.feed-by b {
    color: var(--text);
    font-weight: 700;
}
.feed-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--text-3);
    align-items: center;
}
.feed-meta .time {
    color: var(--text-3);
}
.feed-meta .status {
    padding: 3px 9px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
}
.status-done {
    background: rgba(150,150,150,0.12);
    color: var(--green-bright);
}
.status-progress {
    background: #f0f0f0;
    color: #555555;
}
.status-pending {
    background: #f0f0f0;
    color: var(--text-2);
}

/* ========== 비교견적 페이지: 경매 카드 ========== */
.auction-section {
    padding: 48px 0;
    background: var(--bg-soft);
}
.auction-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
}
.auction-watch {
    width: 100%;
    aspect-ratio: 16/10;
    background: #f0f0f0;
    overflow: hidden;
}
.auction-watch img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s; }
.auction-watch.fading img { opacity: 0; }

.auction-info {
    padding: 24px 22px 22px;
}
.auction-brand {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--green-bright);
    margin-bottom: 4px;
}
.auction-model {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
}
.auction-label {
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.auction-price {
    margin-bottom: 18px;
}
.auction-price strong {
    font-family: var(--serif);
    font-size: 46px;
    font-weight: 600;
    color: var(--green-bright);
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
}
.auction-price.flash strong {
    transform: scale(1.06);
    color: var(--green-light);
}
.auction-price em {
    font-style: normal;
    font-size: 18px;
    color: var(--text-2);
    margin-left: 6px;
    font-weight: 700;
}

.auction-progress {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}
.auction-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--green-mid), var(--green-bright));
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.auction-range {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-3);
    font-weight: 600;
}

.auction-feed-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}
.auction-feed {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    max-height: 320px;
    overflow-y: auto;
}
.auction-feed-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    animation: feedSlideIn 0.4s ease;
}
.auction-feed-row:last-child { border-bottom: none; }
.auction-feed-bidder {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-2);
    font-weight: 600;
}
.auction-feed-bidder::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--green-bright);
    border-radius: 50%;
}
.auction-feed-amount {
    font-weight: 900;
    color: var(--text);
    font-size: 14px;
}
.auction-feed-amount em {
    font-style: normal;
    font-size: 11px;
    color: var(--text-3);
    margin-left: 3px;
}

/* ========== 로그인 모달 ========== */
.login-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-modal[hidden] { display: none; }
.login-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    animation: fadeIn 0.3s ease;
}
.login-content {
    position: relative;
    width: 100%;
    max-width: 380px;
    max-height: 88vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 20px;
    padding: 26px 22px 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    animation: modalIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.login-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: var(--text);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-head { margin-bottom: 16px; }
.login-eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--green-bright);
    margin-bottom: 6px;
}
.login-head h2 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
}
.login-head h2 strong {
    font-weight: 900;
    color: var(--text);
}

.login-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s;
}
.login-btn:hover { opacity: 0.9; }
.login-kakao {
    background: var(--kakao);
    color: #111;
}
.login-icon-kakao {
    width: 18px; height: 18px;
    background: #111;
    border-radius: 50%;
    position: relative;
}
.login-icon-kakao::after {
    content: '💬';
    font-size: 12px;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-naver {
    background: #03C75A;
    color: #fff;
}
.login-icon-naver {
    width: 20px; height: 20px;
    background: #fff;
    color: #03C75A;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
}

.login-note {
    font-size: 12px;
    color: var(--text-3);
    text-align: center;
    margin: 20px 0;
    line-height: 1.6;
}

.my-info-mini {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
}
.my-info-mini h4 {
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.my-info-tel {
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 4px;
}
.my-info-mini p {
    font-size: 12px;
    color: var(--text-2);
}

/* ========== 상품 상세 모달 ========== */
/* ========== 상품 상세 (전체 페이지) ========== */
.product-page {
    position: fixed;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--app-w);
    z-index: 2500;
    background: var(--white);
    display: flex;
    flex-direction: column;
    animation: ppIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 0 60px rgba(0,0,0,0.18);
}
.product-page[hidden] { display: none; }
@keyframes ppIn { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

.pp-topbar {
    flex-shrink: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}
.pp-back, .pp-top-wish {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text); border-radius: 50%;
}
.pp-back:active, .pp-top-wish:active { background: var(--bg-soft); }
.pp-topbar-title { flex: 1; font-size: 16px; font-weight: 700; }
.pp-top-wish.on { color: #111111; }

.pp-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* 갤러리 */
.pp-gallery { background: #f7f5f1; }
.pp-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    padding: 28px;
}
.pp-main img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; touch-action: pan-y; }
.pp-detail-imgs img { cursor: zoom-in; }

/* 사진 확대 라이트박스 (req7) */
.pp-lightbox {
    position: fixed; inset: 0;
    z-index: 5000;
    background: rgba(0,0,0,0.92);
    display: flex; align-items: center; justify-content: center;
}
.pp-lightbox[hidden] { display: none; }
.pp-lb-stage {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    max-width: 100%; max-height: 100%;
}
.pp-lb-img {
    max-width: 92vw; max-height: 86vh;
    object-fit: contain;
    user-select: none; -webkit-user-drag: none;
}
.pp-lb-close {
    position: absolute; top: 14px; right: 14px;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.12);
    color: #fff; border: none; border-radius: 50%;
    cursor: pointer;
}
.pp-lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.12);
    color: #fff; border: none; border-radius: 50%;
    cursor: pointer;
}
.pp-lb-nav.prev { left: 12px; }
.pp-lb-nav.next { right: 12px; }
.pp-lb-count {
    position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: 13px;
    background: rgba(255,255,255,0.14);
    padding: 4px 14px; border-radius: 20px;
}
body.pp-lb-open { overflow: hidden; }
.pp-count {
    position: absolute;
    bottom: 14px; left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 20px;
}
.pp-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 16px 16px;
    overflow-x: auto;
}
.pp-thumb {
    flex-shrink: 0;
    width: 58px; height: 58px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    background: #fff;
    overflow: hidden;
    padding: 4px;
}
.pp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pp-thumb.on { border-color: var(--green); }

/* 핵심 정보 */
.pp-info { padding: 20px 18px 8px; }
.pp-brand-row { display: flex; align-items: center; justify-content: space-between; }
.pp-brand {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text);
}
.pp-used {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-3);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 4px;
}
.hcard-used-row {
    margin: 8px 0 0;
    line-height: 1;
}
.hcard-used-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface, #fff);
    color: var(--text-3);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.2px;
}
.pp-title { font-size: 16px; font-weight: 600; color: var(--text-2); margin-top: 6px; line-height: 1.5; }
.pp-price { font-size: 26px; font-weight: 900; margin: 14px 0 18px; }
.pp-price .won { font-size: 17px; font-weight: 700; margin-left: 1px; }
.pp-responsibility {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 14px;
    padding: 13px 14px;
    border: 1px solid #dce8e2;
    border-radius: 12px;
    background: #f4faf7;
    color: var(--text);
}
.pp-responsibility strong { font-size: 13px; font-weight: 800; color: #12633f; }
.pp-responsibility span { font-size: 12px; line-height: 1.55; color: var(--text-2); }
.pp-npay {
  min-height: 62px;
  margin: 14px 0 4px;
  width: 100%;
  max-width: 460px;
}
.pp-npay[hidden] { display: none; }

.pp-meta {
    border-top: 1px solid var(--border);
    padding: 14px 0;
}
.pp-meta-row {
    display: flex;
    gap: 14px;
    font-size: 13px;
    padding: 4px 0;
}
.pp-meta-row > span {
    flex-shrink: 0;
    width: 72px;
    color: var(--text-3);
}
.pp-meta-row > strong { font-weight: 600; color: var(--text); }
.pp-meta-benefit > strong { color: var(--green); font-weight: 500; line-height: 1.7; font-size: 12.5px; }

/* 탭 */
.pp-tabs {
    display: flex;
    border-top: 8px solid var(--bg-soft);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0;
    background: var(--white);
    z-index: 1;
}
.pp-tab {
    flex: 1;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-3);
    border-bottom: 2px solid transparent;
}
.pp-tab.active { color: var(--text); border-bottom-color: var(--dark-green); font-weight: 800; }

.pp-panel { padding: 22px 18px 30px; }
.pp-sec-title { font-size: 15px; font-weight: 800; margin: 22px 0 12px; }
.pp-sec-title:first-child { margin-top: 0; }

/* 부속품 */
.pp-acc { display: flex; gap: 10px; }
.pp-acc-item {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 14px 4px;
}
.pp-acc-ic { display: block; font-size: 20px; margin-bottom: 6px; filter: grayscale(0.2); }
.pp-acc-item.off { opacity: 0.34; filter: grayscale(1); }
.pp-acc-item.on {
    background: #eef5f0;
    color: var(--dark-green);
    border: 1px solid var(--dark-green);
    position: relative;
}
.pp-acc-item.on::after {
    content: "✓";
    position: absolute; top: 4px; right: 6px;
    font-size: 11px; font-weight: 900; color: var(--dark-green);
}

/* 기본 정보 */
.pp-spec { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.pp-spec-row {
    display: flex;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}
.pp-spec-row:last-child { border-bottom: none; }
.pp-spec-row > span {
    width: 100px; flex-shrink: 0;
    background: var(--bg-soft);
    color: var(--text-3);
    padding: 12px 14px;
}
.pp-spec-row > strong {
    padding: 12px 14px; font-weight: 600;
    flex: 1; min-width: 0;
    word-break: keep-all; overflow-wrap: anywhere;
    line-height: 1.5;
}

.pp-desc { margin-top: 22px; font-size: 13.5px; color: var(--text-2); line-height: 1.7; }
.pp-desc h4 { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.pp-desc ul { padding-left: 18px; }
.pp-desc li { margin-bottom: 4px; }

/* 핵심 스펙 칩 (바이버 스타일) — 보증서/스탬핑/정품박스/특이사항 2×2 */
.pp-chips {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
    margin: 0 0 6px; padding: 16px 14px;
    border: 1px solid var(--border); border-radius: 14px; background: var(--bg-soft, #f7f6f1);
}
.pp-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.pp-chip-l { font-size: 12.5px; color: var(--text-3, #9a958c); font-weight: 600; flex-shrink: 0; }
.pp-chip-v {
    font-size: 13px; font-weight: 800; color: var(--text, #1a1a1a);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pp-chip-v.off { color: var(--text-3, #b6b1a8); font-weight: 600; }

/* 제품 상태 */
.pp-state { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }
.pp-state-badge {
    display: block; padding: 12px 14px; border-radius: 10px;
    background: #1f2a44; color: #fff; font-weight: 800; font-size: 13.5px; margin-bottom: 14px;
}
.pp-state-badge.is-new { background: #0a7d3c; }
.pp-state-desc p { margin: 0 0 10px; }
.pp-state-desc p:last-child { margin-bottom: 0; }
.pp-state-desc b { font-weight: 800; color: var(--text); }
.pp-state-note { display: block; margin-top: 6px; font-size: 12px; color: var(--text-3, #9a958c); }
.pp-detail-imgs { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.pp-detail-imgs img { width: 100%; border-radius: 10px; }

.pp-ask-desc, .pp-notice { font-size: 13.5px; color: var(--text-2); line-height: 1.8; }
.pp-notice { padding-left: 18px; }
.pp-notice li { margin-bottom: 8px; }
.pp-ask-desc { margin-bottom: 16px; }

/* 하단 고정 구매바 */
.pp-bottom {
    flex-shrink: 0;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--white);
}
.pp-wish {
    width: 60px; flex-shrink: 0;
    min-height: 60px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-2);
}
.pp-wish.on { color: #e0282e; border-color: #e0282e; }
.pp-wish.on svg { fill: #e0282e; }
.pp-buy {
    flex: 1;
    min-height: 60px;
    background: var(--dark-green);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    border-radius: 10px;
}
.pp-buy:active { opacity: 0.9; }
/* 우상단 찜 하트 채움 */
.pp-top-wish.on { color: #e0282e; }
.pp-top-wish.on svg { fill: #e0282e; }

/* ========== 소개 강화 ========== */
.about-vision {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.9;
}

.kf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}
.kf-card {
    background: var(--black-card);
    border: 1px solid var(--border-dark);
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
}
.kf-card strong {
    display: block;
    font-size: 30px;
    font-weight: 900;
    color: var(--green-bright);
    margin-bottom: 6px;
}
.kf-card strong em {
    font-style: normal;
    font-size: 18px;
}
.kf-card span {
    display: block;
    font-size: 13px;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 4px;
}
.kf-card small {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

.expert-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    margin-top: 32px;
}
.expert-img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--black);
}
.expert-img img { width: 100%; height: 100%; object-fit: cover; }
.expert-info { padding: 28px 24px; }
.expert-role {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--green-bright);
    margin-bottom: 6px;
}
.expert-info h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
}
.expert-list {
    list-style: none;
    padding: 0;
}
.expert-list li {
    padding: 12px 0 12px 28px;
    position: relative;
    font-size: 14px;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
}
.expert-list li:last-child { border-bottom: none; }
.expert-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 11px;
    width: 20px;
    height: 20px;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}
.cert-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
}
.cert-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.cert-card strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}
.cert-card p {
    font-size: 12px;
    color: var(--text-2);
}

.process-list {
    list-style: none;
    padding: 0;
    margin-top: 32px;
    counter-reset: step;
}
.process-list li {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.process-list li:last-child { border-bottom: none; }
.process-num {
    width: 36px;
    height: 36px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 15px;
    flex-shrink: 0;
}
.process-list li strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}
.process-list li p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
}

/* 매장 카드 (강화 버전) */
.store-card-rich {
    padding: 0;
    overflow: hidden;
}
.store-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--black);
}
.store-img img { width: 100%; height: 100%; object-fit: cover; }
.store-body { padding: 18px 20px 20px; }

/* ========== 가로 스와이프 (홈) ========== */
.hscroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    padding: 8px 0 16px 24px;
    margin: 24px 0 0;
    cursor: grab;
    /* 스크롤바 숨김 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.hscroll:active { cursor: grabbing; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll-track {
    display: flex;
    gap: 12px;
    width: max-content;
    padding-right: 24px;
}
/* 카드 전체를 감싸는 테두리 박스는 없앤다 — 이미지에만 자체 박스를 두고
   텍스트(브랜드/모델/스펙/가격)는 여백 없이 바로 아래 흐르는 레퍼런스 스타일 */
.hcard {
    flex: 0 0 200px;
    width: 200px;
    scroll-snap-align: start;
    background: transparent;
    border: none;
    border-radius: 0;
    position: relative;
    transition: opacity 0.2s;
    cursor: pointer;
    user-select: none;
}
.hcard:hover { opacity: 0.85; }
.hcard-img {
    width: 100%;
    aspect-ratio: 1;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.hcard-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hcard-tag {
    position: absolute;
    top: 10px; left: 10px;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}
.hcard-tag.ny { background: var(--green); color: var(--white); }
.hcard-tag.user { background: rgba(255,255,255,0.9); color: var(--text); border: 1px solid var(--border); }
/* 카드 텍스트: 궁서(serif) 제거 · 모델명을 가장 크게 · 간격 균일하게 간결 정리 */
.hcard-brand {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--green-bright);
    padding: 11px 13px 0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hcard-model {
    font-size: 16px;          /* 모델명을 가장 크게 (브랜드보다 2단계 ↑) */
    font-weight: 800;
    color: var(--text);
    padding: 3px 13px 0;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* 1줄·2줄 카드 높이를 항상 동일하게(2줄분 고정) → 줄바꿈으로 규격 깨지는 문제 방지 */
    min-height: calc(16px * 1.25 * 2);
}
.hcard-ref,
.hcard-pack {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    padding: 3px 13px 0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hcard-trust {
    font-size: 10.5px;
    font-weight: 650;
    color: #55575b;
    padding: 0 8px;
    margin: 7px 13px 0;
    height: 24px;
    line-height: 22px;
    border: 1px solid #e3e1dc;
    border-radius: 7px;
    background: #f8f7f4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hcard-price {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.1px;
    color: var(--text);
    padding: 3px 13px 12px;
    margin: 0;
}
.hcard-price em {
    font-style: normal;
    font-size: inherit;       /* '원'을 가격 숫자와 같은 크기로 (작게 X) */
    color: inherit;
    margin-left: 1px;
    font-weight: inherit;
}

/* ========== 매입방식 사진 ========== */
.method-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--black);
    flex-shrink: 0;
}
.method-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.method-info { flex: 1; }

/* ========== 시계 사진 슬라이드 (실시간 입찰 위) ========== */
.live-watch-stage {
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
    border-radius: 16px;
    height: 110px;
    background: var(--black-card);
    border: 1px solid var(--border-dark);
}
.live-watch-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    opacity: 0;
    transform: translateX(60%);
}
.live-watch-card.in {
    animation: watchIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.live-watch-card.out {
    animation: watchOut 0.45s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}
@keyframes watchIn {
    0% { opacity: 0; transform: translateX(60%); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes watchOut {
    0% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(-60%); }
}
.live-watch-card .watch-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}
.live-watch-card .watch-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.live-watch-card .watch-meta strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--green-bright);
    margin-bottom: 4px;
}
.live-watch-card .watch-meta span {
    display: block;
    font-size: 14px;
    color: var(--white);
    font-weight: 700;
}

/* ========== 홈: 큰 실시간 비교견적 ========== */
.live-bid-big {
    padding: 48px 0;
    background: var(--black);
    color: var(--white);
}
.live-bid-big .live-header {
    margin-bottom: 24px;
}

.live-target-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--black-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}
.live-target-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}
.live-target-img img { width: 100%; height: 100%; object-fit: cover; }
.live-target-brand {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--green-bright);
    margin-bottom: 4px;
}
.live-target-model {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
}

.live-stage {
    position: relative;
    height: 76px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-green), var(--black-card));
    border: 1px solid var(--border-dark);
    border-radius: 14px;
    margin-bottom: 16px;
}
.live-bid-card {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%) translateX(100%);
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
}
.live-bid-card.in {
    animation: bidSlideIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.live-bid-card.out {
    animation: bidSlideOut 0.5s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}
@keyframes bidSlideIn {
    0% { transform: translateY(-50%) translateX(110%); opacity: 0; }
    100% { transform: translateY(-50%) translateX(0); opacity: 1; }
}
@keyframes bidSlideOut {
    0% { transform: translateY(-50%) translateX(0); opacity: 1; }
    100% { transform: translateY(-50%) translateX(-110%); opacity: 0; }
}
.bid-bidder {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    font-weight: 700;
    letter-spacing: 0.3px;
}
.bid-bidder::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green-bright);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--green-bright);
}
.bid-amount {
    font-weight: 900;
    font-size: 19px;
    color: var(--green-bright);
}
.bid-amount em { font-style: normal; font-size: 13px; color: rgba(255,255,255,0.6); margin-left: 4px; }

.live-best {
    text-align: center;
    padding: 18px;
    background: var(--black-card);
    border-radius: 14px;
    margin-bottom: 20px;
}
.live-best span {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.live-best strong {
    display: block;
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 600;
    color: var(--green-bright);
    transition: transform 0.2s, color 0.2s;
}
.live-best strong em { font-style: normal; font-size: 16px; margin-left: 4px; color: rgba(255,255,255,0.6); }
.live-best.flash strong { transform: scale(1.08); }

/* 최근 매물 카드 (홈) */
.recent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
}
.recent-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s;
}
.recent-card:hover {
    transform: translateY(-4px);
    border-color: var(--green-bright);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}
.recent-img {
    aspect-ratio: 1;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.recent-img img {
    width: 100%; height: 100%;
    object-fit: contain;
}
.recent-info { padding: 14px; }
.recent-brand {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--green-bright);
    margin-bottom: 4px;
}
.recent-model {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 36px;
}
.recent-price {
    font-size: 13px;
    color: var(--text);
}
.recent-price em {
    font-style: normal;
    color: var(--text-3);
    font-size: 11px;
    margin-right: 4px;
}
.recent-price strong {
    font-weight: 900;
    font-size: 15px;
    color: var(--text);
}

/* 매입 방법 한 칸 */
.method-card {
    background: var(--black-card);
    border: 1px solid var(--border-dark);
    border-radius: 18px;
    padding: 8px 20px;
    margin-top: 32px;
}
.method-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.method-row:last-child { border-bottom: none; }
.method-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-bright);
    flex-shrink: 0;
}
.method-row strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}
.method-row p {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}

/* 브랜드 무한 슬라이드 (마퀴) */
.brand-marquee {
    overflow: hidden;
    padding: 40px 0;
    background: var(--bg-soft);
    margin-top: 32px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.brand-marquee-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: marquee 30s linear infinite;
}
.brand-chip {
    padding: 14px 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* 업적 카드 */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
}
.ach-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
}
.ach-card strong {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--green-bright);
    margin-bottom: 8px;
    line-height: 1;
}
.ach-card span {
    font-size: 13px;
    color: var(--text-2);
    font-weight: 600;
}

/* 이벤트 슬라이드 (컬렉션) - 높이 고정 */
.event-slider {
    position: relative;
    overflow: hidden;
    margin-top: 24px;
}
.event-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: stretch;
}
.event-slide {
    flex: 0 0 100%;
    padding: 0 24px;
    display: flex;
}
.event-inner {
    width: 100%;
    background: linear-gradient(135deg, var(--dark-green), var(--black));
    color: var(--white);
    border-radius: 20px;
    padding: 36px 28px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.event-1 .event-inner {
    background-image:
        linear-gradient(135deg, rgba(13,43,34,0.85), rgba(10,10,10,0.9)),
        url('assets/2026-03-18_이미지자료_193432.jpg');
}
.event-2 .event-inner {
    background-image:
        linear-gradient(135deg, rgba(13,43,34,0.82), rgba(10,10,10,0.92)),
        url('assets/2026-02-27_이미지자료_131744.jpeg');
}
.event-3 .event-inner {
    background-image:
        linear-gradient(135deg, rgba(13,43,34,0.85), rgba(10,10,10,0.9)),
        url('assets/2026-03-18_이미지자료_193416.jpg');
}
.event-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(150,150,150,0.25), transparent 60%);
}
.event-inner > * { position: relative; z-index: 1; }
.event-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--green-bright);
    font-weight: 800;
    margin-bottom: 14px;
    width: fit-content;
}
.event-inner h3 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.event-inner h3 strong {
    color: var(--green-bright);
    font-weight: 900;
}
.event-inner p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 22px;
}
.event-inner .btn { width: fit-content; }
.event-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}
.event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s;
    cursor: pointer;
}
.event-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--green-bright);
}

/* 인사이트 모달 */
.post-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.post-modal[hidden] { display: none; }
.post-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    animation: fadeIn 0.3s ease;
}
.post-modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 20px;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    animation: modalIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.post-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(8px);
}
.post-modal-img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f0f0f0;
}
.post-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.post-modal-body { padding: 28px 24px 36px; }
.post-modal-body h2 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    margin: 12px 0 12px;
    letter-spacing: -0.5px;
}
.post-modal-meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.post-modal-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-2);
}
.post-modal-text p { margin-bottom: 16px; }
.post-modal-text h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    margin: 24px 0 12px;
}

/* 스크롤 안내 화살표 (SVG, 깔끔) */
.scroll-arrow-link {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    z-index: 4;
    opacity: 0;
    animation: heroLineIn 1s ease-out 1.8s forwards;
    padding: 8px;
    text-decoration: none;
}
.scroll-arrow-link svg {
    animation: arrowBounceY 1.5s ease-in-out infinite;
}
@keyframes arrowBounceY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* 다크 외곽선 버튼 */
.btn-outline-dark {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--text);
}
.btn-outline-dark:hover { background: var(--text); color: var(--white); }

.lead-sub {
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ========== 히어로 순차 애니메이션 ========== */
.anim-line {
    opacity: 0;
    transform: translateY(20px);
    animation: heroLineIn 0.7s ease-out forwards;
}
.hero-eyebrow.anim-line { animation-delay: 0.1s; }
.hero-title .anim-line:nth-child(1) { animation-delay: 0.3s; }
.hero-title .anim-line:nth-child(2) { animation-delay: 0.55s; }
.hero-title .anim-line:nth-child(3) { animation-delay: 0.8s; }
.hero-desc.anim-line { animation-delay: 1.1s; }
.hero-cta.anim-line { animation-delay: 1.35s; }
.hero-stats.anim-line { animation-delay: 1.6s; }

.hero-title .anim-line {
    display: block;
}

@keyframes heroLineIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* (스크롤 안내는 .scroll-arrow-link로 통합됨) */

/* ========== 시계 수리 ========== */
.repair-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}
.repair-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    transition: all 0.2s;
}
.repair-card:hover {
    border-color: var(--green-bright);
    transform: translateY(-3px);
}
.repair-icon {
    font-size: 32px;
    margin-bottom: 10px;
}
.repair-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}
.repair-card p {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.5;
}

/* ========== 인증 제휴처 ========== */
.partner-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 32px 0 24px;
}
.partner-stat {
    background: var(--dark-green);
    color: var(--white);
    padding: 20px 12px;
    border-radius: 14px;
    text-align: center;
}
.partner-stat strong {
    display: block;
    font-size: 26px;
    font-weight: 900;
    color: var(--green-bright);
    margin-bottom: 4px;
}
.partner-stat span {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}
.partner-list {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}
.partner-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    align-items: center;
    font-size: 13px;
}
.partner-row:last-child { border-bottom: none; }
.partner-region {
    font-weight: 700;
    color: var(--text);
}
.partner-names {
    color: var(--text-2);
    line-height: 1.5;
}
.partner-note {
    margin-top: 14px;
    font-size: 11px;
    color: var(--text-3);
    text-align: center;
}

/* ========== 실시간 입찰 위젯 ========== */
.live-bid-section { padding: 40px 0; background: var(--black); color: var(--white); }
.live-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
.live-header strong {
    color: var(--white);
    font-weight: 800;
    margin-right: 4px;
}
.live-header .live-dot {
    width: 8px; height: 8px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255,255,255,0.7);
    animation: pulseRed 1.2s infinite;
}
@keyframes pulseRed {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.15); }
}
.live-sub {
    margin-left: auto;
    color: var(--green-bright);
    font-size: 12px;
}
.live-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--black-card) 100%);
    border: 1px solid var(--border-dark);
    border-radius: 18px;
    padding: 20px;
    align-items: center;
}
.live-watch {
    width: 110px;
    height: 110px;
    border-radius: 14px;
    overflow: hidden;
    background: #f0f0f0;
}
.live-watch img { width: 100%; height: 100%; object-fit: cover; }
.live-model { font-size: 13px; color: var(--green-light); margin-bottom: 6px; font-weight: 600; }
.live-price-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.live-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--green-bright);
    line-height: 1;
}
.live-price em { font-style: normal; font-size: 14px; margin-left: 4px; color: rgba(255,255,255,0.7); }
.live-bidders {
    margin-top: 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    height: 14px;
    overflow: hidden;
}
.live-bidders .bidder-line { animation: slideUp 0.5s ease; }
@keyframes slideUp {
    from { transform: translateY(14px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.live-feed {
    margin-top: 16px;
    background: var(--black-card);
    border: 1px solid var(--border-dark);
    border-radius: 14px;
    padding: 12px 16px;
    max-height: 200px;
    overflow-y: auto;
}
.feed-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
    animation: slideUp 0.4s ease;
}
.feed-row:last-child { border-bottom: none; }
.feed-bidder {
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}
.feed-bidder::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--green-bright);
    border-radius: 50%;
}
.feed-amount {
    color: var(--green-bright);
    font-weight: 700;
}

/* ========== 비교견적 폼 ========== */
/* 내시계팔기 최상단(랜딩): 고정 헤더(로고바+카테고리바) 높이만큼만 띄우고
   그 외 위·아래 여백은 0 → 상단탭과 랜딩이미지 사이, 랜딩이미지와 폼 사이 빈 공간 제거 */
.compare-top-pad {
    padding-top: calc(var(--header-h) + 52px + env(safe-area-inset-top));
    padding-bottom: 0;
}
/* 폼은 랜딩 이미지 바로 아래에 붙되, 글씨가 이미지에 닿지 않게 최소 여백만 */
.compare-form-top { padding-top: 26px; padding-bottom: 28px; }
/* 비교견적 ↔ 라이브 ↔ 등록매물 사이 빈 공간도 최소화 */
.page-compare .live-board-section { padding: 26px 0; }
.page-compare .live-board-section + .section { padding-top: 26px; }
.page-hero-compare {
    background-image: url('assets/2026-03-18_이미지자료_193412.jpg');
}
/* 비교견적 히어로: 배경 위 글씨가 흐릿하지 않도록 대비 강화 */
.page-hero-compare::before {
    background: linear-gradient(135deg, rgba(28, 22, 14, 0.82), rgba(16, 12, 8, 0.92));
}
.page-hero-compare .eyebrow.light { color: #f4f4f4; opacity: 1; letter-spacing: 2px; }
.page-hero-compare .page-hero-title { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.45); }
.page-hero-compare .page-hero-desc { color: rgba(255,255,255,0.92); text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.compare-form {
    background: var(--white);
    padding: 28px 24px;
    border-radius: 20px;
    margin-top: 32px;
    border: 1px solid var(--border);
}
.upload-block { margin-bottom: 28px; }
.upload-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}
.upload-hint {
    font-size: 12px;
    color: var(--text-3);
    margin-bottom: 14px;
}
.upload-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.upload-cell {
    aspect-ratio: 1;
    border: 2px dashed var(--border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
}
.upload-cell.upload-add:hover {
    border-color: var(--green-bright);
    background: rgba(150,150,150,0.05);
}
.upload-cell .plus {
    font-size: 28px;
    font-weight: 300;
    color: var(--text-3);
    line-height: 1;
}
.upload-cell-text {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 4px;
}
.upload-count {
    font-size: 10px;
    color: var(--green-bright);
    font-weight: 700;
    margin-top: 4px;
}
.upload-cell.has-img {
    border: 1px solid var(--border);
    padding: 0;
    background: #000;
}
.upload-cell.has-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.upload-cell .remove-btn {
    position: absolute;
    top: 4px; right: 4px;
    width: 22px; height: 22px;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.form-block { margin-bottom: 22px; }
.form-block label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.form-block input,
.form-block select,
.form-block textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    font-size: 14px;
    margin-top: 6px;
}
.form-block input:focus,
.form-block select:focus,
.form-block textarea:focus { border-color: var(--green-bright); outline: none; }
.form-block textarea { resize: vertical; font-family: inherit; }
.form-block select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 42px;
}
.block-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    display: block;
}
.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.check-cell {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0 !important;
    font-weight: 500 !important;
}
.check-cell input {
    display: none;
}
.check-cell span {
    font-size: 13px;
    color: var(--text-2);
}
.check-cell:has(input:checked) {
    border-color: var(--green-bright);
    background: rgba(150,150,150,0.08);
}
.check-cell:has(input:checked) span {
    color: var(--green-bright);
    font-weight: 700;
}

/* 내 매물 목록 */
.my-items { margin-top: 24px; }
.empty-items {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-soft);
    border-radius: 16px;
    color: var(--text-3);
}
.empty-items p { font-size: 14px; }
.empty-items .sub { font-size: 12px; margin-top: 4px; }

.my-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 10px;
}
.my-item-img {
    width: 80px; height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
}
.my-item-img img { width: 100%; height: 100%; object-fit: cover; }
.my-item-info strong { display: block; font-size: 14px; margin-bottom: 4px; }
.my-item-info p { font-size: 12px; color: var(--text-3); }
.my-item-status {
    padding: 6px 12px;
    background: #f0f0f0;
    color: #555555;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.submit-success {
    background: linear-gradient(135deg, #f0f9f4, #e6f7ed);
    border: 1.5px solid var(--green-bright);
    color: var(--dark-green);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    margin-top: 24px;
}
.submit-success strong { display: block; font-size: 16px; margin-bottom: 8px; }
.submit-success p { font-size: 13px; color: var(--text-2); }

/* ========== 매장 카드 ========== */
.store-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
}
.store-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}
.store-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}
.store-card p {
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 8px;
}
.store-card small {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.6;
    display: block;
}

/* ========== 연락처 빠른 카드 ========== */
.contact-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.contact-quick-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    display: block;
}
.contact-quick-card:hover {
    border-color: var(--green-bright);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.contact-quick-card .cq-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}
.contact-quick-card strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text);
}
.contact-quick-card p {
    font-size: 13px;
    color: var(--text-2);
    margin-bottom: 6px;
    font-weight: 600;
}
.contact-quick-card small {
    font-size: 11px;
    color: var(--green-bright);
    font-weight: 700;
}
.contact-quick-card.kakao { background: linear-gradient(135deg, #FFF8B0 0%, #FEE500 100%); border: none; }
.contact-quick-card.kakao small { color: #5a4500; }
.contact-quick-card.compare { background: var(--dark-green); border: none; color: white; }
.contact-quick-card.compare strong,
.contact-quick-card.compare p { color: white; }
.contact-quick-card.compare small { color: var(--green-light); }

/* ========== 정보 리스트 ========== */
.info-list-app {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 24px;
}
.info-list-app li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.info-list-app li:last-child { border-bottom: none; }
.info-label { color: var(--text-3); }
.info-value { color: var(--text); font-weight: 600; }
.info-value.link { color: var(--green-bright); }

.lead.center { text-align: center; max-width: 480px; margin: 0 auto 32px; }

/* ========== 하단 탭바 (앱 네비게이션) ========== */
.tabbar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--app-w);
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-left: 4px;
    padding-right: 4px;
    z-index: 1000;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 2px;
    color: #9a9a9a;
    transition: color 0.2s, transform 0.15s;
}
.tab-item svg { width: 29px; height: 29px; }
/* 벨로르 탭 — 파비콘 B 마크를 마스크로 채워 하단탭 색(currentColor)과 일치 */
.tab-logo-ic {
    width: 27px; height: 27px; display: block;
    background-color: currentColor;
    -webkit-mask: url('assets/icons/bellore-mark.png') center / contain no-repeat;
    mask: url('assets/icons/bellore-mark.png') center / contain no-repeat;
}

.tab-item span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    white-space: nowrap;
}

.tab-item.active {
    color: var(--green-bright);
}

.tab-item.active span {
    font-weight: 700;
}

.tab-item:active {
    transform: scale(0.92);
}

/* 하단 찜 탭 배지 */
.tab-wish-ic { position: relative; display: inline-flex; }
.tab-wish-badge {
    position: absolute; top: -6px; right: -9px; min-width: 16px; height: 16px;
    padding: 0 4px; border-radius: 999px; background: #e53935; color: #fff;
    font-size: 10px; font-weight: 800; line-height: 16px; text-align: center;
}
.tab-wish-badge[hidden] { display: none; }

/* 상단 통합검색 안의 작은 AI 체크 버튼 */
.header-ai-btn {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.header.scrolled .header-ai-btn,
.header.light-page .header-ai-btn {
    background: #111;
    color: #fff;
}
.header-ai-btn:active { transform: scale(.9); }
/* 기존 상단 네비 잔재 숨김 */
.nav-menu,
.menu-toggle,
.header-tel,
.btn-cta-small {
    display: none !important;
}

/* ========== Floating Kakao ========== */
.float-kakao {
    position: fixed;
    bottom: calc(var(--tabbar-h) + 16px);
    left: 50%;
    margin-left: calc(var(--app-w) / 2 - 70px);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--kakao);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(254, 229, 0, 0.5);
    z-index: 900;
    transition: transform 0.3s;
    animation: floatBounce 3s ease-in-out infinite;
}
@media (max-width: 680px) {
    .float-kakao {
        margin-left: 0;
        left: auto;
        right: 16px;
    }
}
.float-kakao:hover { transform: scale(1.1); }
@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ========== 앱 설치 배너 (푸터) ========== */
.install-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin: 24px 0 0;
    padding: 16px 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    text-align: left;
}
.install-banner:hover  { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.24); }
.install-banner:active { transform: scale(0.985); }
.install-banner[hidden] { display: none; }
.install-banner-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.install-banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.install-banner-logo {
    height: 18px;
    width: auto;
    filter: brightness(0) invert(1);
    object-fit: contain;
}
.install-banner-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.1px;
}
.install-banner-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: rgba(255,255,255,0.7);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* ========== 알림 벨 + 뱃지 ========== */
#btnNoti { position: relative; }
#btnNoti[hidden] { display: none; }
.noti-badge {
    position: absolute;
    top: -2px; right: -2px;
    min-width: 16px; height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e5484d;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
}
.noti-badge[hidden] { display: none; }

/* ========== 구글 로그인 버튼 ========== */
.login-google { background: #fff; color: #1a1a1a; border: 1px solid #dadce0; }
.login-icon-google {
    width: 20px; height: 20px;
    border-radius: 50%;
    color: #4285f4;
    font-weight: 900;
    font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.login-icon-img {
    width: 22px; height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ========== 마이포켓 ========== */
.customer-only[hidden] { display: none; }
.pocket { margin: 4px 0 20px; }

.pocket-card {
    background: linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 60%, #0a0a0a 100%);
    border-radius: 16px;
    padding: 20px 18px;
    color: #fff;
    margin-bottom: 14px;
}
.pocket-card-top { display: flex; align-items: center; justify-content: space-between; }
.pocket-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #c9a96e; }
.pocket-grade {
    display: inline-flex; align-items: center;
    font-size: 11.5px; font-weight: 800; letter-spacing: 0.5px;
    color: #f3e6cf;
    background: rgba(201,169,110,0.18);
    border: 1px solid rgba(201,169,110,0.35);
    padding: 4px 11px; border-radius: 30px;
}
.pocket-name { font-size: 22px; font-weight: 800; margin: 12px 0 18px; letter-spacing: -0.3px; }
.pocket-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.pocket-stat {
    display: flex; flex-direction: column; gap: 6px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    padding: 13px 14px;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: #fff;
    transition: background .15s;
}
.pocket-stat-static { cursor: default; }
.pocket-stat:not(.pocket-stat-static):active { background: rgba(255,255,255,0.14); }
.pocket-stat-label { font-size: 12px; color: rgba(255,255,255,0.62); }
.pocket-stat-val { font-size: 17px; font-weight: 800; }
.pocket-stat-val b { font-size: 17px; font-weight: 800; color: #e9cfa1; }

.pocket-promo {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 18px;
    margin-bottom: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}
.pocket-promo h4 { font-size: 17px; font-weight: 800; margin-bottom: 16px; line-height: 1.4; }
.pocket-benefits { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.pocket-benefits li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-2); }
.pb-ic {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-soft);
    border-radius: 50%;
    font-size: 16px; color: var(--green);
}
.pocket-promo-btn {
    width: 100%; padding: 15px;
    background: var(--dark-green);
    color: #fff;
    font-size: 15px; font-weight: 800;
    border-radius: 10px;
}

/* 원형 퀵메뉴 그리드 (VIVER식) */
.pocket-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 4px;
    margin: 4px 0 22px;
}
.pl-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    background: none; border: none; padding: 0; cursor: pointer;
    font-family: inherit; color: var(--text);
}
.pl-ic {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-soft); color: #2b2620;
    transition: background .15s, transform .15s, color .15s;
}
.pl-ic svg { width: 23px; height: 23px; }
.pl-item:active .pl-ic { transform: scale(.92); }
.pl-item:hover .pl-ic { background: #161616; color: #c9a96e; }
.pl-label { font-size: 11.5px; color: var(--text-2); white-space: nowrap; line-height: 1; }

.pocket-quick {
    display: flex; gap: 10px;
    overflow-x: auto;
    margin-bottom: 22px;
    padding-bottom: 2px;
}
.pocket-quick-item {
    flex: 1; min-width: 110px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.pq-ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: var(--bg-soft);
    border-radius: 50%;
    font-size: 18px;
    margin-bottom: 12px;
}
.pq-label { display: block; font-size: 12.5px; color: var(--text-2); }
.pocket-quick-item strong { display: block; font-size: 18px; font-weight: 800; margin-top: 4px; }

.pocket-shop { margin-bottom: 6px; }
.pocket-shop-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pocket-shop-head h4 { font-size: 16px; font-weight: 800; }
.pocket-shop-all {
    font-size: 12px; color: var(--text-2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 12px;
}
.pocket-status { display: flex; justify-content: space-between; text-align: center; }
.ps-cell { flex: 1; }
.ps-cell b { display: block; font-size: 22px; font-weight: 800; color: var(--text-3); }
.ps-cell span { font-size: 11.5px; color: var(--text-2); }

/* ========== 마이페이지 / 알림 목록 ========== */
.mypage-email { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.mypage-section { margin-bottom: 18px; }
.mypage-section h4 {
    font-size: 13px; font-weight: 800; color: var(--text);
    margin-bottom: 10px; padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}
.mypage-btn {
    width: 100%; padding: 11px;
    border: 1px dashed var(--green-bright);
    border-radius: 10px;
    color: var(--green-bright);
    font-weight: 700; font-size: 13px;
    margin-top: 8px;
}
.admin-list { display: flex; flex-direction: column; gap: 6px; }
.admin-list-item {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 13px; color: var(--text);
    padding: 8px 10px; background: var(--bg-soft); border-radius: 8px;
}
.admin-list-item button {
    color: #e5484d; font-size: 12px; font-weight: 700;
}
.noti-list { display: flex; flex-direction: column; gap: 12px; }
.noti-item {
    display: block; width: 100%; text-align: left; border: 1px solid var(--border); cursor: default;
    padding: 14px 16px; border-radius: 14px;
    background: #fff; font-size: 13px; line-height: 1.5; color: var(--text);
    transition: transform .18s ease, opacity .18s ease; touch-action: pan-y;
}
.noti-item.has-go { cursor: pointer; }
.noti-item.swiping { box-shadow: inset -4px 0 0 #e5484d; }
.noti-item-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.noti-item-top time { font-size: 12px; color: var(--text-3); }
.noti-del { border: 0; background: transparent; color: var(--text-3); padding: 2px; cursor: pointer;
    line-height: 0; border-radius: 8px; }
.noti-del:hover { color: #e5484d; background: rgba(229,72,77,.08); }
.noti-body-row { display: flex; align-items: flex-start; gap: 12px; }
.noti-bell { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%;
    background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--text); }
.noti-bell img { width: 28px; height: 28px; object-fit: contain; }
.noti-dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%;
    background: #e5484d; border: 1.5px solid #fff; }
.noti-main { flex: 1 1 auto; min-width: 0; }
.noti-tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .3px;
    color: var(--green-bright); background: rgba(31,59,52,.08); border-radius: 999px; padding: 2px 8px; margin-bottom: 4px; }
.noti-tag.cat-quote { color: #1f7a4d; background: rgba(31,122,77,.1); }
.noti-tag.cat-sale { color: #9a6a14; background: rgba(180,140,20,.12); }
.noti-tag.cat-support { color: #2563a6; background: rgba(37,99,166,.1); }
.noti-tag.cat-info { color: #6a6a6a; background: rgba(0,0,0,.06); }
.noti-title { display: block; font-weight: 800; color: var(--text); }
.noti-text { display: block; color: var(--text-2); margin-top: 2px; font-size: 12.5px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.noti-item.expanded .noti-text { white-space: normal; }
.noti-arrow { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 800; color: var(--green-bright); }
.noti-expand { width: 100%; margin-top: 12px; padding: 10px; border: 1px solid var(--border);
    border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--text-2); cursor: pointer; }
.noti-item.unread { border-color: var(--border); }
.noti-empty, .mypage-empty {
    text-align: center; color: var(--text-3); font-size: 13px; padding: 16px 0;
}
/* 나의 알림 페이지 헤더 */
.noti-page-note { font-size: 12.5px; color: var(--text-3); margin: 4px 0 16px; }
.noti-page-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.noti-page-count { font-size: 14px; font-weight: 700; color: var(--text); }
.noti-page-count b { color: var(--text); }
.noti-page-acts { display: flex; gap: 8px; }
.noti-page-btn { padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px;
    background: #fff; font-size: 12.5px; font-weight: 700; color: var(--text-2); cursor: pointer; }
.noti-page-btn:hover { background: var(--bg-soft); }

/* ========== 상품/입찰 관리 버튼 (관리자) ========== */
.hcard-admin { display: none; gap: 6px; margin-top: 8px; }
body.admin-mode .hcard-dynamic .hcard-admin { display: flex; }
.hcard-admin button {
    flex: 1; padding: 7px 0; border-radius: 8px;
    font-size: 11.5px; font-weight: 700;
}
.hcard-edit { background: var(--green); color: #fff; }
.hcard-del { background: #f2dede; color: #b42318; }
.admin-bid-btn {
    margin-top: 6px; width: 100%;
    padding: 8px 0; border-radius: 8px;
    background: var(--gold); color: #fff;
    font-size: 12px; font-weight: 800;
}
.my-item-bid { font-size: 12px; color: var(--gold); font-weight: 800; margin-top: 2px; }

/* ========== Reveal Animation ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s, transform 0.8s;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive (모바일 실기기에서 풀폭) ========== */
@media (max-width: 680px) {
    body { background: var(--white); }
    body::before { display: none; }
    .container { padding: 0 18px; }
    .product-grid,
    .brand-preview-grid,
    .promise-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .insight-row { grid-template-columns: 120px 1fr; gap: 12px; }
    .insight-row-body h3 { font-size: 14px; }
    .insight-row-body p { font-size: 12px; }
    .brand-name { font-size: 36px; }
    .tab-item span { font-size: 11px; }
}

/* ============================================================
   Supabase 기능 연동 추가 스타일 (디자인 톤 유지 · 심플)
   ============================================================ */
.my-item-bids { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.my-item-bids .bid-row {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 13px; padding: 8px 10px; border: 1px solid var(--line, #e7e3da);
    border-radius: 10px; background: var(--soft, #f7f5f0);
}
.my-item-bids .bid-row strong { font-weight: 700; }
.my-item-bids .bid-row span { color: #8a8a8a; }
.my-item-sub { font-size: 12.5px; color: #8a8a8a; margin-top: 6px; }

/* 업체 입찰 폼 */
.vendor-bid-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.vendor-bid-form input {
    flex: 1; min-width: 130px; padding: 10px 12px;
    border: 1px solid var(--line, #e7e3da); border-radius: 10px; font-size: 14px;
}
.vendor-bid-form .admin-bid-btn { white-space: nowrap; }

/* 인사이트 행: 관리자 수정/삭제 — 작은 아이콘 버튼(관리자만 노출) */
.insight-row { position: relative; }
.insight-row .row-actions {
    position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; margin: 0;
}
.row-act {
    width: 30px; height: 30px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #e7e3da; background: rgba(255,255,255,0.94); color: #6b6256;
    border-radius: 8px; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.row-act svg { width: 15px; height: 15px; }
.row-act:hover { background: #fff; color: #2b2620; }

/* 마이페이지 관리 현황 요약 */
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 10px; }
.summary-cell {
    border: 1px solid var(--line, #e7e3da); border-radius: 12px;
    padding: 14px 10px; text-align: center; background: #fff;
}
.summary-cell b { display: block; font-size: 22px; font-weight: 800; color: var(--ink, #2b2620); }
.summary-cell span { font-size: 11.5px; color: #8a8a8a; }

/* 모달 본문 (등록/수정 폼) */
#listingModal .modal-body, #insightEditModal .modal-body { margin-top: 6px; }
.modal-body .signup-form .upload-grid { margin-top: 6px; }
.modal-body .muted, .mypage-section .muted { color: #8a8a8a; }
.modal-body .small, .mypage-section .small { font-size: 12px; }

/* 마이페이지 역할/보안 표시 */
.mypage-role {
    display: inline-block; margin-top: 8px; padding: 4px 12px;
    border: 1px solid var(--line, #e7e3da); border-radius: 20px;
    font-size: 12.5px; color: var(--ink, #2b2620); background: var(--soft, #f7f5f0);
}
.mypage-security { margin-top: 10px; font-size: 11.5px; color: #8a8a8a; line-height: 1.6; }
.admin-list-item small { color: #8a8a8a; font-size: 11.5px; }

/* ── 이모지 → SVG 아이콘 교체분 사이징/색상 (기업형 톤) ───────── */
.qt-icon svg, .cq-icon svg { width: 26px; height: 26px; color: #1a1a1a; }
.cert-icon svg { width: 30px; height: 30px; color: #1a1a1a; }
.extra-icon svg { width: 18px; height: 18px; display: block; color: #777777; }
.float-kakao svg { width: 26px; height: 26px; color: #3a1d1d; }
.btn-outline svg { vertical-align: -3px; width: 18px; height: 18px; }

/* ── 관리자 통합 추가 버튼(우측 상단 +) + 추가 메뉴 ───────────── */
/* 관리자 인라인 등록 버튼 — 판매시계/커뮤니티 탭 아래에 자연스럽게 녹임 */
.admin-add-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 14px 0 4px;
    padding: 13px;
    border: 1.5px dashed var(--green-bright);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.035);
    color: var(--green-mid);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.1s;
}
.admin-add-inline:hover { background: rgba(0, 0, 0, 0.07); border-color: var(--green-mid); }
.admin-add-inline:active { transform: scale(0.99); }
.admin-add-inline svg { width: 18px; height: 18px; }

.add-menu { display: flex; flex-direction: column; gap: 10px; }
.add-menu-item {
    text-align: left; width: 100%; cursor: pointer;
    background: #fff; border: 1px solid #e7e3da; border-radius: 14px;
    padding: 16px 18px; transition: background 0.15s, border-color 0.15s;
}
.add-menu-item:hover { background: #f7f5f0; border-color: #cfc8bb; }
.add-menu-item b { display: block; font-size: 15px; font-weight: 700; color: #2b2620; }
.add-menu-item span { display: block; margin-top: 3px; font-size: 12.5px; color: #8a8a8a; }

/* ============ PWA 설치 모달 ============ */
#pwaInstallModal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-end; }
#pwaInstallModal[hidden] { display: none; }
.pwa-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.pwa-sheet {
  position: relative; width: 100%; background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 32px 28px 48px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: pwaUp .32s cubic-bezier(.2,.8,.2,1);
}
@keyframes pwaUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.pwa-close {
  position: absolute; top: 16px; right: 16px;
  background: #f3f3f3; border: none; border-radius: 50%;
  width: 30px; height: 30px; font-size: 14px; cursor: pointer; color: #555;
  display: flex; align-items: center; justify-content: center;
}
.pwa-app-icon { width: 80px; height: 80px; border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,.12); margin-bottom: 4px; }
.pwa-app-name { font-size: 22px; font-weight: 800; letter-spacing: .08em; color: #111; margin: 0; }
.pwa-app-sub { font-size: 13px; color: #888; margin: 0 0 10px; }
.pwa-desc { font-size: 14px; color: #444; text-align: center; line-height: 1.65; margin: 6px 0 16px; }
.pwa-btn-primary {
  width: 100%; padding: 15px;
  background: #111; color: #fff; border: none; border-radius: 12px;
  font-size: 16px; font-weight: 700; cursor: pointer; letter-spacing: .03em;
  margin-bottom: 10px;
}
.pwa-btn-secondary {
  width: 100%; padding: 13px;
  background: #f3f3f3; color: #555; border: none; border-radius: 12px;
  font-size: 15px; cursor: pointer;
}
.pwa-steps { text-align: left; width: 100%; padding-left: 20px; margin: 0 0 20px; }
.pwa-steps li { font-size: 14px; color: #333; line-height: 2; }

/* ============ 히어로 배너 캐러셀 ============ */
.hero-carousel { position: relative; overflow: hidden; }
.hero-track { display: flex; align-items: flex-start; transition: transform .45s cubic-bezier(.2,.8,.2,1); will-change: transform; touch-action: pan-y; }
.hero-slide { position: relative; flex: 0 0 100%; min-width: 100%; }
.hero-slide.hero { min-height: 70vh; }
/* DB 배너가 있을 때는 고정 헤더(로고줄+카테고리탭)에 가리지 않도록 그 아래로 내린다 */
.hero-carousel.has-db {
    padding-top: calc(var(--header-h) + 52px + env(safe-area-inset-top));
    background: #0e0c0a;
}
/* DB 배너 슬라이드 */
/* 틀(프레임)을 '고정 비율'로 박아둔다 → 그 규격(아래 권장 사이즈)에 맞춰 올린 사진은
   잘림·여백 없이 정확히 노출된다. 모바일 3:2(1080×720), 데스크톱 8:5(1600×1000).
   높이는 비율에서 자동 산출 → 배너 아래에 원형 카테고리 2줄이 항상 맞게 들어온다. */
.hero-slide-db {
    width: 100%;
    /* 모든 기기 공통: 화면 높이에서 (헤더 + 원형 카테고리 2줄 + 하단탭)을 뺀 만큼만 차지.
       → 첫 화면에 '배너 + 원형 2줄'이 항상 같이 보인다(기기·템플릿 무관, 4번 구도).
       비율 고정이 아니라 화면 높이 기준이라 길든 짧든 항상 맞는다.
       (헤더 68 + 52, 원형 2줄 ≈216, 하단탭 68, 여유 16 = 약 300 + 안전영역) */
    height: calc(100vh - var(--header-h) - 52px - 300px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    height: calc(100dvh - var(--header-h) - 52px - 300px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    min-height: 240px; max-height: 620px;
    display: flex; align-items: flex-end; color: #fff; overflow: hidden; padding: 0;
}
.hero-slide-db .hero-slide-blur {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
    filter: blur(34px) brightness(.5); transform: scale(1.18);
}
/* 왜곡 금지: 'contain' 으로 업로드한 사진의 원래 비율을 그대로 노출한다.
   (100% 100% 강제 맞춤은 노트북/와이드처럼 프레임 비율이 다른 화면에서 사진을 늘려 깨뜨림)
   남는 영역은 뒤의 hero-slide-blur(흐림 배경)가 채워 레터박스가 보이지 않는다. */
.hero-slide-db .hero-slide-bg {
    position: absolute; inset: 0; background-size: contain; background-repeat: no-repeat;
    background-position: center; background-color: transparent; z-index: 1;
    transform-origin: center center;
}
/* 전용 이미지 미등록 시 안내 플레이스홀더 (로고 + 업로드 중) */
.hero-slide-db .hero-slide-ph {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; text-align: center;
    background: linear-gradient(135deg, #1c1813 0%, #0c0a08 100%);
}
/* hidden 속성이 display:flex 에 가려 무시되던 버그 수정 → 이미지가 있으면 안내문을 실제로 숨긴다 */
.hero-slide-db .hero-slide-ph[hidden] { display: none; }
.hero-slide-db .hero-slide-ph-logo {
    font-family: var(--serif); font-size: 30px; font-weight: 700;
    letter-spacing: 3px; color: #c9a96e;
}
.hero-slide-db .hero-slide-ph-text { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9); }
.hero-slide-db .hero-slide-ph-sub { font-size: 11.5px; color: rgba(255,255,255,.5); }
.hero-slide-db.is-ph .hero-gradient { display: none; }
/* 강조 애니메이션: 슬라이드가 활성화되면 살짝 확대됐다가 천천히 원래 크기로 (바이버식 켄번스) */
@keyframes heroDbReveal {
    0%   { transform: scale(1.085); }
    100% { transform: scale(1); }
}
.hero-slide-db.is-active .hero-slide-bg {
    /* 잘림 절대 금지: 확대 연출 제거 → 항상 프레임에 정확히 1:1 로 고정 */
    animation: none;
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide-db.is-active .hero-slide-bg { animation: none; }
}
/* DB 배너는 디자인된 이미지라 어둡게 덮지 않고, 문구 가독성용 옅은 상·하단 그라데만 */
.hero-slide-db .hero-gradient {
    background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 68%, rgba(0,0,0,.42) 100%);
}
.hero-slide-db .hero-slide-title, .hero-slide-db .hero-slide-sub { text-shadow: 0 2px 14px rgba(0,0,0,.55); }
/* 문구는 좌측 정렬 + 화면 폭을 넘지 않게(모바일에서 줄바꿈으로 깨져보이지 않도록) */
.hero-slide-db .hero-slide-text { padding: 0 0 32px; position: relative; z-index: 3; text-align: left; width: 100%; box-sizing: border-box; }
.hero-slide-db .hero-slide-title { font-size: 26px; font-weight: 700; line-height: 1.25; letter-spacing: -.6px; margin-bottom: 10px; word-break: keep-all; }
.hero-slide-db .hero-slide-sub { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.55; word-break: keep-all; }
.hero-slide-db .hero-slide-cta { margin-top: 18px; margin-bottom: 0; }
/* 와이드(태블릿) 700~1023px: 문구만 키움(높이는 위 공통 계산식이 담당) */
@media (min-width: 700px) {
    .hero-slide-db .hero-slide-text { padding-bottom: 56px; }
    .hero-slide-db .hero-slide-title { font-size: 36px; letter-spacing: -.9px; margin-bottom: 14px; }
    .hero-slide-db .hero-slide-sub { font-size: 16px; }
}
/* PC(웹) 1024px+: 문구만 키움(높이는 위 공통 계산식이 담당) */
@media (min-width: 1024px) {
    .hero-slide-db .hero-slide-text { padding-bottom: 84px; }
    .hero-slide-db .hero-slide-title { font-size: 44px; letter-spacing: -1px; margin-bottom: 18px; }
}

/* 화살표 */
.hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.25);
    color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .2s;
}
.hero-nav:hover { background: rgba(0,0,0,.6); }
.hero-nav-prev { left: 14px; }
.hero-nav-next { right: 14px; }
.hero-nav[hidden] { display: none; }
.hero-nav { display: none !important; }  /* 화살표 숨김 — 스와이프로 이동 */

/* 점 인디케이터 */
.hero-dots { position: absolute; bottom: 70px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 6px; opacity: .45; }
.hero-dots .hero-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; padding: 0; cursor: pointer; transition: all .2s; }
.hero-dots .hero-dot.active { background: rgba(255,255,255,.85); width: 16px; border-radius: 4px; }

/* 관리자 배너 관리 버튼 */
.hero-manage-btn {
    position: absolute; top: calc(var(--header-h) + 48px + env(safe-area-inset-top)); right: 16px; z-index: 6;
    background: rgba(255,255,255,.92); color: #111; border: none;
    padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
    cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.hero-manage-btn[hidden] { display: none; }

/* ============ 브랜드 원형 바로가기 ============ */
.brand-quicklinks { padding: 16px 0 10px; background: #fff; }
/* 원형 카테고리 2줄 아래 빈 여백을 최소화해 다음 콘텐츠(판매중인 시계)와 자연스럽게 이어지게 */
.page-home #homeOnSale { padding-top: 12px; }
.brand-circle-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px 6px;
    padding: 4px 0 4px;
}
/* 기존 flex row는 미사용이지만 유지 */
.brand-circle-row {
    display: flex; gap: 18px; overflow-x: auto; padding: 4px 4px 10px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.brand-circle-row::-webkit-scrollbar { display: none; }
.brand-circle { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.brand-circle-img {
    width: 62px; height: 62px; border-radius: 50%;
    background: #fff; border: 1px solid #ececec;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif, serif); font-weight: 700; font-size: 10px; letter-spacing: .3px;
    color: #2b2620; text-align: center; line-height: 1.1; padding: 4px;
    transition: transform .15s, box-shadow .2s, background .2s;
}
.brand-circle:active .brand-circle-img { transform: scale(.94); }
.brand-circle:hover .brand-circle-img { background: #111; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.brand-circle-name { font-size: 11px; color: #444; white-space: nowrap; text-align: center; }
/* 더 보러가기 */
.brand-circle-more .brand-circle-more-img {
    background: #111 !important;
    color: #c9a96e !important;
    font-size: 22px !important;
    font-family: sans-serif !important;
    border: 2px dashed #c9a96e !important;
}
.brand-circle-more .brand-circle-name { color: #111; font-weight: 600; }

/* ============ 배너 관리(관리자) 목록 ============ */
.banner-img-slot { margin: 6px 0 4px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: #fafafa; }
.banner-img-slot > label span { font-weight: 700; }
.banner-img-slot .muted.small { margin: 2px 0 8px; }
.banner-row { display: flex; align-items: center; gap: 12px; }
.banner-row[draggable="true"] { cursor: grab; }
.banner-row.drag-active { opacity: .45; background: #f6f4ee; border-radius: 8px; }
.banner-drag { flex: 0 0 auto; color: #bbb; font-size: 18px; line-height: 1; cursor: grab; user-select: none; padding: 0 2px; }
.banner-row.drag-active .banner-drag { cursor: grabbing; }
.bn-move { font-size: 11px !important; padding: 6px 8px !important; }
.banner-thumb {
    width: 54px; height: 36px; border-radius: 6px; flex: 0 0 auto;
    background: #eee center/cover no-repeat; border: 1px solid #e0ddd5;
}
.banner-meta { flex: 1; display: flex; flex-direction: column; }
.banner-meta small { color: #999; }
.banner-acts { display: flex; gap: 6px; }
.banner-acts button {
    font-size: 12px; padding: 6px 10px; border-radius: 7px;
    border: 1px solid #ddd; background: #fff; cursor: pointer;
}
.banner-acts button:hover { background: #f3f3f3; }
.banner-active-row { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; }
.banner-active-row input { width: auto; }

/* ============ 브랜드 원형 강조 (롤렉스, 파텍필립 등) ============ */
.brand-circle-featured .brand-circle-img {
    width: 72px; height: 72px;
    background: #111;
    color: #c9a96e;
    border: 2px solid #c9a96e;
    box-shadow: 0 4px 16px rgba(201,169,110,.25);
    font-size: 10px;
}
.brand-circle-featured .brand-circle-name {
    font-weight: 600;
    color: #111;
}
.brand-circle-featured:hover .brand-circle-img {
    background: #c9a96e;
    color: #111;
}

/* ============ 라이브보드 모자이크 (비회원) ============ */
.live-mosaic {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
    color: inherit;
}
.live-lock-notice {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-2, #888);
    background: rgba(0,0,0,.04);
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 12px;
}
.live-lock-notice svg { flex: 0 0 auto; opacity: .6; }

/* ============ 업적카드 강조 (120곳) ============ */
.ach-card-featured {
    border: 1px solid #c9a96e !important;
    background: linear-gradient(135deg, #fffbf2, #fff9ec) !important;
    cursor: pointer;
}
.ach-card-featured strong { color: #b8832a !important; }

/* ============ 푸터 새 레이아웃 ============ */
.footer-logo-large img { height: 52px !important; }
.footer-brand-row {
    padding: 28px 0 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 0;
}
.footer-tagline {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    margin: 6px 0 4px;
}
.footer-since {
    font-size: 13px;
    color: #c9a96e;
    letter-spacing: .5px;
    margin-bottom: 0;
}
.footer-since strong { color: #c9a96e; font-weight: 700; }

/* 앱 설치 배너 위치 조정 */
.install-banner { margin: 16px 0; }

/* (주)벨로르 + 고객센터 가로 배치 */
.footer-info-row {
    display: flex;
    gap: 24px;
    padding: 16px 0 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    flex-wrap: wrap;
}
.footer-company-info,
.footer-cs-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    color: rgba(255,255,255,.5);
    line-height: 1.6;
}
.footer-company-info strong,
.footer-cs-info strong {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    margin-bottom: 2px;
}
.footer-cs-info { border-left: 1px solid rgba(255,255,255,.1); padding-left: 24px; }
/* 사업자정보 확인 버튼(평소엔 대표자명·주소 숨김, 클릭 시 모달) */
.footer-bizinfo-btn {
    margin-top: 6px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 12px;
    color: rgba(255,255,255,.5);
    text-decoration: underline;
    text-underline-offset: 2px;
    width: fit-content;
}
.footer-bizinfo-btn:hover { color: rgba(255,255,255,.8); }

/* 사업자정보 모달(벨로르 스타일) */
.bizinfo-modal[hidden] { display: none; }
.bizinfo-modal {
    position: fixed; inset: 0; z-index: 1200;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.bizinfo-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.62);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.bizinfo-sheet {
    position: relative;
    width: 100%; max-width: 360px;
    background: #161616;
    color: #fff;
    border: 1px solid rgba(201,169,110,.35);
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 24px 70px rgba(0,0,0,.55);
    animation: bizinfoIn .18s ease-out;
}
@keyframes bizinfoIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bizinfo-close {
    position: absolute; top: 10px; right: 14px;
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,.55); font-size: 24px; line-height: 1;
}
.bizinfo-close:hover { color: #fff; }
.bizinfo-eyebrow {
    margin: 0 0 4px; font-size: 11px; letter-spacing: .22em; color: #c9a96e;
}
.bizinfo-title { margin: 0 0 18px; font-size: 19px; font-weight: 700; color: #fff; }
.bizinfo-modal .bizinfo-list { margin: 0; display: flex; flex-direction: column; gap: 11px; }
.bizinfo-modal .bizinfo-list > div { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; }
.bizinfo-modal .bizinfo-list dt { flex: 0 0 96px; margin: 0; color: rgba(255,255,255,.45); }
.bizinfo-modal .bizinfo-list dd { margin: 0; color: rgba(255,255,255,.88); }

/* 약관/개인정보처리방침 모달 (긴 글 스크롤) */
.legal-modal .legal-sheet { max-width: 560px; max-height: 82vh; display: flex; flex-direction: column; }
.legal-modal .legal-body { margin-top: 14px; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-right: 6px; }
.legal-modal .legal-body h4 { margin: 16px 0 5px; font-size: 13.5px; color: var(--gold, #c9a96e); font-weight: 700; }
.legal-modal .legal-body h4:first-child { margin-top: 0; }
.legal-modal .legal-body p { margin: 0; font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.8); }
.legal-modal .legal-body .legal-meta { margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11.5px; color: rgba(255,255,255,.45); }

/* 푸터 약관 링크 */
.footer-legal-row { display: flex; align-items: center; gap: 8px; padding: 14px 0 4px; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.footer-responsibility {
    margin-top: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.88);
    font-size: 12px;
    line-height: 1.7;
}
.footer-responsibility p { margin: 0; }
.footer-responsibility a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.footer-legal-link { background: none; border: none; padding: 0; cursor: pointer; font-size: 12.5px; color: rgba(255,255,255,.6); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal-link.strong { color: rgba(255,255,255,.92); font-weight: 700; }
.footer-legal-link:hover { color: #fff; }
.footer-legal-sep { color: rgba(255,255,255,.3); font-size: 12px; }
.footer-copy { margin: 10px 0 0; font-size: 11.5px; color: rgba(255,255,255,.4); }

/* 회원가입 약관 보기 링크 */
.signup-legal-links { margin: -4px 0 4px; font-size: 12px; color: var(--text-2); }
.signup-legal-links .footer-legal-link { color: var(--text-2); }
.signup-legal-links .footer-legal-link:hover { color: var(--text); }

/* ===== 공통 다이얼로그(ui-dialog.js): alert/confirm/prompt 대체 ===== */
.bld-modal[hidden] { display: none; }
.bld-modal {
    position: fixed; inset: 0; z-index: 2147483647;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.bld-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.55);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.bld-sheet {
    position: relative;
    width: 100%; max-width: 340px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 24px 22px 18px;
    box-shadow: 0 24px 70px rgba(0,0,0,.35);
    animation: bldIn .16s ease-out;
}
@keyframes bldIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bld-title { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: #1a1a1a; }
.bld-msg { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: #444; word-break: break-word; }
.bld-inwrap { margin: 0 0 16px; }
.bld-input {
    width: 100%; box-sizing: border-box;
    padding: 11px 12px; font-size: 14px;
    border: 1px solid #ddd; border-radius: 10px; outline: none;
}
.bld-input:focus { border-color: #c9a96e; }
.bld-btns { display: flex; gap: 8px; }
.bld-btns button {
    flex: 1; padding: 12px; font-size: 14px; font-weight: 600;
    border: none; border-radius: 10px; cursor: pointer;
}
.bld-cancel { background: #f1f1f1; color: #555; }
.bld-cancel:hover { background: #e7e7e7; }
.bld-cancel[hidden] { display: none; }
.bld-ok { background: #1a1a1a; color: #fff; }
.bld-ok:hover { background: #000; }

/* 토스트 */
.bld-toast {
    position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%) translateY(10px);
    z-index: 2147483646;
    background: rgba(20,20,20,.94); color: #fff;
    padding: 12px 18px; border-radius: 24px; font-size: 13.5px;
    max-width: 88%; text-align: center;
    opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.bld-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.footer-tel-link {
    color: #c9a96e;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* 홈 판매시계 그리드 — 항상 2열 고정(모바일·PC 동일) */
.home-sale-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
}
.home-sale-grid .hcard { width: auto; flex: none; }
.home-sale-more {
    font-size: 12px;
    color: #888;
    text-decoration: none;
    letter-spacing: .3px;
}
.home-sale-more:hover { color: #111; }

/* ============ 결제(체크아웃) 모달 ============ */
.checkout {
    position: fixed; inset: 0; z-index: 3000;
    left: 50%; transform: translateX(-50%);
    width: 100%; max-width: var(--app-w);
    background: var(--white);
    display: flex; flex-direction: column;
}
.checkout[hidden] { display: none; }
.co-topbar {
    flex: 0 0 auto; height: 54px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 12px; border-bottom: 1px solid var(--border);
    padding-top: env(safe-area-inset-top);
}
.co-back { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--text); }
.co-title { font-size: 16px; font-weight: 700; color: var(--text); }
.co-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 20px; }

.co-product {
    display: flex; gap: 14px; padding: 18px;
    border-bottom: 8px solid var(--bg-soft);
}
.co-product img {
    width: 84px; height: 84px; border-radius: 12px;
    object-fit: cover; background: var(--bg-soft); flex: 0 0 auto;
}
.co-product-info { min-width: 0; }
.co-brand { font-size: 13px; color: var(--text-2); font-weight: 600; }
.co-model { font-size: 15px; color: var(--text); font-weight: 700; margin: 2px 0 6px; line-height: 1.35; }
.co-listprice { font-size: 15px; color: var(--text); font-weight: 700; }

.co-sec { padding: 18px; border-bottom: 8px solid var(--bg-soft); }
.co-sec:last-child { border-bottom: none; }
.co-sec-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 12px; }

.co-paytype { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-pt {
    text-align: left; padding: 14px; border-radius: 12px;
    border: 1.5px solid var(--border); background: var(--white);
    display: flex; flex-direction: column; gap: 4px; transition: all .15s;
}
.co-pt strong { font-size: 14px; color: var(--text); }
.co-pt span { font-size: 16px; font-weight: 800; color: var(--text); }
.co-pt em { font-size: 11px; color: var(--text-3); font-style: normal; }
.co-pt.active { border-color: var(--text); background: #faf9f7; box-shadow: 0 0 0 1px var(--text) inset; }

.co-field { margin-bottom: 12px; }
.co-field:last-child { margin-bottom: 0; }
.co-field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.co-field input {
    width: 100%; height: 46px; padding: 0 14px;
    border: 1px solid var(--border); border-radius: 10px;
    font-size: 15px; background: var(--white);
}
.co-field input:focus { border-color: var(--text); }

#payment-method, #agreement { margin: 0 -4px; }

.co-bottom {
    flex: 0 0 auto; padding: 12px 18px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border); background: var(--white);
}
.co-total {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.co-total span { font-size: 14px; color: var(--text-2); }
.co-total strong { font-size: 20px; font-weight: 800; color: var(--text); }
.co-pay-btn {
    width: 100%; height: 52px; border-radius: 12px;
    background: var(--text); color: #fff; font-size: 16px; font-weight: 700;
    transition: opacity .15s;
}
.co-pay-btn:disabled { opacity: .5; }

/* 결제 수단(포트원) 선택 */
.co-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-method {
    text-align: center; padding: 14px 10px; border-radius: 12px;
    border: 1.5px solid var(--border); background: var(--white);
    font-size: 14px; font-weight: 600; color: var(--text); transition: all .15s; cursor: pointer;
}
.co-method.active { border-color: var(--text); background: #faf9f7; box-shadow: 0 0 0 1px var(--text) inset; font-weight: 700; }
.co-methods-empty { grid-column: 1 / -1; font-size: 13px; color: var(--text-3); line-height: 1.6; margin: 0; text-align: center; padding: 10px 0; }
.co-responsibility {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 14px;
    padding: 12px 13px;
    border-radius: 10px;
    background: #f4faf7;
    border: 1px solid #dce8e2;
}
.co-responsibility strong { font-size: 13px; color: #12633f; }
.co-responsibility span { font-size: 12px; line-height: 1.5; color: var(--text-2); }
.co-agree { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.co-agree input { margin-top: 2px; flex: none; }
.co-agree b { color: var(--text); }
.co-inline-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.co-agree-summary {
    margin: 10px 0 0 24px;
    color: var(--text-3);
    font-size: 11px;
    line-height: 1.55;
}

/* 결제 결과 */
.pay-result {
    position: fixed; inset: 0; z-index: 3100;
    background: rgba(0,0,0,.55);
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.pay-result[hidden] { display: none; }
.pay-result-box {
    width: 100%; max-width: 340px; background: #fff;
    border-radius: 18px; padding: 32px 24px; text-align: center;
}
.pay-result-icon {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
    background: #1c1c1c; color: #fff; font-size: 32px;
    display: flex; align-items: center; justify-content: center;
}
.pay-result-icon.fail { background: #c0392b; }
.pay-result-box h2 { font-size: 19px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.pay-result-box p { font-size: 14px; color: var(--text-2); line-height: 1.6; white-space: pre-line; margin-bottom: 20px; }
.pay-result-box .btn { width: 100%; }

/* ============ 카테고리 전용 페이지 공통 ============ */
.cat-page-header {
    padding: calc(var(--header-real-h, 104px) + 14px) 24px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.cat-page-header--sale { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); color: #fff; }
.cat-page-header--ai { background: linear-gradient(135deg, #0d0d0d 0%, #1c1c1c 100%); color: #fff; }
.cat-page-eyebrow { font-family: var(--serif); font-size: 13px; letter-spacing: 2px; color: #c9a96e; margin-bottom: 8px; }
.cat-page-title { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.cat-page-sub { font-size: 14px; opacity: .7; }
.cat-page-header--sale .cat-page-sub,
.cat-page-header--ai .cat-page-sub { color: rgba(255,255,255,.65); }

.hcard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px 0; }
.cat-empty { grid-column: 1/-1; text-align: center; padding: 40px 0; color: var(--text-3); font-size: 14px; }

/* AI 감정 cat-chip 강조 */
.cat-chip-ai { color: #c9a96e !important; font-weight: 700; }
.header.scrolled .cat-chip-ai,
.header.light-page .cat-chip-ai { color: #b8893a !important; }

/* ============ AI 감정 페이지 ============ */

/* 히어로 */
.apr-hero {
    background: #0a0a0a;
    padding: calc(var(--header-real-h, 104px) + 20px) 24px 32px;
    color: #fff;
}
.apr-hero-eyebrow {
    font-family: var(--serif); font-size: 11px; letter-spacing: 2.5px;
    color: #c9a96e; margin-bottom: 12px;
}
.apr-hero-title {
    font-size: 38px; font-weight: 900; line-height: 1.15;
    letter-spacing: -1px; margin-bottom: 10px;
}
.apr-hero-sub { font-size: 16px; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.apr-hero-stats { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.apr-hero-stats li {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: rgba(255,255,255,.85);
}

/* 콜라주 + 미니결과 */
.apr-collage-section {
    background: #0a0a0a; padding: 0 0 28px;
}
.apr-collage-label {
    font-size: 17px; font-weight: 700; color: #fff;
    padding: 0 24px 14px; letter-spacing: -.3px;
}
.apr-collage { position: relative; padding: 0 18px; }
.apr-collage-imgs {
    display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 100px 100px;
    gap: 6px; border-radius: 14px; overflow: hidden;
}
.apr-ci { border-radius: 0; }
.apr-ci--1 { grid-row: 1/3; border-radius: 12px 0 0 12px; }
.apr-ci--2 { border-radius: 0 12px 0 0; }
.apr-ci--3 { border-radius: 0 0 12px 0; }
.apr-mini-result {
    position: absolute; bottom: 10px; right: 28px;
    background: rgba(10,10,10,.92); backdrop-filter: blur(10px);
    border: 1px solid rgba(201,169,110,.3); border-radius: 12px;
    padding: 10px 12px; width: 160px;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.apr-mini-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.apr-mini-badge { font-size: 9px; background: #c9a96e; color: #000; padding: 2px 6px; border-radius: 4px; font-weight: 700; }
.apr-mini-conf { font-size: 10px; color: #c9a96e; }
.apr-mini-brand { font-size: 11px; font-weight: 800; color: #fff; margin-bottom: 1px; }
.apr-mini-ref { font-size: 10px; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.apr-mini-rows { display: flex; flex-direction: column; gap: 4px; }
.apr-mini-rows > div { display: flex; justify-content: space-between; font-size: 10px; }
.apr-mini-rows span { color: rgba(255,255,255,.5); }
.apr-mini-rows strong { color: #fff; font-size: 10px; }
.apr-ok { color: #4cd97b !important; }

/* 프로모 카드 */
.apr-promo-card {
    margin: 20px 0; padding: 22px 20px 20px;
    background: linear-gradient(135deg, #1a1106 0%, #2c1e07 50%, #1a1106 100%);
    border: 1px solid rgba(201,169,110,.4); border-radius: 18px;
    text-align: center; position: relative; overflow: hidden;
}
.apr-promo-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201,169,110,.15) 0%, transparent 65%);
    pointer-events: none;
}
.apr-promo-badge {
    display: inline-block; background: rgba(201,169,110,.2); color: #c9a96e;
    font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
    margin-bottom: 10px; border: 1px solid rgba(201,169,110,.3);
}
.apr-promo-eyebrow { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.apr-promo-price { display: flex; align-items: flex-end; justify-content: center; gap: 10px; margin-bottom: 8px; }
.apr-promo-orig { font-size: 18px; color: rgba(255,255,255,.35); text-decoration: line-through; }
.apr-promo-free { font-size: 48px; font-weight: 900; color: #c9a96e; line-height: 1; }
.apr-promo-desc { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.apr-promo-desc strong { color: #fff; }
.apr-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; height: 54px; border-radius: 14px;
    background: #c9a96e; color: #000;
    font-size: 16px; font-weight: 800; letter-spacing: -.3px;
    transition: filter .15s, transform .1s;
    text-decoration: none;
}
.apr-cta:active { transform: scale(.97); filter: brightness(.92); }
.apr-promo-note { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 10px; }

/* 감정 등급 리스트 */
.apr-grades { margin: 24px 0; }
.apr-grades-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.apr-grade {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border: 1.5px solid var(--border);
    border-radius: 12px; margin-bottom: 8px; background: var(--white);
}
.apr-grade--ai { border-color: #c9a96e; background: #faf8f4; }
.apr-grade-left { display: flex; align-items: center; gap: 12px; }
.apr-grade-icon { font-size: 22px; flex: 0 0 auto; }
.apr-grade-left > div { display: flex; flex-direction: column; gap: 2px; }
.apr-grade-left strong { font-size: 14px; font-weight: 700; color: var(--text); }
.apr-grade-left span { font-size: 12px; color: var(--text-3); }
.apr-grade-right { text-align: right; }
.apr-grade-right strong { font-size: 15px; font-weight: 800; color: var(--text); display: block; }
.apr-grade-right s { font-size: 12px; color: var(--text-3); }
.apr-grade-free { color: #c9a96e !important; }

/* 감정 폼 */
.appraisal-form-wrap { margin-top: 8px; padding: 20px; border: 1.5px solid var(--border); border-radius: 16px; margin-bottom: 12px; }
.appraisal-form-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.appraisal-upload {
    width: 100%; border-radius: 12px; border: 2px dashed var(--border);
    overflow: hidden; margin-bottom: 14px; aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-soft);
}
.upload-trigger {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 20px; color: var(--text-2); width: 100%;
}
.upload-trigger svg { color: var(--text-3); }
.upload-trigger span { font-size: 14px; font-weight: 600; }
.upload-trigger em { font-size: 12px; font-style: normal; color: var(--text-3); }
#aiPhotoPreview { width: 100%; height: 100%; object-fit: cover; }

/* 기타 감정 버튼 */
.apr-other-btns { display: flex; flex-direction: column; gap: 10px; padding-bottom: 28px; }
.apr-other-btn {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border: 1.5px solid var(--border);
    border-radius: 12px; background: var(--white); font-size: 14px;
    font-weight: 600; color: var(--text); transition: border-color .15s;
}
.apr-other-btn:active { border-color: var(--text); }

/* ============ 앱 설치 토스트 ============ */
.install-toast {
    position: fixed; bottom: calc(var(--tabbar-h) + 16px); left: 50%; transform: translateX(-50%) translateY(10px);
    background: rgba(20,20,20,.95); color: #fff; font-size: 13px; line-height: 1.6;
    padding: 12px 18px; border-radius: 12px; z-index: 9999; text-align: center;
    white-space: pre-line; max-width: calc(var(--app-w) - 40px);
    opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.install-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 카테고리 hcard 뱃지 ============ */
.hcard { position: relative; }
.hcard-sale-badge, .hcard-new-badge, .hcard-today-label {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 6px;
    letter-spacing: .5px;
}
.hcard-sale-badge { background: #e02020; color: #fff; }
.hcard-new-badge { background: #111; color: #fff; }
.hcard-today-label { background: #c9a96e; color: #000; font-size: 11px; }
.hcard-orig { font-size: 11px; color: var(--text-3); text-decoration: line-through; margin-right: 2px; }
.hcard-countdown { font-size: 11px; color: #e02020; margin-top: 2px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hcard-today-desc { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.hcard--today .hcard-img, .hcard-img--wide { aspect-ratio: 16/9; }

/* ============ AI 감정 결과 카드 ============ */
.ai-mock-result {
    background: linear-gradient(135deg, #111 0%, #1c1c1c 100%);
    border: 1.5px solid #c9a96e; border-radius: 16px;
    padding: 20px; margin-top: 20px; color: #fff;
}
.ai-result-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ai-result-badge { background: #c9a96e; color: #000; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 20px; letter-spacing: .5px; }
.ai-result-conf { font-size: 13px; color: #c9a96e; font-weight: 700; }
.ai-result-brand { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.ai-result-rows { display: flex; flex-direction: column; gap: 10px; }
.ai-result-rows > div { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.ai-result-rows > div span { color: rgba(255,255,255,.6); }
.ai-result-rows > div strong { color: #fff; }
.apr-ok { color: #4caf50 !important; }
.ai-result-note { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 14px; line-height: 1.5; }

/* ============================================================
   화면 설정 : 와이드(꽉찬) 모드 (data-width="full")
   <html> 의 data-width="full" 로 토글. localStorage 에 저장되어 기기별 유지.
   ============================================================ */

/* ---------- 와이드(꽉찬) 모드 : PC(>=700px)에서만 1200px ---------- */
@media (min-width: 700px) {
    html[data-width="full"] {
        --app-w: 1200px;
        --container: 1200px;
    }
}

/* ---------- 화면 설정 UI (마이페이지) ---------- */
#displaySettingsBox .setting-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; padding: 13px 2px; border-bottom: 1px solid var(--border);
}
#displaySettingsBox .setting-row:last-child { border-bottom: none; }
.setting-label b { display: block; font-size: 14.5px; font-weight: 700; color: var(--text); }
.setting-label span { display: block; margin-top: 2px; font-size: 12px; color: var(--text-3); }
.switch {
    position: relative; width: 50px; height: 28px; flex-shrink: 0;
    border-radius: 999px; background: var(--border); transition: background .2s;
}
.switch[aria-checked="true"] { background: var(--green-bright); }
.switch-knob {
    position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
    border-radius: 50%; background: #fff; transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.switch[aria-checked="true"] .switch-knob { transform: translateX(22px); }
/* 와이드 모드는 PC 전용 — 모바일에선 설정 섹션 자체를 숨김 */
@media (max-width: 699px) { #displaySettingsBox, .pc-only-setting { display: none; } }

/* ============================================================
   판매시계 카테고리 화면 (대표 브랜드 · 필터 · 정렬 헤더)
   ============================================================ */
/* 홈 화면과 동일한 원형 로고 스타일(.brand-circle)을 재사용 */
.cat-brands {
    display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 16px;
    -ms-overflow-style: none; scrollbar-width: none;
}
.cat-brands::-webkit-scrollbar { display: none; }
.cat-brands .brand-circle { flex: 0 0 auto; background: none; cursor: pointer; }
/* 선택된 브랜드 강조 */
.cat-brand.active .brand-circle-img {
    background: #111; color: #fff; border-color: #111;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.cat-brand.active .brand-circle-name { color: #111; font-weight: 700; }

.cat-filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.cat-filters::-webkit-scrollbar { display: none; }
.cat-filter {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px;
    background: var(--white); font-size: 13px; color: var(--text-2); white-space: nowrap;
}
.cat-filter i { font-style: normal; font-size: 10px; color: var(--text-3); }

.cat-toggles { display: flex; gap: 18px; padding: 4px 2px 14px; flex-wrap: wrap; }
.cat-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); cursor: pointer; }
.cat-toggle input { display: none; }
.cat-toggle-track {
    width: 34px; height: 20px; border-radius: 999px; background: var(--border);
    position: relative; transition: background .18s; flex-shrink: 0;
}
.cat-toggle-track::after {
    content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px;
    border-radius: 50%; background: #fff; transition: transform .18s; box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.cat-toggle input:checked + .cat-toggle-track { background: var(--green-bright); }
.cat-toggle input:checked + .cat-toggle-track::after { transform: translateX(14px); }

.cat-listhead {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 2px 14px; border-bottom: 1px solid var(--border); margin-bottom: 16px;
}
.cat-count { font-size: 13px; color: var(--text-2); }
.cat-count b { color: var(--text); font-weight: 800; }
.cat-sort { font-size: 13px; color: var(--text-2); display: inline-flex; align-items: center; gap: 4px; }
.cat-sort i { font-style: normal; font-size: 10px; }

/* 판매시계 페이지: 상단 글로벌 헤더(로고·검색·알림·카테고리탭) 숨김 — 자체 검색바로 시작 */
body[data-page="collection"] #header { display: none; }
body[data-page="collection"] #collection .section-soft { padding-top: calc(14px + env(safe-area-inset-top)) !important; }

/* ===== 판매시계 액션행: 상세검색 / 내시계팔기 / 필터검색 ===== */
.cat-actions { display: flex; align-items: center; gap: 10px; padding: 14px 2px 12px; border-top: 1px solid var(--border); margin-top: 6px; }
.cat-action { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 11px 8px; border: 1px solid var(--border); border-radius: 12px; background: var(--white);
    font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer; white-space: nowrap; }
.cat-action svg { flex: none; }
.cat-action:hover { background: var(--bg-soft); }
.cat-action--filter { color: #fff; background: var(--text); border-color: var(--text); }
.cat-action--filter:hover { background: #000; }

/* ===== 빠른 칩 + 등급/정렬 메뉴 ===== */
.qf-chips { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: none; }
.qf-chips::-webkit-scrollbar { display: none; }
.qf-chip { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px;
    padding: 9px 15px; border: 1px solid var(--border); border-radius: 999px; background: var(--white);
    font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap; cursor: pointer; }
.qf-chip i { font-style: normal; font-size: 10px; color: var(--text-3); }
.qf-chip.active { background: var(--text); border-color: var(--text); color: #fff; }
.qf-chip.active i { color: #fff; }
.qf-chip-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 140px;
    background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 6px; display: flex; flex-direction: column; }
.qf-chip-menu[hidden] { display: none; }
.qf-chip-menu button { text-align: left; padding: 10px 12px; border: 0; background: transparent; border-radius: 8px;
    font-size: 13px; color: var(--text); cursor: pointer; font-family: inherit; }
.qf-chip-menu button:hover { background: var(--bg-soft); }
.qf-chip-menu button.on { font-weight: 800; color: var(--green-bright); }

/* ===== 필터검색 전체 페이지 ===== */
.cf-reset { border: 0; background: transparent; color: var(--text-2); font-size: 14px; font-weight: 600; cursor: pointer; }
.cf-sec { padding: 20px 0; border-bottom: 1px solid var(--border); }
.cf-sec:last-child { border-bottom: 0; }
.cf-sec-t { font-size: 16px; font-weight: 800; color: var(--text); margin: 0 0 14px; }
.cf-minmax { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 14px; }
.cf-minmax label { flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--text-3); position: relative; }
.cf-minmax input { width: 100%; padding: 13px 36px 13px 14px; border: 1px solid var(--border); border-radius: 12px;
    font-size: 15px; font-family: inherit; text-align: right; color: var(--text); background: #fff; }
.cf-minmax input:focus { outline: none; border-color: var(--text); }
.cf-minmax label span { position: absolute; right: 14px; bottom: 14px; font-size: 13px; color: var(--text-3); }
.cf-minmax > em { font-style: normal; color: var(--text-3); padding-bottom: 13px; }
.cf-chiprow { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cf-chiprow::-webkit-scrollbar { display: none; }
.cf-chip { flex: 0 0 auto; padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px;
    background: #fff; font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap; cursor: pointer; }
.cf-chip.on { background: var(--text); border-color: var(--text); color: #fff; }
.cf-radios { display: flex; align-items: center; gap: 22px; }
.cf-radio { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text); cursor: pointer; }
.cf-radio input { width: 20px; height: 20px; accent-color: var(--text); }
.cf-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 8px; }
.cf-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); cursor: pointer; }
.cf-check input { width: 18px; height: 18px; accent-color: var(--text); }
#cfMaterials.cf-checks, #cfGrades.cf-checks { grid-template-columns: repeat(2, 1fr); }

/* 마이페이지 알림 버튼 (헤더에서 이동) */
.mypage-noti {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; margin: 0 0 16px; border: 1px solid var(--border);
    border-radius: 12px; background: var(--white); font-size: 14.5px; font-weight: 600; color: var(--text);
}
.mypage-noti .mypage-noti-left { display: inline-flex; align-items: center; gap: 8px; }
.mypage-noti .mypage-noti-ic { font-size: 16px; }
.mypage-noti .noti-badge {
    position: static; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
    background: #e53935; color: #fff; font-size: 11px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.mypage-noti .noti-badge[hidden] { display: none; }

/* ============================================================
   시계 등록/수정 — 전체화면 페이지(.product-page 셸 재사용)
   ============================================================ */
.pp-topbar-spacer { width: 40px; flex-shrink: 0; }
.lp-page .pp-scroll { padding-bottom: 20px; }
.lp-photohead { padding: 18px 18px 4px; border-bottom: 1px solid var(--border); }
.lp-sec-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.lp-hint { font-size: 12px; color: var(--text-3); margin-top: 12px; line-height: 1.55; }
.lp-form { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.lp-form label { display: flex; flex-direction: column; gap: 7px; }
.lp-form label > span { font-size: 13px; font-weight: 600; color: var(--text-2); }
.lp-photohead .upload-grid { margin-top: 4px; }

/* 시계 등록/수정 — 카테고리 노출 체크박스 */
.lp-tags { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 2px; }
.lp-tags-label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.lp-tag { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); cursor: pointer; }
.lp-tag input { width: 20px; height: 20px; flex-shrink: 0; accent-color: #111; }

/* 매물 카드 정보 배지 + TIME SALE 카운트다운 (스크롤만으로 정보 파악) */
.hcard-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.hcard-badge {
    font-size: 10.5px; font-weight: 700; padding: 3px 7px; border-radius: 5px;
    background: var(--bg-soft); color: var(--text-2); border: 1px solid var(--border); white-space: nowrap;
}
.hcard-badge-warranty { background: #111; color: #fff; border-color: #111; }
.hcard-badge-acc { font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
/* TIME SALE: 이미지 위 오버레이(절대배치=카드 높이 영향 없음), 심플 다크 톤 */
.hcard-timesale {
    position: absolute; top: 8px; left: 8px; z-index: 3;
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(17,17,17,.82); color: #fff;
    padding: 4px 8px; border-radius: 6px;
    font-size: 10.5px; font-weight: 700; letter-spacing: .2px;
}
.hcard-timesale b { font-size: 8.5px; font-weight: 800; letter-spacing: .5px; opacity: .8; }
.hcard-timesale .hcard-timer { font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.hcard-timesale.ended { background: rgba(120,120,120,.82); }
.lp-tag-solo { padding: 2px 0; }

/* ============================================================
   매물 그리드 열 수 통일 — 모바일/일반 2열, 와이드 모드 3열
   (홈·판매시계·카테고리 그리드 동일 규격)
   ============================================================ */
.home-sale-grid,
.col-grid-inner,
.hcard-grid {
    display: grid;
    /* 항상 2열 고정 — 모바일·PC 동일하게 한 줄에 2개 (참조 스크린샷 규격) */
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;          /* 카드는 내용 높이대로 → 중간 여백 없음 */
}
html[data-width="full"] .home-sale-grid,
html[data-width="full"] .col-grid-inner,
html[data-width="full"] .hcard-grid {
    grid-template-columns: repeat(4, 1fr);   /* 와이드만 4열 */
    gap: 16px;
}
/* 이미지 규격 고정: 모든 카드 이미지를 동일한 정사각 박스로 강제(세로/가로형 무관)
   · 흰 배경 + contain → 누끼(투명 PNG)는 깔끔한 흰 바탕, 시계 전체가 다 보임
   · aspect-ratio:1 을 !important 로 강제해 카드 높이가 제각각이 되는 것 방지 */
.home-sale-grid .hcard-img,
.col-grid-inner .hcard-img,
.hcard-grid .hcard-img {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    background: #f7f7f5;
    border-radius: 10px;
    padding: 12px;
}
.home-sale-grid .hcard-img img,
.col-grid-inner .hcard-img img,
.hcard-grid .hcard-img img { object-fit: contain; }

/* 모든 매물 카드 이미지를 예외 없이 동일한 흰 정사각 박스로 강제
   (정적/today/wide/세로형 사진 포함 — 박스 크기 제각각·검은배경 방지) */
.hcard .hcard-img {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    background: #f7f7f5 !important;
    border-radius: 10px;
    padding: 12px;
    overflow: hidden;
}
.hcard .hcard-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* 카드 핵심정보 요약(정품보증 · 구성품 · 컨디션) */
.hcard-warranty {
    display: inline-block; margin-top: 7px; font-size: 11px; font-weight: 800;
    color: #0a7d3c; background: #e7f6ec; padding: 3px 8px; border-radius: 5px;
}
.hcard-summary { font-size: 12px; color: var(--text-2); margin: 6px 0 0; padding: 0 14px 12px; line-height: 1.4; height: calc(1.4em + 12px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 카테고리 페이지 카드도 홈과 동일 규격(정사각 이미지, 일반 카드 폭) */
.hcard-grid .hcard-img,
.hcard--today .hcard-img,
.hcard-img--wide { aspect-ratio: 1 !important; }
.hcard--today { grid-column: auto !important; }
.hcard-grid .hcard-img { padding: 12px; }
/* 카테고리 오버레이 배지 위치 통일 */
.hcard-new-badge, .hcard-sale-badge, .hcard-today-label { z-index: 3; }

/* 깨진/없는 카드 이미지 → 깔끔한 브랜드 플레이스홀더 (박스 규격 유지) */
.hcard-img.img-broken { position: relative; background: #f4f4f4; }
.hcard-img.img-broken::after {
    content: 'BELLORE'; position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); letter-spacing: 3px; font-size: 13px;
    color: #c4c4c4; font-weight: 600;
}

/* ============================================================
   찜(Wishlist) / 장바구니(Cart)
   ============================================================ */
/* 카드 위 찜/장바구니 버튼 */
.hcard-actions { position: absolute; top: 8px; right: 8px; z-index: 4; display: flex; flex-direction: column; gap: 6px; }
.hcard-actions button {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.92); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; color: #555;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12); transition: transform .12s, color .15s, background .15s;
}
.hcard-actions button:active { transform: scale(0.9); }
.hcard-wish.on { background: #111; color: #fff; border-color: #111; }
.hcard-wish.on svg { fill: #fff; }
.hcard-cart:hover { color: #111; }

/* 상세 하단 장바구니 버튼 */
.pp-cart {
    flex: 0 0 auto; padding: 0 18px; min-width: 96px; min-height: 60px;
    border: 1px solid #111; border-radius: 10px; background: #fff; color: #111;
    font-size: 15px; font-weight: 700;
}

.cart-npay {
    width: min(420px, 100%);
    margin: 24px auto 0;
}
.cart-npay[hidden] {
    display: none;
}
.pp-cart:active { opacity: .85; }

/* 마이페이지 장바구니 링크 */
.mypage-cart-link {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; margin: 0 0 12px; border: 1px solid var(--border);
    border-radius: 12px; background: var(--white); font-size: 14.5px; font-weight: 700; color: var(--text);
}

/* 찜 페이지 */
.wish-tabs { display: flex; gap: 8px; padding: 14px 0 4px; }
.wish-tab {
    flex: 1; padding: 12px 0; border-radius: 12px; border: 1px solid var(--border);
    background: var(--white); font-size: 14px; font-weight: 700; color: var(--text-2);
}
.wish-tab.active { background: #111; color: #fff; border-color: #111; }
.wish-tab b { font-weight: 800; }
.wish-empty { text-align: center; color: var(--text-3); font-size: 13.5px; padding: 48px 16px; line-height: 1.6; }
.wish-card-acts { display: flex; gap: 6px; padding: 10px 10px 12px; }
.wish-card-acts button {
    flex: 1; padding: 9px 0; border-radius: 8px; font-size: 12.5px; font-weight: 700;
    border: 1px solid var(--border); background: var(--bg-soft); color: var(--text);
}
.wish-card-acts .wish-addcart { background: #111; color: #fff; border-color: #111; }
.wish-card .hcard-brand { padding-left: 10px; }
.wish-card .hcard-model, .wish-card .hcard-price { padding-left: 10px; }

/* 찜/장바구니 토스트 */
.wish-toast {
    position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 18px); transform: translateX(-50%) translateY(10px);
    background: rgba(20,20,20,.96); color: #fff; font-size: 13px; font-weight: 600;
    padding: 11px 18px; border-radius: 999px; z-index: 9999; opacity: 0; pointer-events: none;
    transition: opacity .22s, transform .22s; white-space: nowrap; max-width: 80vw;
}
.wish-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* [버그수정] 카테고리 그리드 카드가 200px 고정이라 오른쪽이 짤리던 문제
   → 판매시계/홈처럼 1fr 트랙에 맞춰 폭 자동(넘침 방지 min-width:0) */
.home-sale-grid .hcard,
.col-grid-inner .hcard,
.hcard-grid .hcard {
    width: auto;
    flex: none;
    min-width: 0;
}


/* 찜/장바구니 카드: 우상단 삭제(−) 버튼 + 담기 풀폭 */
.wish-card .wish-remove {
    position: absolute; top: 8px; right: 8px; z-index: 4;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,.92); border: 1px solid var(--border);
    color: #555; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.wish-card .wish-remove:active { transform: scale(.9); }
.wish-card .wish-card-acts { display: block; padding: 10px 10px 12px; }
.wish-card .wish-card-acts .wish-addcart { width: 100%; }


/* 판매시계 필터 셀렉트(등급·사이즈) */
.cat-filter-sel { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); color: var(--text-2); font-size: 13px; font-family: inherit; cursor: pointer; }


/* 더 많은 브랜드(모든 브랜드 보기 토글) */
.cat-brands .brand-more { display: flex; }
.cat-brands.show-all .brand-more { display: flex; }
/* 관리자 카드 우상단 톱니바퀴 메뉴 */
.hcard-admin { position: absolute; top: 8px; right: 8px; z-index: 5; display: none; margin: 0; }
body.admin-mode .hcard-dynamic .hcard-admin { display: block; }
body.admin-mode .hcard-dynamic .hcard-actions { display: none; }
.hcard-gear { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.94); border: 1px solid var(--border); color: #555; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.12); padding: 0; }
.hcard-admin-menu { position: absolute; top: 36px; right: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.16); overflow: hidden; min-width: 84px; }
.hcard-admin-menu[hidden] { display: none; }
.hcard-admin-menu button { display: block; width: 100%; padding: 10px 16px; text-align: left; font-size: 13px; background: #fff; border: none; color: var(--text); margin: 0; }
.hcard-admin-menu .hcard-del { color: #b42318; }


/* 좌상단 뒤로가기 버튼 */
.header-back { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--white); border-radius: 50%; flex: 0 0 auto; margin-right: 2px; }
.header.scrolled .header-back, .header.light-page .header-back { color: var(--text); }
.header-back[hidden] { display: none; }


/* 홈 '전체보기' 검정 원형 (참고 디자인) */
.brand-circle-all .brand-circle-img { background: #111; color: #fff; border-color: #111; font-family: var(--serif); font-size: 13px; letter-spacing: 1px; }
.brand-circle-all .brand-circle-name { color: #111; font-weight: 700; }
.brand-circle-all:hover .brand-circle-img { background: #000; }


/* TIME SALE: 테두리·배경 없이 검정 글씨, 시간 크게 강조 */
.hcard-timesale {
    flex-direction: column; align-items: flex-start; gap: 0;
    background: none; border: none; padding: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    text-shadow: 0 1px 2px rgba(255,255,255,.85);
}
.hcard-timesale b { font-size: 8px; letter-spacing: 1px; color: #111; opacity: .75; font-weight: 800; }
.hcard-timesale .hcard-timer { font-size: 16px; font-weight: 900; color: #111; line-height: 1.05; letter-spacing: .3px; }
.hcard-timesale.ended b, .hcard-timesale.ended .hcard-timer { color: #888; }

/* 좌상단 뒤로가기 버튼 제거(모바일은 제스처, PC도 미노출) */
.header-back { display: none !important; }

/* ===== 할인가 표시(카드) ===== */
.hcard-old { display: block; font-size: 11.5px; color: var(--text-3); text-decoration: line-through; font-weight: 600; margin-bottom: 1px; }
/* 숫자와 '원'이 쪼개지지 않게 한 줄 유지(줄바꿈 X) */
.hcard-now { display: block; white-space: nowrap; }
.hcard-rate { color: #e0282e; font-weight: 900; font-size: inherit; margin-right: 5px; }

/* ===== 할인가 표시(상세) ===== */
.pp-price-old { display: block; font-size: 15px; color: var(--text-3); text-decoration: line-through; font-weight: 600; margin-bottom: 2px; }
.pp-price-now { display: flex; align-items: baseline; gap: 8px; }
.pp-rate { color: #e0282e; font-weight: 900; font-size: 24px; }

/* ===== 포인트 EVENT 배지 ===== */
.pp-event {
    display: inline-block; margin-left: 6px;
    font-size: 10px; font-weight: 800; letter-spacing: .5px;
    color: #e0282e; background: #fdecec; border-radius: 4px; padding: 1px 6px;
    vertical-align: middle;
}

/* ===== 배송 정보 물음표 툴팁 ===== */
.pp-tip {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 15px; height: 15px; margin-left: 5px;
    border: 1px solid var(--text-3); border-radius: 50%;
    font-size: 10px; font-weight: 800; color: var(--text-3);
    cursor: pointer; vertical-align: middle;
}
/* 배송비 안내: 툴팁 대신 줄글로 표시(스크롤 영역에서 잘리지 않도록) */
.pp-ship-note {
    margin: 2px 0 0; padding: 0;
    font-size: 11.5px; line-height: 1.5; color: var(--text-3); font-weight: 500;
    white-space: normal; word-break: keep-all;
}
.pp-tip-box {
    position: absolute; top: calc(100% + 8px); right: 0; left: auto;
    width: max-content; max-width: min(260px, calc(100vw - 40px)); padding: 10px 12px;
    background: #222; color: #fff; font-size: 11.5px; font-weight: 500; line-height: 1.5;
    border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.25);
    opacity: 0; visibility: hidden; transition: opacity .15s; z-index: 20;
    text-shadow: none; white-space: normal; text-align: left;
}
.pp-tip-box::after {
    content: ""; position: absolute; bottom: 100%; right: 10px;
    border: 6px solid transparent; border-bottom-color: #222;
}
.pp-tip:hover .pp-tip-box, .pp-tip:focus .pp-tip-box { opacity: 1; visibility: visible; }

/* 문의/유의 앵커 섹션 여백 */
.pp-anchor { border-top: 8px solid var(--bg-soft); margin: 28px -18px 0; padding: 22px 18px 0; }
.pp-anchor:last-child { padding-bottom: 10px; }

/* ============================================================
   브랜드 원형 가로 스와이프 + 로고 이미지
   ============================================================ */
.brand-circle-scroll {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 12px;
    scroll-snap-type: x proximity;
}
.brand-circle-scroll::-webkit-scrollbar { display: none; }
.brand-circle-scroll .brand-circle { flex: 0 0 auto; width: 70px; scroll-snap-align: start; }
/* 로고 누끼(투명 배경) → 잘리지 않게 contain + 흰 배경, 크게 */
.brand-circle-img { background: #fff !important; }
.brand-circle-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; padding: 3px; box-sizing: border-box; }
/* 로고 이미지가 있는 원형은 hover 시 반전하지 않음 */
.brand-circle:hover .brand-circle-img { background: #fff; color: #2b2620; box-shadow: 0 4px 14px rgba(0,0,0,.16); }
.brand-circle-all:hover .brand-circle-img { background: #000; color: #fff; }
.cat-brand.active .brand-circle-img { outline: 2px solid #111; outline-offset: 2px; }

/* 브랜드 선택 시 나오는 모델 카테고리 칩 */
.cat-models {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 12px 2px 4px; margin-bottom: 4px;
    border-top: 1px solid #efece6;
}
.cat-models[hidden] { display: none; }
.cat-model {
    border: 1px solid #ddd6c8; background: #fff; color: #2b2620;
    font-size: 13px; padding: 7px 14px; border-radius: 999px;
    cursor: pointer; white-space: nowrap; transition: all .15s;
}
.cat-model:hover { border-color: #111; }
.cat-model.active { background: #111; color: #fff; border-color: #111; }

/* ============================================================
   검색 페이지 (GUGUS 스타일)
   ============================================================ */
.search-page {
    position: fixed; inset: 0; z-index: 1200;
    left: 50%; right: auto; transform: translateX(-50%);
    width: 100%; max-width: var(--app-w);
    background: #fff; display: flex; flex-direction: column;
}
.search-page[hidden] { display: none; }
.sp-top {
    flex-shrink: 0; display: flex; align-items: center; gap: 10px;
    padding: 12px 14px calc(12px + env(safe-area-inset-top)); padding-top: max(14px, env(safe-area-inset-top));
}
.sp-bar {
    flex: 1; display: flex; align-items: center; gap: 8px;
    border-bottom: 2px solid var(--dark-green); padding: 8px 2px;
}
.sp-bar-ic { color: var(--dark-green); flex-shrink: 0; }
.sp-bar input { flex: 1; border: none; font-size: 16px; background: none; outline: none; }
.sp-close { flex-shrink: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: #111; }

.sp-tabs { flex-shrink: 0; display: flex; gap: 8px; padding: 6px 14px 14px; }
.sp-tab {
    padding: 11px 22px; border-radius: 22px; background: #f1f1ef;
    font-size: 15px; font-weight: 700; color: #999;
}
.sp-tab.active { background: var(--dark-green); color: #fff; }

.sp-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sp-panel { padding: 6px 16px 40px; }
.sp-sec { padding: 18px 0; border-bottom: 1px solid #f0efec; }
.sp-sec:last-child { border-bottom: none; }
.sp-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.sp-sec-head h3 { font-size: 17px; font-weight: 800; }
.sp-clear { font-size: 13px; color: #999; text-decoration: underline; }
.sp-pop-note { font-size: 11px; color: #bbb; }
.sp-empty { font-size: 13.5px; color: #bbb; padding: 6px 0 2px; }

.sp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 12px 9px 16px; border-radius: 22px; border: 1px solid #e6e4df;
    background: #fff; font-size: 14px; color: #333;
}
.sp-chip-x { color: #bbb; font-size: 16px; line-height: 1; }
.sp-sugs { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-sug { padding: 10px 16px; border-radius: 20px; background: #eef1ef; font-size: 14px; color: #2b2620; font-weight: 500; }

.sp-pop { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.sp-pop-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 0; }
.sp-pop-item b { color: var(--dark-green); font-weight: 800; font-size: 16px; width: 18px; text-align: center; }
.sp-pop-item span { font-size: 14.5px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sp-viewed-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.sp-viewed-row::-webkit-scrollbar { display: none; }
.sp-viewed { flex: 0 0 auto; width: 104px; text-align: left; }
.sp-viewed-img { display: block; width: 104px; height: 104px; border-radius: 12px; overflow: hidden; background: #f5f3ef; }
.sp-viewed-img img { width: 100%; height: 100%; object-fit: cover; }
.sp-viewed-brand { display: block; font-size: 12px; font-weight: 700; margin-top: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-viewed-price { display: block; font-size: 12.5px; color: #111; font-weight: 700; }

/* 카테고리 탭: 브랜드 → 모델
   - 전체가 한 번에 스크롤되어 "어디를 끌어도 브랜드 목록이 스크롤"됨(시니어 친화)
   - 모델 칼럼은 상단에 고정(sticky)되어 브랜드를 눌러도 다시 올릴 필요 없이 바로 보임 */
.sp-panel[data-sppanel="cat"] { padding: 0; }
.sp-cat { display: flex; align-items: flex-start; }
.sp-cat-left { width: 38%; flex-shrink: 0; background: #f7f6f3; border-radius: 0; }
.sp-brand {
    display: block; width: 100%; text-align: left; padding: 16px;
    font-size: 14.5px; font-weight: 600; color: #555; border-left: 3px solid transparent;
}
.sp-brand.on { background: #fff; color: var(--dark-green); font-weight: 800; border-left-color: var(--dark-green); }
.sp-cat-right {
    flex: 1; padding: 6px 4px 40px 8px;
    position: sticky; top: 0; align-self: flex-start;
    max-height: calc(100dvh - 138px); overflow-y: auto;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.sp-cat-right::-webkit-scrollbar { width: 0; }
.sp-model {
    display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
    padding: 15px 12px; font-size: 14.5px; color: #333; border-bottom: 1px solid #f2f1ee;
}
.sp-model-all { font-weight: 800; color: var(--dark-green); }
.sp-model-logo { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }

/* ===== 사이트 콘텐츠 인앱 편집 (관리자) ===== */
.cms-body { font-size: 15px; line-height: 1.75; color: var(--text-2); max-width: 640px; margin: 0 auto; }
.cms-body p { margin: 0 0 14px; }
.cms-body p:last-child { margin-bottom: 0; }
.cms-imgs { display: grid; gap: 14px; margin-top: 22px; }
.cms-imgs img { width: 100%; height: auto; object-fit: contain; border-radius: 14px; display: block; }

/* 내시계팔기 랜딩: 좌우 여백 0(앱 프레임 가장자리까지) + 여러 장이 끊김 없이 한 장처럼.
   앱 프레임 폭(--app-w: 모바일 100vw, PC 660px) 그대로 깔고 가운데 정렬해 빼냄 →
   컨테이너 좌우 패딩과 무관하게 좌우 여백이 완전히 0. object-fit 없이 원본 그대로(확대X) */
.compare-landing-soon .cms-imgs {
    display: block;
    gap: 0;
    width: var(--app-w);
    max-width: var(--app-w);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    line-height: 0;            /* 이미지 사이 inline 간격 제거 → 한 장처럼 이어짐 */
    font-size: 0;
}
.compare-landing-soon .cms-imgs img {
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: fill;          /* 박스가 원본 비율(height:auto)이라 왜곡 없음 — 확대/크롭 안 함 */
    border-radius: 0;
    margin: 0;
    padding: 0;
    display: block;
    vertical-align: bottom;
}
.cms-admin { text-align: center; margin-top: 22px; }
.cms-edit-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; border-radius: 22px; border: 1px dashed var(--dark-green);
    background: #fff; color: var(--dark-green); font-size: 13.5px; font-weight: 700;
}
.cms-form { display: flex; flex-direction: column; gap: 16px; }
.cms-field { display: flex; flex-direction: column; gap: 7px; }
.cms-field > span { font-size: 13px; font-weight: 700; color: var(--text-2); }
.cms-field input, .cms-field textarea {
    border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px;
    font-size: 15px; background: #fafafa; width: 100%; box-sizing: border-box; resize: vertical;
}
.cms-field input:focus, .cms-field textarea:focus { border-color: var(--dark-green); background: #fff; }
.cms-img-list { display: flex; flex-wrap: wrap; gap: 10px; }
.cms-img-list:empty { display: none; }
.cms-img-thumb { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; }
.cms-img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cms-img-thumb button {
    position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(0,0,0,.6); color: #fff; font-size: 15px; line-height: 1; display: flex;
    align-items: center; justify-content: center;
}
.cms-img-add {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
    padding: 10px 16px; border-radius: 12px; border: 1px dashed var(--border);
    font-size: 13.5px; font-weight: 600; color: var(--text-2); cursor: pointer; width: fit-content;
}
.cms-save {
    padding: 14px; border-radius: 12px; background: var(--dark-green); color: #fff;
    font-size: 15px; font-weight: 800; margin-top: 4px;
}
.cms-save:disabled { opacity: .6; }

/* ===== 인증 모달 (휴대폰 / 계좌) ===== */
.vf-desc { font-size: 15px; color: var(--text-2); line-height: 1.5; margin: 0 0 18px; }
.vf-method { padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.vf-method + .vf-method { margin-top: 12px; }
.vf-method-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.vf-method-head strong { font-size: 16px; color: var(--text); }
.vf-provider, .vrow-provider { padding: 4px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--text-2); font-size: 11px; font-weight: 700; white-space: nowrap; }
.vf-method .vf-confirm { width: 100%; height: 54px; margin-top: 2px; font-size: 15px; }
.vf-note { margin: 12px 0 0; font-size: 12px; line-height: 1.55; color: var(--text-3); }
.vf-phone-flow { padding: 2px 0; } .vf-phone-flow .vf-field { margin-bottom: 10px; }
.vf-phone-flow .vf-field > input { height: 52px; background: #fff; font-size: 16px; }
.vf-identity-actions { display: grid; gap: 12px; } .vf-identity-actions .vf-confirm { width: 100%; height: 60px; border-radius: 14px; font-size: 17px; font-weight: 800; }
.vf-identity-actions .vf-confirm--sms { border: 1px solid var(--border); background: #fff; color: var(--text); }
.vf-identity-actions .vf-confirm--sms:disabled { border-color: transparent; background: var(--bg-soft); color: var(--text-3); opacity: 1; cursor: not-allowed; }
.vf-phone-flow .vf-note { margin-top: 12px; text-align: center; }
.vf-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.vf-field > span { font-size: 13px; font-weight: 700; color: var(--text-2); }
.vf-row { display: flex; gap: 8px; }
.vf-row input {
    flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 12px;
    padding: 12px 14px; font-size: 15px; background: #fafafa;
}
.vf-row input:focus { border-color: var(--dark-green); background: #fff; }
.vf-send, .vf-confirm {
    flex: 0 0 auto; padding: 0 16px; border-radius: 12px; background: var(--dark-green);
    color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap;
}
.vf-send:disabled, .vf-confirm:disabled { opacity: .6; }
.vf-msg { font-size: 13px; min-height: 18px; margin-top: 4px; white-space: pre-line; }
.vf-msg.err { color: #c0392b; }
.vf-msg.ok { color: var(--dark-green); }
.vf-field > input {
    border: 1px solid var(--border); border-radius: 12px;
    padding: 12px 14px; font-size: 15px; background: #fafafa;
}
.vf-field > input:focus { border-color: var(--dark-green); background: #fff; }

/* ===== 제휴사 인증센터 ===== */
.pc-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 0; border-bottom: 1px solid var(--border);
}
.pc-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pc-info > b { font-size: 14.5px; }
.pc-info > em { font-size: 12px; color: var(--text-2); font-style: normal; }
.pc-state { font-size: 12px; font-weight: 700; }
.pc-state.ok { color: var(--dark-green); }
.pc-state.no { color: #c0392b; }
.pc-btn {
    flex: 0 0 auto; padding: 9px 14px; border-radius: 10px; background: var(--dark-green);
    color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.pc-result { margin-top: 16px; }
.pc-ok { color: var(--dark-green); font-weight: 700; font-size: 14px; }
.pc-wait { color: var(--text-2); font-size: 13px; line-height: 1.6; }

/* 가입폼 제휴사 안내 */
.signup-partner-note { font-size: 12px; color: var(--text-2); line-height: 1.6; margin: 4px 0 0; }

/* 회원가입 사업자 인증 */
.signup-bizverify { display: flex; align-items: center; gap: 10px; margin: 8px 0 2px; flex-wrap: wrap; }
.signup-verify-btn {
    flex: none; padding: 9px 16px; border-radius: 9px; border: 1px solid var(--text);
    background: var(--text); color: var(--white); font-size: 13px; font-weight: 700; cursor: pointer;
}
.signup-verify-btn:disabled { opacity: .55; cursor: default; }
.signup-verify-state { flex: 1; min-width: 140px; font-size: 12px; color: var(--text-2); line-height: 1.5; }
.signup-verify-state.ok { color: var(--dark-green); font-weight: 700; }
.signup-verify-state.err { color: #c0392b; font-weight: 600; }

/* 회원가입 주소 입력 */
.signup-addr-row { display: flex; gap: 8px; }
.signup-addr-row input { flex: 1; min-width: 0; }
.signup-addr-btn {
    flex: none; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--toss-blue);
    background: var(--toss-blue-soft); color: var(--toss-blue); font-size: 13.5px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.signup-addr-line { margin-top: 8px; }

/* 회원가입 2단계 위저드 */
.signup-step { display: none; }
.signup-step.active { display: block; }
.signup-step[hidden] { display: none !important; }
.signup-step-bar { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); margin: 0 0 14px; }
.signup-step-bar span { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; border-radius: 50%; background: #eee; color: var(--text-3); font-weight: 700; font-size: 11px; padding: 0 4px; }
.signup-step-bar span.on { background: var(--text); color: #fff; }
.signup-step-div { color: var(--text-3); }
.signup-step-hint { font-size: 12.5px; color: var(--text-2); margin: 0 0 14px; line-height: 1.5; }
.signup-step-actions { display: flex; gap: 10px; margin-top: 8px; }
.signup-step-actions .signup-prev { flex: 0 0 90px; background: #f0eee9; color: var(--text); }
.signup-step-actions .login-default { flex: 1; }

/* 인증 행(vrow) */
/* 인증(휴대폰·사업자·계좌) 행 — 기본정보(su-fld) 와 동일한 UI 로 통일 */
.vrow { display: block; margin-bottom: 12px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.vrow-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.vrow-label { display: block; font-size: 15px; font-weight: 700; color: var(--text); }
.vrow-desc { margin: 0 0 13px; color: var(--text-2); font-size: 12.5px; line-height: 1.5; }
.vrow-input, .vrow-code { display: flex; gap: 8px; align-items: flex-start; }
.vrow-code { margin-top: 8px; }
.vrow-code[hidden], .vrow[hidden], .vrow-input[hidden] { display: none; }
.vrow-input input, .vrow-code input, .vrow-line {
    flex: 1; min-width: 0; width: 100%; height: 52px; padding: 0 16px;
    border: 1px solid var(--border); border-radius: 12px; font-size: 16px;
    color: var(--text); background: var(--white); -webkit-appearance: none;
}
.vrow-input input:focus, .vrow-code input:focus, .vrow-line:focus { outline: none; border-color: var(--text); }
.vrow-input input::placeholder, .vrow-code input::placeholder, .vrow-line::placeholder { color: var(--text-3); }
.vrow-line { display: block; margin-bottom: 8px; }
.vrow-value { display: flex; align-items: center; flex: 1; min-width: 0; height: 52px; padding: 0 16px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; color: var(--text); background: #fafafa; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.vrow-btn {
    flex: none; padding: 0 16px; height: 52px; border-radius: 12px; border: 1px solid var(--text);
    background: #fff; color: var(--text); font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer;
}
.vrow-btn:hover { background: var(--bg-soft); }
.vrow-btn.full { width: 100%; height: 52px; margin-top: 8px; }
.vrow-btn:disabled { opacity: .55; cursor: default; }
.vrow-state { display: block; margin-top: 7px; font-size: 12.5px; line-height: 1.5; color: var(--text-3); }
.vrow-state.ok { color: var(--dark-green); font-weight: 700; }
.vrow-state.err { color: #c0392b; font-weight: 600; }
@media (max-width: 430px) {
    .vrow { padding: 16px; }
    .vrow-head { align-items: flex-start; }
    .vrow-input { flex-direction: column; }
    .vrow-input .vrow-btn, .vrow-input .vrow-value { width: 100%; }
}

/* ===== 정산내역 ===== */
.stl-row { padding: 12px 0; border-bottom: 1px solid var(--border); }
.stl-main { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.stl-main > b { font-size: 14px; }
.stl-amt { font-weight: 800; color: var(--dark-green); white-space: nowrap; }
.stl-sub { font-size: 12px; color: var(--text-2); margin-top: 4px; }
.stl-paid { color: var(--dark-green); font-weight: 700; }
.stl-pending { color: #c08400; font-weight: 700; }
.stl-hold { color: #c0392b; font-weight: 700; }
.stl-act { margin-left: 6px; padding: 4px 10px; border-radius: 8px; background: var(--dark-green); color: #fff; font-size: 12px; font-weight: 700; }
.stl-act.ghost { background: #eee; color: var(--text-1); }
.stl-adm .stl-main { margin-bottom: 2px; }

/* 제휴사 관리 카드 */
.partner-adm { display: block; }
.pa-head { display: flex; align-items: center; gap: 8px; }
.pa-head > b { font-size: 14.5px; }
.pa-state { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.pa-state.ok { background: #e6f4ea; color: var(--dark-green); }
.pa-state.no { background: #fdecea; color: #c0392b; }
.pa-sub { font-size: 12.5px; color: var(--text-2); margin-top: 4px; }
.pa-sub.small { font-size: 11.5px; }
.pa-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pchip { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #f1f1f1; color: #999; }
.pchip.on { background: #e6f4ea; color: var(--dark-green); }
.pa-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pa-acts .stl-act { margin-left: 0; }

.admin-vendor-item { flex-wrap: wrap; align-items: flex-start; gap: 4px 10px; }
.admin-vendor-item .av-main { font-weight: 700; flex: 1 1 100%; }
.admin-vendor-item .av-acct { font-size: 12px; color: var(--text-3); flex: 1 1 100%; }
.admin-vendor-item .av-acct a { color: var(--dark-green); text-decoration: underline; }
.admin-vendor-item .av-btns { display: flex; gap: 6px; flex: 1 1 100%; margin-top: 4px; }

/* 오늘시세 탭 */
.sp-price-head { display: flex; align-items: center; gap: 10px; padding: 18px 2px 8px; }
.sp-price-head h3 { font-size: 18px; font-weight: 800; }
.sp-price-test { font-size: 11px; font-weight: 800; color: #c98a00; background: #fff6e3; border-radius: 5px; padding: 2px 7px; }
.sp-price-desc { font-size: 13px; color: #888; line-height: 1.6; padding: 0 2px 16px; }
.sp-price-list { display: flex; flex-direction: column; }
.sp-price-row { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid #f2f1ee; }
.sp-price-row img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.sp-price-row span { flex: 1; text-align: left; font-size: 14.5px; font-weight: 600; }
.sp-price-soon { font-size: 11.5px; color: #bbb; }

/* ============================================================
   시계 등록 · 브랜드 선택 책자(32개)
   ============================================================ */
.lp-brandpick { position: relative; }
.lp-brand-btn {
    width: 100%; text-align: left; padding: 13px 14px; border-radius: 10px;
    border: 1px solid var(--border); background: #fff; font-size: 15px; color: #999;
}
.lp-brand-btn.on { color: #111; font-weight: 700; }
.lp-brand-sheet {
    margin-top: 10px; padding: 12px 10px; border: 1px solid var(--border);
    border-radius: 12px; background: #faf9f7; max-height: 380px; overflow-y: auto;
}
.lp-brand-sheet[hidden] { display: none; }
.lp-brand-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e3ded4; border-radius: 10px; padding: 9px 12px; margin-bottom: 12px; position: sticky; top: 0; }
.lp-brand-search input { flex: 1; border: none; outline: none; background: none; font-size: 14px; font-family: inherit; }
.lp-brand-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; }
.lp-brand-none { grid-column: 1 / -1; text-align: center; color: #aaa; font-size: 13px; padding: 18px 0; }
.lp-brand-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 2px; border-radius: 10px; }
.lp-brand-opt img { width: 46px; height: 46px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid #e7e3da; }
.lp-brand-opt span { font-size: 11px; color: #444; text-align: center; line-height: 1.2; }
.lp-brand-opt.on { background: #eef5f0; }
.lp-brand-opt.on img { outline: 2px solid var(--dark-green); outline-offset: 1px; }
.lp-brand-opt.on span { color: var(--dark-green); font-weight: 700; }

/* ============================================================
   앱 시작 스플래시 (벨로르 · 슬로건)
   ============================================================ */
.app-splash {
    position: fixed; inset: 0 auto 0 50%; z-index: 4000;
    width: min(100%, 660px); transform: translateX(-50%);
    background: #fff; color: #000;
    display: flex; align-items: center; justify-content: center;
    opacity: 1; transition: opacity .55s ease;
}
.app-splash.hide { opacity: 0; pointer-events: none; }
.app-splash-inner { text-align: center; animation: splashFade .8s ease both; padding: 0 24px; }
.app-splash-logo {
    width: 336px; max-width: 82vw; height: auto;
    filter: brightness(0); margin-bottom: 22px;
}
.app-splash-no1 {
    font-size: 13px; letter-spacing: 3px; font-weight: 700;
    color: #000; margin: 0 0 8px;
}
.app-splash-tagline {
    font-size: 16px; font-weight: 600; letter-spacing: .5px;
    color: #000; margin: 0;
}
@keyframes splashFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

/* ============================================================
   배치4 보강: 판매시계 ALL/스와이프 · 검색탭 · 자동완성 · 시세그래프 · 벨로르 팝업
   ============================================================ */

/* (3) 판매시계 '전체(ALL)' 선택 상태에서도 글자 보이게 (흰 배경 강제 회피) */
.cat-brand[data-brand="all"] .brand-circle-img { font-family: var(--serif, serif); font-size: 13px; letter-spacing: 1px; color: #2b2620; }
.cat-brand[data-brand="all"].active .brand-circle-img { background: #111 !important; color: #fff !important; border-color: #111; outline: none; }

/* (4) 판매시계 브랜드 원형: PC에선 줄바꿈으로 전부 노출, 모바일은 스와이프 + 드래그 스크롤 */
.cat-brands { cursor: grab; touch-action: pan-x; }
.cat-brands.dragging { cursor: grabbing; scroll-snap-type: none; }
@media (min-width: 700px) {
    .cat-brands.brand-circle-scroll { flex-wrap: wrap !important; overflow-x: visible; justify-content: flex-start; gap: 16px 12px; }
}

/* (7) 검색 페이지가 하단 탭바를 덮지 않도록(브라우저 전체화면 느낌 완화) */
.tabbar { z-index: 1300; }
.search-page { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
.search-page[hidden] { display: none; }
body.is-searching .tab-search { color: var(--green-bright); }
body.is-searching .tab-search span { font-weight: 700; }

/* (10) 자동완성(연관 검색어) 드롭다운 */
.sp-auto {
    position: absolute; left: 14px; right: 14px; top: calc(100% - 6px); z-index: 20;
    background: #fff; border: 1px solid #ececec; border-radius: 0 0 14px 14px;
    box-shadow: 0 14px 30px rgba(0,0,0,.10); overflow: hidden; max-height: 52vh; overflow-y: auto;
}
.sp-auto[hidden] { display: none; }
.sp-auto-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 13px 16px; font-size: 15px; color: #333; border-bottom: 1px solid #f4f3f0; }
.sp-auto-item:last-child { border-bottom: none; }
.sp-auto-item:hover, .sp-auto-item:active { background: #f7f6f3; }
.sp-auto-item b { color: var(--dark-green); font-weight: 800; }
.sp-top { position: relative; }

/* (8) 오늘시세 그래프 */
.sp-price-head { display: flex; align-items: baseline; gap: 10px; padding: 4px 2px 8px; }
.sp-price-head h3 { font-size: 18px; font-weight: 800; }
.sp-price-test { font-size: 11px; color: #b08d4e; font-weight: 700; }
.sp-price-desc { font-size: 13.5px; color: #888; padding: 0 2px 14px; }
.sp-price-list { display: flex; flex-direction: column; }
.sp-price-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 6px; border-bottom: 1px solid #f1efeb; }
.sp-price-row img { width: 34px; height: 34px; object-fit: contain; border-radius: 50%; background: #fff; border: 1px solid #f0eee9; flex-shrink: 0; }
.sp-price-row span { flex: 1; font-size: 15px; font-weight: 600; color: #2b2620; }
.sp-price-arrow { font-size: 18px; color: #b9b2a4; font-weight: 400; width: 18px; text-align: center; }
.sp-price-row.on { border-bottom: none; }
.sp-price-row.on .sp-price-arrow { color: var(--dark-green); }
.sp-price-graph { padding: 6px 6px 20px; border-bottom: 1px solid #f1efeb; animation: spGraphIn .25s ease; }
@keyframes spGraphIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sp-price-now { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.sp-price-now span { font-size: 12.5px; color: #999; }
.sp-price-now b { font-size: 22px; font-weight: 900; color: #111; letter-spacing: -.5px; }
.sp-price-now em { font-size: 13px; font-weight: 800; font-style: normal; }
.sp-price-now em.up { color: #1b8f5a; }
.sp-price-now em.down { color: #d23b3b; }
.sp-spark { width: 100%; height: 88px; display: block; }
.sp-price-axis { display: flex; justify-content: space-between; font-size: 11px; color: #bbb; margin-top: 2px; }
.sp-price-foot { font-size: 11.5px; color: #bbb; margin-top: 10px; line-height: 1.5; }

/* '내 시계 지금 얼마일까?' 시세 조회 폼 */
.sp-price-form { display: flex; flex-direction: column; gap: 14px; padding: 4px 2px 8px; }
.sp-price-field { display: flex; flex-direction: column; gap: 7px; }
.sp-price-field > span { font-size: 13px; font-weight: 700; color: #2b2620; }
.sp-price-form select, .sp-price-input {
    width: 100%; padding: 13px 14px; font-size: 15px; color: #1a1a1a;
    border: 1px solid #e3e0da; border-radius: 11px; background: #fafafa; outline: none;
    -webkit-appearance: none; appearance: none;
}
.sp-price-form select:focus, .sp-price-input:focus { border-color: #141414; background: #fff; }
.sp-price-comps { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-price-chk { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border: 1px solid #e3e0da; border-radius: 30px; font-size: 13.5px; font-weight: 600; color: #555; cursor: pointer; transition: .15s; }
.sp-price-chk input { accent-color: #141414; }
.sp-price-chk:has(input:checked) { border-color: #141414; background: #141414; color: #fff; }
.sp-price-submit { margin-top: 4px; width: 100%; padding: 15px; font-size: 15.5px; font-weight: 800; color: #fff; background: #141414; border: none; border-radius: 12px; cursor: pointer; }
.sp-price-submit:active { transform: scale(.99); }
.sp-price-result { padding: 8px 2px 24px; }
.sp-price-card { border: 1px solid #ece9e3; border-radius: 16px; padding: 20px 18px; background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.06); animation: spGraphIn .25s ease; }
.sp-price-card-top { margin-bottom: 12px; }
.sp-price-badge { font-size: 11px; font-weight: 800; color: #c98a00; background: #fff6e3; border-radius: 6px; padding: 4px 9px; }
.sp-price-card-brand { font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #8a8378; }
.sp-price-card-model { font-size: 19px; font-weight: 800; color: #161616; margin: 2px 0 14px; line-height: 1.3; }
.sp-price-card-spec { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.sp-price-card-spec li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.sp-price-card-spec span { color: #999; }
.sp-price-card-spec strong { color: #2b2620; font-weight: 700; text-align: right; }
.sp-price-card-note { font-size: 12.5px; color: #888; line-height: 1.6; padding: 12px 0 16px; border-top: 1px solid #f2f0ec; }
.sp-price-cta { width: 100%; padding: 14px; font-size: 14.5px; font-weight: 800; color: #fff; background: linear-gradient(135deg,#2b2b2b,#000); border: none; border-radius: 11px; cursor: pointer; }

/* (9) 벨로르 스타일 팝업(네이티브 alert 대체) */
.bl-modal-mask {
    position: fixed; inset: 0; z-index: 5000; display: flex; align-items: center; justify-content: center;
    background: rgba(15,14,12,.55); backdrop-filter: blur(3px); padding: 24px;
    opacity: 0; transition: opacity .2s;
}
.bl-modal-mask.show { opacity: 1; }
.bl-modal-mask[hidden] { display: none !important; }
.bl-modal-mask:not(.show) { pointer-events: none; }
.bl-modal {
    width: 100%; max-width: 340px; background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.35); transform: translateY(12px) scale(.98); transition: transform .22s;
    text-align: center;
}
.bl-modal-mask.show .bl-modal { transform: none; }
.bl-modal-top { padding: 26px 24px 6px; }
.bl-modal-logo { width: 108px; height: auto; margin: 0 auto 14px; display: block; }
.bl-modal-msg { font-size: 15.5px; line-height: 1.6; color: #2b2620; white-space: pre-line; word-break: keep-all; padding: 0 4px; }
.bl-modal-acts { display: flex; border-top: 1px solid #efece6; margin-top: 22px; }
.bl-modal-acts button { flex: 1; padding: 16px 8px; font-size: 15px; font-weight: 700; background: #fff; border: none; color: #111; }
.bl-modal-acts button + button { border-left: 1px solid #efece6; }
.bl-modal-acts .bl-cancel { color: #999; font-weight: 600; }
.bl-modal-acts .bl-ok { color: var(--dark-green); }

/* ============================================================
   배치6 보강
   ============================================================ */

/* (1) 홈 '전체보기(ALL)' 글자 보이게 — 흰 배경 강제 회피 */
.brand-circle-all .brand-circle-img { background: #111 !important; color: #fff !important; border-color: #111; }
.brand-circle-all:hover .brand-circle-img { background: #000 !important; color: #fff !important; }

/* (2) 검색 페이지를 앱 폭(660/와이드 1200) 안에서만 표시 (전체화면 금지) */
.search-page {
    left: 50%; right: auto; transform: translateX(-50%);
    width: 100%; max-width: var(--app-w);
    border-left: 1px solid #eee; border-right: 1px solid #eee;
    bottom: 0; /* 탭바는 숨기므로 하단까지 사용 */
}

/* (3)(10) 검색 중에는 하단 탭바 숨김 (검색탭도 제거됨) */
body.is-searching .tabbar { display: none !important; }

/* (4) 판매시계 모델 칩: 한 줄 가로 스와이프 + 검색 */
#catModels { display: block; }
.cat-model-search {
    display: flex; align-items: center; gap: 7px; max-width: 240px;
    background: #fff; border: 1px solid #e3ded4; border-radius: 999px;
    padding: 7px 13px; margin: 10px 0 10px;
}
.cat-model-search input { flex: 1; border: none; outline: none; background: none; font-size: 13.5px; font-family: inherit; }
.cat-model-row {
    display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px;
}
.cat-model-row::-webkit-scrollbar { display: none; }
.cat-model-row .cat-model { flex: 0 0 auto; }

/* (8) 타임세일: 라벨 없이 숫자만 크게·검정 강조 */
.hcard-timesale { text-shadow: none; }
.hcard-timesale .hcard-timer { font-size: 20px; font-weight: 900; color: #111; letter-spacing: .5px; }
.hcard-timesale.ended .hcard-timer { color: #888; }

/* (6) 등록/수정 사진 순서 변경 버튼 + 대표 배지 */
.upload-cell.has-img { position: relative; }
.cell-order { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 4px; }
.ord-btn {
    width: 26px; height: 26px; border-radius: 50%; border: none;
    background: rgba(0,0,0,.6); color: #fff; font-size: 17px; line-height: 1;
    display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.ord-btn[disabled] { opacity: .25; cursor: default; }
.cell-cover {
    position: absolute; top: 6px; left: 6px; z-index: 2;
    background: var(--dark-green, #111); color: #fff; font-size: 10px; font-weight: 800;
    padding: 3px 8px; border-radius: 999px; letter-spacing: .5px;
}
/* 업로드한 배너의 실제 픽셀 크기 표시 — 이미지 위가 아니라 오른쪽 여백에 별도 표기(수정 화면) */
.banner-slot-body { display: flex; gap: 12px; align-items: stretch; }
.banner-slot-pick { flex: 1 1 auto; min-width: 0; }
.banner-slot-size {
    flex: 0 0 auto; width: 124px;
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    padding: 10px; border: 1px dashed #d8d4c8; border-radius: 10px;
    background: #fff; text-align: center;
}
.banner-slot-size .bss-label { font-size: 11px; color: #8a8475; font-weight: 600; line-height: 1.35; }
.banner-slot-size .bss-val { font-size: 13.5px; font-weight: 800; color: #1a1a1a; letter-spacing: .2px; }
@media (max-width: 480px) {
    .banner-slot-body { flex-direction: column; }
    .banner-slot-size { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
}

/* ============================================================
   비교견적 (마이페이지) — 고객이 등록한 시계의 업체 견적 비교/선택
   레퍼런스: ① 업체 견적 상세  ② 견적 순위 리스트  ③ 견적 범위
   ============================================================ */
:root { --cq-green: #1f3b34; --cq-green-deep: #163029; --cq-gold: #e9dec3; }

.cq-card {
    background: #fff; border: 1px solid #ececec; border-radius: 14px;
    padding: 14px; margin-bottom: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.cq-watch { display: flex; gap: 12px; align-items: center; }
.cq-watch-img { width: 60px; height: 60px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; background: #f3f1ec; }
.cq-watch-img img { width: 100%; height: 100%; object-fit: cover; }
.cq-watch-info { flex: 1; min-width: 0; }
.cq-watch-brand { font-size: 15px; font-weight: 800; color: #1a1a1a; letter-spacing: .2px; }
.cq-watch-model { font-size: 12.5px; color: #777; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cq-status {
    display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700;
    padding: 3px 9px; border-radius: 999px; background: #f0efea; color: #6a6a6a;
}
.cq-status-open { background: #e7f1ec; color: var(--cq-green); }
.cq-status-awarded { background: var(--cq-green); color: #fff; }
.cq-status-pending { background: #fff4e2; color: #b07b1e; }

.cq-range {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 12px; padding: 10px 12px; border-radius: 10px;
    background: #f7f6f2;
}
.cq-range-label { font-size: 11.5px; color: #8a8475; font-weight: 600; }
.cq-range-val { font-size: 14px; font-weight: 800; color: var(--cq-green); }

.cq-bids-head { margin: 14px 2px 8px; font-size: 12px; color: #777; }
.cq-bids-head b { color: #1a1a1a; }
.cq-bids { display: flex; flex-direction: column; gap: 8px; }
.cq-bid {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 11px 12px; border: 1px solid #eaeaea; border-radius: 11px;
    background: #fff; cursor: pointer; text-align: left; transition: border-color .15s, box-shadow .15s;
}
.cq-bid:hover { border-color: #d2cdbf; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.cq-bid:first-child { border-color: var(--cq-gold); background: #fcfaf3; }
.cq-bid.is-awarded { border-color: var(--cq-green); background: #f1f7f4; }
.cq-bid-rank {
    flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
    background: #f0efea; color: #777; font-size: 11.5px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.cq-bid:first-child .cq-bid-rank { background: var(--cq-green); color: #fff; }
.cq-bid-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cq-bid-name { font-size: 13.5px; font-weight: 700; color: #1a1a1a; }
.cq-bid-msg { font-size: 11.5px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cq-bid-amt { font-size: 14.5px; font-weight: 800; color: #1a1a1a; white-space: nowrap; }
.cq-bid-flag { flex: 0 0 auto; font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 6px; }
.cq-bid-flag.top { background: var(--cq-gold); color: #7a5a12; }
.cq-bid-flag.awarded { background: var(--cq-green); color: #fff; }
.cq-bid-arrow { flex: 0 0 auto; color: #c2c2c2; font-size: 18px; line-height: 1; }
.cq-empty { margin: 12px 2px 2px; font-size: 12.5px; color: #999; }

/* 업체 견적 상세 모달 (이미지 ①) */
.cq-detail-content { max-width: 420px; padding: 0; overflow: hidden; }
.cq-detail { display: flex; flex-direction: column; }
.cq-shop {
    background: linear-gradient(160deg, var(--cq-green) 0%, var(--cq-green-deep) 100%);
    color: #fff; padding: 26px 20px 20px; text-align: center;
}
.cq-shop-avatar {
    width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%;
    background: #fff; color: var(--cq-green); font-family: var(--serif, serif);
    font-weight: 800; font-size: 24px; display: flex; align-items: center; justify-content: center;
}
.cq-shop-name { font-size: 18px; font-weight: 800; letter-spacing: .3px; }
.cq-shop-partner { font-size: 12px; color: rgba(255,255,255,.78); margin-top: 3px; }
.cq-shop-trust { display: flex; gap: 8px; margin-top: 16px; }
.cq-shop-trust > div {
    flex: 1; background: rgba(255,255,255,.1); border-radius: 9px; padding: 9px 4px;
    display: flex; flex-direction: column; gap: 2px;
}
.cq-shop-trust b { font-size: 11.5px; font-weight: 700; }
.cq-shop-trust small { font-size: 9.5px; color: rgba(255,255,255,.65); }
.cq-offer { padding: 20px; }
.cq-offer-label { font-size: 13px; color: #888; font-weight: 600; }
.cq-offer-amt { font-size: 30px; font-weight: 800; color: #1a1a1a; margin: 2px 0 16px; }
.cq-offer-amt span { font-size: 16px; font-weight: 700; margin-left: 2px; }
.cq-offer-rows { display: flex; flex-direction: column; }
.cq-offer-rows > div {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
    padding: 12px 0; border-top: 1px solid #f0f0f0;
}
.cq-offer-rows dt { font-size: 13px; color: #999; flex: 0 0 auto; }
.cq-offer-rows dd { font-size: 13.5px; font-weight: 700; color: #222; text-align: right; }
.cq-cta {
    width: 100%; padding: 15px; border-radius: 11px; font-size: 15px; font-weight: 800;
    border: none; cursor: pointer; margin-top: 16px; text-align: center;
}
.cq-cta-primary { background: var(--cq-green); color: #fff; }
.cq-cta-primary:hover { background: var(--cq-green-deep); }
.cq-cta-ghost { background: #fff; color: #444; border: 1px solid #ddd; margin-top: 10px; }
.cq-cta-done { background: #f1f1f1; color: #888; cursor: default; }
.cq-offer-foot { margin-top: 14px; font-size: 11px; color: #aaa; text-align: center; }

/* ============================================================
   판매시계 브랜드 바(개수 + 더 보기 ›) · 브랜드 검색 · 결과없음 안내
   ============================================================ */
.cat-brandbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 2px 2px 6px;
}
.cat-brandbar-count { font-size: 13px; font-weight: 600; color: var(--text-2, #555); }
.cat-brandbar-count b { color: var(--green-bright, #1b8f5a); font-weight: 800; }
.cat-brandbar-more {
    display: inline-flex; align-items: center; gap: 4px;
    background: none; border: none; cursor: pointer; padding: 4px 2px;
    font-size: 13px; font-weight: 700; color: var(--text-2, #555); font-family: inherit;
}
.cat-brandbar-arrow {
    display: inline-block; font-size: 17px; line-height: 1; font-weight: 800;
    animation: cat-nudge 1.1s ease-in-out infinite;
}
.cat-brandbar-more.on .cat-brandbar-arrow { transform: rotate(90deg); animation: none; }
@keyframes cat-nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}
/* 더 보기 펼침: 전체 브랜드를 줄바꿈으로 노출 */
.cat-brands.brand-circle-scroll.show-all {
    flex-wrap: wrap !important; overflow-x: visible; justify-content: flex-start; gap: 16px 12px;
}
.cat-brand-search {
    display: flex; align-items: center; gap: 7px; max-width: 260px;
    background: #fff; border: 1px solid #e3ded4; border-radius: 999px;
    padding: 7px 13px; margin: 2px 0 8px;
}
.cat-brand-search input { flex: 1; border: none; outline: none; background: none; font-size: 13.5px; font-family: inherit; }
.cat-brand-search[hidden] { display: none; }

/* 검색 결과 없음: 벨로르 로고 + 기업 안내 문구(팝업 대체) */
.col-empty {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 10px; padding: 54px 24px 64px;
}
.col-empty[hidden] { display: none; }
.col-empty-logo { width: 264px; max-width: 82%; height: auto; opacity: .9; margin-bottom: 4px; }
.col-empty-q { font-size: 13px; font-weight: 700; color: var(--green-bright, #1b8f5a); margin: 0; }
.col-empty-title { font-size: 16px; font-weight: 800; color: var(--text, #1a1a1a); margin: 0; }
.col-empty-desc { font-size: 13.5px; line-height: 1.7; color: var(--text-2, #777); margin: 0; max-width: 340px; }

/* ============================================================
   Batch 8 — 카드 타임세일 오버레이 · 하단 2줄 정보 · 판매시계 브랜드 재배치
   (이후 정의가 위 중복 정의를 덮어씀)
   ============================================================ */
/* 항목1 — TIME SALE: 이미지 좌하단 오버레이, 일 단위 없이 시간(예: 68:10:23) 강조 */
.hcard-img { position: relative; }
.hcard-timesale {
    position: absolute; left: 11px; bottom: 9px; right: auto; top: auto; z-index: 3;
    display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
    background: none; border: none; padding: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none; text-shadow: none;
}
.hcard-timesale b {
    font-size: 8px; font-weight: 700; letter-spacing: 1.4px; line-height: 1;
    color: #b08968; opacity: .9;
}
.hcard-timesale .hcard-timer {
    font-size: 14px; font-weight: 600; line-height: 1.05; letter-spacing: .4px;
    color: #1a1a1a; font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 2px rgba(255,255,255,.9);
}
.hcard-timesale.ended b, .hcard-timesale.ended .hcard-timer { color: #9a9a9a; }

/* 항목4 — 카드 하단 정보 2줄(구성품·등급 / 스탬핑·미리수), 값 없으면 '미표기' */
.hcard-info { margin: 7px 0 0; padding: 0 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.hcard-info-row { display: flex; gap: 9px; }
.hcard-attr {
    flex: 1 1 0; min-width: 0; display: flex; align-items: baseline; gap: 5px;
    font-size: 11.5px; line-height: 1.3; color: var(--text, #222);
}
.hcard-attr > b { flex: 0 0 auto; font-size: 9.5px; font-weight: 700; color: var(--text-3, #aaa); letter-spacing: .2px; }
.hcard-av { min-width: 0; flex: 1 1 auto; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard-na { font-weight: 500; color: #c2c2c2; }

/* 항목2 — 판매시계: 브랜드 검색 상시 노출, 원형 카테고리는 1줄만 보이고 '더보기'로 펼침 */
.cat-brand-search { display: flex !important; margin: 2px 0 8px; }
.cat-brands.is-collapsed {
    display: flex !important;
    flex-wrap: nowrap !important;     /* 접힘: 가로 1줄(스와이프) — PC 줄바꿈 규칙도 무시 */
    overflow-x: auto;
    touch-action: pan-x;              /* 접힘: 가로 스와이프 */
}
/* 펼침(브랜드 더보기): 여러 줄 → 세로 페이지 스크롤이 막히지 않게 */
.cat-brands.show-all {
    overflow-x: visible;
    touch-action: auto;
    cursor: default;
}

/* 항목3 — 등록폼 사진 드래그 정렬 상태 */
.upload-cell.has-img { touch-action: none; cursor: grab; transition: outline-color .15s ease, transform .15s ease; }
.upload-cell.has-img:active { cursor: grabbing; }
/* 네이티브 이미지 드래그(=금지🚫 커서) 차단 → 우리 포인터 드래그만 동작 */
.upload-cell.has-img img {
    -webkit-user-drag: none; user-drag: none;
    -webkit-user-select: none; user-select: none;
    pointer-events: none;
}
/* 원본 자리: 드래그 중 빈 자리로 표시 */
.upload-cell.reorder-src { opacity: 0; }
/* 손가락/커서를 따라다니는 떠다니는 복제본 */
.upload-cell.reorder-ghost {
    position: fixed;
    margin: 0;
    z-index: 9999;
    pointer-events: none;
    cursor: grabbing;
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
    opacity: .96;
    will-change: transform;
}
.upload-cell.reorder-ghost .remove-btn { display: none; }
/* 놓을 자리 강조 */
.upload-cell.has-img.drop-target {
    outline: 2px dashed var(--gold, #b89968);
    outline-offset: -2px;
    transform: scale(.94);
}

/* 항목5 — 주문 전체보기 모달 */
.orders-content { max-width: 460px; }
.orders-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 12px; margin: 4px 0 4px; }
.orders-tabs::-webkit-scrollbar { display: none; }
.orders-tab {
    flex: 0 0 auto; background: var(--bg-soft, #f5f3ee); border: 1px solid var(--border, #e6e1d8);
    border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 700;
    color: var(--text-2, #666); cursor: pointer; font-family: inherit; white-space: nowrap;
}
.orders-tab.active { background: #161616; border-color: #161616; color: #fff; }
.orders-list { display: flex; flex-direction: column; gap: 10px; max-height: 56vh; overflow-y: auto; padding: 2px; }
.orders-empty { text-align: center; color: var(--text-3, #999); font-size: 13.5px; padding: 48px 12px; }
.order-row {
    display: flex; gap: 12px; align-items: center;
    background: #fff; border: 1px solid var(--border, #ece8df); border-radius: 14px; padding: 11px 12px;
}
.order-thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: #f5f3ee; }
.order-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-main { flex: 1 1 auto; min-width: 0; }
.order-brand { font-size: 11px; font-weight: 800; color: var(--text-3, #999); margin: 0 0 1px; letter-spacing: .3px; }
.order-name { font-size: 14px; font-weight: 700; color: var(--text, #1a1a1a); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-meta { font-size: 11.5px; color: var(--text-3, #aaa); margin: 3px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.order-badge { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--bg-soft, #f1efe9); color: var(--text-2, #555); white-space: nowrap; }
.order-badge--pending { background: #fdeccf; color: #9a6b00; }
.order-badge--paid { background: #e7f0ff; color: #1b5fc4; }
.order-badge--preparing { background: #efeaff; color: #6a45c8; }
.order-badge--shipping { background: #e6f6ee; color: #1b8f5a; }
.order-badge--delivered { background: #eaeaea; color: #555; }
.order-badge--cancelled, .order-badge--canceled, .order-badge--refunded, .order-badge--cancel_req,
.order-badge--return_req, .order-badge--exchange_req, .order-badge--returning { background: #fdecec; color: #c0392b; }
.order-badge--inspecting { background: #fff3da; color: #9a6b00; }
.order-badge--confirmed { background: #e6f6ee; color: #157a4c; }
.order-amt { font-size: 13.5px; font-weight: 900; color: var(--text, #161616); }

/* ===== 체크아웃: 배송지 ===== */
.co-addr-row { display: flex; gap: 8px; margin-bottom: 8px; min-width: 0; }
.co-addr-row input { flex: 1; min-width: 0; }
.co-addr-btn { flex: 0 0 auto; white-space: nowrap; background: #161616; color: #fff; border: none; border-radius: 10px; padding: 0 14px; font-size: 13px; font-weight: 800; cursor: pointer; font-family: inherit; }
#coAddr1 { margin-bottom: 8px; }
.co-ship-note { margin: 8px 0 0; font-size: 12px; color: var(--text-2, #777); }

/* ===== 주문 상세 (고객) ===== */
.op-page .pp-scroll { padding: 16px; }
.op-head { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.op-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; background: #f3f1ec; }
.op-thumb img { width: 100%; height: 100%; object-fit: cover; }
.op-brand { font-size: 12px; color: var(--text-2, #888); margin: 0 0 2px; }
.op-name { font-size: 15px; font-weight: 800; margin: 0 0 6px; line-height: 1.3; }
.op-timeline { list-style: none; margin: 0 0 18px; padding: 14px 4px; display: flex; justify-content: space-between; position: relative; }
.op-timeline::before { content: ''; position: absolute; left: 22px; right: 22px; top: 20px; height: 2px; background: #e8e6df; }
.op-timeline li { position: relative; flex: 1; text-align: center; z-index: 1; }
.op-dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: #e0ddd4; margin: 0 auto 8px; border: 2px solid #fff; }
.op-timeline li.on .op-dot { background: #161616; }
.op-step { font-size: 10.5px; color: var(--text-2, #999); line-height: 1.3; }
.op-timeline li.on .op-step { color: var(--text, #161616); font-weight: 700; }
.op-step em { display: block; font-style: normal; font-size: 9px; color: #aaa; margin-top: 2px; }
.op-timeline--off { opacity: .45; }
.op-sec { border-top: 1px solid #efece5; padding: 16px 0; }
.op-sec:first-of-type { border-top: none; }
.op-sec h4 { font-size: 13px; font-weight: 800; margin: 0 0 10px; }
.op-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; margin-bottom: 7px; }
.op-row span { color: var(--text-2, #888); flex: 0 0 auto; }
.op-row b { text-align: right; font-weight: 600; }
.op-row--total b { font-size: 15px; font-weight: 900; }
.op-receipt, .op-track { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 800; color: #1b5fc4; text-decoration: underline; }
.op-track { margin-top: 10px; background: #161616; color: #fff; border-radius: 10px; padding: 9px 14px; text-decoration: none; }
.op-track-note, .op-memo { font-size: 12.5px; color: var(--text-2, #777); margin: 4px 0 0; }
.op-actions { display: flex; gap: 8px; }
.op-btn { flex: 1; padding: 13px; border-radius: 12px; border: 1px solid #ddd9d0; background: #fff; font-size: 14px; font-weight: 800; cursor: pointer; font-family: inherit; }
.op-btn--main { background: #161616; color: #fff; border-color: #161616; }
.op-btn--danger { color: #c0392b; border-color: #f0c7c2; }

/* ===== 교환/반품 신청 ===== */
.rp-order { background: #f7f5f0; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; }
.rp-pn { font-size: 14px; font-weight: 800; margin: 0 0 3px; }
.rp-on { font-size: 12px; color: var(--text-2, #888); margin: 0; }
.rp-typepick { margin-bottom: 16px; }
.rp-note { font-size: 12px; color: var(--text-2, #888); line-height: 1.5; margin-top: 12px; }
.rp-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rp-thumb { font-size: 11px; background: #f1efe9; border-radius: 6px; padding: 3px 8px; color: var(--text-2, #777); }

/* ===== 관리자: 주문/배송 ===== */
.aord-tabs { flex-wrap: wrap; }
.aord-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.aord-card { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: #fff; border: 1px solid #ece9e2; border-radius: 12px; padding: 12px 14px; cursor: pointer; font-family: inherit; }
.aord-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.aord-main b { font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aord-main span { font-size: 11.5px; color: var(--text-2, #888); }
.admin-empty { text-align: center; color: var(--text-2, #999); font-size: 13px; padding: 40px 0; }
.cp-hint { font-style: normal; font-weight: 500; font-size: 11px; color: var(--text-2, #999); }
.cp-field { margin-bottom: 14px; }
.cp-field > label { display: block; font-size: 13px; color: var(--text-2, #555); margin-bottom: 6px; font-weight: 600; }
.rp-page select, .rp-page input, .rp-page textarea,
.aop-page select, .aop-page input, .aop-page textarea { width: 100%; border: 1px solid #ddd9d0; border-radius: 10px; padding: 11px 12px; font-size: 14px; font-family: inherit; box-sizing: border-box; background: #fff; }
.rp-page .pp-scroll, .aop-page .pp-scroll { padding: 16px; }

/* 교환/반품 카드 */
.rr-card { background: #fff; border: 1px solid #ece9e2; border-radius: 12px; padding: 14px; }
.rr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.rr-top b { font-size: 14px; font-weight: 900; }
.rr-st { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #f1efe9; color: #555; }
.rr-st--requested { background: #fdeccf; color: #9a6b00; }
.rr-st--approved, .rr-st--collecting { background: #e7f0ff; color: #1b5fc4; }
.rr-st--done { background: #e6f6ee; color: #157a4c; }
.rr-st--rejected { background: #fdecec; color: #c0392b; }
.rr-pn { font-size: 13px; font-weight: 700; margin: 0 0 3px; }
.rr-reason { font-size: 12.5px; color: var(--text-2, #777); margin: 0 0 8px; }
.rr-photos { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.rr-ph img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.rr-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.rr-acts button { flex: 1; min-width: 60px; padding: 8px; border-radius: 9px; border: 1px solid #ddd9d0; background: #fff; font-size: 12px; font-weight: 800; cursor: pointer; font-family: inherit; }
.rr-acts .rr-rej { color: #c0392b; border-color: #f0c7c2; }
.order-pay { margin-top: 2px; background: #161616; color: #fff; border: none; border-radius: 999px; padding: 5px 11px; font-size: 11px; font-weight: 800; cursor: pointer; font-family: inherit; }
.pocket-status .ps-cell { background: none; border: none; cursor: pointer; font-family: inherit; padding: 4px 2px; text-align: center; border-radius: 10px; transition: background .15s; }
.pocket-status .ps-cell:active { background: var(--bg-soft, #f1efe9); }

/* ============================================================
   Batch 9 — 카드 박스 높이 통일 · 소식받기(기다리는 시계)
   ============================================================ */
/* (4) 카드 텍스트 간격 타이트하게 — 한 줄 모델명일 때 생기던 빈 줄 예약 제거.
   모델명은 line-clamp:2 로 길면 2줄까지만, 짧으면 딱 그 높이(여백 없음) */
.hcard-model { min-height: 0; }
.hcard-brand { padding-top: 9px; }
.hcard-model { padding-top: 2px; }
.hcard-pack { padding-top: 2px; }
.hcard-price {
    display: block;
    padding-top: 2px;
}
.hcard-old { margin-bottom: 1px; }
/* 하단 스펙(구성품/등급/스탬핑/미리수) 위 간격도 축소 */
.hcard-info { margin-top: 4px !important; gap: 2px !important; }

/* 0건 안내의 '소식받기' 버튼 */
.col-empty-alert {
    display: inline-flex; align-items: center; gap: 7px;
    margin-top: 6px; padding: 11px 20px;
    background: #161616; color: #fff; border: none; border-radius: 999px;
    font-size: 13.5px; font-weight: 800; font-family: inherit; cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,.16);
}
.col-empty-alert:active { transform: scale(.97); }
.col-empty-alert.done { background: #e7f6ec; color: #0a7d3c; box-shadow: none; cursor: default; }
.col-empty-watch { color: var(--green-bright, #1b8f5a); font-weight: 800; }

/* 소식 기다리는 시계 목록(찜 페이지 · 마이페이지) */
.alerts-sec { margin-top: 26px; }
.alerts-title, #myAlertsSection h4 { font-size: 14px; font-weight: 800; color: var(--text, #1a1a1a); margin: 0 0 10px; }
.alerts-title b, #myAlertCount, #wishAlertCount { color: var(--green-bright, #1b8f5a); margin-left: 2px; }
#wishAlerts, #myAlerts { display: flex; flex-direction: column; gap: 9px; }
.alert-row {
    display: flex; align-items: center; gap: 11px;
    background: #fff; border: 1px solid var(--border, #ece8df); border-radius: 14px; padding: 11px 13px;
}
.alert-ic {
    flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #f5f3ee; color: #b08968;
}
.alert-main { flex: 1 1 auto; min-width: 0; }
.alert-name { font-size: 14px; font-weight: 800; color: var(--text, #1a1a1a); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alert-sub { font-size: 11.5px; color: var(--text-3, #aaa); margin: 2px 0 0; }
.alert-remove {
    flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
    background: none; border: 1px solid var(--border, #e6e1d8); color: #999;
    font-size: 17px; line-height: 1; cursor: pointer; font-family: inherit;
}
.alert-remove:active { background: var(--bg-soft, #f1efe9); }
.alert-empty { font-size: 13px; color: var(--text-3, #aaa); line-height: 1.6; text-align: center; padding: 22px 8px; margin: 0; }

/* ============================================================
   Batch 11 — 헤더 로고/검색 · 브랜드 원형 1줄(PC7·모바일5) · 카드 박스 통일
   ============================================================ */

/* (5) 모바일: 헤더 검색창 제거 → 검색 아이콘만 노출(탭하면 검색 페이지) */
@media (max-width: 699px) {
    .header-search {
        flex: 0 0 auto; width: 40px; min-width: 0; margin-left: auto;
        padding: 0; justify-content: center;
        background: transparent !important; border: none !important;
    }
    .header-search input { display: none !important; }
    .header-search-ic { width: 22px; height: 22px; }
}

/* (1)(4) 판매시계 브랜드 원형 — 가로 스크롤 제거, 줄바꿈 그리드로 1줄 정렬
   접힘: 첫 줄(PC 7 / 모바일 5)만 노출 · 펼침: 전체를 같은 그리드로 채움 */
.cat-brands .brand-circle-img { width: 66px; height: 66px; }
.cat-brands .brand-circle-name {
    white-space: normal; word-break: keep-all; line-height: 1.18; max-width: 80px;
}

/* PC(일반): 가로 드래그 스크롤 없이 7열 그리드로 자연스럽게 */
@media (min-width: 700px) {
    .cat-brands.brand-circle-scroll,
    .cat-brands.brand-circle-scroll.is-collapsed,
    .cat-brands.brand-circle-scroll.show-all {
        display: grid !important;
        grid-template-columns: repeat(7, 1fr) !important;   /* 세로 1줄 방지: 기본 none!important 덮어쓰기 */
        gap: 20px 10px;
        overflow: hidden;
        touch-action: auto;
        cursor: default;
        justify-content: stretch;
        flex-wrap: wrap;
    }
    .cat-brands.brand-circle-scroll.is-collapsed { max-height: 118px; }   /* 첫 줄만 */
    .cat-brands.brand-circle-scroll.show-all { max-height: none; }
    .cat-brands .brand-circle-img { width: 72px; height: 72px; }
}
/* 와이드(full): 원형카드 더 크게 키워 접기 아래 여백 채움 */
@media (min-width: 700px) {
    html[data-width="full"] .cat-brands .brand-circle-img { width: 84px; height: 84px; }
    html[data-width="full"] .cat-brands.brand-circle-scroll,
    html[data-width="full"] .cat-brands.brand-circle-scroll.is-collapsed,
    html[data-width="full"] .cat-brands.brand-circle-scroll.show-all { gap: 24px 12px; }
    html[data-width="full"] .cat-brands.brand-circle-scroll.is-collapsed { max-height: 132px; }
}
/* 모바일: 접힘은 1줄 스와이프 유지 · 펼침은 5열 그리드로 접기 아래 여백 채움 */
@media (max-width: 699px) {
    .cat-brands.brand-circle-scroll.show-all {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;   /* 세로 1줄 방지 */
        gap: 18px 6px;
        overflow-x: visible;
        touch-action: auto;
    }
    .cat-brands .brand-circle-img { width: 62px; height: 62px; }
}

/* (6) 카드는 내용 높이대로(중간 여백 제거) — 같은 줄은 윗줄 정렬 */
.home-sale-grid,
.col-grid-inner,
.hcard-grid { align-items: start; }
.home-sale-grid .hcard,
.col-grid-inner .hcard,
.hcard-grid .hcard {
    display: flex; flex-direction: column;
}
.home-sale-grid .hcard-img,
.col-grid-inner .hcard-img,
.hcard-grid .hcard-img { flex: 0 0 auto; }

/* 마이페이지 쿠폰 등록 */
.coupon-redeem { display: flex; gap: 8px; margin-bottom: 14px; min-width: 0; }
.coupon-redeem input {
    flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px;
}
.coupon-redeem button {
    flex: 0 0 auto; white-space: nowrap; padding: 0 18px; border: 1px solid var(--text); border-radius: 10px;
    background: var(--text); color: #fff; font-weight: 600; cursor: pointer;
}
.coupon-empty { color: var(--text-2); font-size: 14px; padding: 6px 0; }
.coupon-sub { margin: 18px 0 10px; font-size: 14px; font-weight: 700; color: var(--text); }

/* 쿠폰 카드 */
.coupon-card {
    display: flex; align-items: center; gap: 14px;
    border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
    background: linear-gradient(90deg, #faf7f2 0, #fff 70px);
    position: relative;
}
.coupon-card .cc-val {
    flex: 0 0 auto; min-width: 72px; text-align: center;
    font-size: 20px; font-weight: 800; color: var(--text); line-height: 1.1;
    border-right: 1px dashed var(--border); padding-right: 14px;
}
.coupon-card .cc-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.coupon-card .cc-body strong { font-size: 15px; font-weight: 700; color: var(--text); }
.coupon-card .cc-body span { font-size: 12px; color: var(--text-2); }
.coupon-card .cc-tag {
    flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--text-2);
    background: #ececec; border-radius: 6px; padding: 4px 8px;
}
.coupon-card.used, .coupon-card.expired { opacity: .5; }
.coupon-card .cc-get {
    flex: 0 0 auto; padding: 9px 16px; border: none; border-radius: 8px;
    background: var(--green-bright, #1a7f37); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer;
}
.coupon-card.down { background: linear-gradient(90deg, #f1f7f3 0, #fff 70px); }

/* 쿠폰 만들기 폼 */
.cp-form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.cp-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); font-weight: 600; }
.cp-form input, .cp-form select {
    padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; color: var(--text);
}
.cp-form .cp-check { flex-direction: row; align-items: center; gap: 8px; }
.cp-form .cp-check input { width: auto; }
.cp-form .co-pay-btn { margin-top: 6px; }

/* ===== 쿠폰 생성/수정 (관리자 전체 페이지) ===== */
.cp-page {
    position: fixed; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: var(--app-w); z-index: 2600; background: var(--white);
    display: flex; flex-direction: column; box-shadow: 0 0 60px rgba(0,0,0,.18);
}
.cp-page[hidden] { display: none; }
.cp-form2 { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 30px; }
.cp-form2 .cp-fld { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); font-weight: 600; }
.cp-form2 input, .cp-form2 select {
    padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; color: var(--text); background: var(--white);
}
.cp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cp-kindpick { display: flex; flex-direction: column; gap: 8px; margin-bottom: 2px; }
.cp-kindopt { position: relative; display: block; cursor: pointer; }
.cp-kindopt input { position: absolute; opacity: 0; pointer-events: none; }
.cp-kindbox {
    display: flex; flex-direction: column; gap: 2px;
    padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--white);
}
.cp-kindbox b { font-size: 14px; color: var(--text); font-weight: 700; }
.cp-kindbox em { font-size: 11.5px; color: var(--text-3); font-style: normal; font-weight: 500; }
.cp-kindopt input:checked + .cp-kindbox { border-color: #111; background: #faf8f4; box-shadow: 0 0 0 1px #111 inset; }
.cp-img-preview { margin-top: 8px; }
.cp-img-preview img { width: 100%; max-height: 220px; object-fit: contain; border: 1px solid var(--border); border-radius: 12px; background: #f7f5f1; }
.cp-sharelink { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.cp-sharelink-label { font-size: 12px; color: var(--text-3); font-weight: 600; }
.cp-sharelink-row { display: flex; gap: 8px; min-width: 0; }
.cp-sharelink-row input { flex: 1; min-width: 0; font-size: 12.5px; color: var(--text-2); }
.cp-copy { flex-shrink: 0; padding: 0 16px; border: 1px solid #111; border-radius: 10px; background: #111; color: #fff; font-size: 13px; font-weight: 700; }

/* ===== 관리자 쿠폰 목록(탭/배지) ===== */
.cpadm-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cpadm-tab {
    flex-shrink: 0; padding: 8px 13px; border: 1px solid var(--border); border-radius: 999px;
    background: var(--white); color: var(--text-2); font-size: 12.5px; font-weight: 600;
}
.cpadm-tab.on { border-color: #111; background: #111; color: #fff; }
.cpadm-kind {
    display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; vertical-align: middle;
    background: #eee; color: #555;
}
.cpadm-kind.k-auto { background: #e8f3ec; color: #1f7a46; }
.cpadm-kind.k-code { background: #eaf0fb; color: #2456c4; }
.cpadm-kind.k-image { background: #fbeee8; color: #b4561f; }
/* 관리자 쿠폰 카드(클릭 = 수정) */
.cpadm-list { display: flex; flex-direction: column; gap: 8px; }
.cpadm-card {
    display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
    padding: 13px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--white);
}
.cpadm-card:active { background: var(--bg-soft); }
.cpadm-card.off { opacity: .5; }
.cpadm-card-main { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cpadm-card-main b { font-size: 14px; font-weight: 700; color: var(--text); }
.cpadm-card-sub { font-size: 12px; color: var(--text-3); }
.cpadm-card-arrow { flex-shrink: 0; font-size: 20px; color: var(--text-3); line-height: 1; }
/* 쿠폰 수정 페이지: 활성 토글 / 삭제 */
.cp-toggle-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); font-weight: 600; margin-top: 4px; }
.cp-toggle-row input { width: auto; }
.cp-del-btn {
    margin-top: 4px; padding: 12px; border: 1px solid #e0c2c2; border-radius: 10px;
    background: #fff; color: #c0392b; font-size: 13.5px; font-weight: 700;
}
.coupon-card.down.has-img { padding-top: 0; overflow: hidden; }
.coupon-card .cc-img { display: block; width: 100%; border: 0; padding: 0; background: #f7f5f1; }
.coupon-card .cc-img img { width: 100%; max-height: 160px; object-fit: cover; display: block; }

/* ============ 관리자 대시보드 / 관리 메뉴 / 패널 ============ */
.admin-dash {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.admin-dash-cell {
    background: #fff; padding: 16px 10px; text-align: center; border: 0; cursor: pointer; width: 100%;
    display: flex; flex-direction: column; gap: 5px;
}
.admin-dash-cell:active { background: var(--bg-soft); }
.admin-dash-cell b { font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: -.5px; }
.admin-dash-cell span { font-size: 11.5px; color: var(--text-2); }

.admin-menu { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.admin-menu-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 16px; background: #fff; border: none; border-bottom: 1px solid var(--border);
    font-size: 15px; color: var(--text); cursor: pointer; font-family: inherit; text-align: left;
}
.admin-menu-row:last-child { border-bottom: none; }
.admin-menu-row:active { background: var(--bg-soft); }
.admin-menu-row .amr-right { display: inline-flex; align-items: center; gap: 8px; }
.admin-menu-row .amr-arrow { color: var(--text-2); font-size: 20px; }
.amr-badge {
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    background: #c0392b; color: #fff; font-size: 11px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}

.admin-panel { z-index: 3200; }
.admin-panel-scroll { padding: 16px; }
.admin-panel-view .mypage-btn { margin-bottom: 14px; }

/* ============ 마이페이지 · 벨로르 스타일(흑백 미니멀 · 세리프) ============ */
.mypage-section h4 {
    font-family: var(--serif);
    font-size: 20px; font-weight: 600; letter-spacing: .2px;
    color: var(--text); margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.mypage-section h4 b { font-family: var(--sans, inherit); font-size: 13px; font-weight: 600; color: var(--text-2); }
/* 마이포켓: 무광 블랙 카드 + 세리프 (구구스풍 그라데 제거) */
.pocket-card {
    background: #111; border-radius: 14px; padding: 22px 20px;
}
.pocket-title { font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: 2px; opacity: .85; }
.pocket-grade { font-size: 13px; font-weight: 600; }
.pocket-grade-ic { background: rgba(255,255,255,.16); }
.pocket-name { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 16px 0 16px; }
.pocket-line-val { font-weight: 600; }
.pocket-quick-item strong { font-weight: 700; }
.pocket-shop-head h4 { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.ps-cell b { font-weight: 600; }

/* ===================== 비교견적 데모 시스템 (cq-demo.js) ===================== */
.cqd-overlay { position: fixed; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--app-w); z-index: 4000; background: #f4f1ea;
  display: flex; flex-direction: column; box-shadow: 0 0 80px rgba(0,0,0,.18);
  animation: cqdOverlayIn .34s cubic-bezier(.2,.8,.2,1); }
.cqd-overlay[hidden] { display: none; }
@keyframes cqdOverlayIn { from { opacity: 0; transform: translateX(-50%) translateY(14px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.cqd-frame { width: 100%; max-width: 100%; background: #f4f1ea; display: flex; flex-direction: column; height: 100%; }
.cqd-bar { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 14px 14px;
  padding-top: calc(14px + env(safe-area-inset-top)); background: var(--cq-green, #1f3b34); color: #fff; }
.cqd-bar .cqd-title { flex: 1 1 auto; text-align: center; font-weight: 700; font-size: 16px; letter-spacing: .3px; }
.cqd-back, .cqd-close { width: 34px; height: 34px; border: 0; background: rgba(255,255,255,.12); color: #fff;
  border-radius: 9px; font-size: 20px; line-height: 1; cursor: pointer; }
.cqd-back[hidden] { visibility: hidden; }
.cqd-roles { flex: 0 0 auto; display: flex; gap: 6px; padding: 10px 12px; background: var(--cq-green-deep, #163029);
  width: 100%; max-width: 820px; margin: 0 auto; }
.cqd-roles[hidden] { display: none; }
.cqd-roles button { flex: 1; border: 0; background: rgba(255,255,255,.08); color: #cfe0d9;
  padding: 9px 0; border-radius: 9px; font-size: 13px; font-weight: 700; cursor: pointer; }
.cqd-roles button.is-on { background: var(--cq-gold, #e9dec3); color: #163029; }
.cqd-body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.cqd-screen { padding: 16px 14px calc(28px + env(safe-area-inset-bottom)); max-width: 760px; margin: 0 auto; }

.cqd-note { font-size: 12.5px; color: #6f6a5e; margin: 2px 2px 12px; line-height: 1.5; }
.cqd-note.ok { color: #1f3b34; font-weight: 700; }
.cqd-block-label { font-size: 12.5px; font-weight: 800; color: #44403a; margin: 18px 2px 8px; }
.cqd-block-label.hot { color: #9a6a14; display: flex; align-items: center; gap: 7px; }
.cqd-block-label .cqd-cnt { background: #e7a300; color: #fff; font-size: 11px; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.cqd-vlist-pend .cqd-vrow { border-color: #f0d79a; background: linear-gradient(180deg,#fffdf6,#fff);
  box-shadow: 0 2px 10px rgba(180,140,20,.08), 0 10px 26px rgba(180,140,20,.07); }
.cqd-mini { font-size: 11.5px; color: #8a8475; margin-top: 6px; }
.cqd-empty2 { list-style: none; font-size: 13px; color: #9a9384; padding: 14px; text-align: center; }

/* 시계/시세 카드 (사진1) */
.cqd-watchcard { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 6px 22px rgba(20,30,26,.07); }
.cqd-watchcard.slim { padding: 14px; }
.cqd-watchcard-head { display: flex; gap: 12px; align-items: center; }
.cqd-watchcard-head img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; background: #eee; flex: 0 0 auto; }
.cqd-watch-photo { width: 60px; height: 60px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 12px;
  overflow: hidden; background: #eee; color: #b9b1a1; cursor: zoom-in; display: grid; place-items: center; }
.cqd-watch-photo img { display: block; width: 100%; height: 100%; }
.cqd-watch-photo.ph { cursor: default; }
.cqd-watch-photo.ph svg { width: 28px; height: 28px; }
.cqd-wc-brand { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #1f3b34; }
.cqd-wc-model { font-size: 16px; font-weight: 800; color: #1a1a1a; margin-top: 2px; }
.cqd-wc-ref { font-size: 11.5px; color: #8a8475; margin-top: 3px; }
.cqd-pricerange { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px;
  padding-top: 12px; border-top: 1px solid #efece4; }
.cqd-pricerange span { font-size: 12.5px; color: #6f6a5e; }
.cqd-pricerange b { font-size: 18px; font-weight: 800; color: #1f3b34; }
.cqd-chart-label { font-size: 11.5px; color: #8a8475; margin: 14px 0 2px; }
.cqd-chart { width: 100%; height: auto; display: block; }
.cqd-axis { font-size: 9px; fill: #b3ac9d; }

/* 현황 라인 (사진2) */
.cqd-statline { display: flex; gap: 8px; margin: 14px 0 4px; }
.cqd-statline span { flex: 1; background: #fff; border-radius: 11px; padding: 11px 8px; text-align: center;
  font-size: 12px; color: #6f6a5e; box-shadow: 0 3px 12px rgba(20,30,26,.05); }
.cqd-statline b { display: block; font-size: 15px; color: #1a1a1a; font-weight: 800; margin-bottom: 2px; }
.cqd-statline b.cqd-hi { color: #1f3b34; }

/* 업체 리스트 행 */
.cqd-vlist { display: flex; flex-direction: column; gap: 10px; }
.cqd-vrow { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: #fff; border: 1px solid #ece9e1; border-radius: 16px; padding: 13px 14px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(20,30,26,.05), 0 10px 26px rgba(20,30,26,.05);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, border-color .18s;
  animation: cqdRowIn .42s cubic-bezier(.2,.8,.2,1) both; }
.cqd-vrow:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(20,30,26,.09), 0 18px 40px rgba(20,30,26,.09); border-color: #d8d3c6; }
.cqd-vrow:active { transform: translateY(0) scale(.985); }
.cqd-vrow.is-awd { border-color: #1f3b34; box-shadow: 0 0 0 1px #1f3b34 inset, 0 8px 22px rgba(31,59,52,.12); }
.cqd-vlist .cqd-vrow:nth-child(1) { animation-delay: .02s; }
.cqd-vlist .cqd-vrow:nth-child(2) { animation-delay: .07s; }
.cqd-vlist .cqd-vrow:nth-child(3) { animation-delay: .12s; }
.cqd-vlist .cqd-vrow:nth-child(4) { animation-delay: .17s; }
.cqd-vlist .cqd-vrow:nth-child(n+5) { animation-delay: .2s; }
@keyframes cqdRowIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.cqd-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; background: var(--cq-green, #1f3b34);
  color: var(--cq-gold, #e9dec3); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.cqd-avatar.lite { background: #eef1ef; color: #1f3b34; }
.cqd-vrow-main { flex: 1 1 auto; min-width: 0; }
.cqd-vrow-name { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 800; color: #1a1a1a; }
.cqd-vrow-sub { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.cqd-vrow-sub em { font-style: normal; font-size: 11.5px; color: #8a8475; }
.cqd-vrow-amt { flex: 0 0 auto; font-size: 14.5px; font-weight: 800; color: #1f3b34; display: flex; align-items: center; gap: 4px; }
.cqd-vrow-amt small { color: #c2bcae; font-size: 17px; }

.cqd-flag { font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; }
.cqd-flag.top { background: var(--cq-gold, #e9dec3); color: #5b4a1e; }
.cqd-flag.awd { background: #1f3b34; color: #fff; }

.cqd-stars { color: #d9d2c2; font-size: 12px; letter-spacing: -1px; }
.cqd-star.on { color: #e3b341; }

/* 업체 상세 / 제안 (사진3) */
.cqd-shop { background: linear-gradient(160deg, #234740, #163029); color: #fff; border-radius: 16px; padding: 20px 16px; text-align: center; }
.cqd-shop-avatar { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 16px; background: var(--cq-gold, #e9dec3);
  color: #163029; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.cqd-shop-name { font-size: 19px; font-weight: 800; }
.cqd-shop-rating { font-size: 12px; color: #cfe0d9; margin-top: 6px; }
.cqd-shop-rating b { color: #fff; }
.cqd-shop-trust { display: flex; gap: 8px; margin-top: 16px; }
.cqd-shop-trust > div { flex: 1; background: rgba(255,255,255,.08); border-radius: 11px; padding: 10px 4px; }
.cqd-shop-trust b { display: block; font-size: 12px; }
.cqd-shop-trust small { font-size: 10px; color: #a9c2b9; }

.cqd-offer { background: #fff; border-radius: 16px; padding: 18px 16px; margin-top: 12px; box-shadow: 0 6px 22px rgba(20,30,26,.07); }
.cqd-offer-label { font-size: 12.5px; color: #6f6a5e; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cqd-offer-amt { font-size: 30px; font-weight: 900; color: #1f3b34; margin: 4px 0 14px; }
.cqd-offer-amt span { font-size: 16px; margin-left: 2px; }
.cqd-rows { display: flex; flex-direction: column; gap: 0; border-top: 1px solid #efece4; }
.cqd-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f3f0e9; }
.cqd-rows dt { font-size: 12.5px; color: #8a8475; flex: 0 0 auto; }
.cqd-rows dd { font-size: 13px; color: #2a2a2a; font-weight: 600; text-align: right; }
.cqd-contact { margin-top: 12px; border-top: 0; }
.cqd-locked { background: #f3f0e9; border-radius: 11px; padding: 12px; font-size: 12px; color: #6f6a5e; margin-top: 12px; text-align: center; }
.cqd-locked b { color: #1f3b34; }

.cqd-cta { display: block; width: 100%; border: 0; border-radius: 12px; padding: 15px; font-size: 15px; font-weight: 800; cursor: pointer; margin-top: 12px; text-align: center; }
.cqd-cta.primary { background: #131313; color: #fff; }
.cqd-cta.ghost { background: transparent; color: #6f6a5e; padding: 10px; }
.cqd-cta.done { background: #eef1ef; color: #1f3b34; }
.cqd-offer-foot { font-size: 10.5px; color: #aaa392; text-align: center; margin-top: 10px; }

/* 입력 폼 */
.cqd-form { background: #fff; border-radius: 16px; padding: 16px; margin-top: 12px; box-shadow: 0 6px 22px rgba(20,30,26,.07); }
.cqd-form label { display: block; font-size: 12.5px; font-weight: 700; color: #44403a; margin: 10px 2px 6px; }
.cqd-form label:first-child { margin-top: 0; }
.cqd-form input, .cqd-form textarea { width: 100%; border: 1px solid #ddd8cc; border-radius: 10px; padding: 12px;
  font-size: 14px; font-family: inherit; background: #fcfbf7; }
.cqd-form textarea { resize: vertical; }

/* 서브탭 */
.cqd-subtabs { display: flex; gap: 6px; margin-bottom: 14px; }
.cqd-subtabs button { flex: 1; border: 1px solid #e0dcd0; background: #fff; color: #6f6a5e; padding: 9px 0;
  border-radius: 9px; font-size: 13px; font-weight: 700; cursor: pointer; }
.cqd-subtabs button.is-on { background: #1f3b34; border-color: #1f3b34; color: #fff; }

/* 관리자 통계 */
.cqd-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.cqd-stat { flex: 1 1 calc(33% - 8px); background: #fff; border-radius: 13px; padding: 14px 10px; text-align: center; box-shadow: 0 3px 12px rgba(20,30,26,.05); }
.cqd-stat.wide { flex: 1 1 100%; }
.cqd-stat b { display: block; font-size: 19px; font-weight: 900; color: #1a1a1a; }
.cqd-stat b.cqd-hi { color: #1f3b34; font-size: 20px; }
.cqd-stat span { font-size: 11.5px; color: #8a8475; margin-top: 3px; display: block; }

/* 소식 */
.cqd-news { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cqd-newsitem { display: flex; gap: 9px; align-items: flex-start; background: #fff; border-radius: 11px; padding: 12px; font-size: 13px; color: #2a2a2a; }
.cqd-newsdot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #1f3b34; margin-top: 5px; }

/* 마이페이지 데모 입장 버튼 */
.cqd-enter { display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: linear-gradient(135deg, #234740, #163029); color: #fff; border: 0; border-radius: 14px;
  padding: 16px 18px; cursor: pointer; margin-top: 4px; }
.cqd-enter .cqd-enter-l { text-align: left; }
.cqd-enter b { display: block; font-size: 15px; font-weight: 800; }
.cqd-enter small { display: block; font-size: 11.5px; color: #b9d0c7; margin-top: 3px; }
.cqd-enter .cqd-enter-arrow { font-size: 22px; color: var(--cq-gold, #e9dec3); }

/* 상태 배지 */
.cqd-badge { font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.cqd-badge.live { background: #1f3b34; color: #fff; }
.cqd-badge.wait { background: #efe7cf; color: #7a6a32; }
.cqd-badge.done { background: #dfeae4; color: #1f3b34; }
.cqd-badge.stop { background: #f0d8d4; color: #9a3b2c; }
.cqd-watchcard-head .cqd-badge { margin-left: auto; align-self: flex-start; }

/* 견적 상세 사진 — Storage 이미지는 lazy-load, 클릭 시 전용 뷰어에서 확인 */
.cqd-photo-section { margin-top: 12px; padding: 14px; border-radius: 16px; background: #fff;
  box-shadow: 0 6px 22px rgba(20,30,26,.06); }
.cqd-photo-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cqd-photo-section-head > div { display: grid; gap: 2px; }
.cqd-photo-section-head b { font-size: 14px; color: #26231d; }
.cqd-photo-section-head span { font-size: 11px; color: #8a8475; }
.cqd-photo-all { min-height: 34px; padding: 7px 10px; border: 1px solid #d9d2c2; border-radius: 9px;
  background: #fff; color: #1f3b34; font-size: 11px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.cqd-photo-all:disabled { opacity: .6; cursor: wait; }
.cqd-photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cqd-photo-strip button { position: relative; aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 10px;
  overflow: hidden; background: #eee; cursor: zoom-in; }
.cqd-photo-strip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cqs-photo[role="button"] { cursor: zoom-in; }

body.cqd-photo-viewer-open { overflow: hidden; }
.cqd-photo-viewer { position: fixed; inset: 0; z-index: 12000; display: grid; place-items: center;
  background: rgba(7,9,8,.94); color: #fff; padding: 58px 12px 84px; }
.cqd-photo-viewer figure { width: min(100%, 920px); height: min(76vh, 820px); margin: 0; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.cqd-photo-viewer figure img { display: block; max-width: 100%; max-height: calc(100% - 32px); width: auto; height: auto;
  object-fit: contain; border-radius: 8px; background: #151817; }
.cqd-photo-viewer figcaption { width: 100%; max-width: 720px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; font-size: 12px; color: rgba(255,255,255,.74); }
.cqd-photo-viewer figcaption b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.cqd-photo-viewer button { border: 0; color: #fff; cursor: pointer; }
.cqd-photo-viewer-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 16px;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 30px; line-height: 1; }
.cqd-photo-viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 56px;
  border-radius: 12px; background: rgba(255,255,255,.12); font-size: 38px; line-height: 1; }
.cqd-photo-viewer-nav.prev { left: max(8px, calc((100vw - 1040px) / 2)); }
.cqd-photo-viewer-nav.next { right: max(8px, calc((100vw - 1040px) / 2)); }
.cqd-photo-downloads { position: absolute; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; gap: 8px; width: min(calc(100% - 120px), 390px); }
.cqd-photo-downloads button { flex: 1; min-height: 46px; padding: 11px 10px; border-radius: 12px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.cqd-photo-download { background: rgba(255,255,255,.16); color: #fff !important; }
.cqd-photo-download-all { background: #fff; color: #17372f !important; }
.cqd-photo-downloads button:disabled { opacity: .65; cursor: wait; }
.cqd-admin-vendor-name { margin-top: 14px; padding: 14px; border-radius: 14px; background: #fff; }
.cqd-admin-bid-form .cqd-cust-h { margin: 0 0 10px; }
.cqd-admin-bid-side { display: grid; justify-items: end; gap: 7px; flex: 0 0 auto; }
.cqd-admin-bid-side .cqd-vrow-amt { white-space: nowrap; }
.cqd-admin-bid-side .cqd-actbtn { min-width: 86px; }
@media (max-width: 520px) {
  .cqd-vrow.static { align-items: flex-start; }
  .cqd-admin-bid-side { max-width: 104px; }
  .cqd-admin-bid-side .cqd-vrow-amt { font-size: 13px; }
}
@media (max-width: 520px) {
  .cqd-photo-strip { gap: 6px; }
  .cqd-photo-viewer { padding-inline: 8px; }
  .cqd-photo-viewer-nav { top: auto; bottom: max(21px, env(safe-area-inset-bottom)); width: 46px; height: 46px; font-size: 32px; }
  .cqd-photo-viewer-nav.prev { left: 12px; }
  .cqd-photo-viewer-nav.next { right: 12px; }
  .cqd-photo-downloads { width: min(calc(100% - 124px), 270px); gap: 6px; }
  .cqd-photo-downloads button { min-height: 46px; padding: 9px 7px; font-size: 12px; }
}

/* 시세 데이터 없음 */
.cqd-nodata { background: #fff; border-radius: 14px; padding: 18px 16px; margin-top: 12px; text-align: center;
  box-shadow: 0 6px 22px rgba(20,30,26,.06); }
.cqd-nodata b { display: block; font-size: 12.5px; color: #6f6a5e; font-weight: 700; }
.cqd-nodata span { display: block; font-size: 13px; color: #a39c8c; margin-top: 6px; }

/* 상태 안내 (승인중/대기중/정지/확정) */
.cqd-state { border-radius: 14px; padding: 22px 16px; margin-top: 12px; text-align: center; font-size: 14px; font-weight: 800; line-height: 1.5; }
.cqd-state span { display: block; font-size: 12px; font-weight: 600; color: inherit; opacity: .8; margin-top: 6px; }
.cqd-state.wait { background: #fbf6e6; color: #7a6a32; }
.cqd-state.done { background: #e3efe9; color: #1f3b34; }
.cqd-state.stop { background: #f7e3df; color: #9a3b2c; }

/* 아바타 이미지 */
.cqd-avatar img, .cqd-shop-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }

/* 정지 업체 행 */
.cqd-vrow.is-stop { opacity: .65; }

/* 고객 정보 카드 (관리자) */
.cqd-cust { background: #fff; border-radius: 14px; padding: 14px 16px; margin-top: 12px; box-shadow: 0 6px 22px rgba(20,30,26,.06); }
.cqd-cust-h { font-size: 12.5px; font-weight: 800; color: #44403a; margin-bottom: 4px; }
.cqd-cust .cqd-rows { border-top: 0; }

/* 관리 액션 버튼 */
.cqd-actions { display: flex; gap: 8px; margin-top: 14px; }
.cqd-actbtn { flex: 1; padding: 13px 8px; border-radius: 11px; border: 1px solid #ddd8cc; background: #fff;
  font-size: 13px; font-weight: 800; cursor: pointer; }
.cqd-actbtn.stop { color: #7a6a32; border-color: #e0d3a8; }
.cqd-actbtn.warn { color: #9a3b2c; border-color: #e3b9b0; }
.cqd-actbtn.ok { color: #fff; background: #1f3b34; border-color: #1f3b34; }
.cqd-actbtn.sm { flex: 0 0 auto; padding: 8px 10px; font-size: 12px; }
.cqd-actions { flex-wrap: wrap; }
.cqd-actions.inline { margin-top: 0; flex: 0 0 auto; gap: 6px; }

/* 클릭 불가(정보 표시) 행 */
.cqd-vrow.static { cursor: default; }

/* 등록 시계 없음 — 안내 CTA */
.cqd-empty-cta { background: #fff; border-radius: 16px; padding: 22px 18px; text-align: center;
  box-shadow: 0 6px 22px rgba(20,30,26,.06); }
.cqd-empty-cta p { font-size: 13px; color: #6f6a5e; line-height: 1.6; margin-bottom: 14px; }

/* 후기 카드 */
.cqd-rev { list-style: none; background: #fff; border-radius: 12px; padding: 13px 14px; }
.cqd-rev-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cqd-rev-top b { font-size: 13px; font-weight: 800; color: #1a1a1a; }
.cqd-rev p { font-size: 12.5px; color: #555; margin-top: 7px; line-height: 1.5; }

/* ============================================================
   비교견적 리뉴얼 — 예상견적(c-estimate) / 목록(c-bids) / 업체상세(c-offer)
   ============================================================ */

/* --- 예상 견적 페이지 (첫 번째 이미지) --- */
.cqe-card { background: linear-gradient(180deg,#fff,#fdfcf9); border-radius: 18px; padding: 20px 18px;
  box-shadow: 0 3px 12px rgba(20,30,26,.06), 0 16px 40px rgba(20,30,26,.07); border: 1px solid #f0ece2;
  margin-bottom: 12px; animation: cqdRowIn .45s cubic-bezier(.2,.8,.2,1) both; }
.cqe-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.cqe-brand { font-size: 24px; font-weight: 900; color: #1a1a1a; letter-spacing: .5px; }
.cqe-model { font-size: 15px; color: #6f6a5e; margin-top: 4px; }
.cqe-photo { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; background: #f1efe9; flex: 0 0 auto; }
.cqe-photo.ph { display: flex; align-items: center; justify-content: center; color: #cfc9bb; }
.cqe-photo.ph svg { width: 40px; height: 40px; }
.cqe-spec { margin-top: 18px; border-top: 1px solid #efece4; padding-top: 6px; }
.cqe-spec > div { display: flex; gap: 16px; padding: 9px 0; }
.cqe-spec dt { width: 64px; flex: 0 0 auto; font-size: 13px; color: #9a9384; }
.cqe-spec dd { font-size: 14px; font-weight: 700; color: #2a2a2a; }
.cqe-price-label { font-size: 14px; font-weight: 800; color: #44403a; }
.cqe-price-val { font-size: 30px; font-weight: 900; color: #1f3b34; margin: 8px 0 6px; }
.cqe-price-sub { font-size: 12.5px; color: #9a9384; line-height: 1.6; }
.cqe-chart-head { display: flex; justify-content: space-between; align-items: baseline; }
.cqe-chart-head b { font-size: 15px; font-weight: 800; color: #44403a; }
.cqe-chart-head span { font-size: 11px; color: #a39c8c; }
.cqe-chart-card .cqd-chart { margin-top: 14px; }
.cqe-chart-x { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: #a39c8c; }
/* 입체감(3D) 그린 시작 버튼 */
.cqe-start, .cqo-sell {
  display: block; width: 100%; border: 0; border-radius: 14px; padding: 17px;
  font-size: 16px; font-weight: 800; color: #fff; cursor: pointer; margin-top: 6px; text-align: center;
  background: linear-gradient(180deg, #2c5249 0%, #1f3b34 55%, #163029 100%);
  box-shadow: 0 6px 0 #11241e, 0 12px 22px rgba(20,40,32,.4);
  transition: transform .08s ease, box-shadow .08s ease;
}
.cqe-start:active, .cqo-sell:active { transform: translateY(4px); box-shadow: 0 2px 0 #11241e, 0 6px 12px rgba(20,40,32,.35); }

/* --- 비교견적 목록 (세 번째 이미지) --- */
.cqc-head { background: linear-gradient(160deg, #234740, #163029); color: #fff; border-radius: 18px; padding: 20px 18px 42px; }
.cqc-head-top { display: flex; align-items: center; justify-content: space-between; }
.cqc-head-title { font-size: 20px; font-weight: 800; letter-spacing: .3px; }
.cqc-bell { color: #cfe0d9; display: flex; }
.cqc-head-stat { font-size: 14px; line-height: 1.65; color: #dce8e2; margin-top: 14px; }
.cqc-head-stat b { color: #fff; font-weight: 800; }
.cqc-timer { display: flex; align-items: center; gap: 7px; margin-top: 14px; color: #e9dec3; font-size: 13.5px; font-weight: 700; }
.cqc-cd.is-over { color: #f0c9c0; }
.cqc-list { display: flex; flex-direction: column; gap: 10px; margin-top: -28px; }
.cqc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left;
  background: #fff; border: 1px solid #ece8df; border-radius: 16px; padding: 15px 16px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(20,30,26,.08); }
.cqc-row.is-top { border: 2px solid var(--cq-gold, #e9dec3); box-shadow: 0 10px 26px rgba(20,30,26,.14); }
.cqc-row-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cqc-logo { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: #eef1ef; color: #1f3b34;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.cqc-logo.top { background: var(--cq-green, #1f3b34); color: var(--cq-gold, #e9dec3); }
.cqc-row-name { display: flex; flex-direction: column; font-size: 15px; font-weight: 800; color: #1a1a1a; min-width: 0; }
.cqc-row-name small { font-size: 11px; font-weight: 600; color: #9a9384; margin-top: 3px; }
.cqc-row-r { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.cqc-row-r b { font-size: 16px; font-weight: 800; color: #1f3b34; }
.cqc-top-badge { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 7px; background: #f3ead2; color: #8a6d2a; }
.cqc-guide { text-align: center; font-size: 12px; color: #8a8475; line-height: 1.6; margin-top: 18px; }
.cqc-guide b { color: #1f3b34; }

/* --- 업체 상세 / 견적 카드 (두 번째 이미지) --- */
.cqo-shop { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 26px rgba(20,30,26,.1); }
.cqo-shop-photo { height: 168px; background: linear-gradient(160deg, #3a3a3a, #1c1c1c); display: flex; align-items: center; justify-content: center; }
.cqo-shop-photo img { width: 100%; height: 100%; object-fit: cover; }
.cqo-shop-ph { opacity: .6; color: #fff; }
.cqo-shop-ph svg { width: 44px; height: 44px; }
.cqo-shop-logo svg { width: 30px; height: 30px; }
.cqo-shop-logo { width: 70px; height: 70px; border-radius: 50%; background: var(--cq-green, #1f3b34); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px; font-family: var(--serif, serif);
  margin: -35px auto 0; border: 4px solid #fff; overflow: hidden; }
.cqo-shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.cqo-shop-name { text-align: center; font-size: 22px; font-weight: 800; font-family: var(--serif, serif); color: #1a1a1a; margin-top: 10px; letter-spacing: .5px; }
.cqo-shop-partner { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 12.5px; color: #6f6a5e; margin-top: 7px; }
.cqo-shop-rating { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.cqo-shop-rating b { font-size: 20px; font-weight: 800; color: #1f7a4d; }
.cqo-shop-rating span { font-size: 13px; color: #8a8475; border-left: 1px solid #e6e2d8; padding-left: 12px; }
.cqo-trust { display: flex; border-top: 1px solid #f0ede5; margin-top: 18px; }
.cqo-trust > div { flex: 1; padding: 16px 4px; text-align: center; border-left: 1px solid #f0ede5; }
.cqo-trust > div:first-child { border-left: 0; }
.cqo-trust span { display: flex; align-items: center; justify-content: center; color: #1f3b34; }
.cqo-trust span svg { width: 22px; height: 22px; }
.cqo-trust b { display: block; font-size: 12.5px; font-weight: 800; color: #2a2a2a; margin-top: 6px; }
.cqo-trust small { display: block; font-size: 10.5px; color: #9a9384; margin-top: 3px; }
.cqo-shop.masked .cqo-shop-photo { background: linear-gradient(160deg, #cfc9bb, #a9a294); }
.cqo-shop.masked .cqo-shop-logo { background: #8a8475; }
.cqo-offer { background: #fff; border-radius: 20px; padding: 22px 18px; margin-top: 14px; box-shadow: 0 8px 26px rgba(20,30,26,.08); }
.cqo-offer-top { display: flex; align-items: center; gap: 10px; }
.cqo-offer-top span:first-child { font-size: 15px; font-weight: 800; color: #44403a; }
.cqo-best { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 8px; background: #f3ead2; color: #8a6d2a; }
.cqo-amt { font-size: 32px; font-weight: 900; color: #1a1a1a; margin: 10px 0 16px; }
.cqo-amt span { font-size: 18px; margin-left: 3px; font-weight: 800; }
.cqo-rows { display: flex; flex-direction: column; }
.cqo-rows > div { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid #f1eee7; }
.cqo-rows dt { font-size: 13px; color: #8a8475; flex: 0 0 auto; }
.cqo-rows dd { font-size: 13.5px; font-weight: 700; color: #2a2a2a; text-align: right; line-height: 1.5; }
.cqo-compare { display: block; width: 100%; border: 1px solid #ddd8cc; background: #fff; color: #44403a;
  border-radius: 13px; padding: 15px; margin-top: 10px; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.cqo-confirmed { background: #e3efe9; color: #1f3b34; border-radius: 13px; padding: 16px; text-align: center; font-weight: 800; font-size: 14.5px; margin-top: 18px; }
.cqo-locked { background: #f3f0e9; border-radius: 12px; padding: 13px; font-size: 12px; color: #6f6a5e; margin-top: 12px; text-align: center; }
.cqo-locked b { color: #1f3b34; }
.cqo-foot { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 11.5px; color: #a39c8c; margin-top: 14px; }
.cqo-confirmed svg, .cqo-locked svg, .cqo-foot svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 2px; }

/* ============================================================
   비교견적 시안(이미지) 정밀 반영 — 썸네일/스펙카드/결과목록/예상견적
   ============================================================ */

/* 목록 썸네일(실제 사진) */
.cqd-thumb { position: relative; flex: 0 0 auto; width: 54px; height: 54px; border-radius: 13px; overflow: hidden;
  background: linear-gradient(135deg,#f3f1ea,#e8e4d8); display: inline-flex; align-items: center; justify-content: center;
  color: #b8b09c; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.cqd-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }
.cqd-thumb svg { width: 24px; height: 24px; }

/* 시계 정보 카드(시안 공통) */
.cqs-card { background: linear-gradient(180deg,#fff,#fdfcf9); border-radius: 18px; padding: 18px; margin-bottom: 14px;
  box-shadow: 0 3px 12px rgba(20,30,26,.06), 0 16px 40px rgba(20,30,26,.07); border: 1px solid #f0ece2;
  animation: cqdRowIn .45s cubic-bezier(.2,.8,.2,1) both; }
.cqs-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cqs-txt { min-width: 0; }
.cqs-brand { font-size: 22px; font-weight: 900; color: #15140f; letter-spacing: .6px; line-height: 1.1; }
.cqs-model { font-size: 14.5px; color: #6f6a5e; margin-top: 5px; }
.cqs-ref { font-size: 12px; color: #a39c8c; margin-top: 4px; letter-spacing: .3px; }
.cqs-photo { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; background: #f1efe9; flex: 0 0 auto; }
.cqs-photo.ph { display: flex; align-items: center; justify-content: center; color: #cfc9bb; }
.cqs-photo.ph svg { width: 36px; height: 36px; }
.cqs-spec { margin-top: 16px; border-top: 1px solid #efece4; padding-top: 4px; }
.cqs-spec > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid #f4f1ea; }
.cqs-spec > div:last-child { border-bottom: 0; }
.cqs-spec dt { font-size: 12.5px; color: #9a9384; }
.cqs-spec dd { font-size: 13.5px; font-weight: 800; color: #2a2a2a; }

/* 비교견적 결과 — 통계바 + 결과목록(시안 1) */
.cqc-stat { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px;
  padding: 12px 14px; box-shadow: 0 4px 16px rgba(20,30,26,.06); }
.cqc-stat > span { font-size: 12px; color: #8a8475; display: flex; align-items: baseline; gap: 4px; }
.cqc-stat > span b { font-size: 15px; font-weight: 900; color: #1f3b34; }
.cqc-stat-cd { margin-left: auto; }
.cqc-stat-cd i { font-style: normal; font-size: 12.5px; font-weight: 800; color: #1f7a4d; }
.cqc-stat-cd i.is-over { color: #c0492f; }
.cqc-result-h { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 800;
  color: #44403a; margin: 18px 2px 10px; }
.cqc-result-h span { font-size: 12px; font-weight: 700; color: #fff; background: #1f3b34;
  border-radius: 20px; padding: 2px 9px; }
.cqc-list { display: flex; flex-direction: column; gap: 9px; margin-top: 0; }
.cqc-row { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  background: #fff; border: 1px solid #ece8df; border-radius: 15px; padding: 14px 15px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(20,30,26,.05), 0 10px 26px rgba(20,30,26,.05);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s;
  animation: cqdRowIn .42s cubic-bezier(.2,.8,.2,1) both; }
.cqc-row:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20,30,26,.1), 0 20px 44px rgba(20,30,26,.08); }
.cqc-row:active { transform: translateY(0) scale(.99); }
.cqc-list .cqc-row:nth-child(2) { animation-delay: .05s; }
.cqc-list .cqc-row:nth-child(3) { animation-delay: .1s; }
.cqc-list .cqc-row:nth-child(n+4) { animation-delay: .14s; }
.cqc-row.is-top { border: 1.5px solid #1f3b34; box-shadow: 0 8px 22px rgba(31,59,52,.14);
  background: linear-gradient(180deg, #f6faf7, #ffffff); }
.cqc-row.is-top:hover { box-shadow: 0 12px 30px rgba(31,59,52,.2); }
.cqc-rank { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: #eef1ef;
  color: #6f6a5e; display: flex; align-items: baseline; justify-content: center; gap: 1px;
  font-weight: 900; font-size: 16px; padding-top: 9px; }
.cqc-rank small { font-size: 9px; font-weight: 700; }
.cqc-rank.top { background: var(--cq-green, #1f3b34); color: var(--cq-gold, #e9dec3); }
.cqc-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cqc-row-name { font-size: 15px; font-weight: 800; color: #1a1a1a; display: flex; align-items: center; gap: 7px; }
.cqc-best { font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px;
  background: #e7f1ea; color: #1f7a4d; font-style: normal; }
.cqc-row-sub { font-size: 11.5px; color: #9a9384; }
.cqc-row-amt { flex: 0 0 auto; font-size: 17px; font-weight: 900; color: #15140f; }
.cqc-row-amt small { font-size: 12px; font-weight: 700; color: #8a8475; margin-left: 2px; }
.cqc-row.is-top .cqc-row-amt { color: #1f3b34; }

/* 예상 견적(시안 2) — BELLORE 워드마크 + 시세차트 */
.cqe-brandmark { text-align: center; padding: 8px 0 14px; }
.cqe-bm-name { font-family: var(--serif, "Times New Roman", serif); font-size: 26px; font-weight: 700;
  letter-spacing: 5px; color: #15140f; }
.cqe-bm-sub { font-size: 9px; letter-spacing: 3px; color: #a39c8c; margin-top: 2px; }
.cqe-section { font-size: 13px; font-weight: 700; color: #8a8475; margin: 0 2px 12px; }
.cqe-chart { width: 100%; height: 96px; margin-top: 14px; display: block; }
.cqe-chart-area { fill: url(#cqeFill); }
.cqe-chart-line { fill: none; stroke: #1f7a4d; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.cqe-chart-dots circle { fill: #1f7a4d; stroke: #fff; stroke-width: 1.5; }
.cqe-chart-note { font-size: 11px; color: #a39c8c; margin-top: 10px; line-height: 1.5; }

/* 마이페이지: '새창' 느낌 제거 — 화면을 꽉 채우는 앱 내 페이지처럼 표시
   (떠있는 카드/딤 배경 대신 전체화면, PC/모바일/와이드 반응형) */
#myPageModal { padding: 0; align-items: stretch; justify-content: stretch; background: #fff;
  left: 50%; right: auto; transform: translateX(-50%); width: 100%; max-width: var(--app-w);
  box-shadow: 0 0 80px rgba(0,0,0,.18); }
#myPageModal .login-backdrop { display: none; }
#myPageModal .login-content {
  max-width: 100%;
  width: 100%;
  max-height: none;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: calc(20px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));
  animation: none;
}
/* 내부 콘텐츠는 와이드에서 가독성을 위해 가운데 정렬 + 최대폭 제한 */
#myPageModal .login-head,
#myPageModal .mypage-section,
#myPageModal .mypage-noti,
#myPageModal .pocket,
#myPageModal .mypage-cart-link,
#myPageModal #btnLogout { width: 100%; max-width: 720px; margin-left: auto; margin-right: auto; }
#myPageModal .login-close { top: calc(12px + env(safe-area-inset-top)); right: 14px; z-index: 5; }

/* 관리 패널(z 3200) 위에서 열리는 화면들은 더 위로 올려 가린 채로 뜨지 않게 한다
   (쿠폰 만들기 모달 · 판매시계 등록/수정 페이지) */
#couponModal { z-index: 3600; }
#listingPage { z-index: 3600; }

/* ===== 내시계팔기 추가 (+ 버튼 · 신규 등록 · 시세 그래프 · 순위) ===== */
.cqd-add { width: 34px; height: 34px; border: 0; background: var(--cq-gold, #e9dec3); color: #163029;
  border-radius: 9px; font-size: 24px; line-height: 1; font-weight: 700; cursor: pointer; flex: 0 0 auto; }
.cqd-add[hidden] { display: none; }

/* 순위 배지 (비교견적 결과) */
.cqd-rankpill { flex: 0 0 auto; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 11px;
  background: #eef1ef; color: #1f3b34; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; }
.cqd-rankpill.top { background: var(--cq-green, #1f3b34); color: var(--cq-gold, #e9dec3); }
.cqd-bidrow.is-top { border-color: #1f3b34; box-shadow: 0 0 0 1px rgba(31,59,52,.45) inset; }

/* 시세 추이 그래프 (디자인 · 데이터 준비중) */
.cqd-trend { margin-top: 12px; }
.cqd-trend-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cqd-trend-head b { font-size: 13px; color: #44403a; font-weight: 800; }
.cqd-chart { width: 100%; height: 110px; }
.cqd-chart-line { fill: none; stroke: #c9c2b2; stroke-width: 2; stroke-dasharray: 5 5; stroke-linejoin: round; stroke-linecap: round; }
.cqd-chart-dots circle { fill: #1f3b34; opacity: .35; }
.cqd-chart-wm { fill: #b8b1a1; font-size: 13px; font-weight: 800; letter-spacing: 1px; }

/* 신규 등록 헤더 (배경 이미지 — 상단 글씨 부분) */
.cqd-newhero { position: relative; border-radius: 16px; overflow: hidden; padding: 30px 18px;
  text-align: center; color: #fff; margin-bottom: 14px;
  background: linear-gradient(rgba(15,28,24,.62), rgba(15,28,24,.74)), url('assets/2026-03-18_이미지자료_193412.jpg');
  background-size: cover; background-position: center; }
.cqd-newhero-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 2px; color: var(--cq-gold, #e9dec3); }
.cqd-newhero-title { font-size: 21px; font-weight: 800; margin: 6px 0 8px; }
.cqd-newhero-sub { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.86); }
.cqd-newhero-sub b { color: #fff; }

/* 신규 등록: 사진 그리드 */
.cqd-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.cqd-photo { position: relative; aspect-ratio: 1/1; border-radius: 11px; overflow: hidden; background: #efece4; }
.cqd-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cqd-photo-rm { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.cqd-photo-add { aspect-ratio: 1/1; border: 1.5px dashed #c7c0b1; border-radius: 11px; background: #fcfbf7;
  color: #8a8475; font-size: 22px; font-weight: 700; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2px; cursor: pointer; }
.cqd-photo-add small { font-size: 10px; font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.cqd-photo-add small em { font-style: normal; font-size: 9px; font-weight: 800; color: #c0492f; }
.cqd-photo-add svg { width: 26px; height: 26px; }
/* 대표사진(필수) 입력칸 강조 */
.cqd-photos { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.cqd-photo-add.main { grid-column: span 1; border-color: var(--cq-green, #1f3b34); color: var(--cq-green, #1f3b34); background: #f3f7f4; }
.cqd-photo.is-main { box-shadow: 0 0 0 2px var(--cq-green, #1f3b34); }
.cqd-photo-tag { position: absolute; top: 5px; left: 5px; background: var(--cq-green, #1f3b34); color: #fff;
  font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; }
/* 촬영 가이드 */
.cqd-photo-tips { list-style: none; margin: 12px 0 4px; padding: 0; }
.cqd-photo-tips li { position: relative; padding-left: 16px; font-size: 12px; line-height: 1.7; color: #6f6a5e; }
.cqd-photo-tips li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 4px; height: 4px;
  border-radius: 50%; background: #c4bca8; }
.cqd-photo-ex-h { font-size: 12px; font-weight: 800; color: #44403a; margin: 14px 2px 8px; }
.cqd-photo-ex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cqd-photo-ex-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  aspect-ratio: 1/1; background: #faf8f3; border: 1px solid #ece7db; border-radius: 12px; }
.cqd-photo-ex-ic { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #ece7db;
  display: flex; align-items: center; justify-content: center; color: #9a9384; }
.cqd-photo-ex-ic svg { width: 22px; height: 22px; }
.cqd-photo-ex-cell em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #6f6a5e; }

/* 소식 기다리는 시계 — 브랜드 로고 썸네일 */
.alert-ic-brand { background: #fff; border: 1px solid #ece8df; overflow: hidden; }
.alert-ic-brand img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.alert-ic-brand svg { display: none; }
.alert-ic-brand.fallback { background: #f5f3ee; }
.alert-ic-brand.fallback svg { display: block; }

/* 신규 등록: 구성품 체크 그리드 (선택형 카드) */
.cqd-chkgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 4px; }
.cqd-chk { position: relative; display: flex; align-items: center; gap: 9px; background: #fcfbf7;
  border: 1.5px solid #e3dfd3; border-radius: 12px; padding: 12px 12px; font-size: 13.5px; font-weight: 600;
  color: #44403a; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.cqd-chk input { position: absolute; opacity: 0; width: 0; height: 0; }
.cqd-chk-box { flex: 0 0 auto; width: 21px; height: 21px; border-radius: 7px; border: 1.5px solid #c9c3b4;
  background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #fff;
  transition: background .15s, border-color .15s, transform .12s; }
.cqd-chk-box svg { opacity: 0; transition: opacity .12s; }
.cqd-chk:has(input:checked) { border-color: var(--cq-green, #1f3b34);
  background: #f3f7f4; box-shadow: 0 2px 10px rgba(31,59,52,.12); }
.cqd-chk:has(input:checked) .cqd-chk-box { background: var(--cq-green, #1f3b34);
  border-color: var(--cq-green, #1f3b34); transform: scale(1.04); }
.cqd-chk:has(input:checked) .cqd-chk-box svg { opacity: 1; }
.cqd-chk:has(input:checked) .cqd-chk-txt { color: var(--cq-green, #1f3b34); }

/* 입력 포커스(미니멀 / 구구스풍) */
.cqd-form input:focus, .cqd-form textarea:focus { outline: none; border-color: var(--cq-green, #1f3b34);
  background: #fff; box-shadow: 0 0 0 3px rgba(31,59,52,.1); }

/* 신규 등록: 상태 등급 선택 칩 (단일 선택) */
.cqd-gradegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 4px; }
.cqd-grade-chip { position: relative; display: flex; flex-direction: column; gap: 3px; justify-content: center;
  background: #fcfbf7; border: 1.5px solid #e3dfd3; border-radius: 12px; padding: 13px 14px; cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .12s; }
.cqd-grade-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.cqd-grade-chip b { font-size: 14px; font-weight: 800; color: #2a2a2a; }
.cqd-grade-chip em { font-style: normal; font-size: 11px; font-weight: 600; color: #9a9384; }
.cqd-grade-chip:active { transform: scale(.98); }
.cqd-grade-chip.is-on, .cqd-grade-chip:has(input:checked) { border-color: var(--cq-green, #1f3b34);
  background: #f3f7f4; box-shadow: 0 4px 14px rgba(31,59,52,.14); }
.cqd-grade-chip.is-on b, .cqd-grade-chip:has(input:checked) b { color: var(--cq-green, #1f3b34); }

/* 업체: 대표 이미지 직접 첨부(PC·모바일) */
.cqd-logopick { display: flex; align-items: center; gap: 12px; }
.cqd-logo-thumb { position: relative; flex: 0 0 auto; width: 76px; height: 76px; border-radius: 16px; overflow: hidden;
  background: #f3f1ea; border: 1px solid #e6e2d6; }
.cqd-logo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cqd-logo-thumb .cqd-photo-rm { top: 4px; right: 4px; }
.cqd-logo-add { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 76px; border: 1.5px dashed #cfc9ba; border-radius: 16px; background: #fcfbf7; color: #6f6a5e;
  font-size: 12px; cursor: pointer; transition: border-color .15s, color .15s; }
.cqd-logo-add:hover { border-color: var(--cq-green, #1f3b34); color: var(--cq-green, #1f3b34); }
.cqd-logo-add svg { width: 24px; height: 24px; }
.cqd-logo-add small { font-weight: 700; }

/* 관리자: 정지된 견적 섹션 */
.cqd-block-label.stop { color: #b23b2b; display: flex; align-items: center; gap: 7px; }
.cqd-block-label .cqd-cnt.stop { background: #c0492f; }
.cqd-vlist-stop .cqd-vrow { border-color: #f0c5bd; background: linear-gradient(180deg,#fff7f5,#fff); }

/* 신규 등록: 브랜드 이미지 선택 */
.cqd-lbl-sub { font-size: 11px; font-weight: 600; color: #a39c8c; }
.cqd-brandbtn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 13px 14px;
  background: #fff; border: 1.5px solid #e0dcd0; border-radius: 12px; font-size: 14.5px; font-weight: 600;
  color: #8a8475; cursor: pointer; text-align: left; }
.cqd-brandbtn.on { color: #1a1a1a; border-color: var(--cq-green, #1f3b34); }
.cqd-brandbtn-logo { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
  background: #f3f1ea; display: inline-flex; align-items: center; justify-content: center; }
.cqd-brandbtn-logo img { width: 100%; height: 100%; object-fit: contain; }
.cqd-brandsheet { margin-top: 8px; border: 1px solid #e6e2d6; border-radius: 14px; background: #fff;
  overflow: hidden; box-shadow: 0 8px 26px rgba(20,30,26,.12); }
.cqd-brand-search { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border-bottom: 1px solid #eee9dc; }
.cqd-brand-search input { flex: 1; border: 0; outline: 0; font-size: 14px; background: transparent; }
.cqd-brand-list { max-height: 280px; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px; padding: 12px; }
.cqd-brand-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px;
  background: #fcfbf7; border: 1.5px solid transparent; border-radius: 12px; cursor: pointer; }
.cqd-brand-opt:hover { border-color: #d7d2c4; }
.cqd-brand-opt img { width: 42px; height: 42px; border-radius: 50%; object-fit: contain; background: #fff; }
.cqd-brand-opt span { font-size: 11.5px; font-weight: 600; color: #44403a; text-align: center; line-height: 1.25; }
.cqd-brand-none { grid-column: 1 / -1; text-align: center; color: #9a948a; font-size: 13px; padding: 20px 0; }

/* 등록 시계 정보: 상태 배지 줄 */
.cqe-status-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eee9dc; }
.cqd-state.ok { background: #eef6f0; color: #1f3b34; border-color: #cfe6d8; }

/* ===== 버튼 행 / 고객센터 링크 / 공유 / 채팅 ===== */
.cqd-btn-row { display: flex; gap: 9px; }
.cqd-cta.half { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.cqd-cs-link { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: 16px;
  padding: 13px; border-radius: 13px; background: #fff; border: 1px solid #e6e2d6; color: #1f3b34;
  font-size: 13.5px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 10px rgba(20,30,26,.05);
  transition: transform .16s, box-shadow .16s; }
.cqd-cs-link:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20,30,26,.09); }

/* 공유 시트 */
.cq-share-wrap { position: absolute; inset: 0; z-index: 60; display: flex; align-items: flex-end; }
.cq-share-mask { position: absolute; inset: 0; background: rgba(16,20,18,.45); opacity: 0; transition: opacity .25s; }
.cq-share-wrap.on .cq-share-mask { opacity: 1; }
.cq-share-sheet { position: relative; width: 100%; background: #fff; border-radius: 20px 20px 0 0;
  padding: 16px 18px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.cq-share-wrap.on .cq-share-sheet { transform: translateY(0); }
.cq-share-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cq-share-head b { font-size: 16px; }
.cq-share-head button { font-size: 24px; line-height: 1; color: #9a948a; background: none; }
.cq-share-pre { font-size: 12.5px; color: #8a8475; line-height: 1.5; margin-bottom: 14px; }
.cq-share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cq-share-opt { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 4px;
  border-radius: 14px; background: #f7f5ef; border: 1px solid #ece8dd; font-size: 11.5px; font-weight: 700; color: #44403a;
  cursor: pointer; transition: transform .14s, background .14s; }
.cq-share-opt:active { transform: scale(.94); }
.cq-share-opt span { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px; color: #3a1d1d; }
.cq-share-opt.kakao span { background: #fee500; }
.cq-share-opt svg { color: #1f3b34; }

/* 채팅 */
.cq-chat { display: flex; flex-direction: column; height: 100%; }
.cq-chat-scroll { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.cq-chat-intro { background: #eef2f0; color: #4a5a54; font-size: 12.5px; line-height: 1.55; border-radius: 14px;
  padding: 12px 14px; text-align: center; }
.cq-chat-attach { background: #fff; border: 1px solid #e6e2d6; border-radius: 14px; padding: 10px 12px; }
.cq-chat-attach > span { display: block; font-size: 11px; font-weight: 800; color: #9a8a4a; margin-bottom: 7px; }
.cq-chat-empty { text-align: center; color: #9a948a; font-size: 13px; line-height: 1.6; padding: 30px 10px; }
.cq-chat-watch { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: #faf8f2; border: 1px solid #ece8dd; border-radius: 12px; padding: 9px 11px; cursor: pointer; }
.cq-chat-watch.static { cursor: default; }
.cq-chat-watch img, .cq-chat-watch-ph { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; object-fit: cover;
  background: linear-gradient(135deg,#f3f1ea,#e8e4d8); color: #b8b09c; display: flex; align-items: center; justify-content: center; }
.cq-chat-watch-ph svg { width: 22px; height: 22px; }
.cq-chat-watch-txt { flex: 1 1 auto; min-width: 0; }
.cq-chat-watch-txt b { display: block; font-size: 13px; font-weight: 800; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cq-chat-watch-txt em { font-style: normal; font-size: 11.5px; color: #8a8475; }
.cq-chat-watch-go { flex: 0 0 auto; color: #b8b09c; font-size: 20px; }
.cq-msg { display: flex; flex-direction: column; gap: 4px; max-width: 80%; animation: cqdRowIn .3s ease both; }
.cq-msg.me { align-self: flex-end; align-items: flex-end; }
.cq-msg.other { align-self: flex-start; align-items: flex-start; }
.cq-msg-who { font-size: 11px; font-weight: 700; color: #8a8475; padding: 0 4px; }
.cq-msg .cq-chat-watch { margin-bottom: 2px; }
.cq-msg-bubble { padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; word-break: break-word;
  box-shadow: 0 1px 4px rgba(20,30,26,.06); }
.cq-msg.me .cq-msg-bubble { background: var(--cq-green, #1f3b34); color: #fff; border-bottom-right-radius: 5px; }
.cq-msg.other .cq-msg-bubble { background: #fff; color: #1a1a1a; border: 1px solid #ece8dd; border-bottom-left-radius: 5px; }
.cq-msg-time { font-size: 10.5px; color: #b3ad9e; padding: 0 4px; }
.cq-chat-bar { flex: 0 0 auto; display: flex; align-items: center; gap: 9px; padding: 11px 12px calc(11px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid #ece8dd; }
.cq-chat-bar input { flex: 1; border: 1px solid #e0dccf; border-radius: 22px; padding: 11px 16px; font-size: 14px; background: #faf8f2; }
.cq-chat-bar input:focus { border-color: var(--cq-green, #1f3b34); background: #fff; }
.cq-chat-send { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--cq-green, #1f3b34);
  color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .14s; }
.cq-chat-send:active { transform: scale(.9); }

/* ===== 마이페이지 서브페이지(스크롤 대신 페이지 전환) ===== */
.mp-sub-bar { display: none; align-items: center; gap: 8px; margin: -8px 0 14px; }
.login-content.mp-sub > .mp-sub-bar { display: flex; }
.mp-sub-back { width: 36px; height: 36px; border: 0; background: #fff; color: #1f3b34; border-radius: 10px;
  font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(20,30,26,.08); }
.mp-sub-title { font-size: 16px; font-weight: 800; color: #1a1a1a; }
.login-content.mp-sub > *:not(.mp-sub-bar) { display: none !important; }
.login-content.mp-sub > .login-close { display: none !important; }
.login-content.mp-sub[data-mpsub="myPointSection"] > #myPointSection,
.login-content.mp-sub[data-mpsub="myCouponSection"] > #myCouponSection,
.login-content.mp-sub[data-mpsub="myInterestSection"] > #myInterestSection,
.login-content.mp-sub[data-mpsub="myRecentSection"] > #myRecentSection,
.login-content.mp-sub[data-mpsub="partnerBox"] > #partnerBox { display: block !important; }

/* ============================================================
   마이페이지 전면 개편 (바이버풍) — 헤더·원형5·배너·역할메뉴·설정
   ============================================================ */
/* 마이페이지가 열려도 하단 탭바는 그대로 보이게 (모달 2500 위, 전체화면 cp-page 2600 아래) */
body.mypage-open .tabbar { z-index: 2550; }
#myPageModal .login-content { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }

/* 상단 바: 알림 · 설정 (우측 정렬) */
.mp-head { margin: 0 0 6px; }
/* 상단 아이콘 줄(알림·설정)은 오른쪽 정렬 → 왼쪽 공간을 프로필이 끌어올려 여백 제거 */
.mp-head-bar { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-bottom: -40px; position: relative; z-index: 1; }
.mp-head-ic { position: relative; width: 40px; height: 40px; border: 0; background: none; color: #111;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; cursor: pointer; }
.mp-head-ic:active { background: var(--bg-soft, #f1efe9); }
.mp-head-ic .noti-badge { position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px;
  line-height: 17px; padding: 0 4px; background: #f23645; color: #fff; border-radius: 999px;
  font-size: 10px; font-weight: 800; text-align: center; }
.mp-head-ic .noti-badge[hidden] { display: none; }

/* 프로필: 아바타 + 이름(수정) */
.mp-profile { display: flex; align-items: center; gap: 14px; padding: 0 90px 18px 2px; }
/* 마이페이지 아바타 = 표시 전용(원형 1.3배), 카메라 뱃지 없음. 편집은 연필에서만 */
.mp-avatar { position: relative; flex: 0 0 auto; width: 81px; height: 81px; border-radius: 50%;
  background: #f1efe9; border: 0; padding: 0; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; color: #b7b2a6; }
.mp-avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.mp-avatar-img[hidden] { display: none; }   /* 사진 없을 때 빈 img 가 자리 차지해 사람아이콘이 밀리던 버그 수정 */
/* 바이버 기본 이미지처럼: 회색 원 + 큰 사람 실루엣 */
.mp-avatar { background: #e9e7e1; color: #b3aea2; }
.mp-avatar-ph { width: 55px; height: 55px; }
.mp-avatar-img:not([hidden]) + .mp-avatar-ph { display: none; }
.mp-profile-meta { min-width: 0; flex: 1; }
.mp-name-row { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0;
  cursor: pointer; max-width: 100%; }
.mp-name-row .mpa-name { font-size: 20px; font-weight: 800; color: #111; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-name-pen { flex: 0 0 auto; color: #9a9488; }
.mp-profile-meta .mpa-id { font-size: 12.5px; color: var(--text-2); margin: 3px 0 0; word-break: break-all; }
.mp-role-pill { display: inline-block; margin-top: 7px; padding: 2px 9px; border-radius: 999px;
  background: #111; color: #fff; font-size: 11px; font-weight: 700; }
.mp-role-pill[hidden] { display: none; }

/* 원형 카테고리 5 */
.mp-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 2px; margin: 0 0 18px;
  padding: 18px 6px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mp-cats .pl-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: none; border: 0; cursor: pointer; padding: 0; }
.mp-cats .pl-ic { width: 52px; height: 52px; border-radius: 50%; background: #f2f3f5; color: #111;
  display: inline-flex; align-items: center; justify-content: center; transition: transform .12s; }
.mp-cats .pl-ic svg { width: 24px; height: 24px; }
.mp-cats .pl-item:active .pl-ic { transform: scale(.92); }
/* 레퍼런스(바이버)처럼 카테고리별 컬러 아이콘 — 연회색 원 + 기능별 색 */
.mp-cats .pl-item:nth-child(1) .pl-ic { color: #ff8a00; }  /* 포인트/쿠폰 */
.mp-cats .pl-item:nth-child(2) .pl-ic { color: #16a34a; }  /* 내 시계팔기 */
.mp-cats .pl-item:nth-child(3) .pl-ic { color: #14b8c4; }  /* 내 관심 */
.mp-cats .pl-item:nth-child(4) .pl-ic { color: #2d7ff9; }  /* 최근 본 상품 */
.mp-cats .pl-item:nth-child(5) .pl-ic { color: #7c5cfc; }  /* 장바구니 */
/* 전역 .pl-item:hover(검정/골드) 가 카테고리 컬러를 덮지 않게 */
.mp-cats .pl-item:hover .pl-ic { background: #f2f3f5; }
.mp-cats .pl-item:nth-child(1):hover .pl-ic { color: #ff8a00; }
.mp-cats .pl-item:nth-child(2):hover .pl-ic { color: #16a34a; }
.mp-cats .pl-item:nth-child(3):hover .pl-ic { color: #14b8c4; }
.mp-cats .pl-item:nth-child(4):hover .pl-ic { color: #2d7ff9; }
.mp-cats .pl-item:nth-child(5):hover .pl-ic { color: #7c5cfc; }
.mp-cats .pl-label { font-size: 11px; color: var(--text); white-space: nowrap; line-height: 1; font-weight: 600; }
.mp-cats .pl-badge { position: absolute; top: -4px; left: 50%; transform: translateX(8px); min-width: 17px;
  height: 17px; padding: 0 5px; border-radius: 999px; background: #f23645; color: #fff; font-size: 10px;
  font-weight: 800; line-height: 17px; text-align: center; }
.mp-cats .pl-badge[hidden] { display: none; }

/* 역할별 하단 메뉴 (바이버 리스트형) */
.mp-menu { display: block; margin: 0 0 8px; }
.mp-menu:empty { display: none; }
.mp-menu-row { width: 100%; display: flex; align-items: center; gap: 8px; background: none; border: 0;
  border-bottom: 1px solid var(--border); padding: 18px 2px; cursor: pointer; font-family: inherit; text-align: left; }
.mp-menu-row:last-child { border-bottom: 0; }
.mp-menu-row .mr-label { font-size: 15px; font-weight: 700; color: #111; }
.mp-menu-row .mr-count { font-size: 14px; font-weight: 700; color: var(--text-2); }
.mp-menu-row .mr-arrow { margin-left: auto; color: #c4beb2; font-size: 18px; }
.mp-menu-row:active { background: var(--bg-soft, #f7f5f0); }

/* 포인트 카드 + 서브섹션 보조제목 */
.mp-point-card { display: flex; flex-direction: column; gap: 2px; padding: 18px 18px; border-radius: 16px;
  background: #111; color: #fff; margin: 0 0 18px; }
.mp-point-label { font-size: 12px; color: rgba(255,255,255,.7); }
.mp-point-val { font-size: 26px; font-weight: 800; line-height: 1.15; }
.mp-point-val b { font-size: 26px; font-weight: 800; }
.mp-point-hint { font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 4px; }
.mp-subsec-h2 { margin-top: 22px; }

/* 설정 페이지 */
#settingsPage .set-gap { height: 10px; }
#settingsPage .prof-row { display: flex; align-items: center; }
#settingsPage .set-logout .prof-row-l { color: #c0392b; }
.set-toggle-row { display: flex; align-items: center; gap: 12px; padding: 16px 2px; border-bottom: 1px solid var(--border); }
.set-toggle-row .set-toggle-meta { flex: 1; min-width: 0; }
.set-toggle-row .set-toggle-meta b { display: block; font-size: 15px; font-weight: 700; color: #111; }
.set-toggle-row .set-toggle-meta em { font-style: normal; font-size: 12px; color: var(--text-2); }

/* ===== 비교견적 신청 헤더 배경(여러 시계 사진) — 상단 글씨 부분에만 ===== */
.compare-form-hero { position: relative; border-radius: 18px; overflow: hidden;
  padding: 38px 20px 34px; margin-bottom: 22px; text-align: center;
  background: linear-gradient(rgba(15,28,24,.6), rgba(15,28,24,.72)), url('assets/2026-03-18_이미지자료_193412.jpg');
  background-size: cover; background-position: center; }
.compare-form-hero .eyebrow { color: var(--cq-gold, #e9dec3); }
.compare-form-hero .section-title { color: #fff; }
.compare-form-hero .section-title .g { color: var(--cq-gold, #e9dec3); }
.compare-form-hero .lead { color: rgba(255,255,255,.85); margin-bottom: 0; }

/* ===== 비교견적 신청폼 정리: 2단 배치 / 구성품 박스 / 기타 브랜드 ===== */
.cqd-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.cqd-row2 .cqd-field { display: flex; flex-direction: column; min-width: 0; }
.cqd-row2 .cqd-field > label { margin-top: 0; }
.cqd-form .cqd-row2 input, .cqd-form .cqd-field input { width: 100%; box-sizing: border-box; }
/* 구성품: 클릭하는 박스(다중 선택) */
.cqd-partgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 4px; }
.cqd-part-box { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: #fcfbf7; border: 1.5px solid #e3dfd3; border-radius: 12px; padding: 14px 8px; cursor: pointer;
  text-align: center; transition: border-color .15s, background .15s, box-shadow .15s, transform .12s; }
.cqd-part-ic { font-size: 22px; line-height: 1; }
.cqd-part-txt { font-size: 12px; font-weight: 700; color: #4a463d; word-break: keep-all; }
.cqd-part-check { position: absolute; top: 7px; right: 7px; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: #d8d3c5; color: #fff; opacity: 0; transition: opacity .15s; }
.cqd-part-box:active { transform: scale(.97); }
.cqd-part-box.is-on { border-color: var(--cq-green, #1f3b34); background: #f3f7f4; box-shadow: 0 4px 14px rgba(31,59,52,.14); }
.cqd-part-box.is-on .cqd-part-txt { color: var(--cq-green, #1f3b34); }
.cqd-part-box.is-on .cqd-part-check { opacity: 1; background: var(--cq-green, #1f3b34); }
/* 브랜드 시트: 기타 옵션 */
.cqd-brand-etc { color: var(--cq-green, #1f3b34); font-weight: 700; }
.cqd-brand-etc-ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; background: #eef3f0; color: var(--cq-green, #1f3b34); font-size: 18px; font-weight: 700; }
@media (max-width: 380px) { .cqd-partgrid { grid-template-columns: repeat(2, 1fr); } }

/* ===== 상품 상세: 상단 공유+찜 / 하단 공유 / 돋보기 확대 ===== */
.pp-top-acts { display: flex; align-items: center; gap: 2px; }
.pp-top-share { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: none; background: transparent; border-radius: 50%; color: #333; cursor: pointer; }
.pp-top-share:active { background: var(--bg-soft, #f3f1ea); }
.pp-main { position: relative; overflow: hidden; }
.pp-zoom-lens { position: absolute; width: 150px; height: 150px; border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%); border: 2px solid rgba(255,255,255,.9); box-shadow: 0 6px 20px rgba(0,0,0,.28);
  background-repeat: no-repeat; opacity: 0; transition: opacity .12s; z-index: 4; }
.pp-zoom-lens.on { opacity: 1; }
@media (hover: none) { .pp-zoom-lens { display: none; } }

/* ===== 마이페이지: 계정 박스 / 장바구니·최근본상품 ===== */
.mypage-account { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(135deg, #1b1b1d, #2c2c30); color: #fff; border-radius: 16px;
  padding: 18px 18px; margin: 4px 0 16px; }
.mypage-account .mpa-main { min-width: 0; }
.mypage-account .mpa-name { font-size: 18px; font-weight: 800; color: #fff; margin: 0; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mypage-account .mpa-id { font-size: 12.5px; color: rgba(255,255,255,.72); margin: 5px 0 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mypage-account .mpa-role { display: inline-block; margin: 8px 0 0; font-size: 11px; font-weight: 700;
  color: #1b1b1d; background: var(--cq-gold, #e9dec3); border-radius: 999px; padding: 3px 10px; }
.mypage-account .mpa-noti { position: relative; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mypage-account .mpa-noti:active { background: rgba(255,255,255,.18); }
.mypage-account .mpa-noti .noti-badge { position: absolute; top: 4px; right: 4px; }

.mypage-cart .pocket-shop-head h4 b, .pocket-shop-head h4 b { color: var(--cq-green, #1f3b34); margin-left: 4px; }
.mypage-prodrow { display: flex; gap: 11px; overflow-x: auto; padding: 4px 2px 8px; -webkit-overflow-scrolling: touch; }
.mypage-prodrow::-webkit-scrollbar { height: 0; }
.mypage-prodrow-empty { font-size: 13px; color: #9a948a; padding: 6px 2px 4px; margin: 0; }
.mypc { flex: 0 0 auto; width: 116px; display: flex; flex-direction: column; gap: 3px; text-align: left;
  background: none; border: none; padding: 0; cursor: pointer; }
.mypc-img { display: block; width: 116px; height: 116px; border-radius: 12px; overflow: hidden; background: #f3f1ea; }
.mypc-img img { width: 100%; height: 100%; object-fit: cover; }
.mypc-brand { font-size: 11.5px; font-weight: 700; color: #6f6a5e; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mypc-model { font-size: 12.5px; font-weight: 600; color: #2a2a2a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mypc-price { font-size: 13px; font-weight: 800; color: #1b1b1d; }

/* ===== 내시계팔기(하단탭) 비교견적 폼: 2단 정렬 + 구성품 박스 ===== */
.compare-form .form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compare-form .form-row2 > label { display: block; }
.compare-form .block-label small { font-size: 11px; font-weight: 600; color: #a39c8c; margin-left: 4px; }
.parts-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 8px; }
.parts-boxes .part-box { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: #fcfbf7; border: 1.5px solid #e3dfd3; border-radius: 12px; padding: 14px 8px; cursor: pointer;
  text-align: center; transition: border-color .15s, background .15s, box-shadow .15s, transform .12s; }
.parts-boxes .part-box input { position: absolute; opacity: 0; width: 0; height: 0; }
.parts-boxes .pb-ic { font-size: 22px; line-height: 1; }
.parts-boxes .pb-txt { font-size: 12px; font-weight: 700; color: #4a463d; word-break: keep-all; }
.parts-boxes .part-box:active { transform: scale(.97); }
.parts-boxes .part-box:has(input:checked) { border-color: var(--cq-green, #1f3b34); background: #f3f7f4; box-shadow: 0 4px 14px rgba(31,59,52,.14); }
.parts-boxes .part-box:has(input:checked) .pb-txt { color: var(--cq-green, #1f3b34); }
@media (max-width: 480px) { .parts-boxes { grid-template-columns: repeat(2, 1fr); } }

/* ===== 관리자: 방문 · 조회 분석 ===== */
.admin-analytics { display: block; }
.an-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.an-card { background: var(--bg-soft); border-radius: 12px; padding: 12px 10px; text-align: center; }
.an-card b { display: block; font-size: 20px; font-weight: 800; color: var(--text); line-height: 1.1; }
.an-card span { display: block; margin-top: 4px; font-size: 11.5px; color: var(--text-3); }
.an-h { margin: 16px 0 8px; font-size: 13.5px; font-weight: 800; color: var(--text); }
.an-mut { font-weight: 600; font-size: 11.5px; color: var(--text-3); }
.an-list { display: flex; flex-direction: column; gap: 6px; }
.an-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--bg-soft); border-radius: 10px; font-size: 12.5px; }
.an-rank { flex: none; width: 20px; font-weight: 800; color: var(--green-bright); text-align: center; }
.an-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.an-num { flex: none; font-size: 11.5px; color: var(--text-3); }
.an-who { flex: none; max-width: 38%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-3); font-weight: 700; }
.an-who.member { color: var(--green-bright); }
@media (max-width: 480px) { .an-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== 관리자: 활동 로그 V2 (기간 탭 + 그래프 + 상세 로그) ===== */
.an2-tabs, .an2-logtabs { display: flex; gap: 6px; margin: 0 0 12px; }
.an2-logtabs { margin: 0 0 8px; }
.an2-tab { height: 34px; padding: 0 14px; border: 1px solid #e5e3df; border-radius: 17px; background: #fff; font: 700 12.5px Pretendard, -apple-system, sans-serif; color: #6b6b6b; cursor: pointer; }
.an2-tab.on { background: #111; border-color: #111; color: #fff; }
.an2-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 480px) { .an2-grid { grid-template-columns: repeat(2, 1fr); } }
.an2-kpi { position: relative; padding-bottom: 26px; }
.an2-kpi b { font-variant-numeric: tabular-nums; }
.an2-delta { display: inline-block; margin-top: 5px; padding: 1px 7px; border-radius: 8px; font-size: 10.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.an2-delta.up { background: rgba(22, 163, 74, .1); color: #16a34a; }
.an2-delta.down { background: rgba(226, 59, 59, .09); color: #c2410c; }
.an2-delta.flat { background: #f2f3f5; color: #9a9a9a; }
.an2-cap { margin: -6px 0 4px; font-size: 11px; color: #9a9a9a; }
.an2-legend { display: flex; gap: 14px; margin: 4px 2px 6px; font-size: 11.5px; font-weight: 700; color: #6b6b6b; }
.an2-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.an2-chartwrap { position: relative; background: var(--bg-soft); border-radius: 12px; padding: 8px 6px 4px; }
.an2-svg { display: block; width: 100%; height: auto; }
.an2-grid-line, .an2-grid { stroke: #e5e3df; stroke-width: 1; }
.an2-ax { font: 600 10.5px Pretendard, -apple-system, sans-serif; fill: #9a9a9a; }
.an2-ax.an2-bold { font-weight: 800; fill: #1a1a1a; }
.an2-bar { fill: #2d7ff9; }
.an2-hit { fill: transparent; cursor: pointer; }
.an2-cross { stroke: #1a1a1a; stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; pointer-events: none; }
.an2-cross.on { opacity: .45; }
.an2-tip { position: absolute; top: 4px; padding: 5px 9px; border-radius: 8px; background: rgba(17, 17, 17, .92); color: #fff; font: 700 11px Pretendard, -apple-system, sans-serif; white-space: nowrap; pointer-events: none; z-index: 2; }
.an2-poprow .an-name { position: relative; padding-bottom: 7px; }
.an2-popbar { position: absolute; left: 0; bottom: 0; height: 4px; border-radius: 2px; background: rgba(45, 127, 249, .35); }
.an2-ref { font-size: 10.5px; color: #9a9a9a; font-style: normal; }
.an2-more { display: block; width: 100%; height: 42px; margin-top: 8px; border: 1px solid #e5e3df; border-radius: 12px; background: #fff; font: 700 13px Pretendard, -apple-system, sans-serif; color: #1a1a1a; cursor: pointer; }
.an2-more:disabled { color: #9a9a9a; background: #f7f6f3; cursor: default; }
.an2-total { margin: 16px 0 4px; padding: 12px; border-radius: 12px; background: var(--bg-soft); font-size: 11.5px; line-height: 1.6; color: #6b6b6b; text-align: center; font-variant-numeric: tabular-nums; }
.an2-notice { margin: 0 0 12px; padding: 12px 14px; border: 1px solid #e5e3df; border-radius: 12px; background: #fffdf5; font-size: 12.5px; line-height: 1.6; color: #1a1a1a; }

/* ===== 관리자: 활동 로그 V3 통합 분석 ===== */
.an3-history { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid #dce8ff; border-radius: 12px; background: #f5f8ff; font-size: 12px; color: #31527f; }
.an3-history b { color: #163d73; }
.an3-kpis { grid-template-columns: repeat(3, 1fr); }
.an3-class-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.an3-class-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.an3-class-grid > section { min-width: 0; }
.an3-donut-section { margin-top: 2px; padding: 2px 0 4px; }
.an3-donut-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 26px; padding: 18px 22px; border-radius: 14px; background: var(--bg-soft); }
.an3-donut { position: relative; width: 166px; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17,17,17,.03); }
.an3-donut::after { content: ''; position: absolute; inset: 31px; border-radius: 50%; background: var(--bg-soft); }
.an3-donut > span { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.an3-donut b { font-size: 25px; line-height: 1; font-variant-numeric: tabular-nums; }
.an3-donut small { margin-top: 6px; font-size: 11px; color: var(--text-3); }
.an3-donut-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.an3-donut-item { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-width: 0; font-size: 12px; }
.an3-donut-item i { width: 9px; height: 9px; border-radius: 50%; }
.an3-donut-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an3-donut-item b { color: var(--text-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.an3-tablewrap { width: 100%; overflow-x: auto; border: 1px solid #e5e3df; border-radius: 12px; background: #fff; }
.an3-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 12px; white-space: nowrap; }
.an3-table th { padding: 10px 12px; background: #f6f7f9; color: #667085; font-weight: 800; text-align: left; }
.an3-table td { padding: 11px 12px; border-top: 1px solid #eceef1; color: var(--text-2); font-variant-numeric: tabular-nums; }
.an3-table td:first-child, .an3-table td b { color: var(--text); }
.an3-table td small { display: block; max-width: 260px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; color: var(--text-3); }
.an3-type { display: inline-flex; padding: 3px 7px; border-radius: 999px; background: #eef5ff; color: #2563c9; font-size: 10.5px; font-weight: 800; }
.an3-empty-note { display: flex; flex-direction: column; gap: 5px; padding: 15px 16px; border: 1px solid #e1e9f6; border-radius: 12px; background: #f6f9fe; }
.an3-empty-note b { font-size: 12.5px; color: #264c7f; }
.an3-empty-note span { font-size: 11.5px; line-height: 1.55; color: #607895; }
.an3-funnel { display: flex; flex-direction: column; gap: 9px; padding: 14px; border-radius: 12px; background: var(--bg-soft); }
.an3-funnel-row { display: grid; grid-template-columns: 150px 52px minmax(120px, 1fr); align-items: center; gap: 12px; }
.an3-funnel-row > div { display: flex; flex-direction: column; gap: 2px; }
.an3-funnel-row b { font-size: 12.5px; }
.an3-funnel-row span { font-size: 10.5px; color: var(--text-3); }
.an3-funnel-row strong { text-align: right; font-size: 15px; font-variant-numeric: tabular-nums; }
.an3-funnel-row > i { height: 12px; overflow: hidden; border-radius: 999px; background: #e2e7ed; }
.an3-funnel-row em { display: block; height: 100%; border-radius: inherit; background: #2d7ff9; }
.an3-activity-table .an3-table { min-width: 900px; }
.an3-activity-table td:nth-child(1) { width: 145px; color: var(--text-3); }
.an3-activity-table td:nth-child(2) { width: 115px; }
.an3-activity-table td:nth-child(3) { width: 110px; }
.an3-activity .an-name { display: flex; flex-direction: column; gap: 2px; white-space: normal; }
.an3-activity .an-name b { font-size: 12.5px; }
.an3-activity .an-name small { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an3-badge { flex: none; min-width: 34px; padding: 3px 7px; border-radius: 999px; background: #edf2f7; color: #52606d; font-size: 10.5px; font-weight: 800; text-align: center; }
.an3-commerce { background: #fff0e8; color: #b45309; }
.an3-product { background: #eef5ff; color: #2563c9; }
.an3-lead { background: #edf9f0; color: #16803a; }
.an3-details { margin-top: 16px; border: 1px solid #e5e3df; border-radius: 12px; overflow: hidden; }
.an3-details summary { padding: 13px 14px; background: #faf9f7; font-size: 13px; font-weight: 800; cursor: pointer; }
.an3-details .an-list { padding: 8px; }
@media (max-width: 720px) {
  .an3-history { flex-direction: column; gap: 3px; }
  .an3-class-grid, .an3-class-grid--two { grid-template-columns: 1fr; }
  .an3-donut-layout { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .an3-donut-legend { width: 100%; }
  .an3-funnel-row { grid-template-columns: 104px 42px minmax(90px, 1fr); gap: 8px; }
}
@media (max-width: 480px) {
  .an3-kpis { grid-template-columns: repeat(2, 1fr); }
  .an3-activity { align-items: flex-start; }
  .an3-activity .an-num { padding-top: 3px; }
  .an3-donut-layout { padding: 16px 14px; }
  .an3-donut-legend { grid-template-columns: 1fr; }
}

/* ===== 관리자 메뉴 구분/회원관리 통합 ===== */
.admin-menu-cap { margin: 16px 2px 6px; font-size: 12px; font-weight: 800; color: var(--text-3); letter-spacing: .02em; }
.amr-sub { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; color: var(--text-3); font-style: normal; }
.mpc-sub { display: block; margin-top: 2px; font-size: 11px; color: var(--text-3); font-style: normal; }
.mem-pane { margin-top: 4px; }
.mem-item { display: flex; flex-direction: column; gap: 3px; }
.mem-top { display: flex; align-items: center; gap: 8px; }
.mem-top b { font-size: 14px; font-weight: 800; color: var(--text); }
.mem-role { flex: none; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--text-2); }
.mem-role--vendor { background: #e7f0ff; color: #2563c9; }
.mem-role--partner { background: #eafaf0; color: var(--dark-green); }
.mem-role--admin { background: #fdeaea; color: #c0392b; }
.mem-sub { font-size: 12px; color: var(--text-3); line-height: 1.4; }

/* ===== 회원정보 수정 (토스식 단계 페이지) ===== */
.prof-lead { font-size: 13px; color: var(--text-2); margin: 4px 2px 14px; line-height: 1.5; }
.prof-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 16px 14px; margin-bottom: 8px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; text-align: left; }
.prof-row:hover { border-color: var(--text-3); }
.prof-row-l { flex: none; font-size: 14px; font-weight: 700; color: var(--text); }
.prof-row-v { flex: 1 1 auto; min-width: 0; text-align: right; font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prof-row-a { flex: none; color: var(--text-3); font-size: 18px; }
.prof-q { font-size: 22px; font-weight: 800; line-height: 1.35; color: var(--text); margin: 6px 2px 22px; }
.prof-fld { display: block; margin-bottom: 16px; }
.prof-fld > span { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-2); margin-bottom: 7px; }
.prof-fld input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--border); border-radius: 12px; font-size: 16px; background: var(--white); }
.prof-fld input:focus { outline: none; border-color: var(--green-bright); }
.prof-hint { font-size: 12px; color: var(--text-3); line-height: 1.5; margin: -6px 2px 0; }
/* 비밀번호 표시 = 박스 안 오른쪽 끝 눈 아이콘 (DESIGN.md §3) */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; min-width: 0; padding-right: 46px; }
.pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: none; color: #9a9a9a; cursor: pointer; }
.pw-eye:hover { background: var(--bg-soft); color: #111; }
.pw-eye.on { color: #111; }
.prof-pick { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.prof-pick-opt { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--white); cursor: pointer; text-align: left; }
.prof-pick-opt.on { border-color: var(--green-bright); background: #f3fbf6; }
.prof-pick-opt b { font-size: 15px; font-weight: 800; color: var(--text); }
.prof-pick-opt em { font-size: 12.5px; color: var(--text-3); font-style: normal; }

/* 프로필 수정: 사진(추가/삭제) 에디터 — 큰 사람 실루엣 기본 이미지 */
.prof-avatar-edit { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 4px 0 24px; }
.prof-avatar { position: relative; width: 96px; height: 96px; border-radius: 50%; background: #e9e7e1;
  color: #b3aea2; display: inline-flex; align-items: center; justify-content: center; overflow: visible;
  border: 0; padding: 0; cursor: pointer; }
.prof-avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.prof-avatar-img[hidden] { display: none; }
.prof-avatar-ph { width: 64px; height: 64px; }
.prof-avatar-img:not([hidden]) + .prof-avatar-ph { display: none; }
.prof-avatar.is-loading { opacity: .55; }
/* 우하단 편집 뱃지: 사진없음=⚙(설정), 사진있음=✕(삭제). overflow:hidden 영향 안 받게 살짝 안쪽 */
.prof-avatar-act { position: absolute; right: 2px; bottom: 2px; width: 30px; height: 30px; border-radius: 50%;
  background: #111; color: #fff; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.prof-avatar-act .pa-x { display: none; }
.prof-avatar-act[data-mode="remove"] .pa-gear { display: none; }
.prof-avatar-act[data-mode="remove"] .pa-x { display: inline; }
.prof-avatar-act[data-mode="remove"] { background: #c0392b; }

/* ===== 아이디/비밀번호 찾기 패널 (바이버풍) ===== */
.fp-tabs { display: flex; gap: 8px; margin: 4px 0 18px; }
.fp-tab { flex: 1; height: 44px; border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--white); color: var(--text-2); font-size: 14px; font-weight: 700; cursor: pointer; }
.fp-tab.on { border-color: #111; background: #111; color: #fff; }
.fp-result { margin-top: 18px; padding: 16px 14px; border-radius: 12px; background: var(--bg-soft);
  font-size: 14px; line-height: 1.6; color: var(--text); }
.fp-result b { font-weight: 800; word-break: break-all; }
.fp-result small { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--text-3); }
.fp-newpw { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ============================================================
   토스식 입력 디자인 시스템 (로그인·회원가입·회원정보 공통)
   - 그린 액센트 폐기 → 토스 블루로 통일
   ============================================================ */
/* 모노크롬 전환: 기존 'toss-blue' 토큰을 검정/연회색으로 재정의 → 모든 사용처 일괄 변경 (DESIGN.md §1) */
:root { --toss-blue: #111; --toss-blue-soft: #f3f1ec; }

.ti-form { display: flex; flex-direction: column; gap: 14px; }
.ti-fld { display: block; }
.ti-fld > span { display: block; font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; letter-spacing: -.2px; }
.ti-fld input { width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--border); border-radius: 12px; font-size: 16px; background: var(--white); color: var(--text); transition: border-color .15s, box-shadow .15s; }
.ti-fld input:focus { outline: none; border-color: var(--toss-blue); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.ti-fld input::placeholder { color: #b5b0a7; }
.ti-fld .pw-wrap input { height: 52px; }

/* 토스 블루 풀폭 CTA */
.login-btn.ti-cta, .ti-cta { background: var(--toss-blue) !important; color: #fff !important; height: 54px; border-radius: 13px; font-size: 16px; font-weight: 800; }
.ti-cta:disabled { background: #cfccc5 !important; color: #fff !important; cursor: default; }

/* 텍스트형 ‹ 이전 */
.lp-back { display: inline-flex; align-items: center; align-self: flex-start; background: none; border: 0; color: var(--text-2); font-size: 15px; font-weight: 600; padding: 2px 0 12px; cursor: pointer; }
.lp-back:active { opacity: .6; }

/* 회원가입 유형 선택 카드 (토스 레퍼런스) */
.type-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.type-card { display: block; text-align: left; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 18px; padding: 22px 20px; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.type-card:hover { background: var(--toss-blue-soft); border-color: var(--toss-blue); }
.type-card:active { transform: scale(.99); }
.type-card b { display: block; font-size: 17px; font-weight: 800; color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; margin-bottom: 8px; }
.type-card em { font-style: normal; display: block; font-size: 13.5px; color: var(--text-3); line-height: 1.55; }

/* 필수/선택 배지 */
.vrow-req, .vrow-opt { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; font-style: normal; }
.vrow-req { background: var(--bg-soft); color: var(--text-2); }
.vrow-opt { background: var(--bg-soft); color: var(--text-3); }

/* 회원정보 수정 페이지도 토스 블루로 통일 */
.prof-fld input:focus { border-color: var(--toss-blue); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.prof-pick-opt.on { border-color: var(--toss-blue); background: var(--toss-blue-soft); }
.profile-page .pp-buy { background: var(--toss-blue); }

/* ============================================================
   마이 허브 (검정 박스): 알림 + 와이드모드 + 원형 카테고리
   ============================================================ */
.mp-hub { border: 2px solid #111; border-radius: 18px; padding: 12px 14px 18px; margin: 6px 0 18px; background: #fff; }
.mp-hub-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 2px 12px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.mp-hub-noti { position: relative; display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; font-family: inherit; font-size: 14px; font-weight: 700; color: #111; cursor: pointer; padding: 4px 2px; }
.mp-hub-noti svg { width: 20px; height: 20px; }
/* 알림 개수: 흰 원 + 검정 숫자 (검정 박스 위) */
.mp-hub-noti .noti-badge { position: static; margin-left: 3px; min-width: 18px; height: 18px; line-height: 16px; background: #fff; color: #111; border: 1.5px solid #111; font-size: 11px; }
.mp-hub-wide { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.mp-hub-cats { grid-template-columns: repeat(5, 1fr); gap: 12px 2px; margin: 0; }
.mp-hub-cats .pl-item { position: relative; }
.mp-hub-cats .pl-ic { width: 48px; height: 48px; }
.mp-hub-cats .pl-ic svg { width: 21px; height: 21px; }
.pl-badge { position: absolute; top: -3px; left: 50%; transform: translateX(7px); min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px; background: var(--toss-blue); color: #fff; font-size: 10px; font-weight: 800; line-height: 17px; text-align: center; }
.pl-badge[hidden] { display: none; }
@media (max-width: 699px) {
  /* 모바일: 와이드모드는 숨김(.pc-only-setting) → 알림만 좌측 정렬 */
  .mp-hub-top { justify-content: flex-start; }
}

/* ============================================================
   마이페이지 통합 검정 박스 헤드(닉네임+설정) · 알림 인라인 · 중앙정렬 · 윈도우 스크롤
   (DESIGN.md — 모노크롬/정렬/여백)
   ============================================================ */
.mp-hub-head { display: flex; flex-direction: column; gap: 4px; padding: 2px 2px 12px; }
.mp-hub-id { display: flex; align-items: center; gap: 8px; }
.mp-hub-head .mpa-name { font-size: 19px; font-weight: 800; color: #111; margin: 0; line-height: 1.2; }
.mp-hub-head .mpa-id { font-size: 12.5px; color: var(--text-2); margin: 0; word-break: break-all; }
.mp-hub-gear { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; color: #111; background: none; border: 0; cursor: pointer; flex: none; }
.mp-hub-gear:hover { background: var(--bg-soft); }

/* 알림 목록(검정 박스 안 인라인) */
.mp-hub-noti[aria-expanded="true"] { color: #111; }
.mp-hub-noti[aria-expanded="true"] svg { transform: none; }

/* #9 좌우 여백 + 가운데 정렬: 내부 콘텐츠 폭 제한 */
#myPageModal .mp-hub,
#myPageModal .mypage-section,
#myPageModal .pocket,
#myPageModal #btnLogout { width: 100%; max-width: 600px; margin-left: auto; margin-right: auto; }

/* #11 PC 포함 — 모달 내부 자체 스크롤 제거, 윈도우(페이지) 스크롤 사용 */
#myPageModal { position: absolute; top: 0; bottom: auto; height: auto; min-height: 100%; }
#myPageModal .login-content { height: auto; min-height: 100dvh; overflow: visible; -webkit-overflow-scrolling: auto; }

/* 마이페이지가 윈도우 스크롤을 쓰는 동안 뒤 페이지(판매시계 목록 등)가 아래로 비치지 않게 본문을 숨김 */
body.mypage-open > main,
body.mypage-open > footer.footer,
body.mypage-open > #header { display: none !important; }

/* 회원정보 수정 단계 화면: 좌우 여백 + 가운데 정렬(DESIGN.md §0/§7) */
.profile-page .prof-step { padding-left: 22px; padding-right: 22px; max-width: 600px; margin-left: auto; margin-right: auto; }
.profile-page .pp-bottom { padding-left: 22px; padding-right: 22px; }
.profile-page .pp-bottom .pp-buy { max-width: 556px; margin-left: auto; margin-right: auto; }
/* 관리자 편집(쿠폰 등) 폼도 동일한 좌우 여백 + 가운데 정렬 */
.cp-page .cp-form2 { max-width: 600px; margin-left: auto; margin-right: auto; padding-left: 22px; padding-right: 22px; }

/* #3 로그인 — 자동 로그인 · 아이디 기억하기 체크 */
.login-remember { display: flex; align-items: center; gap: 18px; margin: 2px 2px 14px; }
.login-remember .lr-check { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.login-remember .lr-check input { width: 16px; height: 16px; accent-color: #111; cursor: pointer; }

/* #3 관리자 회원관리 — 빨간 글씨 금지, 모노크롬으로 보기 편하게 */
.mem-role,
.mem-role--vendor,
.mem-role--partner,
.mem-role--admin { background: var(--bg-soft); color: var(--text-2); }
.mem-item .stl-act,
.pa-acts .stl-act { background: #fff; color: #111; border: 1px solid var(--border); font-weight: 700; }
.mem-item .stl-act:hover,
.pa-acts .stl-act:hover { background: var(--bg-soft); }

/* ============================================================
   로그인 전체페이지 (바이버풍) — DESIGN.md 모노크롬 준수
   ============================================================ */
#loginModal { padding: 0; align-items: stretch; justify-content: center; background: var(--white); }
#loginModal .login-backdrop { background: var(--white); backdrop-filter: none; animation: none; }
#loginModal .login-content {
    max-width: 460px; width: 100%; max-height: none; height: 100%; min-height: 100dvh;
    border-radius: 0; box-shadow: none; margin: 0 auto;
    padding: calc(18px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
    animation: none; overflow-y: auto;
}
#loginModal .login-close { background: transparent; font-size: 28px; top: calc(8px + env(safe-area-inset-top)); left: 10px; right: auto; }

/* 로그인/회원가입: 모달 내부 스크롤 대신 '윈도우(페이지) 스크롤' 사용 — PC 이중 스크롤바 제거.
   (마이페이지와 동일 방식: 본문/헤더/푸터를 숨기고 페이지 자체를 스크롤) */
body.login-open > main,
body.login-open > footer.footer,
body.login-open > #header { display: none !important; }
body.login-open .tabbar { display: none; }
#loginModal { position: absolute; top: 0; bottom: auto; height: auto; min-height: 100%; }
#loginModal .login-content { height: auto; min-height: 100dvh; overflow: visible; -webkit-overflow-scrolling: auto; }

.login-logo { display: flex; justify-content: center; margin: 44px 0 38px; }
.login-logo img { height: 30px; width: auto; object-fit: contain; }

/* 로그인 입력칸 (라운드 박스 + 우측 인라인 아이콘) */
.lf-viber { display: flex; flex-direction: column; gap: 12px; }
.lf-fld { position: relative; }
.lf-fld > input {
    width: 100%; height: 56px; padding: 0 52px 0 18px; border: 1px solid var(--border);
    border-radius: 12px; font-size: 16px; color: var(--text); background: var(--white); -webkit-appearance: none;
}
.lf-fld > input:focus { outline: none; border-color: var(--text); }
.lf-fld > input::placeholder { color: var(--text-3); }
.lf-fld .pw-eye, .lf-remember {
    position: absolute; top: 50%; right: 14px; transform: translateY(-50%);
    width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
    color: var(--text-3); background: transparent; border: 0; cursor: pointer; padding: 0;
}
/* 아이디 기억 3단계 체크: 끔 → 아이디기억 → 자동로그인(진한 체크) */
.lf-remember { color: #d2cfc8; }
.lf-remember svg { display: block; }
.lf-remember.on { color: #8a8a8a; }
.lf-remember.auto { color: #111; }
.lf-remember.auto svg { stroke-width: 3.4; }
.lf-remember-tip {
    position: absolute; right: 6px; top: -36px; z-index: 4;
    background: #111; color: #fff; font-size: 12px; font-weight: 600;
    padding: 7px 11px; border-radius: 9px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.lf-remember-tip::after { content: ''; position: absolute; right: 18px; bottom: -5px; width: 10px; height: 10px; background: #111; transform: rotate(45deg); }
.lf-remember-tip[hidden] { display: none; }

/* 비밀번호 눈 — 가릴 때 빗금(안보이는 눈), 표시하면 빗금 제거 */
.pw-eye { position: relative; }
.pw-eye::after { content: ''; position: absolute; left: 4px; right: 4px; top: 50%; height: 1.8px; background: currentColor; border-radius: 2px; transform: translateY(-50%) rotate(-22deg); transition: opacity .15s; pointer-events: none; }
.pw-eye.on::after { opacity: 0; }

#loginModal .ti-cta { margin-top: 6px; }

/* 링크줄: 회원가입 | 아이디 찾기 | 비밀번호 찾기 */
.login-links { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 16px 0 4px; }
.login-links button { background: none; border: 0; color: var(--text-2); font-size: 14px; cursor: pointer; padding: 5px 2px; }
.login-links button:hover { color: var(--text); }
.login-links .ll-div { width: 1px; height: 12px; background: var(--border); flex: none; }

.login-sep { height: 1px; background: var(--border); margin: 24px 0; }

/* 소셜 4종 (행 버튼) */
.login-socials { display: flex; flex-direction: column; gap: 11px; }
.social-btn {
    width: 100%; height: 56px; border-radius: 12px; border: 1px solid var(--border);
    background: var(--white); display: flex; align-items: center; justify-content: center;
    position: relative; font-size: 16px; font-weight: 700; color: var(--text); cursor: pointer;
}
.social-btn:hover { background: var(--bg-soft); }
.social-btn .social-ic-img, .social-btn .social-ic {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
}
.social-btn .social-ic-img { object-fit: contain; }
.social-kakao { background: #FEE500; border-color: #FEE500; color: #111; }
.social-kakao:hover { background: #f5dc00; }

/* ============================================================
   회원가입 — 구구스풍 (라벨+필수점+박스+헬퍼) · 모노크롬
   ============================================================ */
.login-eyebrow { color: var(--text-3); }
#loginPanelType .login-head, #loginPanelSignup .login-head { margin-top: 8px; }

/* 로그인 패널: X 닫기만 / 유형·회원가입 패널: ‹이전 뒤로만 (겹침 방지) */
.login-content:has(#loginPanelType.active) .login-close,
.login-content:has(#loginPanelSignup.active) .login-close,
.login-content:has(#loginPanelFindId.active) .login-close,
.login-content:has(#loginPanelFindPw.active) .login-close { display: none; }

/* 유형 선택 3박스 */
.type-cards { gap: 12px; }
.type-card { display: block; text-align: left; border-radius: 14px; padding: 20px 18px; }
.type-card b { display: block; text-decoration: none; margin-bottom: 6px; font-size: 16px; }
.type-card em { display: block; }
.type-card:hover { background: var(--bg-soft); border-color: var(--text); }

/* 섹션 제목 */
.su-section { font-size: 24px; font-weight: 800; color: var(--text); margin: 6px 0 22px; }

/* 필드 */
.su-fld { display: block; margin-bottom: 18px; }
.su-label { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 9px; }
.su-req { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #9a9a9a; vertical-align: 6px; margin-left: 1px; }
.su-input { position: relative; display: block; }
.su-input > input {
    width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--border); border-radius: 12px;
    font-size: 16px; color: var(--text); background: var(--white); -webkit-appearance: none;
}
.su-input > input:focus { outline: none; border-color: var(--text); }
.su-input > input::placeholder { color: var(--text-3); }
.su-input > input[readonly] { background: var(--bg-soft); color: var(--text-2); }
.su-input.su-mt { margin-top: 8px; }
.su-input .pw-eye, .su-input .su-clear {
    position: absolute; top: 50%; right: 12px; transform: translateY(-50%);
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    background: transparent; border: 0; color: var(--text-3); cursor: pointer; padding: 0; font-size: 13px;
}
.su-input .su-clear { background: #eceae6; border-radius: 50%; width: 22px; height: 22px; right: 14px; color: #777; }
.su-id-row { display: flex; gap: 8px; align-items: flex-start; }
.su-id-row .su-input { flex: 1; }
.su-dupbtn {
    flex: none; height: 52px; padding: 0 16px; border: 1px solid var(--text); border-radius: 12px;
    background: #fff; color: var(--text); font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.su-dupbtn:hover { background: var(--bg-soft); }
.su-dupbtn:disabled { opacity: .5; cursor: default; }
.su-help { display: block; font-size: 12.5px; margin-top: 7px; color: var(--text-3); min-height: 1px; }
.su-help.ok { color: #1f1f1f; font-weight: 600; }
.su-help.err { color: #1f1f1f; font-weight: 600; }

/* ============================================================
   마이페이지/설정/구매내역 재개편 (바이버 레퍼런스 기준)
   - 상단 X 제거, 큰 ← 뒤로가기, 큰 제목, 풀폭 구분선
   - 구매내역 풀페이지화, PC 좌우 여백 통일
   ============================================================ */

/* 공통 큰 뒤로가기(바이버식 긴 ←) */
.fp-back { width: 44px; height: 44px; min-width: 44px; padding: 0; margin-left: -8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 50%; color: #111; cursor: pointer; box-shadow: none; }
.fp-back svg { width: 26px; height: 26px; display: block; }
.fp-back:active { background: rgba(0,0,0,.05); }

/* 풀페이지 상단바: 큰 제목 */
.pp-topbar { height: 60px; padding: 0 10px; gap: 2px; }
.pp-topbar-title { font-size: 20px; font-weight: 800; color: #111; }
.pp-topbar-spacer { display: none; }

/* 마이페이지 서브바 / 구매내역 상단바 */
.mp-sub-bar { display: none; align-items: center; gap: 2px;
  margin: -10px -16px 10px; padding: 4px 10px; height: 56px; }
.login-content.mp-sub > .mp-sub-bar,
.orders-content .mp-sub-bar { display: flex; }
.mp-sub-back { width: 44px; height: 44px; box-shadow: none; background: none; border-radius: 50%;
  color: #111; }
.mp-sub-title { font-size: 20px; font-weight: 800; color: #111; }

/* 역할 메뉴 리스트(구매/판매 내역 등): 큰 제목 + 회색 카운트 + 풀폭 구분선 */
.mp-menu-row { padding: 19px 2px; gap: 10px; }
.mp-menu-row .mr-label { font-size: 17px; font-weight: 800; color: #111; }
.mp-menu-row .mr-count { font-size: 15px; font-weight: 700; color: #b0a99c; }
.mp-menu-row .mr-arrow { font-size: 20px; color: #c4beb2; }

/* 설정·회원정보 home 리스트: 박스 카드 → 평평한 줄 + 풀폭 구분선 */
#settingsPage .prof-row,
#profilePage .prof-step[data-pstep="home"] .prof-row {
  margin: 0; padding: 18px 2px; background: none; border: 0;
  border-bottom: 1px solid var(--border); border-radius: 0; }
#settingsPage .prof-row:hover,
#profilePage .prof-step[data-pstep="home"] .prof-row:hover { border-color: var(--border); }
#settingsPage .prof-row:active,
#profilePage .prof-step[data-pstep="home"] .prof-row:active { background: var(--bg-soft, #f7f5f0); }
#settingsPage .prof-row-l,
#profilePage .prof-step[data-pstep="home"] .prof-row-l { font-size: 16px; font-weight: 700; }
#settingsPage .prof-row-a,
#profilePage .prof-step[data-pstep="home"] .prof-row-a { font-size: 20px; color: #c4beb2; }
#profilePage .prof-step[data-pstep="home"] .prof-lead { padding: 6px 2px 12px; margin: 0; }
/* 설정 그룹 구분: 연한 회색 띠(레퍼런스의 그룹 간격) */
#settingsPage .set-gap { height: 10px; margin: 8px -22px; background: var(--bg-soft, #f4f2ec);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* 설정/회원정보 본문 좌우 여백·컬럼 통일(PC 포함) */
.profile-page .set-step { padding-left: 22px; padding-right: 22px;
  max-width: 600px; margin-left: auto; margin-right: auto; }

/* 구매내역 풀페이지화(팝업 → 전체화면) */
#ordersModal { padding: 0; align-items: stretch; justify-content: stretch; background: #fff;
  left: 50%; right: auto; transform: translateX(-50%); width: 100%; max-width: var(--app-w);
  box-shadow: 0 0 80px rgba(0,0,0,.18); }
#ordersModal .login-backdrop { display: none; }
#ordersModal .login-content.orders-content {
  max-width: 100%; width: 100%; max-height: none; height: 100%;
  min-height: 100vh; min-height: 100dvh; border-radius: 0; box-shadow: none; background: #fff;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: calc(8px + env(safe-area-inset-top)) 16px calc(80px + env(safe-area-inset-bottom));
  animation: none; }
#ordersModal .orders-tabs { padding: 6px 0 12px; }
#ordersModal .orders-list { max-height: none; overflow: visible; }

/* PC(>=700) 좌우 여백 통일 */
@media (min-width: 700px) {
  #myPageModal .login-content,
  #ordersModal .login-content.orders-content { padding-left: 22px; padding-right: 22px; }
  #myPageModal .mp-head,
  #myPageModal .mp-cats,
  #myPageModal .mp-menu,
  #myPageModal .mp-subsec { max-width: 600px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   Batch 9 — 판매시계 검색/필터 정리 (검색바 풀폭·연관검색어·드롭다운·필터 UI)
   ============================================================ */
/* A. 브랜드 검색바: 화면 최대폭 + 바이버풍 라운드 박스 */
#collection .cat-search-wrap { position: relative; }
#collection .cat-brand-search {
  display: flex !important; align-items: center; gap: 9px;
  max-width: none !important; width: 100%;
  background: var(--bg-soft, #f5f3ee); border: 1px solid #e9e3d8;
  border-radius: 14px; padding: 13px 15px; margin: 2px 0 10px !important;
}
#collection .cat-brand-search input { flex: 1; font-size: 15px; background: none; }
.cat-search-clear {
  flex: none; border: 0; background: #cfc8b9; color: #fff;
  width: 19px; height: 19px; border-radius: 50%; font-size: 13px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.cat-search-clear[hidden] { display: none; }

/* B·E. 연관검색어 / 인기검색어 제안 드롭다운 */
.cat-suggest {
  position: absolute; top: calc(100% - 6px); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid #ece7db; border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,.12); padding: 6px; max-height: 340px; overflow-y: auto;
}
.cat-suggest[hidden] { display: none; }
.cat-suggest-h { font-size: 11px; font-weight: 800; color: var(--text-3, #aaa); letter-spacing: .4px; margin: 7px 9px 5px; }
.cat-suggest-item {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  border: 0; background: transparent; padding: 11px 10px; border-radius: 10px;
  font-size: 14px; color: var(--text, #222); cursor: pointer; font-family: inherit;
}
.cat-suggest-item:hover { background: var(--bg-soft, #f5f3ee); }
.cat-suggest-item svg { flex: none; }
.cat-suggest-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* D. 등급/최신순 드롭다운: overflow 컨테이너에 잘리지 않도록 fixed로 띄움 */
.qf-chip-menu.cf-menu-open { position: fixed; z-index: 1300; }

/* F. 필터검색: 좌우 폭 축소 · 뒤로가기 크게 · 박스 자연스럽게 */
.filter-page .pp-scroll { width: 100%; max-width: 560px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.filter-page .pp-topbar { max-width: 560px; margin: 0 auto; width: 100%; }
.filter-page .pp-back { font-size: 30px; width: 40px; height: 40px; line-height: 1; margin-left: -6px; }
.filter-page .cf-minmax { gap: 12px; align-items: stretch; }
.filter-page .cf-minmax label {
  flex: 1 1 0; gap: 7px; font-size: 12px; font-weight: 600; color: var(--text-3, #9a948a);
}
.filter-page .cf-minmax input {
  padding: 14px 38px 14px 14px; border: 1px solid #e6e0d4; border-radius: 12px;
  background: #fff; font-size: 15px; text-align: right;
}
.filter-page .cf-minmax label span { bottom: 15px; }
.filter-page .cf-minmax > em { align-self: center; padding-bottom: 0; }
/* 선택형 펄(다이얼컬러·소재·등급) — 체크박스 대신 토글 칩 */
.cf-pills { display: flex; flex-wrap: wrap; gap: 9px; }
.cf-pill {
  border: 1px solid #e0dacd; background: #fff; color: var(--text-2, #555);
  font-size: 13.5px; font-family: inherit; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  transition: all .14s;
}
.cf-pill:hover { border-color: #bdb6a6; }
.cf-pill.on { background: var(--text, #161616); border-color: var(--text, #161616); color: #fff; font-weight: 700; }
.filter-page .cf-radios { gap: 26px; }

/* I. 비교견적 촬영 가이드: 실제 예시 사진 썸네일 (삐져나옴 방지: 셀=이미지, 외곽박스 제거) */
.cqd-photo-ex { gap: 10px; }
.cqd-photo-ex-cell {
  aspect-ratio: auto !important; background: none !important; border: none !important;
  padding: 0 !important; gap: 7px; min-width: 0;
}
.cqd-photo-ex-ic {
  width: 100% !important; height: 94px !important; border-radius: 12px !important;
  overflow: hidden; background: #f3efe6; border: 1px solid #ece7db; padding: 0;
  display: block; box-sizing: border-box;
}
.cqd-photo-ex-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cqd-photo-ex-cell em { font-size: 12px; color: #4a463d; }

/* 마이페이지 원형 카테고리: 레퍼런스 PNG 아이콘 연동 */
.mp-cats .pl-ic.has-img { background: none !important; border: none; overflow: hidden; padding: 0; }
.mp-cats .pl-item:hover .pl-ic.has-img,
.pl-item:hover .pl-ic.has-img { background: none !important; color: inherit; }
.mp-cats .pl-ic.has-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

/* 판매시계(검색) 원형 브랜드: 선택 시 체크 표시 */
#catBrandPanel[hidden] { display: none; }
.cat-brands .cat-brand { position: relative; }
.cat-brands .brand-circle-img { position: relative; }
.cat-brands .cat-brand.active .brand-circle-img::after {
  content: "✓"; position: absolute; right: -2px; top: -2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--text, #161616); color: #fff;
  font-size: 12px; font-weight: 800; line-height: 20px; text-align: center;
  box-shadow: 0 0 0 2px #fff; z-index: 2;
}

/* 구매내역: 결제취소/환불건 삭제 버튼 */
.order-row { position: relative; }
.order-del {
  margin-top: 6px; border: 1px solid #e3ddd1; background: #fff; color: #9a948a;
  font-size: 11.5px; font-family: inherit; padding: 5px 11px; border-radius: 8px; cursor: pointer;
}
.order-del:hover { border-color: #c0492f; color: #c0492f; }

/* ===== 비교견적 리파인(레퍼런스: 바이버/구구스) ===== */
/* 시세 차트: 그린 직선 + 가로 그리드(점 없음) */
.cqe-grid { stroke: #ece7db; }
.cqe-chart-line { stroke: #1f7a4d; stroke-width: 2.4; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.cqe-chart { height: 120px; }
.cqe-chart-card { padding-top: 18px; }
.cqe-chart-head b { font-size: 15.5px; }
.cqe-chart-note { display: flex; align-items: center; gap: 6px; color: #a39c8c; margin-top: 12px; }
.cqe-chart-note::before { content: "ⓘ"; font-size: 12px; color: #c0b9a7; }

/* 예상 견적가 — 회색 박스 + 등급 배지(레퍼런스) */
.cqe-price { background: #f4f2ed; border: 1px solid #ebe7dd; border-radius: 16px; padding: 18px; margin-bottom: 12px; }
.cqe-price-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cqe-price-badge { font-size: 11px; font-weight: 800; color: #6f6a5e; background: #fff; border: 1px solid #e3ddcf;
  padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.cqe-price .cqe-price-val { font-size: 28px; margin: 10px 0 6px; }

/* 하단 버튼 — 외곽선 버튼 / 텍스트 링크로 정돈 */
.cqd-cta.ghost { background: #fff; color: #2a2a2a; border: 1px solid #e2ddd0; padding: 14px;
  font-weight: 700; font-size: 14.5px; border-radius: 13px; transition: background .12s ease; }
.cqd-cta.ghost:active { background: #f5f2ea; }
.cqd-cta.ghost.half { padding: 13px; }
.cqd-cta.ghost.half svg { width: 17px; height: 17px; }
.cqd-cta.link { background: transparent; border: 0; color: #9a9384; font-weight: 700; font-size: 13.5px; padding: 10px; margin-top: 4px; }
.cqd-cta.link:active { color: #6f6a5e; }

/* 무신사식 '브랜드' 토글 스위치 (판매시계 검색 빠른칩 줄) */
.qf-brandtoggle { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px 7px 8px; border: 1px solid var(--border); border-radius: 999px;
    background: var(--white); font-size: 13px; font-weight: 700; color: var(--text-2);
    white-space: nowrap; cursor: pointer; transition: color .15s ease, border-color .15s ease; }
.qf-switch { position: relative; flex: 0 0 auto; width: 34px; height: 20px; border-radius: 999px;
    background: #d9d4c8; transition: background .18s ease; }
.qf-switch-knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .18s ease; }
.qf-brandtoggle.on { color: var(--text); border-color: var(--text); }
.qf-brandtoggle.on .qf-switch { background: var(--text); }
.qf-brandtoggle.on .qf-switch-knob { transform: translateX(14px); }
.qf-brand-divider { flex: 0 0 auto; width: 1px; height: 20px; background: var(--border); margin: 0 2px; }

/* ============================================================
   경매 관제소 (관리자) · auction.js
   ============================================================ */
.auc-admin {
  position: fixed; inset: 0; z-index: 3300;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--app-w);
  background: var(--white); display: flex; flex-direction: column;
}
.auc-admin[hidden] { display: none; }
.auc-top {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px;
  height: 54px; padding: 0 12px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--white); z-index: 2;
}
.auc-back { border: 0; background: none; padding: 6px; cursor: pointer; color: var(--text); display: flex; }
.auc-title { flex: 1; text-align: center; font-weight: 800; font-size: 16px; letter-spacing: -.02em; }
.auc-tabs { flex: 0 0 auto; display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.auc-tab {
  flex: 1; padding: 10px 8px; border: 1px solid var(--border); border-radius: 10px;
  background: #fafafa; color: #666; font-weight: 700; font-size: 13.5px; cursor: pointer;
}
.auc-tab.on { background: var(--text); color: #fff; border-color: var(--text); }
.auc-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px; }
.auc-empty { text-align: center; color: #999; font-size: 13.5px; line-height: 1.7; padding: 40px 10px; }
.auc-note {
  background: #fff7e6; border: 1px solid #ffe1a8; color: #8a5a00;
  border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.6; margin-bottom: 12px;
}

/* 라이브/예약 카드 */
.auc-card { border: 1px solid var(--border); border-radius: 14px; padding: 13px; margin-bottom: 12px; background: #fff; }
.auc-card-head { display: flex; gap: 11px; }
.auc-thumb { flex: 0 0 auto; width: 60px; height: 60px; border-radius: 10px; overflow: hidden; background: #f2f2f2; }
.auc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.auc-card-main { flex: 1; min-width: 0; }
.auc-badges { display: flex; gap: 5px; margin-bottom: 3px; }
.auc-badge { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.auc-badge--live { background: var(--text); color: #fff; }
.auc-badge--scheduled { background: #f0f0f0; color: #555; }
.auc-badge--ended { background: #f0f0f0; color: #999; }
.auc-badge--canceled { background: #f0f0f0; color: #999; }
.auc-badge--adult { background: #fff; color: #666; border: 1px solid var(--border); }
.auc-name { font-weight: 800; font-size: 14.5px; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auc-when { font-size: 12px; color: #888; margin-top: 2px; }
.auc-remain { color: #555; font-weight: 700; margin-left: 4px; }
.auc-figures {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  margin-top: 12px; padding-top: 12px;
}
.auc-fig { flex: 1 1 auto; min-width: 58px; text-align: center; }
.auc-fig span { display: block; font-size: 11px; color: #999; margin-bottom: 2px; }
.auc-fig b { font-size: 13px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.auc-won { margin-top: 10px; text-align: center; font-weight: 800; color: #111; font-size: 13.5px; }
.auc-fail { margin-top: 10px; text-align: center; font-weight: 700; color: #999; font-size: 13px; }
.auc-card-acts { display: flex; gap: 8px; margin-top: 12px; }
.auc-mini { flex: 1; padding: 9px; border: 1px solid var(--border); border-radius: 9px; background: #fafafa; font-weight: 700; font-size: 12.5px; cursor: pointer; color: var(--text); }
.auc-mini--end { background: #f5f5f5; border-color: var(--border); color: #333; }
.auc-bidlist { margin-top: 10px; border-top: 1px solid var(--border); padding-top: 8px; }
.auc-bidrow { display: flex; align-items: center; gap: 8px; padding: 6px 2px; font-size: 12.5px; border-bottom: 1px solid #f4f4f4; }
.auc-bidrank { flex: 0 0 20px; height: 20px; border-radius: 50%; background: #f0f0f0; color: #666; font-weight: 800; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.auc-bidwho { flex: 1; color: #555; }
.auc-bidrow b { font-weight: 800; }
.auc-bidtime { flex: 0 0 auto; color: #aaa; font-size: 11px; }

/* 시계 목록(예약) 그리드 */
.auc-pick-hint { font-size: 12.5px; color: #888; margin-bottom: 12px; line-height: 1.6; }
.auc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.auc-pick { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; padding: 0 0 9px; cursor: pointer; text-align: left; }
.auc-pick-img { position: relative; width: 100%; aspect-ratio: 1/1; background: #f2f2f2; }
.auc-pick-img img { width: 100%; height: 100%; object-fit: cover; }
.auc-pick-flag { position: absolute; top: 6px; left: 6px; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; color: #fff; }
.auc-pick-flag--live { background: #111; }
.auc-pick-flag--scheduled { background: #999; }
.auc-pick-brand { font-weight: 800; font-size: 12px; margin: 8px 9px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auc-pick-model { font-size: 11px; color: #888; margin: 1px 9px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auc-pick-price { font-size: 12px; font-weight: 700; margin: 4px 9px 0; }

/* 설정 시트 */
.auc-sheet { position: fixed; inset: 0; z-index: 3400; background: rgba(0,0,0,.5); display: flex; align-items: flex-end; justify-content: center; }
.auc-sheet-card { width: 100%; max-width: var(--app-w); background: #fff; border-radius: 18px 18px 0 0; max-height: 90vh; display: flex; flex-direction: column; animation: aucUp .22s ease; }
@keyframes aucUp { from { transform: translateY(30px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
.auc-sheet-head { display: flex; align-items: center; gap: 11px; padding: 16px; border-bottom: 1px solid var(--border); }
.auc-sheet-x { margin-left: auto; border: 0; background: none; font-size: 26px; line-height: 1; color: #999; cursor: pointer; }
.auc-sheet-body { flex: 1; overflow-y: auto; padding: 16px; }
.auc-field { margin-bottom: 18px; }
.auc-field > label { display: block; font-weight: 800; font-size: 13.5px; margin-bottom: 8px; }
.auc-field .auc-sub { font-weight: 500; color: #999; font-size: 11.5px; font-style: normal; }
.auc-field input { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 15px; font-family: inherit; }
.auc-hint { display: block; font-size: 11.5px; color: #999; margin-top: 6px; line-height: 1.5; }
.auc-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.auc-chip { padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fafafa; font-weight: 700; font-size: 13px; cursor: pointer; color: #555; }
.auc-chip.on { background: var(--text); color: #fff; border-color: var(--text); }
.auc-sheet-acts { display: flex; gap: 10px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.auc-cancel { flex: 0 0 34%; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.auc-submit { flex: 1; padding: 14px; border: 0; border-radius: 12px; background: var(--text); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; }
.auc-submit:disabled { opacity: .55; }
@media (max-width: 360px) { .auc-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   고객용 경매 페이지 + 진입 CTA · auction.js
   ============================================================ */
.mp-auction-cta {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 15px 16px; margin: 4px 0 14px; cursor: pointer;
  border-radius: 12px; background: #fff; border: 1px solid var(--border);
  color: var(--text); text-align: left;
}
.wish-auction-cta { margin: 2px 0 16px; }
.mac-ic { font-size: 24px; flex: 0 0 auto; }
.mac-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mac-txt b { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.mac-txt em { font-size: 12px; color: #888; font-style: normal; margin-top: 2px; }
.mac-arrow { flex: 0 0 auto; font-size: 22px; color: #bbb; }

/* 포인트/쿠폰 안 · 벨로르 캐시 카드 버튼 */
.mp-cash-card { margin-top: -6px; }
.mp-cash-held { font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 2px; }
.mp-cash-acts { display: flex; gap: 8px; margin: 12px 0 2px; }
.mp-cash-btn { padding: 9px 16px; border: 0; border-radius: 9px; background: #fff; color: #111; font-weight: 800; font-size: 13px; cursor: pointer; }
.mp-cash-btn--ghost { background: rgba(255,255,255,.16); color: #fff; }

.auc-cust {
  position: fixed; inset: 0; z-index: 3300;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--app-w); background: var(--white);
  display: flex; flex-direction: column;
}
.auc-cust[hidden] { display: none; }
.auc-cust-intro { flex: 0 0 auto; padding: 14px 16px; font-size: 13.5px; line-height: 1.6; color: #666; background: #f7f7f7; border-bottom: 1px solid var(--border); }
.auc-cust-intro b { color: #111; font-weight: 800; }
.auc-cust-body { padding: 16px 14px calc(24px + env(safe-area-inset-bottom)); }
.auc-cust-sec { font-size: 15px; font-weight: 800; margin: 18px 2px 12px; letter-spacing: -.02em; }
.auc-cust-sec:first-child { margin-top: 2px; }

.auc-c-card { border: 1px solid var(--border); border-radius: 16px; padding: 15px; margin-bottom: 14px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.auc-c-top { display: flex; gap: 13px; margin-bottom: 13px; }
.auc-c-thumb { flex: 0 0 auto; width: 78px; height: 78px; border-radius: 12px; overflow: hidden; background: #f2f2f2; }
.auc-c-thumb img { width: 100%; height: 100%; object-fit: cover; }
.auc-c-info { flex: 1; min-width: 0; }
.auc-c-name { font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; line-height: 1.3; }
.auc-c-remain { font-size: 13px; color: #555; font-weight: 700; margin-top: 5px; }

.auc-c-pricebox { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 12px 0 4px; }
.auc-c-plabel { font-size: 13px; color: #888; font-weight: 600; }
.auc-c-price { font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.auc-c-price em { font-size: 16px; font-weight: 700; font-style: normal; margin-left: 1px; }
.auc-c-off { font-size: 12.5px; font-weight: 700; color: #555; background: #f2f2f2; padding: 3px 9px; border-radius: 999px; }
.auc-c-mine { font-size: 13px; font-weight: 700; color: #111; margin: 2px 0 10px; }

.auc-c-stepper { display: flex; align-items: stretch; gap: 10px; margin: 6px 0 12px; }
.auc-c-step { flex: 0 0 56px; font-size: 28px; font-weight: 700; border: 1px solid var(--border); border-radius: 12px; background: #f7f7f7; cursor: pointer; color: var(--text); line-height: 1; }
.auc-c-step:active { background: #ececec; }
.auc-c-stepamt { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 12px; padding: 8px; }
.auc-c-stepamt span { font-size: 11px; color: #999; }
.auc-c-stepamt b { font-size: 20px; font-weight: 900; letter-spacing: -.03em; }
.auc-c-bid { width: 100%; padding: 17px; border: 0; border-radius: 13px; background: var(--text); color: #fff; font-size: 17px; font-weight: 800; cursor: pointer; }
.auc-c-bid:disabled { opacity: .55; }
.auc-c-hint { text-align: center; font-size: 12px; color: #999; margin-top: 8px; line-height: 1.5; }
.auc-c-soon { font-size: 14px; font-weight: 700; color: #555; padding: 10px 0 2px; }
.auc-c-result { font-size: 14px; font-weight: 700; color: #999; padding: 8px 0 2px; }
.auc-c-result--won { color: #111; }

/* 경매 지갑(충전금) 바 + 예약금 문구 */
.auc-wallet { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #fff; }
.auc-wallet[hidden] { display: none; }
.auc-w-left { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-width: 0; }
.auc-w-left span { font-size: 12.5px; color: #888; }
.auc-w-left b { font-size: 18px; font-weight: 900; letter-spacing: -.03em; }
.auc-w-left em { font-size: 11.5px; color: #888; font-style: normal; }
.auc-w-acts { flex: 0 0 auto; display: flex; gap: 7px; }
.auc-w-btn { padding: 9px 16px; border: 0; border-radius: 9px; background: var(--text); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.auc-w-btn--ghost { background: #f2f2f2; color: #333; }
.auc-c-deposit { font-size: 11.5px; color: #888; line-height: 1.55; margin-top: 8px; padding: 9px 11px; background: #f7f7f7; border-radius: 9px; }

/* 마이페이지 · 벨로르 캐시 카드 */
.mpcash { margin: 4px 0 14px; padding: 15px 16px; border-radius: 14px; background: var(--text); color: #fff; }
.mpcash[hidden] { display: none; }
.mpcash-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mpcash-left { display: flex; flex-direction: column; min-width: 0; }
.mpcash-left span { font-size: 12px; opacity: .7; }
.mpcash-left b { font-size: 24px; font-weight: 900; letter-spacing: -.03em; line-height: 1.15; }
.mpcash-left b em { font-size: 15px; font-weight: 700; font-style: normal; margin-left: 1px; }
.mpcash-held { font-size: 11px; opacity: .6; font-style: normal; margin-top: 2px; }
.mpcash-acts { flex: 0 0 auto; display: flex; gap: 7px; }
.mpcash-btn { padding: 9px 15px; border: 0; border-radius: 9px; background: #fff; color: var(--text); font-weight: 800; font-size: 13px; cursor: pointer; }
.mpcash-btn--ghost { background: rgba(255,255,255,.16); color: #fff; }
.mpcash-note { font-size: 11.5px; opacity: .72; margin-top: 10px; line-height: 1.5; }

/* 금액 '입력칸' 보조 표기 — "= 140만원" (입력 보조용, 파랑, 테두리 없음) */
.money-kor-hint { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: #2f6fed; }
.money-kor-hint:empty { display: none; }
.auc-fig b { white-space: nowrap; }

/* ============================================================
   2026-07 Wanted 기반 핵심 화면 개편
   ============================================================ */
#myPageModal .login-content {
    max-width: 660px;
    padding-left: 20px;
    padding-right: 20px;
    background: #fff;
}
#myPageModal .mp-head {
    max-width: 600px;
    margin: 12px auto 20px;
    padding: 16px 18px 22px;
    border-radius: 18px;
    background: #141517;
    color: #fff;
}
#myPageModal #mpHubCats {
    display: none !important;
}
#myPageModal .mp-head-bar { min-height: 36px; justify-content: flex-end; }
#myPageModal .mp-head-ic { color: #fff; }
#myPageModal .mp-head-ic:hover { background: rgba(255,255,255,.1); }
#myPageModal .mp-profile { margin-top: 10px; }
#myPageModal .mp-avatar { background: #2a2b2e; color: #a7a8ab; }
#myPageModal .mpa-name {
    color: #fff;
    font-family: 'Pretendard', -apple-system, sans-serif;
    font-size: 22px;
    font-weight: 800;
}
#myPageModal .mpa-id { color: rgba(255,255,255,.58); }
#myPageModal .mp-name-pen { color: rgba(255,255,255,.72); }
.mp-role-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 7px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}
#myPageModal[data-account-role="vendor"] .mp-role-chip,
#myPageModal[data-account-role="partner"] .mp-role-chip {
    border-color: rgba(20,184,196,.44);
    background: rgba(20,184,196,.18);
    color: #bdf6f8;
}
#myPageModal[data-account-role="admin"] .mp-role-chip {
    border-color: rgba(255,138,0,.48);
    background: rgba(255,138,0,.18);
    color: #ffd6a3;
}
#myPageModal .mp-cats,
#myPageModal .mp-menu {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
#myPageModal .mp-menu,
#myPageModal .admin-menu { border-radius: 14px; }
#myPageModal .mp-menu-row,
#myPageModal .admin-menu-row,
#myPageModal .mypage-noti {
    min-height: 54px;
    padding: 0 16px;
}
#myPageModal .mypage-section h4 {
    font-family: 'Pretendard', -apple-system, sans-serif;
    font-size: 18px;
    font-weight: 800;
}


.pp-info { padding: 26px 20px 18px; }
.pp-brand {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #6b6b6b;
}
.pp-title {
    margin-top: 12px;
    font-size: clamp(24px, 5.5vw, 32px);
    line-height: 1.3;
    font-weight: 800;
    color: #111;
    letter-spacing: -.035em;
}
.pp-identity {
    margin-top: 10px;
    color: #9a9a9a;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}
.pp-price {
    margin: 28px 0 24px;
    font-size: clamp(32px, 7vw, 42px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.045em;
    font-variant-numeric: tabular-nums;
}
.pp-price .won { font-size: .72em; }
.pp-delivery-promise {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #279647;
    font-size: 15px;
    font-weight: 800;
}
.pp-delivery-promise svg { flex: 0 0 auto; }
.pp-assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.pp-assurance span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: #f2f3f5;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 750;
}
.pp-assurance .is-primary { background: #eaf6ee; color: #287b45; }
.pp-assurance .is-muted { background: #fff; border: 1px solid #dedbd4; color: #77736d; }
.pp-responsibility { border-radius: 14px; }
.pp-panel { padding: 26px 20px 34px; }
.pp-sec-title {
    margin: 28px 0 14px;
    font-family: 'Pretendard', -apple-system, sans-serif;
    font-size: 18px;
    font-weight: 800;
}
.pp-acc { flex-wrap: wrap; }
.pp-acc-item {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 46px;
    padding: 0 15px;
    border-radius: 999px;
}
.pp-acc-ic { display: none; }
.pp-spec { border: 0; border-radius: 0; }
.pp-spec-row { min-height: 52px; padding: 12px 2px; }
.pp-spec-row > span { width: 28%; color: #6b6b6b; }
.pp-spec-row > strong { width: 72%; font-size: 15px; }

@media (max-width: 699px) {
    #myPageModal .login-content {
        padding-left: 14px;
        padding-right: 14px;
    }
    .pp-main { height: min(72vw, 430px); }
}

/* ============================================================
   2026-07-30 레퍼런스 정합 수정
   홈: 순백색·무박스 상품 그리드 / 마이페이지: 검정 헤더+평면 리스트
   ============================================================ */

/* 홈 상품 목록 — 바깥 카드와 안쪽 이미지 박스를 모두 제거 */
.page-home,
#homeOnSale,
#homeOnSale .container,
#homeOnSale .home-sale-grid,
#homeOnSale .hcard,
#homeOnSale .hcard-img {
    background: #fff !important;
}
#homeOnSale {
    padding: 34px 0 46px;
}
/* 홈 판매 카드 규격은 bellore-redesign.css의 "상품 카드 2열 규격"으로 일원화됨 */

/* 마이페이지 전체 화면 구조 */
#myPageModal {
    background: #fff;
}
#myPageModal .login-backdrop {
    display: none;
}
#myPageModal .login-content {
    width: 100%;
    max-width: 660px;
    min-height: 100dvh;
    padding: 0 0 calc(96px + env(safe-area-inset-bottom));
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}
#myPageModal .mp-head {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: calc(20px + env(safe-area-inset-top)) 24px 26px;
    border-radius: 0;
    background: #141517;
    color: #fff;
}
#myPageModal .mp-head-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    margin: 0 0 22px;
}
#myPageModal .mp-head-bar > strong {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}
#myPageModal .mp-head-actions {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
#myPageModal .mp-head-ic {
    color: #fff;
}
#myPageModal .mp-member-kicker {
    margin: 0 0 8px;
    color: #c9bdb7;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}
#myPageModal .mp-profile {
    display: block;
    margin: 0;
    padding: 0;
}
#myPageModal .mp-name-row {
    justify-content: flex-start;
}
#myPageModal .mpa-name {
    color: #fff;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 850;
}
#myPageModal .mpa-id {
    display: none;
}
#myPageModal .mp-next-grade {
    margin-top: 5px;
    color: rgba(255,255,255,.52);
    font-size: 12.5px;
    line-height: 1.45;
}
#myPageModal .mp-member-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.14);
}
#myPageModal .mp-member-stats button {
    min-width: 0;
    padding: 0 14px;
    text-align: left;
    border-right: 1px solid rgba(255,255,255,.12);
}
#myPageModal .mp-member-stats button:first-child {
    padding-left: 0;
}
#myPageModal .mp-member-stats button:last-child {
    border-right: 0;
}
#myPageModal .mp-member-stats strong {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}
#myPageModal .mp-member-stats span {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,.58);
    font-size: 11.5px;
}
#myPageModal[data-account-role="admin"] .mp-member-kicker::after {
    content: " · OPERATOR";
}

.mp-order-preview {
    width: calc(100% - 40px);
    max-width: 600px;
    margin: 22px auto 16px;
    border: 1px solid #e5e3df;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}
.mp-order-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 16px 4px;
    color: #9a6d62;
    font-size: 12px;
}
.mp-order-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9a6d62;
}
.mp-order-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 10px 16px 14px;
}
.mp-order-thumb {
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
}
.mp-order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.mp-order-copy {
    min-width: 0;
}
.mp-order-copy strong,
.mp-order-copy small {
    display: block;
}
.mp-order-copy strong {
    color: #111;
    font-size: 15px;
    font-weight: 750;
}
.mp-order-copy small {
    margin-top: 3px;
    color: #8a8a8a;
    font-size: 11.5px;
    line-height: 1.4;
}
.mp-order-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e5e3df;
}
.mp-order-actions button {
    height: 46px;
    font-size: 13px;
    font-weight: 750;
}
.mp-order-actions button + button {
    border-left: 1px solid #e5e3df;
}

.mp-reference-banner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: calc(100% - 40px);
    max-width: 600px;
    min-height: 104px;
    margin: 0 auto 20px;
    padding: 18px;
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
    text-align: left;
    background:
        linear-gradient(90deg, rgba(16,16,17,.94), rgba(16,16,17,.36)),
        url('assets/products/watch-batch-20260821-2/085-dn8gn68cx9ky/front.webp') right 18px center / 42% auto no-repeat,
        #303030;
}
.mp-reference-banner span > * {
    display: block;
    font-style: normal;
}
.mp-reference-banner small {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}
.mp-reference-banner strong {
    margin-top: 5px;
    font-size: 16px;
    font-weight: 800;
}
.mp-reference-banner em {
    margin-top: 2px;
    color: rgba(255,255,255,.72);
    font-size: 11.5px;
}
.mp-reference-banner > b {
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(0,0,0,.52);
    font-size: 11px;
}

#myPageModal .mp-menu,
#myPageModal .mypage-section,
#myPageModal .pocket {
    width: calc(100% - 40px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
#myPageModal .mp-menu {
    margin-bottom: 22px;
}
#myPageModal .mp-menu-cap,
#myPageModal .admin-menu-cap {
    margin: 22px 0 7px;
    color: #9a9a9a;
    font-size: 12px;
    font-weight: 700;
}
#myPageModal .mp-menu-row,
#myPageModal .admin-menu-row {
    min-height: 56px;
    padding: 0;
    border-bottom: 1px solid #e5e3df;
    border-radius: 0;
    background: #fff;
}
#myPageModal .mp-menu-row .mr-label,
#myPageModal .admin-menu-row {
    font-size: 15px;
    font-weight: 700;
}
#myPageModal .admin-menu {
    border: 0;
    border-radius: 0;
}
#myPageModal .admin-dash {
    border-radius: 14px;
}

@media (max-width: 699px) {
    #myPageModal .login-content {
        padding-left: 0;
        padding-right: 0;
    }
}
/* 프리미엄 개인정보·경험 설정 */
.analytics-consent{position:fixed;z-index:100000;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:18px;background:rgba(8,10,14,.28);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);font-family:'Pretendard',-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.analytics-consent-card{width:min(720px,100%);max-height:min(78vh,720px);overflow:auto;padding:22px 28px 20px;border:1px solid rgba(255,255,255,.7);border-radius:16px;background:rgba(255,255,255,.985);box-shadow:0 16px 48px rgba(0,0,0,.24);color:#151515;scrollbar-width:thin}
.analytics-consent-head{display:flex;flex-direction:column;align-items:center;gap:5px;margin-bottom:14px}.analytics-consent-head img{width:104px;height:auto}.analytics-consent-head span{font-size:8px;font-weight:700;letter-spacing:.24em;color:#9a7a3d}
.analytics-consent-intro{text-align:center}.analytics-consent-intro h2{margin:0 0 8px;font-family:inherit;font-size:22px;font-weight:600;letter-spacing:-.02em}.analytics-consent-intro p{max-width:650px;margin:0 auto;font-size:13px;line-height:1.55;color:#343434}.analytics-consent-intro .analytics-consent-note{margin-top:5px;font-size:10.5px;line-height:1.5;color:#727272}
.analytics-consent-options{margin:28px 0 6px;border-top:1px solid #dedbd4}.analytics-consent-options-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:20px 4px 16px}.analytics-consent-options-head div{display:flex;flex-direction:column;gap:5px}.analytics-consent-options-head b{font-size:16px}.analytics-consent-options-head span{font-size:11px;color:#777}.analytics-consent-options-head button{padding:0;border:0;background:none;color:#7c602c;font:inherit;font-size:11px;font-weight:700;text-decoration:underline;cursor:pointer}
.analytics-purpose{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0;padding:17px 4px;border-top:1px solid #ece9e3;cursor:pointer}.analytics-purpose>div{display:flex;min-width:0;flex-direction:column;gap:5px}.analytics-purpose b{font-size:14px}.analytics-purpose span{font-size:11.5px;line-height:1.5;color:#707070}.analytics-purpose em{flex:none;color:#8a6b32;font-size:11px;font-style:normal;font-weight:800}.analytics-purpose input{position:absolute;opacity:0;pointer-events:none}.analytics-purpose i{position:relative;flex:none;width:43px;height:24px;border:1px solid #c9c5bd;border-radius:999px;background:#e9e7e2;transition:.2s}.analytics-purpose i:after{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25);transition:.2s}.analytics-purpose input:checked+i{border-color:#151515;background:#151515}.analytics-purpose input:checked+i:after{transform:translateX(19px)}.analytics-purpose input:focus-visible+i{outline:2px solid #9a7a3d;outline-offset:3px}.analytics-purpose.essential{cursor:default}
.analytics-consent-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:16px}.analytics-consent-actions button{min-height:38px;padding:0 18px;border:1px solid #bdb9b1;border-radius:999px;background:#fff;color:#181818;font:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:transform .15s,background .15s,color .15s}.analytics-consent-actions button:hover{transform:translateY(-1px)}.analytics-consent-actions button.primary{order:-2;border-color:#151515;background:#151515;color:#fff}.analytics-consent-actions button.more{order:3;border-color:transparent;color:#6c5224}.analytics-consent-actions button.save{order:-1;border-color:#151515;background:#151515;color:#fff}.analytics-consent.is-customizing .analytics-consent-actions button.primary{background:#fff;color:#151515}
@media(max-width:640px){.analytics-consent{align-items:flex-end;padding:0}.analytics-consent-card{width:100%;max-height:82vh;padding:18px 18px calc(16px + env(safe-area-inset-bottom));border:0;border-radius:16px 16px 0 0}.analytics-consent-head{margin-bottom:12px}.analytics-consent-head img{width:92px}.analytics-consent-intro h2{font-size:20px}.analytics-consent-intro p{font-size:12px}.analytics-consent-intro .analytics-consent-note{font-size:10px}.analytics-consent-options{margin-top:18px}.analytics-consent-options-head{align-items:flex-start}.analytics-purpose{gap:14px;padding:13px 2px}.analytics-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:16px}.analytics-consent-actions button{min-width:0;padding:0 9px}.analytics-consent-actions button.primary,.analytics-consent-actions button.save{grid-column:1/-1}.analytics-consent-actions button.more{grid-column:1/-1}}

/* ============================================================
   2026-08-10 오버레이 규격 · 색상 · 가독성 교정
   - 와이드 모드와 무관하게 업무용 화면은 앱 규격(660px)을 유지한다.
   - 비교견적 화면이 사이트 팔레트 밖의 베이지색을 만들지 않게 한다.
   ============================================================ */
:root { --app-panel-w: 660px; }

.cqd-overlay,
#adminPanel {
    width: min(100vw, var(--app-panel-w)) !important;
    max-width: var(--app-panel-w) !important;
}

.cqd-overlay,
.cqd-frame,
.cqd-body {
    background: #f4f4f4 !important;
    color: #111 !important;
}
.cqd-bar {
    background: #fff !important;
    color: #111 !important;
    border-bottom: 1px solid #e6e6e6;
}
.cqd-back,
.cqd-close {
    background: #f4f4f4 !important;
    color: #111 !important;
}
.cqd-roles {
    max-width: 100% !important;
    background: #fff !important;
    border-bottom: 1px solid #e6e6e6;
}
.cqd-roles button {
    background: transparent !important;
    color: #6b6b6b !important;
}
.cqd-roles button.is-on {
    background: #eef2f0 !important;
    color: #163029 !important;
}
.cqd-screen {
    width: 100%;
    max-width: 660px !important;
}
.cqd-newhero,
.cqd-form,
.cqd-watchcard,
.cqd-offer,
.cqd-cust,
.cqd-photo-section {
    color: #111;
}

#adminPanel {
    background: #fff !important;
    color: #111 !important;
}
#adminPanel .co-topbar,
#adminPanel .admin-panel-scroll {
    background: #fff !important;
}
#adminPanel .admin-panel-scroll {
    width: 100%;
    max-width: 660px;
    margin-inline: auto;
}
#adminPanel .an-card,
#adminPanel .an-row,
#adminPanel .an2-chartwrap,
#adminPanel .an2-total {
    background: #f4f4f4;
}
#adminPanel .an-card b,
#adminPanel .an-h,
#adminPanel .an-name,
#adminPanel .co-title {
    color: #111;
}
#adminPanel .an-card span,
#adminPanel .an-mut,
#adminPanel .an-num,
#adminPanel .an2-cap {
    color: #707070;
}

.footer {
    background: #151515 !important;
    color: rgba(255,255,255,.78) !important;
}
.footer .footer-logo img,
.footer .install-banner-logo {
    filter: brightness(0) invert(1) !important;
}
.footer .footer-tagline,
.footer .footer-company-info,
.footer .footer-cs-info,
.footer .footer-copy {
    color: rgba(255,255,255,.72) !important;
}
.footer .footer-company-info strong,
.footer .footer-cs-info strong,
.footer .footer-legal-link,
.footer .install-banner-sub,
.footer .install-banner-arrow {
    color: rgba(255,255,255,.9) !important;
}
.footer .footer-since,
.footer .footer-since strong,
.footer .footer-tel-link {
    color: #d7c08a !important;
}

@media (min-width: 700px) {
    .cqd-overlay,
    #adminPanel {
        box-shadow: 0 0 70px rgba(0,0,0,.2);
    }
}
