:root {
  --brand: #f5b800;
  --brand-dark: #c48a00;
  --bg: #fff9eb;
  --text: #222;
  --muted: #8a7a55;
  --danger: #e53935;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.page {
  min-height: 100vh;
  padding-bottom: calc(56px + var(--safe-bottom));
}
.page.no-tab { padding-bottom: calc(16px + var(--safe-bottom)); }
.muted { color: var(--muted); }
.price { color: var(--brand-dark); font-weight: 800; }
.yen { font-size: 12px; margin-right: 1px; }
.flash {
  margin: 10px 12px;
  padding: 10px 12px;
  background: #fff3cc;
  color: #8a6a00;
  border-radius: 10px;
  font-size: 13px;
}
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; background: #fff; border-top: 1px solid #eee;
  padding-bottom: var(--safe-bottom);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 50px; color: #999; font-size: 10px;
}
.tabbar a.on { color: var(--brand); font-weight: 700; }
.tabbar img { width: 24px; height: 24px; margin-bottom: 2px; }

/* home */
.home-hero {
  background: linear-gradient(180deg, #F5B800 0%, #FFD54F 55%, #FFF6D6 100%);
  padding: 16px 12px 8px;
}
.search-row { display: flex; gap: 10px; align-items: center; }
.search-box {
  flex: 1; display: flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px; background: #fff; border-radius: 999px;
}
.search-box input { border: 0; outline: 0; width: 100%; background: transparent; }
.search-logo { width: 36px; height: 36px; border-radius: 10px; background: #fff; object-fit: contain; }
.banner-wrap { margin: 12px; border-radius: 14px; overflow: hidden; }
.banner-wrap img { width: 100%; height: 140px; object-fit: cover; }
.nav-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  padding: 8px 12px 4px; text-align: center; font-size: 12px;
}
.nav-row img { width: 44px; height: 44px; margin: 0 auto 4px; border-radius: 12px; object-fit: cover; }
.sec { padding: 8px 12px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sec-head h3 { font-size: 16px; }
.m-card {
  display: flex; gap: 10px; background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 10px;
}
.m-card .logo { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #f5f5f5; }
.m-card .mid { flex: 1; min-width: 0; }
.m-card .row { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.m-card .m-intro {
  font-size: 12px; margin-top: 4px; line-height: 1.45;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; word-break: break-word;
}

/* 首页商家推荐（对齐小程序外卖商户卡片） */
.promo-list { margin-bottom: 4px; }
.promo-card {
  background: #fff; border-radius: 12px; padding: 12px 11px 10px;
  margin-bottom: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); overflow: hidden;
}
.promo-head {
  display: flex; align-items: flex-start; gap: 0; margin-bottom: 10px;
  text-decoration: none; color: inherit;
}
.promo-logo-wrap {
  width: 48px; height: 48px; border-radius: 8px; background: #fff;
  border: 1px solid #eee; box-sizing: border-box; flex-shrink: 0;
  margin-right: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.promo-logo { width: 100%; height: 100%; object-fit: contain; }
.promo-info { flex: 1; min-width: 0; }
.promo-name-row { display: flex; align-items: flex-start; }
.promo-name {
  flex: 1; min-width: 0; font-size: 15px; font-weight: 800; color: #222;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.promo-meta {
  margin-top: 4px; font-size: 11px; color: #999;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.promo-sep { margin: 0 2px; }
.promo-free { color: #e54d42; font-weight: 700; }
.promo-rate-row {
  margin-top: 4px; display: flex; align-items: center; min-width: 0;
}
.promo-score {
  color: #ff6a00; font-weight: 800; font-size: 12px; flex-shrink: 0; margin-right: 6px;
}
.promo-slogan {
  flex: 1; min-width: 0; font-size: 11px; color: #999;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.promo-tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.promo-tag {
  font-size: 10px; color: #888; background: #f5f5f5;
  padding: 2px 6px; border-radius: 4px;
}
.promo-body {
  display: flex; align-items: stretch; overflow: hidden; border-radius: 8px;
}
.promo-side {
  width: 76px; flex-shrink: 0; border-radius: 8px; padding: 10px 6px;
  box-sizing: border-box; display: flex; flex-direction: column;
  align-items: center; justify-content: center; margin-right: 8px;
  background: linear-gradient(180deg, #fff3e0 0%, #ffe0b8 100%);
  text-decoration: none;
}
.promo-side-label { font-size: 11px; color: #a05a20; font-weight: 700; }
.promo-side-amt {
  margin-top: 6px; font-size: 22px; font-weight: 800; line-height: 1.05; color: #e54d42;
}
.promo-side-amt .yen-sm { font-size: 12px; }
.promo-side-btn {
  margin-top: 8px; padding: 3px 8px; border-radius: 999px;
  color: #fff; font-size: 11px; font-weight: 700; background: #ff6a00;
}
.promo-goods-wrap { flex: 1; min-width: 0; overflow: hidden; }
.promo-goods {
  display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 2px;
}
.promo-goods::-webkit-scrollbar { display: none; }
.promo-g {
  flex: 0 0 84px; width: 84px; text-decoration: none; color: inherit;
}
.promo-g-cover-wrap {
  position: relative; width: 84px; height: 84px; border-radius: 8px;
  overflow: hidden; background: #f5f5f5;
}
.promo-g-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-g-badge {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2px 4px; font-size: 10px; color: #fff; background: rgba(0,0,0,0.45);
}
.promo-g-name {
  margin-top: 4px; font-size: 12px; color: #333;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.promo-g-price-row {
  margin-top: 4px; display: flex; align-items: flex-end; justify-content: space-between;
}
.promo-g-price { color: #e54d42; font-size: 14px; font-weight: 800; line-height: 1.1; }
.promo-g-origin { margin-top: 1px; font-size: 10px; color: #bbb; text-decoration: line-through; }
.promo-g-add {
  width: 20px; height: 20px; border-radius: 50%; background: #e54d42; color: #fff;
  font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pager {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 16px 0 24px;
}
.pager-btn {
  display: inline-block; min-width: 72px; text-align: center;
  padding: 8px 12px; border-radius: 8px; background: #fff;
  color: #3d2e00; font-size: 13px; font-weight: 600;
  border: 1px solid #eee3c2; text-decoration: none;
}
.pager-btn.disabled { color: #bbb; background: #f7f7f7; border-color: #eee; }
.pager-info { font-size: 13px; color: #666; }
.goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g-card { background: #fff; border-radius: 12px; overflow: hidden; }
.g-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f5f5f5; }
.g-card .g-title { padding: 8px 8px 0; font-size: 13px; line-height: 1.35; height: 2.7em; overflow: hidden; }
.g-card .price { padding: 6px 8px 10px; }

/* auth */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #fff6d6 0%, #fffbf0 42%, #fff 100%);
  padding: 0 24px 40px;
}
.auth-nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center;
  height: 48px; margin: 0 -24px 8px; padding: 0 12px;
  background: rgba(255, 246, 214, 0.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid #f0e2b0;
}
.auth-nav-home {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: #3d2e00; font-size: 15px; font-weight: 700; text-decoration: none;
  padding: 8px 4px;
}
.auth-nav-title { font-size: 16px; font-weight: 700; color: #3d2e00; }
.auth-body { max-width: 420px; margin: 0 auto; padding-top: 16px; }
.auth-logo { width: 90px; height: 90px; border-radius: 18px; margin: 0 auto; background: #fff; object-fit: contain; }
.auth-slogan { margin-top: 24px; text-align: center; font-size: 22px; font-weight: 800; }
.auth-sub { margin-top: 8px; text-align: center; font-size: 12px; color: #6b7280; }
.auth-form { margin-top: 28px; }
.auth-form label { display: block; margin: 10px 0 6px; color: #666; font-size: 13px; }
.auth-form input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%; height: 44px; border: 1px solid #eee3c2; border-radius: 10px;
  padding: 0 12px; background: #fffdf6; font-size: 15px;
}
.auth-form input[readonly] { background: #f5f0e0; color: #c48a00; font-weight: 700; }
.row { display: flex; gap: 8px; }
.row input { flex: 1; }
.sms-btn, .btn-primary, .btn-ghost {
  height: 44px; border: 0; border-radius: 10px; padding: 0 12px; font-weight: 700; cursor: pointer;
}
.sms-btn { background: #fff3cc; color: #c48a00; white-space: nowrap; min-width: 108px; }
.sms-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.field-tip { margin: 6px 0 0; font-size: 12px; color: #d14343; min-height: 16px; }
.toast {
  position: fixed; left: 50%; bottom: 18%; transform: translateX(-50%);
  max-width: 80%; padding: 10px 16px; border-radius: 8px;
  background: rgba(40, 30, 10, 0.88); color: #fff; font-size: 13px; z-index: 99;
}
.btn-primary {
  width: 100%; margin-top: 22px; height: 48px; background: #3d2e00; color: #ffd54f; font-size: 15px; border-radius: 8px;
}
.btn-ghost {
  width: 100%; margin-top: 12px; background: #fff; color: #c48a00; border: 1px solid #f0d78a;
}
.check-row {
  display: flex; flex-direction: row; align-items: center; gap: 8px;
  margin-top: 14px; font-size: 12px; color: #5a6560; line-height: 1.4;
  cursor: pointer;
}
.check-row input[type="checkbox"] {
  width: 16px; height: 16px; margin: 0; flex: 0 0 16px;
  padding: 0; border-radius: 3px; accent-color: #c48a00;
  background: #fff; border: 1px solid #d6c89a;
}
.check-row span { flex: 1; }

/* list pages */
.card { background: #fff; border-radius: 12px; margin: 12px; padding: 12px; }
.line { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f5f0e0; gap: 10px; }
.line:last-child { border-bottom: 0; }
.empty { text-align: center; color: #999; padding: 40px 16px; }
.topbar {
  position: sticky; top: 0; z-index: 20; background: var(--brand);
  padding: 12px; font-weight: 700; text-align: center;
}
.topbar a { position: absolute; left: 12px; color: #3d2e00; font-size: 22px; line-height: 1; }
.list-item {
  display: flex; gap: 10px; background: #fff; margin: 0 12px 10px; padding: 10px; border-radius: 12px;
}
.list-item img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: #f5f5f5; }
.list-item .body { flex: 1; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip {
  padding: 6px 10px; border-radius: 999px; background: #f5f5f5; border: 0; font-size: 12px;
}
.chip.on { background: #fff3cc; color: #c48a00; font-weight: 700; }
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; gap: 8px; align-items: center; padding: 10px 12px calc(10px + var(--safe-bottom));
  background: #fff; border-top: 1px solid #eee;
}
.bottom-bar .grow { flex: 1; }
.bottom-bar .btn-primary { margin: 0; height: 42px; }

.cart-list { padding: 8px 0 0; }
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  margin: 0 12px 10px;
  padding: 12px 10px;
  border-radius: 12px;
}
.cart-check-form { flex-shrink: 0; margin-top: 22px; }
.cart-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  background: #fff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  padding: 0;
  cursor: pointer;
  box-sizing: border-box;
}
.cart-check.on {
  background: #F5B800;
  border-color: #F5B800;
  color: #3d2e00;
}
.cart-cover {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f5f5;
  flex-shrink: 0;
}
.cart-body { flex: 1; min-width: 0; }
.cart-title {
  font-size: 14px;
  line-height: 1.4;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-spec { font-size: 12px; margin-top: 4px; }
.cart-price {
  margin-top: 6px;
  color: #c48a00;
  font-weight: 700;
  font-size: 15px;
}
.cart-ops {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cart-qty-form {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cart-qty-form input[type="number"] {
  width: 56px;
  height: 30px;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 0 6px;
}
.cart-bar {
  gap: 10px;
}
.cart-all-form { flex-shrink: 0; }
.cart-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 13px;
  padding: 0;
  cursor: pointer;
}
.cart-bar-sum {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #666;
  line-height: 1.35;
}
.cart-bar-sum strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  color: #c48a00;
}
.cart-settle {
  flex: 0 0 auto !important;
  flex-shrink: 0;
  width: auto !important;
  min-width: 72px;
  max-width: 88px;
  height: 36px !important;
  line-height: 36px;
  padding: 0 18px !important;
  margin: 0 !important;
  text-align: center;
  text-decoration: none;
  border-radius: 18px !important;
  font-size: 14px;
  box-sizing: border-box;
  white-space: nowrap;
}
.cart-settle.disabled {
  opacity: 0.45;
  pointer-events: none;
  background: #ccc;
  color: #fff;
}
.footer-tip { text-align: center; color: #bbb; font-size: 10px; padding: 16px 12px 8px; line-height: 1.5; }

.join-banner {
  display: flex; width: 100%; box-sizing: border-box; margin: 0;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 12px; text-decoration: none;
  background: #fff; color: #3d2e00;
}
.join-banner-left { flex: 1; min-width: 0; }
.join-banner-title { font-size: 15px; font-weight: 700; color: #3d2e00; }
.join-banner-sub { margin-top: 4px; font-size: 12px; color: #e6a000; }
.join-banner-art {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: #fff3cc; color: #e6a000; font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.join-page { padding: 12px 12px 28px; background: #fff9eb; min-height: calc(100vh - 48px); }
.join-hero {
  background: linear-gradient(165deg, #f5b800 0%, #e6a000 100%);
  border-radius: 12px; padding: 20px 16px; text-align: center; margin-bottom: 12px;
}
.join-logo { width: 60px; height: 60px; border-radius: 50%; background: #fff; object-fit: contain; }
.join-title { margin-top: 10px; font-size: 18px; font-weight: 800; color: #3d2e00; }
.join-sub { margin-top: 4px; font-size: 12px; color: rgba(61, 46, 0, 0.75); }
.join-card {
  background: #fff; border-radius: 10px; padding: 14px; margin-bottom: 10px;
  box-shadow: 0 3px 9px rgba(196, 138, 0, 0.06);
}
.join-card-title { font-size: 15px; font-weight: 700; color: #3d2e00; margin-bottom: 8px; }
.join-card p { margin: 0 0 6px; font-size: 13px; color: #555; line-height: 1.7; }
.join-card p:last-child { margin-bottom: 0; }
.join-step { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.join-step:last-child { margin-bottom: 0; }
.join-step span {
  width: 22px; height: 22px; border-radius: 50%; background: #f5b800; color: #3d2e00;
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.join-step b { display: block; font-size: 14px; color: #3d2e00; }
.join-step em { display: block; margin-top: 3px; font-style: normal; font-size: 12px; color: #777; line-height: 1.6; }
.join-phone {
  margin: 12px 0; text-align: center; font-size: 22px; font-weight: 800; color: #3d2e00; letter-spacing: 1px;
}
.join-call { display: block; text-align: center; line-height: 48px; text-decoration: none; margin-top: 4px; }

/* feat mosaic */
.feat-mosaic {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 8px; margin-bottom: 8px;
}
.feat-big, .feat-col a, .feat-quality, .weekend-banner {
  display: block; width: 100%; box-sizing: border-box; border-radius: 12px; overflow: hidden; background: #fff;
}
.feat-big img { width: 100%; height: 168px; object-fit: cover; }
.feat-col { display: flex; flex-direction: column; gap: 8px; }
.feat-col img { width: 100%; height: 80px; object-fit: cover; }
.feat-quality { margin-bottom: 4px; }
.feat-quality img { width: 100%; height: 88px; object-fit: cover; }
.weekend-banner img { display: block; width: 100%; height: 96px; object-fit: cover; }
.vip-card {
  display: flex; width: 100%; box-sizing: border-box; margin: 0;
  align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-radius: 12px; text-decoration: none;
  background: linear-gradient(120deg, #fff7d6, #ffe8a3); color: #3d2e00;
}
.vip-title { font-size: 15px; font-weight: 800; }
.vip-sub { margin-top: 4px; font-size: 12px; opacity: 0.8; }
.vip-go { font-weight: 700; color: #c48a00; white-space: nowrap; }

.asset-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin: 0 12px 12px; background: #fff; border-radius: 12px; overflow: hidden;
}
.asset-item {
  padding: 12px 4px; text-align: center; border-right: 1px solid #f5f0e0;
}
.asset-item:last-child { border-right: 0; }
.asset-item strong { display: block; font-size: 15px; color: #c48a00; }
.asset-item span { display: block; margin-top: 4px; font-size: 11px; color: #8a7a55; }

.coupon-card {
  display: flex; align-items: stretch; margin: 0 12px 10px; background: #fff;
  border-radius: 12px; overflow: hidden; min-height: 88px;
}
.cp-left {
  width: 88px; background: linear-gradient(165deg, #f5b800, #e6a000);
  color: #3d2e00; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cp-yen { font-size: 18px; font-weight: 800; }
.cp-unit { font-size: 11px; margin-top: 2px; }
.cp-dash {
  width: 0; border-left: 1px dashed #f0e2b0; margin: 10px 0;
}
.cp-right { flex: 1; padding: 12px; min-width: 0; }
.cp-name { font-weight: 700; font-size: 14px; }
.cp-rule { margin-top: 4px; font-size: 12px; color: #8a7a55; }
.cp-btn {
  display: inline-block; margin-top: 8px; padding: 4px 12px; border: 0; border-radius: 999px;
  background: #fff3cc; color: #c48a00; font-size: 12px; font-weight: 700; cursor: pointer;
  text-decoration: none;
}
.cp-btn.disabled { opacity: 0.55; background: #f0f0f0; color: #999; }

.verify-code {
  margin: 20px 0 12px; font-size: 36px; font-weight: 800; letter-spacing: 8px; color: #3d2e00;
}
.goods-desc .desc-html { font-size: 13px; line-height: 1.7; color: #444; overflow: hidden; }
.goods-desc .desc-html img { max-width: 100%; height: auto; border-radius: 8px; }

/* —— 商品详情（淘宝风格信息区） —— */
.gd-page { background: #f5f5f5; padding-bottom: 8px; }
.gd-cover { background: #fff; }
.gd-cover img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #f5f5f5; }

.gd-tip {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; background: #fffaf0; border-bottom: 1px solid #f3e7c8;
  font-size: 12px; color: #333;
}
.gd-tip-l { display: flex; align-items: center; gap: 6px; min-width: 0; }
.gd-tip-ico {
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(145deg, #ff8a3d, #ff5000);
  color: #fff; font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.gd-tip-r {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  color: #666; text-decoration: none; white-space: nowrap;
}
.gd-cd { display: inline-flex; align-items: center; gap: 2px; }
.gd-cd i {
  display: inline-block; min-width: 18px; padding: 1px 3px;
  background: #555; color: #fff; border-radius: 3px;
  font-style: normal; font-size: 11px; font-weight: 700; text-align: center;
}
.gd-cd em { font-style: normal; color: #555; font-weight: 700; }

.gd-panel { background: #fff; padding: 12px 12px 10px; margin-bottom: 8px; }
.gd-title {
  margin: 0; font-size: 16px; font-weight: 800; color: #1a1a1a;
  line-height: 1.4; word-break: break-word;
}
.gd-stats {
  margin-top: 8px; font-size: 12px; color: #999; line-height: 1.5;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
}
.gd-stats .on { color: #ff5000; font-weight: 600; }
.gd-stats .sep { color: #ddd; }

.gd-price-banner {
  margin-top: 12px; border-radius: 10px; padding: 14px 14px;
  background: linear-gradient(90deg, #ff4d4f 0%, #ff7875 55%, #ff9c6e 100%);
  color: #fff; display: flex; justify-content: space-between; align-items: center;
  position: relative; overflow: hidden;
}
.gd-price-banner::after {
  content: ''; position: absolute; right: 28%; top: -20%; width: 90px; height: 140%;
  background: rgba(255,255,255,0.08); transform: skewX(-18deg); pointer-events: none;
}
.gd-price-now { font-size: 13px; }
.gd-price-now strong { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-left: 2px; }
.gd-price-now .yen { font-size: 16px; font-weight: 800; }
.gd-price-old { margin-top: 4px; font-size: 12px; opacity: 0.9; text-decoration: line-through; }
.gd-price-r { text-align: right; position: relative; z-index: 1; }
.gd-price-tag { font-size: 20px; font-weight: 800; }
.gd-price-sub { margin-top: 4px; font-size: 12px; opacity: 0.95; }

.gd-promo-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 12px; text-decoration: none; color: #ff5000; font-size: 12px;
}
.gd-promo-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gd-promo-row .lab, .gd-promo-more .lab { color: #ff5000; font-weight: 700; margin-right: 2px; }
.gd-promo-row .arr { color: #ccc; font-size: 14px; }
.gd-promo-more {
  margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 12px; color: #666;
}
.gd-tag {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  border: 1px solid #ffd0b5; background: #fff7f0; color: #ff5000;
  font-size: 11px; text-decoration: none;
}

.gd-service {
  background: #fff; margin-bottom: 8px; padding: 4px 12px;
}
.gd-svc-row {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid #f2f2f2;
  font-size: 12px; color: #666; line-height: 1.5;
}
.gd-svc-row:last-child { border-bottom: 0; }
.gd-svc-row .ico { flex-shrink: 0; width: 18px; text-align: center; }
.gd-svc-row .txt { flex: 1; min-width: 0; }

.gd-spec, .gd-qty {
  background: #fff; margin-bottom: 8px; padding: 12px;
}
.gd-spec-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #666; margin-bottom: 10px;
}
.gd-spec-list { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-spec-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border: 1px solid #e8e8e8; border-radius: 8px;
  background: #fff; font-size: 12px; color: #333; cursor: pointer;
  max-width: 100%;
}
.gd-spec-chip img {
  width: 28px; height: 28px; border-radius: 4px; object-fit: cover; background: #f5f5f5;
}
.gd-spec-chip.on { border-color: #ff5000; box-shadow: 0 0 0 1px #ff5000 inset; }

.gd-qty {
  display: flex; align-items: center; gap: 12px;
}
.gd-qty .lab { font-size: 13px; color: #666; }
.gd-stepper {
  display: inline-flex; align-items: stretch; border: 1px solid #ddd; border-radius: 4px; overflow: hidden;
}
.gd-stepper .op {
  width: 32px; border: 0; background: #fafafa; color: #333; font-size: 16px; cursor: pointer;
}
.gd-stepper input {
  width: 44px; height: 30px; border: 0; border-left: 1px solid #ddd; border-right: 1px solid #ddd;
  text-align: center; font-size: 14px; -moz-appearance: textfield;
}
.gd-stepper input::-webkit-outer-spin-button,
.gd-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gd-qty .stock { margin-left: auto; font-size: 12px; color: #999; }

.gd-shop {
  display: flex; align-items: center; gap: 10px;
  background: #fff; margin: 0 0 8px; padding: 12px; text-decoration: none; color: inherit;
}
.gd-shop img {
  width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #f5f5f5;
}
.gd-shop .mid { flex: 1; min-width: 0; }
.gd-shop .name { font-weight: 700; font-size: 14px; }
.gd-shop .sub { margin-top: 4px; font-size: 12px; color: #999; }
.gd-shop .go { color: #c48a00; font-size: 13px; font-weight: 700; }

.gd-desc {
  background: #fff; margin-bottom: 8px; padding: 12px;
}
.gd-desc .hd { font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.gd-detail-imgs { line-height: 0; margin: 0 -12px 8px; }
.gd-detail-imgs img { width: 100%; height: auto; display: block; vertical-align: top; }
.gd-desc .desc-html { font-size: 13px; line-height: 1.7; color: #444; overflow: hidden; }
.gd-desc .desc-html img { max-width: 100%; height: auto; border-radius: 8px; }

.gd-bottom .btn-ghost,
.gd-bottom .btn-primary {
  margin: 0; height: 42px; width: auto; text-align: center; line-height: 42px;
  text-decoration: none; font-size: 13px;
}
.gd-bottom .btn-primary {
  background: linear-gradient(90deg, #ff8000, #ff5000); color: #fff; border-radius: 21px;
}
.gd-bottom .btn-ghost { border-radius: 21px; }

/* —— 店铺页：头图 + 屎黄公告 + 上浮菜单 + 浅黄产品区 —— */
.shop-page {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 28px;
  box-sizing: border-box;
}
.shop-cover {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #333;
}
.shop-cover-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.shop-back {
  position: absolute; left: 12px; top: 12px; z-index: 3;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,0.35); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 22px; line-height: 1;
}
.shop-cover-brand {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: flex; align-items: center; gap: 10px; color: #fff;
}
.shop-cover-logo {
  width: 42px; height: 42px; border-radius: 50%; background: #fff; object-fit: contain;
}
.shop-cover-name { font-size: 17px; font-weight: 800; text-shadow: 0 1px 3px rgba(0,0,0,0.45); }
.shop-cover-en { margin-top: 2px; font-size: 11px; opacity: 0.95; letter-spacing: 0.5px; text-shadow: 0 1px 2px rgba(0,0,0,0.4); }

.shop-body {
  padding: 0 0 16px;
  position: relative;
  z-index: 2;
}

.shop-notice-band {
  padding: 12px 12px 16px;
  background: #9e8f5f;
}
.shop-notice-panel {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.shop-notice-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: #333;
}
.shop-notice-ico { flex-shrink: 0; }
.shop-notice-marquee {
  flex: 1; min-width: 0; overflow: hidden; white-space: nowrap;
}
.shop-notice-marquee span {
  display: inline-block; padding-left: 100%;
  animation: shop-marquee 14s linear infinite;
}
@keyframes shop-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.shop-menu-wrap {
  margin-top: 12px;
  padding: 0 4px;
  position: relative;
  z-index: 3;
}
.shop-menu-grid {
  display: flex; height: 132px; gap: 8px;
}
.shop-menu-main {
  width: 48%; border-radius: 14px; padding: 14px; box-sizing: border-box;
  color: #fff; position: relative; overflow: hidden; text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.shop-menu-main-name { font-size: 18px; font-weight: 800; }
.shop-menu-main-sub { margin-top: 6px; font-size: 11px; opacity: 0.85; letter-spacing: 0.3px; }
.shop-menu-main-art {
  position: absolute; right: 12px; bottom: 12px; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
}
.shop-menu-side { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.shop-menu-sm {
  flex: 1; border-radius: 14px; padding: 10px 12px; box-sizing: border-box;
  text-decoration: none; display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.shop-menu-sm-name { font-size: 15px; font-weight: 800; }
.shop-menu-sm-sub { margin-top: 3px; font-size: 10px; letter-spacing: 0.3px; }

.shop-rec-panel {
  margin-top: -8px;
  background: #fff8dc;
  border-radius: 16px 16px 0 0;
  padding: 16px 12px 16px;
  position: relative;
  z-index: 2;
  box-shadow: none;
}
.shop-rec-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.shop-rec-bar { width: 4px; height: 14px; border-radius: 2px; }
.shop-rec-title { font-size: 15px; font-weight: 800; color: #222; }

.shop-tabs {
  display: flex; gap: 4px; overflow-x: auto; margin-bottom: 10px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.shop-tabs::-webkit-scrollbar { display: none; }
.shop-tab {
  flex-shrink: 0; padding: 8px 10px; font-size: 13px; color: #888;
  text-decoration: none; border-bottom: 2px solid transparent;
}
.shop-tab.on { font-weight: 700; }

.shop-goods-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.shop-goods-card {
  background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit;
}
.shop-goods-cover-wrap { width: 100%; aspect-ratio: 1; overflow: hidden; background: #f5f0e0; }
.shop-goods-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-goods-title {
  padding: 8px 8px 0; font-size: 13px; line-height: 1.35; height: 2.7em; overflow: hidden;
}
.shop-goods-bottom {
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px;
  padding: 6px 8px 10px;
}
.shop-goods-price { font-size: 15px; font-weight: 800; }
.shop-goods-price .yen { font-size: 11px; }
.shop-goods-sold { font-size: 11px; color: #aaa; }

/* —— H5 我的订单（演示图布局 + 黄色主题） —— */
.od-page {
  min-height: 100vh;
  background: #f0f0f0;
  padding-bottom: 20px;
}
.od-head {
  position: relative;
  height: 44px;
  line-height: 44px;
  text-align: center;
  background: #fff;
}
.od-back {
  position: absolute;
  left: 4px;
  top: 0;
  width: 40px;
  text-align: center;
  font-size: 28px;
  color: #333;
  text-decoration: none;
}
.od-head-title {
  font-size: 17px;
  font-weight: 600;
  color: #222;
}
.od-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 8;
  border-bottom: 1px solid #eee;
  scrollbar-width: none;
}
.od-tabs::-webkit-scrollbar { display: none; }
.od-tab {
  flex: 0 0 auto;
  text-align: center;
  padding: 12px 14px 10px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}
.od-tab-txt {
  position: relative;
  display: inline-block;
  padding: 0 2px;
}
.od-tab-badge {
  position: absolute;
  top: -9px;
  right: -16px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #f5b800;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
}
.od-tab.on {
  color: #c48a00;
  font-weight: 700;
}
.od-tab.on::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 28px;
  height: 3px;
  margin-left: -14px;
  background: #f5b800;
  border-radius: 2px;
}
.od-list { padding: 0 0 24px; }
.od-card {
  background: #fff;
  margin-top: 10px;
  padding: 0 12px 12px;
}
.od-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.od-date { font-size: 13px; color: #999; }
.od-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #999;
}
.od-status.warn { color: #c48a00; font-weight: 600; }
.od-trash { font-size: 13px; opacity: 0.55; }
.od-goods-wrap { display: block; text-decoration: none; color: inherit; }
.od-goods {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0 10px;
}
.od-goods-cover {
  width: 70px;
  height: 70px;
  border-radius: 2px;
  object-fit: cover;
  background: #f5f5f5;
  flex-shrink: 0;
}
.od-goods-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #bbb;
}
.od-goods-mid { flex: 1; min-width: 0; padding-right: 4px; }
.od-goods-title {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.od-goods-right {
  text-align: right;
  flex-shrink: 0;
  min-width: 64px;
}
.od-goods-price { font-size: 13px; color: #333; }
.od-goods-qty { margin-top: 10px; font-size: 12px; color: #999; }
.od-sum {
  text-align: right;
  padding: 2px 0 12px;
  font-size: 12px;
  color: #666;
}
.od-sum-pay {
  margin-left: 6px;
  color: #666;
}
.od-sum-pay em {
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: #c48a00;
}
.od-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.od-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 30px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 15px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  background: #fff;
}
.od-btn.primary {
  border-color: #f5b800;
  background: #f5b800;
  color: #fff;
  font-weight: 700;
}
.od-empty {
  text-align: center;
  padding: 80px 20px 40px;
  background: #fff;
  margin-top: 10px;
}
.od-empty-ico {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 14px;
  background: #fff3cc; color: #c48a00; font-size: 22px; font-weight: 700;
  line-height: 56px;
}
.od-empty-txt { color: #999; font-size: 13px; margin-bottom: 16px; }
.od-empty-btn {
  display: inline-block; padding: 10px 28px; border-radius: 18px;
  background: #f5b800; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none;
}

/* —— 店铺 H5 到店核销 —— */
.staff-page { min-height: 100vh; background: linear-gradient(180deg, #f7f1df 0%, #f5f5f5 180px); padding-bottom: 40px; }
.staff-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  height: 48px; padding: 0 14px; background: #fff; border-bottom: 1px solid #eee;
  font-size: 16px; font-weight: 700; color: #222;
}
.staff-back { color: #333; text-decoration: none; font-size: 22px; line-height: 1; padding: 4px 8px 4px 0; }
.staff-logout { margin: 0; }
.staff-logout button {
  border: 0; background: transparent; color: #999; font-size: 13px; cursor: pointer; padding: 6px 0;
}
.staff-card {
  margin: 14px 12px; padding: 16px 14px; background: #fff; border-radius: 12px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.staff-title { font-size: 20px; font-weight: 800; color: #2b2408; margin-bottom: 6px; }
.staff-sub, .staff-tip { margin: 10px 0 0; font-size: 12px; color: #999; line-height: 1.6; }
.staff-shop { font-size: 17px; font-weight: 800; color: #2b2408; }
.staff-user { margin-top: 4px; font-size: 12px; }
.staff-form label { display: block; margin: 12px 0 6px; font-size: 13px; color: #666; }
.staff-form input[type="text"],
.staff-form input[type="password"],
.staff-form input[type="tel"] {
  width: 100%; box-sizing: border-box; height: 44px; padding: 0 12px;
  border: 1px solid #e6e0d0; border-radius: 10px; font-size: 16px; background: #fafafa;
}
.staff-form input:focus { outline: none; border-color: #c4a84a; background: #fff; }
.staff-form .btn-primary,
.staff-card .btn-primary {
  display: block; width: 100%; margin-top: 16px; height: 44px; border: 0; border-radius: 22px;
  background: #c4a84a; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
}
.staff-block-title { font-size: 15px; font-weight: 800; margin-bottom: 10px; color: #222; }
.staff-kv {
  display: flex; justify-content: space-between; gap: 12px; padding: 8px 0;
  border-bottom: 1px dashed #f0ebe0; font-size: 13px; color: #666;
}
.staff-kv strong, .staff-kv span:last-child { color: #222; text-align: right; word-break: break-all; }
.staff-code { letter-spacing: 4px; font-size: 20px; color: #9a7b1a !important; }
.staff-goods { margin-top: 12px; }
.staff-goods-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #f5f5f5;
}
.staff-goods-row img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #f5f5f5; flex-shrink: 0; }
.staff-goods-row .mid { flex: 1; min-width: 0; }
.staff-goods-row .t { font-size: 13px; color: #222; line-height: 1.4; }
.staff-goods-row .s { margin-top: 4px; font-size: 12px; color: #999; }
.staff-goods-row .p { font-size: 13px; color: #c48a00; font-weight: 700; }
.staff-ok {
  margin-top: 14px; padding: 12px; border-radius: 10px; background: #f3faf3; color: #2e7d32;
  font-size: 14px; font-weight: 700; text-align: center;
}
.staff-err {
  margin-top: 14px; padding: 12px; border-radius: 10px; background: #fff5f5; color: #c62828;
  font-size: 13px; text-align: center;
}
.staff-page .muted { color: #999; }
.staff-page .price { color: #c48a00; font-weight: 700; }

/* —— H5 JSAPI 支付 —— */
.pay-card { text-align: center; padding-top: 28px; padding-bottom: 24px; }
.pay-amount { font-size: 36px; font-weight: 800; color: #c48a00; letter-spacing: 1px; }
.pay-err {
  margin: 16px 0 0; padding: 12px; border-radius: 10px; background: #fff5f5; color: #c62828;
  font-size: 13px; line-height: 1.5; text-align: left;
}
.pay-card .btn-primary { margin-top: 20px; }

/* —— 收货地址（对齐小程序） —— */
.addr-page {
  min-height: 100vh;
  background: #fff9eb;
  padding: 0 0 0;
  box-sizing: border-box;
}
.addr-topbar {
  display: flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 14px; background: #fff;
  border-bottom: 1px solid #f0ebe0; font-size: 16px; font-weight: 700; color: #222;
  position: sticky; top: 0; z-index: 10;
}
.addr-back { color: #333; text-decoration: none; font-size: 22px; line-height: 1; padding: 4px 8px 4px 0; }
.addr-list { padding: 12px 12px 0; }
.addr-empty { padding: 60px 20px; text-align: center; }
.addr-empty-ico {
  width: 50px; height: 50px; line-height: 50px; margin: 0 auto; border-radius: 50%;
  background: #f5b800; color: #3d2e00; font-size: 20px; font-weight: 800;
}
.addr-empty-title { margin-top: 12px; font-size: 15px; font-weight: 700; color: #2b2416; }
.addr-empty-desc { margin-top: 6px; font-size: 12px; color: #8a7a55; }

.addr-card {
  background: #fff; border-radius: 10px; margin-bottom: 10px;
  box-shadow: 0 3px 9px rgba(245, 184, 0, 0.1); overflow: hidden;
}
.addr-body { display: block; padding: 14px 14px 10px; text-decoration: none; color: inherit; }
.addr-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.addr-name { font-size: 15px; font-weight: 700; color: #2b2416; }
.addr-mobile { font-size: 14px; color: #666; }
.addr-tag {
  font-size: 10px; padding: 1px 6px; border-radius: 3px;
  background: #f5b800; color: #3d2e00; font-weight: 600;
}
.addr-line { margin-top: 8px; font-size: 13px; color: #8a7a55; line-height: 1.5; }
.addr-ops {
  display: flex; justify-content: flex-end; align-items: center; gap: 4px;
  padding: 6px 8px 8px; border-top: 1px solid #f5f0e0;
}
.addr-op-form { margin: 0; display: inline; }
.addr-op {
  border: 0; background: transparent; font-size: 12px; color: #8a7a55;
  padding: 6px 10px; cursor: pointer; text-decoration: none;
}
.addr-op.danger { color: #c45c00; }

.addr-safe { height: calc(70px + env(safe-area-inset-bottom, 0px)); }
.addr-bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 249, 235, 0.96);
  box-shadow: 0 -2px 10px rgba(245, 184, 0, 0.12);
}
.addr-bottom.dual { display: flex; gap: 10px; }
.addr-bar-btn {
  flex: 1; display: block; height: 44px; line-height: 44px; text-align: center;
  background: #f5b800; color: #3d2e00; font-size: 15px; font-weight: 700;
  border-radius: 22px; text-decoration: none; border: 0; cursor: pointer;
  box-sizing: border-box;
}
.addr-bar-btn.ghost {
  background: #fff; color: #8a7a55; border: 1px solid #f0e2b8; line-height: 42px;
}

.form-page .addr-form { padding: 12px 12px 0; }
.addr-form-card {
  background: #fff; border-radius: 10px; overflow: hidden; margin-bottom: 10px;
  box-shadow: 0 3px 9px rgba(245, 184, 0, 0.1);
}
.addr-form-row {
  display: flex; align-items: center; min-height: 50px;
  padding: 0 14px; border-bottom: 1px solid #f5f0e0;
}
.addr-form-row:last-child { border-bottom: none; }
.addr-form-row.tap { cursor: pointer; }
.addr-form-row.tap:active { background: #fafafa; }
.addr-form-lab {
  width: 80px; flex-shrink: 0; font-size: 14px; color: #2b2416; font-weight: 600;
}
.addr-form-input {
  flex: 1; height: 50px; border: 0; outline: none; background: transparent;
  font-size: 14px; color: #333; text-align: right;
}
.addr-form-right {
  flex: 1; display: flex; align-items: center; justify-content: flex-end; min-width: 0;
}
.addr-form-val {
  font-size: 14px; color: #333; text-align: right;
  max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.addr-form-val.ph { color: #c4b48a; }
.addr-chev { margin-left: 4px; font-size: 16px; color: #ccc; }
.detail-row { align-items: flex-start; padding-top: 14px; padding-bottom: 14px; }
.addr-form-area {
  flex: 1; min-height: 60px; border: 0; outline: none; resize: none; background: transparent;
  font-size: 14px; color: #333; text-align: right; line-height: 1.5; font-family: inherit;
}
.addr-switch-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; min-height: auto;
}
.addr-form-tip { padding: 4px 6px 12px; font-size: 11px; color: #b8954a; }

.addr-switch { position: relative; display: inline-block; width: 48px; height: 28px; }
.addr-switch input { opacity: 0; width: 0; height: 0; }
.addr-switch-ui {
  position: absolute; inset: 0; background: #ddd; border-radius: 28px; transition: .2s; cursor: pointer;
}
.addr-switch-ui::before {
  content: ''; position: absolute; width: 24px; height: 24px; left: 2px; top: 2px;
  background: #fff; border-radius: 50%; transition: .2s;
}
.addr-switch input:checked + .addr-switch-ui { background: #f5b800; }
.addr-switch input:checked + .addr-switch-ui::before { transform: translateX(20px); }

.addr-sheet-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 40;
}
.addr-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
  width: 100%; max-width: 100vw; box-sizing: border-box;
  background: #fff; border-radius: 14px 14px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow: hidden;
}
.addr-sheet-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid #f0ebe0; font-weight: 700;
  box-sizing: border-box;
}
.addr-sheet-cancel, .addr-sheet-ok {
  border: 0; background: transparent; font-size: 14px; cursor: pointer; padding: 6px;
  flex-shrink: 0;
}
.addr-sheet-cancel { color: #999; }
.addr-sheet-ok { color: #c48a00; font-weight: 700; }
.addr-sheet-body {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 12px 18px; box-sizing: border-box;
  width: 100%; max-width: 100%;
}
.addr-sheet-sel {
  display: block; width: 100%; max-width: 100%;
  height: 42px; border: 1px solid #f0e2b8; border-radius: 8px;
  padding: 0 10px; font-size: 14px; background: #fffaf0;
  box-sizing: border-box;
  /* 避免长地区名撑破屏宽（部分浏览器按最长 option 定宽） */
  min-width: 0;
}
.addr-sheet-lab {
  display: block; font-size: 12px; color: #8a7a55; margin: 2px 0 -4px 2px;
}

.pay-mode-block {
  padding: 12px 0;
  border-bottom: 1px solid #f0ebe0;
  cursor: pointer;
}
.pay-mode-top,
.pay-mode-btm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pay-mode-lab {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}
.pay-mode-change {
  flex-shrink: 0;
  border: 0 !important;
  background: transparent !important;
  color: #222 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  width: auto !important;
  cursor: pointer;
  line-height: 1.2;
  display: inline-flex !important;
  align-items: center;
  gap: 2px;
  box-shadow: none !important;
}
.pay-mode-arrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #222;
  margin-left: 1px;
  transform: scale(1.05, 0.85);
}
.pay-mode-btm {
  margin-top: 8px;
}
.pay-mode-title {
  font-size: 14px;
  font-weight: 400 !important;
  color: #666;
}
.pay-mode-sub {
  font-size: 12px;
  color: #999;
  flex-shrink: 0;
}

.pay-confirm-mask {
  z-index: 200 !important;
}
.pay-confirm-sheet {
  z-index: 201 !important;
  padding: 12px 20px calc(16px + env(safe-area-inset-bottom));
  max-height: 88vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.pay-confirm-sheet[hidden],
.pay-confirm-mask[hidden] {
  display: none !important;
}
.pay-confirm-close {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #999;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}
.pay-confirm-amount {
  text-align: center;
  padding: 18px 40px 8px;
  font-size: 36px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.pay-confirm-yen {
  font-size: 22px;
  font-weight: 700;
  margin-right: 2px;
  vertical-align: 4px;
}
.pay-confirm-meta {
  margin: 8px 0 4px;
  border-top: 1px solid #f0f0f0;
}
.pay-confirm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #666;
}
.pay-confirm-row > span:last-child {
  color: #222;
  font-weight: 500;
  text-align: right;
}
.pay-confirm-cur {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pay-confirm-cur em {
  font-style: normal;
  font-weight: 600;
}
.pay-confirm-tools {
  margin-top: 14px;
}
.pay-confirm-tools-hd {
  font-size: 13px;
  color: #999;
  margin-bottom: 4px;
}
.pay-confirm-list {
  display: flex;
  flex-direction: column;
}
.pay-tool-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #f5f5f5;
  background: #fff;
  padding: 14px 0;
  cursor: pointer;
  box-sizing: border-box;
}
.pay-tool-item:last-child { border-bottom: 0; }
.pay-tool-item.disabled,
.pay-tool-item:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pay-tool-ico {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  font-style: normal;
}
.pay-tool-ico.cash {
  background: #07c160;
}
.pay-tool-ico.cash::before { content: '微'; }
.pay-tool-ico.gold {
  background: linear-gradient(135deg, #F5B800, #E6A000);
  color: #3d2e00;
}
.pay-tool-ico.gold::before { content: '金'; }
.pay-tool-ico.yinbei {
  background: linear-gradient(135deg, #b0bec5, #78909c);
}
.pay-tool-ico.yinbei::before { content: '银'; }
.pay-tool-main {
  flex: 1;
  min-width: 0;
}
.pay-tool-main b {
  font-size: 15px;
  color: #222;
  font-weight: 600;
}
.pay-tool-main small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #999;
  line-height: 1.35;
}
.pay-sheet-mix {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #fff3cc;
  color: #c48a00;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}
.pay-tool-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1677ff;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pay-tool-radio {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  box-sizing: border-box;
}
.pay-confirm-ft {
  margin-top: 8px;
}
.pay-confirm-btn {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.pay-confirm-btn:active { opacity: 0.88; }
.pay-confirm-foot {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  color: #bbb;
  line-height: 1.4;
}


