* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #1a1a2e; display: flex; justify-content: center; }
.hidden { display: none !important; }
.phone {
  width: 100%; max-width: 420px; height: 100vh; background: #f5f5f7;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.view { flex: 1; min-height: 0; position: relative; overflow: hidden; padding-bottom: 70px; }

/* 商城顶栏：左返回文字 + 居中标题 */
.mall-nav {
  flex-shrink: 0;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #4B2DE7 0%, #7c1d6f 100%);
  color: #fff;
  padding: 10px 12px;
  min-height: 44px;
  z-index: 60;
}
body:not(.embedded) .mall-nav { padding-top: 44px; }
.nav-back {
  min-width: 56px; border: none; background: rgba(255,255,255,.16);
  color: #fff; font-size: 14px; font-weight: 700; cursor: pointer;
  font-family: inherit; border-radius: 16px; padding: 6px 12px;
  text-decoration: none; text-align: center; line-height: 20px;
}
.nav-title { flex: 1; text-align: center; font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.nav-ph { min-width: 56px; }

.mall-header { background: linear-gradient(135deg, #4B2DE7 0%, #7c1d6f 100%); color: #fff; padding: 0 16px 14px; }
.list-head { padding-top: 4px; }
.head-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mall-title { font-size: 18px; font-weight: 700; }
.head-icons { display: flex; gap: 14px; }
.icon-btn { position: relative; font-size: 22px; cursor: pointer; padding: 2px; }
.badge { position: absolute; top: -6px; right: -10px; background: #ff4d4f; color: #fff; font-size: 10px; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 3px; }
.mall-search { background: rgba(255,255,255,.18); border-radius: 22px; padding: 9px 14px; display: flex; align-items: center; gap: 8px; }
.mall-search input { flex: 1; background: transparent; border: none; outline: none; color: #fff; font-size: 14px; }
.mall-search input::placeholder { color: rgba(255,255,255,.65); }

.detail-head { display: flex; align-items: center; padding: 12px 16px 14px; margin-bottom: 0; }
.detail-head .mall-title { flex: 1; margin: 0; text-align: center; }
.back, .back-ph { width: 30px; font-size: 26px; cursor: pointer; }

.cat-bar { display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; background: #fff; }
.cat-bar::-webkit-scrollbar { display: none; }
.cat-chip { flex-shrink: 0; padding: 6px 14px; border-radius: 16px; background: #f0ecff; color: #6a4de0; font-size: 13px; cursor: pointer; white-space: nowrap; }
.cat-chip.on { background: linear-gradient(135deg, #4B2DE7, #7c1d6f); color: #fff; }

.points-banner { position: relative; margin: 12px 16px; background: linear-gradient(135deg, #ffdf9e 0%, #f5c518 100%); border-radius: 14px; padding: 14px 42px 14px 18px; display: flex; align-items: center; justify-content: space-between; color: #7a4a00; transition: filter .2s, opacity .2s; }
.points-banner.is-locked { background: linear-gradient(135deg, #e4e4e7, #cfd1d6); color: #686b73; filter: grayscale(1); }
.pb-num { font-size: 22px; font-weight: 800; }
.pb-lab { font-size: 12px; }
.pb-right { font-size: 12px; font-weight: 600; }
.pb-help { position: absolute; right: 12px; top: 10px; width: 24px; height: 24px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: rgba(255,255,255,.36); color: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }

.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 4px 16px 24px; }
.prod-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); cursor: pointer; }
.prod-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #eee; }
.pc-body { padding: 8px 10px 12px; }
.pc-title { font-size: 13px; color: #222; font-weight: 600; line-height: 1.35; height: 36px; overflow: hidden; }
.pc-price { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; }
.pc-cash { color: #d81e06; font-weight: 700; font-size: 15px; }
.pc-point { color: #b8860b; font-size: 11px; }

/* 详情：顶栏 + 可滚内容 + 底部操作条固定可见 */
#detail-view.view,
#checkout-view.view {
  height: auto;
  min-height: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#detail-view .detail-scroll,
#checkout-view .detail-scroll {
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding-bottom: 16px;
}
#detail-view .d-actions,
#checkout-view .cart-bar {
  position: relative;
  flex-shrink: 0;
  bottom: auto;
  z-index: 30;
}

/* 其他页滚动区默认高度（购物车/订单等另有 tab-scroll） */
.detail-scroll { overflow-y: auto; padding-bottom: 90px; }

/* 头图轮播：横向滑动翻页，右下角页码 */
.d-carousel { position: relative; }
.d-car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.d-car-track::-webkit-scrollbar { display: none; }
.d-car-track img { width: 100%; flex-shrink: 0; aspect-ratio: 1; object-fit: cover; background: #eee; scroll-snap-align: center; }
.d-car-badge { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 12px; }

/* 商家卡片 */
.d-shop { display: flex; align-items: center; gap: 12px; background: #fff; margin-top: 10px; padding: 12px 16px; }
.ds-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #f0ecff; flex-shrink: 0; }
.ds-name { font-size: 14px; font-weight: 700; color: #222; }
.ds-intro { font-size: 12px; color: #999; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-main { flex: 1; min-width: 0; }

/* 商品详情长图（上下拼接） */
.d-detail-imgs { background: #fff; margin-top: 10px; padding-bottom: 4px; }
.ddi-head { font-size: 15px; font-weight: 700; color: #222; padding: 14px 16px 10px; }
.d-detail-imgs img { width: 100%; display: block; background: #eee; }
.d-body { padding: 16px; }
.d-title { font-size: 18px; font-weight: 700; color: #222; }
.d-price-row { display: flex; align-items: baseline; gap: 14px; margin: 12px 0; }
.d-cash { color: #d81e06; font-size: 24px; font-weight: 800; }
.d-point { color: #b8860b; font-size: 14px; font-weight: 600; }
.d-meta { font-size: 12px; color: #999; margin-bottom: 12px; }
.d-intro { font-size: 14px; color: #555; line-height: 1.7; }
.d-actions, .cart-bar { display: flex; gap: 10px; padding: 12px 16px; background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,.06); align-items: center; z-index: 20; }
#cart-view .cart-bar.above-tab {
  position: absolute; left: 0; right: 0; bottom: 56px;
}
.d-btn { flex: 1; border: none; border-radius: 24px; padding: 13px; font-size: 15px; font-weight: 600; cursor: pointer; }
.d-btn.ghost { background: #f0ecff; color: #4B2DE7; }
.d-btn.point { background: linear-gradient(135deg, #ffd166, #f5a623); color: #7a4a00; }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: rgba(0,0,0,.82); color: #fff; padding: 10px 18px; border-radius: 20px; font-size: 14px; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 99; }
.toast.on { opacity: 1; }

/* 京东式底栏 */
.mall-tabbar {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: 420px;
  height: 56px; background: #fff;
  display: flex; border-top: 1px solid #eee;
  z-index: 50; padding-bottom: env(safe-area-inset-bottom, 0);
}
.tab-item {
  flex: 1; border: none; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: #888; position: relative; font-family: inherit;
}
.tab-item.on { color: #4B2DE7; }
.tab-ico { font-size: 18px; line-height: 1; font-style: normal; }
.tab-lab { font-size: 11px; font-weight: 600; }
.tab-item .badge { top: 2px; right: calc(50% - 22px); }

.tab-scroll { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 80px; }
#cart-view.view:not(.hidden),
#orders-view.view:not(.hidden) {
  display: flex; flex-direction: column; overflow: hidden;
}
.view:not(.hidden) { overflow-y: auto; }
#detail-view.view:not(.hidden),
#checkout-view.view:not(.hidden) { overflow: hidden; }

.orders-subhead {
  background: #fff; padding: 10px 16px; font-size: 14px; font-weight: 700; color: #222;
  border-bottom: 1px solid #f0f0f0;
}

/* 我的 */
.mine-body { padding: 16px; }
.mine-points {
  background: linear-gradient(135deg, #ffdf9e 0%, #f5c518 100%);
  border-radius: 14px; padding: 20px 18px; color: #7a4a00; margin-bottom: 14px;
}
.mp-num { font-size: 28px; font-weight: 800; }
.mp-lab { font-size: 13px; margin-top: 4px; }
.mine-menu { background: #fff; border-radius: 14px; overflow: hidden; }
.mine-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px; font-size: 15px; color: #222; border-bottom: 1px solid #f5f5f5; cursor: pointer;
}
.mine-item:last-child { border-bottom: none; }
.mine-arrow { color: #ccc; font-size: 18px; }

/* 嵌入平台时隐藏 iframe 内顶栏，用外层「返回 + 楚商商城」，避免重复且保证返回可点 */
body.embedded .mall-nav { display: none; }
body.standalone-merchant .mall-nav .nav-back.nav-absent { visibility: hidden; }

/* 详情：收藏与评价 */
.d-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.d-title-actions { display: flex; flex-shrink: 0; align-items: center; gap: 8px; }
.d-fav, .d-share { border: 1px solid #eee; background: #fff; color: #999; border-radius: 16px; padding: 5px 12px; font-size: 13px; cursor: pointer; }
.d-fav.on { color: #e0245e; border-color: #f5c2d0; background: #fff5f8; }
.d-share { color: #4B2DE7; border-color: #ddd6f5; background: #f7f5ff; }
.product-share-panel { max-height: 86vh; overflow-y: auto; }
.product-share-poster-wrap {
  display: flex; justify-content: center; margin: 4px 0 14px; padding: 10px;
  border-radius: 14px; background: #f7f5f0;
}
.product-share-poster-wrap img {
  width: min(100%, 280px); border-radius: 12px; background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.d-reviews { background: #fff; margin-top: 10px; padding: 14px 16px; }
.dr-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 700; color: #222; margin-bottom: 10px; }
.dr-summary { font-size: 12px; font-weight: 600; color: #f5a623; }
.dr-item { padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.dr-item:last-child { border-bottom: none; }
.dr-top { display: flex; align-items: center; justify-content: space-between; }
.dr-user { font-size: 13px; color: #333; font-weight: 600; }
.dr-stars { color: #f5a623; font-size: 12px; letter-spacing: 1px; }
.dr-content { font-size: 13px; color: #555; line-height: 1.6; margin: 6px 0; }
.dr-foot { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #aaa; }
.dr-like { cursor: pointer; color: #888; }
.dr-like.on { color: #e0245e; }
.dr-empty { text-align: center; color: #999; font-size: 13px; padding: 20px 0; }

/* 购物车 */
.cart-item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f0f0f0; background: #fff; }
.cart-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #eee; flex-shrink: 0; }
.ci-main { flex: 1; min-width: 0; }
.ci-title { font-size: 14px; color: #222; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-meta { font-size: 12px; color: #999; margin-top: 4px; }
.ci-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.ci-price { color: #d81e06; font-weight: 700; font-size: 14px; }
.qty-ctl { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 24px; height: 24px; border-radius: 50%; background: #f0ecff; color: #4B2DE7; display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 700; }
.qty-num { min-width: 20px; text-align: center; font-size: 14px; }
.ci-del { font-size: 12px; color: #999; margin-left: 10px; cursor: pointer; }
.cart-total { flex: 1; font-size: 14px; color: #333; }
.cart-total b { color: #d81e06; font-size: 17px; }
.cart-total span { color: #b8860b; font-size: 12px; }
.empty-tip { text-align: center; color: #999; padding: 60px 20px; font-size: 14px; }

/* 结算 */
.co-block { background: #fff; margin: 10px 16px; border-radius: 12px; padding: 14px; }
.co-label { font-size: 13px; color: #666; font-weight: 700; margin-bottom: 10px; }
.co-block .ipt { width: 100%; border: 1px solid #eee; background: #fafafa; border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 8px; outline: none; }
.co-block .ipt:last-child { margin-bottom: 0; }
.co-item-row { display: flex; justify-content: space-between; font-size: 13px; color: #555; padding: 4px 0; }
.pay-opt { border: 1px solid #eee; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; }
.pay-opt.on { border-color: #4B2DE7; background: #f7f5ff; }
.pay-opt.is-locked { opacity: .45; filter: grayscale(1); }
.pay-opt-title { font-size: 14px; font-weight: 600; color: #222; }
.pay-opt-sub { font-size: 12px; color: #999; margin-top: 3px; }
.mixed-points-box { margin-top: 2px; padding: 12px; border-radius: 10px; background: #f7f5ff; }
.mixed-points-row { display: grid; grid-template-columns: auto minmax(72px,1fr) auto; gap: 8px; align-items: center; }
.mixed-points-row label { color: #555; font-size: 13px; font-weight: 600; }
.mixed-points-row input { min-width: 0; height: 34px; padding: 0 9px; border: 1px solid #d9d1ff; border-radius: 8px; background: #fff; color: #222; font-size: 14px; outline: none; }
.mixed-points-row button { height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: #6a4de0; color: #fff; font-size: 12px; cursor: pointer; }
.mixed-points-tip { margin-top: 8px; color: #777; font-size: 12px; line-height: 1.55; }

/* 结果页 */
.result-body { text-align: center; padding: 60px 24px; }
.result-icon { font-size: 48px; margin-bottom: 16px; }
.result-msg { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 28px; }
.result-body .d-btn { display: block; width: 100%; margin-bottom: 10px; }

/* 订单列表 */
.order-card { background: #fff; margin: 10px 16px; border-radius: 12px; padding: 14px; }
.order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.order-no { font-size: 12px; color: #999; }
.order-status { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.order-status.pending_pay { background: #fff3e0; color: #e08a00; }
.order-status.paid { background: #e6f7ec; color: #1a9e52; }
.order-status.shipped { background: #e8f0ff; color: #2563eb; }
.order-status.completed { background: #f0f0f0; color: #666; }
.order-status.closed { background: #fdeaea; color: #d33; }
.order-item-row { display: flex; gap: 10px; padding: 6px 0; }
.order-item-row img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.order-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #eee; }
.order-total { font-size: 13px; color: #333; }
.order-total b { color: #d81e06; }
.order-op { display: flex; gap: 8px; }
.order-btn { font-size: 12px; padding: 6px 12px; border-radius: 14px; border: 1px solid #4B2DE7; color: #4B2DE7; cursor: pointer; background: #fff; }
.order-card { cursor: pointer; }
.order-card:active { opacity: .92; }
.order-as-tag { font-size: 11px; color: #e08a00; background: #fff3e0; padding: 2px 8px; border-radius: 10px; margin-left: 6px; }

/* 订单详情 · 物流 */
.od-scroll { padding-bottom: 24px; }
.od-block { background: #fff; margin: 10px 16px; border-radius: 12px; padding: 14px; }
.od-label { font-size: 13px; font-weight: 700; color: #222; margin-bottom: 10px; }
.od-status-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.od-express { font-size: 13px; color: #555; line-height: 1.6; }
.od-express b { color: #222; }
.log-list { margin-top: 12px; padding-left: 4px; }
.log-node { display: flex; gap: 12px; position: relative; padding-bottom: 16px; }
.log-node:last-child { padding-bottom: 0; }
.log-node::before {
  content: ''; position: absolute; left: 5px; top: 14px; bottom: 0; width: 1px; background: #e8e8e8;
}
.log-node:last-child::before { display: none; }
.log-dot {
  width: 11px; height: 11px; border-radius: 50%; background: #ddd; margin-top: 4px; flex-shrink: 0; z-index: 1;
}
.log-node.on .log-dot { background: #4B2DE7; box-shadow: 0 0 0 3px rgba(75,45,231,.15); }
.log-node.on .log-text { color: #222; font-weight: 600; }
.log-main { flex: 1; min-width: 0; }
.log-text { font-size: 13px; color: #888; line-height: 1.5; }
.log-time { font-size: 11px; color: #aaa; margin-top: 4px; }
.od-addr { font-size: 13px; color: #555; line-height: 1.7; }
.od-foot-actions { display: flex; gap: 10px; margin-top: 8px; }
.od-foot-actions .d-btn { flex: 1; }

/* 退货弹层 */
.as-sheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.as-sheet.hidden { display: none !important; }
.as-mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.as-panel {
  position: relative; width: 100%; max-width: 420px; background: #fff;
  border-radius: 16px 16px 0 0; padding: 18px 16px 24px; z-index: 1;
}
.as-title { font-size: 16px; font-weight: 700; color: #222; text-align: center; }
.as-tip { font-size: 13px; color: #888; margin: 10px 0 12px; line-height: 1.5; }
.as-reason {
  width: 100%; border: 1px solid #eee; border-radius: 10px; padding: 10px 12px;
  font-size: 14px; resize: none; outline: none; margin-bottom: 12px; font-family: inherit;
}
.as-panel .d-btn { width: 100%; margin-bottom: 8px; display: block; }
.as-sheet.is-center { align-items: center; padding: 16px; }
.as-sheet.is-center .as-panel { border-radius: 14px; max-height: 86vh; overflow: auto; }

.wx-friend-panel { padding: 0 0 16px; max-height: 72vh; display: flex; flex-direction: column; }
.wx-friend-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; border-bottom: 1px solid #f0f0f0; }
.wx-friend-head b { font-size: 16px; font-weight: 700; }
.wx-friend-cancel { border: 0; background: transparent; color: #666; font-size: 15px; padding: 4px 0; cursor: pointer; }
.wx-friend-ph { width: 40px; }
.wx-friend-tip { padding: 10px 16px 6px; font-size: 12px; color: #888; }
.wx-friend-list { overflow: auto; flex: 1; }
.wx-friend-item {
  width: 100%; border: 0; background: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  font: inherit; text-align: left; cursor: pointer; border-bottom: 1px solid #f5f5f5;
}
.wx-friend-item:active { background: #f7f7f7; }
.wx-friend-av {
  width: 42px; height: 42px; border-radius: 6px; background: #07c160; color: #fff; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wx-friend-name { font-size: 15px; color: #222; }

.peer-pay-confirm-panel { text-align: center; padding: 22px 18px 18px; }
.ppc-title { font-size: 16px; font-weight: 700; color: #222; }
.ppc-amount { margin: 10px 0 6px; font-size: 28px; font-weight: 800; color: #111; }
.ppc-body { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 16px; text-align: left; }
.ppc-actions { display: flex; gap: 10px; }
.ppc-actions .d-btn { flex: 1; margin: 0; }

.peer-wait-body .peer-wait-avatar {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 12px; background: #07c160; color: #fff;
  font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.peer-wait-body.is-paid .peer-wait-avatar { background: var(--mall-red); }
.peer-wait-sub { font-size: 14px; color: #666; margin: 8px 0 4px; }
.peer-wait-amount { font-size: 20px; font-weight: 800; color: #111; margin-bottom: 24px; }

/* 2026-08 商城首页：灰白底 + 黑白高对比（参考鞋帽箱包页） */
:root { --mall-red:#c81d25; --mall-ink:#1a1a1a; --mall-gray:#f5f5f5; --mall-line:#ececec; --mall-muted:#888; }
body { background:#e8e8e8; }
.phone { background:#f5f5f5; color:var(--mall-ink); position:relative; }
.mall-nav { background:#fff; color:#222; border-bottom:1px solid var(--mall-line); }
.nav-back { background:transparent; color:#222; font-size:13px; padding:5px 4px; }
.nav-back.nav-absent { visibility:hidden; pointer-events:none; }
.nav-back.is-arrow { min-width:56px; font-size:29px; line-height:20px; font-weight:400; }
.nav-back.is-filter { min-width:72px; font-size:13px; font-weight:700; white-space:nowrap; }
.nav-title { color:#222; }
.view { padding-bottom:60px; }
#list-view { background:#f5f5f5; overflow-y:auto; }
.home-mint { padding:12px 12px 4px; background:#f5f5f5; }
.home-brand-row { position:relative; display:flex; align-items:center; justify-content:space-between; min-height:42px; padding-bottom:10px; }
.home-brand { color:#111; font-weight:800; font-size:18px; padding:4px; transition:opacity .18s ease; }
.home-brand-row.searching .home-brand { opacity:0; pointer-events:none; }
.home-brand span { margin-left:8px; color:var(--mall-muted); font-size:11px; font-weight:500; }
.mall-search { background:#fff; border:1px solid #e5e5e5; box-shadow:none; color:#888; }
.mall-search input { color:#222; }
.mall-search input::placeholder { color:#aaa; }
.home-search-shell { position:absolute; right:0; top:1px; width:72px; height:34px; display:flex; align-items:center; justify-content:flex-end; border:1px solid #e5e5e5; border-radius:18px; background:#fff; transition:width .24s ease,background .2s ease,border-color .2s ease; overflow:hidden; z-index:2; }
.home-search-shell.searching { width:100%; border-color:#ddd; }
.home-search-shell input { width:0; min-width:0; padding:0; border:0; outline:0; opacity:0; background:transparent; font:13px/1.4 inherit; transition:width .22s ease,opacity .15s ease,padding .22s ease; }
.home-search-shell.searching input { flex:1; width:auto; padding-left:13px; opacity:1; }
.home-search-trigger { flex:0 0 72px; height:32px; border:0; border-radius:16px; background:#1a1a1a; color:#fff; display:flex; flex-direction:row; align-items:center; justify-content:center; gap:6px; cursor:pointer; font-family:inherit; }
.home-search-trigger b { display:none; }
.home-search-trigger small { font-size:12px; line-height:1.2; white-space:nowrap; font-weight:600; }
.home-search-shell.searching .home-search-trigger { flex:0 0 56px; background:#1a1a1a; }
.home-gift-module { margin:8px 12px 0; padding:12px; border-radius:5px; background:#fff; border:1px solid var(--mall-line); }
.home-liyou-module { margin:4px 12px 0; padding:14px 6px 16px; border-radius:5px; background:linear-gradient(180deg,#fff9f6 0%,#fff 42%); border:1px solid #f3d4d4; }
.home-liyou-row + .home-liyou-row { margin-top:4px; }
.home-liyou-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:6px 2px; }
.home-liyou-grid button { min-width:0; border:0; padding:0; background:transparent; color:#666; font:10px/1.25 inherit; cursor:pointer; display:flex; flex-direction:column; align-items:center; }
.home-liyou-grid button em { display:block; width:100%; margin-top:0; overflow:hidden; color:#666; font-style:normal; text-overflow:ellipsis; white-space:nowrap; text-align:center; line-height:1.3; }
.home-liyou-grid .gift-round.gift-char { width:40px; height:40px; margin:0 auto 5px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:radial-gradient(circle at 30% 24%,#d4332e 0%,#c82823 24%,#a51712 62%,#6b1818 100%); border:1px solid #8f1410; box-shadow:0 2px 6px rgba(91,25,27,.32),inset 0 1px 0 rgba(255,220,180,.22); }
.home-liyou-grid .gift-round.gift-char b { font-size:19px; font-weight:800; color:#fff0d0; line-height:1; font-family:"PingFang SC","Microsoft YaHei",sans-serif; text-shadow:0 1px 2px rgba(60,8,8,.35); }
.home-gift-head { margin-bottom:10px; }
.home-gift-head b { font-size:15px; font-weight:800; color:#111; }
.home-filter-tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-bottom:0; }
.home-filter-tabs-6 { grid-template-columns:repeat(3,1fr); }
@media (min-width:360px) {
  .home-filter-tabs-6 { grid-template-columns:repeat(6,1fr); }
}
.home-filter-tabs button { position:relative; min-width:0; box-sizing:border-box; border:1px solid #e8e8e8; border-radius:5px; padding:8px 2px; color:#444; background:#fafafa; font:600 10px/1.2 inherit; white-space:nowrap; cursor:pointer; }
.home-filter-tabs button.on { background:#1a1a1a; color:#fff; border-color:#1a1a1a; }
.home-filter-tabs button.has-value:not(.on)::after { content:''; position:absolute; right:4px; top:4px; width:5px; height:5px; border-radius:50%; background:var(--mall-red); }
.home-cats-shell { margin-top:14px; min-height:160px; padding-top:4px; }
.home-cats { display:grid; grid-template-columns:repeat(5,1fr); gap:12px 5px; padding:0; min-height:156px; align-content:start; }
.home-gift-tags { gap:12px 5px; padding:0; min-height:156px; align-content:start; }
.home-gift-tags.price-layout { grid-template-columns:repeat(5,1fr); }
.home-gift-tags button { min-width:0; border:0; padding:0; background:transparent; color:#555; font:11px/1.3 inherit; cursor:pointer; display:flex; flex-direction:column; align-items:center; }
.gift-round { width:48px; height:48px; margin:0 auto 10px; display:block; flex-shrink:0; overflow:hidden; border-radius:50%; background:#efefef; border:1px solid #e5e5e5; transition:box-shadow .16s ease; }
.gift-round img { width:100%; height:100%; object-fit:cover; }
.home-gift-tags button em { display:block; width:100%; margin-top:0; overflow:hidden; color:#555; font-style:normal; text-overflow:ellipsis; white-space:nowrap; text-align:center; line-height:1.35; }
.home-gift-tags button.on .gift-round { box-shadow:0 0 0 2px #fff,0 0 0 3px #1a1a1a; }
.home-gift-tags button.on em { color:#111; font-weight:700; }
.home-zones {
  display:flex;
  flex-direction:column;
  gap:0;
  padding:8px 0 20px;
  background:var(--mall-gray, #f5f5f5);
}
.home-zone {
  margin-top:0;
  min-width:0;
  padding:12px;
  border-radius:0;
  background:transparent;
  border:0;
}
.home-zone--feature {
  padding:14px 12px 6px;
}
.home-zone--feature .zone-head--hero b,
.home-zone--feature .zone-head b,
.home-zone--duo .zone-head b,
.zone-head b {
  font-size:22px;
  font-weight:900;
  letter-spacing:.5px;
  color:#111;
}
.home-zone--feature .zone-head span,
.home-zone--duo .zone-head span,
.zone-head span {
  font-size:12px;
  color:var(--mall-muted);
  margin-top:2px;
}
.home-zone--duo {
  padding:16px 12px 18px;
  background:#fff;
  border-top:8px solid var(--mall-gray, #f5f5f5);
}
.zone-head { display:flex; flex-direction:column; align-items:flex-start; gap:2px; margin-bottom:10px; }
.zone-body { min-width:0; }
.zone-stack { display:flex; flex-direction:column; gap:10px; }
.zone-row-card {
  display:flex; align-items:flex-start; gap:12px; width:100%;
  padding:10px; border-radius:5px; background:#fff;
  border:1px solid #ececec; cursor:pointer; text-align:left; font-family:inherit;
}
.zone-row-img { width:88px; height:88px; border-radius:5px; object-fit:cover; flex-shrink:0; background:#f3f3f3; display:block; }
.zone-row-main { flex:1; min-width:0; }
.zone-row-title { font-size:14px; font-weight:700; color:#111; line-height:1.45; }
.zone-row-sub { margin-top:6px; font-size:11px; color:var(--mall-muted); line-height:1.35; }
.zone-row-foot, .zone-card-foot {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  margin-top:8px;
}
.zone-price { color:#d81e06; font-weight:800; font-size:15px; flex-shrink:0; }
.zone-card-foot .zone-price { font-size:13px; }
.zone-add-cart {
  width:30px; height:30px; border:0; border-radius:50%;
  background:var(--mall-dark,#1a1a1a); color:#fff; font-size:17px; line-height:1;
  padding:0; cursor:pointer; font-family:inherit; flex-shrink:0;
  display:inline-flex; align-items:center; justify-content:center;
}
.zone-body--duo {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
.zone-body--custom-duo { grid-template-columns:1fr; }
.zone-card { position:relative; min-width:0; width:100%; border:0; padding:0; background:#fff; border-radius:5px; overflow:hidden; text-align:left; font-family:inherit; cursor:pointer; border:1px solid #f0f0f0; }
.zone-card-single .zone-card-img { aspect-ratio:1.05; }
.zone-card-duo .zone-card-img { aspect-ratio:1; }
.zone-card-duo .zone-card-body { padding:8px 6px 10px; }
.zone-card-duo .zone-card-title { font-size:12px; min-height:34px; }
.zone-card-custom { width:100%; min-height:168px; background:#1a1a1a; color:#fff; border-color:#1a1a1a; }
.zone-card-custom--feature { min-height:140px; border-radius:5px; }
.zone-card-custom--duo { grid-column:1 / -1; min-height:148px; }
.zone-custom-inner { height:100%; min-height:168px; padding:14px 12px; display:flex; flex-direction:column; justify-content:center; }
.zone-card-custom--feature .zone-custom-inner,
.zone-card-custom--duo .zone-custom-inner { min-height:140px; }
.zone-card-img { width:100%; aspect-ratio:1; object-fit:cover; display:block; background:#f3f3f3; }
.zone-card-body { padding:8px 8px 10px; }
.zone-card-title { font-size:12px; font-weight:600; color:#222; line-height:1.35; min-height:32px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.zone-custom-inner b { font-size:14px; font-weight:800; }
.zone-custom-inner span { margin-top:6px; font-size:10px; opacity:.75; }
.zone-custom-inner em { margin-top:10px; font-style:normal; font-size:11px; font-weight:700; }
.zone-empty { padding:20px 6px; text-align:center; color:#999; font-size:12px; }
#gift-tag-view.gift-tag-view {
  position:absolute; left:0; right:0; bottom:0;
  z-index:45; background:#fff;
  transform:translateX(100%);
  transition:transform .28s cubic-bezier(.22,.8,.22,1);
  display:flex; flex-direction:column; overflow:hidden;
  padding-bottom:56px;
}
body:not(.embedded) #gift-tag-view.gift-tag-view { top:88px; }
body.embedded #gift-tag-view.gift-tag-view { top:0; }
#gift-tag-view.gift-tag-view.slide-in { transform:translateX(0); }
#list-view.search-mode .home-hero,
#list-view.search-mode .home-notice,
#list-view.search-mode .home-liyou-module,
#list-view.search-mode > .home-gift-module,
#list-view.search-mode > .home-zones { display:none; }
#list-view.search-mode .home-mint { min-height:calc(100vh - 104px); background:#fff; }
.home-search-stage { padding:55px 0 20px; }
.home-search-prompt { min-height:190px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#aaa; }
.home-search-prompt::before { content:'⌕'; font-size:42px; line-height:1; color:#d8ddd8; margin-bottom:16px; }
.home-search-prompt b { color:#656b66; font-size:15px; margin-bottom:8px; }
.home-search-prompt span { font-size:12px; }
.home-search-results { padding:0; }
.home-search-none { grid-column:1/-1; padding:60px 10px; text-align:center; color:#999; font-size:13px; }
.home-hero { position:relative; margin:0 -12px 14px; height:176px; background:#1c1c1c; overflow:hidden; border-radius:0; }
.home-hero-track { display:flex; height:100%; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.home-hero-track::-webkit-scrollbar { display:none; }
.home-hero-slide {
  position:relative; flex:0 0 100%; height:100%; border:0; padding:0;
  background:#222; font-family:inherit; text-align:left; cursor:pointer; overflow:hidden;
}
.home-hero-slide img { width:100%; height:100%; object-fit:cover; display:block; }
.home-hero-slide::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(20,16,12,.55) 0%,rgba(20,16,12,.18) 46%,transparent 72%);
}
.home-hero-copy { position:absolute; left:16px; top:22px; z-index:1; color:#fff; }
.home-hero-copy small { display:block; font-size:10px; letter-spacing:2px; font-weight:600; opacity:.92; }
.home-hero-copy b { display:block; margin-top:6px; font-size:26px; line-height:1.15; font-weight:900; letter-spacing:1px; }
.home-hero-copy em {
  display:inline-block; margin-top:12px; padding:5px 10px; border-radius:3px;
  background:rgba(28,28,28,.55); color:#fff; font-style:normal; font-size:11px; font-weight:600;
}
.home-hero-dots { position:absolute; right:12px; bottom:10px; z-index:2; display:flex; gap:5px; }
.home-hero-dots i { width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.42); }
.home-hero-dots i.on { background:#fff; }
.home-notice {
  display:flex; align-items:center; gap:8px; margin:0 0 4px; padding:12px 10px;
  background:#fff; border-radius:5px;
}
.home-notice-tag {
  flex-shrink:0; padding:4px 7px; border-radius:3px; background:#3a3a3a; color:#fff;
  font-size:10px; font-weight:700; letter-spacing:.3px;
}
.home-notice-line { flex-shrink:0; width:1px; height:14px; background:#ddd; }
.home-notice-text { flex:1; min-width:0; overflow:hidden; white-space:nowrap; }
.home-notice-text span { display:inline-block; color:#222; font-size:12px; padding-right:40px; animation:home-notice-marquee 16s linear infinite; }
@keyframes home-notice-marquee {
  0% { transform:translateX(0); }
  100% { transform:translateX(-50%); }
}
.home-ads { display:grid; grid-template-columns:2fr 1fr; gap:8px; margin-top:0; }
.home-ad { position:relative; min-height:132px; border:0; border-radius:5px; padding:14px; font-family:inherit; display:flex; flex-direction:column; justify-content:center; cursor:pointer; overflow:hidden; color:#fff; text-align:left; }
.home-ad img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none; }
.home-ad::after { content:''; position:absolute; inset:0; }
.home-ad.major { background:#2a1c14; }
.home-ad.major img { object-position:center 42%; }
.home-ad.major::after { background:linear-gradient(90deg,rgba(22,12,8,.72) 0%,rgba(22,12,8,.38) 48%,rgba(22,12,8,.16) 100%); }
.home-ad.minor { background:#16120f; }
.home-ad.minor img { object-position:center 58%; }
.home-ad.minor::after { background:linear-gradient(180deg,rgba(12,10,8,.58) 0%,rgba(12,10,8,.42) 100%); }
.home-ad small,
.home-ad strong,
.home-ad span { position:relative; z-index:1; text-shadow:0 1px 8px rgba(0,0,0,.45); }
.home-ad small { font-size:10px; margin-bottom:4px; }
.home-ad strong { font-size:29px; line-height:1.1; font-weight:900; letter-spacing:2px; }
.home-ad.minor strong { font-size:18px; }
.home-ad span { font-size:10px; margin-top:8px; }
.consult-bar { width:calc(100% - 24px); margin:9px 12px 0; border:0; border-radius:5px; background:#fff0ed; color:#343434; padding:13px 12px; display:flex; align-items:center; gap:9px; font-family:inherit; cursor:pointer; }
.consult-bar b { color:#e2332f; }
.consult-bar span:last-child { margin-left:auto; font-size:11px; }
.consult-icon { color:#f04a43; font-size:22px; }
.price-section { margin:10px 12px; padding:12px; border-radius:5px; background:#fffcf0; }
.section-title { color:#555; font-size:13px; margin-bottom:10px; }
.section-title.row { display:flex; align-items:center; justify-content:space-between; font-size:14px; }
.section-title.row button { border:0; background:transparent; color:#999; }
.price-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.price-grid button { border:0; border-radius:5px; padding:10px 2px; background:#f5f5f5; color:#303030; cursor:pointer; }
.price-grid button.on { background:#ffe7e4; color:var(--mall-red); box-shadow:inset 0 0 0 1px #f8b5b0; }
.seckill-section { margin:10px 12px; padding:12px; border-radius:5px; background:#fff; }
.seckill-section .section-title.row { gap:8px; }
.seckill-count { flex:1; display:flex; align-items:center; gap:4px; color:#333; font-size:11px; font-weight:700; }
.seckill-count i { display:inline-flex; min-width:18px; height:18px; padding:0 4px; align-items:center; justify-content:center; border-radius:3px; background:#2c2b2f; color:#fff; font-style:normal; font-size:10px; }
.seckill-list { display:flex; gap:10px; overflow-x:auto; padding-bottom:2px; scrollbar-width:none; }
.seckill-list::-webkit-scrollbar { display:none; }
.seckill-card { flex:0 0 112px; border:0; background:transparent; padding:0; font-family:inherit; text-align:left; cursor:pointer; }
.seckill-card img { width:112px; height:112px; object-fit:cover; border-radius:5px; background:#f3f3f3; display:block; }
.seckill-card b { display:block; margin-top:6px; color:#333; font-size:12px; line-height:1.35; height:32px; overflow:hidden; font-weight:600; }
.seckill-card span { display:block; margin-top:4px; color:var(--mall-red); font-size:14px; font-weight:800; }
.seckill-card small { color:#aaa; font-size:10px; font-weight:400; margin-left:4px; text-decoration:line-through; }
.points-banner { margin:10px 12px; background:linear-gradient(135deg,#f8ece0,#f2d4a6); color:#875b25; border-radius:5px; }
.recommend-head { padding:7px 16px 9px; font-size:16px; font-weight:800; }
.prod-grid { gap:10px; padding:0 12px 24px; }
.prod-grid.is-masonry {
  display:flex; align-items:flex-start; gap:10px; padding:0 12px 24px;
}
.prod-grid.is-masonry .prod-col { flex:1; min-width:0; display:flex; flex-direction:column; gap:10px; }
.prod-grid.is-masonry .prod-col .prod-card:first-child img { aspect-ratio:1; }
.prod-grid.is-masonry .prod-col:first-child .prod-card:nth-child(even) img { aspect-ratio:3/4; }
.prod-grid.is-masonry .prod-col:last-child .prod-card:nth-child(even) img { aspect-ratio:6/5; }
.prod-grid.is-masonry .prod-col .prod-card:nth-child(odd):not(:first-child) img { aspect-ratio:1; }
.home-search-results.is-masonry { padding:0; }
.cart-recommend .prod-grid.is-masonry { padding:0; }
.prod-empty { flex:1; text-align:center; color:#999; padding:40px 12px; }
.prod-more {
  display:block; width:calc(100% - 24px); margin:2px 12px 22px; border:0; border-radius:5px;
  background:#fff; color:#555; padding:12px; font:600 13px/1 inherit; cursor:pointer;
}
#list-view .prod-card,
#gift-tag-view .prod-card { position:relative; border-radius:5px; box-shadow:0 1px 8px rgba(0,0,0,.05); }
.prod-card { position:relative; border-radius:10px; box-shadow:0 1px 8px rgba(0,0,0,.05); }
.pc-title { height:35px; }.pc-price { align-items:center; }.pc-point { display:none; }
.pc-sales { color:#999; font-size:10px; margin-top:5px; }
.quick-cart { position:absolute; right:10px; bottom:12px; width:30px; height:30px; border:0; border-radius:50%; background:var(--mall-dark); color:#fff; font-size:17px; cursor:pointer; }

/* 产品分类 */
#category-view { display:flex; flex-direction:column; background:#fff; overflow:hidden; }
.category-search { margin:14px 16px; flex-shrink:0; background:#f6f6f6; box-shadow:none; }
.category-layout { flex:1; min-height:0; display:grid; grid-template-columns:105px 1fr; border-top:1px solid #fafafa; }
.category-aside { overflow-y:auto; background:#f6f6f6; }
.category-aside button { width:100%; border:0; border-left:3px solid transparent; background:transparent; padding:18px 8px; color:#474747; font-family:inherit; font-size:14px; cursor:pointer; }
.category-aside button.on { background:#fff; color:#191919; font-weight:800; border-left-color:#242329; }
.category-products { overflow-y:auto; padding:10px; }
.category-card { position:relative; min-height:88px; display:flex; align-items:center; gap:10px; margin-bottom:10px; border:1px solid #eee; border-radius:7px; padding:8px; background:#fff; cursor:pointer; }
.category-card img { width:72px; height:72px; object-fit:cover; border-radius:5px; background:#f2f2f2; flex-shrink:0; }
.category-info { flex:1; min-width:0; display:flex; flex-direction:column; justify-content:center; gap:7px; padding-right:28px; }
.category-title { font-size:12px; line-height:1.4; color:#333; max-height:34px; overflow:hidden; font-weight:600; }
.category-price { margin:0; color:#c81d25; font-size:14px; font-weight:700; }
.category-price small { color:#999; text-decoration:line-through; font-size:11px; font-weight:400; margin-left:6px; }
.category-sales { color:#aaa; font-size:10px; margin:0; }
.category-add { position:absolute; right:10px; bottom:12px; width:22px; height:22px; border:0; border-radius:50%; background:#29282e; color:#fff; font-size:15px; line-height:22px; padding:0; cursor:pointer; }
.discount-tag { position:absolute; left:9px; top:9px; background:#2c2b2f; color:#fff; font-size:10px; padding:3px 5px; z-index:1; }
.category-empty { text-align:center; color:#999; padding:60px 10px; font-size:13px; }

/* 购物车和会员中心 */
.page-title { height:46px; display:flex; align-items:center; justify-content:center; background:#fff; font-weight:700; border-bottom:1px solid #eee; }
.cart-empty { min-height:450px; background:linear-gradient(#f6f6f6,#fbfbfb); display:flex; flex-direction:column; align-items:center; justify-content:center; color:#aaa; }
.empty-bag { width:150px; height:110px; border-radius:18px 18px 44px 44px; background:linear-gradient(145deg,#fff,#e7e7e7); box-shadow:0 12px 30px rgba(0,0,0,.06); display:flex; align-items:center; justify-content:center; font-size:48px; margin-bottom:28px; }
.empty-go { margin-top:20px; border:0; border-radius:23px; background:#28272d; color:#fff; padding:12px 38px; font-size:15px; cursor:pointer; }
.cart-recommend { background:#fff; padding:18px 12px 80px; }.cart-recommend h3 { font-size:14px; margin-bottom:12px; }
.stock-warn { color:#d33; font-size:11px; margin-top:3px; }
.member-card { min-height:145px; background:linear-gradient(120deg,#26262d,#707075); color:#fff; padding:30px 18px; display:flex; align-items:center; gap:14px; }
.member-avatar { width:66px; height:66px; border-radius:50%; background:#fff1e4; color:#e97762; display:flex; align-items:center; justify-content:center; font-size:27px; font-weight:900; }
.member-main { flex:1; }.member-name { font-size:20px; font-weight:800; cursor:pointer; }.member-sub { opacity:.65; font-size:11px; margin-top:5px; }
.member-card .mine-points { padding:0; margin:0; background:transparent; color:#fff; text-align:center; }
.member-card .mp-num { font-size:18px; }.member-card .mp-lab { font-size:10px; opacity:.7; }
.mine-body { padding:0; }.mine-card { margin:12px; background:#fff; border-radius:10px; padding:14px 12px; }
.mine-card-head { display:flex; justify-content:space-between; align-items:center; }.mine-card-head button { border:0; background:transparent; color:#999; }
.order-status-grid { display:grid; grid-template-columns:repeat(5,1fr); margin-top:16px; gap:4px 0; }
.order-status-grid button,.service-grid button { border:0; background:transparent; font-family:inherit; color:#333; font-size:11px; display:flex; flex-direction:column; align-items:center; gap:7px; cursor:pointer; padding:4px 0; }
.order-status-grid em,.service-grid em { font-style:normal; font-size:11px; color:#444; line-height:1.25; text-align:center; }
.mine-ico { width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.mine-ico svg { width:21px; height:21px; display:block; }
.mine-ico--amber { background:#fff6e8; color:#d48806; }
.mine-ico--blue { background:#eef3ff; color:#3b6fd9; }
.mine-ico--teal { background:#e8f7f3; color:#0f9d7a; }
.mine-ico--green { background:#eaf8ee; color:#2f9d55; }
.mine-ico--gray { background:#f2f3f5; color:#7a7f87; }
.mine-ico--red { background:#fff0ef; color:#d82424; }
.mine-ico--orange { background:#fff3e8; color:#e07a28; }
.mine-ico--pink { background:#fff0f5; color:#d84a7a; }
.mine-ico--violet { background:#f3efff; color:#6b4fd6; }
.mine-ico--slate { background:#eef2f6; color:#4f6b8a; }
.service-grid { display:grid; grid-template-columns:repeat(4,1fr); padding:18px 6px 14px; gap:14px 4px; }

/* 业务服务页和表单 */
#service-view { background:#f6f6f6; padding-bottom:0; }
.service-head { height:48px; background:#fff; display:grid; grid-template-columns:50px 1fr 70px; align-items:center; border-bottom:1px solid #eee; }
.service-head b { text-align:center; }.service-head button { border:0; background:transparent; color:#555; font-family:inherit; }
.service-head button:first-child { font-size:28px; }
.service-list { height:calc(100% - 48px); overflow-y:auto; padding:10px 12px 30px; }
.promo-hero { background:linear-gradient(135deg,#2a2a32,#5a5a62); color:#fff; border-radius:12px; padding:18px 16px; font-size:14px; margin-bottom:10px; }
.promo-hero b { display:block; font-size:28px; margin-top:6px; letter-spacing:.02em; }
.promo-card { background:#fff; border-radius:12px; padding:14px; margin-bottom:10px; border:1px solid #eee; }
.promo-card-head { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:10px; }
.promo-card-head b { font-size:14px; color:#111; }
.promo-code { font-size:22px; font-weight:800; letter-spacing:.12em; color:#c81d25; }
.promo-link { font-size:12px; color:#666; line-height:1.5; word-break:break-all; margin:8px 0 12px; }
.promo-copy { border:0; background:#1a1a1a; color:#fff; border-radius:18px; padding:8px 14px; font:600 12px/1 inherit; cursor:pointer; }
.promo-sec { margin:14px 0 8px; font-size:14px; font-weight:800; color:#111; }
.promo-flow { background:#fff; border-radius:10px; padding:12px 14px; margin-bottom:8px; font-size:13px; color:#444; line-height:1.45; border:1px solid #f0f0f0; }
.promo-flow b { color:#c81d25; margin-right:6px; }
.promo-flow span { display:block; margin-top:4px; font-size:11px; color:#999; }
.promo-invitee { display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid #f3f3f3; font-size:13px; }
.promo-invitee:last-child { border-bottom:0; }
.promo-invitee span { color:#999; font-size:11px; white-space:nowrap; }

/* 签到有礼 */
.ck-page { padding-bottom:8px; }
.ck-hero {
  position:relative; overflow:hidden; border-radius:16px; padding:18px 16px 16px;
  background:radial-gradient(circle at 18% 0%,#d4332e 0%,#a51712 48%,#6b1818 100%);
  color:#fff; margin-bottom:12px; box-shadow:0 10px 24px rgba(122,24,20,.22);
}
.ck-hero::after {
  content:'礼'; position:absolute; right:8px; bottom:-18px; font-size:96px; font-weight:900;
  opacity:.08; line-height:1; pointer-events:none;
}
.ck-hero-badge {
  display:inline-block; padding:4px 10px; border-radius:999px; font-size:11px; font-weight:700;
  background:rgba(255,255,255,.16); color:#ffe8c8; margin-bottom:14px;
}
.ck-hero-main { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; position:relative; z-index:1; }
.ck-streak span { display:block; font-size:12px; opacity:.82; }
.ck-streak b { font-size:42px; line-height:1; font-weight:900; letter-spacing:.02em; }
.ck-streak small { margin-left:4px; font-size:14px; opacity:.85; }
.ck-reward { text-align:right; }
.ck-reward em { display:block; font-style:normal; font-size:12px; opacity:.82; }
.ck-reward strong { font-size:30px; font-weight:900; color:#ffe7b0; line-height:1.1; }
.ck-reward i { font-style:normal; margin-left:2px; font-size:13px; opacity:.9; }
.ck-rules { margin-top:14px; font-size:12px; opacity:.88; position:relative; z-index:1; }
.ck-panel { background:#fff; border-radius:14px; padding:14px; margin-bottom:10px; border:1px solid #f0f0f0; }
.ck-panel-title { font-size:14px; font-weight:800; color:#111; margin-bottom:12px; }
.ck-week { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.ck-day { display:flex; flex-direction:column; align-items:center; gap:6px; }
.ck-day i {
  width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:#f5f5f5; color:#bbb; font-size:12px; font-style:normal; font-weight:800; border:1px solid #ececec;
}
.ck-day em { font-style:normal; font-size:10px; color:#888; }
.ck-day.is-done i { background:linear-gradient(160deg,#d4332e,#a51712); color:#fff0d0; border-color:#8f1410; }
.ck-day.is-today i { box-shadow:0 0 0 2px #fff,0 0 0 3px #c82823; }
.ck-day.is-today:not(.is-done) i { background:#fff5f2; color:#c82823; border-color:#f0b8a8; }
.ck-action { margin-top:16px; text-align:center; }
.ck-btn {
  width:100%; height:46px; border:0; border-radius:23px; background:linear-gradient(135deg,#d4332e,#a51712);
  color:#fff; font:800 15px/1 inherit; cursor:pointer; box-shadow:0 8px 18px rgba(165,23,18,.28);
}
.ck-btn:active { transform:scale(.98); }
.ck-btn.is-done,.ck-btn:disabled { background:#e8e8e8; color:#999; box-shadow:none; cursor:default; }
.ck-hint { margin-top:10px; font-size:12px; color:#999; }
.ck-disabled { padding:14px; text-align:center; color:#999; background:#fafafa; border-radius:10px; }
.ck-records { display:flex; flex-direction:column; gap:8px; }
.ck-record {
  display:grid; grid-template-columns:72px 1fr auto; gap:8px; align-items:center;
  padding:11px 12px; border-radius:10px; background:#fafafa; font-size:13px;
}
.ck-record b { color:#c82823; font-weight:800; }
.ck-record span { color:#444; }
.ck-record em { font-style:normal; color:#999; font-size:11px; }
.ck-empty { padding:28px 12px; text-align:center; color:#999; font-size:13px; }
.ck-empty.soft { padding:16px 8px; }

/* 积分九宫格抽奖 */
.lot-page { padding-bottom:8px; }
.lot-hero {
  margin-bottom:12px; padding:16px 14px; border-radius:14px; color:#fff;
  background:linear-gradient(145deg,#c82823 0%,#8f1410 55%,#5c0a08 100%);
  box-shadow:0 8px 20px rgba(200,40,35,.22);
}
.lot-hero-badge { display:inline-block; padding:3px 10px; border-radius:999px; background:rgba(255,255,255,.16); font-size:11px; font-weight:700; }
.lot-hero-tip { margin:10px 0 0; font-size:12px; opacity:.9; line-height:1.5; }
.lot-board-wrap { background:#fff; border-radius:14px; padding:14px; margin-bottom:10px; border:1px solid #f0f0f0; }
.lot-board {
  display:grid; grid-template-columns:repeat(3,1fr); grid-template-rows:repeat(3,1fr);
  gap:8px; max-width:320px; margin:0 auto; aspect-ratio:1;
}
.lot-cell {
  display:flex; align-items:center; justify-content:center;
  border-radius:10px; background:linear-gradient(160deg,#fff7f0,#ffe8d8);
  border:2px solid #f3d4bf; box-sizing:border-box; transition:transform .12s, box-shadow .12s, border-color .12s;
}
.lot-cell-inner { text-align:center; line-height:1.15; }
.lot-cell-inner b { display:block; font-size:22px; font-weight:900; color:#c82823; }
.lot-cell-inner em { display:block; font-style:normal; font-size:11px; color:#a64b2a; margin-top:2px; }
.lot-cell-inner.is-thanks .lot-thanks { display:block; font-size:13px; font-weight:800; color:#a64b2a; line-height:1.25; }
.lot-cell.is-active { border-color:#c82823; box-shadow:0 0 0 2px rgba(200,40,35,.25), inset 0 0 0 1px #c82823; transform:scale(1.02); }
.lot-cell.is-won { border-color:#c82823; background:linear-gradient(160deg,#ffece8,#ffd4cc); box-shadow:0 4px 14px rgba(200,40,35,.18); }
.lot-center {
  grid-column:2; grid-row:2; width:100%; height:100%; border:0; border-radius:50%;
  background:linear-gradient(160deg,#d4332e,#a51712); color:#fff8e8;
  font-size:24px; font-weight:900; letter-spacing:.12em; cursor:pointer;
  box-shadow:0 6px 16px rgba(165,23,18,.35); font-family:inherit;
}
.lot-center:active:not(:disabled) { transform:scale(.98); }
.lot-center:disabled { background:#e8e8e8; color:#999; box-shadow:none; cursor:default; }
.lot-result-sheet { position:fixed; inset:0; z-index:120; display:flex; align-items:center; justify-content:center; padding:20px; }
.lot-result-mask { position:absolute; inset:0; background:rgba(0,0,0,.45); }
.lot-result-panel {
  position:relative; width:min(280px,100%); background:#fff; border-radius:16px; padding:22px 18px 16px; text-align:center;
  box-shadow:0 12px 40px rgba(0,0,0,.18);
}
.lot-result-badge {
  width:52px; height:52px; margin:0 auto 12px; border-radius:50%;
  background:linear-gradient(160deg,#d4332e,#a51712); color:#fff8e8;
  display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:900;
}
.lot-result-title { font-size:16px; font-weight:800; color:#222; }
.lot-result-points { margin:8px 0 4px; }
.lot-result-points b { font-size:36px; font-weight:900; color:#c82823; line-height:1; }
.lot-result-points em { font-style:normal; margin-left:4px; font-size:14px; color:#666; }
.lot-result-sub { margin:8px 0 0; font-size:13px; color:#888; }
.lot-result-btn {
  margin-top:16px; width:100%; border:0; border-radius:999px; padding:12px;
  background:linear-gradient(160deg,#d4332e,#a51712); color:#fff8e8; font-size:15px; font-weight:800; cursor:pointer; font-family:inherit;
}
.mine-ico--crimson { background:#fff0ee; color:#c82823; }
.address-card,.coupon-card,.favorite-card { background:#fff; border-radius:10px; padding:14px; margin-bottom:10px; }
.address-top { display:flex; gap:10px; align-items:baseline; }.address-name { font-weight:800; }.address-phone { color:#777; }.default-tag { color:#c81d25; background:#fff0ef; border-radius:4px; padding:2px 5px; font-size:10px; }
.address-line { color:#555; line-height:1.55; font-size:13px; margin:8px 0; }
.address-ops { display:flex; justify-content:flex-end; gap:14px; }.address-ops button,.coupon-card button { border:0; background:transparent; color:#777; }
.coupon-card { display:flex; align-items:center; gap:15px; }.coupon-money { color:#d82424; font-size:27px; font-weight:900; min-width:82px; }.coupon-money small { font-size:12px; }
.coupon-main { flex:1; }.coupon-main b { display:block; }.coupon-main span { color:#999; font-size:11px; }
.coupon-card button { color:#c81d25; border:1px solid #c81d25; border-radius:16px; padding:5px 10px; }
.favorite-card { display:flex; gap:12px; cursor:pointer; }.favorite-card img { width:75px; height:75px; border-radius:8px; object-fit:cover; }.favorite-main { flex:1; }.favorite-price { color:#d82424; margin-top:12px; font-weight:800; }
.address-panel { max-height:92vh; overflow-y:auto; }.address-panel .ipt { width:100%; margin-bottom:9px; border:1px solid #eee; border-radius:8px; padding:10px; }
.address-region { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }.mini-action,.location-btn { border:0; color:#47764e; background:#eef8ee; border-radius:7px; padding:8px 12px; margin:-5px 0 10px; }
.location-btn { display:block; width:100%; margin:0 0 10px; }.default-check { display:block; color:#555; font-size:13px; margin:8px 0 13px; }
.address-select { width:100%; border:0; background:#fafafa; border-radius:9px; padding:12px; display:flex; justify-content:space-between; text-align:left; color:#555; }
.review-stars { display:flex; justify-content:center; gap:8px; padding:18px 0; }.review-stars button { border:0; background:transparent; color:#ddd; font-size:30px; }.review-stars button.on { color:#f5a623; }
.customize-panel { max-height:92vh; overflow-y:auto; }
.customize-tip { color:#777; font-size:12px; line-height:1.6; margin:-3px 0 12px; }
.customize-panel .ipt { width:100%; margin-bottom:9px; border:1px solid #eee; border-radius:8px; padding:11px; font:14px/1.4 inherit; outline:none; }
.customize-logo { position:relative; width:100%; height:132px; margin-bottom:12px; border:0; border-radius:12px; overflow:hidden; background:linear-gradient(145deg,#b98b50,#f0cf95); color:#7b4a1f; font:700 14px/1.4 inherit; cursor:pointer; }
.customize-logo::before { content:''; position:absolute; left:12%; right:12%; top:20px; bottom:14px; border-radius:9px 9px 18px 18px; background:linear-gradient(145deg,#9f282c,#d44b49); box-shadow:0 12px 20px rgba(95,30,20,.18); }
.customize-logo img { position:relative; z-index:1; width:68px; height:68px; padding:7px; border-radius:8px; background:#fff; object-fit:contain; }
.customize-logo span { position:relative; z-index:1; display:inline-block; padding:8px 14px; border-radius:18px; background:rgba(255,255,255,.9); }
.gift-search-dropdown { margin-top:8px; }
.gift-search-panel { max-height:none; overflow:visible; border:1px solid #dfe9e0; border-radius:5px; padding:14px 12px 15px; box-shadow:0 9px 24px rgba(39,76,43,.13); }
.gift-search-head { display:flex; align-items:flex-start; justify-content:space-between; }
.gift-search-head p { color:#999; font-size:11px; margin-top:-4px; }
.gift-search-head > button { border:0; background:#f3f3f3; color:#666; width:30px; height:30px; border-radius:50%; font-size:22px; line-height:1; cursor:pointer; }
.gift-keyword { margin-top:15px; display:flex; align-items:center; gap:7px; border:1px solid #e7e7e7; border-radius:20px; padding:9px 13px; background:#fafafa; }
.gift-keyword input { flex:1; min-width:0; border:0; background:transparent; outline:none; font:13px/1.4 inherit; }
.gift-search-actions { display:grid; grid-template-columns:1fr 1.5fr; gap:9px; margin-top:18px; }
.gift-search-actions .d-btn { width:100%; }

/* 统一新色 */
.d-btn.point { background:#c81d25; color:#fff; }.d-btn.ghost { background:#f6ecec; color:#a71920; }
.pay-opt.on { border-color:#c81d25; background:#fff6f5; }.mixed-points-box { background:#fff6f5; }.mixed-points-row button { background:#c81d25; }

/* 结算底栏：代付 + 付款 */
.checkout-bar { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 12px; }
.checkout-bar-main { width: 100%; }
.checkout-bar-row { display: flex; align-items: center; gap: 10px; width: 100%; }
.checkout-actions { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }
.checkout-actions .d-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 88px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.co-peer-btn { background: #fff; color: #4B2DE7; border: 1px solid #4B2DE7; }
.co-peer-btn:disabled { opacity: .45; }
#checkout-view .checkout-actions .d-btn.point {
  background: #c81d25;
  color: #fff;
  border: none;
}
.cart-total { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: #222; white-space: nowrap; }
.co-gift-float {
  margin-bottom: 8px; padding: 7px 12px; border-radius: 6px;
  background: #c81d25; color: #fff; font-size: 12px; line-height: 1.45; text-align: center;
  box-shadow: 0 2px 8px rgba(200,29,37,.18);
}
.co-gift-block {
  border: 2px solid #c81d25;
  background: #fff8f7;
  box-shadow: 0 0 0 1px rgba(200,29,37,.08);
}
.co-gift-label { color: #c81d25; font-weight: 800; }
.co-gift-toggle { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #333; cursor: pointer; margin-top: 4px; }
.co-gift-toggle input { width: 16px; height: 16px; accent-color: #c81d25; flex-shrink: 0; }
.co-gift-blessing { margin-top: 10px; }
.co-gift-note-inner { font-size: 13px; color: #666; line-height: 1.55; }
.co-gift-note-inner strong { color: #c81d25; font-weight: 700; }

/* 送礼 / 代付分享页 */
.share-banner { margin: 12px 16px 0; padding: 16px 14px; border-radius: 12px; color: #fff; }
.share-banner b { display: block; font-size: 17px; margin-bottom: 6px; }
.share-banner p { font-size: 13px; line-height: 1.5; opacity: .95; }
.gift-banner { background: linear-gradient(135deg, #c81d25, #e85d4a); }
.peer-banner { background: linear-gradient(135deg, #4B2DE7, #6a4de0); }
.share-blessing { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.16); font-size: 13px; }
.share-pay-line { font-size: 15px; font-weight: 700; color: #222; }
.share-pay-sub { margin-top: 4px; font-size: 13px; color: #888; }
.share-order-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f2f2f2; }
.share-order-item:last-child { border-bottom: 0; }
.share-order-item img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #eee; flex-shrink: 0; }
.share-order-main { flex: 1; min-width: 0; }
.share-order-title { font-size: 13px; font-weight: 600; color: #222; line-height: 1.4; }
.share-order-meta { margin-top: 4px; font-size: 12px; color: #999; }
.share-wait-tip { font-size: 13px; color: #666; line-height: 1.55; }
.tab-item.on { color:#c81d25; }.order-btn { border-color:#c81d25; color:#c81d25; }
.qty-btn { background:#f5eeee; color:#c81d25; }
