:root {
  --brand: #0f6b57;
  --brand-2: #18a179;
  --brand-soft: #e8f5f0;
  --gold: #c9a25e;
  --bg: #f6f5f1;
  --text: #1f2d2a;
  --muted: #8b9994;
  --line: #edf0ee;
  --van-primary-color: #0f6b57;
  --van-success-color: #18a179;
  --van-danger-color: #e05b5b;
  --van-text-color: #1f2d2a;
  --van-background: #f6f5f1;
  --van-border-color: #edf0ee;
  --van-nav-bar-title-font-size: 17px;
  --van-nav-bar-icon-color: #1f2d2a;
  --van-nav-bar-title-text-color: #1f2d2a;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: #e9ece8; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
#app { min-height: 100vh; }
[v-cloak] { display: none; }
.app-shell { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; box-shadow: 0 0 40px rgba(20,50,40,.12); }
.page { min-height: 100vh; background: var(--bg); }
.muted { color: var(--muted); font-size: 12px; }
.page-loading { display: block; margin: 120px auto 0; }
.page-loading-box { padding: 80px 0; text-align: center; color: var(--muted); font-size: 13px; }

/* 固定元素在桌面端居中 */
@media (min-width: 520px) {
  .van-nav-bar--fixed, .van-tabbar--fixed { max-width: 480px; left: 50% !important; transform: translateX(-50%); }
  .van-popup--bottom { max-width: 480px; left: 50%; transform: translateX(-50%); }
}
.van-nav-bar { background: #fff; }
.van-nav-bar::after { border-color: var(--line); }
.van-tabbar { border-top: 1px solid #eef1ef; }
.nav-text { font-size: 13px; color: var(--brand); }

/* ---------------- 首页 ---------------- */
.home-page { padding-bottom: 16px; }
.home-hero {
  background: linear-gradient(150deg, #0b3d33 0%, #0f6b57 55%, #16876b 100%);
  padding: 20px 18px 58px;
  border-radius: 0 0 28px 28px;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,94,.34), transparent 66%);
  right: -70px; top: -80px;
}
.home-hero::after {
  content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,201,154,.25), transparent 68%);
  left: -60px; bottom: -90px;
}
.hero-row { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.hero-brand { display: flex; align-items: center; gap: 10px; }
.hero-logo {
  width: 42px; height: 42px; border-radius: 13px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 700; backdrop-filter: blur(6px);
}
.hero-name { color: #fff; font-size: 18px; font-weight: 650; letter-spacing: .5px; }
.hero-sub { color: rgba(255,255,255,.55); font-size: 8px; letter-spacing: 2px; margin-top: 2px; }
.hero-phone {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14); color: #fff; text-decoration: none; font-size: 16px;
}
.hero-search {
  margin-top: 20px; height: 42px; border-radius: 21px;
  background: rgba(255,255,255,.95); display: flex; align-items: center; gap: 9px;
  padding: 0 17px; color: #9aa8a3; font-size: 13.5px; position: relative; z-index: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,.10);
}
.hero-search .sicon { font-size: 19px; color: var(--brand); line-height: 1; }
.hero-tags { display: flex; gap: 8px; margin-top: 12px; position: relative; z-index: 1; }
.hero-tags span {
  font-size: 10.5px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14); padding: 3px 9px; border-radius: 10px;
}
.home-body { margin-top: -38px; padding: 0 14px; position: relative; z-index: 2; }
.banner-wrap { border-radius: 17px; overflow: hidden; box-shadow: 0 12px 28px rgba(15,60,50,.16); }
.banner-swipe { height: 152px; }
.banner-swipe .van-swipe-item { position: relative; }
.banner-img { width: 100%; height: 152px; object-fit: cover; display: block; }
.banner-mask { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6,32,26,.62)); }
.banner-title { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .5px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }

.cat-panel {
  background: #fff; border-radius: 16px; padding: 17px 6px 13px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 12px 4px;
  margin-top: 13px; box-shadow: 0 4px 16px rgba(20,60,50,.05);
}
.cat-item { text-align: center; }
.cat-circle {
  width: 46px; height: 46px; margin: 0 auto 7px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.cat-circle.c0 { background: #e6f4ee; }
.cat-circle.c1 { background: #eaf0fb; }
.cat-circle.c2 { background: #fbefe4; }
.cat-circle.c3 { background: #f3ecf9; }
.cat-name { font-size: 12px; color: #43524d; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 20px 2px 11px; }
.section-head h3 { margin: 0; font-size: 17px; letter-spacing: .4px; }
.section-head p { margin: 4px 0 0; font-size: 10.5px; color: var(--muted); letter-spacing: .6px; }
.section-head .more { font-size: 12px; color: var(--muted); }

.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prod-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(20,60,50,.055); }
.pc-img { aspect-ratio: 1 / 1; overflow: hidden; background: #f2f5f3; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-body { padding: 9px 10px 11px; }
.pc-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-sub { font-size: 10.5px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; }
.pc-price { color: var(--brand); font-weight: 700; font-size: 16px; }
.pc-price i { font-style: normal; font-size: 10px; margin-right: 1px; }
.pc-sales { font-size: 9.5px; color: #aab5b1; }
.home-service {
  display: flex; justify-content: space-around; margin: 20px 0 4px; padding: 15px 6px;
  background: #fff; border-radius: 14px; box-shadow: 0 4px 14px rgba(20,60,50,.045);
}
.home-service div { text-align: center; }
.home-service b { display: block; font-size: 11.5px; color: var(--brand); font-weight: 600; }
.home-service span { font-size: 9.5px; color: var(--muted); }
.home-foot { text-align: center; color: #b3bdb9; font-size: 10px; letter-spacing: 2px; padding: 18px 0 8px; }

/* ---------------- 商品列表 ---------------- */
.list-top { background: #fff; padding-bottom: 2px; }
.van-search { padding: 8px 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 14px 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 6px 15px; border-radius: 15px; background: #f4f6f5;
  color: #5d6b66; font-size: 12.5px; transition: .15s;
}
.chip.on { background: var(--brand); color: #fff; box-shadow: 0 4px 10px rgba(15,107,87,.24); }
.sortbar { display: flex; border-top: 1px solid #f3f5f4; }
.sortbar > div {
  flex: 1; text-align: center; padding: 11px 0; font-size: 12.5px; color: #6a7873;
  position: relative;
}
.sortbar > div.on { color: var(--brand); font-weight: 650; }
.sortbar > div.on::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 16px; height: 2px;
  border-radius: 2px; background: var(--brand); transform: translateX(-50%);
}
.sortbar .arrow { font-size: 10px; }
.plist { padding: 10px 12px; }
.prow {
  display: flex; gap: 12px; background: #fff; border-radius: 14px; padding: 11px;
  margin-bottom: 9px; box-shadow: 0 3px 12px rgba(20,60,50,.045);
}
.prow-img { width: 104px; height: 104px; border-radius: 11px; object-fit: cover; flex: none; background: #f2f5f3; }
.prow-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.prow-name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.prow-sub { font-size: 11px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow-tags { display: flex; gap: 5px; margin-top: 6px; }
.prow-tags span { font-size: 9px; color: var(--brand); border: 1px solid #cfe8df; background: #f2fbf7; border-radius: 4px; padding: 1px 5px; }
.prow-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; }
.prow-price { color: var(--brand); font-size: 17px; font-weight: 700; }
.prow-price i { font-style: normal; font-size: 10px; }
.prow-price em { font-style: normal; font-size: 10px; color: #b6c0bc; text-decoration: line-through; margin-left: 4px; font-weight: 400; }
.prow-sales { font-size: 9.5px; color: #adb8b4; }
.load-more { padding: 8px 30px 24px; }
.no-more { display: block; text-align: center; color: #bdc6c2; font-size: 10.5px; padding: 14px 0; letter-spacing: 1px; }

/* ---------------- 商品详情 ---------------- */
.detail-page { padding-bottom: 78px; }
.detail-swipe { background: #eef2f0; }
.detail-swipe .van-swipe-item { height: 375px; }
.detail-swipe img { width: 100%; height: 375px; object-fit: cover; display: block; }
.detail-card {
  background: #fff; border-radius: 18px; margin: -20px 12px 0; position: relative; z-index: 2;
  padding: 16px 15px 14px; box-shadow: 0 8px 24px rgba(20,60,50,.08);
}
.detail-price { color: var(--brand); font-size: 28px; font-weight: 750; letter-spacing: -.5px; }
.detail-price i { font-style: normal; font-size: 14px; margin-right: 1px; }
.detail-price em { font-style: normal; font-size: 12px; color: #b4bfbb; text-decoration: line-through; margin-left: 7px; font-weight: 400; }
.detail-sales { float: right; font-size: 10.5px; color: #a8b3af; font-weight: 400; margin-top: 12px; }
.detail-name { font-size: 17px; font-weight: 650; line-height: 1.45; margin-top: 6px; }
.detail-sub { font-size: 12px; color: var(--muted); margin-top: 5px; }
.detail-meta { display: flex; gap: 7px; margin-top: 12px; }
.detail-meta span { font-size: 10px; color: #6f7e78; background: #f4f7f5; border-radius: 5px; padding: 3px 8px; }
.detail-panel { background: #fff; border-radius: 16px; margin: 12px; padding: 16px 15px; }
.panel-title { font-size: 14.5px; font-weight: 650; padding-bottom: 10px; border-bottom: 1px solid #f2f5f3; margin-bottom: 10px; }
.detail-html { font-size: 13.5px; color: #4a5954; line-height: 1.85; }
.detail-html p { margin: 0 0 9px; }
.detail-html img { max-width: 100%; border-radius: 8px; }
.detail-bottom {
  position: fixed; bottom: 0; left: 0; right: 0; height: 64px; background: #fff;
  border-top: 1px solid #eef1ef; display: flex; align-items: center; padding: 0 12px;
  padding-bottom: env(safe-area-inset-bottom); z-index: 20; max-width: 480px; margin: 0 auto;
}
@media (min-width: 520px) { .detail-bottom { left: 50%; transform: translateX(-50%); } }
.db-icon { width: 52px; text-align: center; color: #6f7d78; font-size: 20px; position: relative; }
.db-icon span { display: block; font-size: 9px; margin-top: 1px; color: #93a09b; }
.db-btns { flex: 1; display: flex; gap: 9px; }
.db-btns .van-button { flex: 1; height: 42px; font-size: 14px; border: 0; }
.btn-cart { background: #e9f6f1; color: var(--brand); }
.btn-buy { background: linear-gradient(135deg, #18a179, #0f6b57); color: #fff; }
.sku-box { padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); }
.sku-head { display: flex; gap: 13px; align-items: center; padding-right: 26px; }
.sku-head img { width: 76px; height: 76px; border-radius: 11px; object-fit: cover; }
.sku-price { color: var(--brand); font-size: 23px; font-weight: 700; }
.sku-price i { font-style: normal; font-size: 12px; }
.sku-row { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 14px; }
.sku-confirm { height: 45px; }

/* ---------------- 购物车 ---------------- */
.cart-page { padding-bottom: 120px; }
.cart-tip { padding: 11px 16px 3px; color: var(--muted); font-size: 11.5px; }
.cart-list { padding: 6px 12px; }
.cart-item {
  display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px;
  padding: 12px 11px; margin-bottom: 9px; box-shadow: 0 3px 12px rgba(20,60,50,.045); position: relative;
}
.cart-img { width: 78px; height: 78px; border-radius: 10px; object-fit: cover; flex: none; }
.cart-info { flex: 1; min-width: 0; }
.cart-name { font-size: 13px; font-weight: 600; line-height: 1.4; padding-right: 22px; }
.cart-stock { font-size: 10px; color: #e05b5b; margin-top: 2px; }
.cart-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cart-price { color: var(--brand); font-size: 15px; font-weight: 700; }
.cart-price i { font-style: normal; font-size: 10px; }
.cart-del { position: absolute; right: 10px; top: 10px; color: #b8c2be; font-size: 17px; }
.cart-bar {
  position: fixed; bottom: 50px; left: 0; right: 0; max-width: 480px; margin: 0 auto;
  background: #fff; border-top: 1px solid #eef1ef; height: 56px; display: flex; align-items: center;
  padding: 0 12px; gap: 10px; z-index: 20;
}
@media (min-width: 520px) { .cart-bar { left: 50%; transform: translateX(-50%); } }
.cart-total { margin-left: auto; text-align: right; font-size: 11px; color: var(--muted); }
.cart-total b { display: block; color: var(--brand); font-size: 18px; }
.cart-checkout { height: 40px; border: 0; padding: 0 20px; background: linear-gradient(135deg, #18a179, #0f6b57); }
.login-empty { padding-top: 40px; }
.empty-btn { width: 160px; height: 40px; margin-top: 12px; border: 0; background: linear-gradient(135deg, #18a179, #0f6b57); }

/* ---------------- 结算 ---------------- */
.checkout-page { padding-bottom: 78px; }
.checkout-body { padding: 10px 0; }
.co-card { background: #fff; border-radius: 15px; margin: 0 12px 10px; padding: 14px 15px; box-shadow: 0 3px 12px rgba(20,60,50,.04); }
.co-title { font-size: 14px; font-weight: 650; margin-bottom: 10px; }
.addr-list { display: flex; flex-direction: column; gap: 8px; }
.addr-item { border: 1px solid #edf1ef; border-radius: 12px; padding: 11px 12px; transition: .15s; }
.addr-item.on { border-color: var(--brand); background: #f5fcf9; box-shadow: inset 0 0 0 1px var(--brand); }
.addr-main { display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.addr-main b { font-size: 14.5px; }
.addr-main em { font-style: normal; font-size: 9px; color: var(--brand); border: 1px solid #b9e0d2; background: #eaf8f2; padding: 1px 5px; border-radius: 4px; }
.addr-detail { font-size: 11.5px; color: var(--muted); margin-top: 5px; line-height: 1.55; }
.addr-empty { text-align: center; color: var(--brand); border: 1px dashed #b9dcd0; border-radius: 12px; padding: 18px; font-size: 13px; }
.addr-add { text-align: center; color: var(--brand); font-size: 12px; padding-top: 10px; }
.co-item { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #f0f3f1; }
.co-item:last-child { border-bottom: 0; }
.co-item img { width: 56px; height: 56px; border-radius: 9px; object-fit: cover; }
.co-item-info { flex: 1; min-width: 0; }
.co-item-info div { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-item-info span { font-size: 10.5px; color: var(--muted); }
.co-item b { font-size: 12.5px; }
.co-cell { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f2f5f3; font-size: 13.5px; }
.co-cell:last-child { border-bottom: 0; }
.co-value { color: var(--muted); font-size: 12.5px; }
.co-value.hl { color: var(--brand); font-weight: 600; }
.co-note { font-style: normal; color: #adb8b4; font-size: 10.5px; margin-left: 5px; }
.co-input { border: 0; outline: none; text-align: right; font-size: 12.5px; flex: 1; margin-left: 18px; color: #43524d; background: transparent; }
.amount-card > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 12.5px; color: #5c6b66; }
.amount-card .minus { color: var(--brand); }
.amount-card .amount-pay { border-top: 1px solid #f1f4f2; margin-top: 5px; padding-top: 11px; font-size: 14px; color: var(--text); }
.amount-card .amount-pay b { color: var(--brand); font-size: 19px; }
.checkout-gap { height: 4px; }
.checkout-bar {
  position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto;
  background: #fff; border-top: 1px solid #eef1ef; height: 66px; display: flex; align-items: center;
  padding: 0 14px; padding-bottom: env(safe-area-inset-bottom); z-index: 20;
}
@media (min-width: 520px) { .checkout-bar { left: 50%; transform: translateX(-50%); } }
.cb-left { flex: 1; font-size: 11px; color: var(--muted); }
.cb-left b { display: block; color: var(--brand); font-size: 21px; line-height: 1.2; }
.cb-btn { width: 142px; height: 43px; border: 0; background: linear-gradient(135deg, #18a179, #0f6b57); }
.popup-head { text-align: center; font-size: 15px; font-weight: 650; padding: 17px 0 8px; }
.coupon-pick { padding: 6px 16px calc(20px + env(safe-area-inset-bottom)); max-height: 55vh; overflow-y: auto; }
.coupon-option { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; border-bottom: 1px solid #f1f4f2; font-size: 13.5px; }
.coupon-opt-name { font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }

/* ---------------- 订单 ---------------- */
.orders-page { padding-bottom: 20px; }
.order-list { padding: 10px 12px; }
.order-card { background: #fff; border-radius: 15px; padding: 14px; margin-bottom: 10px; box-shadow: 0 3px 12px rgba(20,60,50,.045); }
.order-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #f3f5f4; }
.order-no { font-size: 11px; color: #8b9994; letter-spacing: .2px; }
.order-status { font-size: 12px; font-weight: 600; }
.order-status.st0 { color: #e09a2f; }
.order-status.st1 { color: #2f7fd8; }
.order-status.st2 { color: var(--brand); }
.order-status.st3 { color: #7c8a85; }
.order-status.st4 { color: #b9c2be; }
.order-items { padding: 9px 0 4px; }
.oi { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.oi img { width: 58px; height: 58px; border-radius: 9px; object-fit: cover; }
.oi-info { flex: 1; min-width: 0; }
.oi-info div { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oi-info span { font-size: 11px; color: var(--muted); }
.order-foot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 9px; border-top: 1px solid #f3f5f4; font-size: 11px; color: var(--muted); }
.order-total b { color: #2b3a35; font-size: 15px; }
.order-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 11px; }
.order-actions .van-button { height: 30px; font-size: 12px; padding: 0 14px; }

.order-detail-page { padding-bottom: 84px; }
.od-status {
  background: linear-gradient(135deg, #0f6b57, #18a179); color: #fff;
  padding: 22px 20px 26px; margin-bottom: 10px;
}
.od-status-name { font-size: 21px; font-weight: 650; }
.od-status-tip { font-size: 11.5px; opacity: .8; margin-top: 5px; }
.od-addr { font-size: 14px; }
.od-addr-detail { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.55; }
.od-line { display: flex; justify-content: space-between; font-size: 12px; padding: 6px 0; color: var(--muted); }
.od-line b { color: #46544f; font-weight: 500; text-align: right; max-width: 65%; }
.od-actions {
  position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto;
  background: #fff; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #eef1ef;
  display: flex; gap: 10px; z-index: 20;
}
@media (min-width: 520px) { .od-actions { left: 50%; transform: translateX(-50%); } }
.od-actions .van-button { height: 42px; }

/* ---------------- 我的 ---------------- */
.profile-page { padding-bottom: 24px; }
.profile-head {
  background: linear-gradient(150deg, #0b3d33, #0f6b57 60%, #178a6d);
  padding: 30px 22px 54px; border-radius: 0 0 26px 26px; position: relative; overflow: hidden;
}
.profile-head::after {
  content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,94,.30), transparent 66%); right: -50px; top: -60px;
}
.pf-user { display: flex; align-items: center; gap: 13px; position: relative; z-index: 1; }
.pf-avatar {
  width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 650; backdrop-filter: blur(5px); flex: none;
}
.pf-avatar.guest { background: rgba(255,255,255,.14); }
.pf-info { flex: 1; min-width: 0; }
.pf-name { color: #fff; font-size: 19px; font-weight: 650; }
.pf-phone { color: rgba(255,255,255,.6); font-size: 11px; margin-top: 4px; }
.pf-points { text-align: center; color: #fff; }
.pf-points b { display: block; font-size: 21px; font-weight: 700; }
.pf-points span { font-size: 10px; opacity: .7; }
.pf-login { color: rgba(255,255,255,.85); font-size: 12px; }
.pf-body { margin-top: -36px; padding: 0 12px; position: relative; z-index: 2; }
.pf-card { background: #fff; border-radius: 16px; margin-bottom: 11px; overflow: hidden; box-shadow: 0 4px 16px rgba(20,60,50,.055); }
.order-quick { padding: 15px 14px 13px; }
.pf-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.pf-card-head b { font-size: 14.5px; }
.pf-card-head span { font-size: 11px; color: var(--muted); }
.quick-row { display: grid; grid-template-columns: repeat(4,1fr); }
.quick-row div { text-align: center; }
.quick-row .qi { display: block; font-size: 20px; margin-bottom: 3px; }
.quick-row b { display: block; font-size: 11px; color: var(--brand); }
.quick-row em { font-style: normal; display: block; font-size: 10.5px; color: #77857f; margin-top: 1px; }
.pf-card .van-cell { padding: 15px 16px; font-size: 13.5px; }
.pf-card .van-cell__title { flex: 1; }
.pf-card .van-icon { color: var(--brand); margin-right: 4px; }
.logout-btn { margin-top: 18px; height: 44px; color: #7c8a85; border-color: #e3e8e6; background: #fff; }
.profile-foot { text-align: center; color: #b5bfbb; font-size: 10px; letter-spacing: 1.5px; padding: 20px 0 4px; }

/* ---------------- 优惠券 ---------------- */
.coupon-list { padding: 12px; }
.coupon-card {
  display: flex; background: #fff; border-radius: 14px; overflow: hidden; margin-bottom: 11px;
  box-shadow: 0 4px 14px rgba(20,60,50,.05); position: relative; min-height: 100px;
}
.cc-left {
  width: 118px; flex: none; background: linear-gradient(160deg, #14805f, #0f6b57);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; padding: 10px 6px;
}
.cc-left::after {
  content: ""; position: absolute; right: -6px; top: 0; bottom: 0; width: 12px;
  background: radial-gradient(circle at 6px 6px, transparent 5px, #fff 5.5px) 0 0/12px 14px repeat-y;
}
.cc-amount { display: flex; align-items: baseline; }
.cc-amount i { font-style: normal; font-size: 12px; }
.cc-amount b { font-size: 30px; font-weight: 750; letter-spacing: -.5px; }
.cc-amount span { font-size: 12px; margin-left: 1px; }
.cc-cond { font-size: 9.5px; opacity: .78; margin-top: 2px; }
.cc-right { flex: 1; padding: 14px 14px 12px 18px; display: flex; flex-direction: column; }
.cc-name { font-size: 14px; font-weight: 650; }
.cc-time { font-size: 9.5px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.cc-right .van-button { margin-top: auto; align-self: flex-end; height: 27px; padding: 0 14px; font-size: 11px; border: 0; }
.cc-status { margin-top: auto; font-size: 11px; color: var(--muted); align-self: flex-end; }
.coupon-card.used .cc-left { background: linear-gradient(160deg, #a6b2ad, #929f9a); }

/* ---------------- 地址 ---------------- */
.addr-page { padding-bottom: 90px; }
.addr-manage { padding: 10px 12px; }
.addr-manage .addr-item { background: #fff; margin-bottom: 10px; border: 0; box-shadow: 0 3px 12px rgba(20,60,50,.045); }
.addr-ops { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px dashed #eef2f0; }
.addr-ops .van-button { height: 27px; font-size: 11px; padding: 0 12px; }
.addr-fixed {
  position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto;
  background: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #eef1ef; z-index: 20;
}
@media (min-width: 520px) { .addr-fixed { left: 50%; transform: translateX(-50%); } }
.addr-fixed .van-button { height: 44px; border: 0; background: linear-gradient(135deg, #18a179, #0f6b57); }
.addr-edit-page { padding-bottom: 90px; }
.form-card { margin: 10px 12px; border-radius: 15px; overflow: hidden; background: #fff; box-shadow: 0 3px 14px rgba(20,60,50,.045); }
.form-card .van-cell { padding: 15px 16px; }
.form-card .van-field__label { width: 80px; color: #5d6b66; }

/* ---------------- 登录 ---------------- */
.login-page-h5 { background: linear-gradient(180deg, #eef7f3 0%, #f6f5f1 42%); }
.login-hero { text-align: center; padding: 30px 20px 24px; }
.login-logo {
  width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 15px;
  background: linear-gradient(135deg, #18a179, #0f6b57); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 31px; font-weight: 700;
  box-shadow: 0 10px 24px rgba(15,107,87,.28);
}
.login-hero h2 { font-size: 20px; margin: 0 0 6px; letter-spacing: .4px; }
.login-hero p { font-size: 11.5px; color: var(--muted); margin: 0; letter-spacing: .5px; }
.login-form { margin: 4px 20px; background: #fff; border-radius: 18px; padding: 8px 4px 20px; box-shadow: 0 10px 30px rgba(20,60,50,.07); }
.login-form .van-cell { padding: 16px 16px; }
.login-form .van-field__label { width: 58px; color: #5d6b66; }
.login-submit { width: calc(100% - 32px); margin: 20px 16px 0; height: 45px; border: 0; background: linear-gradient(135deg, #18a179, #0f6b57); }
.login-switch { text-align: center; font-size: 12px; color: var(--brand); padding: 15px 0 2px; }
.login-demo { text-align: center; font-size: 10px; color: #b0bab6; padding-top: 10px; }

/* ---------------- 积分 ---------------- */
.points-page { padding-bottom: 24px; }
.points-hero {
  background: linear-gradient(150deg, #0b3d33, #0f6b57 58%, #178a6d);
  color: #fff; text-align: center; padding: 30px 20px 36px; margin-bottom: 12px;
  border-radius: 0 0 24px 24px;
}
.points-num { font-size: 44px; font-weight: 750; letter-spacing: -1px; line-height: 1.1; }
.points-label { font-size: 11.5px; opacity: .7; margin-top: 3px; }
.points-rule { font-size: 9.5px; opacity: .55; margin-top: 12px; }
.points-list { background: #fff; border-radius: 16px; margin: 0 12px; padding: 15px; box-shadow: 0 3px 14px rgba(20,60,50,.045); }
.points-title { font-size: 14px; font-weight: 650; padding-bottom: 9px; border-bottom: 1px solid #f2f5f3; }
.point-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed #f2f5f3; }
.point-row:last-child { border-bottom: 0; }
.point-remark { font-size: 12.5px; }
.point-row b { font-size: 14px; color: #7a8882; }
.point-row b.plus { color: var(--brand); }

/* Vant 微调 */
.van-tabs__line { width: 22px; height: 3px; border-radius: 2px; }
.van-tab { font-size: 13px; }
.van-empty__description { font-size: 12px; color: #a5b0ac; }
.van-button--primary { border: 0; }
