/* 담을에프앤비 · 마수리마라탕 — 공용 스타일 */
:root {
  --ink: #141414;
  --ink-2: #4a4a4a;
  --ink-3: #8a8a8a;
  --line: #e6e3de;
  --paper: #ffffff;
  --cream: #f6f2ec;
  --dark: #0d0d0d;
  --red: #c8201e;
  --red-2: #e2422f;
  --teal: #0f5753;
  --gold: #b48a52;
  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --util-h: 36px;
  --head-h: 76px;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--util-h) + var(--head-h)); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 상단 패밀리 바 (교촌식 사이트 전환) ---------- */
.util { position: fixed; inset: 0 0 auto 0; height: var(--util-h); z-index: 60; background: var(--dark); color: #bdbdbd; font-size: 12.5px; }
.util .wrap { display: flex; align-items: stretch; justify-content: space-between; height: 100%; }
.util-sites { display: flex; }
.util-sites a { display: flex; align-items: center; padding: 0 16px; letter-spacing: -0.01em; transition: color .2s, background .2s; }
.util-sites a:hover { color: #fff; }
.util-sites a[aria-current="page"] { background: var(--red); color: #fff; font-weight: 600; }
.util-side { display: flex; align-items: center; gap: 18px; }
.util-side a:hover { color: #fff; }

/* ---------- 헤더 ---------- */
.head { position: fixed; top: var(--util-h); left: 0; right: 0; height: var(--head-h); z-index: 50; transition: background .3s, color .3s, box-shadow .3s; color: #fff; }
.head .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.head.is-solid, .head.is-light { background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.logo { display: flex; align-items: center; gap: 12px; line-height: 1; white-space: nowrap; }
.logo-mark { font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: .04em; }
.logo-text { display: flex; flex-direction: column; gap: 4px; }
.logo-text strong { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.logo-text small { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; opacity: .7; }
.gnb { display: flex; gap: clamp(20px, 3vw, 44px); font-size: 15.5px; font-weight: 600; }
.gnb a { position: relative; padding: 6px 0; }
.gnb a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.gnb a:hover::after, .gnb a.is-on::after { transform: scaleX(1); }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 27px; }
body.nav-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 모바일 전체메뉴 */
.drawer { position: fixed; inset: calc(var(--util-h) + var(--head-h)) 0 0 0; z-index: 49; background: #fff; color: var(--ink); padding: 28px var(--gutter) 40px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; overflow-y: auto; }
body.nav-open .drawer { opacity: 1; transform: none; visibility: visible; }
body.nav-open { overflow: hidden; }
body.nav-open .head { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.drawer a { display: block; padding: 16px 0; font-size: 22px; font-weight: 700; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
.drawer .drawer-sites { display: flex; gap: 8px; margin-top: 28px; }
.drawer .drawer-sites a { flex: 1; text-align: center; font-size: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 999px; }
.drawer .drawer-sites a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 히어로 슬라이더 ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--dark); color: #fff; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero-slide.is-on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.7) 100%); pointer-events: none; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: clamp(72px, 14vh, 150px); z-index: 2; }
.hero-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .3em; opacity: .85; margin-bottom: 18px; }
.hero-title { font-size: clamp(32px, 5.4vw, 72px); font-weight: 800; line-height: 1.18; letter-spacing: -0.035em; }
.hero-title em { font-style: normal; color: #ffb3a6; }
.hero-sub { margin-top: 20px; font-size: clamp(15px, 1.4vw, 18px); opacity: .88; max-width: 560px; }
.hero-ctrl { position: absolute; right: var(--gutter); bottom: clamp(72px, 14vh, 150px); z-index: 3; display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.hero-bar { width: 120px; height: 2px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero-bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero-bar i.run { animation: bar 6s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.hero-arrow { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; }
.hero-arrow:hover { background: rgba(255,255,255,.15); }
.hero-scroll { position: absolute; left: 50%; bottom: 24px; z-index: 3; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; opacity: .7; }
.hero-scroll::after { content: ""; display: block; width: 1px; height: 32px; margin: 10px auto 0; background: #fff; animation: drop 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 섹션 공통 ---------- */
.sec { padding: clamp(80px, 12vw, 160px) 0; }
.sec-head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-label { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .28em; color: var(--red); margin-bottom: 14px; }
.sec-title { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.25; }
.sec-desc { margin-top: 18px; color: var(--ink-2); font-size: clamp(15px, 1.3vw, 17px); }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 999px; font-size: 15px; font-weight: 700; background: var(--ink); color: #fff; transition: background .2s, transform .2s; }
.btn:hover { background: var(--red); }
.btn-line { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--cream); color: var(--ink-2); }

/* 등장 모션 */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .12s; } .rv.d2 { transition-delay: .24s; } .rv.d3 { transition-delay: .36s; }

/* ---------- 가치 (교촌 眞盡連 구조) ---------- */
.values { background: var(--dark); color: #fff; }
.value { min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(72px, 10vw, 120px) var(--gutter); }
.value + .value { border-top: 1px solid rgba(255,255,255,.06); }
.value-han { font-family: var(--serif); font-size: clamp(56px, 9vw, 120px); font-weight: 700; line-height: 1; letter-spacing: .02em; }
.value-han small { font-family: var(--sans); font-size: .28em; font-weight: 600; letter-spacing: 0; margin-left: .4em; opacity: .75; vertical-align: middle; }
.value-en { margin-top: 18px; font-size: 13px; font-weight: 800; letter-spacing: .4em; color: var(--red-2); }
.value-line { width: min(420px, 70vw); height: 3px; margin: 28px auto; background: linear-gradient(90deg, transparent, var(--red) 25%, #ff7a3d 50%, var(--red) 75%, transparent); transform: scaleX(0); transition: transform 1.2s ease .2s; }
.value.in .value-line, .rv.in .value-line { transform: scaleX(1); }
.value-txt { font-size: clamp(16px, 1.6vw, 20px); color: #cfcfcf; }

/* ---------- 소개 (About) ---------- */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.about-media .sub { position: absolute; right: -8%; bottom: -10%; width: 52%; aspect-ratio: 1; object-fit: cover; border: 8px solid var(--cream); border-radius: 4px; }
.about-copy h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.3; margin: 8px 0 28px; }
.about-copy h2 b { color: var(--red); font-weight: 800; }
.about-copy p { color: var(--ink-2); font-size: clamp(15px, 1.25vw, 17.5px); line-height: 1.9; }
.about-copy p + p { margin-top: 18px; }
.about-copy .sign { margin-top: 32px; font-weight: 800; color: var(--ink); font-size: clamp(16px, 1.4vw, 19px); }

/* ---------- 브랜드 카드 ---------- */
.brand-card { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; min-height: 520px; background: var(--dark); color: #fff; border-radius: 6px; overflow: hidden; }
.brand-card-media { position: relative; overflow: hidden; }
.brand-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.brand-card:hover .brand-card-media img { transform: scale(1.04); }
.brand-card-body { padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.brand-card-han { font-family: var(--serif); font-size: 44px; font-weight: 700; letter-spacing: .12em; color: var(--red-2); line-height: 1; }
.brand-card-name { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.brand-card-desc { color: #c9c9c9; font-size: 16px; }
.brand-card .btn { align-self: flex-start; margin-top: 10px; }
.brand-next { margin-top: 20px; display: flex; align-items: center; justify-content: center; height: 120px; border: 1.5px dashed var(--line); border-radius: 6px; color: var(--ink-3); font-weight: 600; font-size: 15px; }

/* ---------- 가맹 ---------- */
.fran { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.fran-media img { width: 100%; height: 100%; object-fit: cover; }
.fran-body { background: var(--teal); color: #fff; padding: clamp(40px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.fran-body .sec-label { color: #ffd2c7; }
.fran-body h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; }
.fran-body p { color: rgba(255,255,255,.82); }
.soon { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 14px; font-weight: 700; }
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ffb3a6; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- 마수리: 스토리 ---------- */
.story { background: var(--paper); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.story-copy p { font-size: clamp(16px, 1.35vw, 18.5px); line-height: 2; color: var(--ink-2); }
.story-copy p + p { margin-top: 22px; }
.story-copy .lead { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.5; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.story-copy .close { font-weight: 800; color: var(--red); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.6; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--dark); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- 마수리: 메뉴 ---------- */
.menu-sec { background: var(--cream); }
.sig { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.sig-item figure { margin: 0; }
.sig-item .ph { overflow: hidden; border-radius: 6px; background: #fff; }
.sig-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s ease; }
.sig-item:hover img { transform: scale(1.05); }
.sig-item figcaption { padding-top: 16px; }
.sig-item h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.sig-item p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.sig-item .unit { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--red); }

.menu-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: clamp(56px, 7vw, 88px) 0 28px; }
.menu-tabs button { height: 44px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; font-weight: 700; color: var(--ink-2); transition: all .2s; }
.menu-tabs button:hover { border-color: var(--ink); color: var(--ink); }
.menu-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.menu-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; background: #fff; border-radius: 6px; padding: 12px clamp(20px, 3vw, 40px); }
.menu-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; }
.menu-list li span { color: var(--ink-3); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.menu-note { margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--ink-3); }

/* ---------- 마수리: 매장 ---------- */
.stores { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.store { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); border-radius: 6px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.store:hover { border-color: var(--ink); box-shadow: 0 18px 40px -24px rgba(0,0,0,.25); transform: translateY(-2px); }
.store-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.store h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.store address { font-style: normal; color: var(--ink-2); font-size: 15.5px; }
.naver { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 6px; height: 44px; padding: 0 18px; border-radius: 999px; background: #03c75a; color: #fff; font-size: 14.5px; font-weight: 700; }
.naver b { display: grid; place-items: center; width: 20px; height: 20px; background: #fff; color: #03c75a; border-radius: 4px; font-size: 13px; font-weight: 900; }
.naver:hover { background: #02b351; }

/* ---------- CTA 배너 ---------- */
.cta { position: relative; color: #fff; overflow: hidden; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.cta .wrap { position: relative; z-index: 1; padding-top: clamp(88px, 12vw, 150px); padding-bottom: clamp(88px, 12vw, 150px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.3; }
.cta p { color: rgba(255,255,255,.85); }

/* ---------- 푸터 ---------- */
.foot { background: #111; color: #9a9a9a; font-size: 13.5px; padding: 56px 0 64px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid #262626; }
.foot .logo { color: #fff; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a:hover { color: #fff; }
.foot-info { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 20px; line-height: 1.8; }
.foot-copy { margin-top: 16px; color: #6a6a6a; font-size: 12.5px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .sig { grid-template-columns: repeat(2, 1fr); }
  .menu-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --head-h: 64px; }
  .gnb { display: none; }
  .menu-btn { display: block; }
  .util-side .hide-m { display: none; }
  .about-grid, .story-grid, .brand-card, .fran { grid-template-columns: 1fr; }
  .about-media { margin-bottom: 40px; }
  .about-media .sub { right: 0; bottom: -40px; width: 44%; border-width: 6px; }
  .brand-card-media { aspect-ratio: 16/11; }
  .fran-media { aspect-ratio: 16/10; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stores { grid-template-columns: 1fr; }
  .hero-ctrl { left: var(--gutter); right: auto; bottom: 28px; }
  .hero-scroll { display: none; }
  .foot-top { flex-direction: column; }
  .value { min-height: 0; }
}
@media (max-width: 560px) {
  .util-sites a { padding: 0 12px; }
  .logo-mark { font-size: 22px; }
  .logo-text strong { font-size: 15px; }
  .sig { gap: 14px 10px; }
  .sig-item h3 { font-size: 17px; }
  .sig-item p { font-size: 13px; }
  .menu-list { grid-template-columns: 1fr; }
  .menu-tabs button { height: 40px; padding: 0 16px; font-size: 14px; }
  .btn { height: 48px; padding: 0 22px; font-size: 14.5px; }
}

/* 점심특선 갤러리 */
.sub-title { margin: clamp(56px, 7vw, 88px) 0 24px; font-size: clamp(20px, 2vw, 26px); font-weight: 800; letter-spacing: -0.03em; text-align: center; }
.sig-sm { grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.sig-sm .sig-item h3 { font-size: 16px; text-align: center; }
.sig-sm .sig-item figcaption { padding-top: 12px; }
@media (max-width: 1024px) { .sig-sm { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sig-sm .sig-item h3 { font-size: 14px; } }

/* ---------- 매장 페이지 (stores/build.py 생성) ---------- */
.store h3 a:hover { color: var(--red); }
.store-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.store-actions .naver { margin-top: 0; }
.btn-sm { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 14.5px; font-weight: 700; transition: background .2s, color .2s; }
.btn-sm:hover { background: var(--ink); color: #fff; }
.sec-desc .more { color: var(--red); font-weight: 700; white-space: nowrap; }

body.sub .head { background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.sub-hero { background: var(--dark); color: #fff; padding: calc(var(--util-h) + var(--head-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 7vw, 88px); }
.sub-hero h1 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.2; margin-top: 10px; }
.sub-hero p { color: #cfcfcf; margin-top: 10px; font-size: clamp(15px, 1.3vw, 17px); }
.sub-hero .opened { display: inline-block; margin-top: 16px; padding: 6px 14px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; }
.crumb { font-size: 13.5px; color: #9a9a9a !important; }
.crumb a:hover { color: #fff; }
.store-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.store-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
table.info { width: 100%; border-collapse: collapse; font-size: 16px; }
table.info th, table.info td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.info th { width: 120px; color: var(--ink-3); font-weight: 600; }
table.info td { font-weight: 600; }
table.info td a { color: var(--red); }
.tbd { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--ink-3); background: var(--cream); padding: 3px 10px; border-radius: 999px; }
.store-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.store-cta .naver { margin-top: 0; }
.store-cta .kakao { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; background: #fee500; color: #191919; font-size: 14.5px; font-weight: 700; }
.store-cta .btn { height: 44px; padding: 0 20px; font-size: 14.5px; }
.store-note { margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.store-note a { color: var(--red); font-weight: 700; }
.other-stores { padding-top: 0; }
.other-stores .sub-title { text-align: left; margin-top: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14.5px; font-weight: 700; transition: border-color .2s; }
.chip-link:hover { border-color: var(--ink); }
@media (max-width: 860px) { .store-detail { grid-template-columns: 1fr; } }
body.sub .sec { padding: clamp(48px, 6vw, 88px) 0; }
body.sub .other-stores { padding-top: 0; }
.badge-new { display: inline-flex; align-items: center; margin-left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: 0; vertical-align: middle; line-height: 1.2; }
.sub-hero h1 .badge-new { font-size: 14px; padding: 6px 12px; margin-left: 14px; }

/* 히어로 위 투명 헤더 — 사진 위 가독성용 반투명 블러 */
.head:not(.is-solid):not(.is-light) { background: rgba(13,13,13,.38); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); }
body.nav-open .head { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* 부드러운 스크롤 (Lenis) */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* 맨 위로 플로팅 버튼 */
.to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 48; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(20,20,20,.86); color: #fff; box-shadow: 0 10px 28px -10px rgba(0,0,0,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }
body.nav-open .to-top { opacity: 0; visibility: hidden; }
@media (max-width: 560px) { .to-top { width: 46px; height: 46px; right: 16px; bottom: 16px; } }

/* 첫 섹션 상단 중앙 '위로' 버튼 */
.has-sec-up { position: relative; }
.sec-up { position: absolute; top: 22px; left: 50%; z-index: 2; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: inherit; border: 1.5px solid currentColor; opacity: .45; transition: opacity .2s, background .2s, color .2s, border-color .2s; }
.sec-up:hover { opacity: 1; background: var(--red); border-color: var(--red); color: #fff; }
.values .sec-up { color: #fff; }

/* 메뉴판 — 가격·기본 주문금액 표기 */
.menu-list li { align-items: flex-start; }
.menu-list li .nm { display: flex; flex-direction: column; gap: 4px; }
.menu-list li .nm small { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.menu-list li span { color: var(--ink); font-size: 15.5px; font-weight: 700; }
.sig-sm .sig-item figcaption { text-align: center; }
.sig-sm .sig-item .unit { margin-top: 4px; font-size: 13px; }

/* 매장 카드 — 매장 수가 늘어도 자동 배치 */
.stores { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.store h3 { display: flex; align-items: center; flex-wrap: wrap; font-size: 22px; }
@media (max-width: 860px) { .stores { grid-template-columns: 1fr; } }
.store-subway { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--teal); }
.store-subway svg { flex: none; }

/* 매장 카드 버튼을 카드 하단에 고정 — 주소·역 줄 수가 달라도 버튼 높이가 같은 줄에 맞음 */
.stores { align-items: stretch; }
.store { height: 100%; }
.store .store-actions { margin-top: auto; padding-top: 10px; }
