/* 놀러와 공개 페이지 스타일 — 「농어촌 그린 · 따뜻한 에디토리얼」 (스타벅스 온기 + Cohere 절제) */
/* V5-22 — Pretendard @import는 wp_enqueue_style로 이관(렌더 블로킹 방지). 폰트 패밀리 선언은 아래 유지. */
:root {
  /* 농어촌 그린 앵커 */
  --nw-brand: #1F6E43; --nw-brand-strong: #175734; --nw-brand-weak: #E7F1EB;
  /* 딥 그린-블랙 밴드(히어로·푸터·모달) */
  --nw-navy: #0F2E22; --nw-navy-700: #163D2C; --nw-band: #0F2E22;
  /* 따뜻한 캔버스·표면·헤어라인 */
  --nw-bg: #F4F1EA; --nw-surface: #fff; --nw-line: #E4DFD3;
  /* 웜 잉크 텍스트 */
  --nw-text: #1A1A17; --nw-text-sub: #5B5F57; --nw-text-weak: #8C8B80;
  /* 성공·경고·위험 */
  --nw-positive: #2E9E5B; --nw-positive-weak: #E7F1EB;
  --nw-danger: #C4453C; --nw-warning: #C6912F;
  /* 골드 세리머니(합법성 뱃지 전용) */
  --nw-gold: #C6A15B; --nw-gold-weak: #F6EFDF;
  /* V5-39 — 모바일 하단 탭바 높이(하단 CTA bottom 오프셋과 값 공유). */
  --nw-tabbar-h: 50px;
}
.nollwa-public { margin: 0; background: var(--nw-bg); color: var(--nw-text);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif;
  font-size: 15px; letter-spacing: -0.01em;
  line-height: 1.6; -webkit-font-smoothing: antialiased; }
/* 폼 컨트롤(date·select 등)은 브라우저 기본상 글꼴을 상속하지 않으므로 사이트 글꼴 강제 적용. */
.nollwa-public input, .nollwa-public select, .nollwa-public textarea, .nollwa-public button {
  font-family: inherit; letter-spacing: inherit; }
.nw-svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ── 모션: 스크롤 리빌·히어로 진입 (motion.js가 클래스 부여, prefers-reduced-motion 존중) ── */
@media (prefers-reduced-motion: no-preference) {
  .nw-reveal { opacity: 0; transform: translateY(18px); will-change: opacity, transform; }
  .nw-reveal.nw-in { opacity: 1; transform: none;
    transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
  .nw-hero-title { animation: nw-rise .8s cubic-bezier(.22,.61,.36,1) both; }
  .nw-hero-sub { animation: nw-rise .8s cubic-bezier(.22,.61,.36,1) .08s both; }
  .nw-hero .nw-search, .nw-hero .nw-search-note { animation: nw-rise .8s cubic-bezier(.22,.61,.36,1) .16s both; }
  @keyframes nw-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}
.nollwa-public a { text-decoration: none; color: inherit; }
.nw-container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.nw-main { min-height: 60vh; padding-bottom: 64px; }

.nw-header { background: #fff; border-bottom: 1px solid var(--nw-line); position: sticky; top: 0; z-index: 10; }
.nw-header-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nw-logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; color: var(--nw-brand); }
.nw-logo-sym { width: auto; height: 30px; display: block; flex: 0 0 auto; }
/* 로고 록업(0712 확정 PNG) — 심볼+영문(+메인은 한글). 한글 표시 높이 = 영문 마지막 a 글자 높이.
   실측: 영문 이미지(513×159)의 a 글리프 91px, 한글 이미지(994×315)의 레터링 303px
   → 한글 img 높이 = 영문 img 높이 × (91/159) × (315/303) = 0.595배(영문 24px 기준 14.3px). */
.nw-logo-words { display: flex; align-items: flex-end; gap: 7px; }
.nw-logo-en-img { height: 24px; width: auto; display: block; }
.nw-logo-ko-img { height: 14.3px; width: auto; display: block; margin-bottom: 1px; }
.nw-logo-en-img--sm { height: 18px; }
/* (구 텍스트/SVG 록업 규칙 — 마이그레이션 잔여 대비 유지) */
.nw-logo-en { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: #006241; }
.nw-logo-ko { height: 15px; display: block; align-self: center; margin-top: 4px; }
.nw-nav a { font-size: 15px; color: #4e5968; font-weight: 600; }

.nw-page-title { font-size: 26px; font-weight: 800; margin: 32px 0 16px; }
.nw-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.nw-chip { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff;
  border: 1px solid #e5e8eb; font-size: 14px; color: #4e5968; font-weight: 600; cursor: pointer;
  transition: background .12s ease, border-color .12s ease, color .12s ease, transform .12s ease, box-shadow .12s ease; }
/* 클릭 가능성 시인성 — 호버 시 배경·보더·살짝 리프트, 누를 때 원위치(사용자 요청 0712). */
.nw-chip:hover { background: var(--nw-bg); border-color: var(--nw-brand); color: var(--nw-brand-strong);
  box-shadow: 0 2px 8px rgba(0,0,0,.07); transform: translateY(-1px); }
.nw-chip:active { transform: translateY(0); box-shadow: none; }
.nw-chip.is-active { background: var(--nw-brand); border-color: var(--nw-brand); color: #fff; }
.nw-chip.is-active:hover { background: var(--nw-brand-strong); border-color: var(--nw-brand-strong); color: #fff; }
/* 콘솔 버튼형 요소 공통 커서(칩과 동일한 클릭 가능성 신호). */
button.nw-search-btn, .nw-book-btn, .nw-nav-grp-hd { cursor: pointer; }
button.nw-search-btn:hover, .nw-book-btn:hover { filter: brightness(1.06); }
.nw-chip-region { background: #f2f4f6; border: 0; font-size: 12px; padding: 3px 10px; }

.nw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .nw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nw-grid { grid-template-columns: 1fr; } }
.nw-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: transform .15s, box-shadow .15s; }
.nw-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.nw-card-img { aspect-ratio: 4 / 3; background: #f2f4f6; display: flex; align-items: center; justify-content: center; }
.nw-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-card-img video.nw-card-video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.nw-card-noimg { font-size: 40px; opacity: .5; }
.nw-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.nw-card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nw-card-title { font-size: 18px; font-weight: 700; margin: 0; }
.nw-card-desc { font-size: 14px; color: #8b95a1; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.nw-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700;
  color: var(--nw-positive); background: var(--nw-positive-weak); border-radius: 6px; padding: 3px 8px; }
.nw-badge-lg { font-size: 14px; padding: 6px 12px; }
/* 합법성 뱃지 — 골드 세리머니(놀러와 핵심 차별화: 농어촌민박 신고 확인) */
.nw-badge-legal { color: var(--nw-gold); background: var(--nw-gold-weak);
  border: 1px solid rgba(198,161,91,.4); font-weight: 800; }
.nw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.nw-tag { font-size: 12px; color: #4e5968; background: #f2f4f6; border-radius: 6px; padding: 3px 8px; }
/* 프로모션(사업자 할인) 배지·칩 — 신고(초록)·합법성(골드)과 구분되는 레드 계열 */
.nw-badge-promo { color: var(--nw-danger); background: rgba(240,68,82,.08); }
.nw-tag-promo { color: var(--nw-danger); background: rgba(240,68,82,.08); font-weight: 700; }
.nw-promo-strip { margin-top: 8px; }
.nw-promo-line { display: block; color: var(--nw-danger); }

.nw-empty { color: #8b95a1; padding: 48px 0; text-align: center; }
.nw-pagination { margin-top: 32px; text-align: center; }
.nw-pagination .page-numbers { display: inline-block; padding: 6px 12px; margin: 0 2px; border-radius: 8px;
  background: #fff; border: 1px solid #e5e8eb; font-size: 14px; color: #4e5968; }
.nw-pagination .page-numbers.current { background: var(--nw-brand); border-color: var(--nw-brand); color: #fff; }

.nw-single { max-width: 800px; margin: 32px auto 0; }
.nw-gallery-main { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #f2f4f6;
  display: flex; align-items: center; justify-content: center; position: relative; touch-action: pan-y; }
.nw-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--nw-text);
  font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: background .15s; padding: 0 0 3px; }
.nw-gallery-nav:hover { background: #fff; }
.nw-gallery-nav.is-prev { left: 12px; }
.nw-gallery-nav.is-next { right: 12px; }
.nw-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-gallery-empty { flex-direction: column; color: #8b95a1; }
.nw-gallery-empty span { font-size: 48px; }
.nw-gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.nw-gallery-thumb { width: 84px; height: 63px; object-fit: cover; border-radius: 8px; cursor: pointer;
  opacity: .6; border: 2px solid transparent; }
.nw-gallery-thumb.is-active { opacity: 1; border-color: var(--nw-brand); }

.nw-single-head { margin: 24px 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.nw-single-title { font-size: 30px; font-weight: 800; margin: 0; }
.nw-section { background: #fff; border-radius: 16px; padding: 24px; margin-bottom: 16px; }
.nw-section h2 { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.nw-info, .nw-rooms { width: 100%; border-collapse: collapse; font-size: 15px; }
.nw-info th { width: 140px; text-align: left; color: #8b95a1; font-weight: 600; padding: 8px 0; vertical-align: top; }
.nw-info td { padding: 8px 0; }
.nw-rooms th { text-align: left; color: #8b95a1; font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--nw-line); }
.nw-rooms td { padding: 10px 0; border-bottom: 1px solid var(--nw-line); }
.nw-content { font-size: 15px; color: #333d4b; }
.nw-content img { max-width: 100%; height: auto; }
.nw-book { background: var(--nw-brand-weak); border-radius: 16px; padding: 24px; }
.nw-book h2 { font-size: 18px; margin: 0 0 8px; }
.nw-book p { margin: 0; color: #4e5968; font-size: 15px; }

.nw-footer { background: var(--nw-band); border-top: 0; padding: 40px 0; font-size: 14px; color: rgba(255,255,255,.72); }
.nw-footer p { margin: 0 0 4px; }
.nw-footer-nav { margin-bottom: 12px; }
.nw-footer-nav a { margin-right: 16px; font-weight: 600; color: rgba(255,255,255,.9); }
.nw-footer-sub { color: rgba(255,255,255,.5); font-size: 13px; }
.nw-footer-legal { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.nw-footer-notice { color: rgba(255,255,255,.62); font-size: 13px; margin-top: 8px; }
/* 관리자 바(로그인 상태) 보정 — 헤더는 #wpadminbar의 직접 형제라 기존 `~ *` 후손 선택자가 맞지 않아 무효였다(0919 수정).
   관리자 바 높이는 783px 이상 32px, 601~782px 46px. 600px 이하는 관리자 바가 absolute라 함께 스크롤돼 보정이 필요 없다.
   콘솔 사이드바·탑바는 헤더 바로 아래(60px)에 붙으므로 같은 만큼 내린다(≤900px에서는 둘 다 static이라 제외). */
#wpadminbar ~ .nw-header { top: 32px; }
@media (min-width: 900.02px) { /* ≤900px static 전환 규칙과 소수 폭(브라우저 줌)에서도 빈틈 없이 맞물리게 */
  #wpadminbar ~ * .nw-console-side { top: 92px; height: calc(100vh - 92px); }
  #wpadminbar ~ * .nw-console-topbar { top: 92px; }
}
@media (max-width: 782px) { #wpadminbar ~ .nw-header { top: 46px; } }
@media (max-width: 600px) { #wpadminbar ~ .nw-header { top: 0; } }

/* ── 메인 페이지 ─────────────────────────────── */
.nw-main-full { min-height: 60vh; padding-bottom: 64px; }
.nw-sec { max-width: 1040px; margin: 40px auto 0; padding: 0 20px; }
.nw-sec-title { font-size: 22px; font-weight: 800; margin: 0 0 16px; }
.nw-sec-note { font-size: 13px; font-weight: 500; color: var(--nw-text-weak); margin-left: 8px; }

.nw-hero { background: linear-gradient(160deg, var(--nw-band) 0%, #0A2016 100%);
  color: #fff; padding: 56px 0 48px; }
.nw-hero .nw-container { max-width: 1040px; }
.nw-hero-title { font-size: 34px; font-weight: 800; line-height: 1.3; margin: 0 0 8px; }
.nw-hero-title em { font-style: normal; color: #7FD1A6; }
.nw-hero-sub { margin: 0 0 24px; color: rgba(255,255,255,.72); font-size: 16px; }

.nw-search { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; gap: 8px;
  background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.nw-search-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nw-search-field span { font-size: 12px; font-weight: 700; color: var(--nw-text-sub);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nw-search-field input, .nw-search-field select { border: 1px solid var(--nw-line); border-radius: 10px;
  padding: 8px 10px; font-size: 14px; color: var(--nw-text); background: #fff; min-width: 0; width: 100%;
  box-sizing: border-box; }
.nw-search-btn { white-space: nowrap; }
@media (max-width: 1180px) {
  .nw-search { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nw-search-btn { grid-column: 1 / -1; }
}
.nw-search-btn { align-self: end; background: var(--nw-brand); color: #fff; border: 0; border-radius: 999px;
  padding: 10px 24px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s ease, transform .1s ease; }
.nw-search-btn:hover { background: var(--nw-brand-strong); }
.nw-search-btn:active { transform: scale(0.97); }
/* 앵커형 버튼 글자색 — 테마(TT5) 글로벌 스타일의 :root :where(a) 링크색이 동점 특이도·후순위로 이겨 검정이 되므로 a.클래스로 명시 고정 */
a.nw-search-btn, a.nw-search-btn:visited, a.nw-search-btn:hover { color: #fff; }
.nw-search-note { margin: 10px 2px 0; font-size: 12px; color: rgba(255,255,255,.65); }
.nw-cond { font-size: 14px; color: var(--nw-text-sub); margin: 12px 0; }
.nw-main:not(.nw-main-full) .nw-search { margin-bottom: 14px; }

.nw-theme-bar { display: flex; gap: 6px; overflow-x: auto; background: #fff; border-radius: 16px;
  padding: 14px 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.nw-theme-item { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 84px;
  padding: 8px 6px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--nw-text-sub); }
.nw-theme-item:hover { background: var(--nw-brand-weak); color: var(--nw-brand); }
.nw-theme-ico { font-size: 26px; line-height: 1; }

.nw-region-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.nw-region-card { display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff;
  border-radius: 16px; padding: 0 0 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.05);
  font-size: 15px; text-align: center; }
.nw-region-img { width: 100%; aspect-ratio: 4/3; background: var(--nw-bg); display: flex;
  align-items: center; justify-content: center; font-size: 32px; margin-bottom: 8px; }
.nw-region-img img { width: 100%; height: 100%; object-fit: cover; }
.nw-region-count { font-size: 12px; color: var(--nw-text-weak); }

.nw-promo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
/* .nollwa-public a { color: inherit }보다 구체성을 높여 흰 글자 유지(안심·공식플랫폼 카드 대비). */
.nollwa-public .nw-promo { display: flex; flex-direction: column; gap: 6px; border-radius: 16px; padding: 20px;
  color: #fff; font-size: 17px; min-height: 96px; }
.nw-promo strong { font-weight: 800; }
.nw-promo-sub { font-size: 13px; opacity: .85; }
.nw-promo-badge { align-self: flex-start; background: rgba(255,255,255,.2); border-radius: 999px;
  font-size: 11px; font-weight: 700; padding: 2px 10px; }
.nw-promo-navy { background: linear-gradient(135deg, #0F2E22, #1A4331); }
.nw-promo-blue { background: linear-gradient(135deg, #175734, #1F6E43); }
.nw-promo-pink { background: linear-gradient(135deg, #D6336C, #F06595); }
.nw-promo-green { background: linear-gradient(135deg, #0CA678, #15B86A); }
.nw-promo-yellow { background: linear-gradient(135deg, #E8590C, #F59E0B); }

.nw-deal-badge { position: absolute; top: 10px; left: 10px; background: var(--nw-danger); color: #fff;
  font-size: 12px; font-weight: 700; border-radius: 6px; padding: 3px 8px; }
.nw-card-img { position: relative; }
.nw-deal-price { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; }
.nw-deal-pct { color: var(--nw-danger); font-weight: 800; }
.nw-deal-price strong { font-weight: 800; }

.nw-themecard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.nw-themecard { display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff;
  border-radius: 16px; padding: 22px 10px; box-shadow: 0 1px 3px rgba(0,0,0,.05); font-size: 15px; }
.nw-themecard:hover { box-shadow: 0 6px 16px rgba(0,0,0,.08); }

.nw-review-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.nw-review-card { background: #fff; border-radius: 16px; padding: 16px; display: flex;
  flex-direction: column; gap: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.05); font-size: 14px; }
.nw-review-stars { color: var(--nw-warning); font-size: 13px; }
.nw-review-card p { margin: 0; color: var(--nw-text-sub); }
.nw-review-meta { font-size: 12px; color: var(--nw-text-weak); }
.nw-review-meta a { color: var(--nw-brand); }

/* 마이페이지 리뷰 작성 폼 — 카드형, 평점 4항목 가로 1행 + 제목·내용 전체 폭 */
.nw-review-write { background: var(--nw-surface); border: 1px solid var(--nw-line); border-radius: 14px;
  padding: 18px; margin-top: 10px; text-align: left; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 12px 14px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.nw-review-write .nw-rw-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px;
  flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--nw-line); }
.nw-review-write .nw-rw-head strong { font-size: 15px; }
.nw-review-write .nw-rw-head span { font-size: 12px; color: var(--nw-text-weak); }
.nw-review-write .nw-rw-full { grid-column: 1 / -1; }
.nw-review-write textarea { border: 1px solid var(--nw-line); border-radius: 10px; padding: 8px 10px;
  font-size: 14px; resize: vertical; }
.nw-review-write .nw-rw-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
@media (max-width: 640px) { .nw-review-write { grid-template-columns: repeat(2, 1fr); } }

/* 공개 화면 표 가로 스크롤 래퍼(콘솔 :has 규칙 미적용 화면용) — 좁은 화면에서 예약번호·일정 줄바꿈 방지 */
.nw-tbl-scroll { overflow-x: auto; }

/* ── 이미지 배너(안심·공식플랫폼·입점안내 + 이벤트&혜택) — 실사 배경 + 브랜드 오버레이 + 텍스트 ── */
.nw-imgbanner-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nw-imgbanner-row2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.nollwa-public .nw-imgbanner { position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 168px; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate;
  box-shadow: 0 2px 10px rgba(0,0,0,.10); transition: transform .25s ease, box-shadow .25s ease; }
.nollwa-public a.nw-imgbanner:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.nw-imgbanner-lg { min-height: 210px; }
.nw-imgbanner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .6s ease; }
.nollwa-public a.nw-imgbanner:hover .nw-imgbanner-bg { transform: scale(1.06); }
.nw-imgbanner::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.42) 42%, rgba(0,0,0,.06) 100%); }
.nw-imgbanner-green::before { background: linear-gradient(to top, rgba(15,46,34,.88) 0%, rgba(23,87,52,.40) 46%, rgba(0,0,0,.05) 100%); }
.nw-imgbanner-navy::before { background: linear-gradient(to top, rgba(8,22,16,.88) 0%, rgba(15,46,34,.44) 46%, rgba(0,0,0,.05) 100%); }
.nw-imgbanner-amber::before { background: linear-gradient(to top, rgba(60,32,6,.86) 0%, rgba(180,95,12,.30) 48%, rgba(0,0,0,.04) 100%); }
.nw-imgbanner-summer::before { background: linear-gradient(to top, rgba(4,32,52,.82) 0%, rgba(12,90,120,.30) 48%, rgba(0,0,0,.04) 100%); }
.nw-imgbanner-gold::before { background: linear-gradient(to top, rgba(48,20,4,.84) 0%, rgba(150,72,14,.32) 48%, rgba(0,0,0,.04) 100%); }
.nw-imgbanner-in { position: relative; padding: 18px 20px; display: flex; flex-direction: column; gap: 5px; }
.nw-imgbanner-badge { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .03em;
  padding: 3px 11px; border-radius: 999px; margin-bottom: 5px; background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.25); }
.nw-imgbanner-green .nw-imgbanner-badge { background: var(--nw-brand); border-color: transparent; }
.nw-imgbanner-navy .nw-imgbanner-badge { background: #163D2C; border-color: transparent; }
.nw-imgbanner-amber .nw-imgbanner-badge { background: var(--nw-warning); border-color: transparent; }
.nw-imgbanner-summer .nw-imgbanner-badge { background: #E8590C; border-color: transparent; }
.nw-imgbanner-gold .nw-imgbanner-badge { background: var(--nw-gold); border-color: transparent; color: #3a2405; }
.nollwa-public .nw-imgbanner strong { font-size: 20px; font-weight: 800; line-height: 1.22; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
.nw-imgbanner-lg strong { font-size: 23px; }
.nw-imgbanner-sub { font-size: 13px; opacity: .94; text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.nw-imgbanner-cta { margin-top: 5px; font-size: 13px; font-weight: 800; opacity: .98; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

/* ── 회원 ─────────────────────────────────────── */
.nw-nav a { margin-left: 14px; }
.nw-nav-strong { color: var(--nw-brand) !important; }
/* 로그인 상태 표시(0717 ③) — 이름님 배지 + 로그아웃 링크. 모바일 드로어에서는 a 규칙이 폭·보더를 잡아준다. */
.nw-nav-user { margin-left: 14px; font-size: 13.5px; font-weight: 700; color: var(--nw-brand);
  background: var(--nw-brand-weak); border-radius: 999px; padding: 4px 10px; }
.nw-nav-logout { color: var(--nw-text-sub) !important; font-size: 14px; }
.nw-nav.is-open .nw-nav-user { align-self: flex-start; margin: 10px 0 4px; }
.nw-member-ok { background: var(--nw-positive-weak); color: var(--nw-positive); border-radius: 10px;
  padding: 10px 14px; font-size: 14px; font-weight: 600; }
.nw-like { font-size: 24px; color: var(--nw-danger); text-decoration: none; line-height: 1; }
.nw-like.is-on { color: var(--nw-danger); }
.nw-single-title-row { display: flex; align-items: center; gap: 12px; }
.nw-review-item { border-bottom: 1px solid var(--nw-line); padding: 12px 0; font-size: 14px; }
.nw-review-item p { margin: 6px 0; color: var(--nw-text-sub); }
.nw-book-form textarea { border: 1px solid var(--nw-line); border-radius: 10px; padding: 8px 10px;
  font-size: 14px; font-family: inherit; }

/* 콘솔 상단바 통합 검색 — 페이지명과 사용자 칩 사이 인라인 폼(N1) */
.nw-topbar-search { display: flex; align-items: center; gap: 6px; }
.nw-topbar-search input[type="search"] { width: 220px; max-width: 40vw; height: 34px;
  border: 1px solid var(--nw-line); border-radius: 999px; padding: 0 14px;
  background: var(--nw-bg); font-size: 13px; }
.nw-topbar-search input[type="search"]:focus { outline: none; border-color: var(--nw-brand); background: #fff; }

/* 상태 집계 카드 — 링크형 카드(클릭 시 상태 필터, N1). .nw-stat 규칙 위에 상속 */
a.nw-stat { text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s, border-color .15s; }
a.nw-stat:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); transform: translateY(-1px); }
a.nw-stat.is-active { border-color: var(--nw-brand); box-shadow: 0 0 0 2px var(--nw-brand-weak); }

/* ── 콘솔 레이아웃(관리자·사업자 — demo admin/biz 스타일) ── */
.nw-console { display: flex; min-height: calc(100vh - 60px); background: var(--nw-bg); }
.nw-console-side { width: 240px; flex: 0 0 240px; background: #fff; border-right: 1px solid var(--nw-line);
  position: sticky; top: 60px; height: calc(100vh - 60px); overflow-y: auto; }
.nw-console-brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px;
  font-weight: 800; font-size: 18px; color: var(--nw-navy); letter-spacing: -0.03em; }
.nw-console-brand .nw-logo-box { width: 30px; height: 30px; border-radius: 9px; color: #fff; font-size: 15px;
  background: linear-gradient(135deg, var(--nw-brand), var(--nw-brand-strong));
  display: grid; place-items: center; box-shadow: 0 4px 10px rgba(31,110,67,.35); }
.nw-role-pill { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--nw-brand);
  background: var(--nw-brand-weak); padding: 3px 9px; border-radius: 999px; }
.nw-console-nav { padding: 6px 12px 24px; }
.nw-nav-group { font-size: 13px; font-weight: 700; color: var(--nw-text-sub); padding: 16px 12px 6px; }
.nw-nav-item { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px;
  color: var(--nw-text-sub); font-size: 14.5px; font-weight: 600; }
.nw-nav-item .nw-nav-ico { width: 20px; display: grid; place-items: center; opacity: .9; }
.nw-nav-item.is-active .nw-nav-ico { opacity: 1; }
.nw-nav-item:hover { background: var(--nw-bg); color: var(--nw-text); }
.nw-nav-item.is-active { background: var(--nw-brand-weak); color: var(--nw-brand-strong); }
.nw-nav-badge { margin-left: auto; background: var(--nw-danger); color: #fff; font-size: 11px;
  font-weight: 700; border-radius: 999px; padding: 1px 8px; }
/* ── 콘솔 내비 2단계(접기/펼침) — R1 ────────────────── */
.nw-nav-grp-hd { display: flex; align-items: center; width: 100%; gap: 8px;
  padding: 16px 12px 6px; border: 0; background: none; cursor: pointer;
  font-size: 13.5px; font-weight: 700; color: var(--nw-text-sub); text-align: left; }
.nw-nav-grp-hd:hover { color: var(--nw-text); }
.nw-nav-grp-hd .nw-nav-chev { margin-left: auto; font-size: 10px; line-height: 1;
  color: var(--nw-text-weak); transition: transform .15s ease; }
.nw-nav-grp.is-open .nw-nav-grp-hd .nw-nav-chev { transform: rotate(180deg); }
.nw-nav-grp-body { display: none; }
.nw-nav-grp.is-open .nw-nav-grp-body { display: block; }
.nw-console-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nw-console-topbar { height: 58px; flex: 0 0 58px; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--nw-line);
  display: flex; align-items: center; gap: 14px; padding: 0 28px; position: sticky; top: 60px; z-index: 20; }
.nw-console-topbar .nw-page-name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
/* V5-18 지원 — nw-page-name이 <h1>이 되어도 브라우저 기본 여백·글자크기가 새지 않게 리셋. */
h1.nw-page-name { font-size: inherit; margin: 0; }
.nw-console-topbar .nw-crumb { font-size: 13px; color: var(--nw-text-weak); }
.nw-console-topbar .nw-spacer { flex: 1; }
.nw-user-chip { display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 6px;
  border-radius: 999px; background: var(--nw-bg); }
.nw-user-chip .nw-ava { width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 700;
  font-size: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--nw-brand), var(--nw-brand-strong)); }
.nw-user-chip .nw-meta b { font-size: 13px; font-weight: 700; display: block; line-height: 1.2; }
.nw-user-chip .nw-meta span { font-size: 11px; color: var(--nw-text-weak); }
.nw-console-content { padding: 24px 28px 48px; max-width: 1200px; width: 100%;
  box-sizing: border-box; } /* O5 — width:100%+패딩 56px가 content-box로 전 폭에서 가로 넘침을 만들던 버그 수정 */
.nw-console-content .nw-section { box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.nw-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.nw-stat { background: #fff; border: 1px solid var(--nw-line); border-radius: 16px; padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05); display: flex; flex-direction: column; gap: 12px; }
.nw-stat .nw-stat-top { display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--nw-text-sub); }
.nw-ico-box { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.nw-ico-box .nw-svg { width: 19px; height: 19px; }
.nw-ico-brand { background: var(--nw-brand-weak); color: var(--nw-brand); }
.nw-ico-positive { background: var(--nw-positive-weak); color: var(--nw-positive); }
.nw-ico-purple { background: #F0ECFF; color: #7C5CFC; }
.nw-ico-warning { background: #FEF4E6; color: var(--nw-warning); }
.nw-ico-navy { background: #E7EDF6; color: var(--nw-navy); }
.nw-ico-danger { background: #FDECEE; color: var(--nw-danger); }
.nw-stat .nw-stat-value { font-size: 27px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.nw-stat .nw-stat-value small { font-size: 15px; font-weight: 700; color: var(--nw-text-sub); margin-left: 2px; }
.nw-stat .nw-stat-sub { font-size: 12.5px; font-weight: 700; color: var(--nw-text-weak); }
@media (max-width: 900px) {
  .nw-console { flex-direction: column; }
  .nw-console-side { width: 100%; flex: none; position: static; height: auto; border-right: 0;
    border-bottom: 1px solid var(--nw-line); }
  .nw-console-nav { display: flex; overflow-x: auto; padding: 0 8px 10px; }
  .nw-nav-group { display: none; }
  .nw-nav-item { white-space: nowrap; }
  /* 모바일 — 기존 평면 가로 스크롤 유지: 그룹 헤더 숨김, 전 항목 노출(열린 그룹 규칙보다 우선하도록 접두 특이도 확보). */
  .nw-console-nav .nw-nav-grp-hd { display: none; }
  .nw-console-nav .nw-nav-grp,
  .nw-console-nav .nw-nav-grp-body,
  .nw-console-nav .nw-nav-grp.is-open .nw-nav-grp-body { display: contents; }
  .nw-console-topbar { top: 0; position: static; }
  .nw-topbar-search { display: none; } /* 모바일 topbar 폭 보호(예약관리 탭 상세 검색으로 대체) */
  .nw-stat-grid { grid-template-columns: 1fr; }
  /* O5 모바일 스윕 보정 — 콘솔 패딩 축소, 인라인 열 고정(repeat(4,1fr) 등) 그리드는 2열로 강제,
     콘솔 캘린더는 셀 가독폭(560px)을 보장하고 섹션 안에서 가로 스크롤. 공개 상세 캘린더는 영향 없음(콘솔 스코프). */
  .nw-console-content { padding: 16px 12px 40px; }
  .nw-stat-grid[style] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } /* minmax(0)—카드 min-content가 그리드를 밀어내지 않게 */
  .nw-console-content .nw-section:has(.nw-cal) { overflow-x: auto; }
  .nw-console-content .nw-cal { min-width: 560px; }
  /* U11 모바일 스윕 — 콘솔 표 섹션은 가로 스크롤 허용(처리열 select·버튼이 페이지를 옆으로 밀지 않게, :has(.nw-cal)과 동형).
     넓은 표(5열 이상, 템플릿 nw-wide 마커)만 판독 최소폭 보장 — 좁은 표는 스크롤 없이 현행 유지. 공개 화면은 콘솔 스코프라 무영향. */
  .nw-console-content .nw-section:has(.nw-rooms) { overflow-x: auto; }
  .nw-console-content .nw-rooms.nw-wide { min-width: 680px; }
  /* 초광폭 표(nw-xwide) — 예약 관리처럼 7열+처리열(드롭다운·칩)인 표는 680px로도 열이 눌려
     세로로 늘어지므로, 데스크톱 판독폭을 보장하고 섹션 가로 스크롤로 본다. */
  .nw-console-content .nw-rooms.nw-xwide { min-width: 960px; }
}

/* W2 리뷰 항목별 평점(시설·청결·서비스) — 별점 아래 강조 라인 */
.nw-review-scores { display: inline-block; margin: 4px 0 2px; padding: 3px 10px;
  border-radius: 8px; background: var(--nw-brand-weak); color: var(--nw-brand-strong);
  font-size: 12px; font-weight: 700; }

/* ── 객실 수정 폼 전폭 행(객실·요금 탭, N4) — 앵커 행 아래 전폭으로 펼침 ── */
.nw-room-edit-cell { padding: 0 0 12px; }
.nw-room-edit-cell > details { background: var(--nw-bg); border: 1px solid var(--nw-line);
  border-radius: 14px; padding: 10px 14px; }

/* ── 콘솔 사진 관리 ────────────────────────────── */
/* R2 사진 관리 — 숙소 사진 셀(이미지 + 카테고리 변경 폼) */
.nw-photo-cell { display: flex; flex-direction: column; gap: 6px; }
.nw-photo-catform { display: flex; gap: 6px; align-items: center; }
.nw-photo-catform select { flex: 1; min-width: 0; padding: 5px 8px; border: 1px solid var(--nw-line);
  border-radius: 8px; background: #fff; font-size: 12.5px; }
.nw-photo-catform .nw-chip { cursor: pointer; padding: 5px 12px; }
.nw-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 10px 0; }
.nw-photo { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--nw-bg); }
.nw-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.nw-photo figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(15,46,34,.75); color: #fff;
  font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.nw-photo-del { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(15,46,34,.65); color: #fff; display: grid; place-items: center; font-size: 15px; line-height: 1; }
.nw-photo-del:hover { background: var(--nw-danger); }

/* ── 콘솔 차트(demo bars·donut·progress 포팅) ──── */
.nw-row { display: flex; gap: 14px; margin-bottom: 16px; }
.nw-row .nw-section { margin: 0; }
.nw-flex2 { flex: 2; min-width: 0; }
.nw-flex1 { flex: 1; min-width: 0; }
.nw-bars { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding-top: 10px; }
.nw-bars .nw-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  height: 100%; justify-content: flex-end; }
.nw-bars .nw-bar .nw-fill { width: 60%; max-width: 30px; border-radius: 6px 6px 4px 4px;
  background: var(--nw-brand); transition: height .5s cubic-bezier(.2,.8,.2,1); }
.nw-bars .nw-bar.is-now .nw-fill { background: var(--nw-brand-strong); }
.nw-bars .nw-bar .nw-bl { font-size: 11.5px; color: var(--nw-text-weak); }
.nw-bars .nw-bar .nw-bv { font-size: 11px; font-weight: 700; color: var(--nw-text-sub); }
.nw-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--nw-text-sub); margin-top: 14px; }
.nw-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: -1px; }
.nw-progress { height: 8px; background: var(--nw-bg); border-radius: 999px; overflow: hidden; width: 120px; }
.nw-progress > span { display: block; height: 100%; border-radius: 999px; background: var(--nw-brand); }
.nw-donut-wrap { display: flex; align-items: center; gap: 22px; }
.nw-donut { width: 132px; height: 132px; flex: 0 0 132px; border-radius: 50%; position: relative; }
.nw-donut .nw-hole { position: absolute; inset: 22px; background: #fff; border-radius: 50%;
  display: grid; place-items: center; text-align: center; }
.nw-donut .nw-hole b { font-size: 22px; font-weight: 800; display: block; }
.nw-donut .nw-hole span { font-size: 11px; color: var(--nw-text-weak); }
.nw-donut-legend { display: flex; flex-direction: column; gap: 10px; flex: 1; font-size: 14px; }
.nw-donut-legend .nw-between { display: flex; justify-content: space-between; align-items: center; }
.nw-dot-sq { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 7px; }
@media (max-width: 900px) { .nw-row { flex-direction: column; } }

/* ── 객실 상세 팝업 ────────────────────────────── */
.nw-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  overscroll-behavior: contain; }
.nw-modal[hidden] { display: none; }
/* 모달 열림 중 배경 스크롤 잠금 — body만 잠그면 크롬 휠 래칭이 뒤 페이지를 스크롤해 html에도 건다(0721). */
html.nw-scroll-lock, body.nw-scroll-lock { overflow: hidden !important; }
.nw-modal-backdrop { position: absolute; inset: 0; background: rgba(15,46,34,.55); }
.nw-modal-panel { position: relative; background: #fff; border-radius: 20px; padding: 24px;
  width: min(560px, calc(100vw - 32px)); max-height: min(80vh, 720px); overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.25); }
/* 닫기 버튼 — 사진 위에 겹쳐도 판독되도록 흰 원형 칩(0717 사용자 검토). */
.nw-modal-close { position: absolute; top: 12px; right: 16px; z-index: 5; width: 34px; height: 34px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 1px 6px rgba(0,0,0,.25);
  font-size: 21px; line-height: 34px; text-align: center; color: var(--nw-text); cursor: pointer; }
.nw-modal-close:hover { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.nw-modal-img { border-radius: 12px; overflow: hidden; margin-bottom: 14px; position: relative; touch-action: pan-y; }
.nw-modal-img img { width: 100%; display: block; }
.nw-mini-count { position: absolute; right: 10px; bottom: 10px; background: rgba(15,46,34,.7); color: #fff;
  font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; }

/* ── 상세 OTA 개편: 포토 모자이크·요약 스트립·객실 카드·라이트박스 ── */
.nw-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 200px);
  gap: 8px; position: relative; border-radius: 16px; overflow: hidden; }
.nw-mosaic.is-single { grid-template-columns: 1fr; grid-template-rows: 400px; }
.nw-mosaic.is-few { grid-template-columns: 2fr 1fr; } /* 사진 3~4장: 대형 1 + 우측 세로 2 */
.nw-mosaic-cell { border: 0; padding: 0; cursor: pointer; overflow: hidden; background: var(--nw-bg); }
.nw-mosaic-cell.is-hero { grid-row: 1 / 3; }
.nw-mosaic-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.nw-mosaic-cell:hover img { transform: scale(1.03); }
.nw-mosaic-cell.nw-mosaic-video { cursor: default; }
.nw-mosaic-cell.nw-mosaic-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-mosaic-all { position: absolute; right: 12px; bottom: 12px; border: 0; border-radius: 10px;
  background: rgba(255,255,255,.92); font-size: 13px; font-weight: 700; padding: 8px 12px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.nw-lightbox-panel { position: relative; max-width: 900px; width: calc(100% - 40px); margin: 5vh auto;
  background: #111; border-radius: 16px; overflow: hidden; touch-action: pan-y; }
.nw-lightbox-panel img { width: 100%; max-height: 80vh; object-fit: contain; display: block; }
.nw-sumstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.nw-sumcard { border: 1px solid var(--nw-line); border-radius: 14px; padding: 14px; background: var(--nw-surface);
  display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.nw-sumcard b { font-size: 14px; }
.nw-sumcard a { font-size: 13px; font-weight: 600; }
.nw-sum-excerpt { margin: 0; color: var(--nw-text-sub); line-height: 1.5; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-sum-tags { gap: 4px; }
.nw-copy-addr { border: 1px solid var(--nw-line); background: var(--nw-surface); border-radius: 8px;
  font-size: 12px; padding: 3px 8px; cursor: pointer; }
.nw-roomcard { display: grid; grid-template-columns: 240px 1fr 170px; gap: 14px; border: 1px solid var(--nw-line);
  border-radius: 14px; padding: 12px; margin-bottom: 10px; background: var(--nw-surface); }
.nw-roomcard-photo { position: relative; border-radius: 10px; overflow: hidden; background: var(--nw-bg);
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.nw-roomcard-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-roomcard-noimg { font-size: 34px; opacity: .5; }
.nw-roomcard-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nw-roomcard-body h3 { margin: 0; font-size: 17px; }
.nw-roomcard-meta { margin: 0; font-size: 13px; color: var(--nw-text-sub); }
.nollwa-public .nw-roomcard-detail { border: 0; background: none; appearance: none; -webkit-appearance: none;
  color: var(--nw-text-sub); font-size: 13px; font-weight: 600; cursor: pointer; padding: 0;
  text-align: left; margin-top: auto; align-self: flex-start; }
.nollwa-public .nw-roomcard-detail:hover { color: var(--nw-brand); }
.nw-roomcard-price { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end;
  gap: 2px; text-align: right; border-left: 1px solid var(--nw-line); padding-left: 14px; }
.nw-roomcard-price b { font-size: 19px; }
.nw-roomcard-price s { color: var(--nw-text-weak); font-size: 13px; }
.nw-roomcard-price small { color: var(--nw-text-sub); font-size: 12px; }
.nw-roomcard-disc { color: var(--nw-danger); font-weight: 800; font-size: 14px; }
.nw-roomcard-avail { font-size: 12px; font-weight: 700; color: var(--nw-positive); }
.nw-roomcard-avail.is-soldout { color: var(--nw-danger); }
.nw-roomcard-price .nw-search-btn { margin-top: 6px; padding: 8px 18px; font-size: 14px; }
.nw-review-reply { margin-top: 8px; background: var(--nw-bg); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.nw-review-reply p { margin: 4px 0 0; }
.nw-datebar { display: grid; grid-template-columns: 1fr 1fr 100px auto; gap: 8px; align-items: end;
  border: 1px solid var(--nw-line); border-radius: 12px; padding: 12px; background: var(--nw-bg); margin-bottom: 12px; }
.nw-sortbar { align-items: center; }
.nw-sort-label { font-size: 13px; font-weight: 700; color: var(--nw-text-sub); margin-right: 2px; }
.nw-card-price { margin: 6px 0 0; text-align: right; }
.nw-card-price b { font-size: 17px; }
.nw-card-price s { color: var(--nw-text-weak); font-size: 12px; }
.nw-card-price small { color: var(--nw-text-sub); font-size: 12px; }
.nw-card-disc { color: var(--nw-danger); font-weight: 800; font-size: 13px; }
@media (max-width: 900px) { .nw-datebar { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .nw-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 120px 120px; }
  .nw-mosaic-cell.is-hero { grid-column: 1 / 3; grid-row: 1; }
  .nw-sumstrip { grid-template-columns: 1fr; }
  .nw-roomcard { grid-template-columns: 1fr; }
  .nw-roomcard-price { border-left: 0; padding-left: 0; border-top: 1px solid var(--nw-line); padding-top: 10px; }
}
.nw-modal-title { font-size: 20px; font-weight: 800; margin: 0 0 12px; }
.nw-modal-sub { font-size: 15px; font-weight: 700; margin: 16px 0 6px; }
.nw-room-reserve { margin-top: 16px; }
.nw-room-open { cursor: pointer; border: 1px solid var(--nw-line); background: #fff; }

/* ── 잔여 달력 ─────────────────────────────────── */
.nw-cal-row td { padding: 6px 0 12px; }
.nw-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; max-width: 720px; }
.nw-cal-dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--nw-text-sub); padding: 2px 0; }
.nw-cal-dow.is-sun, .nw-cal-day b.is-sun { color: var(--nw-danger); }
.nw-cal-dow.is-sat, .nw-cal-day b.is-sat { color: #2E5AAC; }
.nw-cal-empty { background: none; }
.nw-cal-day { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--nw-positive-weak);
  border-radius: 8px; padding: 4px 2px; font-size: 11px; }
.nw-cal-day b { font-weight: 700; color: var(--nw-text); }
.nw-cal-day i { font-style: normal; color: var(--nw-positive); font-weight: 700; }
.nw-cal-day.is-full { background: #FDECEE; }
.nw-cal-day.is-full i { color: var(--nw-danger); }
.nw-cal-day.is-past { background: var(--nw-bg); }
.nw-cal-day.is-past b, .nw-cal-day.is-past i, .nw-cal-day.is-past b.is-sun, .nw-cal-day.is-past b.is-sat { color: var(--nw-text-weak); }
/* V5-06 지원 — 달력 셀이 <button>이 될 때 브라우저 기본 버튼 스타일만 리셋(배경·글자크기 등 색·레이아웃은 위 기존 규칙이 그대로 담당). */
.nw-cal-day { appearance: none; -webkit-appearance: none; border: 0; width: 100%; color: inherit; }
@media (max-width: 560px) { .nw-cal { grid-template-columns: repeat(7, 1fr); } }

/* ── 예약 폼·확인 ─────────────────────────────── */
.nw-book-form { display: flex; flex-direction: column; gap: 12px; }
.nw-book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nw-book-btn { align-self: flex-start; }
.nw-book-note { margin: 4px 0 0; font-size: 13px; color: var(--nw-text-sub); }
.nw-book-error { background: #FDECEE; color: var(--nw-danger); border-radius: 10px;
  padding: 10px 14px; font-size: 14px; font-weight: 600; }
.nw-rooms small { color: var(--nw-text-weak); }

/* ── 부가서비스 관리(콘솔 설정 탭) — 토스식 카드 행·토글 ── */
.nw-addon-box { border: 1px solid var(--nw-line); border-radius: 16px; padding: 16px; background: var(--nw-surface); }
.nw-addon-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.nw-addon-head b { font-size: 15px; }
.nw-addon-head span { font-size: 13px; color: var(--nw-text-sub); }
.nw-addon-row { display: grid; grid-template-columns: 2fr 1.1fr 1fr 0.9fr auto auto; gap: 8px;
  align-items: end; padding: 12px; border: 1px solid var(--nw-line); border-radius: 12px;
  margin-bottom: 8px; background: var(--nw-bg); }
.nw-addon-del { border: 0; background: none; color: var(--nw-text-sub); font-size: 13px;
  cursor: pointer; padding: 8px 4px; border-radius: 8px; }
.nw-addon-del:hover { color: var(--nw-danger); background: #FDECEE; }
.nw-addon-add { border: 0; background: var(--nw-brand-weak); color: var(--nw-brand); font-weight: 700;
  font-size: 14px; border-radius: 12px; padding: 12px; width: 100%; cursor: pointer; transition: background .15s; }
.nw-addon-add:hover { background: #DBEAE1; }
.nw-switch { display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--nw-text-sub); padding-bottom: 8px; white-space: nowrap; }
.nw-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.nw-switch i { width: 38px; height: 22px; border-radius: 11px; background: #E0DCD2;
  position: relative; transition: background .2s; flex: 0 0 auto; }
.nw-switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .2s; }
.nw-switch input:checked + i { background: var(--nw-brand); }
.nw-switch input:checked + i::after { left: 18px; }
.nw-switch input:focus-visible + i { outline: 2px solid var(--nw-brand); outline-offset: 2px; }

/* ── 시즌 요금 블록(객실 수정) ── */
.nw-season-box { border: 1px solid var(--nw-line); border-radius: 12px; padding: 12px; background: var(--nw-surface); }
.nw-season-title { display: block; font-weight: 700; margin-bottom: 8px; }
.nw-season-title small { font-weight: 400; color: var(--nw-text-sub); }
.nw-season-row { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 8px; align-items: end; margin-bottom: 6px; }
.nw-season-check { font-weight: 600; padding-bottom: 9px; white-space: nowrap; }
.nw-season-row input:disabled { background: var(--nw-bg); color: var(--nw-text-weak); }
.nw-season-row.nw-season-custom { grid-template-columns: 1fr 1fr 1fr auto; }
.nw-season-add { margin-top: 4px; }

/* ── 숙소 팝업 공지·예약화면 공지 ── */
.nw-popup-overlay { position: fixed; inset: 0; background: rgba(25, 23, 17, .45); z-index: 90;
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.nw-popup-overlay[hidden] { display: none; }
.nw-popup { background: var(--nw-surface); border-radius: 20px; padding: 24px; max-width: 420px; width: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,.2); display: flex; flex-direction: column; gap: 12px; }
.nw-popup-title { font-size: 17px; }
.nw-popup p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--nw-text); }
.nw-book-notice { background: #FDF6E7; border: 1px solid #EAD9AE; color: #7A5A18; border-radius: 12px;
  padding: 10px 14px; font-size: 13px; line-height: 1.6; margin-bottom: 12px; }

@media (max-width: 900px) {
  .nw-book-grid { grid-template-columns: 1fr; }
  .nw-addon-row { grid-template-columns: 1fr 1fr; }
  .nw-search { grid-template-columns: repeat(3, 1fr); }
  .nw-search-btn { grid-column: 1 / -1; }
  .nw-region-grid { grid-template-columns: repeat(3, 1fr); }
  .nw-promo-row { grid-template-columns: repeat(2, 1fr); }
  .nw-imgbanner-row3 { grid-template-columns: repeat(2, 1fr); }
  .nw-themecard-grid { grid-template-columns: repeat(2, 1fr); }
  .nw-review-row { grid-template-columns: repeat(2, 1fr); }
  /* V5-37 — 시즌 요금 행이 좁은 화면에서 겹치지 않게 1열로. */
  .nw-season-row, .nw-season-row.nw-season-custom { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nw-hero-title { font-size: 26px; }
  .nw-search { grid-template-columns: repeat(2, 1fr); }
  .nw-region-grid { grid-template-columns: repeat(2, 1fr); }
  .nw-promo-row { grid-template-columns: 1fr; }
  .nw-review-row { grid-template-columns: 1fr; }
  .nw-imgbanner-row3, .nw-imgbanner-row2 { grid-template-columns: 1fr; }
}

/* ── 검색결과 필터 확장 — 지도 보기(OTA 로드맵 2차) ── */
.nw-archive-map { height: 420px; border-radius: 12px; margin: 4px 0 16px; border: 1px solid var(--nw-line); }
.nw-map-pop a { font-weight: 700; color: var(--nw-brand); text-decoration: none; }
.nw-map-pop a:hover { text-decoration: underline; }
.nw-map-pop-price { font-size: 13px; color: var(--nw-text-sub); margin-top: 2px; }

/* ── 리뷰 강화 — 베스트 뱃지·도움돼요·룸카드 기간 총액 ── */
.nw-badge-best { color: var(--nw-gold); background: var(--nw-gold-weak);
  border: 1px solid rgba(198,161,91,.4); font-weight: 800; }
.nw-review-meta .nw-helpful { display: inline-block; margin-left: 8px; }
.nw-helpful-btn { border: 1px solid var(--nw-line); background: var(--nw-surface); border-radius: 999px;
  padding: 2px 10px; font-size: 12px; color: var(--nw-text-sub); cursor: pointer; }
.nw-helpful-btn:hover { border-color: var(--nw-brand); color: var(--nw-brand); }
.nw-roomcard-total { font-size: 12px; font-weight: 700; color: var(--nw-text); }

/* ── 객실 달력 날짜 선택 — 셀 선택·구간·상태 줄·인라인 확인 패널 ── */
.nw-modal .nw-cal-day { cursor: pointer; }
.nw-modal .nw-cal-day.is-past { cursor: default; }
.nw-modal .nw-cal-day.is-sel { background: var(--nw-brand); }
.nw-modal .nw-cal-day.is-sel b, .nw-modal .nw-cal-day.is-sel i { color: #fff; }
/* 연박 구간(체크인·아웃 사이) — brand-weak(#E7F1EB)는 가용일 배경(positive-weak)과 동일해 구분이 안 보여 중간 톤 녹색으로 명시(0724). */
.nw-modal .nw-cal-day.is-range { background: #B9D8C7; }
/* V5-06 지원 — button 셀의 선택 상태(aria-pressed)를 기존 .is-sel 클래스와 동일하게. */
.nw-modal .nw-cal-day[aria-pressed="true"] { background: var(--nw-brand); }
.nw-modal .nw-cal-day[aria-pressed="true"] b, .nw-modal .nw-cal-day[aria-pressed="true"] i { color: #fff; }
/* V5-23 — 기본 상태는 위험색이 아닌 서브 텍스트색, 실제 경고(마감 임박 등)일 때만 danger. */
.nw-cal-status { color: var(--nw-text-sub); font-weight: 700; }
.nw-cal-status.is-warn { color: var(--nw-danger); }
.nw-cal-confirm { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--nw-line);
  border-radius: 12px; background: var(--nw-bg); }
.nw-cal-confirm-text { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.nw-cal-confirm .nw-chip { cursor: pointer; margin-left: 6px; }

/* ── 메인 히어로 광고 영상 배경(무음 루프) ── */
.nw-hero { position: relative; overflow: hidden; }
.nw-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.nw-hero-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(15, 46, 34, .55), rgba(15, 46, 34, .65)); }
.nw-hero .nw-container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .nw-hero-video { display: none; }
}

/* ── 메인 오버레이 헤더 — 히어로 영상 위에서는 투명+흰 글씨, 스크롤하면 기존 흰 배경+검은 글씨 ──
   헤더는 sticky 그대로 두고 히어로를 헤더 높이(60px+테두리 1px)만큼 끌어올려 겹친다.
   is-top은 layout-header.php 인라인 스크립트가 부여 — JS 미실행 시 기존 헤더로 남는다. */
.nw-header--overlay { transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.nw-header--overlay .nw-nav a { transition: color .25s ease; }
.nw-header--overlay .nw-nav-user { transition: color .25s ease, background-color .25s ease; }
.nw-header--overlay .nw-logo-words img { transition: filter .25s ease; }
.nw-header--overlay:not(.is-top) { box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.nw-header--overlay ~ .nw-main .nw-hero { margin-top: -61px; padding-top: 117px; }
/* 밝은 영상 프레임에서도 흰 글씨 대비(AA 4.5:1)를 지키는 상단 스크림 — 그라디언트는 transition이 안 되므로
   ::before에 깔고 opacity로 페이드한다(헤더 배경색 전환과 같은 .25s). inset 0은 padding-box라 하단 1px 테두리에 닿지 않는다. */
.nw-header--overlay::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .42), rgba(0, 0, 0, 0)); opacity: 0; transition: opacity .25s ease; }
.nw-header--overlay.is-top::before { opacity: 1; }
.nw-header--overlay.is-top { background: transparent; border-bottom-color: transparent; }
/* 워드마크만 흰색 반전 — 심볼은 원형 면이라 반전하면 형태가 뭉개지므로 원색 유지 */
.nw-header--overlay.is-top .nw-logo-words img { filter: brightness(0) invert(1); }
/* 모바일 드로어(is-open)는 자체 흰 배경이므로 흰 글씨 대상에서 제외 */
.nw-header--overlay.is-top .nw-nav:not(.is-open) a,
.nw-header--overlay.is-top .nw-nav:not(.is-open) .nw-nav-user { color: #fff !important; }
/* 로그인 이름 칩 — 밝은 칩 배경(brand-weak) 위 흰 글씨가 되지 않게 반투명 흰 칩으로 */
.nw-header--overlay.is-top .nw-nav:not(.is-open) .nw-nav-user { background: rgba(255, 255, 255, .18); }
.nw-header--overlay.is-top .nw-menu-btn span { background: #fff; }
.nw-header--overlay.is-top .nw-menu-btn:hover,
.nw-header--overlay.is-top .nw-menu-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .16); }
@media (prefers-reduced-motion: reduce) {
  .nw-header--overlay, .nw-header--overlay::before, .nw-header--overlay .nw-nav a, .nw-header--overlay .nw-nav-user,
  .nw-header--overlay .nw-logo-words img { transition: none; }
}
@media print { /* 인쇄는 배경 미출력 — 흰 글씨가 백지가 되지 않게 기본색 복원 */
  .nw-header--overlay.is-top { background: #fff; }
  .nw-header--overlay::before { display: none; }
  .nw-header--overlay.is-top .nw-nav:not(.is-open) a,
  .nw-header--overlay.is-top .nw-nav:not(.is-open) .nw-nav-user { color: var(--nw-text) !important; }
  .nw-header--overlay.is-top .nw-logo-words img { filter: none; }
}

/* ── 메인 오늘 체크인 특가·푸터 지역 인덱스(SEO) ── */
.nw-deal-price s { color: var(--nw-text-weak); font-weight: 500; font-size: 13px; }
.nw-footer-index { display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.nw-footer-index-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 13px; }
.nw-footer-index-group strong { color: rgba(255,255,255,.8); margin-right: 4px; }
.nw-footer-index-group a { color: rgba(255,255,255,.55); }
.nw-footer-index-group a:hover { color: rgba(255,255,255,.85); }

/* ── 모바일 내비게이션(≤900px 햄버거 드로어 + 하단 탭바) ── */
.nw-menu-btn { display: none; }
.nw-tabbar { display: none; }
@media (max-width: 900px) {
  .nw-menu-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px;
    background: none; cursor: pointer; }
  .nw-menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--nw-text); }
  .nw-menu-btn:hover { background: var(--nw-bg); }
  .nw-menu-btn[aria-expanded="true"] { background: var(--nw-brand-weak); }
  .nw-nav { display: none; }
  .nw-nav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--nw-surface); border-bottom: 1px solid var(--nw-line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08); padding: 6px 20px 10px; }
  .nw-nav.is-open a { margin-left: 0; padding: 13px 4px; border-bottom: 1px solid var(--nw-line); }
  .nw-nav.is-open a:last-child { border-bottom: 0; }
  .nw-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0;
    background: var(--nw-surface); border-top: 1px solid var(--nw-line); z-index: 80;
    padding-bottom: env(safe-area-inset-bottom);
    min-height: var(--nw-tabbar-h); /* V5-39 — 하단 CTA bottom 오프셋과 값 공유 */ }
  .nw-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px;
    font-size: 11px; font-weight: 600; color: var(--nw-text-sub); }
  .nw-tab-ico { font-size: 18px; line-height: 1; }
  body.nollwa-public { padding-bottom: 64px; }
}

/* == 0716 consumer-ux A == */
/* A1. 상세 섹션 탭 내비 — 갤러리 아래 sticky 바(헤더 바로 아래, top=헤더 높이 60px). */
.nw-detail-nav { position: sticky; top: 60px; z-index: 9;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--nw-surface); border-bottom: 1px solid var(--nw-line);
  margin: 0 0 8px; padding: 2px 0; }
#wpadminbar ~ * .nw-detail-nav { top: 92px; }
@media (max-width: 782px) { #wpadminbar ~ * .nw-detail-nav { top: 106px; } }
@media (max-width: 600px) { #wpadminbar ~ * .nw-detail-nav { top: 60px; } }
.nw-detail-nav-tabs { display: flex; gap: 4px; min-width: 0; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nw-detail-nav-tabs::-webkit-scrollbar { display: none; }
.nw-dnav-tab { flex: 0 0 auto; padding: 10px 14px; font-size: 15px; font-weight: 700;
  color: var(--nw-text-sub); border-bottom: 2px solid transparent; white-space: nowrap; }
.nw-dnav-tab:hover { color: var(--nw-brand-strong); }
.nw-dnav-tab.is-active { color: var(--nw-brand); border-bottom-color: var(--nw-brand); }
.nw-detail-nav-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nw-dnav-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.nw-dnav-price b { font-size: 16px; color: var(--nw-text); }
.nw-dnav-price small { font-size: 11px; color: var(--nw-text-weak); }
.nw-dnav-book { align-self: center; padding: 8px 16px; font-size: 14px; }
/* 앵커 점프·스무스 스크롤 시 sticky 헤더(60)+탭바에 가리지 않도록 여백 확보. */
#nw-top, #nw-rooms, #nw-amens-sec, #nw-info-sec, #nw-map-sec, #pension-reviews { scroll-margin-top: 120px; }
#wpadminbar ~ * #nw-top, #wpadminbar ~ * #nw-rooms, #wpadminbar ~ * #nw-amens-sec,
#wpadminbar ~ * #nw-info-sec, #wpadminbar ~ * #nw-map-sec, #wpadminbar ~ * #pension-reviews { scroll-margin-top: 152px; }
@media (max-width: 782px) { #wpadminbar ~ * #nw-top, #wpadminbar ~ * #nw-rooms, #wpadminbar ~ * #nw-amens-sec,
  #wpadminbar ~ * #nw-info-sec, #wpadminbar ~ * #nw-map-sec, #wpadminbar ~ * #pension-reviews { scroll-margin-top: 166px; } }
@media (max-width: 600px) { #wpadminbar ~ * #nw-top, #wpadminbar ~ * #nw-rooms, #wpadminbar ~ * #nw-amens-sec,
  #wpadminbar ~ * #nw-info-sec, #wpadminbar ~ * #nw-map-sec, #wpadminbar ~ * #pension-reviews { scroll-margin-top: 120px; } }

/* A2. 공유 버튼 — 타이틀 행 찜 버튼 옆(칩 톤). */
.nw-share-btn { flex: 0 0 auto; border: 1px solid var(--nw-line); border-radius: 999px;
  background: var(--nw-surface); color: var(--nw-text-sub); font-size: 13px; font-weight: 700;
  padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.nw-share-btn:hover { border-color: var(--nw-brand); color: var(--nw-brand-strong); }

/* A3. 객실 카드 입퇴실·환불 요약 줄. */
.nw-roomcard-policy { display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: 4px 0 0; font-size: 12px; color: var(--nw-text-weak); }
.nw-rc-time { color: var(--nw-text-sub); }

/* A5. 최근 본 숙소 스트립 — nw-grid 재사용, 여백만 보정. */
.nw-recent-sec .nw-grid { margin-top: 4px; }

/* A6. 모바일 하단 고정 예약 CTA 바 — 데스크톱 숨김, ≤768px에서만 노출(아래 미디어쿼리). */
.nw-mobile-cta { display: none; box-sizing: border-box; }

@media (max-width: 768px) {
  /* A1 — 모바일: 탭은 가로 스크롤(위 overflow-x 유지), 우측 가격·객실보기는 하단 A6 바가 대체하므로 숨김. */
  .nw-detail-nav-cta { display: none; }
  .nw-dnav-tab { padding: 12px 14px; font-size: 14px; min-height: 44px; display: flex; align-items: center; }
  /* 터치 타깃 44px — 신규 인터랙션(공유·도움돼요). 하단 CTA 버튼은 아래에서 48px. */
  .nw-share-btn { min-height: 44px; padding: 8px 14px; }
  .nw-helpful-btn { min-height: 44px; }
  /* V5-24 — 칩·모달 닫기·바텀시트 닫기 버튼도 터치 타깃 44px. 칩은 세로 패딩만 늘려 폭은 유지. */
  a.nw-chip, button.nw-chip, summary.nw-chip { min-height: 44px; padding: 11px 14px; box-sizing: border-box; } /* 라벨용 span 칩(.nw-chip-region 등) 제외(VC-01), summary 포함(V2B-05) */
  .nw-modal-close, .nw-fsheet-x { width: 44px; height: 44px; min-height: 44px; }

  /* A4·A5 — 데스크톱 그리드를 가로 스크롤 카드 스트립으로(scroll-snap). 아카이브 .nw-grid는 미영향(ID·전용클래스 한정). */
  #nw-similar .nw-grid, .nw-recent-sec .nw-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  #nw-similar .nw-grid::-webkit-scrollbar, .nw-recent-sec .nw-grid::-webkit-scrollbar { display: none; }
  /* 폭 상한 필수 — min-width만 있으면 flex 컨테이너에서 카드가 이미지 원본 폭(최대 768px)까지 커진다(0718 실기기 버그). */
  #nw-similar .nw-card, .nw-recent-sec .nw-card { flex: 0 0 72vw; width: 72vw; max-width: 340px; min-width: 0; scroll-snap-align: start; }

  /* A6 — 기존 하단 탭바(.nw-tabbar, bottom:0·콘텐츠 높이 ~48px+safe-area) 바로 위에 쌓는다. z-index는 탭바(80)보다 1 낮게, 모달(1000)·팝업(90) 아래. */
  .nw-mobile-cta { display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0;
    bottom: calc(var(--nw-tabbar-h) + env(safe-area-inset-bottom)); /* V5-39 — 탭바 높이 변수와 공유 */ z-index: 79; background: var(--nw-surface);
    border-top: 1px solid var(--nw-line); box-shadow: 0 -4px 16px rgba(15, 46, 34, .08); padding: 10px 16px; }
  .nw-mobile-cta[hidden] { display: none; }
  .nw-mcta-price { display: flex; flex-direction: column; line-height: 1.15; flex: 0 0 auto; }
  .nw-mcta-price small { font-size: 11px; color: var(--nw-text-weak); }
  .nw-mcta-price b { font-size: 17px; color: var(--nw-text); }
  .nw-mcta-btn { flex: 1 1 auto; min-height: 48px; margin-left: auto; align-self: center;
    display: flex; align-items: center; justify-content: center; }
  .nw-mcta-btn.is-full { width: 100%; }

  /* A6 바 + 기존 탭바 두 겹만큼 본문 하단 여백 보정(상세 전용). 기존 body 64px 규칙보다 특정도 높아 override. */
  body.nollwa-public.single-pension { padding-bottom: calc(124px + env(safe-area-inset-bottom)); }
}
/* == /0716 consumer-ux A == */

/* == 0716 consumer-ux B == */
/* B1. 테마 원형 포토 아이콘 — 테마별 추천 펜션 카드의 이모지 슬롯을 실사로 교체(파일 있을 때만, 없으면 기존 이모지 유지). */
.nw-theme-ico-img { display: block; width: 80px; height: 80px; border-radius: 50%; overflow: hidden; }
.nw-theme-ico-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.nw-themecard:hover .nw-theme-ico-img img { transform: scale(1.08); }

/* B2. 지역 카드 실사진 오버레이 — 이미지 위 하단 그라디언트 + 지역명(여기어때 「국내 인기 여행지」 패턴). */
.nw-region-img { position: relative; }
.nw-region-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 10px 8px;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.24) 60%, rgba(0,0,0,0) 100%);
  text-align: left; }
.nw-region-overlay strong { display: block; color: #fff; font-size: 15px; font-weight: 800;
  text-shadow: 0 1px 6px rgba(0,0,0,.55); }

/* B3. 최근 본 숙소 스트립 — 신규 규칙 없음. A5의 .nw-recent-sec 여백·모바일 scroll-snap 규칙을 그대로 재사용. */

/* B4. 모바일(≤768px) — 지역 카드 2열(기존 900px 구간 3열을 좁은 화면에서 보정). 테마카드는 기존 900/560px 그리드 규칙으로 이미 2열까지 축소돼 390px에서도 넘침 없음. */
@media (max-width: 768px) {
  .nw-region-grid { grid-template-columns: repeat(2, 1fr); }
}
/* == /0716 consumer-ux B == */

/* == 0717 협회 공식 플랫폼 소개 페이지(nollwa_view=about) == */
.nw-about-lead { font-size: 17px; line-height: 1.75; color: var(--nw-text-sub, #555); margin: 0 0 24px; }
.nw-about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 32px; }
.nw-about-card { background: var(--nw-brand-weak); border-radius: 16px; padding: 22px 18px; text-align: center; }
.nw-about-card-ico { display: block; font-size: 34px; margin-bottom: 10px; }
.nw-about-card strong { display: block; font-size: 16px; font-weight: 800; margin-bottom: 6px; color: var(--nw-brand-strong); }
.nw-about-card p { margin: 0; font-size: 13.5px; line-height: 1.6; }
.nw-about .nw-section h2 { color: var(--nw-brand-strong); }
.nw-about .nw-section p { line-height: 1.85; }
.nw-about-cta { display: flex; gap: 12px; align-items: center; margin: 36px 0 48px; }
.nw-about-btn-primary { background: var(--nw-brand); color: #fff; border-radius: 999px; padding: 12px 26px;
  font-weight: 700; text-decoration: none; }
.nw-about-btn-primary:hover { background: var(--nw-brand-strong); color: #fff; }
.nw-about-back { color: var(--nw-text-sub, #555); font-weight: 600; text-decoration: none; padding: 12px 10px; }
.nw-about-back:hover { color: var(--nw-brand-strong); }
@media (max-width: 640px) {
  .nw-about-cards { grid-template-columns: 1fr; }
  .nw-about-cta { flex-direction: column; align-items: stretch; text-align: center; }
}
/* == /0717 about == */

/* == 0718 모바일 UX — MB-2 신뢰 스트립 / MB-7 예약 타임라인 == */
/* MB-2. 결제·예약 신뢰 스트립 — 결제수단 버튼·예약 제출 버튼 직전 배치. */
.nw-trust-strip { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; }
.nw-trust-strip .nw-badge-legal { align-self: flex-start; }
.nw-trust-strip .nw-book-note { margin: 0; }

/* MB-7. 예약 진행 상태 타임라인(예약조회) — 가로 스텝. */
.nw-timeline .nw-tl { list-style: none; margin: 8px 0 0; padding: 0; display: flex; }
.nw-tl-step { flex: 1; min-width: 0; position: relative; text-align: center; }
.nw-tl-dot { display: block; width: 18px; height: 18px; margin: 0 auto 8px;
  border-radius: 50%; background: #fff; border: 2px solid var(--nw-line);
  position: relative; z-index: 1; }
.nw-tl-label { display: block; font-size: 12px; line-height: 1.35; color: var(--nw-text-weak); }
/* 연결선 — 이 스텝의 점에서 이전 점까지(현재까지 진행분은 브랜드색). */
.nw-tl-step::before { content: ""; position: absolute; top: 8px; right: 50%;
  width: 100%; height: 2px; background: var(--nw-line); z-index: 0; }
.nw-tl-step:first-child::before { display: none; }
.nw-tl-step.is-done .nw-tl-dot { background: var(--nw-brand); border-color: var(--nw-brand); }
.nw-tl-step.is-done .nw-tl-label { color: var(--nw-text-sub); }
.nw-tl-step.is-done::before { background: var(--nw-brand); }
.nw-tl-step.is-current .nw-tl-dot { background: var(--nw-brand); border-color: var(--nw-brand);
  box-shadow: 0 0 0 4px var(--nw-brand-weak); }
.nw-tl-step.is-current .nw-tl-label { color: var(--nw-brand-strong); font-weight: 700; }
.nw-tl-step.is-current::before { background: var(--nw-brand); }
.nw-tl-next { margin: 16px 0 0; font-size: 13px; color: var(--nw-text-sub); }
.nw-tl-next b { color: var(--nw-brand-strong); font-weight: 700; }
/* == /0718 MB-2·MB-7 == */

/* == 0718 모바일 UX — MB-4 필터·정렬 바텀시트 / MB-5 지도 가격핀·카드 스트립 == */
/* ⚠ 이 블록은 .nw-fdesk가 .nw-filter{display:flex}(파일 앞부분)를 소스 순서로 이기도록 파일 끝에 둔다. */

/* MB-4 · 모바일 필터 툴바(트리거 + 지도 토글) — 데스크톱은 기존 칩 유지, 툴바 숨김. */
.nw-ftoolbar { display: none; }

/* MB-4 · 바텀시트 — 모달(z1000) 계열. hidden→JS가 is-open으로 전환. */
.nw-fsheet { position: fixed; inset: 0; z-index: 1000; }
.nw-fsheet[hidden] { display: none; }
.nw-fsheet-overlay { position: absolute; inset: 0; background: rgba(15, 46, 34, .5);
  opacity: 0; transition: opacity .2s ease; }
.nw-fsheet.is-open .nw-fsheet-overlay { opacity: 1; }
.nw-fsheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh;
  display: flex; flex-direction: column; background: #fff; border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 30px rgba(15, 46, 34, .2);
  transform: translateY(100%); transition: transform .24s cubic-bezier(.4, 0, .2, 1); }
.nw-fsheet.is-open .nw-fsheet-panel { transform: translateY(0); }
.nw-fsheet-grab { width: 40px; height: 4px; margin: 10px auto 2px; border-radius: 999px; background: var(--nw-line); }
.nw-fsheet-head { display: flex; align-items: center; justify-content: space-between;
  padding: 6px 18px 10px; border-bottom: 1px solid var(--nw-line); }
.nw-fsheet-title { font-size: 16px; font-weight: 800; color: var(--nw-text); }
.nw-fsheet-x { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: var(--nw-bg); color: var(--nw-text-sub); font-size: 15px; cursor: pointer; }
.nw-fsheet-body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 18px 12px; }
.nw-fsec { padding: 14px 0; border-bottom: 1px solid var(--nw-line); }
.nw-fsec:last-child { border-bottom: 0; }
.nw-fsec-t { margin: 0 0 10px; font-size: 14px; font-weight: 800; color: var(--nw-text); }
.nw-fsec-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.nw-fopt { min-height: 42px; padding: 9px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--nw-line); color: var(--nw-text);
  font-size: 14px; font-weight: 600; cursor: pointer; }
.nw-fopt.is-selected { background: var(--nw-brand); border-color: var(--nw-brand); color: #fff; }
.nw-fsheet-foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--nw-line); }
.nw-fsheet-foot .nw-search-btn { width: 100%; min-height: 50px; }
body.nw-fsheet-lock { overflow: hidden; }

/* MB-5a · 지도 가격 라벨 칩 핀(L.divIcon) — 바텀-센터가 좌표를 가리킨다(iconSize:null). */
.nw-map-pin { background: transparent; border: 0; }
.nw-map-pin span { display: inline-block; transform: translate(-50%, -100%);
  padding: 5px 9px; border-radius: 999px; background: var(--nw-brand); color: #fff;
  font-size: 12px; font-weight: 800; line-height: 1; white-space: nowrap;
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(15, 46, 34, .35); }

/* MB-5b · 지도 하단 결과 카드 스트립. */
.nw-mstrip { margin: 4px 0 16px; }
.nw-mstrip-head { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 8px; }
.nw-mstrip-count { font-size: 13px; font-weight: 700; color: var(--nw-text-sub); }
.nw-mstrip-toggle { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--nw-line);
  background: #fff; color: var(--nw-brand-strong); font-size: 13px; font-weight: 700; cursor: pointer; }
.nw-mstrip-track { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nw-mstrip-track::-webkit-scrollbar { display: none; }
.nw-mstrip-card { flex: 0 0 auto; width: 264px; display: flex; gap: 10px; padding: 8px;
  background: #fff; border: 1px solid var(--nw-line); border-radius: 12px; cursor: pointer;
  scroll-snap-align: start; transition: border-color .15s ease, box-shadow .15s ease; }
.nw-mstrip-card.is-active { border-color: var(--nw-brand); box-shadow: 0 0 0 2px var(--nw-brand-weak); }
.nw-mstrip-thumb { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 8px; overflow: hidden;
  background: var(--nw-bg); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.nw-mstrip-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-mstrip-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nw-mstrip-name { font-size: 14px; font-weight: 700; color: var(--nw-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nw-mstrip-price { font-size: 13px; font-weight: 800; color: var(--nw-brand-strong); }
.nw-mstrip-price small { font-size: 11px; font-weight: 600; color: var(--nw-text-sub); }
.nw-mstrip-link { font-size: 12px; font-weight: 600; color: var(--nw-brand); text-decoration: none; margin-top: auto; }
.nw-mstrip.is-expanded .nw-mstrip-card { width: 200px; flex-direction: column; }
.nw-mstrip.is-expanded .nw-mstrip-thumb { width: 100%; height: 120px; }

/* MB-4 · 모바일(≤768px) — 기존 칩 숨김 + 툴바 노출. */
@media (max-width: 768px) {
  .nw-fdesk { display: none; }
  .nw-ftoolbar { display: flex; align-items: center; gap: 8px; margin: 4px 0 16px; }
  .nw-filter-trigger { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; min-height: 46px; padding: 10px 16px; border-radius: 12px;
    background: #fff; border: 1px solid var(--nw-brand); color: var(--nw-brand-strong);
    font-size: 14px; font-weight: 700; cursor: pointer; }
  .nw-filter-trigger-badge { display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
    background: var(--nw-brand); color: #fff; font-size: 12px; font-weight: 800; }
  .nw-ftoolbar-map { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 46px;
    padding: 10px 16px; border-radius: 12px; background: var(--nw-brand-weak);
    color: var(--nw-brand-strong); font-size: 14px; font-weight: 700; text-decoration: none; }
  /* V5-08 — 입력 글자크기 16px 미만이면 iOS Safari가 포커스 시 자동 확대(핀치 줌)해 사용자 경험을 해친다. */
  .nollwa-public input, .nollwa-public select, .nollwa-public textarea { font-size: 16px; }
}
/* == /0718 모바일 UX MB-4·MB-5 == */

/* 예약관리 처리 버튼 묶음 — 메모 details가 flex 흐름에 참여(닫힘=칩 크기), 열리면 전폭으로 확장해 폼이 아래로 펼쳐진다. */
.nw-res-actions details { text-align: left; }
.nw-res-actions details[open] { flex: 1 1 100%; }

/* V5-35 — 인쇄 시 콘솔 크롬(사이드바·상단바·탭바·모바일CTA·칩·버튼) 숨김, 본문 전폭. */
@media print {
  .nw-console-side, .nw-console-topbar, .nw-tabbar, .nw-mobile-cta, .nw-console .nw-chip, .nw-console button { display: none !important; } /* 칩·버튼 숨김은 콘솔 안에서만(VC-02) */
  .nw-console-content { margin: 0; width: 100%; }
}

/* 취소 환불 선택 블록(I1) — 처리 폼 안에서 줄을 나눠 라디오 3개·금액 입력이 겹치지 않게. */
.nw-refund-pick { display:block; margin-top:6px; font-size:13px; }
.nw-refund-pick label { margin-right:10px; white-space:nowrap; }
.nw-refund-pick input[type="number"] { width:110px; padding:4px 6px; border:1px solid #e5e8eb; border-radius:6px; }
.nw-refund-pick[hidden] { display:none; } /* 작성자 display:block이 UA [hidden]을 덮지 않게 */
/* V5-30 필터 시트 섹션 제목이 h3→span이 되어 블록 표시·여백을 복원 / V5-06 마감일 셀은 aria-disabled(체크아웃 선택은 가능) */
.nw-fsec-t { display:block; }
.nw-modal .nw-cal-day[aria-disabled="true"] { cursor:pointer; } /* 마감일도 체크아웃으로 선택 가능(V2B-04) */
