:root {
  /* 업로드한 팔레트: 밝은 색 → 어두운 색 순서 */
  --cream: #F7F1EA;
  --taupe: #B7A79A;
  --brown: #4E3329;
  --deep-brown: #2A1A14;
  --ink: #0E0E0F;

  /* 역할별 색상 */
  --paper: #F7F1EA;
  --muted-brown: #4E3329;
  --accent: #4E3329;
  --accent-dark: #2A1A14;
  --line: #B7A79A;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  color: var(--brown);
  background: var(--paper);
  line-height: 1.7;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(247, 241, 234, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 26, 20, 0.12);
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.nav { display: flex; gap: 2rem; font-size: .95rem; }
.nav a:hover { color: var(--accent); }
.menu-toggle { display: none; }

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 120px 7vw 80px;
  background:
    linear-gradient(135deg, rgba(14,14,15,.92), rgba(78,51,41,.74)),
    radial-gradient(circle at 70% 30%, rgba(183,167,154,.20), transparent 28%),
    #2A1A14;
  color: var(--cream);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.18), transparent 35%);
}

.hero-content {
  position: relative;
  width: min(920px, 100%);
}

.eyebrow {
  margin: 0 0 .6rem;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--accent);
}
.hero .eyebrow { color: var(--taupe); }

.hero h1 {
  margin: 0;
  font-family: "Noto Serif KR", "Nanum Myeongjo", Batang, serif;
  font-size: clamp(3.2rem, 5.2vw, 5.2rem);
  line-height: 1.12;
  letter-spacing: -.04em;
  word-break: keep-all;
}

.hero-copy {
  max-width: 600px;
  margin: 1.5rem 0 2rem;
  font-size: 1.05rem;
  color: rgba(247,241,234,.84);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--cream);
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--accent-dark); }
.button.secondary { border: 1px solid var(--brown); background: transparent; color: var(--deep-brown); }

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 110px 24px;
}
.alt {
  max-width: none;
  background: var(--cream);
}
.alt > * { max-width: var(--max-width); margin-left: auto; margin-right: auto; }

.section-heading { margin-bottom: 2.5rem; }
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.1;
}
.section-heading p:last-child { color: var(--muted-brown); }

.about-grid, .location-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: start;
}
.lead { font-size: 1.35rem; font-weight: 800; }

.info-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
}
.info-card span, .location-info span { color: var(--muted-brown); font-size: .85rem; }

.menu-groups {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}
.menu-group {
  padding: 2rem;
  background: rgba(247,241,234,.68);
  border: 1px solid rgba(78,51,41,.18);
  border-radius: 24px;
}
.menu-group:first-child { grid-row: span 2; }
.menu-group h3 { margin-top: 0; font-size: 1.5rem; }
.menu-title-row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.menu-title-row span { font-size: .78rem; color: var(--muted-brown); }
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px dashed var(--line);
}
.menu-item:first-of-type { border-top: 0; }

.photo-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  grid-template-rows: 240px 240px;
  gap: 1rem;
}
.photo-placeholder,
.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 24px;
  color: rgba(247,241,234,.86);
  background: linear-gradient(145deg, #4E3329, #2A1A14);
  font-weight: 800;
}
.photo-placeholder:first-child { grid-row: span 2; }

.location-section { padding-bottom: 130px; }
.map-placeholder { min-height: 420px; }
.location-info { display: grid; gap: 1rem; }
.location-info > div:not(.button-row) {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.location-info strong { display: block; margin-top: .25rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }

.site-footer {
  padding: 60px 24px;
  text-align: center;
  color: var(--cream);
  background: var(--ink);
}
.site-footer strong { font-size: 1.4rem; letter-spacing: .1em; }
.site-footer p { margin: .4rem 0 1rem; color: var(--taupe); }
.site-footer small { color: var(--taupe); }

@media (max-width: 760px) {
  .site-header { height: 64px; }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(78, 51, 41, 0.16);
    border-radius: 12px;
    background: rgba(247, 241, 234, 0.78);
    color: var(--brown);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .15s ease;
  }
  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    color: var(--deep-brown);
    background: rgba(183, 167, 154, 0.18);
    border-color: rgba(78, 51, 41, 0.28);
    outline: none;
  }
  .menu-toggle:active {
    transform: scale(.96);
  }
  .nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 1rem 5vw 1.4rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; }

  .hero { min-height: 84vh; padding-top: 110px; }
  .section { padding: 80px 20px; }
  .about-grid, .location-grid, .menu-groups { grid-template-columns: 1fr; }
  .menu-group:first-child { grid-row: auto; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .photo-placeholder:first-child { grid-row: auto; min-height: 320px; }
  .menu-title-row { align-items: flex-start; flex-direction: column; }
}


.hero-title-line { display: block; white-space: nowrap; }

@media (max-width: 760px) {
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); line-height: 1.14; }
  .hero-title-line { white-space: normal; }
}


/* --- Typography / Korean line-break fixes --- */
body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-copy,
.section-heading h2,
.lead,
.about-copy p,
.info-card strong,
.menu-group h3,
.menu-item span,
.menu-item strong,
.location-info strong,
.site-footer p {
  word-break: keep-all;
}

.about-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.9fr);
  gap: 4rem;
}

.about-copy {
  min-width: 0;
  max-width: 680px;
}

.lead {
  margin: 0 0 1.25rem;
  font-size: clamp(1.55rem, 2.35vw, 2rem);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.about-copy p:last-child {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--deep-brown);
}

.info-card {
  gap: 1.2rem 1.5rem;
  padding: 2.2rem 2rem;
  align-items: start;
}

.info-card strong {
  line-height: 1.55;
  font-size: 1.06rem;
}

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-copy,
  .info-card {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .lead {
    font-size: 1.4rem;
    line-height: 1.55;
  }

  .about-copy p:last-child,
  .info-card strong {
    font-size: 1rem;
    line-height: 1.8;
  }
}


/* --- Header wordmark from the supplied sign reference --- */
.logo {
  display: inline-flex;
  align-items: center;
  height: 44px;
}
.logo img {
  display: block;
  width: auto;
  height: 38px;
  object-fit: contain;
}

/* --- Clickable menu + sliding photo reveal --- */
.menu-entry {
  border-top: 1px dashed var(--line);
}
.menu-entry:first-of-type {
  border-top: 0;
}
.menu-entry .menu-item {
  border-top: 0;
}
.menu-item-button {
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color .2s ease, padding-left .2s ease;
}
.menu-item-button::after {
  content: "+";
  position: absolute;
  right: .1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--muted-brown);
  transition: transform .28s ease;
}
.menu-item-button strong {
  margin-right: 2rem;
}
.menu-item-button:hover,
.menu-item-button:focus-visible {
  color: var(--deep-brown);
  padding-left: .35rem;
}
.menu-item-button:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 3px;
  border-radius: 8px;
}
.menu-item-button[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(45deg);
}
.menu-photo-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .42s cubic-bezier(.22,.7,.25,1), opacity .28s ease;
}
.menu-photo-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.menu-photo-inner {
  min-height: 0;
  overflow: hidden;
}
.menu-photo-inner img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0 0 1rem;
  border-radius: 16px;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform .42s cubic-bezier(.22,.7,.25,1), opacity .32s ease .06s;
  object-position: center 42%;
}
.menu-photo-panel.is-open .menu-photo-inner img {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 760px) {
  .logo { height: 38px; }
  .logo img { height: 32px; }
  .menu-item-button strong { margin-right: 1.75rem; }
  .menu-photo-inner img { border-radius: 12px; }
}

/* --- Location / NAVER map --- */
.map-shell {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(78, 51, 41, .16);
  border-radius: 24px;
  background: #e9e1d8;
  box-shadow: 0 14px 42px rgba(42, 26, 20, .08);
}

.naver-map {
  width: 100%;
  min-height: 420px;
  height: 100%;
}

.map-fallback {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: 2rem;
  text-align: center;
  color: var(--deep-brown);
  background:
    linear-gradient(rgba(247,241,234,.82), rgba(247,241,234,.82)),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(78,51,41,.07) 42px 43px),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(78,51,41,.07) 42px 43px),
    #e9e1d8;
}

.map-fallback strong {
  font-size: 1.35rem;
}

.map-fallback p {
  margin: 0;
  font-weight: 700;
}

.map-fallback small {
  max-width: 360px;
  margin-top: .35rem;
  color: var(--muted-brown);
  line-height: 1.65;
}

.map-pin {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--brown);
  color: var(--cream);
  font-size: .85rem;
  box-shadow: 0 8px 18px rgba(42, 26, 20, .18);
}

.map-pin::first-letter {
  transform: rotate(45deg);
}

.button.is-disabled {
  opacity: .45;
  cursor: default;
  pointer-events: none;
}

.map-error {
  color: var(--deep-brown);
}

/* Header logo: only the exact '금성' crop from the supplied reference. */
.logo img {
  height: 34px;
  max-width: 96px;
}

@media (max-width: 760px) {
  .map-shell,
  .naver-map,
  .map-fallback {
    min-height: 340px;
  }

  .logo img {
    height: 30px;
    max-width: 86px;
  }
}

/* --- Hero storefront photo: right-side image with soft fade into the brand brown --- */
.hero {
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(14,14,15,.95), rgba(78,51,41,.88)),
    #2A1A14;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  background-image: url("assets/front.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: .95;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.22) 15%, #000 45%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.22) 15%, #000 45%, #000 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(14,14,15,.94) 0%,
      rgba(27,17,14,.88) 30%,
      rgba(42,26,20,.45) 52%,
      rgba(42,26,20,.10) 74%,
      rgba(42,26,20,.08) 100%),
    linear-gradient(to top, rgba(14,14,15,.18), transparent 32%);
  pointer-events: none;
}

.hero-overlay {
  display: none;
}

.hero-content {
  z-index: 1;
  width: min(760px, 46vw);
}

@media (max-width: 980px) {
  .hero::before {
    width: 64%;
    opacity: .72;
  }

  .hero::after {
    background: linear-gradient(to right,
      rgba(14,14,15,.96) 0%,
      rgba(42,26,20,.82) 42%,
      rgba(42,26,20,.34) 70%,
      rgba(42,26,20,.22) 100%);
  }

  .hero-content {
    width: min(720px, 62vw);
  }
}

@media (max-width: 760px) {
  .hero::before {
    width: 100%;
    background-position: 58% center;
    opacity: .48;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero::after {
    background:
      linear-gradient(to right, rgba(14,14,15,.91), rgba(42,26,20,.64)),
      linear-gradient(to top, rgba(14,14,15,.34), transparent 45%);
  }

  .hero-content {
    width: 100%;
  }
}

/* =========================================================
   Mobile-first polish (2026-09): separate storefront image + content
   ========================================================= */
@media (max-width: 760px) {
  html { scroll-padding-top: 64px; }

  body {
    font-size: 15px;
    line-height: 1.75;
  }

  .site-header {
    padding: 0 18px;
    background: rgba(247, 241, 234, .97);
  }

  .logo img {
    height: 28px;
    max-width: 82px;
  }

  /* Hero: storefront is an actual top visual on mobile, not a muddy background. */
  .hero {
    min-height: 0;
    display: block;
    padding: 0 20px 54px;
    background: var(--deep-brown);
    color: var(--cream);
  }

  .hero::before {
    position: relative;
    display: block;
    top: auto;
    right: auto;
    width: calc(100% + 40px);
    height: clamp(260px, 67vw, 360px);
    margin: 0 -20px;
    background-image: url("assets/front.jpg");
    background-size: cover;
    background-position: 50% 52%;
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero::after {
    z-index: 0;
    inset: 0;
    background: linear-gradient(
      to bottom,
      transparent 0,
      transparent clamp(215px, 55vw, 305px),
      rgba(42, 26, 20, .24) clamp(235px, 60vw, 325px),
      var(--deep-brown) clamp(260px, 67vw, 360px),
      var(--deep-brown) 100%
    );
  }

  .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding-top: 36px;
  }

  .hero .eyebrow {
    margin-bottom: 10px;
    font-size: .68rem;
    letter-spacing: .16em;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.55rem);
    line-height: 1.16;
    letter-spacing: -.045em;
  }

  .hero-title-line {
    display: block;
    white-space: nowrap;
  }

  .hero-copy {
    margin: 20px 0 26px;
    max-width: 32rem;
    font-size: .98rem;
    line-height: 1.8;
  }

  .hero .button {
    min-height: 46px;
    padding-inline: 1.15rem;
  }

  /* Sections: less desktop whitespace, cleaner mobile rhythm. */
  .section {
    padding: 66px 18px;
  }

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

  .section-heading h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.18;
  }

  .section-heading .eyebrow {
    font-size: .7rem;
  }

  .about-grid,
  .location-grid,
  .menu-groups {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .lead {
    font-size: 1.28rem;
    line-height: 1.62;
  }

  .about-copy p:last-child {
    font-size: .98rem;
    line-height: 1.9;
  }

  .info-card {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 13px 14px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .info-card span {
    font-size: .78rem;
  }

  .info-card strong {
    font-size: .96rem;
    line-height: 1.65;
  }

  /* Menu: wide tap targets and photos tailored for portrait screens. */
  .menu-group {
    padding: 20px 17px;
    border-radius: 18px;
  }

  .menu-group h3 {
    font-size: 1.32rem;
  }

  .menu-title-row {
    gap: 4px;
  }

  .menu-item-button {
    min-height: 58px;
    padding: 13px 0;
  }

  .menu-item-button .menu-item {
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  .menu-item-button strong {
    flex: 0 0 auto;
    margin-right: 1.7rem;
    font-size: .94rem;
  }

  .menu-photo-inner img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  /* Store gallery stacks naturally. */
  .photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
  }

  .photo-placeholder,
  .photo-placeholder:first-child {
    grid-row: auto;
    min-height: 230px;
    border-radius: 18px;
  }

  /* Visit: map first, then compact info; actions become thumb-friendly. */
  .location-section {
    padding-bottom: 76px;
  }

  .map-shell,
  .naver-map,
  .map-fallback {
    min-height: 300px;
  }

  .map-shell {
    border-radius: 18px;
  }

  .location-info {
    gap: 14px;
  }

  .location-info > div:not(.button-row) {
    padding-bottom: 13px;
  }

  .location-info strong {
    font-size: .98rem;
    line-height: 1.6;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 4px;
  }

  .button-row .button {
    width: 100%;
    min-height: 50px;
  }

  .site-footer {
    padding: 46px 18px calc(38px + env(safe-area-inset-bottom));
  }
}

/* Extra-small phones: keep the headline from breaking awkwardly. */
@media (max-width: 390px) {
  .hero {
    padding-inline: 16px;
  }

  .hero::before {
    width: calc(100% + 32px);
    margin-inline: -16px;
    height: 250px;
    background-position: 52% 50%;
  }

  .hero::after {
    background: linear-gradient(to bottom, transparent 0 205px, rgba(42,26,20,.25) 225px, var(--deep-brown) 250px, var(--deep-brown) 100%);
  }

  .hero h1 {
    font-size: clamp(2.18rem, 11vw, 2.7rem);
  }

  .hero-copy {
    font-size: .93rem;
  }

  .section {
    padding-inline: 16px;
  }
}


/* =========================================================
   Menu row alignment + hierarchy + photo hint + phone polish
   ========================================================= */
.menu-photo-hint {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: .35rem 0 0;
  padding: .42rem .72rem;
  border: 1px solid rgba(78, 51, 41, .14);
  border-radius: 999px;
  background: rgba(183, 167, 154, .10);
  color: var(--muted-brown) !important;
  font-size: .82rem;
  line-height: 1.45;
}

.menu-photo-hint::before {
  content: "＋";
  font-weight: 700;
  color: var(--brown);
}

.menu-item-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(92px, auto) 24px;
  align-items: center;
  column-gap: 14px;
  padding: 1rem 0;
}

.menu-item-button::after {
  position: static;
  grid-column: 3;
  justify-self: end;
  transform: none;
  line-height: 1;
}

.menu-item-button[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.menu-item-button .menu-name {
  grid-column: 1;
  min-width: 0;
  color: var(--deep-brown);
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  font-size: 1.03rem;
  font-weight: 720;
  line-height: 1.55;
  letter-spacing: -.025em;
  text-align: left;
}

.menu-item-button .menu-price {
  grid-column: 2;
  justify-self: end;
  margin-right: 0;
  color: rgba(78, 51, 41, .78);
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  font-size: .93rem;
  font-weight: 560;
  line-height: 1.4;
  letter-spacing: -.015em;
  white-space: nowrap;
  text-align: right;
}

.menu-item-button:hover .menu-name,
.menu-item-button:focus-visible .menu-name {
  color: var(--ink);
}

.phone-number {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 760px) {
  .menu-photo-hint {
    margin-top: .2rem;
    padding: .38rem .62rem;
    font-size: .76rem;
  }

  .menu-item-button {
    grid-template-columns: minmax(0, 1fr) 82px 22px;
    column-gap: 9px;
    min-height: 62px;
    padding: 14px 0;
  }

  .menu-item-button .menu-name {
    font-size: .99rem;
    font-weight: 720;
    line-height: 1.5;
  }

  .menu-item-button .menu-price {
    width: 82px;
    font-size: .88rem;
    font-weight: 560;
    line-height: 1.35;
  }

  .menu-item-button::after {
    font-size: 1.15rem;
  }
}

@media (max-width: 390px) {
  .menu-item-button {
    grid-template-columns: minmax(0, 1fr) 76px 20px;
    column-gap: 7px;
  }

  .menu-item-button .menu-price {
    width: 76px;
    font-size: .84rem;
  }

  .menu-item-button .menu-name {
    font-size: .94rem;
  }
}


/* =========================================================
   Desktop menu typography hierarchy — final override
   메뉴명이 먼저 보이고 가격은 보조 정보로 보이도록 명확히 분리
   ========================================================= */
@media (min-width: 761px) {
  .menu-item-button .menu-name {
    color: var(--deep-brown);
    font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.5;
  }

  .menu-item-button .menu-price {
    color: rgba(78, 51, 41, 0.64);
    font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
    font-size: 0.86rem;
    font-weight: 400;
    letter-spacing: 0.015em;
    line-height: 1.35;
  }

  .menu-item-button::after {
    color: rgba(78, 51, 41, 0.78);
    font-weight: 500;
  }
}

/* 모바일에서도 같은 위계는 유지하되 크기만 모바일에 맞춤 */
@media (max-width: 760px) {
  .menu-item-button .menu-name {
    color: var(--deep-brown);
    font-weight: 700;
  }

  .menu-item-button .menu-price {
    color: rgba(78, 51, 41, 0.66);
    font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
    font-weight: 400;
  }
}


/* =========================================================
   Mobile interaction-state fixes
   - iOS/Safari의 sticky hover/focus 때문에 닫은 뒤에도 눌린 모양이
     남는 현상을 방지
   - 메뉴명 들여쓰기는 실제 펼침 상태(aria-expanded)와만 연결
   ========================================================= */
@media (max-width: 760px) {
  /* 햄버거: 닫힌 상태는 항상 원래 모양으로 복귀 */
  .menu-toggle,
  .menu-toggle:hover,
  .menu-toggle:focus {
    color: var(--brown);
    background: rgba(247, 241, 234, 0.78);
    border-color: rgba(78, 51, 41, 0.16);
    transform: none;
  }

  .menu-toggle:focus-visible {
    outline: 2px solid rgba(78, 51, 41, 0.28);
    outline-offset: 2px;
  }

  .menu-toggle:active {
    color: var(--deep-brown);
    background: rgba(183, 167, 154, 0.18);
    border-color: rgba(78, 51, 41, 0.28);
    transform: scale(.96);
  }

  /* 메뉴 사진: 텍스트 이동은 '열려 있을 때'만 유지 */
  .menu-item-button,
  .menu-item-button:hover,
  .menu-item-button:focus {
    padding-left: 0;
  }

  .menu-item-button[aria-expanded="true"] {
    padding-left: .35rem;
  }

  .menu-item-button:focus-visible {
    outline: 2px solid var(--taupe);
    outline-offset: 3px;
  }
}

/* 실제 마우스가 있는 PC에서만 hover 들여쓰기 사용 */
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .menu-item-button:hover {
    padding-left: .35rem;
  }
}


/* =========================================================
   Section title font consistency — PC / Mobile
   가게 이야기 · 메뉴 · 매장 안내 · 오시는 길
   기기별 한글 fallback 차이를 없애기 위해 동일 웹폰트 고정
   ========================================================= */
.section-heading h2 {
  font-family: "Noto Serif KR", "AppleMyungjo", "Nanum Myeongjo", "Batang", serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

/* 모바일에서도 폰트 자체는 절대 바꾸지 않고 크기만 조정 */
@media (max-width: 760px) {
  .section-heading h2 {
    font-family: "Noto Serif KR", "AppleMyungjo", "Nanum Myeongjo", "Batang", serif;
    font-weight: 700;
    letter-spacing: -0.045em;
  }
}


/* =========================================================
   FINAL: PC / mobile section-title font unified
   가게 이야기 · 메뉴 · 매장 안내 · 오시는 길
   ========================================================= */
:root {
  --section-title-font: "Nanum Myeongjo", serif;
}

.section-heading h2,
#about .section-heading h2,
#menu .section-heading h2,
#store .section-heading h2,
#location .section-heading h2 {
  font-family: var(--section-title-font) !important;
  font-weight: 800 !important;
  font-style: normal !important;
  letter-spacing: -0.055em !important;
  word-break: keep-all;
}

@media (max-width: 760px) {
  .section-heading h2,
  #about .section-heading h2,
  #menu .section-heading h2,
  #store .section-heading h2,
  #location .section-heading h2 {
    font-family: var(--section-title-font) !important;
    font-weight: 800 !important;
    font-style: normal !important;
    letter-spacing: -0.055em !important;
  }
}


/* =========================================================
   FIX v5
   1) 메뉴/매장/오시는길 헤딩은 원래 가운데 컨테이너 정렬 유지
   2) 가게 이야기만 24px 더 들어가 보이던 구조만 보정
   3) 가격 폰트는 메뉴명과 같은 계열로 복구하고 강조도 낮춤
   ========================================================= */

/* Desktop alignment:
   #about은 .section 자체에 좌우 24px padding이 있어서
   다른 full-width 섹션의 내부 1120px 컨테이너보다 24px 안쪽으로 보였음.
   컨테이너 폭만 48px 넓혀 내용 시작선을 동일하게 맞춘다.
   다른 section-heading의 margin은 절대 건드리지 않는다. */
@media (min-width: 761px) {
  #about.section {
    max-width: calc(var(--max-width) + 48px);
  }
}

/* Menu name / price hierarchy — PC and mobile */
.menu-item-button .menu-name {
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  font-weight: 700;
  color: var(--deep-brown);
}

.menu-item-button .menu-price {
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif !important;
  font-weight: 500 !important;
  color: rgba(78, 51, 41, 0.62) !important;
  letter-spacing: -0.015em !important;
}

/* PC에서는 가격을 한 단계 더 작게 보여 메뉴명이 먼저 읽히게 함 */
@media (min-width: 761px) {
  .menu-item-button .menu-name {
    font-size: 1.06rem;
  }

  .menu-item-button .menu-price {
    font-size: 0.84rem;
  }
}

/* 모바일도 같은 글꼴 계열과 위계를 유지 */
@media (max-width: 760px) {
  .menu-item-button .menu-name {
    font-size: .99rem;
  }

  .menu-item-button .menu-price {
    font-size: .86rem;
  }
}


/* =========================================================
   FIX v6 — desktop section heading horizontal alignment
   가게 이야기 / 메뉴 / 매장 안내 / 오시는 길의 왼쪽 시작선 통일
   ========================================================= */
@media (min-width: 761px) {
  #about.section,
  #store.section,
  #location.section {
    max-width: calc(var(--max-width) + 48px);
  }
}
