/* 초록그릇분식 — 동네 분식집 디자인 샘플 (디코랩)
   구성: 가게 벽(흰 타일)에 나사로 박은 아크릴 메뉴판이 섹션 머리,
   오른쪽 위(모바일은 하단 고정 바 위)에 주문 번호 전광판 + 번호 버튼 메뉴 */

:root {
  /* 가게에서 가져온 색 */
  --color-melamine: #0F7D5B;      /* 멜라민 그릇 초록 — 주 버튼(전화 주문) */
  --color-melamine-deep: #0B6449;
  --color-melamine-hi: #23A07A;   /* 그릇 그림 하이라이트 */
  --color-tteok: #D9301E;         /* 떡볶이 빨강 — 판·전광판·맵기 */
  --color-price: #C42A19;         /* 메뉴판 가격 글자 (흰 판 위 5.7:1) */
  --color-danmuji: #F7D94C;       /* 단무지 노랑 — 보조 버튼·번호표 */
  --color-tile: #F3F2EC;          /* 흰 벽 타일 — 바탕 */
  --color-grout: #E2E0D7;         /* 타일 줄눈 */
  --color-ink: #1E2420;           /* 본문 글자 */
  --color-ink-soft: #565D58;
  --color-formax: #FFFFFF;        /* 흰 포맥스 판·종이 */
  --color-housing: #151716;       /* 전광판 몸체 */
  --color-led: #FF3B2F;           /* 켜진 LED */
  --color-led-off: #2C0C0A;       /* 꺼진 LED 세그먼트 */
  --color-line: #DAD8CE;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-sign: "Do Hyeon", "Pretendard Variable", Pretendard, sans-serif;

  --fs-h1: clamp(2.1rem, 1.3rem + 3vw, 3.4rem);
  --fs-h2: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  --fs-h3: 1.15rem;
  --fs-body: 1rem;
  --fs-small: .875rem;

  --radius-board: 10px;
  --radius-panel: 14px;
  --qb-h: 58px;      /* 모바일 하단 연락 바 */
  --dock-h: 52px;    /* 모바일 전광판 띠 */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-ink);
  background-color: var(--color-tile);
  background-image:
    linear-gradient(var(--color-grout) 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--color-grout) 1.5px, transparent 1.5px);
  background-size: 56px 56px;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
  padding-bottom: calc(var(--qb-h) + var(--dock-h) + env(safe-area-inset-bottom));
}
h1, h2, h3 { line-height: 1.3; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
small { font-size: .82em; color: var(--color-ink-soft); font-weight: 500; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--color-melamine); outline-offset: 2px; }

/* 실제 정보가 들어갈 자리 */
.ph { display: inline-block; border: 1.5px dashed currentColor; border-radius: 5px; padding: 0 .35em; line-height: 1.5; opacity: .8; font-size: .95em; }

/* ---------- 상단 샘플 안내 띠 ---------- */
.sample-banner { background: var(--color-ink); color: #EDEBE3; font-size: 13px; line-height: 1.55; }
.sample-banner__inner { max-width: 1400px; margin: 0 auto; padding: 9px 20px; display: flex; gap: 10px; align-items: flex-start; }
.sample-banner__tag { flex: none; background: var(--color-danmuji); color: var(--color-ink); font-weight: 700; border-radius: 999px; padding: 1px 9px; font-size: 12px; margin-top: 1px; }
.sample-banner a { color: #fff; font-weight: 600; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 12px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.25; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, transform .15s, box-shadow .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(2px); }
.btn--green { background: var(--color-melamine); color: #fff; box-shadow: 0 4px 0 #084A36; }
.btn--green:hover { background: var(--color-melamine-deep); }
.btn--green:active { box-shadow: 0 2px 0 #084A36; }
.btn--yellow { background: var(--color-danmuji); color: var(--color-ink); box-shadow: 0 4px 0 #C9A923; }
.btn--yellow:hover { background: #F2CF2E; }
.btn--yellow:active { box-shadow: 0 2px 0 #C9A923; }
.btn--line { background: #fff; color: var(--color-ink); border-color: var(--color-ink); }
.btn--line:hover { background: #F0EFE8; }
.btn--kakao { background: #FEE500; color: #191600; }
.btn--kakao:hover { background: #F5DC00; }
.btn--block { width: 100%; }

/* ---------- 아크릴·포맥스 판 — 네 귀퉁이 크롬 나사 + 비스듬한 광택 + 벽에서 뜬 그림자 ---------- */
.acrylic {
  --screw: #FBFCFC 0 2px, #A5ADB0 2.6px 4.4px, rgba(0,0,0,.28) 4.9px 5.6px, transparent 6px;
  position: relative;
  background-color: var(--bc, #fff);
  color: var(--bt, var(--color-ink));
  border-radius: var(--radius-board);
  background-image:
    radial-gradient(circle at 15px 15px, var(--screw)),
    radial-gradient(circle at calc(100% - 15px) 15px, var(--screw)),
    radial-gradient(circle at 15px calc(100% - 15px), var(--screw)),
    radial-gradient(circle at calc(100% - 15px) calc(100% - 15px), var(--screw)),
    linear-gradient(112deg, transparent 0 58%, rgba(255,255,255,.2) 58% 64%, transparent 64% 70%, rgba(255,255,255,.1) 70% 72%, transparent 72%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -3px 0 rgba(0,0,0,.1),
    0 3px 0 rgba(0,0,0,.06),
    0 16px 22px -12px rgba(0,0,0,.35);
}

/* ---------- 레이아웃: 벽(본문) + 오른쪽 레일(전광판) ---------- */
.shop { max-width: 1400px; margin: 0 auto; padding: 0 16px; }
.shop__wall { min-width: 0; }

/* ---------- 히어로 ---------- */
.hero { padding: 18px 0 40px; }
.signboard {
  --bc: var(--color-melamine); --bt: #fff;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  padding: 18px 30px;
}
.signboard__bowl { width: 46px; height: 46px; flex: none; }
.signboard__name { font-family: var(--font-sign); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; letter-spacing: .01em; }
.signboard__open { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-weight: 600; font-size: .95rem; background: rgba(0,0,0,.22); border-radius: 999px; padding: 4px 14px; }
.signboard__sub { opacity: .85; font-weight: 500; }
.signboard__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-danmuji); box-shadow: 0 0 0 3px rgba(247,217,76,.3); }

.hero__grid { display: grid; gap: 22px; margin-top: 22px; align-items: center; }
.hero__kicker { font-weight: 700; font-size: .98rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.hero__kicker b { background: var(--color-tteok); color: #fff; border-radius: 6px; padding: 1px 9px; font-size: .9rem; }
.hero__title { font-family: var(--font-sign); font-weight: 400; font-size: var(--fs-h1); line-height: 1.18; margin-top: 10px; letter-spacing: -.01em; }
.hero__lead { margin-top: 12px; font-size: 1.05rem; max-width: 32em; color: #333A35; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero__art { position: relative; }
.counter-art { width: 100%; height: auto; }
.art-t { font: 400 18px var(--font-sign); fill: var(--color-ink); }
.art-n { font: 400 54px var(--font-sign); fill: var(--color-tteok); }
.steam__p { opacity: 0; }

/* ---------- 섹션 공통 ---------- */
.sec { padding-top: 64px; scroll-margin-top: 12px; }
.sec__note { margin-top: 14px; font-size: var(--fs-small); color: var(--color-ink-soft); }

/* 섹션 머리 = 벽에 걸린 가로로 긴 판 */
.board {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 16px;
  padding: 20px 34px; margin-bottom: 22px; min-height: 104px;
}
.board::after {
  /* 판 뒤 조명이 켜지기 전의 어두운 덮개 — 내용은 덮개 아래에서도 읽힌다 */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(20, 22, 21, .42); opacity: 0; pointer-events: none;
  transition: opacity .5s ease-out;
}
.has-motion.io-ready .board:not(.is-lit)::after { opacity: 1; }
.board__no {
  grid-row: span 2; font-family: var(--font-sign); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1;
  min-width: 2.2em; height: 2.2em; display: grid; place-items: center;
  border-radius: 10px; background: var(--bt); color: var(--bc);
}
.board__title { font-family: var(--font-sign); font-weight: 400; font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -.005em; }
.board__sub { font-size: .95rem; font-weight: 600; opacity: .9; margin-top: 2px; }
.board--red    { --bc: #D9301E; --bt: #fff; }
.board--yellow { --bc: #F7D94C; --bt: #1E2420; }
.board--green  { --bc: #0F7D5B; --bt: #fff; }
.board--orange { --bc: #F08A24; --bt: #1E2420; }
.board--blue   { --bc: #2A72B0; --bt: #fff; }
.board--black  { --bc: #1F2321; --bt: #F7D94C; }
.board--black .board__no { background: #F7D94C; color: #1F2321; }

/* 흰 판·종이 공통 */
.panel, .picker, .order__col, .dayline, .qa, .loc__map, .loc__info { background: var(--color-formax); border: 1px solid var(--color-line); border-radius: var(--radius-panel); }

/* ---------- 01 메뉴판 ---------- */
.menuboard {
  --bc: #FFFFFF;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px 34px;
  padding: 34px 32px 30px;
}
.menuboard__group h3 {
  display: inline-block; font-family: var(--font-sign); font-weight: 400; font-size: 1.55rem; line-height: 1.2;
  background: var(--mc); color: var(--mt, #fff); border-radius: 6px; padding: 5px 14px 4px; margin-bottom: 6px;
}
.mg--tteok  { --mc: #D9301E; }
.mg--kimbap { --mc: #0F7D5B; }
.mg--fry    { --mc: #F08A24; --mt: #1E2420; }
.mg--sundae { --mc: #2A72B0; }
.mg--etc    { --mc: #1F2321; --mt: #F7D94C; }
.menuboard li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1.5px dashed #DCDAD0; font-size: 1.04rem; font-weight: 600; }
.menuboard li small { display: block; font-weight: 500; }
.menuboard li b { font-family: var(--font-sign); font-weight: 400; font-size: 1.3rem; color: var(--color-price); font-variant-numeric: tabular-nums; white-space: nowrap; }
.menuboard li b.free { color: var(--color-melamine); }
.spice { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: .9rem; font-weight: 700; }
.spice__lv { display: inline-flex; align-items: center; gap: 2px; }
.spice__lv:last-child { margin-right: 0; }
.chili { display: inline-block; width: 9px; height: 15px; margin-right: 1px; background: var(--color-tteok); border-radius: 60% 60% 50% 50% / 40% 40% 60% 60%; transform: rotate(18deg); }
.spice__lv .chili:last-of-type { margin-right: 5px; }

/* ---------- 02 세트 짜기 ---------- */
.picker { display: grid; gap: 16px 26px; padding: 20px; }
.picker fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.picker legend { font-weight: 700; padding: 0; margin-bottom: 8px; font-size: 1.02rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 2px solid #CFCDC2; background: #FAFAF6; font-weight: 600; font-size: 1rem;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip input:checked + span { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--color-melamine); outline-offset: 2px; }
.chip:hover span { border-color: var(--color-ink); }

.set__stage { display: grid; gap: 20px; margin-top: 18px; align-items: start; }
.tray { width: 100%; height: auto; filter: drop-shadow(0 14px 14px rgba(0,0,0,.18)); }
.tray__rim { fill: var(--color-melamine); }
.tray__bed { fill: #DCEEE5; }
.tray-label rect { fill: #fff; stroke: #BFD9CC; stroke-width: 1.5; }
.tray-label text { font: 400 17px var(--font-sign); fill: var(--color-ink); }
.tray-badge circle { fill: var(--color-danmuji); stroke: #1E2420; stroke-width: 2; }
.tray-badge text { font: 400 20px var(--font-sign); fill: var(--color-ink); }
.tray-empty { font: 400 22px var(--font-sign); fill: rgba(255,255,255,.85); }

.gauge { margin-top: 14px; }
.gauge__label { font-family: var(--font-sign); font-size: 1.35rem; line-height: 1.3; margin-bottom: 8px; }
.gauge__label b { font-weight: 400; color: var(--color-melamine); }
.gauge__label.is-low b { color: var(--color-price); }
.gauge__label.is-high b { color: #9A6A00; }
.gauge__bar { position: relative; display: grid; grid-template-columns: 31fr 35fr 34fr; height: 38px; border-radius: 10px; overflow: hidden; border: 2px solid var(--color-ink); }
.gauge__zone { display: grid; place-items: center; font-size: .85rem; font-weight: 700; background: #F6D8D2; }
.gauge__zone--ok { background: #C9E9DA; }
.gauge__zone:last-of-type { background: #FBEDB8; }
.gauge__needle { position: absolute; inset: 0; width: 100%; pointer-events: none; transform: translateX(calc(var(--p, 50) * 1%)); transition: transform .5s cubic-bezier(.3,1.3,.5,1); }
.gauge__needle::before { content: ""; position: absolute; left: -3px; top: 0; bottom: 0; width: 6px; background: var(--color-ink); border-radius: 3px; }

.ticket { background: var(--color-formax); border-radius: 8px; box-shadow: 0 16px 24px -14px rgba(0,0,0,.35), 0 0 0 1px var(--color-line); overflow: hidden; }
.ticket__top { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; background: var(--color-danmuji); padding: 14px 20px 16px; border-bottom: 2px dashed rgba(30,36,32,.45); }
.ticket__cap { grid-column: 1 / -1; font-family: var(--font-sign); font-size: 1.05rem; }
.ticket__no { font-family: var(--font-sign); font-size: 3.6rem; line-height: 1; color: var(--color-tteok); font-variant-numeric: tabular-nums; }
.ticket__how { font-weight: 700; font-size: 1.05rem; }
.ticket__list { padding: 6px 20px 0; }
.ticket__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "step step"; gap: 4px 10px; align-items: center; padding: 10px 0; border-bottom: 1.5px dashed #DCDAD0; }
.ticket__name { grid-area: name; font-weight: 700; }
.ticket__name small { margin-left: 4px; }
.ticket__price { grid-area: price; font-variant-numeric: tabular-nums; font-weight: 700; }
.stepper { grid-area: step; display: inline-flex; align-items: center; gap: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--color-ink); background: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; transition: background-color .15s; }
.stepper button:hover { background: #F0EFE8; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper b { min-width: 4.2em; text-align: center; font-variant-numeric: tabular-nums; }
.ticket__sum { padding: 12px 20px 4px; }
.ticket__sum div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.ticket__sum dt { color: var(--color-ink-soft); font-weight: 600; }
.ticket__sum dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ticket__sum div:first-child dd { font-family: var(--font-sign); font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
.ticket__warn { margin: 0 20px; font-size: .9rem; font-weight: 700; color: var(--color-price); }
.ticket__warn:empty { display: none; }
.ticket__say { margin: 12px 20px 20px; background: var(--color-tile); border-radius: 10px; padding: 14px; }
.ticket__say-label { font-size: .85rem; font-weight: 700; color: var(--color-ink-soft); }
.ticket__say-text { font-size: 1.05rem; font-weight: 600; margin-top: 4px; }
.ticket__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ticket__actions .btn { flex: 1 1 140px; min-height: 48px; padding: 0 14px; }
.ticket__copied { font-size: .85rem; color: var(--color-melamine); font-weight: 700; margin-top: 6px; }
.ticket__copied:empty { display: none; }

/* ---------- 03 포장·배달 ---------- */
.order { display: grid; gap: 18px; }
.order__col { padding: 22px; }
.order__h { font-family: var(--font-sign); font-weight: 400; font-size: 1.6rem; margin-bottom: 10px; }
.steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 10px 0; }
.steps__no { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--color-ink); color: #fff; font-family: var(--font-sign); font-size: 1.2rem; }
.steps b { display: block; }
.mini-led {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 12px; padding: 12px 16px; border-radius: 10px;
  background-color: var(--color-housing);
  background-image: radial-gradient(rgba(255,59,47,.12) 1px, transparent 1.6px); background-size: 5px 5px;
  color: var(--color-led); font-family: var(--font-sign);
}
.mini-led__cap { font-size: .95rem; color: #FF8A80; }
.mini-led__n { font-size: 2.4rem; line-height: 1; text-shadow: 0 0 10px rgba(255,59,47,.7); }
.mini-led__msg { font-size: 1.1rem; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 11px 0; border-bottom: 1px solid #E6E4DB; text-align: left; vertical-align: top; }
.table td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.order__tip { margin-top: 14px; padding: 12px 14px; background: var(--color-tile); border-radius: 10px; font-size: .95rem; }
.order__tip b { margin-right: 6px; }

/* ---------- 04 주방 하루 ---------- */
.kitchen { display: grid; gap: 18px; align-items: start; }
.dayline { padding: 10px 22px; }
.dayline li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1.5px dashed #DCDAD0; }
.dayline li:last-child { border-bottom: 0; }
.dayline time { font-family: var(--font-sign); font-size: 1.25rem; line-height: 1.4; color: #B25E0B; font-variant-numeric: tabular-nums; }
.dayline b { display: block; }
.origin { --bc: #FFFFFF; padding: 26px 30px; }
.origin__title { font-family: var(--font-sign); font-weight: 400; font-size: 1.55rem; text-align: left; border-bottom: 3px solid var(--color-ink); padding-bottom: 6px; margin-bottom: 4px; }
.table--origin th { font-size: .9rem; color: var(--color-ink-soft); }
.table--origin th:last-child { text-align: right; }
.table--origin td:first-child { text-align: left; font-weight: 600; }
.origin__note { margin-top: 12px; font-size: .9rem; color: var(--color-ink-soft); }

/* ---------- 05 FAQ ---------- */
.faq { display: grid; gap: 10px; }
.qa h3 { font-size: 1.05rem; }
.qa button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; text-align: left;
  background: none; border: 0; padding: 18px 20px; font-weight: 700; font-size: 1.05rem; cursor: pointer; border-radius: var(--radius-panel);
}
.qa button::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 3px solid var(--color-ink); border-bottom: 3px solid var(--color-ink); transform: translateY(-3px) rotate(45deg); transition: transform .25s; }
.qa button[aria-expanded="true"]::after { transform: translateY(3px) rotate(225deg); }
.qa__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s ease; }
.qa.is-closed .qa__panel { grid-template-rows: 0fr; }
.qa__panel > div { overflow: hidden; min-height: 0; }
.qa__panel p { padding: 0 20px 18px; color: #333A35; }

/* ---------- 06 오시는 길 ---------- */
.loc { display: grid; gap: 18px; align-items: start; }
.map-art { width: 100%; height: auto; border-radius: var(--radius-panel); border: 1px solid var(--color-line); background: #fff; }
.map-t { font: 400 26px var(--font-sign); fill: #6A7466; }
.map-s { font: 600 14px var(--font); fill: #6A7466; }
.map-shop { font: 400 20px var(--font-sign); fill: #fff; }
.map-b { font: 700 13px var(--font); fill: #2A72B0; }
.loc__info { padding: 20px 22px; }
.facts > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid #ECEAE2; }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-weight: 700; }
.loc__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.loc__actions .btn { flex: 1 1 150px; }

/* ---------- 푸터 ---------- */
.site-footer { margin-top: 80px; background: var(--color-ink); color: #D8DAD4; font-size: .9rem; }
.site-footer__inner { max-width: 1400px; margin: 0 auto; padding: 36px 20px 40px; display: grid; gap: 16px; }
.site-footer__logo { font-family: var(--font-sign); font-size: 1.5rem; color: #fff; }
.site-footer__biz { margin-top: 6px; line-height: 1.9; }
.site-footer__links { margin-top: 8px; display: flex; gap: 16px; }
.site-footer__links a { color: #D8DAD4; }
.site-footer__links .strong { font-weight: 700; color: #fff; }
.site-footer__credit a { color: #fff; font-weight: 600; }

/* ---------- 주문 번호 전광판 + 번호 메뉴 ---------- */
.counter { color: #ECEDEA; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo b { font-family: var(--font-sign); font-weight: 400; font-size: 1.35rem; line-height: 1.1; }

.led {
  position: relative; border-radius: 10px; padding: 10px 14px 12px;
  background-color: #090A0A;
  background-image: radial-gradient(rgba(255,59,47,.13) 1px, transparent 1.6px);
  background-size: 5px 5px;
  box-shadow: inset 0 0 0 2px #2A2D2C, inset 0 6px 14px rgba(0,0,0,.6);
}
.led__cap { font-family: var(--font-sign); color: #FF8A80; font-size: 1rem; line-height: 1.2; }
.led__digits { display: flex; gap: 6px; margin: 6px 0 4px; filter: drop-shadow(0 0 6px rgba(255,59,47,.55)); }
.seg { width: 54px; height: 90px; }
.seg polygon { fill: var(--color-led-off); }
.seg polygon.on { fill: var(--color-led); }
.led.is-blink .seg polygon.on { fill: var(--color-led-off); }
.led__name { font-family: var(--font-sign); color: var(--color-led); font-size: 1.3rem; line-height: 1.25; text-shadow: 0 0 8px rgba(255,59,47,.55); }
.led__ding {
  position: absolute; top: 10px; right: 10px; padding: 3px 11px 2px; border-radius: 999px 999px 999px 4px;
  background: var(--color-danmuji); color: var(--color-ink); font-family: var(--font-sign); font-size: 1.05rem; line-height: 1.3;
  opacity: 0; transform: scale(.6); transform-origin: 0 100%; pointer-events: none;
}
.led__ding.is-on { animation: ding 1.3s ease-out both; }
@keyframes ding {
  0% { opacity: 0; transform: scale(.6) rotate(-8deg); }
  18% { opacity: 1; transform: scale(1.08) rotate(3deg); }
  30% { transform: scale(1) rotate(0); }
  80% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.95); }
}

.counter__toggle { display: none; }
.numnav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.numnav a {
  display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 10px; text-decoration: none;
  background: #24282A; color: #E3E6E3; font-size: .9rem; font-weight: 600; line-height: 1.25;
  transition: background-color .2s, color .2s;
}
.numnav a:hover { background: #2F3436; }
.numnav__no {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-sign); font-size: 1.1rem; color: #fff; background: #3D4345;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.35); transition: background-color .2s, box-shadow .2s;
}
.numnav a.is-active { background: #3A1916; color: #fff; }
.numnav a.is-active .numnav__no { background: var(--color-led); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25), 0 0 12px rgba(255,59,47,.75); }
.counter__contact { display: grid; gap: 8px; }
.counter__contact .btn { min-height: 46px; font-size: .95rem; }

/* 모바일: 하단 연락 바 위 얇은 전광판 띠 */
@media (max-width: 1023.98px) {
  .counter {
    position: fixed; left: 0; right: 0; z-index: 40;
    bottom: calc(var(--qb-h) + env(safe-area-inset-bottom));
    height: var(--dock-h); display: flex; align-items: center; gap: 10px; padding: 0 10px 0 12px;
    background: var(--color-housing); box-shadow: 0 -6px 16px rgba(0,0,0,.18);
  }
  .counter .logo b { display: none; }
  .counter .logo svg { width: 30px; height: 30px; }
  .led { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 10px; height: 38px; border-radius: 7px; }
  .led__cap { font-size: .8rem; flex: none; }
  .led__digits { margin: 0; gap: 3px; flex: none; }
  .seg { width: 17px; height: 28px; }
  .led__name { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .led__ding { top: -30px; right: auto; left: 70px; }
  .counter__toggle {
    display: inline-flex; align-items: center; gap: 6px; flex: none; height: 40px; padding: 0 12px; border-radius: 8px;
    border: 0; background: #2F3436; color: #fff; font-weight: 700; font-size: .9rem; cursor: pointer;
  }
  .counter__toggle::after { content: ""; width: 8px; height: 8px; border-left: 2.5px solid currentColor; border-top: 2.5px solid currentColor; transform: translateY(2px) rotate(45deg); transition: transform .2s; }
  .counter.is-open .counter__toggle::after { transform: translateY(-2px) rotate(225deg); }
  .js .numnav {
    display: none; position: absolute; left: 0; right: 0; bottom: 100%;
    grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; background: var(--color-housing);
    border-radius: 14px 14px 0 0; box-shadow: 0 -10px 20px rgba(0,0,0,.25);
  }
  .js .counter.is-open .numnav { display: grid; }
  .numnav a { flex-direction: column; text-align: center; gap: 4px; padding: 10px 4px; font-size: .82rem; }
  .counter__contact { display: none; }
  .counter.is-open { bottom: env(safe-area-inset-bottom); }
  body.nav-open .quickbar { visibility: hidden; }
  .led__ding { display: none; }
}

/* 모바일 하단 연락 바 */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  height: calc(var(--qb-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: #fff; border-top: 1px solid var(--color-line);
}
.quickbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; font-size: .82rem; font-weight: 700; color: var(--color-ink); }
.quickbar svg { width: 22px; height: 22px; }
.quickbar__cta { background: var(--color-melamine); color: #fff !important; flex-direction: row !important; gap: 8px !important; font-size: 1rem !important; }

/* ---------- 넓은 화면 ---------- */
@media (min-width: 640px) {
  .shop { padding: 0 24px; }
  .hero__actions .btn { padding: 0 26px; }
}
@media (min-width: 760px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; }
  .picker { grid-template-columns: 1fr 1fr; padding: 22px 26px; }
  .order { grid-template-columns: 1fr 1fr; }
  .loc { grid-template-columns: 1.1fr 1fr; }
}
@media (min-width: 900px) {
  .set__stage { grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr); gap: 26px; }
  .kitchen { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .sec { padding-top: 88px; }
}
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .shop { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 28px; padding: 0 28px; }
  .shop__rail { position: relative; }
  .counter {
    position: sticky; top: 18px; margin-top: 18px; display: flex; flex-direction: column; gap: 12px;
    padding: 16px; border-radius: 16px; background: var(--color-housing);
    box-shadow: 0 18px 30px -16px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  }
  .counter::before {
    /* 벽에 박은 브래킷 나사 */
    content: ""; position: absolute; top: 8px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
    background: radial-gradient(circle, #DDE1E2 0 2px, #7C8487 2.5px);
  }
  .counter .logo { padding-top: 6px; }
  .quickbar { display: none; }
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: end; padding: 40px 28px; }
  .hero { padding-top: 18px; }
}
@media (min-width: 1280px) {
  .shop { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .seg { width: 62px; height: 102px; }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .seg { width: 44px; height: 72px; }
  .numnav a { padding: 5px 8px; }
  .numnav__no { width: 32px; height: 32px; }
  .counter { gap: 10px; }
}

/* ---------- 움직임 ---------- */
.has-motion .steam__p { animation: steam 2.2s ease-in-out 2 both; }
.has-motion .steam__p:nth-child(2) { animation-delay: .5s; }
.has-motion .steam__p:nth-child(3) { animation-delay: 1s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(16px); }
  40% { opacity: .8; }
  100% { opacity: 0; transform: translateY(-18px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  /* 색·투명도 피드백은 둔다 */
  .btn, .chip span, .numnav a, .numnav__no, .stepper button, .qa__panel { transition-duration: .2s !important; }
  .steam__p { opacity: 0 !important; }
  .led__ding { display: none; }
}
