/* ============================================================
   贵州村水 · 客户端新版样式
   设计基调：大圆角、轻阴影、强层级、留白充足
   ============================================================ */

/* ---------- 顶部 ---------- */
.hp-nav { background: rgba(247,249,251,.9); }
.hp-brand { display: flex; align-items: center; gap: 9px; flex: 1; }
.hp-logo {
  width: 30px; height: 30px; border-radius: 10px;
  background: var(--brand-grad); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 3px 10px rgba(15,118,110,.28);
}
.hp-logo .ico { width: 17px; height: 17px; stroke-width: 2.2; }
.hp-brand-t { font-size: 17px; font-weight: 700; letter-spacing: -.3px; }

/* ---------- 问候 ---------- */
.hp-greet {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 16px 14px;
}
.hp-avatar {
  width: 42px; height: 42px; flex: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #CCFBF1, #99F6E4);
  color: #0F766E; font-size: 17px; font-weight: 700;
  display: grid; place-items: center;
}
.hp-greet-t { min-width: 0; flex: 1; }
.hp-greet-hi {
  font-size: 16.5px; font-weight: 680; color: var(--ink);
  letter-spacing: -.2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hp-greet-sub {
  font-size: 12.5px; color: var(--ink-3); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- 主卡 ---------- */
.hp-hero-sec { padding: 0 16px; }
.hp-hero {
  position: relative; overflow: hidden;
  border-radius: 22px;
  padding: 18px 20px 16px;
  background: linear-gradient(135deg, #0F766E 0%, #115E59 55%, #134E4A 100%);
  color: #fff;
  box-shadow: 0 10px 28px -8px rgba(15,118,110,.5);
}
.hp-hero-bg {
  position: absolute; right: -40px; top: -60px;
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.16), transparent 68%);
  pointer-events: none;
}
.hp-hero-bg::after {
  content: ''; position: absolute; left: -110px; top: 120px;
  width: 130px; height: 130px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.hp-hero-top {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.hp-hero-lb { font-size: 13px; opacity: .88; font-weight: 500; letter-spacing: .2px; }
.hp-hero-more {
  display: inline-flex; align-items: center; gap: 1px;
  font-size: 12.5px; color: rgba(255,255,255,.85);
  padding: 3px 4px 3px 9px; border-radius: 9px;
  background: rgba(255,255,255,.13);
}
.hp-hero-more .ico { width: 13px; height: 13px; }
.hp-hero-num {
  display: flex; align-items: baseline; gap: 7px;
  margin: 8px 0 14px; position: relative; z-index: 1;
}
.hp-hero-num b {
  font-size: 46px; font-weight: 780; line-height: 1;
  letter-spacing: -2.5px; font-variant-numeric: tabular-nums;
}
.hp-hero-num span { font-size: 14px; opacity: .8; font-weight: 500; }
.hp-hero-bar {
  height: 5px; border-radius: 99px;
  background: rgba(255,255,255,.2); overflow: hidden;
  position: relative; z-index: 1;
}
.hp-hero-bar i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #5EEAD4, #99F6E4);
  transition: width .5s cubic-bezier(.22,1,.36,1);
}
.hp-hero-meta {
  display: flex; justify-content: space-between;
  margin-top: 8px; font-size: 11.5px; opacity: .75;
  position: relative; z-index: 1;
}

/* ---------- 提醒条 ---------- */
.hp-alert-sec { padding: 12px 16px 0; }
.hp-alert {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px; border-radius: 14px;
  background: #FFFBEB; border: 1px solid #FDE68A;
  color: #92400E; font-size: 13.5px;
  text-decoration: none;
}
.hp-alert .ico { width: 17px; height: 17px; flex: none; color: #D97706; }
.hp-alert span { flex: 1; min-width: 0; }
.hp-alert b { font-weight: 800; }
.hp-alert .ico-sm { color: #D97706; opacity: .6; }

/* ---------- 数据格 ---------- */
.hp-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 9px; padding: 14px 16px 0;
}
.hp-stat {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 7px; padding: 13px 12px 12px;
  background: var(--card); border-radius: 16px;
  box-shadow: var(--sh-1);
  text-decoration: none; color: inherit;
  transition: transform .18s;
}
.hp-stat:active { transform: scale(.975); }
.hp-stat-ico {
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-1);
}
.hp-stat-ico.amber { background: #FEF3C7; color: #B45309; }
.hp-stat-ico.blue  { background: #DBEAFE; color: #1D4ED8; }
.hp-stat-ico.green { background: #D1FAE5; color: #047857; }
.hp-stat-ico .ico { width: 16px; height: 16px; }
.hp-stat b {
  font-size: 20px; font-weight: 750; color: var(--ink);
  letter-spacing: -.6px; font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.hp-stat b small {
  font-size: 11.5px; font-weight: 550; color: var(--ink-3);
  margin-left: 1px; letter-spacing: 0;
}
.hp-stat em {
  font-style: normal; font-size: 11.5px; color: var(--ink-3);
  margin-top: -3px;
}

/* ---------- 操作 ---------- */
.hp-actions { padding: 14px 16px 0; display: grid; gap: 9px; }
.hp-act {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 15px; border-radius: 16px;
  background: var(--card); box-shadow: var(--sh-1);
  text-decoration: none; color: inherit;
  transition: transform .18s;
}
.hp-act:active { transform: scale(.98); }
.hp-act-main {
  background: var(--brand-grad);
  box-shadow: 0 8px 20px -6px rgba(15,118,110,.45);
  color: #fff;
}
.hp-act-ico {
  width: 40px; height: 40px; flex: none;
  border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-1);
}
.hp-act-main .hp-act-ico { background: rgba(255,255,255,.2); color: #fff; }
.hp-act-ico .ico { width: 20px; height: 20px; }
.hp-act-t { flex: 1; min-width: 0; }
.hp-act-t b { display: block; font-size: 15.5px; font-weight: 650; letter-spacing: -.2px; }
.hp-act-t em {
  display: block; font-style: normal; font-size: 12.5px;
  color: var(--ink-3); margin-top: 2px;
}
.hp-act-main .hp-act-t em { color: rgba(255,255,255,.78); }
.hp-act > .ico { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.hp-act-main > .ico { color: rgba(255,255,255,.7); }

/* ---------- 区块 ---------- */
.hp-sec { padding: 20px 16px 0; }
.hp-sec-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 9px; padding: 0 2px;
}
.hp-sec-t { font-size: 15px; font-weight: 680; color: var(--ink); letter-spacing: -.2px; }
.hp-sec-more {
  display: inline-flex; align-items: center; gap: 0;
  font-size: 12.5px; color: var(--ink-3); text-decoration: none;
}
.hp-sec-more .ico { width: 14px; height: 14px; }

/* ---------- 列表 ---------- */
.hp-list {
  background: var(--card); border-radius: 16px;
  box-shadow: var(--sh-1); overflow: hidden;
}
.hp-item {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px; position: relative;
  text-decoration: none; color: inherit;
}
.hp-item + .hp-item::before {
  content: ''; position: absolute; left: 55px; right: 15px; top: 0;
  height: 1px; background: var(--line);
}
.hp-item:active { background: #F8FAFC; }
.hp-item-ico {
  width: 32px; height: 32px; flex: none; border-radius: 10px;
  background: #DBEAFE; color: #1D4ED8;
  display: grid; place-items: center;
}
.hp-item-ico .ico { width: 16px; height: 16px; }
.hp-item-main { flex: 1; min-width: 0; }
.hp-item-main b {
  display: block; font-size: 14.5px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hp-item-main em {
  display: block; font-style: normal; font-size: 11.5px;
  color: var(--ink-3); margin-top: 2px;
}
.hp-item-v {
  font-size: 14px; font-weight: 700; color: var(--danger);
  font-variant-numeric: tabular-nums; flex: none;
}

/* ---------- 空状态 ---------- */
.hp-empty {
  background: var(--card); border-radius: 16px;
  box-shadow: var(--sh-1);
  padding: 34px 20px; text-align: center;
}
.hp-empty .ico { width: 40px; height: 40px; color: var(--ink-3); opacity: .4; margin-bottom: 10px; }
.hp-empty p { font-size: 14px; color: var(--ink-2); font-weight: 550; }
.hp-empty span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 4px; }

/* ---------- 底部提示 ---------- */
.hp-tip {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 22px 16px 8px;
  font-size: 11.5px; color: var(--ink-3);
}
.hp-tip .ico { width: 13px; height: 13px; }


/* ============================================================
   我的
   ============================================================ */
.hp-me-card {
  margin: 4px 16px 0;
  background: var(--card); border-radius: 20px;
  box-shadow: var(--sh-2); overflow: hidden;
}
.hp-me-top {
  display: flex; align-items: center; gap: 13px;
  padding: 20px 18px 16px;
}
.hp-me-avatar {
  width: 52px; height: 52px; flex: none; border-radius: 17px;
  background: linear-gradient(135deg, #CCFBF1, #5EEAD4);
  color: #0F766E; font-size: 21px; font-weight: 750;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(15,118,110,.18);
}
.hp-me-info { flex: 1; min-width: 0; }
.hp-me-name {
  font-size: 18px; font-weight: 700; color: var(--ink);
  letter-spacing: -.3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hp-me-mobile {
  display: flex; align-items: center; gap: 4px;
  font-size: 12.5px; color: var(--ink-3); margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.hp-me-mobile .ico { width: 13px; height: 13px; }
.hp-me-verified {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 8px; border-radius: 8px; flex: none;
  background: var(--ok-soft); color: #047857;
  font-size: 11px; font-weight: 600;
}
.hp-me-verified .ico { width: 12px; height: 12px; }

.hp-me-stats {
  display: flex; align-items: center;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
}
.hp-me-stat {
  flex: 1; text-align: center; text-decoration: none;
  display: flex; flex-direction: column; gap: 3px;
  transition: opacity .15s;
}
.hp-me-stat:active { opacity: .6; }
.hp-me-stat b {
  font-size: 21px; font-weight: 750; color: var(--brand-1);
  letter-spacing: -.6px; font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.hp-me-stat:nth-child(3) b { color: #B45309; }
.hp-me-stat:nth-child(5) b { color: var(--ink); }
.hp-me-stat b small { font-size: 12px; font-weight: 600; margin-right: 1px; }
.hp-me-stat em {
  font-style: normal; font-size: 11.5px; color: var(--ink-3);
}
.hp-me-div { width: 1px; height: 26px; background: var(--line); flex: none; }

/* 菜单 */
.hp-menu {
  background: var(--card); border-radius: 16px;
  box-shadow: var(--sh-1); overflow: hidden;
}
.hp-menu-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px; position: relative;
  text-decoration: none; color: inherit;
}
.hp-menu-row + .hp-menu-row::before {
  content: ''; position: absolute; left: 55px; right: 15px; top: 0;
  height: 1px; background: var(--line);
}
.hp-menu-row:active { background: #F8FAFC; }
.hp-menu-ico {
  width: 32px; height: 32px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-1);
}
.hp-menu-ico.amber { background: #FEF3C7; color: #B45309; }
.hp-menu-ico.blue  { background: #DBEAFE; color: #1D4ED8; }
.hp-menu-ico.rose  { background: #FFE4E6; color: #BE123C; }
.hp-menu-ico.green { background: #D1FAE5; color: #047857; }
.hp-menu-ico .ico { width: 16px; height: 16px; }
.hp-menu-t {
  flex: 1; font-size: 15px; font-weight: 550; color: var(--ink);
}
.hp-menu-d {
  font-size: 12.5px; color: var(--ink-3);
  font-variant-numeric: tabular-nums; flex: none;
}
.hp-menu-row > .ico-sm { width: 15px; height: 15px; color: #CBD5E1; flex: none; }

/* 退出 */
.hp-logout {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; height: 48px; border-radius: 15px;
  background: var(--card); box-shadow: var(--sh-1);
  color: var(--danger); font-size: 15px; font-weight: 600;
  border: 0; cursor: pointer;
  transition: transform .18s;
}
.hp-logout:active { transform: scale(.98); }
.hp-logout .ico { width: 16px; height: 16px; }

.hp-icp {
  text-align: center; font-size: 11px; color: var(--ink-3);
  padding-bottom: 8px;
}


/* ============================================================
   我的水票
   ============================================================ */
.tk-hero-sec { padding: 4px 16px 0; }
.tk-hero {
  border-radius: 20px; padding: 18px 20px 16px;
  background: linear-gradient(140deg, #0F766E, #134E4A);
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(15,118,110,.48);
}
.tk-hero-lb { font-size: 13px; opacity: .85; }
.tk-hero-num { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 14px; }
.tk-hero-num b {
  font-size: 42px; font-weight: 780; line-height: 1;
  letter-spacing: -2px; font-variant-numeric: tabular-nums;
}
.tk-hero-num span { font-size: 14px; opacity: .78; }
.tk-hero-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4px; padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.tk-hero-grid > div { text-align: center; }
.tk-hero-grid b {
  display: block; font-size: 17px; font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: -.3px;
}
.tk-hero-grid em {
  display: block; font-style: normal; font-size: 11px;
  opacity: .72; margin-top: 2px;
}

.tk-count { font-size: 12.5px; color: var(--ink-3); }

.tk-list { display: grid; gap: 10px; }
.tk-card {
  background: var(--card); border-radius: 18px;
  padding: 15px 16px 14px;
  box-shadow: var(--sh-1);
  border-left: 4px solid var(--brand-1);
}
.tk-card.is-low   { border-left-color: #F59E0B; }
.tk-card.is-empty { border-left-color: #CBD5E1; opacity: .72; }

.tk-card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px;
}
.tk-card-name {
  font-size: 15.5px; font-weight: 680; color: var(--ink);
  letter-spacing: -.2px; line-height: 1.35;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.tk-tag {
  padding: 1px 6px; border-radius: 5px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0;
}
.tk-tag.warn { background: #FEF3C7; color: #B45309; }
.tk-tag.gray { background: #F1F5F9; color: #64748B; }
.tk-src {
  flex: none; padding: 2px 7px; border-radius: 6px;
  font-size: 10.5px; font-weight: 600;
  background: var(--brand-soft); color: var(--brand-1);
  white-space: nowrap;
}
.tk-src.sys { background: #DBEAFE; color: #1D4ED8; }

.tk-card-prod {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--ink-3);
  margin-top: 7px;
}
.tk-card-prod .ico { width: 12px; height: 12px; flex: none; }

.tk-card-num {
  display: flex; align-items: baseline; gap: 5px;
  margin: 11px 0 8px;
}
.tk-card-num b {
  font-size: 27px; font-weight: 780; color: var(--brand-1);
  letter-spacing: -1.2px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tk-card.is-low .tk-card-num b { color: #B45309; }
.tk-card.is-empty .tk-card-num b { color: #94A3B8; }
.tk-card-num span { font-size: 12.5px; color: var(--ink-3); }
.tk-card-num em {
  font-style: normal; font-size: 11.5px; color: var(--ink-3);
  margin-left: auto; font-variant-numeric: tabular-nums;
}

.tk-bar {
  height: 6px; border-radius: 99px;
  background: #F1F5F9; overflow: hidden;
}
.tk-bar i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #14B8A6, #0F766E);
}
.tk-bar.low i   { background: linear-gradient(90deg, #FBBF24, #D97706); }
.tk-bar.empty i { background: #CBD5E1; }

.tk-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 9px; font-size: 11.5px; color: var(--ink-3);
}
.tk-card-meta { display: flex; gap: 12px; }
.tk-card-meta b { font-weight: 650; color: var(--ink-2); }

.hp-alert-info {
  background: #F0FDFA; border-color: #CCFBF1; color: #115E59;
}
.hp-alert-info .ico { color: #0F766E; }


/* ============================================================
   在线下单
   ============================================================ */
.od-cats {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 4px 16px 12px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.od-cats::-webkit-scrollbar { display: none; }
.od-chip {
  flex: none; padding: 7px 15px; border-radius: 11px;
  background: var(--card); color: var(--ink-2);
  font-size: 13.5px; font-weight: 550; text-decoration: none;
  box-shadow: var(--sh-1); white-space: nowrap;
  transition: all .18s;
}
.od-chip.on {
  background: var(--brand-grad); color: #fff;
  box-shadow: 0 5px 14px -4px rgba(15,118,110,.42);
  font-weight: 600;
}

.od-alert {
  margin: 0 16px 12px; padding: 11px 14px;
  border-radius: 13px; font-size: 13.5px;
}
.od-alert-err { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; }
.od-alert-ok  { background: #F0FDF4; border: 1px solid #BBF7D0; color: #15803D; }

.od-list { padding: 0 16px; display: grid; gap: 10px; }
.od-prod {
  display: flex; gap: 12px; padding: 12px;
  background: var(--card); border-radius: 18px;
  box-shadow: var(--sh-1);
  border: 1.5px solid transparent;
  transition: border-color .18s, box-shadow .18s;
}
.od-prod.is-on {
  border-color: #5EEAD4;
  box-shadow: 0 6px 18px -8px rgba(15,118,110,.35);
}
.od-prod-img {
  width: 84px; height: 84px; flex: none;
  border-radius: 14px; overflow: hidden;
  background: #F1F5F9;
}
.od-prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.od-prod-ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(135deg, #F0FDFA, #CCFBF1); color: #5EEAD4;
}
.od-prod-ph .ico { width: 34px; height: 34px; }

.od-prod-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.od-prod-name {
  font-size: 15px; font-weight: 650; color: var(--ink);
  letter-spacing: -.2px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.od-prod-spec { font-size: 12px; color: var(--ink-3); margin-top: 3px; }

.od-tk {
  display: inline-flex; align-items: center; gap: 3px;
  align-self: flex-start;
  margin-top: 6px; padding: 2px 7px; border-radius: 6px;
  font-size: 11px; font-weight: 600;
}
.od-tk .ico { width: 11px; height: 11px; }
.od-tk-ok { background: var(--brand-soft); color: var(--brand-1); }
.od-tk-no { background: #F1F5F9; color: #94A3B8; }

.od-prod-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 8px; margin-top: auto; padding-top: 8px;
}
.od-price { display: flex; align-items: baseline; gap: 3px; min-width: 0; }
.od-price b {
  font-size: 19px; font-weight: 780; color: var(--danger);
  letter-spacing: -.7px; font-variant-numeric: tabular-nums;
}
.od-price span { font-size: 11.5px; color: var(--ink-3); }
.od-price del { font-size: 11px; color: #CBD5E1; margin-left: 3px; }

.od-step {
  display: flex; align-items: center; gap: 0; flex: none;
  border-radius: 10px; overflow: hidden;
  background: #F1F5F9;
}
.od-step-btn {
  width: 30px; height: 30px; border: 0; background: transparent;
  color: var(--brand-1); font-size: 18px; font-weight: 600;
  line-height: 1; cursor: pointer; padding: 0;
  display: grid; place-items: center;
  transition: background .15s;
}
.od-step-btn:active { background: #D1FAE5; }
.od-step input {
  width: 38px; height: 30px; border: 0; background: #fff;
  text-align: center; font-size: 14.5px; font-weight: 650;
  color: var(--ink); padding: 0;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.od-step input::-webkit-outer-spin-button,
.od-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.od-step input:focus { outline: 2px solid #5EEAD4; outline-offset: -2px; }

/* 表单 */
.od-form {
  background: var(--card); border-radius: 16px;
  box-shadow: var(--sh-1); padding: 4px 15px;
}
.od-field { display: block; padding: 12px 0; }
.od-field + .od-field { border-top: 1px solid var(--line); }
.od-lb {
  display: block; font-size: 12.5px; color: var(--ink-3);
  margin-bottom: 6px; font-weight: 500;
}
.od-lb i { color: var(--danger); font-style: normal; }
.od-field input, .od-field select {
  width: 100%; height: 40px; border: 1.5px solid var(--line);
  border-radius: 11px; padding: 0 12px;
  font-size: 14.5px; color: var(--ink); background: #fff;
  transition: border-color .18s;
}
.od-field input:focus, .od-field select:focus {
  outline: none; border-color: #5EEAD4;
  box-shadow: 0 0 0 3px rgba(94,234,212,.18);
}
.od-field input::placeholder { color: #CBD5E1; }

/* 结算条 */
.od-bar {
  position: sticky; bottom: calc(58px + var(--safe-b));
  margin: 16px 16px 0;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px 11px 16px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  box-shadow: 0 -2px 22px rgba(15,23,42,.1), 0 0 0 1px rgba(15,23,42,.04);
}
.od-bar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.od-bar-info > span { font-size: 12px; color: var(--ink-3); }
.od-bar-info b { color: var(--ink); font-weight: 650; }
.od-bar-amt b {
  font-size: 18px; font-weight: 780; color: var(--danger);
  letter-spacing: -.6px; font-variant-numeric: tabular-nums;
}
.od-bar-amt { font-size: 12px; }
.od-bar-submit {
  flex: none; height: 44px; padding: 0 26px;
  border: 0; border-radius: 13px;
  background: var(--brand-grad); color: #fff;
  font-size: 15px; font-weight: 650; letter-spacing: .2px;
  cursor: pointer;
  box-shadow: 0 6px 16px -5px rgba(15,118,110,.5);
  transition: transform .18s;
}
.od-bar-submit:active { transform: scale(.97); }

/* 下单成功 */
.od-done {
  margin: 20px 16px 0; padding: 30px 20px 24px;
  background: var(--card); border-radius: 22px;
  box-shadow: var(--sh-2); text-align: center;
}
.od-done-ico {
  width: 62px; height: 62px; margin: 0 auto 16px;
  border-radius: 50%; background: #D1FAE5;
  display: grid; place-items: center; color: #047857;
}
.od-done-ico .ico { width: 32px; height: 32px; stroke-width: 2.4; }
.od-done h2 { font-size: 20px; font-weight: 720; color: var(--ink); letter-spacing: -.3px; }
.od-done-no { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; font-variant-numeric: tabular-nums; }
.od-done-goods { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.5; }
.od-done-amt { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.od-done-amt b {
  font-size: 22px; font-weight: 780; color: var(--danger);
  letter-spacing: -.8px; margin-left: 3px;
}
.od-done-tips {
  margin-top: 16px; padding: 12px 14px;
  background: #F0FDFA; border-radius: 13px; text-align: left;
}
.od-done-tips > div {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12.5px; color: #115E59; line-height: 1.5;
}
.od-done-tips > div + div { margin-top: 6px; }
.od-done-tips .ico { width: 14px; height: 14px; margin-top: 1px; flex: none; }
.od-done-drv {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 14px; font-size: 13px; color: var(--ink-2);
}
.od-done-drv .ico { width: 15px; height: 15px; color: var(--ink-3); }
.od-done-btns { display: flex; gap: 10px; margin-top: 22px; }
.od-btn {
  flex: 1; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 600; text-decoration: none;
  background: #F1F5F9; color: var(--ink-2);
}
.od-btn-main {
  background: var(--brand-grad); color: #fff;
  box-shadow: 0 6px 16px -5px rgba(15,118,110,.5);
}


/* ============================================================
   桶账
   ============================================================ */
.bk-hero { background: linear-gradient(140deg, #B45309, #92400E); 
  box-shadow: 0 10px 26px -8px rgba(180,83,9,.45); }
.bk-hero .tk-hero-grid { grid-template-columns: repeat(2, 1fr); }

.hp-item-ico.gray { background: #F1F5F9; color: #64748B; }
.hp-item-num { text-align: right; flex: none; }
.hp-item-num b {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.hp-item-num b.minus { color: var(--danger); }
.hp-item-num em {
  display: block; font-style: normal; font-size: 11px;
  color: var(--ink-3); margin-top: 2px;
}
.hp-item-v.plus { color: var(--ok); }

/* 押金单 */
.dp-list { display: grid; gap: 10px; }
.dp-card {
  background: var(--card); border-radius: 18px;
  padding: 15px 16px 13px; box-shadow: var(--sh-1);
}
.dp-card.is-void { opacity: .55; }
.dp-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 11px; margin-bottom: 3px;
  border-bottom: 1px solid var(--line);
}
.dp-badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 8px; border-radius: 7px;
  font-size: 11.5px; font-weight: 650;
}
.dp-badge .ico { width: 11px; height: 11px; }
.dp-badge.in  { background: #FEF3C7; color: #B45309; }
.dp-badge.out { background: #D1FAE5; color: #047857; }
.dp-void {
  padding: 2px 6px; border-radius: 5px;
  background: #F1F5F9; color: #94A3B8;
  font-size: 10.5px; font-weight: 600;
}
.dp-amt {
  margin-left: auto; font-size: 19px; font-weight: 780;
  letter-spacing: -.7px; font-variant-numeric: tabular-nums;
}
.dp-amt.in  { color: #B45309; }
.dp-amt.out { color: #047857; }

.dp-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0; font-size: 13px; gap: 12px;
}
.dp-row > span { color: var(--ink-3); flex: none; font-size: 12.5px; }
.dp-row > b {
  color: var(--ink-2); font-weight: 600; text-align: right;
  font-variant-numeric: tabular-nums;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dp-row > b.mono { font-family: ui-monospace, Menlo, monospace; font-size: 12px; }

.dp-imgs { display: flex; gap: 9px; margin-top: 10px; padding-top: 11px; border-top: 1px solid var(--line); }
.dp-img {
  width: 68px; height: 68px; border-radius: 11px;
  overflow: hidden; position: relative; display: block;
  background: #F1F5F9; flex: none;
}
.dp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp-img span {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(15,23,42,.62); color: #fff;
  font-size: 10px; text-align: center; padding: 2px 0;
}

/* ============================================================
   核销记录
   ============================================================ */
.rc-sum {
  display: flex; align-items: center;
  margin: 4px 16px 0; padding: 16px 0;
  background: var(--card); border-radius: 18px;
  box-shadow: var(--sh-1);
}
.rc-sum-item { flex: 1; text-align: center; }
.rc-sum-item b {
  display: block; font-size: 22px; font-weight: 750;
  color: var(--ink); letter-spacing: -.7px;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.rc-sum-item em {
  display: block; font-style: normal; font-size: 11.5px;
  color: var(--ink-3); margin-top: 3px;
}


/* ============================================================
   我的订单
   ============================================================ */
.ol-tabs {
  display: flex; gap: 4px;
  margin: 6px 16px 0; padding: 4px;
  background: #EEF2F5; border-radius: 13px;
}
.ol-tab {
  flex: 1; text-align: center; padding: 8px 0;
  font-size: 13.5px; font-weight: 550; color: var(--ink-3);
  text-decoration: none; border-radius: 10px;
  transition: all .18s;
}
.ol-tab.on {
  background: #fff; color: var(--brand-1); font-weight: 650;
  box-shadow: 0 2px 8px -2px rgba(15,23,42,.14);
}

.ol-list { padding: 12px 16px 0; display: grid; gap: 11px; }
.ol-card {
  background: var(--card); border-radius: 18px;
  box-shadow: var(--sh-1); overflow: hidden;
}
.ol-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 15px 10px; gap: 10px;
}
.ol-no {
  font-size: 12px; color: var(--ink-3);
  font-family: ui-monospace, Menlo, monospace;
  letter-spacing: -.2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ol-st {
  flex: none; padding: 3px 9px; border-radius: 7px;
  font-size: 11.5px; font-weight: 650;
}
.ol-st-wait { background: #FEF3C7; color: #B45309; }
.ol-st-on   { background: #DBEAFE; color: #1D4ED8; }
.ol-st-done { background: #D1FAE5; color: #047857; }
.ol-st-off  { background: #F1F5F9; color: #94A3B8; }

.ol-items { padding: 0 15px; display: grid; gap: 8px; }
.ol-item { display: flex; align-items: center; gap: 10px; }
.ol-item-img {
  width: 46px; height: 46px; flex: none;
  border-radius: 11px; overflow: hidden; background: #F1F5F9;
  display: block;
}
.ol-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ol-item-img .od-prod-ph { border-radius: 0; }
.ol-item-img .od-prod-ph .ico { width: 22px; height: 22px; }
.ol-item-main { flex: 1; min-width: 0; }
.ol-item-main b {
  display: block; font-size: 14.5px; font-weight: 620; color: var(--ink);
  line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ol-item-main em {
  display: block; font-style: normal;
  font-size: 11.5px; color: var(--ink-3); margin-top: 2px;
}
.ol-item-q {
  flex: none; font-size: 13px; color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.ol-info {
  margin: 11px 15px 0; padding: 10px 12px;
  background: #F8FAFC; border-radius: 12px;
  display: grid; gap: 6px;
}
.ol-info-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-2); line-height: 1.4;
}
.ol-info-row .ico { width: 13px; height: 13px; color: #94A3B8; flex: none; }
.ol-info-row > span {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.ol-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 15px;
}
.ol-amt { display: flex; align-items: baseline; gap: 5px; }
.ol-amt em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.ol-amt b {
  font-size: 18px; font-weight: 750; color: var(--danger);
  letter-spacing: -.6px; font-variant-numeric: tabular-nums;
}
.ol-btn {
  flex: none; height: 34px; padding: 0 15px;
  border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-grad); color: #fff;
  font-size: 13px; font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 12px -4px rgba(15,118,110,.45);
}
.ol-btn-ghost {
  background: #F1F5F9; color: var(--brand-1);
  box-shadow: none; border: 1.5px solid #E2E8F0;
}

.hp-empty-btn {
  display: inline-block; margin-top: 16px;
  padding: 10px 24px; border-radius: 12px;
  background: var(--brand-grad); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 16px -5px rgba(15,118,110,.5);
}


/* 配送区域选择 */
.rg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 2px; }
.rg-opt { display: block; cursor: pointer; position: relative; }
.rg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rg-box {
  display: block; padding: 11px 12px;
  border: 1.5px solid var(--line); border-radius: 13px;
  background: #fff; transition: all .18s;
}
.rg-opt input:checked + .rg-box {
  border-color: var(--brand-1); background: #F0FDFA;
  box-shadow: 0 0 0 3px rgba(15,118,110,.1);
}
.rg-name {
  display: block; font-size: 14.5px; font-weight: 650; color: var(--ink);
  letter-spacing: -.2px;
}
.rg-opt input:checked + .rg-box .rg-name { color: var(--brand-1); }
.rg-cover {
  display: block; font-size: 11px; color: var(--ink-3);
  margin-top: 3px; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rg-drv {
  display: inline-flex; align-items: center; gap: 3px;
  margin-top: 6px; padding: 2px 6px; border-radius: 6px;
  font-size: 10.5px; font-weight: 600;
}
.rg-drv .ico { width: 10px; height: 10px; }
.rg-drv.ok { background: #D1FAE5; color: #047857; }
.rg-drv.no { background: #FEF3C7; color: #B45309; }
.rg-hint {
  display: flex; align-items: center; gap: 5px;
  margin-top: 9px; font-size: 11.5px; color: var(--ink-3);
}
.rg-hint .ico { width: 12px; height: 12px; flex: none; }


/* 联系配送员：显示号码的拨号按钮 */
.ol-btn-ghost {
  display: inline-flex; align-items: center; gap: 4px;
  background: #F0FDFA; color: var(--brand-1);
  border: 1.5px solid #99F6E4;
  font-variant-numeric: tabular-nums;
  letter-spacing: .2px;
}
.ol-btn-ghost .ico { width: 13px; height: 13px; }
.ol-wait { color: var(--amber-1); font-weight: 600; }
