/* ==========================================================
   KYOCHON App — Home (draft v0.2)
   규칙: 좌우 여백 20px, 라운드 4/8/16, 크기와 간격은 4의 배수
   ========================================================== */
/* 틀(폰 프레임, 폰에서 꽉 채우기, 화면 지도로 돌아가기)은 ../app.css 가 맡는다.
   여기서는 교촌 화면 모양만 정의하고, 틀의 흰 자리표시 색을 블랙 앤 골드로 덮는다. */
:root { --font: var(--font-sans); --side: var(--gutter); --tab-h: var(--tabbar-h); --status-h: 48px; }
body.app { background: radial-gradient(ellipse at top, #1a1712 0%, #000 60%); color: var(--text-1); font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-tight); }
body.app.is-bare { background: var(--bg); }
img { display: block; max-width: 100%; }
button { letter-spacing: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 틀 덮어쓰기 ---------- */
.device { background: var(--bg); box-shadow: 0 0 0 8px #111, 0 0 0 9px #2a2720, 0 40px 80px rgba(0,0,0,.7); }
.status-bar { --g-0: var(--bg); --g-900: var(--text-1); background: var(--bg); color: var(--text-1); z-index: 50; }
@media (max-width: 500px) { body.app:not(.is-bare) { background: var(--bg); } }
.toast { background: var(--surface-3); color: var(--text-1); border: 1px solid var(--line-strong); border-radius: var(--r-md); font-size: var(--fs-caption); line-height: var(--lh-caption); padding: var(--sp-3) var(--sp-4); }
.hold__bar { stroke: var(--gold-500); }
.hold__t { background: var(--gold-500); color: var(--text-on-gold); }

/* 교촌 화면 영역: 상태 표시줄 아래 전부. 머리줄, 탭, 시트, 레이어는 이 안에 겹쳐 놓인다 */
.kc { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--bg); }
.app__scroll { height: 100%; overflow-y: auto; padding-bottom: calc(var(--tabbar-h) + var(--sp-8)); scrollbar-width: none; overscroll-behavior: contain; }
.app__scroll::-webkit-scrollbar { display: none; }

/* ---------- 머리줄 (48) ---------- */
.header {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0; padding: 0 var(--gutter); height: 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base);
  border-bottom: 1px solid transparent;
}.header.is-solid { background: rgba(11,11,10,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line-neutral); }
.header__logo img { height: 16px; width: auto; }
.header__actions { display: flex; gap: var(--sp-1); margin-right: calc(var(--sp-2) * -1); } /* 아이콘 글리프를 20px 선에 맞춤 */
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-round); color: var(--text-1); }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn__dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: var(--r-round); background: var(--brand-yellow); }

/* ---------- 히어로 ---------- */
/* 상단 배너형: 머리줄 뒤부터 352px(상태 표시줄 포함 400). 제품은 오른쪽 아래에 온전히 보이게 두고 카피는 왼쪽 위 */
.hero { position: relative; height: 352px; overflow: hidden; }
.hero__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
/* 이미지 바탕(검정)과 배경색 경계 제거: lighten으로 배경색에 녹이고, 가장자리는 마스크로 서서히 사라지게 */
.hero__slide { background: var(--bg); }
.hero__img { position: absolute; z-index: 0; mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 36%), linear-gradient(180deg, transparent 0%, #000 28%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 36%), linear-gradient(180deg, transparent 0%, #000 28%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.hero__img--plate { -webkit-mask-image: radial-gradient(circle, #000 62%, transparent 71%); mask-image: radial-gradient(circle, #000 62%, transparent 71%); }
.hero__img--bowl { right: 0; bottom: -16px; width: 240px; height: 320px; object-fit: cover; }
.hero__img--plate { right: var(--sp-4); bottom: var(--sp-4); width: 176px; height: 176px; border-radius: var(--r-round); }
.hero__img--wide { left: 0; bottom: 0; width: 100%; height: 220px; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, var(--bg) 0%, rgba(11,11,10,0) 32%, rgba(11,11,10,0) 88%, var(--bg) 100%),
  linear-gradient(90deg, rgba(11,11,10,.7) 0%, rgba(11,11,10,0) 56%); }
.hero__copy { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); top: 72px; }
.hero__title { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -0.04em; }
.hero__title em { font-style: normal; font-weight: 600; color: var(--accent-strong); }
.hero__desc { max-width: 184px; word-break: keep-all; margin-top: var(--sp-3); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text-2); }
.hero__link { display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-5); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-gold); border-bottom: 1px solid var(--line-strong); padding-bottom: var(--sp-1); }
.hero__pager { position: absolute; z-index: 2; right: var(--gutter); bottom: var(--sp-6); font-family: var(--font-display); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-2); letter-spacing: .08em; }
.hero__pager b { color: var(--text-1); font-weight: 600; }

/* ---------- 공지 ---------- */
.notice { display: flex; align-items: center; gap: var(--sp-2); margin: 0 var(--gutter); padding: var(--sp-3) 0; border-bottom: 1px solid var(--line-neutral); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }
.notice__label { color: var(--text-gold); font-weight: 600; letter-spacing: .04em; }
.notice__text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 멤버 카드 (홈 핵심) ---------- */
.member { position: relative; z-index: 3; margin: var(--sp-4) var(--gutter) 0; padding: var(--sp-6) var(--sp-5) var(--sp-5); border-radius: var(--r-md); background: linear-gradient(160deg, rgba(34,33,30,.92), rgba(19,19,17,.96)); border: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.member__hello { display: flex; justify-content: space-between; align-items: flex-start; }
.member__name { font-size: var(--fs-title-3); line-height: var(--lh-title-3); font-weight: 600; }
.member__name small { display: block; margin-top: var(--sp-1); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: 400; color: var(--text-3); }
.member__grade { display: inline-flex; align-items: center; gap: var(--sp-1); height: 24px; padding: 0 var(--sp-3); border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-family: var(--font-display); font-size: var(--fs-caption); line-height: var(--lh-caption); letter-spacing: .12em; color: var(--text-gold); }

.wallet { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: var(--sp-5); border-top: 1px solid var(--line-neutral); }
.wallet__item { padding: var(--sp-4) 0 0; text-align: left; }
.wallet__item + .wallet__item { padding-left: var(--sp-4); border-left: 1px solid var(--line-neutral); }
.wallet__label { font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }
.wallet__value { margin-top: var(--sp-1); font-size: var(--fs-title-3); line-height: var(--lh-title-3); font-weight: 600; letter-spacing: -0.02em; }
.wallet__value small { margin-left: var(--sp-1); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: 400; color: var(--text-3); }
.wallet__item--voucher .wallet__value { color: var(--accent-strong); }

.voucher-tip { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: var(--accent-soft); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-2); }
.voucher-tip strong { color: var(--text-1); font-weight: 600; }
.voucher-tip__go { margin-left: auto; color: var(--text-gold); white-space: nowrap; }

.cta { display: grid; grid-template-columns: 1fr 112px; gap: var(--sp-2); margin-top: var(--sp-5); }
.btn { height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); border-radius: var(--r-md); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 600; transition: transform var(--dur-fast) var(--ease), background var(--dur-fast); }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); color: var(--text-on-gold); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text-1); }

/* ---------- 섹션 공통 ---------- */
.section { margin-top: var(--sp-12); }
.section--tight { margin-top: var(--sp-1); } /* 카드 끝에서 아이콘까지 24 (4 + 아이콘 위 여백 20) */
/* 공지: 화면 끝까지 라인을 펼치고 헤리티지에 바로 붙인다 */
.notice--section { margin: var(--sp-12) 0 0; padding: var(--sp-4) var(--gutter); border-top: 1px solid var(--line-neutral); border-bottom: 0; }
.notice--section + .heritage { margin-top: 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 var(--gutter); margin-bottom: var(--sp-4); }
.section__title { font-size: var(--fs-title-3); line-height: var(--lh-title-3); font-weight: 600; }
.section__more { display: inline-flex; align-items: center; gap: var(--sp-1); margin-right: calc(var(--sp-1) * -1); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }
.section__more svg { width: 16px; height: 16px; }

/* ---------- 진행 중 주문 (주문이 있을 때만 노출) ---------- */
/* 축소 카드: 헤더 아래에 떠 있는 레이어 */
.live-mini { position: absolute; z-index: 22; left: var(--gutter); right: var(--gutter); top: 56px; display: none; align-items: center; gap: var(--sp-3); min-height: 64px; padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-4); border-radius: var(--r-lg); background: rgba(26,25,23,.94); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); text-align: left; }
.has-live .live-mini { display: flex; }
.live-mini__body { flex: 1; min-width: 0; }
.live-mini__row { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-body); line-height: var(--lh-body); }
.live-mini__row b { font-weight: 600; }
.live-mini__meta { display: block; font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-mini__img { width: 40px; height: 40px; border-radius: var(--r-round); object-fit: cover; }
.live-mini__go { width: 16px; height: 16px; color: var(--text-3); }
.live-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 var(--sp-2); border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-strong); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: 600; }
/* 축소 카드가 있을 때 배너 카피를 카드 아래로 */
.has-live .hero__copy { top: 136px; }

/* 상단에서 내려오는 팝업 (탑 시트) */
.live-dim { position: absolute; z-index: 42; inset: 0; background: rgba(0,0,0,.64); opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease); }
.live-pop { position: absolute; z-index: 43; left: 0; right: 0; top: 0; padding: 0 var(--gutter); border-radius: 0 0 var(--r-lg) var(--r-lg); background: var(--surface-1); border-bottom: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,.6); transform: translateY(-100%); transition: transform var(--dur-slow) var(--ease); }
.is-live-open .live-dim { opacity: 1; pointer-events: auto; }
.is-live-open .live-pop { transform: translateY(0); }
.live-pop__bar { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.live-pop__label { font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }
.live-pop__close { width: 40px; height: 40px; margin-right: calc(var(--sp-2) * -1); display: grid; place-items: center; border-radius: var(--r-round); color: var(--text-1); }
.live-pop__close svg { width: 24px; height: 24px; }
.live-pop__head { display: flex; justify-content: space-between; align-items: flex-start; margin-top: var(--sp-2); }
.live-pop__title { font-size: var(--fs-title-3); line-height: var(--lh-title-3); font-weight: 600; }
.live-pop__title em { font-style: normal; color: var(--accent-strong); }
.live-pop__meta { margin-top: var(--sp-1); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }
.live-pop__eta { text-align: right; }
.live-pop__eta b { display: block; font-size: var(--fs-title-1); line-height: var(--lh-title-1); font-weight: 300; letter-spacing: 0; }
.live-pop__eta span { font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }

/* 진행 바: 좌우 20px 여백선 끝에서 끝까지 */
.track { margin-top: var(--sp-8); }
.track__line { position: relative; height: 8px; border-radius: var(--r-sm); background: var(--black-700); }
.track__fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--progress); border-radius: var(--r-sm); background: linear-gradient(90deg, var(--gold-600), var(--gold-400)); }
.track__now { position: absolute; left: var(--progress); top: 50%; width: 32px; height: 36px; display: grid; place-items: center; transform: translate(-50%, -50%); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--gold-500); }
.track__now::before { content: ""; position: absolute; inset: 2px; clip-path: inherit; background: var(--black-900); }
.track__now img { position: relative; height: 8px; width: auto; }
.track__steps { position: relative; height: 16px; margin-top: var(--sp-4); list-style: none; font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-4); }
.track__steps li { position: absolute; top: 0; left: var(--at); transform: translateX(-50%); white-space: nowrap; }
.track__steps li:first-child { transform: none; }
.track__steps li:last-child { transform: translateX(-100%); }
.track__steps .is-done { color: var(--text-3); }
.track__steps .is-now { color: var(--text-1); font-weight: 600; }

.live-pop__toggle { display: flex; align-items: center; justify-content: center; gap: var(--sp-1); width: calc(100% + var(--gutter) * 2); margin: var(--sp-6) calc(var(--gutter) * -1) 0; height: 48px; border-top: 1px solid var(--line-neutral); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-2); }
.live-pop__toggle svg { width: 16px; height: 16px; transition: transform var(--dur-fast); }
.live-pop__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.live-pop__items { list-style: none; padding: 0 0 var(--sp-2); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-2); }
.live-pop__items li { display: flex; justify-content: space-between; padding: var(--sp-1) 0; }
.live-pop__items .is-total { margin-top: var(--sp-2); padding-top: var(--sp-3); border-top: 1px solid var(--line-neutral); color: var(--text-1); font-weight: 600; }
.live-pop__grip { display: block; width: 40px; height: 4px; margin: var(--sp-1) auto var(--sp-3); border-radius: var(--r-sm); background: var(--black-700); box-sizing: content-box; border: 8px solid transparent; background-clip: padding-box; }

/* ---------- 다시 주문 (원클릭) ---------- */
.rail { display: flex; gap: var(--grid-gap); overflow-x: auto; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.reorder { flex: 0 0 280px; scroll-snap-align: start; display: grid; grid-template-columns: 72px 1fr; gap: var(--sp-3) var(--sp-4); padding: var(--sp-4); border-radius: var(--r-md); background: var(--surface-1); border: 1px solid var(--line-neutral); }
.reorder__img { width: 72px; height: 72px; border-radius: var(--r-sm); object-fit: cover; }
.reorder__meta { display: flex; gap: var(--sp-2); align-items: center; font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 var(--sp-2); border-radius: var(--r-sm); border: 1px solid var(--line-strong); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-gold); }
.reorder__name { margin-top: var(--sp-1); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 600; }
.reorder__price { font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-2); }
.reorder__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-top: var(--sp-3); border-top: 1px solid var(--line-neutral); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }
.reorder__btn { height: 32px; padding: 0 var(--sp-4); border-radius: var(--r-md); background: var(--surface-3); color: var(--text-1); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: 600; }

/* ---------- 매장 상태 (공통 컴포넌트 제안) ---------- */
.store-status { display: inline-flex; align-items: center; gap: var(--sp-1); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }
.store-status::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-round); background: var(--status-open); }
.store-status b { color: var(--text-2); font-weight: 500; }

/* ---------- 시그니처 메뉴 (2열: 169 + 12 + 169) ---------- */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--grid-gap); padding: 0 var(--gutter); }
.menu-card__img { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--surface-1); }
.menu-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.menu-card:hover .menu-card__img img { transform: scale(1.04); }
.menu-card__badge { position: absolute; top: var(--sp-3); left: var(--sp-3); display: flex; align-items: center; height: 24px; padding: 0 var(--sp-2); border-radius: var(--r-sm); background: rgba(11,11,10,.7); font-family: var(--font-display); font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: 600; letter-spacing: .1em; color: var(--text-gold); }
.menu-card__badge img { height: 12px; width: auto; }
.menu-card__name { margin-top: var(--sp-3); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 600; }
.menu-card__desc { margin-top: var(--sp-1); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }
.menu-card__price { margin-top: var(--sp-2); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text-2); }

/* ---------- 시즌 배너 ---------- */
.season { display: block; position: relative; margin: 0 var(--gutter); height: 200px; border-radius: var(--r-md); overflow: hidden; }
.season img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.season::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.88) 0%, rgba(5,5,5,.5) 50%, rgba(5,5,5,0) 80%); }
.season__copy { position: absolute; z-index: 1; left: var(--sp-5); top: var(--sp-6); bottom: var(--sp-5); display: flex; flex-direction: column; }
.season__title { font-family: var(--font-display); font-size: var(--fs-title-2); line-height: var(--lh-title-2); font-weight: 500; }
.season__date { margin-top: auto; font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }

/* ---------- 혜택 바로가기 ---------- */
/* 윗선 없이 카드에 붙이고, 아랫선은 화면 끝까지 */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--gutter); border-bottom: 1px solid var(--line-neutral); }
.perk { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); padding: var(--sp-5) 0; font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-2); }
.perk svg { width: 24px; height: 24px; color: var(--text-gold); }

/* ---------- 헤리티지 ---------- */
.heritage { margin-top: var(--sp-16); padding: var(--sp-12) var(--gutter) var(--sp-10); text-align: center; border-top: 1px solid var(--line); background: radial-gradient(ellipse at top, rgba(249,186,21,.10), transparent 70%); }
.heritage__year { display: block; height: 48px; width: auto; margin: 0 auto; }
.heritage__title { margin-top: var(--sp-4); font-family: var(--font-display); font-size: var(--fs-title-3); line-height: var(--lh-title-3); font-weight: 500; }
.heritage__text { margin-top: var(--sp-3); font-size: var(--fs-body); line-height: 28px; color: var(--text-3); }
.heritage__rule { width: 1px; height: 40px; margin: var(--sp-6) auto 0; background: linear-gradient(var(--line-strong), transparent); }

.footer { padding: var(--sp-6) var(--gutter) 0; text-align: center; font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-4); }

/* ---------- 하단 탭 (안 A: 홈, 메뉴, 주문, 주문내역, 더보기) ---------- */
.kc-tabbar { position: absolute; z-index: 25; left: 0; right: 0; bottom: 0; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); padding: var(--sp-2) var(--sp-2) env(safe-area-inset-bottom, 0px); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(11,11,10,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line-neutral); }
.tab { display: flex; flex-direction: column; align-items: center; gap: var(--sp-1); padding-top: var(--sp-2); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-4); }
.tab svg { width: 24px; height: 24px; }
.tab.is-active { color: var(--text-1); }
.tab--order { position: relative; color: var(--text-gold); }
/* 육각 버튼 아래끝(32)을 다른 탭 아이콘 아래끝에 맞추고, 라벨 기준선도 맞춘다 */
.tab--order .hex { position: absolute; top: -32px; width: 56px; height: 64px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(180deg, var(--gold-400), var(--gold-600)); color: var(--text-on-gold); }
.tab--order .hex::before { content: ""; position: absolute; inset: 2px; clip-path: inherit; background: var(--black-900); }
.tab--order .hex img { position: relative; height: 12px; width: auto; }
.tab--order .tab__label { margin-top: 28px; }

/* ---------- 주문 방식 시트 ---------- */
.dim { position: absolute; z-index: 40; inset: 0; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease); }
.osheet { position: absolute; z-index: 41; left: 0; right: 0; bottom: 0; padding: var(--sp-3) var(--gutter) var(--sp-8); border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--surface-1); border-top: 1px solid var(--line); box-shadow: var(--shadow-sheet); transform: translateY(100%); transition: transform var(--dur-slow) var(--ease); }
.is-sheet-open .dim { opacity: 1; pointer-events: auto; }
.is-sheet-open .osheet { transform: translateY(0); }
.osheet__grip { width: 40px; height: 4px; margin: 0 auto var(--sp-5); border-radius: var(--r-sm); background: var(--black-700); }
.osheet__title { font-family: var(--font-display); font-size: var(--fs-title-3); line-height: var(--lh-title-3); font-weight: 500; }
.osheet__sub { margin-top: var(--sp-1); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }
.ways { display: grid; gap: var(--sp-2); margin-top: var(--sp-5); }
.way { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: var(--sp-4); padding: var(--sp-4); border-radius: var(--r-md); border: 1px solid var(--line-neutral); background: var(--surface-2); text-align: left; transition: border-color var(--dur-fast); }
.way:hover, .way:focus-visible { border-color: var(--line-strong); outline: none; }
.way__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-round); background: var(--accent-soft); color: var(--text-gold); }
.way__icon svg { width: 24px; height: 24px; }
.way__name { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 600; }
.way__info { margin-top: var(--sp-1); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }
.way__arrow { color: var(--text-4); }
.way.is-disabled { opacity: .45; cursor: not-allowed; }
.way.is-disabled .way__info { color: var(--status-closed); }
.osheet__addr { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--line-neutral); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--text-3); }
.osheet__addr b { color: var(--text-2); font-weight: 500; }
.osheet__addr button { margin-left: auto; color: var(--text-gold); }
