/* ===== rpx 適配：1rem = 1rpx（750 設計稿）===== */
html { font-size: calc(100vw / 750); }
@media (min-width: 600px) { html { font-size: 0.8px; } }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: #f7f8fa;
  color: #323233;
  font-size: 28rem;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
}
#app { max-width: 600px; margin: 0 auto; position: relative; min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }
input, textarea, button { font-family: inherit; font-size: 28rem; outline: none; border: none; background: none; color: inherit; }
button { cursor: pointer; padding: 0; }
.boot { padding: 200rem 0; text-align: center; color: #c0c8c4; font-size: 28rem; }

/* ===== 圖標尺寸（Vant 字體圖標）===== */
.quick-icon-wrap .van-icon { font-size: 52rem; color: #fff; }
.quick-full .van-icon.quick-ico2 { font-size: 44rem; color: #2d5a3d; }
.notice-wrap .van-icon { font-size: 30rem; color: #2d5a3d; }
.ambient-contact .van-icon { font-size: 34rem; color: #2d5a3d; }
.ambient-contact .van-icon-arrow { font-size: 28rem; color: #bbb; }
.table-bar .van-icon { font-size: 32rem; }
.order-notice .van-icon { font-size: 30rem; }
.cart-ico-wrap .van-icon { font-size: 42rem; color: #333; }
.cart-pop-clear .van-icon { font-size: 28rem; }
.qty-add .van-icon { font-size: 36rem; color: #fff; }
.login-field .van-icon { font-size: 36rem; color: #969799; }
.vradio-dot .van-icon { font-size: 22rem; }

/* ===== 通用 ===== */
.page { min-height: 100vh; }
.pad-tab { padding-bottom: calc(100rem + env(safe-area-inset-bottom) + 32rem); }
.empty { text-align: center; color: #969799; padding: 120rem 32rem; font-size: 28rem; }
.empty img { width: 240rem; height: 240rem; margin: 0 auto 16rem; opacity: .85; }

/* ===== 頂部導航（子頁面，仿微信白底）===== */
.navbar {
  position: sticky; top: 0; z-index: 20;
  height: 88rem; display: flex; align-items: center; justify-content: center;
  background: #fff; color: #1a1a1a; font-size: 34rem; font-weight: 600;
  border-bottom: 1rem solid #ebedf0;
}
.nav-back { position: absolute; left: 12rem; font-size: 52rem; line-height: 1; padding: 0 20rem; color: #1a1a1a; }
.nav-right { position: absolute; right: 28rem; font-size: 26rem; font-weight: 400; color: #576b95; }

/* ===== 底部 TabBar（custom：白底，選中紅 #e64340）===== */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 600px; z-index: 100;
  display: flex; background: #fff; border-top: 1rem solid #ebedf0;
  height: calc(100rem + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
}
.tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4rem; color: #6e6d6b; font-size: 20rem; }
.tab-item.active { color: #e64340; }
.tab-ico { width: 44rem; height: 44rem; }

/* ===== 首頁（綠色主題）===== */
.page-home { background: #f4f6f5; }
.hero { position: relative; height: 480rem; overflow: hidden; }
.hero-track { position: absolute; inset: 0; display: flex; height: 100%; transition: transform .45s ease; }
.hero-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; background: linear-gradient(145deg, #1e3d2f 0%, #3d6b4f 45%, #5a8f6a 100%); }
.hero-image { width: 100%; height: 100%; flex-shrink: 0; object-fit: cover; }
.hero-dots { position: absolute; bottom: 96rem; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10rem; }
.hero-dot { width: 12rem; height: 12rem; border-radius: 50%; background: rgba(255,255,255,.45); transition: all .3s; }
.hero-dot.on { width: 28rem; border-radius: 6rem; background: #fff; }

/* 精選營地模塊 */
.camp-feature { margin: 28rem 24rem 0; padding: 32rem 28rem; border-radius: 20rem; background: linear-gradient(160deg, #1a2e22 0%, #243a2c 60%, #2d5a3d 100%); box-shadow: 0 8rem 32rem rgba(45,90,61,.2); }
.cf-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24rem; }
.cf-title { font-size: 34rem; font-weight: 700; color: #fff; letter-spacing: 1rem; }
.cf-more { display: flex; align-items: center; gap: 4rem; font-size: 24rem; color: #E0B981; }
.cf-scroll { display: flex; gap: 20rem; overflow-x: auto; padding-bottom: 6rem; -webkit-overflow-scrolling: touch; }
.cf-scroll::-webkit-scrollbar { display: none; }
.cf-card { width: 300rem; flex-shrink: 0; }
.cf-pic-wrap { position: relative; height: 300rem; border-radius: 16rem; overflow: hidden; background: rgba(255,255,255,.06); }
.cf-pic { width: 100%; height: 100%; object-fit: cover; }
.cf-tag { position: absolute; top: 0; right: 0; background: linear-gradient(135deg, #C09A6B 0%, #D4A574 100%); color: #fff; font-size: 22rem; padding: 6rem 18rem; border-radius: 0 0 0 16rem; font-weight: 600; }
.cf-pic-wrap::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120rem; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); }
.cf-price { position: absolute; left: 16rem; bottom: 14rem; z-index: 1; color: #F5C271; font-size: 36rem; font-weight: 700; text-shadow: 0 2rem 8rem rgba(0,0,0,.5); }
.cf-price .unit { font-size: 22rem; font-weight: 400; color: rgba(255,255,255,.85); }
.cf-name { margin-top: 16rem; font-size: 28rem; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-desc { margin-top: 6rem; font-size: 22rem; color: rgba(255,255,255,.55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-mask { position: absolute; left: 0; right: 0; bottom: 0; height: 280rem; background: linear-gradient(to top, rgba(20,40,30,.85) 0%, transparent 100%); pointer-events: none; }
.hero-text { position: absolute; left: 32rem; right: 32rem; bottom: 72rem; z-index: 2; }
.hero-title { font-size: 40rem; font-weight: 600; color: #fff; letter-spacing: 2rem; text-shadow: 0 2rem 8rem rgba(0,0,0,.25); }
.hero-slogan { margin-top: 12rem; font-size: 26rem; color: rgba(255,255,255,.88); }

.user-card { display: flex; align-items: center; margin: -48rem 24rem 0; padding: 28rem 24rem; background: #fff; border-radius: 20rem; box-shadow: 0 8rem 32rem rgba(45,90,61,.1); position: relative; z-index: 3; }
.user-avatar { width: 96rem; height: 96rem; border-radius: 50%; flex-shrink: 0; border: 4rem solid #eef6f0; object-fit: cover; }
.user-info { flex: 1; margin-left: 24rem; overflow: hidden; }
.user-name { font-size: 32rem; font-weight: 600; color: #1a2e22; }
.user-level { margin-top: 8rem; font-size: 24rem; color: #8a9a90; }
.u-arrow { color: #bbb; font-size: 32rem; }

.notice-wrap { display: flex; align-items: center; gap: 12rem; margin: 24rem 24rem 0; padding: 18rem 24rem; border-radius: 12rem; background: #eef6f0; color: #2d5a3d; font-size: 26rem; }
.notice-wrap .nw-txt { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.section { margin: 28rem 24rem 0; }
.section-head { display: flex; align-items: center; margin-bottom: 20rem; }
.section-title { font-size: 30rem; font-weight: 600; color: #1a2e22; flex-shrink: 0; }
.section-line { flex: 1; height: 2rem; margin-left: 20rem; background: linear-gradient(to right, #c5d9cc, transparent); }

.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20rem; }
.quick-card { border-radius: 20rem; overflow: hidden; }
.quick-primary { display: flex; align-items: center; padding: 28rem 24rem; background: linear-gradient(135deg, #2d5a3d 0%, #3d7a52 100%); box-shadow: 0 8rem 24rem rgba(45,90,61,.25); }
.quick-accent { display: flex; align-items: center; padding: 28rem 24rem; background: linear-gradient(135deg, #8b6914 0%, #c49a3c 100%); box-shadow: 0 8rem 24rem rgba(139,105,20,.25); }
.quick-icon-wrap { width: 80rem; height: 80rem; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 44rem; }
.quick-text { margin-left: 20rem; flex: 1; min-width: 0; }
.quick-name { font-size: 30rem; font-weight: 600; color: #fff; }
.quick-desc { margin-top: 6rem; font-size: 22rem; color: rgba(255,255,255,.8); line-height: 1.4; }
.quick-sub { padding: 24rem; background: #fff; box-shadow: 0 4rem 16rem rgba(0,0,0,.04); }
.quick-full { grid-column: 1 / -1; display: flex; align-items: center; }
.quick-full .quick-ico2 { font-size: 44rem; }
.quick-sub-text { margin-left: 16rem; flex: 1; }
.quick-sub-name { font-size: 28rem; font-weight: 600; color: #1a2e22; }
.quick-sub-desc { margin-top: 6rem; font-size: 22rem; color: #8a9a90; line-height: 1.4; }

.ambient-section { position: relative; margin: 28rem 24rem 0; padding: 40rem 28rem 28rem; border-radius: 20rem; overflow: hidden; background: linear-gradient(160deg, #1a2e22 0%, #2d5a3d 45%, #3d7a52 100%); box-shadow: 0 8rem 32rem rgba(45,90,61,.2); }
.ambient-stars { position: absolute; inset: 0; pointer-events: none; }
.star { position: absolute; width: 6rem; height: 6rem; border-radius: 50%; background: #fff; animation: twinkle 2.4s ease-in-out infinite; }
.s1 { top: 18%; left: 12%; animation-delay: 0s; }
.s2 { top: 28%; left: 78%; width: 4rem; height: 4rem; animation-delay: .6s; }
.s3 { top: 55%; left: 25%; animation-delay: 1.2s; }
.s4 { top: 12%; left: 55%; width: 8rem; height: 8rem; animation-delay: .3s; }
.s5 { top: 65%; left: 68%; width: 4rem; height: 4rem; animation-delay: 1.8s; }
.s6 { top: 40%; left: 88%; animation-delay: .9s; }
@keyframes twinkle { 0%,100% { opacity: .2; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }
.ambient-glow { position: absolute; bottom: -60rem; left: 50%; width: 320rem; height: 160rem; margin-left: -160rem; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,180,80,.35) 0%, transparent 70%); animation: glowPulse 3s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .9; transform: scale(1.08); } }
.ambient-tags { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 16rem; }
.ambient-tag { padding: 12rem 28rem; border-radius: 999rem; font-size: 24rem; color: rgba(255,255,255,.92); background: rgba(255,255,255,.12); border: 1rem solid rgba(255,255,255,.2); }
.tag-1 { animation: floatTag 3s ease-in-out infinite; }
.tag-2 { animation: floatTag 3s ease-in-out infinite .5s; }
.tag-3 { animation: floatTag 3s ease-in-out infinite 1s; }
@keyframes floatTag { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8rem); } }
.ambient-contact { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 12rem; margin-top: 32rem; padding: 20rem; background: rgba(255,255,255,.95); border-radius: 16rem; }
.ambient-contact .ac-txt { flex: 1; font-size: 28rem; color: #1a2e22; font-weight: 500; }

.brand-card { margin: 28rem 24rem 0; padding: 32rem; background: linear-gradient(160deg, #eef6f0 0%, #fff 60%); border-radius: 20rem; border: 1rem solid #dce8e0; }
.brand-header { display: flex; align-items: center; }
.brand-dot { width: 8rem; height: 32rem; border-radius: 4rem; background: #2d5a3d; margin-right: 16rem; }
.brand-name { font-size: 32rem; font-weight: 600; color: #1a2e22; }
.brand-tags { margin-top: 16rem; font-size: 24rem; color: #2d5a3d; letter-spacing: 1rem; }
.brand-desc { margin-top: 16rem; font-size: 26rem; color: #6b7c72; line-height: 1.7; }
.footer { text-align: center; color: #c0c8c4; font-size: 22rem; padding: 32rem 0 16rem; }

/* 首頁優化 + 通用輪播 */
.swiper { position: relative; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.swiper-track { display: flex; width: 100%; height: 100%; transition: transform .45s ease; will-change: transform; }
.swiper-slide { flex: 0 0 100%; width: 100%; height: 100%; }
.swiper-img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.swiper-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.swiper-ph-hero { background: linear-gradient(145deg, #1e3d2f 0%, #3d6b4f 45%, #5a8f6a 100%); }
.swiper-ph-order { background: linear-gradient(135deg, #C09A6B 0%, #D4A574 100%); }
.swiper-ph-order span { font-size: 32rem; font-weight: 600; }
.swiper-ph-order small { margin-top: 8rem; font-size: 22rem; opacity: .9; }
.swiper-dots { position: absolute; left: 0; right: 0; bottom: 20rem; z-index: 3; display: flex; justify-content: center; gap: 10rem; }
.swiper-dot { width: 12rem; height: 12rem; border-radius: 50%; background: rgba(255,255,255,.45); transition: all .3s; }
.swiper-dot.on { width: 28rem; border-radius: 6rem; background: #fff; }

.swiper-hero { height: 480rem; border-radius: 0 0 24rem 24rem; background: linear-gradient(145deg, #1e3d2f 0%, #3d6b4f 45%, #5a8f6a 100%); }
.swiper-slide { background: #2d5a3d; }
.goods-thumb { background: #f2f4f3; }
.swiper-hero .hero-mask { height: 260rem; }
.swiper-hero .hero-text { bottom: 56rem; pointer-events: none; }
.swiper-hero .hero-dots { bottom: 24rem; }
.swiper-hero .hero-title { font-size: 40rem; }
.swiper-hero .hero-slogan { font-size: 26rem; margin-top: 10rem; }

.home-top { position: relative; margin-bottom: 8rem; }
.home-user-row {
  display: flex; align-items: center; margin: -40rem 24rem 0; padding: 20rem 22rem;
  background: #fff; border-radius: 16rem; box-shadow: 0 6rem 24rem rgba(45,90,61,.1);
  position: relative; z-index: 3;
}
.user-avatar-sm { width: 72rem; height: 72rem; border-radius: 50%; flex-shrink: 0; border: 3rem solid #eef6f0; object-fit: cover; }
.home-user-meta { flex: 1; margin-left: 16rem; overflow: hidden; }
.user-name-sm { font-size: 28rem; font-weight: 600; color: #1a2e22; }
.user-level-sm { margin-top: 4rem; font-size: 22rem; color: #8a9a90; }

.notice-compact { margin-top: 16rem; padding: 14rem 20rem; font-size: 24rem; }
.home-tags { display: flex; flex-wrap: wrap; gap: 12rem; margin: 16rem 24rem 0; }
.home-tag {
  display: inline-flex; align-items: center; gap: 6rem;
  padding: 10rem 18rem; border-radius: 999rem; font-size: 22rem; color: #2d5a3d;
  background: #fff; border: 1rem solid #dce8e0;
}
.home-tag .van-icon { font-size: 24rem; color: #c49a3c; }

.section-compact { margin-top: 20rem; }
.section-compact .section-head { margin-bottom: 14rem; }
.quick-ico-only { font-size: 44rem; color: #fff; flex-shrink: 0; }
.quick-accent .quick-ico-only { color: #fff; }
.quick-primary, .quick-accent { padding: 22rem 18rem; gap: 12rem; }
.quick-primary .quick-text, .quick-accent .quick-text { margin-left: 0; }
.quick-accent .quick-name, .quick-accent .quick-desc { color: #fff; }

.brand-compact { margin-top: 20rem; padding: 22rem 24rem; }
.brand-compact .brand-header { align-items: flex-start; }
.brand-compact .brand-main { flex: 1; min-width: 0; }
.brand-compact .brand-name { font-size: 28rem; }
.brand-compact .brand-tags { margin-top: 6rem; font-size: 22rem; }
.brand-compact .brand-desc { margin-top: 12rem; font-size: 24rem; line-height: 1.6; }
.footer-compact { padding: 20rem 0 8rem; font-size: 20rem; }

/* 點餐頁輪播 */
.order-banner-wrap { margin: 12rem 24rem 0; flex-shrink: 0; }
.swiper-order { height: 220rem; border-radius: 16rem; box-shadow: 0 4rem 16rem rgba(192,154,107,.2); }
.order-dots { bottom: 12rem; }
.shop-box-compact { margin: 12rem 24rem 0; padding: 20rem 24rem; }
.shop-box-compact .shop-name { font-size: 32rem; }
.shop-sub { margin-top: 6rem; font-size: 22rem; color: #999; }

/* ===== 點餐頁（金棕色主題）===== */
.page-order { display: flex; flex-direction: column; height: 100vh; background: linear-gradient(180deg, #FAF8F5 0%, #FFFFFF 100%); }
.table-bar { display: flex; align-items: center; justify-content: center; gap: 8rem; padding: 16rem; background: #eef6f0; color: #2d5a3d; font-size: 28rem; font-weight: 600; }
.order-notice { margin: 16rem 24rem 0; border-radius: 16rem; overflow: hidden; background: linear-gradient(135deg, #FFF8F0 0%, #FFE8CC 100%); color: #C09A6B; font-size: 26rem; padding: 18rem 24rem; display: flex; align-items: center; gap: 10rem; }
.order-notice .on-txt { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.shop-box { margin: 20rem 24rem 16rem; background: #fff; border-radius: 24rem; padding: 32rem; box-shadow: 0 4rem 24rem rgba(0,0,0,.06); position: relative; overflow: hidden; }
.shop-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4rem; background: linear-gradient(90deg, #C09A6B 0%, #D4A574 50%, #C09A6B 100%); }
.shop-name { font-size: 38rem; font-weight: 600; color: #2C2416; }

.order-main { flex: 1; display: flex; overflow: hidden; gap: 16rem; padding: 0 24rem calc(216rem + env(safe-area-inset-bottom)); }
.order-main.no-tab { padding-bottom: calc(116rem + env(safe-area-inset-bottom)); }
.cat-side { width: 180rem; flex-shrink: 0; overflow-y: auto; background: #fff; border-radius: 20rem; box-shadow: 0 4rem 16rem rgba(0,0,0,.04); }
.cat-item { padding: 32rem 16rem; text-align: center; font-size: 26rem; color: #646566; position: relative; }
.cat-item.active { background: linear-gradient(135deg, #FAF8F5 0%, #fff 100%); color: #C09A6B; font-weight: 600; }
.cat-item.active::before { content: ''; position: absolute; left: 0; top: 24rem; bottom: 24rem; width: 6rem; border-radius: 3rem; background: linear-gradient(180deg, #C09A6B 0%, #D4A574 100%); }
.goods-side { flex: 1; overflow-y: auto; background: #fff; border-radius: 20rem; box-shadow: 0 4rem 16rem rgba(0,0,0,.04); padding: 20rem; }
.goods-card { display: flex; align-items: center; gap: 16rem; margin-bottom: 20rem; padding: 20rem; background: linear-gradient(135deg, #fff 0%, #FAFAFA 100%); border-radius: 20rem; box-shadow: 0 4rem 20rem rgba(0,0,0,.06); border: 1rem solid #F5F5F5; }
.goods-thumb { width: 180rem; height: 180rem; border-radius: 16rem; object-fit: cover; flex-shrink: 0; box-shadow: 0 4rem 16rem rgba(0,0,0,.08); background: #f5f5f5; }
.goods-body { flex: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column; }
.goods-title { font-size: 32rem; font-weight: 600; color: #2C2416; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.goods-desc { font-size: 24rem; color: #999; margin-top: 8rem; }
.goods-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 12rem; }
.goods-price { font-size: 40rem; font-weight: 700; color: #C09A6B; }
.goods-price .yen { font-size: 26rem; margin-right: 2rem; }
.goods-qty-ctrl { display: flex; align-items: center; gap: 12rem; }
.qty-btn { width: 48rem; height: 48rem; line-height: 44rem; text-align: center; border-radius: 50%; font-size: 34rem; font-weight: 600; }
.qty-btn.minus { background: #f5f5f5; color: #666; }
.qty-btn.plus { background: #e64340; color: #fff; }
.qty-num { min-width: 36rem; text-align: center; font-size: 28rem; font-weight: 600; color: #323233; }
.qty-add { width: 52rem; height: 52rem; border-radius: 50%; background: linear-gradient(135deg, #C09A6B 0%, #D4A574 100%); color: #fff; font-size: 40rem; line-height: 50rem; text-align: center; box-shadow: 0 6rem 20rem rgba(192,154,107,.4); }

.cart-bar { position: fixed; left: 50%; transform: translateX(-50%); width: 100%; max-width: 600px; bottom: calc(100rem + env(safe-area-inset-bottom)); height: 100rem; z-index: 90; background: #fff; border-top: 1rem solid #eee; box-shadow: 0 -2rem 12rem rgba(0,0,0,.06); display: flex; align-items: center; padding: 0 24rem; gap: 16rem; }
.cart-bar.no-tab { bottom: 0; }
.cart-ico-wrap { position: relative; display: flex; align-items: center; gap: 8rem; font-size: 40rem; }
.cart-ico-wrap .cb-txt { font-size: 24rem; color: #333; }
.cart-badge { position: absolute; top: -10rem; left: 36rem; min-width: 30rem; height: 30rem; line-height: 30rem; padding: 0 8rem; background: #e64340; color: #fff; font-size: 20rem; font-weight: 600; text-align: center; border-radius: 15rem; }
.cart-price { flex: 1; text-align: right; font-size: 36rem; font-weight: 700; color: #C09A6B; }
.cart-price .yen { font-size: 24rem; margin-right: 2rem; }
.cart-submit { flex-shrink: 0; min-width: 160rem; height: 64rem; line-height: 64rem; padding: 0 32rem; text-align: center; background: linear-gradient(135deg, #C09A6B 0%, #D4A574 100%); color: #fff; border-radius: 32rem; font-size: 28rem; font-weight: 600; }
.cart-submit.disabled { background: #ccc; }

/* 購物車彈層 */
.pop-mask { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; }
.pop-mask .pop-inner { width: 100%; max-width: 600px; margin: 0 auto; }
.cart-pop { background: linear-gradient(180deg, #fff 0%, #FAF8F5 100%); border-radius: 32rem 32rem 0 0; display: flex; flex-direction: column; max-height: 70vh; padding-bottom: calc(100rem + env(safe-area-inset-bottom)); }
.cart-pop-hd { display: flex; align-items: center; justify-content: space-between; padding: 28rem 32rem 20rem; border-bottom: 1rem solid #ebedf0; }
.cart-pop-title { font-size: 30rem; font-weight: 600; color: #323233; }
.cart-pop-clear { display: flex; align-items: center; gap: 6rem; font-size: 26rem; color: #969799; }
.cart-pop-list { flex: 1; overflow-y: auto; }
.cart-pop-item { display: flex; align-items: center; padding: 24rem 32rem; border-bottom: 1rem solid #ebedf0; gap: 24rem; }
.cart-pop-pic { width: 110rem; height: 110rem; border-radius: 12rem; flex-shrink: 0; object-fit: cover; background: #f7f8fa; }
.cart-pop-body { flex: 1; min-width: 0; }
.cart-pop-name { font-size: 28rem; color: #323233; }
.cart-pop-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16rem; }
.cart-pop-price { font-size: 30rem; font-weight: 600; color: #C09A6B; }

/* ===== Vant 風格通用：cell / cell-group / button / field ===== */
.vgroup { margin: 24rem; border-radius: 16rem; overflow: hidden; background: #fff; }
.vgroup-title { padding: 32rem 32rem 16rem; font-size: 28rem; color: #969799; }
.vgroup .vgroup-title { padding-left: 0; padding-right: 0; }
.vgroup-box { background: #fff; border-radius: 16rem; overflow: hidden; }
.vcell { display: flex; align-items: center; padding: 26rem 32rem; background: #fff; position: relative; font-size: 28rem; color: #323233; gap: 16rem; }
.vcell + .vcell::after { content: ''; position: absolute; top: 0; left: 32rem; right: 0; border-top: 1rem solid #ebedf0; }
.vcell-ico { font-size: 36rem; width: 40rem; text-align: center; flex-shrink: 0; }
.vcell-thumb { width: 80rem; height: 80rem; border-radius: 8rem; object-fit: cover; flex-shrink: 0; }
.vcell-main { flex: 1; min-width: 0; }
.vcell-title { font-size: 28rem; color: #323233; }
.vcell-label { font-size: 24rem; color: #969799; margin-top: 6rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcell-value { font-size: 26rem; color: #969799; text-align: right; flex-shrink: 0; max-width: 50%; }
.vcell-arrow { color: #c8c9cc; font-size: 30rem; flex-shrink: 0; }
.vcell.link { cursor: pointer; }

.vfield { display: flex; align-items: flex-start; padding: 22rem 32rem; background: #fff; position: relative; }
.vfield + .vfield::after { content: ''; position: absolute; top: 0; left: 32rem; right: 0; border-top: 1rem solid #ebedf0; }
.vfield-label { width: 180rem; flex-shrink: 0; font-size: 28rem; color: #323233; padding-top: 4rem; }
.vfield-label .req { color: #ee0a24; margin-right: 4rem; }
.vfield input, .vfield textarea { flex: 1; font-size: 28rem; color: #323233; border: none; background: none; }
.vfield textarea { min-height: 100rem; resize: none; line-height: 1.5; }
.vfield .vfield-val { flex: 1; font-size: 28rem; color: #323233; }
.vfield .vfield-val.ph { color: #c8c9cc; }

.vbtn { display: block; width: 100%; height: 88rem; line-height: 88rem; text-align: center; border-radius: 12rem; font-size: 30rem; font-weight: 500; }
.vbtn.primary { background: #07c160; color: #fff; }
.vbtn.gold { background: linear-gradient(135deg, #C09A6B 0%, #D4A574 100%); color: #fff; }
.vbtn.round { border-radius: 44rem; }
.vbtn[disabled], .vbtn.disabled { opacity: .6; }
.vbtn-sm { height: 56rem; line-height: 54rem; padding: 0 28rem; border-radius: 28rem; font-size: 24rem; background: #fff; border: 1rem solid #ebedf0; color: #323233; }
.vbtn-sm.primary { background: #07c160; color: #fff; border-color: #07c160; }
.vbtn-sm.danger { color: #ee0a24; border-color: #ee0a24; }

/* ===== 訂單確認 / 下單成功 ===== */
.confirm-item { display: flex; align-items: center; gap: 20rem; padding: 22rem 32rem; background: #fff; position: relative; }
.confirm-item + .confirm-item::after { content: ''; position: absolute; top: 0; left: 32rem; right: 0; border-top: 1rem solid #ebedf0; }
.confirm-pic { width: 110rem; height: 110rem; border-radius: 12rem; object-fit: cover; flex-shrink: 0; background: #f5f5f5; }
.confirm-body { flex: 1; min-width: 0; }
.confirm-name { font-size: 28rem; color: #323233; font-weight: 500; }
.confirm-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16rem; }
.confirm-price { font-size: 30rem; font-weight: 600; color: #C09A6B; }
.confirm-bar { position: fixed; left: 50%; transform: translateX(-50%); width: 100%; max-width: 600px; bottom: 0; height: calc(110rem + env(safe-area-inset-bottom)); padding: 0 24rem env(safe-area-inset-bottom); background: #fff; border-top: 1rem solid #ebedf0; box-shadow: 0 -2rem 12rem rgba(0,0,0,.06); display: flex; align-items: center; gap: 16rem; z-index: 90; }
.confirm-total { flex: 1; font-size: 26rem; color: #323233; }
.confirm-total span { color: #e64340; font-size: 40rem; font-weight: 700; }
.confirm-total .yen { font-size: 24rem; margin-right: 2rem; }
.result-page { min-height: 100vh; background: #f4f6f5; padding-bottom: 40rem; }
.result-hero { position: relative; background: linear-gradient(160deg, #1a2e22 0%, #2d5a3d 55%, #3d7a52 100%); padding: 96rem 0 130rem; text-align: center; color: #fff; overflow: hidden; }
.result-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1rem; height: 80rem; background: #f4f6f5; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.result-ico { position: relative; width: 128rem; height: 128rem; border-radius: 50%; background: rgba(255,255,255,.16); margin: 0 auto 26rem; display: flex; align-items: center; justify-content: center; animation: popIn .4s ease; }
.result-ico::before { content: ''; position: absolute; inset: -14rem; border-radius: 50%; border: 2rem solid rgba(255,255,255,.25); }
.result-ico .van-icon { font-size: 70rem; color: #fff; }
@keyframes popIn { 0% { transform: scale(.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.result-title { font-size: 40rem; font-weight: 700; letter-spacing: 2rem; }
.result-sub { margin-top: 14rem; font-size: 26rem; color: rgba(255,255,255,.85); }

.result-card { position: relative; z-index: 2; margin: -86rem 24rem 0; background: #fff; border-radius: 24rem; padding: 32rem 28rem; box-shadow: 0 12rem 40rem rgba(45,90,61,.12); }
.result-table { display: flex; align-items: baseline; justify-content: center; gap: 16rem; padding-bottom: 24rem; }
.result-table .rt-label { font-size: 26rem; color: #8a9a90; }
.result-table .rt-no { font-size: 76rem; font-weight: 800; color: #2d5a3d; line-height: 1; }
.result-table .rt-no i { font-size: 28rem; font-weight: 600; font-style: normal; margin-left: 6rem; }
.result-meta { text-align: center; font-size: 24rem; color: #8a9a90; margin-top: 6rem; }
.result-divider { height: 1rem; background: #ebedf0; margin: 24rem 0; }
.result-goods { display: flex; align-items: center; gap: 18rem; padding: 12rem 0; }
.result-pic { width: 84rem; height: 84rem; border-radius: 12rem; object-fit: cover; background: #f5f5f5; flex-shrink: 0; }
.result-gname { flex: 1; min-width: 0; font-size: 28rem; color: #323233; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-gqty { font-size: 26rem; color: #969799; }
.result-gprice { font-size: 28rem; font-weight: 600; color: #C09A6B; min-width: 90rem; text-align: right; }
.result-total { text-align: right; font-size: 26rem; color: #323233; }
.result-total b { color: #e64340; font-size: 42rem; font-weight: 800; margin-left: 8rem; }
.result-total .yen { font-size: 26rem; margin-right: 2rem; }
.result-pay { margin-top: 28rem; padding-top: 24rem; border-top: 1rem dashed #ebedf0; display: flex; flex-direction: column; align-items: center; }
.result-pay-tip { font-size: 28rem; color: #323233; font-weight: 600; margin-bottom: 16rem; }
.result-pay-qr { width: 320rem; height: 320rem; object-fit: contain; border-radius: 12rem; margin: 0 auto; }
.result-actions { padding: 36rem 24rem 0; }
.result-actions .vbtn { margin-bottom: 20rem; }
.vbtn.ghost { background: #fff; color: #2d5a3d; border: 2rem solid #cfe0d5; }

/* 點餐頁"本桌已點"入口 */
.placed-bar { display: flex; align-items: center; gap: 12rem; margin: 16rem 24rem 0; padding: 20rem 24rem; background: linear-gradient(135deg, #2d5a3d 0%, #3d7a52 100%); border-radius: 16rem; color: #fff; box-shadow: 0 6rem 18rem rgba(45,90,61,.25); }
.placed-bar .van-icon { font-size: 34rem; }
.placed-txt { flex: 1; font-size: 26rem; font-weight: 600; }
.placed-more { display: flex; align-items: center; gap: 4rem; font-size: 24rem; color: rgba(255,255,255,.9); }

/* 本桌已點頁 */
.placed-head { display: flex; align-items: center; justify-content: space-between; padding: 24rem 32rem; color: #323233; }
.placed-head > span:first-child { font-size: 32rem; font-weight: 700; }
.placed-head-sum { font-size: 24rem; color: #8a9a90; }
.placed-head-sum b { color: #e64340; font-size: 30rem; }

/* ===== 我的 ===== */
.my-page { min-height: 100vh; background: #f7f8fa; padding: 24rem 24rem calc(100rem + env(safe-area-inset-bottom) + 32rem); }
.my-login-card { display: flex; flex-direction: column; align-items: center; padding: 64rem 32rem; background: #fff; border-radius: 16rem; margin-bottom: 24rem; }
.my-login-icon { width: 128rem; height: 128rem; border-radius: 50%; background: #f2f3f5; margin-bottom: 24rem; object-fit: cover; }
.my-login-text { font-size: 28rem; color: #969799; margin-bottom: 32rem; text-align: center; }
.my-profile { display: flex; align-items: center; padding: 32rem 28rem; background: #fff; border-radius: 16rem; margin-bottom: 24rem; }
.my-avatar { width: 112rem; height: 112rem; border-radius: 50%; background: #f2f3f5; margin-right: 24rem; flex-shrink: 0; object-fit: cover; }
.my-user-info { flex: 1; min-width: 0; }
.my-nick { font-size: 34rem; font-weight: 600; color: #323233; margin-bottom: 8rem; }
.my-uid { font-size: 24rem; color: #969799; }
.my-stats { display: flex; gap: 16rem; margin-bottom: 24rem; }
.my-stat { flex: 1; background: #fff; border-radius: 16rem; padding: 28rem 16rem; display: flex; flex-direction: column; align-items: center; }
.my-stat.highlight { background: #323233; }
.my-stat.highlight .my-stat-val, .my-stat.highlight .my-stat-label { color: #fff; }
.my-stat-val { font-size: 40rem; font-weight: 600; color: #323233; line-height: 1.2; }
.my-stat-label { font-size: 24rem; color: #969799; margin-top: 8rem; }
.my-logout-btn { width: 100%; height: 88rem; line-height: 88rem; background: #fff; color: #ee0a24; font-size: 30rem; border-radius: 16rem; margin-top: 8rem; }
.my-version { text-align: center; padding: 16rem 0 8rem; font-size: 24rem; color: #c8c9cc; }

/* ===== 登錄 / 註冊 ===== */
.login-page { min-height: 100vh; background: #f7f8fa; padding: 0 48rem; }
.login-logo { width: 140rem; height: 140rem; border-radius: 32rem; margin: 90rem auto 0; background: linear-gradient(135deg, #2d5a3d 0%, #3d7a52 100%); display: flex; align-items: center; justify-content: center; font-size: 80rem; color: #fff; box-shadow: 0 12rem 36rem rgba(45,90,61,.25); }
.login-name { text-align: center; font-size: 38rem; font-weight: 700; color: #2d5a3d; margin: 20rem 0 40rem; }
.login-box { background: #fff; border-radius: 20rem; padding: 16rem 32rem 36rem; box-shadow: 0 8rem 24rem rgba(0,0,0,.05); }
.login-field { display: flex; align-items: center; gap: 16rem; padding: 26rem 4rem; border-bottom: 1rem solid #ebedf0; }
.login-field .lf-ico { font-size: 36rem; width: 44rem; text-align: center; }
.login-field input { flex: 1; font-size: 30rem; }
.login-box .vbtn { margin-top: 40rem; }
.login-foot { text-align: center; margin-top: 28rem; color: #969799; font-size: 26rem; }
.login-foot a { color: #2d5a3d; font-weight: 600; }

.submit-wrap { padding: 40rem 32rem; }
.submit-wrap .tip { text-align: center; color: #969799; font-size: 24rem; margin-top: 20rem; line-height: 1.6; }

/* ===== 訂單 ===== */
.order-group { margin: 24rem; border-radius: 16rem; overflow: hidden; background: #fff; }
.goods-scroll { display: flex; gap: 16rem; padding: 20rem 32rem; overflow-x: auto; }
.goods-scroll img { width: 120rem; height: 120rem; border-radius: 8rem; flex-shrink: 0; object-fit: cover; background: #f5f5f5; }
.order-status { color: #C09A6B; }
.order-status.st1 { color: #07c160; }
.order-status.st0 { color: #ff976a; }
.order-status.st-1 { color: #c8c9cc; }
.action-row { display: flex; justify-content: flex-end; gap: 16rem; padding: 20rem 32rem; flex-wrap: wrap; }

/* 售罄 */
.goods-thumb-wrap { position: relative; flex-shrink: 0; }
.goods-card.soldout .goods-thumb { filter: grayscale(1); opacity: .55; }
.goods-card.soldout .goods-title { color: #969799; }
.soldout-tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: rgba(0,0,0,.6); color: #fff; font-size: 22rem; padding: 4rem 14rem; border-radius: 24rem; white-space: nowrap; }
.qty-soldout { font-size: 24rem; color: #c8c9cc; border: 1rem solid #ebedf0; border-radius: 24rem; padding: 4rem 18rem; }

/* 緊湊訂單卡片 */
.ord-card { margin: 20rem 24rem; background: #fff; border-radius: 16rem; padding: 20rem 24rem; box-shadow: 0 2rem 12rem rgba(0,0,0,.04); }
.ord-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14rem; border-bottom: 1rem solid #f2f3f5; }
.ord-shop { font-size: 28rem; font-weight: 600; color: #323233; display: flex; align-items: center; gap: 12rem; }
.ord-table { font-size: 22rem; font-weight: 600; font-style: normal; color: #C09A6B; background: #faf6ef; padding: 2rem 12rem; border-radius: 6rem; }
.order-status { font-size: 24rem; font-weight: 600; }
.ord-goods { display: flex; align-items: center; gap: 16rem; padding: 14rem 0 0; }
.ord-pic { width: 72rem; height: 72rem; border-radius: 10rem; object-fit: cover; background: #f5f5f5; flex-shrink: 0; }
.ord-gname { flex: 1; min-width: 0; font-size: 26rem; color: #323233; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ord-gqty { font-size: 24rem; color: #969799; }
.ord-gprice { font-size: 26rem; color: #C09A6B; font-weight: 600; min-width: 96rem; text-align: right; }
.ord-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14rem; padding-top: 14rem; border-top: 1rem solid #f2f3f5; }
.ord-time { font-size: 22rem; color: #969799; }
.ord-total { font-size: 24rem; color: #646566; }
.ord-total b { color: #e64340; font-size: 30rem; font-weight: 700; margin-left: 4rem; }
.ord-actions { display: flex; justify-content: flex-end; gap: 16rem; margin-top: 16rem; }
.camp-info { display: flex; flex-wrap: wrap; gap: 8rem 24rem; padding: 14rem 0 0; }
.camp-info span { font-size: 25rem; color: #646566; }

/* radio (人數) */
.vradio-group { display: flex; flex-wrap: wrap; gap: 24rem; flex: 1; justify-content: flex-end; }
.vradio { display: flex; align-items: center; gap: 8rem; font-size: 26rem; color: #323233; }
.vradio-dot { width: 36rem; height: 36rem; border-radius: 50%; border: 2rem solid #c8c9cc; display: flex; align-items: center; justify-content: center; }
.vradio.on .vradio-dot { border-color: #07c160; background: #07c160; color: #fff; font-size: 22rem; }

/* toast */
.g-toast { position: fixed; left: 50%; top: 45%; transform: translateX(-50%); z-index: 9999; background: rgba(0,0,0,.8); color: #fff; padding: 20rem 32rem; border-radius: 14rem; font-size: 28rem; max-width: 70%; text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.g-toast.show { opacity: 1; }
