/* 빵실빵실 베이커리 */

:root {
  --cream: #F8F0DA;
  --paper: #FCF7EA;
  --terracotta: #C0603C;
  --crust: #A54B36;
  --ink: #6E3A28;
  --line: rgba(192, 96, 60, 0.28);
  --font-title: "Jua", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-hand: "Gaegu", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --radius-lg: 28px;
  --radius-md: 18px;
  --header-h: 64px;
  --walk-lane: 16px; /* 헤더 아래 빵 3형제가 지나가는 길 (로고와 안 겹치게) */
  --quickbar-h: 64px;
  color-scheme: light;
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--walk-lane) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding-bottom: calc(var(--quickbar-h) + env(safe-area-inset-bottom, 0px));
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
/* 버튼을 빠르게 연속으로 눌러도 두 번 탭 확대가 되지 않게 (두 손가락 확대는 그대로 가능) */
a, button, input, label, select, summary, textarea, .stepper { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--crust); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }

.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--crust);
  color: var(--cream);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- 공용 ---------- */
.section { padding-block: 72px; }
.section--tight { padding-block: 8px 0; }

.section-head { text-align: center; margin-bottom: 36px; }

.eyebrow {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.25em;
  color: var(--crust);
}

.section-title {
  margin-top: 2px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(2.25rem, 7vw, 2.9rem);
  line-height: 1.2;
  color: var(--terracotta);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 10px 22px;
  border: 2px solid var(--crust);
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 1.15rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
/* 누르면 젤리처럼 말랑하게 눌렸다가 손을 떼면 통 튕김 */
.btn:active,
.btn-copy:active,
.quick-bar a:active {
  transform: scale(0.92);
  transition-duration: 0.08s;
}
.btn--primary { background: var(--crust); color: var(--cream); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: var(--paper); color: var(--crust); }
.btn--ghost:hover { background: #fff; }

/* ---------- 공지 띠 ---------- */
.notice-bar {
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--ink);
  text-align: center;
}
.notice-bar__link {
  display: block;
  padding: 9px 16px;
  color: var(--cream);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}
.notice-bar__link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 720px) {
  .notice-bar__link { font-size: 0.95rem; }
}

/* ---------- ① 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: var(--walk-lane);
  background: rgba(248, 240, 218, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; text-decoration: none; }
.brand__icon { width: 42px; }
/* 24px 미만이라 테라코타(3.7:1) 대신 crust(5.05:1) */
.brand__name { display: none; font-family: var(--font-title); font-size: 1.3rem; color: var(--crust); }

.site-nav { display: flex; }
.site-nav a {
  padding: 8px 7px;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--paper); color: var(--crust); }

@media (max-width: 359px) {
  .site-nav a { padding-inline: 4px; font-size: 0.9rem; }
}

/* 헤더 아래선: 스크롤한 만큼 차오르고, 그 위를 빵 3형제가 밀대를 밀며 통통 */
.scroll-walk {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 2px;
  pointer-events: none;
}
.scroll-walk__bar {
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.scroll-walk__buddy {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 50px;
}
.scroll-walk__buddy img { width: 100%; transform-origin: 50% 100%; }
.scroll-walk.is-walking .scroll-walk__buddy img { animation: waddle 0.28s ease-in-out infinite alternate; }
@keyframes waddle {
  from { transform: rotate(-3deg); }
  to { transform: translateY(-2px) rotate(3deg); }
}
@media (min-width: 720px) {
  .brand__name { display: inline; }
  .site-nav { gap: 4px; }
  .site-nav a { padding: 8px 14px; font-size: 1.08rem; }
}

/* ---------- ② 첫 화면 ---------- */
.hero { position: relative; padding-block: 32px 56px; overflow: hidden; }
.hero__inner { display: grid; gap: 20px; align-items: center; }

.hero__art {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(70vw, 300px);
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 6% 2% -2%;
  z-index: -1;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 10px rgba(252, 247, 234, 0.5);
}
.hero__art img, .hero__baker { animation: bob 4s ease-in-out infinite; }

/* 히어로 캐릭터: 낮에는 밀대로 반죽 미는 제빵사, 밤에는 이불 덮고 자는 식빵 */
.hero__baker { display: block; width: 100%; height: auto; }
.hero__sleeper { display: none; width: 100%; height: auto; }
.is-night .hero__baker { display: none; }
.is-night .hero__sleeper { display: block; }

/* 부위별 애니메이션. 미는 방향은 밀대 축(18.7도)의 수직 (-0.32, 0.95) */
.hero__baker .bk-tool  { animation: bkPush 820ms ease-in-out infinite; }
.hero__baker .bk-body  { animation: bkLean 820ms ease-in-out infinite; transform-origin: 105px 196px; }
.hero__baker .bk-dough { animation: bkSquash 820ms ease-in-out infinite; transform-origin: 97px 242px; }
.hero__baker .bk-marks { animation: bkRoll 820ms ease-in-out infinite; }
@keyframes bkPush {                 /* 밀대와 두 발 */
  0%, 100% { transform: translate(2.25px, -6.6px); }
  50%      { transform: translate(-2.25px, 6.6px); }
}
@keyframes bkLean {                 /* 몸통(+모자)은 절반만 따라가며 숙임 */
  0%, 100% { transform: translate(1.1px, -3.1px) rotate(0.9deg); }
  50%      { transform: translate(-1.1px, 3.1px) rotate(-1deg); }
}
@keyframes bkRoll {                 /* 표면 무늬는 밀대보다 더 많이 = 굴러가는 느낌 */
  0%, 100% { transform: translate(3.0px, -8.9px); }
  50%      { transform: translate(-3.0px, 8.9px); }
}
@keyframes bkSquash {               /* 반죽이 눌렸다 펴짐 */
  0%, 100% { transform: scale(1, 1); }
  50%      { transform: scale(1.03, 0.955); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__baker, .hero__baker * { animation: none !important; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

/* 캐릭터 누르면 폴짝 (말랑하게 눌렸다 뛰고 착지) */
.hero__buddy {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform-origin: 50% 100%;
}
.hero__buddy:focus-visible { outline-offset: 6px; }
.hero__buddy.is-hopping { animation: hop 0.7s cubic-bezier(0.3, 0.7, 0.4, 1); }
@keyframes hop {
  0% { transform: translateY(0) scale(1, 1); }
  15% { transform: translateY(0) scale(1.08, 0.88); }
  45% { transform: translateY(-36px) scale(0.94, 1.08); }
  70% { transform: translateY(0) scale(1.08, 0.9); }
  85% { transform: translateY(0) scale(0.97, 1.03); }
  100% { transform: translateY(0) scale(1, 1); }
}

/* 밤엔 자고 있으니 "톡 눌러봐요!"는 숨기고, 눌러도 뒤척이기만 */
.is-night .hero__poke { display: none; }
.hero__buddy.is-turning { animation: turnOver 1.2s ease-in-out; }
@keyframes turnOver {
  0%   { transform: rotate(0) translateX(0); }
  28%  { transform: rotate(-2.6deg) translateX(-5px); }
  62%  { transform: rotate(1.8deg) translateX(3px); }
  100% { transform: rotate(0) translateX(0); }
}

.hero__poke {
  position: absolute;
  top: 6%;
  left: 0;
  padding: 4px 12px;
  border-radius: 999px 999px 4px 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 1rem;
  white-space: nowrap;
  pointer-events: none;
  animation: poke 1.6s ease-in-out infinite;
}
@keyframes poke {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: translateY(-3px) rotate(4deg); }
}

/* 퐁퐁 튀어나오는 하트·빵 (JS가 --dx --dy --rot 지정) */
.buddy-pop {
  position: absolute;
  top: 20%;
  left: 50%;
  z-index: 2;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--terracotta);
  text-shadow: 0 0 2px var(--cream), 0 0 4px var(--cream), 0 0 6px var(--cream);
  pointer-events: none;
  animation: pop 0.95s ease-out forwards;
}
.buddy-pop--alt { color: var(--crust); font-size: 1.3rem; }
@keyframes pop {
  0% { transform: translate(-50%, 0) scale(0.3); opacity: 0; }
  12% { opacity: 1; }
  60% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), var(--dy)) rotate(var(--rot)) scale(1.1); opacity: 0; }
}

.hero__text { text-align: center; }
.hero__title {
  margin-top: 4px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(3.2rem, 14vw, 5.6rem);
  line-height: 1.05;
  color: var(--terracotta);
}
.hero__lead {
  margin-top: 14px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.35;
  color: var(--ink);
}
.hero__tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 20px;
  border-radius: 999px;
  background: var(--crust);
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 1.3rem;
}
.status-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 16px auto 0;
  padding: 8px 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.status-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9C8F80;
}
.status-badge.is-open::before {
  background: #3E9B4F;
  box-shadow: 0 0 0 4px rgba(62, 155, 79, 0.2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

@media (min-width: 720px) {
  .hero { padding-block: 64px 96px; }
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .hero__art { order: 1; width: min(100%, 420px); }
  .hero__text { text-align: left; }
  .status-badge { margin-left: 0; }
  .hero__actions { justify-content: flex-start; }
}

/* ---------- ⑥ 가게 이야기 ---------- */
.section--story {
  background: var(--paper);
  border-block: 2px dashed var(--line);
}
.section-lead {
  margin-top: 10px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--ink);
}
.story-grid { display: grid; gap: 12px; }
.story-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
}
.story-card__icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper);
  font-size: 1.6rem;
}
.story-card__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--crust); /* 24px 미만이라 테라코타(3.7:1) 대신 crust(5.05:1) */
}
.story-card__text { font-size: 0.95rem; line-height: 1.5; color: var(--ink); }
.story-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

/* ④ 친구에게 알려주기 */
.share-toast { flex-basis: 100%; min-height: 1.4em; text-align: center; font-size: 0.9rem; font-weight: 700; color: #2F7A3D; word-break: break-all; }
.share-toast:empty { min-height: 0; }
.share-toast--on-dark { color: var(--cream); }
.site-footer__share { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 4px; }
.share-link {
  min-height: 44px;
  padding: 8px 18px;
  border: 2px solid rgba(248, 240, 218, 0.55);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 1.05rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease;
}
.share-link:hover { background: rgba(248, 240, 218, 0.12); }
.share-link:active { transform: scale(0.92); transition-duration: 0.08s; }

@media (min-width: 720px) {
  .section-lead { font-size: 1.45rem; letter-spacing: 0; }
  .story-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .story-card {
    display: block;
    padding: 24px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
  }
  .story-card__icon { width: 60px; height: 60px; margin: 0 auto 10px; font-size: 1.8rem; }
  .story-card__title { font-size: 1.5rem; }
  .story-card__text { margin-top: 4px; }
}

/* ---------- 밤 분위기 (영업 전·후, 휴무일) ---------- */
.hero__night { position: absolute; inset: 0; pointer-events: none; }
.hero__moon {
  position: absolute;
  top: 4%;
  right: 5%;
  width: 72px;
  height: 72px;
  color: #F5D68A;
  filter: drop-shadow(0 0 18px rgba(245, 214, 138, 0.5));
  animation: moon-glow 5s ease-in-out infinite;
}
.hero__star {
  position: absolute;
  height: auto;
  color: #F8F0DA;
  opacity: 0.3;
  animation: twinkle 3.2s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.75) rotate(-8deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(8deg); }
}
@keyframes moon-glow {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: translateY(-5px) rotate(4deg); }
}

.hero__zzz {
  position: absolute;
  top: -14%;
  right: 16%;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--font-title);
  color: #F5D68A;
}
.hero__zzz i { font-style: normal; animation: zzz 2.4s ease-in-out infinite; }
.hero__zzz i:nth-child(1) { font-size: 1.1rem; animation-delay: 0s; }
.hero__zzz i:nth-child(2) { font-size: 1.5rem; animation-delay: 0.5s; }
.hero__zzz i:nth-child(3) { font-size: 2rem; animation-delay: 1s; }
@keyframes zzz {
  0% { opacity: 0; transform: translate(0, 6px); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(10px, -22px); }
}

.is-night .hero { background: linear-gradient(180deg, #2E1A13 0%, #4A2A1E 100%); }
.is-night .hero .eyebrow { color: #F0B27A; }
.is-night .hero__title { color: var(--cream); }
.is-night .hero__lead { color: #EADCC0; }
.is-night .hero__art::before { background: rgba(248, 240, 218, 0.06); box-shadow: none; }
.is-night .hero__art img { filter: brightness(0.92); }
/* 밤 색은 첫 화면 안에서만 (바깥 버튼까지 바뀌면 크림 배경에 크림 글자가 됨) */
.is-night .hero .status-badge {
  border-color: rgba(248, 240, 218, 0.35);
  background: rgba(248, 240, 218, 0.1);
  color: var(--cream);
}
.is-night .hero .btn--ghost { border-color: rgba(248, 240, 218, 0.5); background: transparent; color: var(--cream); }
.is-night .hero .btn--ghost:hover { background: rgba(248, 240, 218, 0.12); }
.is-night .hero__poke { background: #F5D68A; color: #3B2118; }

/* ---------- ③ 대표 메뉴 ---------- */
.menu-grid { display: grid; gap: 22px; }
@media (min-width: 720px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}

.menu-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 6px 0 rgba(165, 75, 54, 0.12);
}
/* 사진은 4:3으로 잘라서 보여줌 (이미지를 absolute로 깔아야 원본 비율로 늘어나지 않음) */
.menu-card__photo {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
  cursor: zoom-in;
}
.menu-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.menu-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--crust);
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 1rem;
}
.menu-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 22px;
}
.menu-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}
.menu-card__name {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--ink);
}
.menu-card__name small { font-size: 0.95rem; color: var(--crust); }
.menu-card__price {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--terracotta);
  white-space: nowrap;
}
.menu-card__desc {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.45;
  color: var(--ink);
}
.menu-card__note {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--crust);
}
.menu-card__note::before { content: "⏰ "; content: "⏰ " / ""; }

/* 메뉴 둘러보기 (옆으로 흐르는 카드) */
.menu-carousel { margin-top: 48px; }
.menu-carousel__title {
  text-align: center;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.65rem;
  color: var(--terracotta);
}
.menu-carousel__hint {
  margin-top: 2px;
  text-wrap: balance;
  text-align: center;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.menu-carousel__viewport {
  margin: 14px -20px 0;
  padding-block: 6px 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.menu-carousel__viewport:focus-visible { outline-offset: -3px; }
@media (hover: none) {
  .menu-carousel__viewport { scrollbar-width: none; }
  .menu-carousel__viewport::-webkit-scrollbar { display: none; }
}
@media (hover: hover) {
  .menu-carousel__viewport { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
}
.menu-carousel__track { display: flex; gap: 14px; width: max-content; padding-inline: 20px; }
.menu-slide { flex: 0 0 auto; width: 148px; }
.menu-slide a { display: block; color: var(--ink); text-decoration: none; }
.menu-slide img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  -webkit-user-drag: none;
  transition: transform 0.2s ease;
}
.menu-slide a:hover img { transform: translateY(-3px); }
.menu-slide span {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
}
@media (min-width: 720px) {
  .menu-carousel__viewport { margin-inline: 0; }
  .menu-slide { width: 180px; }
}

.menu-actions { margin-top: 28px; text-align: center; }
.menu-actions small { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; }

.menu-more {
  margin-top: 18px;
  text-wrap: balance;
  text-align: center;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.35rem;
}
.menu-more a { color: var(--crust); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- ④ 빵 나오는 시간 ---------- */
.section--terracotta { background: var(--terracotta); color: var(--cream); }
.section-head--on-dark .eyebrow,
.section-head--on-dark .section-title { color: var(--cream); }

.timetable {
  max-width: 880px;
  margin-inline: auto;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  color: var(--ink);
}
.timetable__done {
  margin-bottom: 22px;
  padding: 8px 16px;
  border: 2px dashed var(--line);
  border-radius: 999px;
  background: var(--paper);
  text-align: center;
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--crust);
}

.timeline__row { position: relative; padding: 0 0 30px 38px; }
.timeline__row:last-child { padding-bottom: 0; }
.timeline__row::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--terracotta);
}
.timeline__row::after {
  content: "";
  position: absolute;
  top: 38px;
  bottom: 8px;
  left: 9.5px;
  border-left: 3px dotted var(--terracotta);
}
.timeline__row:last-child::after { display: none; }

.timeline__time {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 10px;
}
.timeline__clock {
  font-family: var(--font-title);
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--terracotta);
}
.timeline__until { font-family: var(--font-title); font-size: 1.3rem; color: var(--crust); }
.timeline__badge {
  align-self: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--crust);
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 0.95rem;
  white-space: nowrap;
}

.bread-list { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; gap: 6px; }
/* 빵 이름은 읽는 정보라 손글씨 대신 고딕체 + 흰 배경 (손글씨는 시간·문구에 남김) */
.bread-list li {
  padding: 5px 13px;
  border: 2px solid rgba(165, 75, 54, 0.45);
  border-radius: 999px;
  background: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--ink);
}
.bread-list li.is-signature { border-color: var(--crust); background: var(--crust); color: var(--cream); }
.bread-list li.is-signature small { margin-left: 3px; font-size: 0.85rem; }

.timeline__row.is-now::before { animation: pulse 1.8s ease-in-out infinite; }
/* 기본 라벨이 이미 흰 배경이라, 지금 나오는 줄은 테두리를 진하게 + 살짝 그림자로 구분 */
.timeline__row.is-now .bread-list li:not(.is-signature) {
  border-color: var(--crust);
  box-shadow: 0 2px 0 rgba(165, 75, 54, 0.18);
}
.timeline__row.is-next::before { border: 5px solid var(--terracotta); background: var(--cream); }

/* 방금 나온 빵 위로 모락모락 김 (JS가 행마다 .steam 삽입) */
.steam {
  position: absolute;
  top: -20px;
  left: 42px;
  display: none;
  gap: 9px;
  height: 22px;
  color: var(--terracotta);
  pointer-events: none;
}
.timeline__row.is-now .steam { display: flex; }
.steam i {
  width: 9px;
  height: 20px;
  border-left: 3px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  animation: steam 2.1s ease-in-out infinite;
}
.steam i:nth-child(2) { margin-top: -6px; animation-delay: 0.7s; }
.steam i:nth-child(3) { animation-delay: 1.4s; }
@keyframes steam {
  0% { transform: translateY(8px) scaleY(0.6); opacity: 0; }
  35% { opacity: 0.85; }
  100% { transform: translate(3px, -12px) scaleY(1.15); opacity: 0; }
}
@media (min-width: 720px) {
  .steam { left: 52px; }
}
.timeline__row.is-next .timeline__badge { background: var(--ink); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(192, 96, 60, 0.3); }
  50% { box-shadow: 0 0 0 11px rgba(192, 96, 60, 0.06); }
}

.timetable__footer {
  margin-top: 30px;
  text-align: center;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.35;
}

@media (min-width: 720px) {
  .timetable { padding: 44px 48px; }
  .timeline__row {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: start;
    gap: 24px;
    padding-left: 46px;
  }
  .timeline__time { flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 0; }
  .timeline__badge { align-self: flex-start; margin-top: 6px; }
  .timeline__clock { font-size: 2.1rem; }
}

/* ---------- ⑤ 할인 혜택 ---------- */
.benefit-grid { display: grid; gap: 32px; }
@media (min-width: 880px) {
  .benefit-grid { grid-template-columns: 1fr 1fr; }
}

.benefit { position: relative; padding: 30px 14px; border-radius: var(--radius-lg); }
.benefit-badge {
  position: absolute;
  top: -16px;
  right: 18px;
  z-index: 2;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 1.1rem;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
  transform: rotate(4deg);
  animation: wiggle 2.4s ease-in-out infinite;
}
@keyframes wiggle {
  0%, 100% { transform: rotate(4deg); }
  50% { transform: rotate(-3deg); }
}

.benefit-note {
  width: fit-content;
  margin: 28px auto 0;
  padding: 10px 20px;
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  text-align: center;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
}
.benefit-note strong { color: var(--crust); }

/* 쿠폰 */
.coupon { --ticket-pad: 16px; border: 2px solid var(--line); background: var(--paper); }
.coupon__when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 22px;
  font-family: var(--font-title);
  font-size: 1.55rem;
  color: var(--terracotta);
}
.cal {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 54px;
  height: 64px;
  padding-bottom: 6px;
  overflow: hidden;
  border: 3px solid var(--terracotta);
  border-radius: 12px;
  background: var(--cream);
  font-size: 1.3rem;
  line-height: 1;
}
.cal::before {
  content: "♥";
  content: "♥" / "";
  position: absolute;
  inset: 0 0 auto;
  height: 21px;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 0.8rem;
  line-height: 21px;
  text-align: center;
}

.coupon__ticket {
  position: relative;
  overflow: hidden;
  padding: 26px var(--ticket-pad) 26px;
  border-radius: var(--radius-md);
  background: var(--terracotta);
  color: var(--cream);
  text-align: center;
}
/* 쿠폰 위로 반짝 빛이 스윽 */
.coupon__ticket::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 35%;
  background: linear-gradient(100deg, transparent, rgba(255, 250, 235, 0.38), transparent);
  pointer-events: none;
  transform: translateX(-160%) skewX(-18deg);
  animation: shine 4.8s ease-in-out infinite;
}
@keyframes shine {
  0%, 12% { transform: translateX(-160%) skewX(-18deg); }
  45%, 100% { transform: translateX(320%) skewX(-18deg); }
}
.coupon__label { font-family: var(--font-hand); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.3em; }
.coupon__title {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 3px dashed rgba(248, 240, 218, 0.65);
  font-weight: 400;
  line-height: 1.1;
}
.coupon__title::before,
.coupon__title::after {
  content: "";
  position: absolute;
  bottom: -16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
}
.coupon__title::before { left: calc(-1 * var(--ticket-pad) - 14px); }
.coupon__title::after { right: calc(-1 * var(--ticket-pad) - 14px); }
.coupon__amount { display: block; font-family: var(--font-title); font-size: clamp(3.4rem, 15vw, 4.6rem); }
.coupon__sub { display: block; margin-top: 4px; font-family: var(--font-title); font-size: clamp(1.8rem, 7.5vw, 2.3rem); }

/* 체크 목록 (쿠폰·점심 공용) */
.checklist {
  display: grid;
  gap: 6px;
  width: fit-content;
  margin-inline: auto;
  text-align: left;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
}
.checklist li { position: relative; padding-left: 1.5em; }
.checklist li::before {
  content: "✓";
  content: "✓" / "";
  position: absolute;
  left: 0;
  color: var(--terracotta);
}
.checklist--on-dark { color: var(--cream); }
.checklist--on-dark li::before { color: var(--cream); }

/* 점심할인 */
.lunch {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 4px solid var(--terracotta);
  background: var(--cream);
  text-align: center;
}
.lunch__time {
  padding: 4px 28px;
  border-radius: 999px;
  background: var(--crust);
  color: var(--cream);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.55rem;
}
.lunch__title { margin-top: 14px; font-weight: 400; line-height: 1; color: var(--terracotta); }
.lunch__name { display: block; font-family: var(--font-title); font-size: clamp(2.6rem, 11vw, 3.6rem); }
.lunch__rate { display: block; margin-top: 6px; font-family: var(--font-title); font-size: clamp(4.2rem, 19vw, 5.8rem); }
.lunch__art { width: 132px; margin: 10px 0 18px; }

.flower {
  position: absolute;
  width: 22px;
  height: 22px;
  color: var(--terracotta);
  animation: spin 14s linear infinite;
}
.flower--tr, .flower--bl { animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.flower--tl { top: 14px; left: 14px; }
.flower--tr { top: 14px; right: 14px; }
.flower--bl { bottom: 14px; left: 14px; }
.flower--br { right: 14px; bottom: 14px; }

@media (min-width: 720px) {
  .benefit { padding: 38px 32px; }
  .coupon { --ticket-pad: 32px; }
  .coupon__when { gap: 8px; font-size: 1.8rem; }
  .cal { width: 64px; height: 72px; font-size: 1.5rem; }
  .cal::before { height: 24px; font-size: 0.85rem; line-height: 24px; }
  .checklist { font-size: 1.32rem; letter-spacing: 0; }
}

/* ---------- ⑥ 선물·단체주문 ---------- */
.order-banner {
  display: grid;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.order-banner__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.order-banner__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 24px 22px 28px;
}
.order-banner__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1.2;
  color: var(--terracotta);
}
.order-banner__text {
  margin-bottom: 8px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.38rem;
  line-height: 1.4;
  color: var(--ink);
}
.order-banner__text--small { font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; }
.order-banner__tag {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--crust);
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 1rem;
}
.price-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 150px));
  gap: 8px;
  margin: 2px 0 6px;
}
.price-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 10px 4px;
  border: 2px solid var(--crust);
  border-radius: var(--radius-md);
  background: #fff;
}
.price-option__name { font-family: var(--font-title); font-size: 1.05rem; color: var(--ink); }
.price-option__price { font-family: var(--font-title); font-size: 1.5rem; color: var(--terracotta); }
.flavor-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.flavor-list li {
  padding: 2px 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

/* 선물세트 카드 3종 */
.gift-grid { display: grid; gap: 22px; }
@media (min-width: 880px) {
  .gift-grid { grid-template-columns: repeat(3, 1fr); }
}
.gift-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 6px 0 rgba(165, 75, 54, 0.12);
}
/* 사진 = 크게 보기 버튼 */
.gift-card__photo {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
  cursor: zoom-in;
}
.gift-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 사진 위 돋보기 배지 (대표 메뉴·선물세트 공용) */
.photo-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(248, 240, 218, 0.92);
  color: var(--crust);
  box-shadow: 0 2px 8px rgba(110, 58, 40, 0.3);
  transition: transform 0.2s ease;
}
.photo-zoom svg { width: 22px; height: 22px; }
.gift-card__photo:hover .photo-zoom,
.menu-card__photo:hover .photo-zoom { transform: scale(1.12); }

/* 크게 보기 창 */
.lightbox {
  /* 창을 사진 크기에 맞춤 (auto면 화면 너비만큼 늘어나 사진이 왼쪽에 붙어 보임) */
  width: fit-content;
  height: fit-content;
  max-width: 94vw;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(46, 26, 19, 0.82); }
.lightbox__img {
  display: block;
  max-width: 94vw;
  max-height: 86vh;
  border: 3px solid var(--cream);
  border-radius: var(--radius-lg);
  background: var(--cream);
}
.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 3px solid var(--cream);
  border-radius: 50%;
  background: var(--crust);
  color: var(--cream);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__close:active { transform: scale(0.92); }
/* 큰 사진이 떠 있는 동안: 헤더 흐림 효과를 끄고(안 끄면 헤더만 안 어두워짐) 뒤 배경 스크롤 막기 */
.is-lightbox-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-lightbox-open body { overflow: hidden; }
.gift-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; }
.gift-card__name {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--crust);
}
.gift-card__text {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--ink);
}
.gift-card .price-options { margin: 0; }
.gift-card .flavor-list { margin-bottom: 0; }

.gift-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  text-align: center;
}
.gift-actions__text {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--ink);
  text-wrap: balance;
}

/* ① 주문 문구 만들기 */
.order-helper {
  margin-top: 26px;
  padding: 10px 20px 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.order-helper[open] { padding-bottom: 26px; }
.order-helper__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 4px;
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--crust);
  cursor: pointer;
  list-style: none;
}
.order-helper__toggle::-webkit-details-marker { display: none; }
.order-helper__toggle::after { content: "▾"; content: "▾" / ""; transition: transform 0.2s ease; }
.order-helper[open] .order-helper__toggle::after { transform: rotate(180deg); }
.order-helper__form { display: grid; gap: 14px; max-width: 640px; margin-top: 8px; }
.order-helper__field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.order-helper__label { padding: 0; font-family: var(--font-title); font-size: 1rem; color: var(--ink); }
.order-helper__label small { font-family: var(--font-body); font-size: 0.8rem; color: var(--crust); }
.order-helper__row { display: grid; gap: 14px; }
@media (min-width: 480px) {
  .order-helper__row { grid-template-columns: 1fr 1fr; gap: 10px; }
}
.order-helper__input,
.order-helper__preview {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem; /* 16px 미만이면 iOS가 입력할 때 화면을 확대함 */
}
.order-helper__input:focus,
.order-helper__preview:focus { border-color: var(--crust); outline: none; box-shadow: 0 0 0 3px rgba(165, 75, 54, 0.2); }
.order-helper__preview { background: var(--cream); line-height: 1.55; resize: vertical; }
textarea.order-helper__input { resize: vertical; }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.choice input:checked + span { border-color: var(--crust); background: var(--crust); color: var(--cream); }
.choice input:focus-visible + span { outline: 3px solid var(--crust); outline-offset: 2px; }

/* 맛별 개수 (− 0 +) */
.flavor-steppers { display: grid; gap: 8px; }
@media (min-width: 560px) {
  .flavor-steppers { grid-template-columns: 1fr 1fr; }
}
.stepper {
  display: grid;
  grid-template-columns: 1fr 40px 2.2em 40px;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 4px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.stepper__name { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.stepper__count { text-align: center; font-family: var(--font-title); font-size: 1.3rem; color: var(--crust); }
.stepper__btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--crust);
  font-family: var(--font-title);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease;
}
.stepper__btn:hover:not(:disabled) { background: var(--line); }
.stepper__btn:active:not(:disabled) { transform: scale(0.88); transition-duration: 0.08s; }
.stepper__btn:disabled { opacity: 0.35; cursor: default; }
.flavor-status { font-size: 0.92rem; font-weight: 700; color: var(--crust); }
.flavor-status.is-done { color: #2F7A3D; }
.order-helper__hint { font-size: 0.85rem; color: var(--ink); opacity: 0.85; }

.order-helper__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.order-helper__actions .btn-copy { margin-top: 0; min-height: 44px; }
.order-helper__toast { min-height: 1.4em; font-size: 0.92rem; font-weight: 700; color: #2F7A3D; }
.order-helper__privacy { font-size: 0.85rem; color: var(--ink); opacity: 0.85; }

@media (min-width: 720px) {
  .order-banner { grid-template-columns: 320px 1fr; }
  .order-banner__photo { height: 100%; min-height: 250px; aspect-ratio: auto; }
  .order-banner__body { padding: 32px 44px; }
  .order-helper { padding: 14px 32px 20px; }
  .order-helper[open] { padding-bottom: 32px; }
}

/* ---------- ⑦ 오시는 길 ---------- */
.location { display: grid; gap: 24px; }
@media (min-width: 880px) {
  .location { grid-template-columns: 1fr 1fr; }
}

.location__info {
  padding: 24px 22px;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.info-list { display: grid; gap: 14px; }
.info-list__row {
  display: grid;
  grid-template-columns: 5.2em 1fr;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--line);
}
.info-list__row:last-child { padding-bottom: 0; border-bottom: 0; }
.info-list dt { font-family: var(--font-title); font-size: 1.08rem; color: var(--crust); }
.info-list dd { font-weight: 600; color: var(--ink); }
.info-list dd a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.info-list__note { display: block; margin-top: 2px; font-size: 0.88rem; font-weight: 600; color: var(--crust); }
.address { display: block; }
.btn-copy {
  min-height: 36px;
  margin-top: 8px;
  padding: 6px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--crust);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-copy:hover { border-color: var(--crust); }
.copy-toast { margin-left: 8px; font-size: 0.9rem; font-weight: 700; color: #2F7A3D; }

.location__notice {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--cream);
  font-size: 0.95rem;
}
.location__notice::before { content: "📢 "; content: "📢 " / ""; }
.location__notice a { font-weight: 700; color: var(--crust); }

.location__maps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.location__maps .btn { flex: 1 1 140px; }

.location__map {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.location__map-canvas { position: absolute; inset: 0; }
.location__map-fallback {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 316px;
  padding: 24px;
  text-align: center;
  font-size: 0.98rem;
  color: var(--ink);
}
.location__map-fallback strong { color: var(--crust); }
/* 지도 위 가게 이름 말풍선 */
.map-label {
  padding: 6px 14px;
  border: 2px solid var(--crust);
  border-radius: 999px;
  background: var(--cream);
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--crust);
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(110, 58, 40, 0.25);
}

/* ---------- ⑧ 푸터 ---------- */
.site-footer { padding-block: 44px; background: var(--ink); color: var(--cream); text-align: center; }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
/* 흔들흔들 인사하는 캐릭터 + "또 놀러와요 ♥" 말풍선 */
.site-footer__buddy { position: relative; margin-top: 16px; }
.site-footer__icon {
  width: 72px;
  transform-origin: 50% 90%;
  animation: wave 3s ease-in-out infinite;
}
@keyframes wave {
  0%, 55%, 100% { transform: rotate(0); }
  10% { transform: rotate(-12deg); }
  20% { transform: rotate(10deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(5deg); }
}
.site-footer__bubble {
  position: absolute;
  top: -14px;
  left: calc(100% - 4px);
  padding: 4px 12px;
  border-radius: 999px 999px 999px 4px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  white-space: nowrap;
  animation: bubble-bob 3s ease-in-out infinite;
}
@keyframes bubble-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.site-footer__name { font-family: var(--font-hand); font-weight: 700; font-size: 1.55rem; }
.site-footer__info { font-style: normal; font-size: 0.95rem; line-height: 1.8; }
.site-footer a { color: var(--cream); }
.site-footer__copy { font-size: 0.85rem; opacity: 0.8; }

/* ---------- 휴대폰 하단 고정 바 ---------- */
.quick-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--crust);
  box-shadow: 0 -4px 16px rgba(110, 58, 40, 0.18);
}
.quick-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: var(--quickbar-h);
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 1rem;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.quick-bar a + a { border-left: 1px solid rgba(248, 240, 218, 0.25); }
.quick-bar span { font-size: 1.3rem; line-height: 1; }

@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .quick-bar { display: none; }
}

/* ---------- 나타나기 애니메이션 (JS가 html.has-reveal을 붙였을 때만) ---------- */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.has-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

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