@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&family=Song+Myung&display=swap');

/* =========================
   1. Design tokens / reset
   ========================= */
:root {
  --ink: #292720;
  --muted: #756f65;
  --cream: #f7f1e7;
  --paper: #fffdf8;
  --green: #405340;
  --orange: #db7838;
  --line: #ded5c8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 64px;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   2. Header / navigation
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 66px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: rgba(255, 253, 248, 0.98);
  border-bottom: 1px solid rgba(60, 50, 40, 0.1);
}

.brand img {
  width: 92px;
  height: 52px;
  object-fit: contain;
}

.menu-toggle {
  display: block;
  margin-left: auto;
  border: 0;
  background: none;
  font-size: 16px;
  font-weight: 700;
}

.main-nav {
  position: absolute;
  top: 66px;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 10px 20px 18px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.main-nav.open {
  display: flex;
}

.main-nav a {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.header-call {
  display: none;
}

/* =========================
   3. Hero
   ========================= */
.hero {
  display: block;
  min-height: 0;
  background: var(--cream);
}

.hero-image-wrap {
  width: 100%;
  min-height: 0;
  overflow: hidden;
  background: #eee;
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  padding: 38px 22px 44px;
  background: var(--paper);
  text-align: left;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero h1,
.section-heading h2,
.visit-copy h2 {
  margin: 0;
  font-family: 'Song Myung', serif;
  font-weight: 400;
  line-height: 1.24;
}

.hero h1 {
  font-size: clamp(30px, 8.2vw, 40px);
  line-height: 1.28;
  word-break: keep-all;
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 17px;
  border-radius: 4px;
  font-weight: 700;
}

.btn.primary {
  color: #fff;
  background: var(--orange);
}

.btn.secondary {
  color: var(--green);
  background: #fff;
  border: 1px solid var(--green);
}

.hero-facts {
  display: grid;
  gap: 6px;
  margin-top: 30px;
  padding-top: 30px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

/* =========================
   4. Shared sections
   ========================= */
.section {
  padding: 68px 25px;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 22px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.visit-copy h2 {
  font-size: clamp(32px, 9vw, 44px);
}

.section-heading > p:last-child {
  color: var(--muted);
}

/* Final spacing adjustment retained from the approved layout. */
.space-section .section-heading > p:last-child {
  margin-top: -5px;
}

/* =========================
   5. Story
   ========================= */
.story {
  background: var(--cream);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.story-photo {
  order: -1;
}

.story-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-copy p {
  color: var(--muted);
}

.story-copy ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.story-copy li {
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
}

.story-copy li::before {
  margin-right: 10px;
  color: var(--orange);
  content: '✓';
}

/* =========================
   6. Menu
   ========================= */
.menu-section {
  background: #fff;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 1240px;
  margin: auto;
}

.menu-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ebe3d8;
}

.menu-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.menu-card-body {
  display: block;
  padding: 12px 11px 14px;
}

.menu-card-title {
  display: block;
  min-width: 0;
}

.menu-card-title h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  word-break: keep-all;
}

.menu-card-title strong {
  display: block;
  margin-top: 4px;
  color: var(--orange);
  font-size: 13px;
  line-height: 1.3;
  white-space: normal;
}

.menu-card-body p {
  display: none;
}

/* =========================
   7. Space gallery
   ========================= */
.space-section {
  background: var(--cream);
}

.space-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.space-grid img,
.space-grid img:first-child {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* =========================
   8. Visit
   ========================= */
.visit-section {
  background: #fff;
}

.visit-card {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: auto;
  background: var(--paper);
  border: 1px solid #eee5d9;
}

.visit-image {
  grid-row: 1;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.visit-copy {
  padding: 40px 24px;
}

.visit-copy dl {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 3px 16px;
  margin: 26px 0 0;
}

.visit-copy dt {
  font-weight: 700;
}

.visit-copy dd {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  word-break: keep-all;
}

/* =========================
   9. Footer
   ========================= */
footer {
  padding: 20px 20px 35px;
  color: #ddd;
  text-align: center;
  background: #282b25;
}

footer img {
  width: 110px;
  height: 65px;
  margin: auto;
  object-fit: contain;
  filter: brightness(5) grayscale(1);
}

footer p {
  font-size: 12px;
  line-height: 1.8;
}

.legal {
  color: #999;
}

/* Legacy bottom bar styles retained for compatibility; hidden by final mobile layout. */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 64px;
  background: #fff;
  border-top: 1px solid #ddd;
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border-right: 1px solid #eee;
}

.mobile-bar a:first-child {
  color: #fff;
  background: var(--orange);
}

/* =========================
   10. Image lightbox
   ========================= */
[data-gallery] {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px 72px;
  color: #fff;
  background: rgba(10, 10, 9, 0.95);
  touch-action: pan-y;
}

.image-lightbox.open {
  display: flex;
}

.lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(1100px, 100%);
  max-height: 92vh;
  overflow: hidden;
  touch-action: none;
}

.lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  user-select: none;
  box-shadow: 0 18px 65px rgba(0, 0, 0, 0.42);
  transform-origin: center center;
  transition: transform 0.16s ease;
  will-change: transform;
  touch-action: none;
  -webkit-user-drag: none;
}

.lightbox-image.is-zoomed {
  cursor: grab;
}

.lightbox-image.is-dragging {
  cursor: grabbing;
  transition: none;
}

.lightbox-info {
  width: min(760px, 100%);
  margin-top: 16px;
  text-align: center;
}

.lightbox-title {
  display: block;
  font-size: 20px;
}

.lightbox-price {
  display: block;
  margin-top: 3px;
  color: #f1a268;
  font-size: 17px;
  font-weight: 700;
}

.lightbox-description {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.lightbox-counter {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.48);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 999px;
}

.lightbox-close {
  top: 16px;
  right: 18px;
  width: 50px;
  height: 50px;
  font-size: 40px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 56px;
  height: 56px;
  font-size: 46px;
  line-height: 0.8;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

/* =========================
   11. Accessible helpers / mobile sheet base
   ========================= */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
}

.mobile-sheet,
.mobile-sheet-backdrop {
  display: none;
}

#visit-title {
  scroll-margin-top: 86px;
}

/* =========================
   12. Desktop (901px+)
   ========================= */
@media (min-width: 901px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    height: 76px;
    padding: 0 5vw;
  }

  .brand img {
    width: 108px;
    height: 58px;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .main-nav a {
    padding: 0;
    border: 0;
  }

  .header-call {
    display: inline-flex;
    margin-left: 30px;
    padding: 11px 19px;
    color: #fff;
    font-size: 14px;
    background: var(--green);
    border-radius: 999px;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.8fr);
    min-height: 680px;
  }

  .hero-image-wrap {
    min-height: 680px;
  }

  .hero-image {
    height: 100%;
    aspect-ratio: auto;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px clamp(34px, 6vw, 90px);
  }

  .hero h1 {
    font-size: clamp(44px, 4.6vw, 70px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .hero-facts {
    margin-top: 42px;
  }

  .section {
    padding: 95px max(5vw, 24px);
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .visit-copy h2 {
    font-size: clamp(34px, 4vw, 54px);
  }

  .story-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6vw;
    align-items: center;
  }

  .story-photo {
    order: initial;
  }

  .story-photo img {
    height: 460px;
    aspect-ratio: auto;
  }

  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .menu-card > img {
    height: 235px;
    aspect-ratio: auto;
  }

  .menu-card-body {
    padding: 18px;
  }

  .menu-card-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
  }

  .menu-card-title h3 {
    font-size: 17px;
  }

  .menu-card-title strong {
    display: block;
    margin-top: 0;
    font-size: 14px;
    white-space: nowrap;
  }

  .menu-card-body p {
    display: block;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
  }

  .space-grid {
    grid-template-rows: 260px 260px;
    grid-template-columns: 1.3fr 0.85fr;
    gap: 14px;
  }

  .space-grid img {
    height: 100%;
    aspect-ratio: auto;
  }

  .space-grid img:first-child {
    grid-row: 1 / 3;
    height: 100%;
    aspect-ratio: auto;
  }

  .visit-card {
    grid-template-columns: 1fr 1fr;
  }

  .visit-copy {
    padding: 65px;
  }

  .visit-copy dl {
    grid-template-columns: 92px 1fr;
    gap: 14px 20px;
    margin-top: 30px;
  }

  .visit-image {
    grid-row: auto;
    height: 100%;
    min-height: 540px;
    aspect-ratio: auto;
  }

  footer {
    padding-bottom: 105px;
  }

  .mobile-bar {
    display: none;
  }

  #visit-title {
    scroll-margin-top: 96px;
  }
}

/* =========================
   13. Mobile (900px and below)
   ========================= */
@media (max-width: 900px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  /* Floating bottom-left menu button; approved position retained. */
  .site-header {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 70;
    height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    pointer-events: none;
  }

  .site-header .brand {
    display: none !important;
  }

  .site-header .menu-toggle {
    position: absolute;
    top: auto;
    right: auto;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 14px;
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    min-height: 46px;
    margin: 0;
    padding: 0 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    background: var(--orange);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(219, 120, 56, 0.38);
    pointer-events: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-toggle-icon {
    font-size: 18px;
    line-height: 1;
  }

  .menu-toggle-label {
    white-space: nowrap;
  }

  .main-nav,
  .header-call,
  .mobile-bar {
    display: none !important;
  }

  #story,
  #menu,
  #space,
  #visit-title {
    scroll-margin-top: 24px;
  }

  .hero-facts {
    justify-items: end;
    text-align: right;
  }

  .hero-copy {
    padding-bottom: 88px;
  }

  /* Approved clearance between story content and floating menu button. */
  .story-copy p:last-of-type {
    margin-bottom: 90px;
  }

  /* Visit buttons remain in their approved position. */
  .visit-actions {
    width: 100%;
    justify-content: flex-end;
    transform: translateX(20px);
  }

  /* Mobile lightbox */
  .image-lightbox {
    padding: 58px 14px 76px;
    touch-action: none;
  }

  .lightbox-stage {
    max-height: 100%;
  }

  .lightbox-image {
    max-width: 100%;
    max-height: 60vh;
  }

  .lightbox-info {
    margin-top: 13px;
    padding: 0 8px;
  }

  .lightbox-title {
    font-size: 18px;
  }

  .lightbox-price {
    font-size: 16px;
  }

  .lightbox-description {
    font-size: 13px;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: calc(78px + max(env(safe-area-inset-bottom), 8px));
    width: 46px;
    height: 46px;
    font-size: 38px;
    background: rgba(255, 255, 255, 0.12);
  }

  .lightbox-prev {
    left: 18px;
  }

  .lightbox-next {
    right: 18px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }

  /* Mobile bottom sheet */
  .mobile-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 79;
    display: block;
    background: rgba(24, 22, 19, 0.42);
    opacity: 0;
    transition: opacity 0.22s ease;
  }

  .mobile-sheet-backdrop[hidden] {
    display: none;
  }

  .mobile-sheet-backdrop.open {
    opacity: 1;
  }

  .mobile-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: block;
    max-height: min(78vh, 650px);
    padding: 9px 18px calc(22px + max(env(safe-area-inset-bottom), 8px));
    overflow-y: auto;
    visibility: hidden;
    background: var(--paper);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -18px 55px rgba(0, 0, 0, 0.2);
    transform: translateY(105%);
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .mobile-sheet.open {
    visibility: visible;
    transform: translateY(0);
    transition: transform 0.25s ease;
  }

  .mobile-sheet-handle {
    width: 42px;
    height: 4px;
    margin: 1px auto 8px;
    background: #d7d0c7;
    border-radius: 999px;
  }

  .mobile-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-sheet-head img {
    width: 82px;
    height: 46px;
    object-fit: contain;
  }

  .mobile-sheet-home {
    display: flex;
    align-items: center;
    border-radius: 10px;
  }

  .mobile-sheet-home:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
  }

  .mobile-sheet-close {
    width: 42px;
    height: 42px;
    color: var(--ink);
    font-size: 29px;
    line-height: 1;
    background: #f2ece4;
    border: 0;
    border-radius: 50%;
  }

  .mobile-sheet-nav {
    display: grid;
    margin-top: 8px;
  }

  .mobile-sheet-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 62px;
    padding: 10px 4px;
    border-bottom: 1px solid #eee7de;
  }

  .mobile-sheet-nav strong {
    font-size: 16px;
  }

  .mobile-sheet-nav span {
    color: var(--muted);
    font-size: 12px;
    text-align: right;
  }
}


/* v20: full menu board preview — existing layout unchanged */
.full-menu-board {
  width: 100%;
  max-width: 1240px;
  margin: 46px auto 0;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.full-menu-heading {
  margin-bottom: 18px;
}

.menu-board-card {
  position: relative;
  cursor: pointer;
  width: min(520px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #ddd1bf;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(54, 42, 28, .10);
}

.menu-board-card img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  object-position: center top;
}

.menu-board-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 14px 18px;
  color: var(--ink);
  font-weight: 700;
  background: var(--paper);
}

.menu-board-card figcaption span {
  color: var(--orange);
  font-size: 13px;
}

.menu-board-hidden {
  display: none !important;
}

.menu-board-card figcaption {
  cursor: pointer;
}

.menu-board-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media(min-width:901px) {
  .full-menu-board {
    margin-top: 72px;
    padding-top: 52px;
  }

  .menu-board-card {
    width: min(620px, 100%);
  }

  .menu-board-card img {
    height: 460px;
  }
}

/* =========================================================
   v21 개선 패치
   1) 하단 고정 CTA 바 (전화/길찾기/카톡)
   2) 좌하단 알약 버튼 → 우상단 목차 버튼으로 이동
   3) 오시는 길 모바일 1열 스택
   4) 터치 타깃 44px 확보
   5) 스토리 섹션 여백 압축
   ========================================================= */

/* ---------- 1. 하단 고정 CTA 바 ---------- */
.sticky-cta { display: none; }

@media (max-width: 900px) {
  .sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 253, 250, 0.97);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid rgba(58, 52, 45, 0.12);
    box-shadow: 0 -6px 24px rgba(40, 32, 24, 0.10);
  }

  .sticky-cta .cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 58px;
    padding: 8px 4px;
    color: #3a342d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.2px;
    text-decoration: none;
    border-left: 1px solid rgba(58, 52, 45, 0.10);
    -webkit-tap-highlight-color: transparent;
  }
  .sticky-cta .cta-item:first-child { border-left: 0; }
  .sticky-cta .cta-item:active { background: rgba(219, 120, 56, 0.10); }
  .sticky-cta .cta-ico { font-size: 19px; line-height: 1; }

  /* 전화 = 주 액션 */
  .sticky-cta .cta-call {
    color: #fff;
    background: var(--orange, #db7838);
  }
  .sticky-cta .cta-call:active { background: #c96a2e; }

  /* 하단 바에 콘텐츠가 가리지 않도록 */
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)) !important; }

  /* ---------- 2. 목차 버튼: 좌하단 알약 → 우상단 컴팩트 ---------- */
  .site-header {
    position: fixed;
    top: 0; bottom: auto;
    height: auto;
    z-index: 70;
    pointer-events: none;
  }
  .site-header .menu-toggle {
    position: fixed;
    top: calc(10px + env(safe-area-inset-top, 0px));
    right: 12px;
    bottom: auto; left: auto;
    min-height: 44px;
    min-width: 44px;
    padding: 0 14px;
    font-size: 13px;
    background: rgba(255, 253, 250, 0.92);
    color: #3a342d;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(58, 52, 45, 0.14);
    box-shadow: 0 4px 14px rgba(40, 32, 24, 0.14);
  }
  .menu-toggle-icon { font-size: 16px; }

  /* 기존 알약 회피용 과잉 여백 제거 */
  .hero-copy { padding-bottom: 38px; }
  .story-copy p:last-of-type { margin-bottom: 18px; }

  /* 라이트박스/시트를 CTA 바 위로 */
  .lightbox-prev, .lightbox-next {
    bottom: calc(70px + max(env(safe-area-inset-bottom), 8px));
  }
  .mobile-sheet { z-index: 95; }
  .mobile-sheet-backdrop { z-index: 94; }
  .image-lightbox { z-index: 100; }

  /* ---------- 3. 오시는 길 1열 스택 ---------- */
  .visit-list .visit-row {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid rgba(58, 52, 45, 0.10);
  }
  .visit-list .visit-row:last-child { border-bottom: 0; }
  .visit-list dt {
    margin-bottom: 3px;
    color: var(--orange, #db7838);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
  }
  .visit-list dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    word-break: keep-all;
  }
  .visit-list .muted { color: #857b6e; font-size: 14px; }

  .visit-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    width: 100%;
    margin-top: 18px;
    transform: none !important;
    justify-content: stretch !important;
  }
  .visit-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    font-size: 15px;
  }
  .visit-actions .btn.primary { grid-column: 1 / -1; }

  /* ---------- 5. 스토리 섹션 여백 압축 ---------- */
  .story-copy ul li { padding: 14px 0 !important; }
  .story-copy ul { margin: 14px 0 !important; }
  .section { padding-top: 46px; padding-bottom: 46px; }
}

/* ---------- 4. 터치 타깃 44px (전 화면 공통) ---------- */
.visit-list a.tap,
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 푸터 법적 링크 */
.footer-legal { margin-top: 6px; font-size: 12px; }
.footer-legal a { color: inherit; opacity: 0.75; }

/* 이미지 비율 유지 (width/height 속성과 함께 CLS 방지) */
img { max-width: 100%; height: auto; }

/* 접근성: 모션 최소화 설정 존중 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 바텀시트 닫기 버튼 터치 타깃 44px 확보 */
.mobile-sheet-close { min-width: 46px; min-height: 46px; }

/* 오시는 길: 기존 dl grid 무력화 (모바일 1열 스택 강제) */
@media (max-width: 900px) {
  .visit-copy dl.visit-list {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }
  .visit-list .visit-row { display: block !important; }
  .visit-list dt, .visit-list dd { grid-column: auto !important; }
  .visit-section .visit-card { padding-left: 18px; padding-right: 18px; }
}

/* =========================================================
   v22 — 올두부 데모 / 단기 임대 특화 패치
   1) 상단 공지 배너 (팝업·출장·할인 행사용)
   2) 네이버 플레이스 CTA 버튼
   ========================================================= */

/* ---------- 1. 공지 배너 ---------- */
.notice-bar {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 44px 11px 14px;
  background: linear-gradient(100deg, #db7838, #c4622a);
  color: #fff;
}
.notice-bar[hidden] { display: none; }

.notice-tag {
  flex: none;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}
.notice-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  word-break: keep-all;
}
.notice-text strong { font-weight: 800; }

.notice-close {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  background: none;
  border: 0;
  opacity: 0.85;
  cursor: pointer;
}
.notice-close:active { opacity: 1; }

/* ---------- 2. 네이버 플레이스 버튼 ---------- */
.sticky-cta .cta-naver .cta-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  font-family: -apple-system, sans-serif;
  background: #03c75a;
  border-radius: 4px;
}
.sticky-cta .cta-kakao .cta-ico { font-size: 18px; }
.sticky-cta .cta-book  .cta-ico { font-size: 18px; }

@media (min-width: 901px) {
  .notice-bar { padding: 13px 52px 13px 22px; justify-content: center; }
  .notice-text { font-size: 15px; }
}

/* 공지 배너 표시 중에는 우상단 목차 버튼을 아래로 내려 겹침 방지 */
@media (max-width: 900px) {
  .notice-bar:not([hidden]) ~ .site-header .menu-toggle {
    top: calc(10px + env(safe-area-inset-top, 0px) + 46px);
  }
  .notice-close { min-width: 44px; min-height: 44px; right: 2px; }
}

/* 오시는 길 버튼 줄바꿈 방지 */
@media (max-width: 900px) {
  .visit-actions .btn { white-space: nowrap; font-size: 14.5px; padding-left: 6px; padding-right: 6px; }
}
