:root {
  --ink: #143526;
  --ink-2: #1d4432;
  --ink-3: #2c5841;
  --cream: #f3ead8;
  --cream-2: #e7d8bb;
  --cream-3: #d9c59f;
  --paper: #fffdf8;
  --bg: #f6f1e7;
  --bg-2: #efe7d8;
  --line: #e5dac6;
  --line-strong: #d7c7a9;
  --gold: #ac8850;
  --muted: #8a8477;
  --muted-2: #b3ab9b;
  --green: #3f7055;
  --red: #b04a3d;
  --serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --phone-w: 390px;
  --phone-h: 844px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(255,255,255,.75), transparent 70%),
    linear-gradient(135deg, #e9e1d3, #f7f3ea 48%, #e6dccb);
  min-height: 100vh;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, h4 { margin: 0; }
.hidden { display: none !important; }

.stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 24px 40px;
}
.phone-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
}
.phone-frame {
  position: relative;
  width: calc(var(--phone-w) + 18px);
  height: calc(var(--phone-h) + 18px);
  padding: 9px;
  border-radius: 58px;
  background: linear-gradient(145deg, #314136, #09120d 58%, #24372b);
  box-shadow:
    0 50px 120px rgba(20, 35, 26, .28),
    0 12px 34px rgba(20, 35, 26, .18),
    inset 0 0 0 1px rgba(255,255,255,.16);
}
.phone {
  position: relative;
  width: var(--phone-w);
  height: var(--phone-h);
  border-radius: 49px;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}
.phone[data-theme="dark"] { background: #0b120e; }
.statusbar {
  position: absolute;
  z-index: 1120;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  color: #143526;
  pointer-events: none;
}
.phone[data-theme="dark"] .statusbar { color: #f7f2e7; }
.status-time { margin-top: 2px; }
.status-icons { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.status-icons i { display: block; width: 3px; height: 8px; border-radius: 2px; background: currentColor; opacity: .9; }
.status-icons i:nth-child(2) { height: 10px; }
.status-icons i:nth-child(3) { height: 12px; }
.battery {
  width: 20px; height: 10px; border: 1px solid currentColor; border-radius: 3px;
  margin-left: 2px; position: relative; opacity: .8;
}
.battery::before { content: ""; position: absolute; inset: 2px; background: currentColor; border-radius: 1px; }
.battery::after { content: ""; position: absolute; right: -3px; top: 3px; width: 2px; height: 4px; background: currentColor; border-radius: 0 1px 1px 0; }
.capsule {
  position: absolute;
  z-index: 1110;
  top: 49px;
  right: 13px;
  width: 78px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(20, 53, 38, .2);
  background: rgba(255, 253, 248, .62);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  pointer-events: none;
}
.phone[data-theme="dark"] .capsule {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(12, 24, 17, .38);
}
.capsule span { width: 3px; height: 3px; border-radius: 50%; background: #143526; }
.capsule b { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #143526; }
.phone[data-theme="dark"] .capsule span { background: #f7f2e7; }
.phone[data-theme="dark"] .capsule b { border-color: #f7f2e7; }
.screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  background: var(--bg);
}
.overlay {
  position: absolute;
  inset: 0;
  z-index: 900;
  pointer-events: none;
}
.overlay > * { pointer-events: auto; }
.home-indicator {
  position: absolute;
  z-index: 1110;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  border-radius: 99px;
  background: rgba(20, 53, 38, .28);
  pointer-events: none;
}
.phone[data-theme="dark"] .home-indicator { background: rgba(247, 242, 231, .4); }

/* inspector */
.inspector {
  width: 292px;
  color: #173326;
  align-self: center;
}
.inspector-brand { display: flex; align-items: center; gap: 14px; }
.inspector-brand img { width: 48px; height: 48px; border-radius: 50%; }
.inspector-en { font-size: 8px; letter-spacing: .28em; color: #a18150; }
.inspector h1 { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: .06em; margin-top: 3px; }
.inspector-desc { font-size: 12px; line-height: 1.8; color: #7e786c; margin: 18px 0 26px; }
.inspector-label { font-size: 8px; letter-spacing: .3em; color: #a18150; margin: 22px 0 10px; }
.size-switcher { display: grid; gap: 7px; }
.size-switcher button {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 13px; border: 1px solid rgba(20, 53, 38, .15);
  border-radius: 12px; background: rgba(255, 253, 248, .48);
  font-size: 12px; color: #526257; text-align: left;
}
.size-switcher button small { font-size: 9px; color: #9c9588; }
.size-switcher button.active {
  border-color: #143526; background: #143526; color: #f3ead8;
}
.size-switcher button.active small { color: rgba(243, 234, 216, .55); }
.screen-list { display: flex; flex-wrap: wrap; gap: 7px; }
.screen-list button {
  padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(20, 53, 38, .15);
  background: rgba(255, 253, 248, .42); font-size: 11px; color: #657268;
}
.screen-list button.active { background: #efe3cb; border-color: #d5bd92; color: #143526; font-weight: 600; }
.screen-list button .dot-live { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #4d8a63; margin-right: 5px; vertical-align: 2px; }
.inspector-note {
  margin-top: 28px; padding: 15px 16px; border: 1px solid rgba(20, 53, 38, .12);
  border-radius: 14px; font-size: 10px; line-height: 1.8; color: #8a8477;
  display: flex; flex-direction: column; gap: 3px;
}
.inspector-note code { font-size: 9px; color: #143526; background: #f2ecdf; padding: 1px 4px; border-radius: 4px; }
.under-phone {
  display: flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 10px; color: #8b8579; letter-spacing: .06em;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #4d8a63; box-shadow: 0 0 0 4px rgba(77,138,99,.12); }

/* ---------- shared phone UI ---------- */
.m-page {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.m-page::-webkit-scrollbar { width: 0; }
.m-page.with-tab { padding-bottom: 96px; }
.m-page.no-tab { padding-bottom: 16px; }
.m-page.dark-page { background: #0b120e; color: #f7f2e7; }
.m-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 88px;
  padding-top: 44px;
  background: rgba(246, 241, 231, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 218, 198, .7);
}
.m-nav.transparent { position: absolute; left: 0; right: 0; border: 0; background: transparent; backdrop-filter: none; }
.m-nav-inner { height: 44px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.m-nav-title { position: absolute; left: 80px; right: 80px; text-align: center; font-family: var(--serif); font-size: 17px; letter-spacing: 1px; }
.m-back {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; z-index: 2;
}
.m-back::before {
  content: ""; width: 9px; height: 9px; border-left: 1.8px solid var(--ink);
  border-bottom: 1.8px solid var(--ink); transform: rotate(45deg); margin-left: 3px;
}
.m-nav.transparent.light .m-back::before { border-color: #f7f2e7; }
.m-nav.transparent.light .m-nav-title { color: #f7f2e7; }
.m-nav-action { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(20,53,38,.07); margin-right: 82px; }
.m-nav-action img { width: 16px; height: 16px; opacity: .72; }
.m-title-serif { font-family: var(--serif); font-weight: 500; }
.m-muted { color: var(--muted); }
.m-tiny { font-size: 10px; line-height: 1.5; }
.m-row { display: flex; align-items: center; }
.m-between { display: flex; align-items: center; justify-content: space-between; }
.m-card { background: var(--paper); border: 1px solid rgba(229, 218, 198, .8); border-radius: 16px; }
.m-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 44px; padding: 0 20px; border-radius: 999px; font-size: 13px;
  background: var(--ink); color: var(--cream); border: 1px solid var(--ink);
}
.m-btn.outline { background: transparent; color: var(--ink); }
.m-btn.cream { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.m-btn.sm { height: 32px; padding: 0 12px; font-size: 11px; }
.m-btn.block { width: 100%; }
.m-tag {
  display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 4px;
  font-size: 9px; background: #f0ebdf; color: var(--muted); line-height: 1.5;
}
.m-tag.gold { background: #f5eddc; color: var(--gold); }
.m-tag.red { background: #f8e8e4; color: var(--red); }
.m-tag.pre { background: #8d6bb0; color: #fff; }
.m-badge { display: inline-flex; padding: 3px 8px; border-radius: 999px; font-size: 9px; background: #f1ece0; color: var(--muted); }
.m-badge.pending_payment { background: #f6eddd; color: #9a7437; }
.m-badge.paid { background: #f9e6e2; color: var(--red); }
.m-badge.preparing { background: #f1eddc; color: #8a7035; }
.m-badge.completed { background: #e6efe6; color: var(--green); }
.m-badge.cancelled, .m-badge.refunded { background: #f1ece2; color: #958d7e; }
.m-badge.ready { background: #e6f0e6; color: var(--green); }
.m-badge.delivering { background: #e4eef1; color: #547585; }
.m-price { font-family: var(--serif); font-size: 22px; letter-spacing: -.4px; }
.m-price small { font-size: 12px; }
.m-line { height: 1px; background: var(--line); }
.m-ellipsis { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.m-clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-empty { padding: 70px 24px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.m-empty img { width: 160px; opacity: .9; margin-bottom: 14px; }
.m-empty h3 { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.m-empty p { font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 7px; }
.m-sheet-mask { position: absolute; inset: 0; z-index: 600; background: rgba(8,18,12,.45); opacity: 0; pointer-events: none; transition: opacity .22s; }
.m-sheet-mask.show { opacity: 1; pointer-events: auto; }
.m-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 610;
  background: var(--bg); border-radius: 24px 24px 0 0; padding-bottom: 22px;
  transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.7,.2,1);
  max-height: 76%; display: flex; flex-direction: column;
}
.m-sheet.show { transform: translateY(0); }
.m-sheet-handle { width: 36px; height: 4px; border-radius: 9px; background: var(--cream-3); margin: 8px auto 2px; }
.m-sheet-head { padding: 15px 18px 10px; display: flex; align-items: center; justify-content: space-between; }
.m-sheet-title { font-family: var(--serif); font-size: 20px; }
.m-sheet-close { font-size: 22px; color: var(--muted); width: 30px; height: 30px; }
.m-sheet-body { overflow-y: auto; padding: 6px 18px 6px; }

/* tabbar */
.tabbar-slot { position: absolute; z-index: 500; left: 0; right: 0; bottom: 0; height: 0; }
.m-tabbar {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: calc(17px + env(safe-area-inset-bottom));
  height: 60px;
  border-radius: 999px;
  background: rgba(243, 234, 216, .97);
  box-shadow: 0 15px 34px rgba(20, 53, 38, .22);
  display: flex;
  align-items: center;
  padding: 0 9px;
  transform: translateY(0);
}
.m-tabbar.above { bottom: 86px; }
.m-tab { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative; }
.m-tab img { width: 21px; height: 21px; opacity: .65; }
.m-tab span { font-size: 9px; color: rgba(20, 53, 38, .6); letter-spacing: .5px; }
.m-tab.active img { opacity: 1; }
.m-tab.active span { color: var(--ink); font-weight: 600; }
.m-tab.active::after { content: ""; width: 9px; height: 2px; border-radius: 4px; background: var(--gold); position: absolute; bottom: 6px; }
.m-tab .tab-cart-badge {
  position: absolute; top: 5px; right: 22px; min-width: 15px; height: 15px;
  border-radius: 8px; background: var(--ink); color: var(--cream);
  font-size: 8px; line-height: 15px; text-align: center; padding: 0 3px;
}

/* toast */
.toast {
  position: absolute;
  z-index: 1300;
  left: 50%;
  bottom: 110px;
  transform: translate(-50%, 14px);
  background: rgba(20, 53, 38, .94);
  color: var(--cream);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  max-width: 78%;
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Home ---------- */
.home-page { background: #0b120e; color: #f7f2e7; }
.home-hero { position: relative; height: 330px; overflow: hidden; }
.home-hero > img { width: 100%; height: 100%; object-fit: cover; }
.home-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,12,.2), rgba(8,18,12,.02) 45%, rgba(11,18,14,.95) 100%); }
.home-brand { position: absolute; left: 22px; bottom: 28px; }
.home-brand .en { font-size: 7px; letter-spacing: .3em; color: rgba(243,234,216,.6); }
.home-brand h2 { font-family: var(--serif); font-size: 32px; letter-spacing: 5px; font-weight: 500; margin-top: 7px; }
.home-brand .line { width: 34px; height: 1px; background: var(--gold); margin: 11px 0 8px; }
.home-brand p { font-size: 10px; color: rgba(243,234,216,.62); }
.home-body { padding: 6px 16px 0; }
.home-mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-mode-grid.single { grid-template-columns: 1fr; }
.home-mode {
  height: 126px; border-radius: 12px; background: #efe3cb; color: #143526;
  padding: 18px 16px; display: flex; align-items: center; gap: 10px;
  position: relative; overflow: hidden; text-align: left;
}
.home-mode > span { display: block; }
.home-mode::after { content: ""; position: absolute; width: 90px; height: 90px; border: 1px solid rgba(20,53,38,.08); border-radius: 50%; right: -38px; bottom: -44px; }
.home-mode img { width: 40px; height: 40px; opacity: .9; }
.home-mode h3 { font-family: var(--serif); font-size: 24px; letter-spacing: 2px; font-weight: 500; }
.home-mode p { font-size: 9px; letter-spacing: .12em; color: rgba(20,53,38,.45); margin-top: 2px; }
.home-mode .arrow { position: absolute; right: 10px; bottom: 8px; font-size: 12px; color: rgba(20,53,38,.25); }
.home-shortcuts { display: flex; background: #efe3cb; color: #143526; border-radius: 12px; margin-top: 10px; padding: 13px 3px; }
.home-shortcut { flex: 1; text-align: center; border-right: 1px solid rgba(20,53,38,.12); }
.home-shortcut:last-child { border-right: 0; }
.home-shortcut strong { display: block; font-family: var(--serif); font-size: 13px; font-weight: 500; }
.home-shortcut span { display: block; font-size: 7px; color: rgba(20,53,38,.42); margin-top: 3px; white-space: nowrap; }
.home-store { width: 100%; text-align: left; background: #efe3cb; color: #143526; border-radius: 12px; margin-top: 10px; padding: 15px 16px 13px; cursor: pointer; }
.home-support { width: 100%; }
.home-store-top { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.home-store-top img { width: 14px; height: 14px; opacity: .65; }
.home-store-top .en { font-size: 8px; color: rgba(20,53,38,.42); }
.home-store-name { font-family: var(--serif); font-size: 15px; margin-top: 10px; }
.home-store-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.home-store-foot .dist { font-size: 10px; color: rgba(20,53,38,.55); }
.home-store-foot .dist b { font-size: 14px; color: #143526; margin-left: 4px; font-weight: 500; }
.home-store-foot .detail { height: 30px; padding: 0 13px; border-radius: 999px; background: #143526; color: #f3ead8; display: flex; align-items: center; font-size: 10px; }
.home-support { margin-top: 16px; padding: 12px 14px; border: 1px solid rgba(243,234,216,.14); border-radius: 10px; display: flex; align-items: center; justify-content: space-between; color: rgba(243,234,216,.45); font-size: 10px; }
.home-support b { color: var(--cream); font-weight: 400; }
.home-footer { padding: 30px 0 22px; display: flex; flex-direction: column; align-items: center; }
.home-footer img { width: 30px; height: 30px; opacity: .7; }
.home-footer strong { font-family: var(--serif); font-size: 13px; font-weight: 400; letter-spacing: 2px; color: rgba(243,234,216,.7); margin-top: 7px; }
.home-footer span { font-size: 7px; letter-spacing: .2em; color: rgba(243,234,216,.25); margin-top: 4px; }

/* popup */
.poster-overlay {
  position: absolute; inset: 0; z-index: 1000; background: rgba(5,12,8,.84);
  display: flex; align-items: center; justify-content: center; padding: 36px 18px;
  backdrop-filter: blur(5px);
}
.popup-stage { width: 100%; display: flex; flex-direction: column; align-items: center; animation: pop .28s cubic-bezier(.2,.7,.2,1); }
.popup-carousel {
  width: 100%; display: flex; gap: 14px; overflow-x: auto;
  padding: 0 0 4px 22px; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.popup-carousel::-webkit-scrollbar { display: none; }
.popup-frame {
  width: 300px; height: 386px; flex: 0 0 300px; border-radius: 14px; overflow: hidden;
  background: #0c130f; box-shadow: 0 18px 54px rgba(0,0,0,.45); scroll-snap-align: start;
}
.popup-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.popup-frame.clickable:active { opacity: .92; }
.popup-close {
  width: 36px; height: 36px; border-radius: 50%; margin-top: 16px;
  border: 1px solid rgba(247,242,231,.75); background: rgba(5,12,8,.5);
  color: #f7f2e7; font-size: 24px; line-height: 32px; font-weight: 200;
}
.poster-card {
  width: 100%; max-height: 82%; background: #f7f2e7; border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; position: relative; animation: pop .24s cubic-bezier(.2,.7,.2,1);
}
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.poster-close { position: absolute; right: 10px; top: 8px; z-index: 2; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,253,248,.9); color: #143526; font-size: 20px; }
.poster-pages { display: flex; overflow: hidden; position: relative; height: 190px; }
.poster-pages img { width: 100%; height: 190px; object-fit: cover; flex: 0 0 100%; }
.poster-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; }
.poster-dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.45); }
.poster-dots i.on { background: #f3ead8; }
.poster-content { overflow-y: auto; padding: 18px 20px 12px; }
.poster-kicker { font-size: 7px; letter-spacing: .26em; color: var(--gold); }
.poster-content h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-top: 6px; }
.poster-content p { font-size: 11px; color: #58655c; line-height: 1.85; margin-top: 10px; white-space: pre-wrap; }
.poster-foot { padding: 12px 20px 18px; border-top: 1px solid var(--line); }
.poster-foot .m-btn { width: 100%; height: 40px; }

/* ---------- Menu ---------- */
.menu-page { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--bg); }
.menu-head { padding: 8px 16px 6px; flex: 0 0 auto; }
.menu-store-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.menu-store-name { font-family: var(--serif); font-size: 18px; letter-spacing: .5px; }
.menu-store-distance { font-size: 10px; color: var(--muted); margin-top: 5px; display: flex; align-items: center; gap: 4px; }
.menu-store-distance img { width: 11px; height: 11px; opacity: .5; }
.menu-mode { display: flex; background: var(--paper); border-radius: 999px; padding: 3px; }
.menu-mode button { height: 29px; padding: 0 12px; border-radius: 999px; font-size: 11px; color: var(--muted); }
.menu-mode button.active { background: var(--ink); color: var(--cream); }
.menu-coupons { display: flex; gap: 7px; margin-top: 10px; }
.menu-coupon { background: #f2e7d2; border: 1px solid #ead8b6; border-radius: 4px; padding: 4px 7px; display: flex; align-items: center; gap: 4px; }
.menu-coupon b { font-family: var(--serif); font-size: 13px; color: #8e5a21; font-weight: 500; }
.menu-coupon span { font-size: 8px; color: #8e5a21; background: rgba(255,253,248,.7); padding: 1px 4px; border-radius: 2px; }
.menu-info { display: flex; justify-content: space-between; margin-top: 8px; padding-bottom: 5px; font-size: 10px; color: var(--muted); }
.menu-body { flex: 1; min-height: 0; display: flex; border-top: 1px solid var(--line); margin-bottom: 96px; }
.menu-cats { width: 82px; flex: 0 0 82px; background: #efe7d8; overflow-y: auto; scrollbar-width: none; }
.menu-cats::-webkit-scrollbar, .menu-products::-webkit-scrollbar, .m-page::-webkit-scrollbar { width: 0; height: 0; }
.menu-cat { padding: 13px 8px; min-height: 53px; display: flex; flex-direction: column; justify-content: center; }
.menu-cat strong { font-size: 11px; font-weight: 400; line-height: 1.35; color: rgba(20,53,38,.7); }
.menu-cat span { font-size: 7px; color: var(--muted-2); margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.menu-cat.active { background: var(--bg); position: relative; }
.menu-cat.active::before { content: ""; position: absolute; left: 0; top: 15px; bottom: 15px; width: 3px; border-radius: 0 3px 3px 0; background: var(--ink); }
.menu-cat.active strong { color: var(--ink); font-weight: 600; }
.menu-products { flex: 1; overflow-y: auto; padding: 10px 11px 100px; }
.menu-section-title { font-family: var(--serif); font-size: 14px; margin: 2px 0 8px; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 15px; }
.menu-product { background: var(--paper); border: 1px solid rgba(229,218,198,.65); border-radius: 9px; overflow: hidden; }
.menu-product-img { width: 100%; height: 88px; background: var(--cream); position: relative; }
.menu-product-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-product-img .pre { position: absolute; left: 5px; top: 5px; background: #8d6bb0; color: #fff; font-size: 8px; padding: 1px 4px; border-radius: 3px; }
.menu-product-body { padding: 7px 7px 8px; }
.menu-product h4 { font-size: 11px; line-height: 1.35; min-height: 30px; font-weight: 500; }
.menu-product p { font-size: 8px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-product-tags { display: flex; gap: 3px; margin-top: 4px; min-height: 15px; flex-wrap: wrap; }
.menu-product-tags .m-tag { font-size: 7px; padding: 0 4px; }
.menu-product-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 5px; }
.menu-product-price { font-family: var(--serif); font-size: 16px; }
.menu-product-price small { font-size: 9px; }
.menu-product-price s { font-size: 8px; color: var(--muted-2); margin-left: 3px; }
.menu-add { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 16px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.cart-float {
  position: absolute; z-index: 400; left: 16px; right: 16px; bottom: 88px;
  height: 50px; border-radius: 999px; background: var(--ink); color: var(--cream);
  padding: 0 7px 0 10px; display: flex; align-items: center; gap: 9px;
  box-shadow: 0 10px 24px rgba(16,43,29,.28);
}
.cart-float-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(243,234,216,.12); display: flex; align-items: center; justify-content: center; position: relative; }
.cart-float-icon img { width: 17px; height: 17px; }
.cart-float-icon b { position: absolute; top: -2px; right: -2px; min-width: 15px; height: 15px; border-radius: 8px; background: #d6b47a; color: var(--ink); font-size: 8px; line-height: 15px; text-align: center; padding: 0 3px; }
.cart-float-main { flex: 1; }
.cart-float-main strong { display: block; font-family: var(--serif); font-size: 17px; font-weight: 500; line-height: 1.2; }
.cart-float-main span { display: block; font-size: 8px; color: rgba(243,234,216,.5); }
.cart-float-go { height: 38px; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 11px; display: flex; align-items: center; padding: 0 14px; }

/* ---------- product ---------- */
.detail-page { background: var(--bg); padding-bottom: 92px; }
.detail-hero { height: 300px; position: relative; background: #0b120e; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-nav { position: absolute; top: 0; left: 0; right: 0; height: 88px; padding-top: 44px; z-index: 20; display: flex; align-items: center; }
.detail-nav .m-back { margin-left: 12px; background: rgba(8,18,12,.38); }
.detail-nav .m-back::before { border-color: #f7f2e7; }
.detail-info { background: var(--paper); border-radius: 16px 16px 0 0; margin-top: -18px; position: relative; z-index: 2; padding: 16px 17px 14px; }
.detail-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.detail-info h2 { font-family: var(--serif); font-size: 23px; font-weight: 500; margin-top: 7px; line-height: 1.35; }
.detail-desc { font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 5px; }
.detail-presale { margin-top: 9px; background: #f7efdf; border-radius: 5px; padding: 7px 9px; font-size: 9px; color: #8b6a31; }
.detail-price-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 12px; }
.detail-price-row .m-price { font-size: 26px; }
.detail-price-row .m-price s { font-size: 10px; color: var(--muted-2); margin-left: 5px; }
.detail-block { background: var(--paper); margin-top: 8px; padding: 16px 17px; }
.detail-block h3 { font-family: var(--serif); font-size: 16px; font-weight: 500; margin-bottom: 9px; }
.detail-detail-text { font-size: 11px; color: #48564d; line-height: 1.9; white-space: pre-wrap; }
.detail-bar {
  position: absolute; z-index: 300; left: 0; right: 0; bottom: 0;
  height: 78px; padding: 7px 12px 18px; background: rgba(255,253,248,.97);
  border-top: 1px solid var(--line); display: flex; align-items: center; gap: 5px;
}
.detail-icon { width: 42px; height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative; }
.detail-icon img { width: 17px; height: 17px; opacity: .75; }
.detail-icon span { font-size: 8px; color: var(--muted); }
.detail-icon b { position: absolute; top: 1px; right: 4px; min-width: 13px; height: 13px; border-radius: 7px; background: var(--ink); color: var(--cream); font-size: 7px; line-height: 13px; text-align: center; }
.detail-actions { flex: 1; display: flex; gap: 5px; }
.detail-actions .m-btn { flex: 1; height: 41px; padding: 0 8px; font-size: 12px; }

/* ---------- orders ---------- */
.orders-page { background: var(--bg); }
.orders-head { padding: 12px 16px 0; background: var(--bg); }
.orders-channels { display: flex; gap: 22px; overflow-x: auto; padding: 0 2px; }
.orders-channel { position: relative; padding: 4px 0 12px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.orders-channel.active { color: var(--ink); font-weight: 600; }
.orders-channel.active::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--ink); }
.orders-types { display: flex; gap: 5px; padding: 7px 0 10px; }
.orders-type { height: 27px; padding: 0 12px; border-radius: 999px; display: flex; align-items: center; font-size: 10px; color: var(--muted); }
.orders-type.active { background: var(--bg-2); color: var(--ink); font-weight: 600; }
.orders-list { padding: 4px 16px 10px; }
.order-card { background: var(--paper); border: 1px solid rgba(229,218,198,.65); border-radius: 13px; padding: 13px 13px 10px; margin-bottom: 9px; }
.order-card-head { display: flex; justify-content: space-between; align-items: center; }
.order-card-store { display: flex; align-items: center; gap: 4px; font-size: 11px; }
.order-card-store img { width: 12px; height: 12px; opacity: .55; }
.order-card-meta { font-size: 9px; color: var(--muted-2); margin-top: 5px; }
.order-thumbs { display: flex; gap: 6px; align-items: center; margin-top: 10px; }
.order-thumb { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background: var(--cream); }
.order-more { width: 26px; height: 56px; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--muted); }
.order-total { margin-left: auto; text-align: right; }
.order-total span { display: block; font-size: 9px; color: var(--muted); }
.order-total strong { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.order-actions { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; display: flex; justify-content: flex-end; gap: 6px; align-items: center; }
.order-actions .m-btn { height: 28px; padding: 0 11px; font-size: 10px; }
.order-actions .link { font-size: 9px; color: var(--muted); }

/* ---------- cart / checkout ---------- */
.cart-page { background: var(--bg); padding-bottom: 90px; }
.cart-store { margin: 11px 16px 0; padding: 11px 13px; display: flex; align-items: center; gap: 8px; }
.cart-store img { width: 28px; height: 28px; border-radius: 50%; }
.cart-store strong { font-size: 12px; }
.cart-store span { font-size: 9px; color: var(--muted); display: block; margin-top: 2px; }
.cart-store .mode { margin-left: auto; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 9px; display: flex; align-items: center; }
.cart-items { padding: 10px 16px 0; }
.cart-item { display: flex; gap: 10px; padding: 11px; margin-bottom: 8px; }
.cart-item img { width: 74px; height: 74px; border-radius: 8px; object-fit: cover; background: var(--cream); }
.cart-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cart-item-name { font-size: 12px; }
.cart-item-sku { font-size: 9px; color: var(--muted); margin-top: 3px; }
.cart-item-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.cart-item-price { font-family: var(--serif); font-size: 15px; }
.cart-del { color: var(--muted-2); font-size: 16px; width: 22px; height: 22px; }
.stepper { display: flex; align-items: center; gap: 7px; }
.stepper button { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--ink); font-size: 15px; display: flex; align-items: center; justify-content: center; }
.stepper button.plus { background: var(--ink); color: var(--cream); }
.stepper span { font-size: 12px; min-width: 18px; text-align: center; }
.cart-note { margin: 5px 16px; }
.notice { background: #f5eddc; color: #8b6a31; border-radius: 8px; padding: 9px 11px; font-size: 9px; line-height: 1.6; }
.cart-footer {
  position: absolute; z-index: 300; left: 0; right: 0; bottom: 0;
  background: rgba(255,253,248,.97); border-top: 1px solid var(--line);
  padding: 8px 16px 22px; display: flex; align-items: center; gap: 12px;
}
.cart-footer .sum { flex: 1; }
.cart-footer .sum span { font-size: 9px; color: var(--muted); display: block; }
.cart-footer .sum strong { font-family: var(--serif); font-size: 23px; font-weight: 500; }
.cart-footer .m-btn { width: 168px; }
.checkout-page { background: var(--bg); padding-bottom: 92px; }
.checkout-wrap { padding: 10px 16px; }
.checkout-mode { display: flex; background: var(--bg-2); border-radius: 12px; padding: 4px; margin-bottom: 9px; }
.checkout-mode button { flex: 1; height: 43px; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 12px; color: var(--muted); }
.checkout-mode button small { font-size: 8px; color: var(--muted-2); }
.checkout-mode button.active { background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px rgba(35,30,20,.06); }
.checkout-mode button.active small { color: var(--gold); }
.checkout-card { padding: 13px; margin-bottom: 8px; }
.checkout-address { display: flex; align-items: flex-start; gap: 8px; }
.checkout-address img { width: 18px; height: 18px; opacity: .7; flex: 0 0 18px; margin-top: 2px; }
.checkout-address strong { font-size: 12px; }
.checkout-address p { font-size: 10px; color: var(--muted); line-height: 1.6; margin-top: 3px; }
.checkout-address .chev { margin-left: auto; color: var(--muted-2); }
.checkout-heading { font-family: var(--serif); font-size: 15px; margin-bottom: 7px; }
.checkout-item { display: flex; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid #f2ecdf; }
.checkout-item:last-child { border-bottom: 0; }
.checkout-item img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; }
.checkout-item .main { flex: 1; }
.checkout-item .main strong { display: block; font-size: 11px; font-weight: 500; }
.checkout-item .main span { font-size: 8px; color: var(--muted); }
.checkout-item .amount { font-family: var(--serif); font-size: 12px; }
.option-row { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.option-row:last-child { border-bottom: 0; }
.option-row .label { width: 64px; }
.option-row .value { margin-left: auto; color: var(--muted); }
.option-row .value.gold { color: var(--gold); }
.option-row .switch { width: 38px; height: 22px; border-radius: 99px; background: #d9d3c7; position: relative; }
.option-row .switch::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; left: 2px; top: 2px; transition: .2s; }
.option-row .switch.on { background: var(--ink); }
.option-row .switch.on::after { left: 18px; }
.fee-row { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); padding: 4px 0; }
.fee-row.discount { color: var(--green); }
.fee-row.total { color: var(--ink); font-size: 12px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 9px; }
.fee-row.total strong { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.checkout-tip { text-align: center; font-size: 8px; color: var(--muted-2); padding: 11px 0; line-height: 1.6; }

/* ---------- mine ---------- */
.mine-page { background: var(--bg); padding-bottom: 96px; }
.mine-hero { background: radial-gradient(80% 70% at 90% 0%, #28543c 0, transparent 60%), linear-gradient(160deg, #143526, #0e2a1c); height: 230px; position: relative; overflow: hidden; }
.mine-hero::after { content: ""; position: absolute; right: -35px; top: 10px; width: 190px; height: 190px; border-radius: 50%; border: 1px solid rgba(243,234,216,.08); }
.mine-user { position: absolute; left: 18px; right: 18px; top: 96px; display: flex; align-items: center; gap: 10px; color: var(--cream); }
.mine-avatar { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(243,234,216,.4); background: var(--cream); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 22px; }
.mine-user-main { flex: 1; }
.mine-user-main strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: 1px; }
.mine-user-main span { display: block; font-size: 10px; color: rgba(243,234,216,.52); margin-top: 3px; }
.mine-store-pill { border: 1px solid rgba(243,234,216,.2); border-radius: 999px; padding: 4px 8px; font-size: 8px; color: rgba(243,234,216,.6); }
.mine-card { margin: -62px 16px 0; position: relative; z-index: 2; background: var(--paper); border-radius: 14px; padding: 17px 16px 10px; box-shadow: 0 9px 25px rgba(20,53,38,.1); }
.mine-hello { font-family: var(--serif); font-size: 22px; }
.mine-welcome { font-size: 9px; color: var(--muted); margin-top: 4px; }
.mine-qr { width: 32px; height: 32px; }
.mine-stats { display: flex; margin-top: 16px; padding-top: 4px; }
.mine-stat { flex: 1; text-align: center; border-right: 1px solid var(--line); }
.mine-stat:last-child { border-right: 0; }
.mine-stat strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.mine-stat span { display: block; font-size: 9px; color: var(--muted); margin-top: 3px; }
.mine-menu { margin: 10px 16px 0; background: var(--paper); border-radius: 14px; padding: 0 16px; }
.mine-cell { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid #f0eadf; font-size: 12px; }
.mine-cell:last-child { border-bottom: 0; }
.mine-cell .chev { font-size: 17px; color: var(--muted-2); }
.mine-brand { text-align: center; padding: 26px 0 8px; }
.mine-brand img { width: 28px; height: 28px; margin: 0 auto 5px; opacity: .45; }
.mine-brand span { font-size: 7px; letter-spacing: .22em; color: var(--muted-2); }

/* ---------- member code / generic ---------- */
.code-page { background: var(--bg); }
.code-wrap { padding: 10px 16px 30px; }
.code-card { background: var(--paper); border-radius: 16px; padding: 18px 17px 12px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 9px 30px rgba(35,30,20,.06); }
.code-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 23px; }
.code-name { font-family: var(--serif); font-size: 16px; margin-top: 7px; }
.code-level { font-size: 9px; color: var(--gold); margin-top: 2px; }
.barcode { display: flex; align-items: stretch; height: 62px; width: 100%; justify-content: center; margin-top: 17px; overflow: hidden; }
.barcode i { height: 100%; background: #143526; }
.barcode-num { font-size: 8px; letter-spacing: 2px; color: var(--muted-2); margin-top: 4px; }
.qr-visual { width: 184px; height: 184px; margin-top: 17px; padding: 5px; background: #fff; display: grid; grid-template-columns: repeat(21, 1fr); grid-template-rows: repeat(21, 1fr); }
.qr-visual i { background: transparent; }
.qr-visual i.on { background: #143526; }
.code-refresh { font-size: 9px; color: var(--muted); margin-top: 5px; }
.code-stats { display: flex; width: 100%; border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 4px; }
.code-stat { flex: 1; text-align: center; padding: 8px 0; }
.code-stat strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.code-stat span { display: block; font-size: 8px; color: var(--muted); margin-top: 2px; }
.code-tip { background: var(--paper); border-radius: 12px; padding: 13px; margin-top: 10px; }
.code-tip strong { display: block; font-size: 11px; margin-bottom: 5px; }
.code-tip p { font-size: 9px; color: var(--muted); line-height: 1.8; }
.simple-nav { border-bottom: 1px solid var(--line); background: var(--bg); }
.simple-body { padding: 12px 16px 30px; }
.section-kicker { font-size: 8px; letter-spacing: .25em; color: var(--gold); }
.section-title { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-top: 5px; }
.recharge-balance { padding: 18px; }
.recharge-balance span { font-size: 10px; color: var(--muted); }
.recharge-balance strong { display: block; font-family: var(--serif); font-size: 42px; font-weight: 500; margin-top: 5px; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.plan-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px 12px; position: relative; }
.plan-card.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan-card strong { display: block; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.plan-card b { display: block; font-size: 10px; color: var(--gold); font-weight: 400; margin-top: 3px; }
.plan-card span { display: block; font-size: 8px; color: var(--muted); margin-top: 2px; }
.plan-card .check { position: absolute; right: 8px; bottom: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 9px; display: none; align-items: center; justify-content: center; }
.plan-card.active .check { display: flex; }
.agree { display: flex; gap: 5px; align-items: center; font-size: 9px; color: var(--muted); margin: 15px 0 10px; }
.agree i { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-strong); }
.agree i.on { background: var(--ink); border-color: var(--ink); }
.recharge-note { margin-top: 14px; background: var(--bg-2); border-radius: 9px; padding: 13px; font-size: 9px; color: var(--muted); line-height: 1.8; }
.coupon-tabs { display: flex; margin: 12px 16px 13px; border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; }
.coupon-tabs button { flex: 1; height: 36px; font-size: 10px; color: var(--ink); background: var(--paper); }
.coupon-tabs button.active { background: var(--ink); color: var(--cream); }
.coupon-list { padding: 0 16px 86px; }
.ticket { display: flex; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 9px; min-height: 100px; }
.ticket-left { width: 92px; flex: 0 0 92px; border-right: 1px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ticket-left strong { font-family: var(--serif); font-size: 24px; color: #9a6a2f; font-weight: 500; }
.ticket-left span { font-size: 8px; color: var(--muted); margin-top: 2px; }
.ticket-main { padding: 12px 11px; }
.ticket-main h4 { font-size: 12px; font-weight: 500; }
.ticket-main p { font-size: 8px; color: var(--muted); line-height: 1.6; margin-top: 3px; }
.ticket-main small { display: block; font-size: 8px; color: var(--muted-2); margin-top: 8px; }
.points-hero { margin: 12px 16px; background: linear-gradient(145deg, #143526, #25543c); color: var(--cream); border-radius: 14px; padding: 18px 17px; position: relative; overflow: hidden; }
.points-hero span { font-size: 8px; letter-spacing: .3em; color: rgba(243,234,216,.5); }
.points-hero strong { display: block; font-family: var(--serif); font-size: 40px; font-weight: 500; margin-top: 5px; }
.points-hero p { font-size: 9px; color: rgba(243,234,216,.55); }
.points-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 0 16px; }
.points-item { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.points-item img { width: 100%; height: 120px; object-fit: cover; }
.points-item-body { padding: 8px; }
.points-item h4 { font-size: 11px; font-weight: 500; line-height: 1.4; min-height: 30px; }
.points-item .cost { font-family: var(--serif); font-size: 16px; color: #9a6a2f; margin-top: 6px; }
.points-item .cost small { font-size: 8px; color: var(--muted); }
.points-closed { padding: 100px 30px 40px; text-align: center; }
.points-closed img { width: 230px; margin: 0 auto 20px; opacity: .9; }
.points-closed h3 { font-size: 14px; color: var(--muted); font-weight: 400; }
.points-closed p { font-size: 10px; color: var(--muted-2); margin-top: 8px; line-height: 1.6; }
.points-closed .m-btn { background: #2ebd6b; border-color: #2ebd6b; width: 190px; margin-top: 38px; border-radius: 5px; }
.support-page { display: flex; flex-direction: column; height: 100%; background: #edeae3; }
.chat-scroll { flex: 1; overflow-y: auto; padding: 12px 15px 72px; }
.chat-date { text-align: center; font-size: 9px; color: #9c968a; margin-top: 8px; }
.chat-system { text-align: center; font-size: 9px; color: #8f897c; background: rgba(255,253,248,.55); border-radius: 4px; padding: 5px 8px; width: fit-content; margin: 8px auto 0; }
.chat-msg { margin-top: 14px; display: flex; flex-direction: column; align-items: flex-start; }
.chat-msg.staff { align-items: flex-end; }
.chat-msg small { font-size: 8px; color: #a09a8e; margin-bottom: 4px; }
.chat-bubble { max-width: 74%; background: #fffdf8; border: 1px solid #e5e0d6; border-radius: 9px; border-bottom-left-radius: 3px; padding: 9px 11px; font-size: 12px; line-height: 1.6; }
.chat-msg.staff .chat-bubble { background: #143526; color: #f3ead8; border-color: #143526; border-bottom-left-radius: 9px; border-bottom-right-radius: 3px; }
.chat-compose { position: absolute; left: 0; right: 0; bottom: 0; background: #f7f4ed; border-top: 1px solid #dcd6ca; padding: 8px 12px 20px; display: flex; align-items: center; gap: 6px; }
.chat-compose input { flex: 1; height: 34px; border-radius: 999px; border: 0; background: #fffdf8; padding: 0 14px; font-size: 11px; outline: none; }
.chat-compose .send { font-size: 11px; color: var(--ink); padding: 8px; }
.store-cover-lg { height: 220px; position: relative; overflow: hidden; }
.store-cover-lg img { width: 100%; height: 100%; object-fit: cover; }
.store-cover-lg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,12,.1), rgba(8,18,12,.75)); }
.store-cover-text { position: absolute; z-index: 2; left: 17px; right: 17px; bottom: 17px; color: var(--cream); }
.store-cover-text h2 { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.3; }
.store-cover-text p { font-size: 10px; opacity: .6; margin-top: 4px; }
.store-detail-card { margin: -12px 16px 0; position: relative; z-index: 2; padding: 14px; }
.store-info-row { display: flex; gap: 8px; padding: 10px 0; border-bottom: 1px solid #f0eadf; font-size: 10px; line-height: 1.6; }
.store-info-row:last-child { border-bottom: 0; }
.store-info-row img { width: 14px; height: 14px; opacity: .55; margin-top: 1px; flex: 0 0 14px; }
.store-info-row b { display: block; font-size: 8px; color: var(--muted-2); font-weight: 400; }
.store-service-row { display: flex; gap: 7px; margin: 9px 16px 0; }
.store-service { flex: 1; background: var(--cream); border-radius: 8px; padding: 9px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; }
.store-service img { width: 18px; height: 18px; opacity: .7; }
.checkout-address .blank { color: var(--muted-2); }

@media (max-width: 980px) {
  .stage { display: block; padding: 0; }
  .inspector, .under-phone { display: none; }
  .phone-column { transform: none !important; display: block; }
  .phone-frame { width: 100vw; height: 100dvh; padding: 0; border-radius: 0; box-shadow: none; background: none; }
  .phone { width: 100vw; height: 100dvh; border-radius: 0; }
  .statusbar { display: none; }
  .capsule { top: 8px; }
  .home-indicator { display: none; }
  .m-nav { height: 88px; }
}
