/* ChinaWander · 高端入境游定制 · 设计系统（象牙白 + 墨色 + 鎏金） */
:root {
  --bg: #F3F0E9;
  --card: #FFFDFB;
  --ink: #191713;
  --blue: #A87B2E;          /* 主色：鎏金（沿用旧变量名以兼容 JS） */
  --blue-deep: #8C6420;
  --blue-8: rgba(168, 123, 46, 0.10);
  --orange: #A87B2E;        /* 价格金 */
  --gold: #A87B2E;
  --gold-2: #C9A25A;
  --gold-8: rgba(168, 123, 46, 0.10);
  --navy: #1E2B33;
  --red: #B23A2E;
  --red-8: #FBEFEA;
  --text: #26221B;
  --text-2: #5B5446;
  --gray: #988F7D;
  --line: #E7E0D0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 28px rgba(58, 45, 20, 0.10);
  --shadow-soft: 0 3px 14px rgba(58, 45, 20, 0.07);
  --serif: "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { background: #E7E2D6; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text); background: var(--bg);
  max-width: 460px; margin: 0 auto; min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
img, svg { display: block; }
ul { list-style: none; }

.app { min-height: 100vh; padding-bottom: calc(72px + var(--safe-bottom)); }

/* ---------- 通用 ---------- */
.page { padding: 0 12px; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.muted { color: var(--gray); }
.ellipsis-1 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ellipsis-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ellipsis-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.btn { min-height: 44px; border-radius: 22px; font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.btn:active { opacity: .88; transform: scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--blue-deep));
  color: #fff; box-shadow: 0 6px 16px rgba(140, 100, 32, .28);
}
.btn-ghost-blue { background: var(--gold-8); color: var(--blue-deep); }
.tag { display: inline-flex; align-items: center; font-size: 11px; padding: 2px 8px; border-radius: 5px; line-height: 16px; letter-spacing: .02em; }
.tag-promo { background: var(--red-8); color: var(--red); }
.tag-service { background: var(--gold-8); color: var(--blue-deep); }
.tag-transport { background: #F0EEE7; color: var(--text-2); }

/* 顶栏 */
.topbar { position: sticky; top: 0; z-index: 30; height: 48px; background: rgba(255, 253, 251, .92); backdrop-filter: blur(12px); display: flex; align-items: center; padding: 0 12px; border-bottom: 0.5px solid var(--line); }
.topbar .back { width: 44px; height: 44px; display: flex; align-items: center; font-size: 20px; }
.topbar .title { flex: 1; text-align: center; font-size: 16px; font-weight: 700; font-family: var(--serif); letter-spacing: .03em; }
.topbar .right { width: 44px; text-align: center; font-size: 18px; }

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 460px; height: calc(58px + var(--safe-bottom));
  padding-bottom: var(--safe-bottom); background: rgba(255, 253, 251, .96); backdrop-filter: blur(12px); border-top: 0.5px solid var(--line);
  display: flex; z-index: 40;
}
.tabbar-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--gray); }
.tabbar-item .tabbar-icon { font-size: 20px; line-height: 1; }
.tabbar-item .tabbar-label { font-size: 11px; }
.tabbar-item.active { color: var(--blue-deep); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 45%; transform: translate(-50%, -50%);
  background: rgba(25, 23, 19, .86); color: #fff; padding: 11px 18px; border-radius: 12px;
  font-size: 13px; z-index: 200; max-width: 80%; text-align: center; box-shadow: var(--shadow);
}

/* ---------- 浮层 / 抽屉 ---------- */
.mask { position: fixed; inset: 0; background: rgba(25, 23, 19, .5); z-index: 60; }
.sheet {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 100%; max-width: 460px; background: var(--card); border-radius: 22px 22px 0 0;
  z-index: 70; padding: 16px 16px calc(20px + var(--safe-bottom)); max-height: 82vh; overflow-y: auto;
}
.sheet-handle { width: 36px; height: 4px; border-radius: 2px; background: #DCD4C2; margin: 0 auto 12px; }
.layer { position: fixed; inset: 0; background: var(--bg); z-index: 80; display: flex; flex-direction: column; }

/* ================= 首页 ================= */
.hero { position: relative; height: 34vh; min-height: 260px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.hero-slide.active { opacity: 1; }
.hero-slide .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 18, 14, .72), rgba(20, 18, 14, .12) 55%, transparent); }
.hero-top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; padding: 12px; }
.circle-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(25, 23, 19, .4); backdrop-filter: blur(6px); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; position: relative; }
.hero-copy { position: absolute; left: 18px; right: 16px; bottom: 20px; z-index: 5; }
.hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 10px; }
.hero-copy .eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold-2); }
.hero-copy h1 { color: #fff; font-size: 27px; font-weight: 800; font-family: var(--serif); letter-spacing: .02em; margin-bottom: 8px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero-sub { display: inline-flex; align-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 16px; border: 0.5px solid rgba(255,255,255,.22); }
.hero-sub::after { content: ""; margin-left: 8px; border: 6px solid transparent; border-left-color: rgba(255,255,255,.14); }
.hero-dots { position: absolute; bottom: 12px; right: 16px; display: flex; gap: 5px; z-index: 5; }
.hero-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); }
.hero-dots i.on { background: var(--gold-2); }
.ad-tag { position: absolute; top: 12px; right: 12px; background: rgba(25, 23, 19, .45); color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 6px; }
.cs-badge { position: absolute; top: -4px; right: -4px; background: var(--red); color: #fff; font-size: 9px; border-radius: 8px; padding: 1px 4px; }

/* 三段 Tab */
.service-tabs { background: var(--bg); padding: 12px 12px 0; }
.service-tabs-inner { background: #ECE7DA; border-radius: 14px; padding: 6px; display: flex; }
.stab { flex: 1; min-height: 52px; border-radius: 11px; text-align: center; padding: 6px 2px; }
.stab .main { font-size: 15px; font-weight: 700; color: var(--text-2); }
.stab .sub { font-size: 10.5px; color: var(--gray); margin-top: 2px; }
.stab.active { background: var(--card); box-shadow: 0 3px 10px rgba(58, 45, 20, .10); }
.stab.active .main, .stab.active .sub { color: var(--blue-deep); }

/* 搜索表单白卡 */
.search-card { background: var(--card); border-radius: var(--radius); margin: 12px; padding: 16px 14px; box-shadow: var(--shadow-soft); border: 0.5px solid rgba(231, 224, 208, .7); }
.form-row { display: flex; align-items: center; min-height: 44px; padding: 8px 0; }
.form-row .label { font-size: 15px; font-weight: 700; width: 64px; }
.form-row .value { flex: 1; font-size: 15px; font-weight: 700; color: var(--blue-deep); }
.form-row .arrow { color: var(--gray); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; background: #F2EFE7; color: var(--text); font-size: 13px; padding: 7px 13px; border-radius: 16px; }
.chip.active { background: var(--gold-8); color: var(--blue-deep); font-weight: 700; }
.select-ghost { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--text-2); }
.search-btns { display: flex; gap: 10px; margin-top: 12px; }
.search-btns .btn { flex: 1; position: relative; }
.btn-customize { background: var(--gold-8); color: var(--blue-deep); }
.btn-customize .free-tag { position: absolute; top: -8px; left: 10px; background: var(--blue-deep); color: #fff; font-size: 10px; border-radius: 8px; padding: 1px 6px; }

/* 品类宫格 */
.cat-grid { background: var(--card); margin: 0 12px 12px; border-radius: var(--radius); padding: 16px 0; display: flex; box-shadow: var(--shadow-soft); }
.cat-item { flex: 1; text-align: center; }
.cat-item .icon { font-size: 28px; }
.cat-item .name { font-size: 12px; margin-top: 6px; color: var(--text-2); }

/* 促销卡 */
.promo-card { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #FBF3E6, #F6E8D2); border-radius: var(--radius); margin: 0 12px 12px; padding: 16px; border: 0.5px solid #EBD9B8; }
.promo-card .left { flex: 1; }
.promo-card .left h3 { color: var(--blue-deep); font-size: 16px; font-weight: 800; line-height: 1.3; font-family: var(--serif); }
.promo-card .mid { flex: 1; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.promo-card .coupon-btn { background: var(--blue-deep); color: #fff; font-size: 13px; border-radius: 16px; padding: 8px 14px; }

/* 门店条 */
.store-bar { display: flex; justify-content: space-between; align-items: center; background: var(--card); margin: 0 12px 12px; border-radius: var(--radius); padding: 14px 12px; box-shadow: var(--shadow-soft); }
.store-bar .l { font-size: 14px; }
.store-bar .r { font-size: 12px; color: var(--gray); }

/* 区块标题 */
.section-head { display: flex; justify-content: space-between; align-items: center; margin: 18px 12px 10px; }
.section-head h2 { font-size: 18px; font-weight: 700; font-family: var(--serif); letter-spacing: .02em; }
.more-btn { font-size: 12px; color: var(--gray); border: 1px solid var(--line); border-radius: 12px; padding: 4px 10px; }

/* 目的地横滑卡 */
.dest-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 0 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dest-scroll::-webkit-scrollbar { display: none; }
.dest-card { flex: none; width: 148px; height: 188px; border-radius: 14px; position: relative; overflow: hidden; scroll-snap-align: start; box-shadow: var(--shadow-soft); }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dest-card:active img { transform: scale(1.05); }
.dest-card .mask-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 18, 14, .62), transparent 58%); }
.dest-card .dname { position: absolute; left: 12px; bottom: 26px; color: #fff; font-size: 20px; font-weight: 800; font-family: var(--serif); letter-spacing: .02em; }
.dest-card .dtag { position: absolute; left: 12px; bottom: 9px; background: rgba(255, 251, 245, .9); color: var(--text); font-size: 10.5px; padding: 1px 7px; border-radius: 5px; }

/* 定制师区 */
.planner-zone { margin: 16px 12px; border-radius: var(--radius); background: linear-gradient(135deg, #26323B, #3A4A52); padding: 18px 14px; color: #fff; box-shadow: var(--shadow); }
.planner-zone .head { display: flex; justify-content: space-between; align-items: center; }
.planner-zone .head h2 { color: #fff; font-size: 17px; font-weight: 700; font-family: var(--serif); }
.planner-zone .head .go { background: var(--gold-2); color: var(--ink); font-size: 12px; border-radius: 14px; padding: 6px 12px; font-weight: 700; }
.planner-points { display: flex; gap: 16px; margin: 10px 0; }
.planner-points span { font-size: 11px; color: rgba(255,255,255,.7); }
.planner-scroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.planner-scroll::-webkit-scrollbar { display: none; }
.planner-card { flex: none; width: 104px; border-radius: 12px; overflow: hidden; background: var(--card); }
.planner-card .avatar { height: 96px; position: relative; display: flex; align-items: center; justify-content: center; font-size: 40px; background: #F2EFE7; }
.planner-card .region-tag { position: absolute; top: 6px; right: 6px; background: rgba(255,255,255,.9); color: var(--text-2); font-size: 10px; padding: 2px 6px; border-radius: 4px; writing-mode: vertical-lr; }
.planner-card .info { background: var(--card); padding: 8px; }
.planner-card .info .n { font-size: 14px; font-weight: 700; color: var(--text); }
.planner-card .info .s { font-size: 11px; color: var(--gray); margin-top: 2px; }
.planner-dots { display: flex; justify-content: center; gap: 5px; margin-top: 10px; }
.planner-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.planner-dots i.on { background: var(--gold-2); }

/* 热门推荐瀑布流 */
.hot-tabs { display: flex; margin: 16px 12px 10px; }
.hot-tab { flex: 1; text-align: center; font-size: 15px; color: var(--text-2); padding: 8px 0; position: relative; }
.hot-tab.active { color: var(--blue-deep); font-weight: 700; }
.hot-tab.active::after { content: ""; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 18px; height: 3px; border-radius: 2px; background: var(--gold-2); }
.waterfall { columns: 2; column-gap: 10px; padding: 0 12px; }
.wf-card { break-inside: avoid; background: var(--card); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; box-shadow: var(--shadow-soft); border: 0.5px solid rgba(231, 224, 208, .6); }
.wf-card .cover { position: relative; width: 100%; }
.wf-card .cover img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.wf-card .promo-flag { position: absolute; top: 8px; left: 0; background: var(--red); color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 0 8px 8px 0; }
.wf-card .body { padding: 12px; }
.wf-card .title { font-size: 14px; font-weight: 700; line-height: 1.35; }
.wf-card .tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0; }
.wf-card .foot { display: flex; align-items: baseline; justify-content: space-between; }
.wf-card .price { color: var(--blue-deep); font-weight: 800; font-size: 18px; font-family: var(--serif); }
.wf-card .price .start { font-size: 11px; color: var(--gray); font-weight: 400; }
.wf-card .sold { font-size: 11px; color: var(--gray); }

/* 骨架屏 */
.skel { background: var(--card); border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; }
.skel .cover { background: #EEEBE1; aspect-ratio: 3/4; }
.skel .line { height: 12px; border-radius: 6px; background: #EEEBE1; margin: 10px; }
.skel.wf { break-inside: avoid; }
.load-more { text-align: center; color: var(--gray); font-size: 12px; padding: 16px; }

/* ================= 列表页 ================= */
.filter-bar { display: flex; background: var(--card); padding: 0 12px; border-bottom: 0.5px solid var(--line); }
.filter-item { flex: 1; text-align: center; font-size: 13px; color: var(--text-2); min-height: 44px; line-height: 44px; }
.filter-item.active { color: var(--blue-deep); font-weight: 700; }
.type-tabs { display: flex; gap: 12px; overflow-x: auto; background: var(--card); padding: 8px 12px; scrollbar-width: none; }
.type-tabs::-webkit-scrollbar { display: none; }
.type-tab { flex: none; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.type-tab.active { color: var(--blue-deep); font-weight: 700; }
.type-tab .badge { color: var(--gray); font-size: 11px; }
.prod-list { padding: 10px 12px; display: flex; flex-direction: column; gap: 12px; }
.h-card { display: flex; background: var(--card); border-radius: var(--radius); padding: 10px; gap: 12px; box-shadow: var(--shadow-soft); border: 0.5px solid rgba(231, 224, 208, .6); }
.h-card img { width: 116px; height: 116px; border-radius: 12px; object-fit: cover; flex: none; }
.h-card .right { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.h-card .title { font-size: 14px; font-weight: 700; line-height: 1.35; }
.h-card .tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.h-card .meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.h-card .price { color: var(--blue-deep); font-weight: 800; font-size: 16px; font-family: var(--serif); }
.h-card .price .start { font-size: 11px; color: var(--gray); font-weight: 400; }
.h-card .score, .h-card .sub-meta { font-size: 11px; color: var(--gray); }

/* 空态 */
.empty { text-align: center; padding: 60px 24px; color: var(--gray); }
.empty .icon { font-size: 48px; margin-bottom: 12px; }
.empty p { margin-bottom: 4px; }
.empty .btn { margin-top: 16px; padding: 0 24px; }

/* ================= 详情页 ================= */
.gallery { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .count { position: absolute; right: 12px; bottom: 12px; background: rgba(25, 23, 19, .5); color: #fff; font-size: 12px; border-radius: 12px; padding: 3px 10px; backdrop-filter: blur(4px); }
.detail-body { padding: 12px; }
.detail-card { background: var(--card); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow-soft); border: 0.5px solid rgba(231, 224, 208, .6); }
.detail-card h3 { font-size: 16px; font-weight: 700; line-height: 1.4; font-family: var(--serif); }
.detail-stats { display: flex; margin-top: 10px; }
.detail-stats div { flex: 1; text-align: center; }
.detail-stats .num { font-size: 16px; font-weight: 700; font-family: var(--serif); }
.detail-stats .lab { font-size: 11px; color: var(--gray); }
.price-box { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
.price-box .price { color: var(--blue-deep); font-weight: 800; font-size: 22px; font-family: var(--serif); }
.price-box .start { font-size: 11px; color: var(--gray); }
.price-box .q { width: 16px; height: 16px; border-radius: 50%; background: #F0EEE7; color: var(--gray); font-size: 11px; text-align: center; line-height: 16px; }
.cal-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.cal-scroll::-webkit-scrollbar { display: none; }
.cal-day { flex: none; width: 60px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 4px; text-align: center; }
.cal-day .wd { font-size: 11px; color: var(--gray); }
.cal-day .dt { font-size: 12px; margin: 2px 0; }
.cal-day .pr { font-size: 12px; color: var(--blue-deep); }
.cal-day.sel { background: var(--blue-deep); border-color: var(--blue-deep); }
.cal-day.sel .pr, .cal-day.sel .dt, .cal-day.sel .wd { color: #fff; }
.acc-item { border-bottom: 0.5px solid var(--line); }
.acc-item:last-child { border-bottom: none; }
.acc-head { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; }
.acc-body { padding: 8px 0 12px; font-size: 13px; color: var(--text-2); line-height: 1.7; }
.itin-day { padding: 10px 0; border-bottom: 0.5px dashed var(--line); }
.itin-day:last-child { border-bottom: none; }
.itin-day .t { font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.itin-day .pois { font-size: 12px; color: var(--text-2); }
.itin-day .extras { display: flex; gap: 10px; font-size: 11px; color: var(--gray); margin-top: 6px; }
.review-summary { display: flex; gap: 16px; align-items: center; }
.review-total { font-size: 28px; font-weight: 800; color: var(--blue-deep); font-family: var(--serif); }
.bar-row { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--gray); }
.bar { flex: 1; height: 6px; background: #F0EEE7; border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--gold-2); }
.cloud-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.cloud-tags span { background: #F2EFE7; border-radius: 12px; padding: 4px 10px; font-size: 12px; }
.review { display: flex; gap: 10px; padding: 10px 0; border-top: 0.5px solid var(--line); }
.review .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-8); display: flex; align-items: center; justify-content: center; }
.review .who { font-size: 13px; font-weight: 700; }
.review .when { font-size: 11px; color: var(--gray); }
.review .txt { font-size: 13px; margin-top: 4px; }

/* 底部操作条 */
.action-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 460px; background: rgba(255, 253, 251, .96); backdrop-filter: blur(12px); border-top: 0.5px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 10px 12px calc(10px + var(--safe-bottom)); z-index: 40; }
.action-bar .ab-item { display: flex; flex-direction: column; align-items: center; font-size: 10px; color: var(--gray); min-width: 44px; }
.action-bar .ab-item .icon { font-size: 20px; }
.action-bar .ab-main { flex: 1; height: 46px; border-radius: 23px; background: linear-gradient(135deg, var(--gold-2), var(--blue-deep)); color: #fff; font-weight: 700; box-shadow: 0 6px 16px rgba(140, 100, 32, .28); }
.action-bar .fav.on { color: var(--red); }

/* 表单 */
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.form-field input, .form-field select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font-size: 14px; background: #F7F4EC; }
.step-row { display: flex; align-items: center; justify-content: space-between; }
.step { display: flex; align-items: center; gap: 16px; }
.step button { width: 36px; height: 36px; border-radius: 8px; background: #F2EFE7; font-size: 18px; }

/* 目的地页 */
.dest-search { margin: 12px; background: var(--card); border-radius: 10px; display: flex; align-items: center; padding: 0 12px; min-height: 40px; box-shadow: var(--shadow-soft); }
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 12px; }
.dest-grid .cell { background: var(--card); border-radius: 12px; padding: 16px 8px; text-align: center; box-shadow: var(--shadow-soft); }
.dest-grid .cell .e { font-size: 26px; }
.dest-grid .cell .n { font-size: 13px; margin-top: 6px; }
.seg-tabs { display: flex; margin: 0 12px 10px; background: var(--card); border-radius: 12px; padding: 4px; box-shadow: var(--shadow-soft); }
.seg-tabs .seg { flex: 1; text-align: center; font-size: 13px; padding: 8px 0; border-radius: 8px; color: var(--text-2); }
.seg-tabs .seg.active { background: var(--blue-deep); color: #fff; }

/* 订单卡 */
.order-card { background: var(--card); border-radius: var(--radius); margin: 0 12px 10px; padding: 14px; box-shadow: var(--shadow-soft); }
.order-card .head { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.badge { background: var(--gold-8); color: var(--blue-deep); font-size: 11px; border-radius: 6px; padding: 2px 8px; }
.order-card .body { display: flex; gap: 10px; }
.order-card .body img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; }
.order-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }

/* 列表页顶栏搜索条 */
.list-search { display: flex; align-items: center; background: #F2EFE7; border-radius: 10px; flex: 1; height: 36px; padding: 0 10px; font-size: 13px; color: var(--gray); }

@media (min-width: 480px) {
  body { box-shadow: 0 0 32px rgba(40, 32, 18, .16); }
}

/* ---------- 管理后台 ---------- */
.login-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-card { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 28px 22px; width: 100%; max-width: 340px; text-align: center; }
.login-logo { font-size: 40px; margin-bottom: 10px; }
.login-card h2 { font-size: 18px; font-weight: 800; font-family: var(--serif); }
.admin-tabs { display: flex; gap: 4px; overflow-x: auto; background: var(--card); padding: 8px 12px; border-bottom: 0.5px solid var(--line); scrollbar-width: none; }
.admin-tab { flex: none; font-size: 13px; color: var(--text-2); padding: 8px 12px; border-radius: 8px; }
.admin-tab.active { background: var(--gold-8); color: var(--blue-deep); font-weight: 700; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 0; }
.stat-card { background: var(--card); border-radius: var(--radius); padding: 16px 8px; text-align: center; box-shadow: var(--shadow-soft); }
.stat-card .num { font-size: 22px; font-weight: 800; color: var(--blue-deep); font-family: var(--serif); }
.stat-card .lab { font-size: 12px; color: var(--gray); margin-top: 4px; }
.admin-card { background: var(--card); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow-soft); }
.admin-card select { min-height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; font-size: 13px; }

/* ---------- 语言切换悬浮按钮 ---------- */
.lang-fab { position: fixed; top: calc(10px + var(--safe-top, 0px)); right: 12px; z-index: 35;
  width: 40px; height: 40px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; font-size: 18px; border: 0; }
