:root {
  --bg: #faf6ef;
  --surface: #ffffff;
  --ink: #2b211b;
  --muted: #6f6258;
  --line: #e7ddd0;
  --brand: #3a2a20;
  --accent: #9c3b22;
  --accent-ink: #ffffff;
  --brass: #b08a4a;
  --radius: 14px;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --bar-h: 64px;
}

* { box-sizing: border-box; }
:lang(ja) { --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif; }
:lang(zh) { --serif: "Noto Serif SC", "Songti SC", "SimSun", serif; --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
html:not(:lang(ko)) body { word-break: normal; overflow-wrap: anywhere; }
:lang(en) .logo { letter-spacing: .01em; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h, 187px) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
  word-break: keep-all;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.3; margin: 0 0 .6em; }
h2 { font-size: 1.35rem; }
p { margin: 0 0 .8em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(58,42,32,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.logo { display: flex; align-items: center; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; text-decoration: none; letter-spacing: .04em; color: var(--brand); }
.logo-img { display: block; height: 46px; width: auto; }
/* 언어 선택: 헤더 맨 위 한 줄 */
.lang-bar { display: flex; justify-content: center; background: #2a1e17; border-bottom: 1px solid rgba(255,255,255,.08); }
.lang-bar a {
  flex: 1; max-width: 140px; padding: 9px 4px; text-align: center; text-decoration: none;
  font-size: 1rem; font-weight: 600; color: #cdbfb0; position: relative;
}
.lang-bar a + a::before { content: ""; position: absolute; left: 0; top: 30%; height: 40%; border-left: 1px solid rgba(255,255,255,.25); }
.lang-bar a[aria-current="true"] { color: #fff; box-shadow: inset 0 -3px 0 var(--brass); }
.header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 13px; line-height: 1.2; }
.header-call { font-size: .9rem; text-decoration: none; color: var(--brand); font-weight: 600; }
.header-insta, .footer-insta { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.header-insta:hover, .footer-insta:hover { text-decoration: underline; }
.footer-insta { color: #f0d9b5; font-size: inherit; }
.ig-icon { flex: none; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.nav.more-right { -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.nav a:hover { background: #ece2d4; }
.nav a[aria-current="page"] { background: var(--brand); color: #fff; font-weight: 600; }


/* hero */
.hero { position: relative; height: clamp(250px, 36vh, 330px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero > .carousel { position: absolute; inset: 0; }
.hero .carousel img { object-position: center 42%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20,12,8,.05) 30%, rgba(20,12,8,.78)); }
.hero-text { position: relative; z-index: 1; pointer-events: none; padding-top: 24px; padding-bottom: 22px; }
.hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: .1em; letter-spacing: .06em; }
.eyebrow { font-size: .9rem; letter-spacing: .12em; opacity: .9; margin-bottom: .4em; }
.tagline { font-size: 1rem; margin-bottom: .9em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-text a, .hero-text button { pointer-events: auto; }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.7); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink);
  font: 600 1rem var(--sans); text-decoration: none; background: transparent; color: var(--ink); cursor: pointer;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.small { min-height: 38px; font-size: .9rem; }
.btn.large { width: 100%; min-height: 54px; font-size: 1.05rem; margin-top: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* sections */
.section { padding-top: 36px; padding-bottom: 12px; }
.page-title { font-size: 1.8rem; margin-bottom: .8em; }
.more { text-align: right; margin-top: 8px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-bottom: .6em; }
.sec-head h2 { margin: 0; }
.sec-more { color: var(--accent); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.sec-more:hover { text-decoration: underline; }
.more a { color: var(--accent); font-weight: 600; text-decoration: none; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.card h2 { font-size: 1.15rem; }
.address { font-size: 1.1rem; font-weight: 600; margin-bottom: .3em; }
.info-grid { display: grid; gap: 24px; }

/* menu */
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.menu-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.menu-photo { position: relative; aspect-ratio: 4 / 3; background: #efe6da; }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }
.no-image { display: grid; place-items: center; height: 100%; font-family: var(--serif); color: var(--brass); font-size: 1.2rem; }
.menu-body { padding: 10px 12px 14px; }
.menu-body h3 { font-size: 1rem; margin-bottom: .2em; font-family: var(--sans); font-weight: 700; }
.name-ko { margin: -.1em 0 .3em; font-size: .8rem; color: var(--muted); }
.dialog-body .name-ko { font-size: .85rem; }
.ko-address-label { margin: 12px 0 2px; }
.ko-address { font-size: 1.05rem; font-weight: 600; background: var(--bg); border-radius: 8px; padding: 8px 12px; }
.price { color: var(--accent); font-weight: 700; margin-bottom: .3em; }
.desc { font-size: .85rem; color: var(--muted); margin: 0; }
.sold-out .menu-photo img { filter: grayscale(1) opacity(.6); }
.badge { position: absolute; top: 8px; left: 8px; background: var(--ink); color: #fff; font-size: .8rem; padding: 2px 8px; border-radius: 6px; }
.menu-open {
  display: flex; flex-direction: column; flex: 1; width: 100%; padding: 0; margin: 0;
  border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.menu-open .menu-body { flex: 1; display: flex; flex-direction: column; }
.menu-open:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.more-hint { margin-top: auto; padding-top: 8px; font-size: .8rem; color: var(--accent); font-weight: 600; }

/* 메뉴 상세 창: 휴대폰·PC 모두 화면 가운데, 크기 고정(글이 길면 글 영역만 스크롤) → 사진·화살표 위치가 모든 메뉴에서 같다 */
html.dialog-open { overflow: hidden; }
.menu-dialog {
  width: min(94vw, 640px, calc(52vh * 4 / 3)); height: min(82vh, 700px); max-height: none; margin: auto; padding: 0;
  border: 0; border-radius: 18px; background: var(--surface); color: var(--ink); overflow: hidden;
}
.menu-dialog[open] { display: flex; flex-direction: column; }
.menu-dialog::backdrop { background: rgba(20, 12, 8, .6); }
.dialog-photo { position: relative; flex: none; background: #1f1712; }
.dialog-photo img { width: 100%; object-fit: contain; margin: 0 auto; }
.dialog-scroll { position: relative; flex: 1; min-height: 0; }
.dialog-body { height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); }
.dialog-body h2 { font-size: 1.25rem; margin-bottom: .2em; }
.dialog-body .price { font-size: 1rem; margin-bottom: .25em; }
.dialog-body .desc { color: var(--muted); font-size: .85rem; line-height: 1.55; margin-bottom: 0; }
.dialog-detail p { font-size: .9rem; line-height: 1.65; margin: 0 0 .6em; }
.dialog-detail p:last-child { margin-bottom: 0; }
.dialog-detail { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.dialog-detail:empty { display: none; }
.dialog-close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}

.cat-nav { position: sticky; top: var(--header-h, 187px); z-index: 10; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; margin-bottom: 8px; background: var(--bg); }
.cat-nav a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-size: .9rem; text-align: center; line-height: 1.25; }
/* 휴대폰: 옆으로 밀지 않고 모든 분류가 한 화면에 보이도록 3칸씩 줄바꿈 (고정하지 않고 같이 스크롤) */
@media (max-width: 719px) {
  .cat-nav { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }
  .cat-nav a { display: flex; align-items: center; justify-content: center; padding: 8px 6px; border-radius: 12px; }
}
.cat-nav a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-cat { padding-top: 16px; }

/* hours */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours th { width: 84px; font-weight: 600; }
.hours .sub { display: block; font-size: .875rem; color: var(--muted); }
.hours tr.today th, .hours tr.today td strong { color: var(--accent); }
.open-status { margin-top: 10px; font-weight: 600; }

/* about */
.about { display: grid; gap: 20px; }
.about > img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.lead { font-family: var(--serif); font-size: 1.25rem; }
.chips { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .9rem; }
.reserve p { font-size: 1.02rem; }

/* footer */
.site-footer { margin-top: 40px; padding: 28px 0; background: var(--brand); color: #d9cdbf; font-size: .9rem; }
.site-footer p { margin: 0 0 .3em; }
.footer-name { font-family: var(--serif); color: #fff; font-size: 1.1rem; }

/* bottom action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(250, 246, 239, .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; height: 48px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  text-decoration: none; font-weight: 600;
}
.action-bar a.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

@media (min-width: 720px) {
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .about-text { align-self: center; }
  .reserve { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
  .reserve > p { flex: 1 0 100%; margin: 0; }
  .reserve > .btn { flex: 1 1 280px; margin: 0; }
  .action-bar { max-width: 560px; margin: 0 auto; border-radius: 16px 16px 0 0; border: 1px solid var(--line); }
}
@media (min-width: 1000px) {
  .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 모임 · FAQ · 소식 */
.points { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.points .card { margin: 0; }
.points h2 { font-size: 1.1rem; margin-bottom: .3em; }
.points p { margin: 0; color: var(--muted); }
.groups-teaser { background: #f3ebe0; }
.faq details { padding: 0; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--muted); }
.news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.news-list a { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.news-list time { color: var(--muted); font-size: .9rem; min-width: 120px; }
.news-title { font-weight: 600; }
.news-article { max-width: 760px; }
.news-image { border-radius: var(--radius); margin: 8px 0 20px; width: 100%; }
@media (min-width: 720px) { .points { grid-template-columns: repeat(2, 1fr); } }

@media (min-width: 720px) { .hero { height: 380px; } }

/* 직접 만드는 정성 · 품격올림 */
.lead-sm { margin: -.2em 0 1.2em; color: var(--muted); }
.craft { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
.craft-item { margin: 0; display: grid; gap: 12px; align-items: center; }
.craft-item.has-image { grid-template-columns: 1fr; }
.craft-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.craft-item h3 { font-size: 1.05rem; margin-bottom: .25em; }
.craft-item p { margin: 0; color: var(--muted); }
@media (min-width: 720px) {
  .craft { grid-template-columns: repeat(2, 1fr); }
  .craft-item.has-image { grid-template-columns: 1fr; align-items: start; }
}
.motto { margin: 0 0 18px; padding: 14px 18px; border-left: 4px solid var(--brass); background: #f3ebe0; border-radius: 0 var(--radius) var(--radius) 0; }
.motto p { margin: 0; }
.motto-title { font-family: var(--serif); font-weight: 700; color: var(--accent); letter-spacing: .08em; margin-bottom: .25em !important; }
.motto-text { font-family: var(--serif); font-size: 1.1rem; line-height: 1.6; }
.menu-extra { margin: 18px 0 6px; padding: 10px 14px; background: #f3ebe0; border-radius: 10px; font-weight: 600; }

/* 홈 · 찾아오시는 길 */
.more-detail { margin: 14px 0 10px; }
.more-detail .btn { width: 100%; }
.map-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.map-chip { text-align: center; padding: 7px 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); font-size: .78rem; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-chip:hover { border-color: var(--accent); color: var(--accent); }

/* 배너: 상단 띠 · 팝업 */
.site-banner { padding: 10px 0; font-size: .95rem; text-align: center; border-bottom: 1px solid rgba(0,0,0,.08); }
.site-banner[hidden], .banner-popup:not([open]) { display: none; }
.site-banner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; }
.banner-text { white-space: pre-line; font-weight: 600; }
.banner-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: inherit; white-space: nowrap; }
.tone-info { background: #fff4d8; color: #4a3a12; border-color: #ecd9a6; }
.tone-event { background: var(--accent); color: #fff; }
.tone-closed { background: #e6e0d6; color: #3b332b; }
.banner-popup { width: min(92vw, 420px); max-height: 88vh; margin: auto; padding: 0; border: 0; border-radius: 16px; background: var(--surface); color: var(--ink); overflow: auto; }
.banner-popup::backdrop { background: rgba(20,12,8,.62); }
.banner-popup img { width: 100%; display: block; }
.banner-popup-body { padding: 16px 20px 6px; }
.banner-popup-text { margin: 0 0 10px; white-space: pre-line; font-weight: 600; font-size: 1.05rem; }
.banner-popup .banner-link { display: inline-block; color: var(--accent); margin-bottom: 6px; }
.banner-popup-actions { display: flex; border-top: 1px solid var(--line); margin-top: 10px; }
.banner-popup-actions button { flex: 1; padding: 13px 8px; border: 0; background: none; font: 600 .92rem var(--sans); color: var(--muted); cursor: pointer; }
.banner-popup-actions button + button { border-left: 1px solid var(--line); color: var(--ink); }

/* 사진 슬라이드 */
.carousel { position: relative; overflow: hidden; background: #efe6da; }
.carousel img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.carousel .slides { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; cursor: pointer; }
.carousel .slides::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 0 3px; }
.car-btn:hover { background: rgba(0,0,0,.65); }
.car-prev { left: 8px; } .car-next { right: 8px; }
@media (hover: none) and (pointer: coarse) { .car-btn { width: 32px; height: 32px; font-size: 1.4rem; background: rgba(0,0,0,.4); } } /* 터치 기기에서도 버튼을 보이되 조금 작고 연하게 */
.car-dots { position: absolute; left: 0; right: 0; bottom: 4px; z-index: 2; display: flex; justify-content: center; pointer-events: none; }
.car-dot { pointer-events: auto; position: relative; width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.car-dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 2px rgba(0,0,0,.4); transition: transform .2s; }
.car-dot.on::after { background: #fff; transform: scale(1.35); }
.about .carousel { border-radius: var(--radius); aspect-ratio: 4 / 3; }
.hero .carousel .car-dots { justify-content: flex-end; padding-right: 10px; bottom: 2px; }
.dialog-photo .carousel { aspect-ratio: 4 / 3; background: #1f1712; }
.dialog-photo .carousel img { object-fit: contain; max-height: none; }
@media (prefers-reduced-motion: reduce) { .carousel .slides { scroll-behavior: auto; } }

/* 홈 대표 사진 위 소식 카드 (데스크톱: 사진 위 오른쪽 아래 / 휴대폰: 사진 바로 아래) */
.hero-wrap { position: relative; }
.hero-news-pos { padding: 12px 0 0; }
.hero-news { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.hero-news-title { margin: 0 0 6px; font-family: var(--serif); font-weight: 700; color: var(--accent); font-size: .95rem; letter-spacing: .06em; }
.hero-news ul { list-style: none; margin: 0; padding: 0; }
.hero-news li a { display: flex; gap: 10px; padding: 5px 0; text-decoration: none; font-size: .92rem; }
.hero-news li + li a { border-top: 1px solid var(--line); }
.hero-news time { flex: none; color: var(--muted); font-size: .82rem; min-width: 38px; padding-top: 1px; }
.hero-news li span { font-weight: 600; }
.hero-news-all { display: inline-block; margin-top: 4px; font-size: .82rem; font-weight: 600; color: var(--accent); text-decoration: none; }
@media (min-width: 720px) {
  .hero-news-pos:not(.flow) { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 0 30px; pointer-events: none; }
  .hero-news-pos:not(.flow) .wrap { display: flex; justify-content: flex-end; }
  .hero-news { pointer-events: auto; width: min(340px, 100%); background: rgba(255,255,255,.93); backdrop-filter: blur(4px); border: 0; box-shadow: 0 6px 22px rgba(0,0,0,.25); }
}

.header-naver, .footer-naver { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.header-naver:hover, .footer-naver:hover { color: #03a94d; text-decoration: underline; }
.footer-naver { color: #d9cdbf; font-size: inherit; }
.n-badge { flex: none; display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 3px; background: #03c75a; color: #fff; font: 800 10px/1 Arial, sans-serif; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-news-pos.flow { padding-top: 16px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.footer-logo { flex: none; line-height: 0; }
.footer-logo img { height: 74px; width: auto; display: block; }
@media (max-width: 480px) { .footer-logo img { height: 58px; } }

/* 메뉴 설명 창: 이전/다음 메뉴 화살표 (사진 넘기기와 별개) */
.dlg-nav { position: absolute; top: 72px; z-index: 3; width: 30px; height: 30px; padding: 0 0 3px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--accent); font-size: 1.35rem; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.dlg-nav:hover { border-color: var(--accent); }
.dlg-prev { left: 4px; } .dlg-next { right: 4px; }
.dlg-nav[hidden] { display: none; }
.menu-dialog.has-nav .dialog-body { padding-left: 38px; padding-right: 38px; }

/* 휴대폰: 상단 메뉴가 옆으로 잘리지 않고 전부 보이도록 줄바꿈. 헤더가 높아지므로 화면에 고정하지 않는다. */
@media (max-width: 719px) {
  .site-header { position: static; }
  html { scroll-padding-top: 12px; }
  .nav { flex-wrap: wrap; overflow-x: visible; row-gap: 4px; -webkit-mask-image: none; mask-image: none; padding-bottom: 10px; }
}

/* 휴대폰: 분류 칩이 화면 위로 지나가면 맨 위에 붙는 얇은 띠(지금 분류 + ▾ 분류). 누르면 분류 목록이 열린다. */
.cat-bar { display: none; }
@media (max-width: 719px) {
  .cat-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 35; display: block; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 2px 8px rgba(58,42,32,.1); }
  .cat-bar[hidden] { display: none; }
  .cat-bar-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 44px; padding: 0 16px; border: 0; background: none; font: 700 1rem var(--sans); color: var(--ink); cursor: pointer; }
  .cat-bar-label { font-family: var(--serif); }
  .cat-bar-more { font-size: .85rem; font-weight: 600; color: var(--accent); }
  .cat-bar-list { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 6px 0 8px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 18px rgba(58,42,32,.16); }
  .cat-bar.open .cat-bar-list { display: block; }
  .cat-bar-list a { display: block; padding: 12px 20px; text-decoration: none; color: var(--ink); font-weight: 500; }
  .cat-bar-list a.active { color: var(--accent); font-weight: 700; background: #f6efe5; }
  html { scroll-padding-top: 56px; }
}

.footer-hours p { margin: 0 0 .15em; }

/* 소개·모임 칸(컴퓨터): 사진 높이를 옆 글의 세로 길이에 맞춘다 (글이 짧아도 너무 작지 않게, 길어도 너무 커지지 않게 한계를 둔다) */
@media (min-width: 720px) {
  .about .carousel { position: relative; aspect-ratio: auto; height: 100%; min-height: 280px; max-height: 560px; }
  /* 사진 원래 비율이 행 높이를 키우지 않도록 흐름에서 빼고 칸에 가득 채운다 */
  .about .carousel > img, .about .carousel > .slides { position: absolute; inset: 0; width: 100%; height: 100%; }
}

/* 직접 만드는 정성: 메뉴 카드 배지 · 설명 창 한 줄 · 정성 카드 숫자 · 홈 한 줄 띠 */
.craft-badge { position: absolute; left: 8px; bottom: 8px; z-index: 1; max-width: calc(100% - 16px); padding: 3px 9px; border-radius: 999px; background: rgba(58,42,32,.88); color: #fff; font: 600 .72rem/1.4 var(--sans); }
.dialog-badge { position: static; display: inline-block; margin-bottom: 6px; background: #f3ebe0; color: var(--accent); }
.dialog-badge[hidden] { display: none; }
.craft-note { margin: 0 0 .7em !important; padding: 6px 10px; border-left: 3px solid var(--brass); background: #f8f2e9; border-radius: 0 8px 8px 0; font-weight: 600; }
/* 설명 창의 정성 한 줄은 아래 설명 글보다 작게 */
.dialog-detail .craft-note { font-size: .8rem; line-height: 1.5; font-weight: 500; }
.craft-strip-wrap { padding-top: 4px; padding-bottom: 4px; }
.craft-strip { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #f3ebe0; color: var(--ink); text-decoration: none; }
.craft-strip-title { font: 700 .9rem var(--serif); color: var(--accent); white-space: nowrap; }
.craft-strip ul { display: flex; flex-wrap: wrap; gap: 4px 5px; list-style: none; margin: 0; padding: 0; }
.craft-strip li { padding: 2px 9px; border-radius: 999px; background: var(--surface); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.craft-strip-go { position: absolute; top: 9px; right: 14px; color: var(--accent); font-weight: 700; }
@media (min-width: 720px) {
  .craft-strip { flex-direction: row; align-items: center; gap: 14px; }
  .craft-strip-go { position: static; margin-left: auto; }
}
.craft-strip:hover { border-color: var(--accent); }

/* 설명 속 강조 글자 */
.hl { background: none; color: var(--accent); font-weight: 700; }
.nb { white-space: nowrap; }
.site-footer a[href^="tel"] { white-space: nowrap; }
.footer-info { min-width: 0; }
body.no-bar { padding-bottom: 0; }
.action-bar a { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }

/* 휴대폰: 글자를 한 단계 작게, 상단·하단이 옆으로 넘치거나 잘리지 않게 */
@media (max-width: 719px) {
  html { font-size: 15px; }
  body { overflow-x: clip; }
  .page-title { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  .lead { font-size: 1.05rem; }
  .lead-sm { font-size: .92rem; }
  .nav a { font-size: .95rem; padding: 6px 11px; }
  .header-call, .header-insta, .header-naver { white-space: nowrap; }
  .header-insta, .header-naver { font-size: .78rem; }
  .info-grid .address { font-size: .98rem; }
  .info-grid .muted { font-size: .88rem; }
  .action-bar a { font-size: .9rem; }
  .footer-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .footer-logo { align-self: flex-end; }
  .footer-logo img { height: 52px; }
}

/* 휴대폰: 모임 안내·예약·오시는 길 카드와 자주 묻는 질문 글자를 한 단계씩 줄임 */
@media (max-width: 719px) {
  .card { padding: 16px; }
  .card h2 { font-size: 1.02rem; }
  .card .address { font-size: .95rem; }
  .card p, .card .muted { font-size: .9rem; }
  .card .btn { font-size: .88rem; min-height: 40px; padding: 0 14px; }
  .card .btn.large { font-size: .93rem; min-height: 46px; margin-top: 8px; }
  .groups-teaser h2 { font-size: 1rem; }
  .motto { padding: 11px 14px; }
  .motto-title { font-size: .85rem; }
  .motto-text { font-size: .95rem; line-height: 1.55; }
  .groups-teaser .btn { font-size: .82rem; }
  .reserve p { font-size: .92rem; }
  .faq summary { font-size: .93rem; padding: 14px 40px 14px 16px; }
  .faq summary::after { right: 14px; top: 9px; }
  .faq details p { font-size: .88rem; padding: 0 16px 14px; }
}

/* 임시휴무·특별 영업 안내 (영업시간 표 아래) */
.ex-box { margin-top: 12px; padding: 10px 14px; border: 1px solid #ecd9a6; border-radius: 10px; background: #fff7df; }
.ex-box[hidden], .ex-list li[hidden] { display: none; }
.ex-title { margin: 0 0 4px; font-weight: 700; font-size: .9rem; color: #7a5a14; }
.ex-list { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.ex-list li { padding: 2px 0; }
.ex-closed { font-weight: 700; color: var(--accent); }
.ex-note { color: var(--muted); }

/* 하단 전화·예약·길찾기 바와 대표 사진 위 버튼: 켜 두되 작고 얇게 해서 방해를 줄인다 */
:root { --bar-h: 50px; }
.action-bar { gap: 6px; padding: 5px 10px calc(5px + env(safe-area-inset-bottom)); background: rgba(250, 246, 239, .94); }
.action-bar a { height: 38px; border-radius: 10px; font-size: .82rem; font-weight: 600; }
.hero-actions { gap: 8px; }
.hero-actions .btn { min-height: 34px; padding: 0 14px; font-size: .8rem; border-width: 1px; }
@media (min-width: 720px) { .action-bar { max-width: 460px; } }

.page-intro { margin: -.4em 0 1.2em; color: var(--muted); font-size: .95rem; }
.review-card .btn { gap: 6px; }
@media (max-width: 719px) { .page-intro { font-size: .88rem; } }
