/* ==========================================================================
   도도미미 (DODOMIMI) — 시각 디자인 방향 B 「동백 테이블」
   - 아이보리 지면(#FEF9F0)과 소나무 초록(#14231A) 상하단 프레임으로 차분한 식탁 톤을 구성합니다.
   - 동백 빨강(#BA1A1A)은 프로모션 한 점과 휴무일 등 꼭 필요한 신호에만 절제해서 사용합니다.
   ========================================================================== */
:root {
  /* 방향 B 핵심 색상 토큰 */
  --ivory: #FEF9F0;
  --ivory-deep: #F3ECE0;
  --pine: #14231A;
  --pine-hover: #21382A;
  --pine-deep: #000A04;
  --moss: #B9CBBD;
  --moss-ink: #3B4A40;
  --moss-soft: #E6EFE8;
  --camellia: #BA1A1A;
  --camellia-hover: #93000A;
  --camellia-soft: #FFDAD6;
  --brass: #775A1A;

  /* 기존 클래스·컴포넌트 호환용 시맨틱 별칭 */
  --bg: var(--ivory);
  --bg-deep: var(--ivory-deep);
  --ink: var(--pine);
  --muted: var(--moss-ink);
  --wood: var(--pine);
  --wood-hover: var(--pine-hover);
  --sage: var(--pine);
  --sage-hover: var(--pine-hover);
  --sage-soft: var(--moss-soft);
  --sage-ink: var(--pine);
  --line: #DFD8CA;
  --line-strong: #C7BDA8;
  --surface: #FFFFFF;
  --warn: #F9F1DF;
  --warn-ink: #5A4108;
  --warn-line: #DEC796;
  --danger-bg: var(--camellia-soft);
  --danger-ink: var(--camellia);
  --focus: var(--camellia);

  /* 서체 토큰: 제목은 한글 획이 단정한 바탕체, 본문과 UI는 고딕체 */
  --font-serif: "Gowun Batang", "Noto Serif KR", Georgia, serif;
  --font-sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  /* 편집형 모서리와 그림자 (과한 둥근 카드 느낌을 피하고 정갈한 액자 인상 유지) */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow: 0 8px 24px -4px rgba(20, 35, 26, 0.07);
  --shadow-soft: 0 2px 12px -2px rgba(20, 35, 26, 0.05);

  /* 레이아웃 및 타이포 스케일 */
  --max: 1120px;
  --page-pad: clamp(16px, 4.2vw, 32px);
  --section-y: clamp(36px, 5.5vw, 68px);
  --card-pad: clamp(18px, 2.8vw, 28px);
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.0625rem;
  --fs-xl: 1.25rem;
  --fs-2xl: clamp(1.35rem, 3vw, 1.8rem);
  --fs-3xl: clamp(1.85rem, 5vw, 2.85rem);
  --lh-tight: 1.26;
  --lh-body: 1.72;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: var(--lh-body);
  font-weight: 400;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
canvas { max-width: 100%; }

a {
  color: var(--pine);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover { color: var(--camellia); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* 키보드 사용자를 위한 본문 건너뛰기 링크 */
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus, .skip:focus-visible {
  left: 8px; top: 8px; background: var(--ivory); padding: 10px 14px;
  z-index: 30; border-radius: var(--radius-sm); color: var(--pine);
  outline: 3px solid var(--camellia); min-height: 44px; font-weight: 700;
}

/* ---------- Header (소나무 초록 프레임) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--pine);
  color: var(--ivory);
  border-bottom: 1px solid rgba(185, 203, 189, 0.24);
  box-shadow: 0 4px 16px -2px rgba(20, 35, 26, 0.12);
}

.header-inner, .footer-inner, .wrap {
  width: min(var(--max), calc(100% - var(--page-pad) * 2));
  margin: 0 auto;
  max-width: 100%;
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 20px; padding: 10px 0; min-height: 68px;
}

.brand {
  display: flex; flex-direction: column; text-decoration: none;
  color: var(--ivory); flex: none; gap: 2px;
  padding: 4px 0; min-height: 44px; justify-content: center;
}
.brand:hover, .brand:focus-visible { color: var(--ivory); }
.brand strong {
  font-family: var(--font-serif);
  font-size: 1.32rem; font-weight: 700;
  color: var(--ivory); letter-spacing: -0.01em; line-height: 1.15;
}
.brand span {
  font-size: 0.72rem; font-weight: 500;
  color: var(--moss); letter-spacing: 0.06em; line-height: 1.2;
}

.nav {
  display: flex; flex-wrap: wrap; gap: 4px;
  justify-content: flex-end; align-items: center;
}
.nav a {
  text-decoration: none; color: var(--moss);
  padding: 8px 13px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500;
  min-height: 44px; min-width: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .18s, color .18s;
}
.nav a:hover {
  background: rgba(185, 203, 189, 0.14);
  color: var(--ivory);
}
.nav a[aria-current="page"] {
  background: rgba(185, 203, 189, 0.18);
  color: var(--ivory);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--camellia-soft);
}
.nav a:focus-visible {
  outline-color: var(--camellia-soft);
  outline-offset: 1px;
}

/* ---------- 빈 이벤트 훅 (데이터가 있을 때만 표시, 모바일 본문 가림 방지) ---------- */
.event-banner {
  margin: 16px 0 0;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid rgba(186, 26, 26, 0.3);
  border-left: 4px solid var(--camellia);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}
.event-banner[hidden] { display: none !important; }
.event-banner-body {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  font-size: var(--fs-sm); color: var(--pine);
}
.event-banner-body strong {
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  color: var(--pine);
}
.event-banner-close {
  border: 1px solid var(--line-strong);
  background: var(--ivory);
  color: var(--pine);
  border-radius: var(--radius-sm);
  min-width: 44px; min-height: 44px;
  padding: 6px 12px;
  font: inherit; font-size: var(--fs-xs); font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex: none;
}

/* ---------- Hero & Typography ---------- */
/* 페이지 로드 모션은 첫 화면(.hero) 한 장면에만 절제하여 적용 */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  display: grid;
  gap: 28px;
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--line);
  animation: heroReveal 0.45s ease-out both;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card, .card, .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* 기억 포인트 1: 이중 가는선 액자에 담긴 실제 매장 사진 */
.hero-photo {
  margin: 0;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero-frame-inner {
  padding: 4px;
  border: 1px solid rgba(119, 90, 26, 0.28);
  border-radius: var(--radius-sm);
  background: var(--ivory);
}
.hero-frame-inner img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: min(56vh, 480px);
  object-fit: cover;
  object-position: center 35%;
  border-radius: 6px;
}
.hero-caption {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--moss-ink);
  font-family: var(--font-serif);
}

/* 한국어 안내 라벨 (불필요한 영문 ALL CAPS 배제) */
.eyebrow {
  margin: 0;
  color: var(--moss-ink);
  letter-spacing: 0.04em;
  font-size: var(--fs-sm);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--pine);
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  margin: 0;
  color: var(--pine);
}
h1 {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin: 10px 0 14px;
}
h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.lead {
  font-size: var(--fs-lg);
  color: var(--moss-ink);
  margin: 0 0 16px;
  line-height: 1.68;
}

/* 기억 포인트 2: 동백 빨강(#BA1A1A) 한 점으로 강조한 브런치 할인 배지 */
.lead[data-bind="promo"],
.promo-line {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: var(--surface);
  color: var(--pine);
  border: 1px solid rgba(186, 26, 26, 0.32);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin: 0 0 22px;
  line-height: 1.4;
  max-width: 100%;
  box-shadow: var(--shadow-soft);
}
.lead[data-bind="promo"]::before,
.promo-line::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--camellia);
  box-shadow: 0 0 0 3px var(--camellia-soft);
  margin-right: 10px;
  flex: none;
}

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 20px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 700; cursor: pointer;
  font-family: var(--font-sans); font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background-color .18s, color .18s, box-shadow .18s, border-color .18s, transform .15s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--pine);
  color: var(--ivory);
  border-color: var(--pine);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  color: var(--ivory);
  background: var(--pine-hover);
  border-color: var(--pine-hover);
}
.btn-wood {
  background: var(--ivory-deep);
  color: var(--pine);
  border-color: var(--line-strong);
}
.btn-wood:hover {
  color: var(--pine);
  background: var(--moss-soft);
  border-color: var(--pine);
}
.btn-ghost {
  background: var(--surface);
  color: var(--pine);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--moss-soft);
  color: var(--pine);
  border-color: var(--pine);
}

/* ---------- Sections & Cards ---------- */
.section { padding: var(--section-y) 0; }
.section + .section {
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px 16px; margin-bottom: 22px; flex-wrap: wrap;
}
.section-head a {
  text-decoration: none; font-weight: 700; font-size: var(--fs-sm);
  color: var(--pine); min-height: 44px; display: inline-flex; align-items: center;
  padding: 4px 2px;
  border-bottom: 1px solid var(--line-strong);
}
.section-head a:hover {
  color: var(--camellia);
  border-bottom-color: var(--camellia);
}

.muted { color: var(--muted); }

.grid-3, .grid-2, .menu-grid, .hours-grid, .info-grid {
  display: grid; gap: 18px;
}
.grid-3 > *, .grid-2 > *, .menu-grid > *, .hours-grid > *, .info-grid > * {
  min-width: 0;
}

.card { padding: var(--card-pad); }
.card h3 { margin-bottom: 8px; }

/* 홈 대표 메뉴 카드: 실제 매장 음식 사진 + 편집형 가격 행 */
#featured-menus .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line-strong);
}
.featured-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ivory-deep);
}
.featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
#featured-menus .card:hover .featured-thumb img {
  transform: scale(1.03);
}
.featured-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(20, 35, 26, 0.88);
  color: var(--ivory);
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}
.featured-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-top: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
#featured-menus .eyebrow {
  font-size: var(--fs-xs);
  margin-bottom: 2px;
}
#featured-menus .eyebrow::before { display: none; }
#featured-menus h3 {
  font-size: 1.15rem;
  color: var(--pine);
  margin: 0;
}
#featured-menus .price {
  font-size: 1.08rem;
}

.price {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--pine);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 메뉴판 & 영업시간 표 */
.menu-item, .hour-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px 16px; padding: 14px 0;
  border-bottom: 1px dashed var(--line-strong);
}
.menu-item > div, .hour-row > * { min-width: 0; }
.menu-item:last-child, .hour-row:last-child { border-bottom: 0; }
.menu-item strong {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--pine);
}
.menu-grid .card h2 {
  margin-bottom: 8px; padding-bottom: 10px;
  border-bottom: 2px solid var(--pine);
  color: var(--pine); font-size: 1.28rem;
}
.hour-row {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  align-items: start;
  gap: 4px 12px;
}
.hour-row strong {
  font-family: var(--font-serif);
  padding-top: 1px;
}
.hour-row > span {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hour-row .price-note { text-align: left; font-weight: 400; }

.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 16px 0 0; padding: 0; list-style: none;
}
.chips li, .chip {
  background: var(--moss-soft);
  color: var(--pine);
  border: 1px solid rgba(20, 35, 26, 0.14);
  border-radius: var(--radius-sm);
  padding: 7px 13px;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.3;
}

.notice, .callout {
  background: var(--ivory-deep);
  color: var(--pine);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--camellia);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 16px 0 24px;
}
.demo-banner, .draft-banner {
  background: var(--camellia-soft);
  color: var(--camellia);
  border: 1px solid rgba(186, 26, 26, 0.25);
  border-radius: var(--radius-sm);
  padding: 5px 11px;
  font-weight: 700;
  font-size: var(--fs-xs);
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.news-list { display: grid; gap: 18px; }
.news-item { padding: var(--card-pad); }
.news-item time {
  color: var(--moss-ink);
  font-size: var(--fs-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 8px;
}
.news-item h3 {
  color: var(--pine);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.news-item p { margin: 0 0 10px; color: var(--ink); }
.news-item p:last-child { margin-bottom: 0; }

.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* 실제 순서가 있는 주차 안내 단계(1~4) */
.steps { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.steps li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}
.steps b {
  flex: none; width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: var(--pine); color: var(--ivory);
  font-family: var(--font-serif);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; margin-top: 1px;
}

.contact-block a.phone {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 700; text-decoration: none; color: var(--pine);
  display: inline-flex; align-items: center; min-height: 48px;
  letter-spacing: -0.01em;
}
.contact-block a.phone:hover { color: var(--camellia); }

/* ---------- Footer (짙은 소나무 프레임) ---------- */
.site-footer {
  margin-top: 24px;
  padding: 40px 0 52px;
  border-top: 1px solid rgba(185, 203, 189, 0.25);
  background: var(--pine-deep);
  color: var(--moss);
  font-size: var(--fs-sm);
  line-height: 1.75;
}
.site-footer .footer-inner { display: grid; gap: 6px; }
.site-footer p { margin: 0; }
.site-footer strong {
  font-family: var(--font-serif);
  color: var(--ivory);
  font-weight: 700;
  font-size: 1.08rem;
}
.site-footer a {
  color: var(--moss);
  display: inline-flex; align-items: center;
  min-height: 44px;
}
.site-footer a:hover { color: var(--ivory); }
.site-footer a.phone {
  color: var(--ivory);
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Footer v2 · 홈 (footer-redesign) ----------
   Design Ref: footer-redesign §5.2 — 참고 푸터의 구조·간격·원형 채널 링크만 빌리고,
   색·서체는 방향 B(아이보리·파인·모스·동백)로. 모든 규칙을 .site-footer--b 아래에 두어
   아직 옛 푸터를 쓰는 다른 페이지에는 영향이 없습니다. */
.site-footer--b {
  background: var(--pine);
  border-top: 0;
  padding: 40px 0 48px;
  font-size: 0.875rem;
  line-height: 1.7;
}
.site-footer--b [hidden] { display: none !important; }
.site-footer--b .footer-inner { display: block; }
.site-footer--b .footer-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.site-footer--b a:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 2px;
}

/* 브랜드 · 한 줄 소개 · 공식 채널 */
.site-footer--b .footer-brand {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ivory);
  text-decoration: none;
  gap: 6px;
}
.site-footer--b .footer-brand::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--camellia);
  align-self: flex-start;
  margin-top: 0.7em;
}
.site-footer--b .footer-brand:hover { color: var(--ivory); }
.site-footer--b .footer-tagline { margin: 2px 0 0; color: var(--moss); }
.site-footer--b .footer-channels-title {
  margin: 18px 0 6px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ivory);
}
.site-footer--b .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.site-footer--b .footer-social a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  min-height: 44px;
  border-radius: 50%;
  color: var(--ivory);
  box-shadow: inset 0 0 0 1px rgba(185, 203, 189, 0.45);
  transition: background-color .15s ease, color .15s ease;
}
.site-footer--b .footer-social a:hover,
.site-footer--b .footer-social a:focus-visible {
  background: var(--ivory);
  color: var(--pine);
}
/* 키보드 초점만 바깥 아이보리 링 (마우스 hover와 구분) */
.site-footer--b .footer-social a:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 3px;
}
.site-footer--b .footer-social svg { width: 20px; height: 20px; display: block; }

/* 매장 정보 블록 (참고 푸터의 사업자 정보 자리) */
.site-footer--b .footer-info {
  margin: 0;
  display: grid;
  gap: 6px;
}
.site-footer--b .footer-info > div {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.site-footer--b .footer-info dt { color: var(--ivory); font-weight: 500; }
.site-footer--b .footer-info dd { margin: 0; color: var(--moss); }
.site-footer--b .footer-info dd span[data-bind] { color: inherit; }
.site-footer--b [data-bind="footer-hours"] span { display: block; }
.site-footer--b .footer-info a.phone {
  color: var(--ivory);
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  margin-block: -11px;
  letter-spacing: 0.01em;
}
.site-footer--b .footer-info a.phone:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 구분선 아래 링크 줄 */
.site-footer--b .footer-bottom {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid rgba(185, 203, 189, 0.28);
}
.site-footer--b .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  font-size: 0.8125rem;
}
.site-footer--b .footer-links a {
  color: var(--moss);
  white-space: nowrap;
  text-decoration: none;
}
.site-footer--b .footer-links a:hover {
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (min-width: 768px) {
  .site-footer--b { padding: 48px 0 60px; }
  .site-footer--b .footer-main {
    flex-direction: row;
    justify-content: space-between;
    gap: 48px;
  }
  .site-footer--b .footer-brand-col { flex: 0 1 340px; }
  .site-footer--b .footer-info { flex: 0 1 560px; align-content: start; }
}

.source { font-size: var(--fs-sm); color: var(--moss-ink); margin-top: 6px; }
.source a, #photo-source a { display: inline-flex; align-items: center; min-height: 44px; }
.price-note { display: block; font-size: 0.82rem; color: var(--moss-ink); font-weight: 400; margin-top: 4px; white-space: normal; }
.closed { color: var(--camellia); font-weight: 700; }

/* 본문 내 텍스트 링크 최소 터치 영역(44px) 보장 */
.card a:not(.btn),
.channel a:not(.btn),
.data-view a,
[data-page="admin"] .hint a,
[data-ig] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
}

/* 서브 페이지 상단 여백 정리 */
.wrap.section > .eyebrow { margin-top: 4px; }
.wrap.section > .lead { max-width: 42rem; }
.wrap.section > .source { margin-bottom: 12px; }
#menu-root { margin-top: 24px; }

/* ---------- Admin (정보 일괄 반영 시연 페이지 — 기능 유지, B 톤 통일) ---------- */
.admin-banner {
  background: var(--pine);
  color: var(--ivory);
  border-left: 4px solid var(--camellia);
  padding: 18px 20px;
  border-radius: var(--radius);
  margin: 8px 0 28px;
  font-weight: 700;
  line-height: 1.55;
}
.admin-banner span {
  display: block; font-weight: 400; margin-top: 8px;
  color: var(--moss); font-size: 0.95rem;
}
form.editor { display: grid; gap: 14px; }
form.editor label { display: grid; gap: 6px; font-weight: 700; color: var(--pine); }
form.editor input,
form.editor textarea,
form.editor select {
  font: inherit; font-weight: 400;
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: #fff; width: 100%;
  min-height: 48px; color: var(--pine);
  transition: border-color .15s, box-shadow .15s;
}
form.editor input:hover,
form.editor textarea:hover,
form.editor select:hover { border-color: var(--pine); }
form.editor input:focus,
form.editor textarea:focus,
form.editor select:focus {
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(20, 35, 26, 0.16);
  outline: none;
}
form.editor textarea { min-height: 160px; resize: vertical; }
form.editor input[type="checkbox"] {
  width: 22px; height: 22px;
  min-width: 44px; min-height: 44px;
  accent-color: var(--pine); cursor: pointer;
  flex: none;
}
form.editor label.hint span {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; font-weight: 700; color: var(--pine);
}
.row2 { display: grid; gap: 12px; }
.channel { padding: var(--card-pad); }
.channel header {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; margin-bottom: 10px;
}
.channel header h3 { margin: 0; }
.badge {
  font-size: 0.74rem; font-weight: 700;
  border-radius: var(--radius-sm); padding: 5px 10px;
  letter-spacing: 0.01em;
}
.ok { background: var(--moss-soft); color: var(--pine); border: 1px solid rgba(20, 35, 26, 0.15); }
.no { background: var(--ivory-deep); color: var(--moss-ink); border: 1px solid var(--line-strong); }
.out {
  white-space: pre-wrap; background: var(--ivory);
  border-radius: var(--radius-sm); padding: 14px 16px;
  border: 1px solid var(--line-strong); font-size: 0.95rem;
  max-height: 280px; overflow: auto; overflow-wrap: anywhere;
  line-height: 1.65;
  font-family: var(--font-sans);
}
.channel .actions { margin-top: 14px; }
.ig-wrap {
  overflow: auto;
  background: var(--ivory-deep);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin: 12px 0 14px;
  display: flex; justify-content: center;
}
#ig-card {
  width: 270px; height: 338px; display: block;
  background: var(--ivory);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 100%;
}
.data-view { font-size: var(--fs-sm); overflow-x: auto; max-width: 100%; }
.data-view table { table-layout: fixed; width: 100%; border-collapse: collapse; }
.data-view th { width: 6.4em; color: var(--moss-ink); font-weight: 700; }
.data-view td, .data-view th {
  overflow-wrap: anywhere; word-break: break-word;
  text-align: left; padding: 10px 8px;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.data-view tr:last-child th, .data-view tr:last-child td { border-bottom: 0; }
.hint { font-size: var(--fs-sm); color: var(--moss-ink); font-weight: 400; }
[data-page="admin"] h1 { margin-bottom: 8px; }

/* ---------- Breakpoints ---------- */
@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 44px;
    padding: 48px 0 36px;
  }
  .hero-frame-inner img {
    max-height: 520px;
    aspect-ratio: 4 / 3;
  }
  .grid-2, .menu-grid, .hours-grid, .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header-inner { min-height: 74px; padding: 12px 0; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .site-footer { padding: 48px 0 60px; }
}

@media (min-width: 1024px) {
  .hero { gap: 56px; padding-top: 56px; }
}

/* 좁은 모바일 화면(360px / 390px): 가로 스크롤 없이 내비게이션과 버튼을 정렬 */
@media (max-width: 479px) {
  .header-inner {
    flex-direction: column; align-items: stretch;
    gap: 4px; padding: 8px 0 8px;
  }
  .brand { min-height: 40px; }
  .nav {
    justify-content: space-between;
    width: 100%;
    gap: 2px;
  }
  .nav a {
    flex: 1 1 31%;
    padding: 8px 4px;
    font-size: 0.86rem;
  }
  .hero { gap: 20px; padding-top: 18px; }
  .hero .actions .btn {
    flex: 1 1 auto;
    min-width: calc(50% - 8px);
  }
  .map-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .map-actions .btn { width: 100%; flex: 1 1 auto; }
  .menu-item, .hour-row { align-items: flex-start; }
}

@media (max-width: 359px) {
  .nav a { font-size: 0.8rem; padding: 8px 2px; }
  h1 { font-size: 1.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Gallery & Lightbox ---------- */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 12px 0 28px;
}
.gallery-filters button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px;
  padding: 8px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--pine);
  font: inherit; font-weight: 700; font-size: 0.92rem;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.gallery-filters button:hover {
  background: var(--moss-soft);
  color: var(--pine);
  border-color: var(--pine);
}
.gallery-filters button[aria-pressed="true"] {
  background: var(--pine);
  color: var(--ivory);
  border-color: var(--pine);
}
.gallery-section { margin-bottom: 40px; }
.gallery-section h2 { margin-bottom: 14px; }
.gallery-grid, .photo-tease {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.gallery-item {
  display: block; margin: 0; padding: 0;
  border: 1px solid var(--line-strong);
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--ivory-deep);
  box-shadow: var(--shadow-soft);
  min-height: 44px;
  width: 100%;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.04); }
.gallery-item .gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 10px 8px;
  background: linear-gradient(transparent, rgba(20, 35, 26, 0.82));
  color: var(--ivory); font-size: 0.8rem; font-weight: 600;
  text-align: left; line-height: 1.3;
}
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .photo-tease { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Lightbox (소나무 딥 배경 위 크게 보기) */
.lightbox {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(0, 10, 4, 0.94);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 56px 12px 20px;
}
.lightbox[hidden] { display: none; }
.lightbox figure {
  margin: 0; max-width: min(1080px, 100%);
  display: flex; flex-direction: column; align-items: center;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100dvh - 140px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(185, 203, 189, 0.3);
  background: var(--ivory-deep);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}
.lightbox figcaption {
  color: var(--ivory);
  margin-top: 12px;
  font-family: var(--font-serif);
  font-weight: 700;
  text-align: center;
  font-size: 0.98rem;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  border: 1px solid var(--line-strong); cursor: pointer;
  background: var(--ivory);
  color: var(--pine);
  font-size: 1.4rem; font-weight: 700;
  border-radius: 50%;
  font-family: var(--font-sans);
}
.lb-close { top: 12px; right: 12px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: var(--moss-soft);
  color: var(--camellia);
}
body.lb-open { overflow: hidden; }
@media (max-width: 479px) {
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
  .lightbox { padding-bottom: 72px; }
  .lightbox img { max-height: calc(100dvh - 180px); }
}
