/* V5.2 PRODUCTION — 공식 사업자 정보 푸터 · 결제 준비 중 상태 · NABI AI CONCIERGE */
body[data-route] .ftr-cs { display: grid; gap: 2px; margin-bottom: 10px; }
body[data-route] .ftr-cs-h { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--w); margin-bottom: 4px !important; }
body[data-route] .ftr-tels { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--k); }
body[data-route] .ftr-tels a, body[data-route] .ftr-cs a { color: var(--k); text-decoration: none; }
body[data-route] .ftr-tels a:hover, body[data-route] .ftr-cs a:hover { color: var(--w); }
body[data-route] .ftr-biz { font-size: 12px; line-height: 1.75; color: #6b6670; }
body[data-route] .ftr-biz span { white-space: nowrap; }
body[data-route] .ftr-verify { margin-left: 6px; color: var(--w); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 640px) { body[data-route] .ftr-biz span { white-space: normal; } body[data-route] .ftr-tels { font-size: 18px; } }
.btn[disabled][data-pay], .btn[disabled][data-testid=paybar-pay] { opacity: 0.55; cursor: not-allowed; }

/* ───────── NABI AI CONCIERGE ───────── */
.nabi-page { max-width: 880px; margin: 0 auto; padding-top: clamp(28px, 5vw, 64px); }
.nabi-hero { text-align: center; }
.nabi-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; color: var(--w, #8E3655); margin: 0; }
.nabi-mark { width: 28px; height: 21px; color: var(--w, #8E3655); flex: none; }
.nabi-h { font-family: var(--display, inherit); font-weight: 400; font-size: clamp(34px, 6vw, 60px); line-height: 1.08; letter-spacing: -0.02em; margin: 18px 0 14px; color: var(--k, #242126); }
.nabi-sub { color: #5b5560; font-size: clamp(15px, 1.6vw, 17px); line-height: 1.65; margin: 0 auto 28px; max-width: 560px; }
.nabi-chat { text-align: left; background: #fff; border-radius: 28px; padding: 18px; border: 1px solid #efe9e4; }
.nabi-log { max-height: min(56vh, 560px); min-height: 120px; overflow-y: auto; padding: 6px 4px 12px; display: grid; gap: 14px; scroll-behavior: smooth; }
.nabi-empty { color: #8a848e; font-size: 14px; text-align: center; padding: 28px 8px; }
.nabi-msg { display: flex; gap: 10px; align-items: flex-start; }
.nabi-msg.is-me { justify-content: flex-end; }
.nabi-av { width: 32px; height: 32px; border-radius: 50%; background: #f6eef1; display: grid; place-items: center; flex: none; }
.nabi-av .nabi-mark { width: 18px; height: 14px; }
.nabi-bubble { max-width: min(560px, 86%); border-radius: 20px; padding: 12px 16px; font-size: 15px; line-height: 1.65; }
.is-me .nabi-bubble { background: var(--w, #8E3655); color: #fff; border-bottom-right-radius: 6px; }
.is-ai .nabi-bubble { background: #FAF7F5; color: var(--k, #242126); border-top-left-radius: 6px; }
.nabi-text.prose p { margin: 0 0 6px; } .nabi-text.prose ul, .nabi-text.prose ol { margin: 4px 0 6px; padding-left: 20px; } .nabi-text.prose > :last-child { margin-bottom: 0; }
.nabi-dots { display: inline-flex; gap: 4px; } .nabi-dots i { width: 6px; height: 6px; border-radius: 50%; background: #b9a9b0; animation: nabiDot 1.2s infinite ease-in-out; }
.nabi-dots i:nth-child(2) { animation-delay: 0.15s; } .nabi-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes nabiDot { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nabi-dots i { animation: none; opacity: 0.7; } .nabi-log { scroll-behavior: auto; } }
.nabi-cards { display: grid; gap: 10px; margin-top: 10px; }
.nabi-card { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 10px; text-decoration: none; color: inherit; border: 1px solid #efe9e4; }
.nabi-card:hover { border-color: #d9c6ce; }
.nabi-card-img { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #f2eee9; flex: none; } .nabi-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nabi-card-txt { display: grid; gap: 2px; min-width: 0; } .nabi-card-txt b { font-size: 14px; } .nabi-card-txt small { color: #8a848e; font-size: 12px; }
.nabi-card-price { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: #46414b; } .nabi-card-price em { font-style: normal; font-weight: 600; color: var(--k, #242126); }
.nabi-card-cta { font-size: 12px; color: var(--w, #8E3655); display: inline-flex; align-items: center; gap: 2px; }
.nabi-video { margin: 10px 0 0; } .nabi-video video { width: 100%; border-radius: 14px; background: #1d1a19; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.nabi-video figcaption { font-size: 12px; color: #6b6670; margin-top: 6px; } .nabi-ai-tag { color: #8a848e; }
.nabi-links, .nabi-related { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; } .nabi-related small { width: 100%; color: #8a848e; font-size: 12px; }
.nabi-chip { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid #e6dcd5; color: var(--k, #242126); text-decoration: none; cursor: pointer; font-family: inherit; }
.nabi-chip:hover { border-color: var(--w, #8E3655); color: var(--w, #8E3655); }
.nabi-menu { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 10px 0 12px; }
.nabi-topic { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px; border-radius: 18px; background: #FAF7F5; border: 0; font: inherit; font-size: 13px; color: var(--k, #242126); cursor: pointer; text-align: center; line-height: 1.3; }
.nabi-topic .ico { color: var(--w, #8E3655); } .nabi-topic:hover { background: #f4ece8; } .nabi-topic:focus-visible, .nabi-chip:focus-visible, .nabi-send:focus-visible, .nabi-fab:focus-visible { outline: 2px solid var(--w, #8E3655); outline-offset: 2px; }
.nabi-input { display: flex; gap: 8px; align-items: center; background: #FAF7F5; border-radius: 999px; padding: 6px 6px 6px 20px; }
.nabi-input input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 10px 0; outline: none; color: var(--k, #242126); }
.nabi-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--w, #8E3655); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.nabi-note { font-size: 12px; color: #8a848e; margin: 10px 4px 0; display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.support-34.is-under-nabi { padding-top: 40px; } .support-34.is-under-nabi .page-head { margin-bottom: 14px; }
@media (max-width: 767px) {
  .nabi-chat { padding: 12px; border-radius: 22px; } .nabi-menu { grid-template-columns: repeat(3, 1fr); } .nabi-topic { min-height: 68px; font-size: 12.5px; }
  .nabi-log { max-height: 52vh; } .nabi-bubble { max-width: 90%; font-size: 14.5px; }
}
/* 오른쪽 아래 상담 버튼 · 창 — 자동으로 열리지 않음, 큰 움직임 없음 */
.nabi-fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(var(--tab, 0px) + var(--nabi-lift, 0px) + 20px); z-index: 60; width: 56px; height: 56px; border-radius: 50%; border: 0; background: #fff; color: var(--w, #8E3655); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(36, 33, 38, 0.12); }
.nabi-fab .nabi-mark { width: 28px; height: 21px; } .nabi-fab[hidden] { display: none; }
.nabi-panel { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(var(--tab, 0px) + 88px); z-index: 61; width: min(400px, calc(100vw - 36px)); max-height: min(640px, calc(100vh - 140px)); display: flex; flex-direction: column; background: #fff; border-radius: 24px; box-shadow: 0 18px 48px rgba(36, 33, 38, 0.16); overflow: hidden; }
.nabi-panel[hidden] { display: none; }
.nabi-panel-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 10px 18px; border-bottom: 1px solid #f1ece8; }
.nabi-panel-tools { display: flex; align-items: center; gap: 4px; } .nabi-panel-tools .link-btn { font-size: 12px; color: #6b6670; margin-right: 4px; }
.nabi-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: #5b5560; } .nabi-x:hover { background: #f6f2ef; }
.nabi-panel [data-nabi-body] { overflow-y: auto; flex: 1; } .nabi-panel .nabi-chat { border: 0; border-radius: 0; padding: 12px; }
.nabi-panel .nabi-log { max-height: none; min-height: 140px; } .nabi-panel .nabi-menu { grid-template-columns: repeat(3, 1fr); } .nabi-panel .nabi-topic { min-height: 60px; font-size: 12px; }
@media (max-width: 767px) {
  .nabi-fab { width: 50px; height: 50px; }
  .nabi-panel { left: 0; right: 0; bottom: 0; width: 100%; max-height: 88vh; border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  body.nabi-open .nabi-fab { display: none; }
}
@media print { .nabi-fab, .nabi-panel { display: none !important; } }
.nabi-chat .nabi-input input { border: 0 !important; background: transparent !important; box-shadow: none !important; height: auto; min-height: 44px; padding: 10px 0 !important; border-radius: 0; }
.nabi-chat .nabi-input:focus-within { box-shadow: 0 0 0 2px rgba(142, 54, 85, 0.25); }

/* V5.2.1 — 고객 화면에서 콘텐츠 관리용 배지를 쓰지 않는다 (관리자 분류는 그대로) */
body[data-route] .v4-tag:not(.is-demo), body[data-route] .v512-note, body[data-route] .nabi-ai-tag, body[data-route] .g73-flag { display: none !important; }
body[data-route] figcaption:empty, body[data-route] .v9-hero-note:empty, body[data-route] .v45-ai:empty { display: none; }
body[data-route] .yb-state.is-on { display: none; }
.v521-imgnote { font-size: 12.5px; color: #6b6670; margin: 8px 2px 0; line-height: 1.55; }
body[data-route] .ftr-disclose { font-size: 11.5px; color: #8a848e; line-height: 1.6; margin-top: 6px !important; }
.v521-was { color: #8a848e; font-weight: 400; font-size: 0.86em; margin-right: 2px; }
.v521-off, .v8-price span.v521-off, .mp-price span.v521-off { color: var(--nv-burgundy, #8E3655); font-weight: 700; font-size: 0.9em; margin-right: 4px; }
.v521-paynote { margin-top: 10px; font-size: 13px; width: 100%; }

/* V5.2.1 미세 보완 — 모바일 상품 상세: 상담 버튼 겹침 방지 · SIGNATURE 아래 여백 축소 */
.nabi-fab.is-tucked { opacity: 0; visibility: hidden; pointer-events: none; }
.nabi-fab { transition: opacity .2s ease, visibility .2s; }
@media (max-width: 760px) {
  .v9-pdp .g73-cap { min-height: 0; margin-top: 8px; }
  .v9-pdp .g73-cap b { line-height: 1.5; }
  .v9-pdp .v521-imgnote { margin-top: 4px; }
}
