/* 香给你啦 · 手机商城前台 */
.app {
  max-width: 480px; margin: 0 auto; min-height: 100vh;
  background: #F7F4EE; position: relative; padding-bottom: 64px;
  box-shadow: 0 0 30px rgba(60, 45, 25, .08);
}

/* ---------- 顶栏 ---------- */
.topbar {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 100;
  height: 56px; background: #FFFFFF; border-bottom: 1px solid #EEE7DB;
  padding: 0 14px; display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
}
.topbar .brand-logo { height: 30px; width: auto; margin-right: 9px; }
.topbar .brand-name { font-size: 18px; font-weight: 800; letter-spacing: 1px; color: #1F1B16; white-space: nowrap; }
.topbar .brand-sub { font-size: 10px; color: #A98416; letter-spacing: 2px; display: block; line-height: 1.1; margin-top: 1px; }
.topbar .spacer { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; }
.topbar .service-btn {
  min-width: 44px; height: 36px; line-height: 34px; text-align: center;
  border: 1px solid #EADFCB; border-radius: 18px; font-size: 12px; color: #8C6B1F;
  padding: 0 10px; background: #FDF9F1;
}

/* ---------- 首页头图（湘南·宁远·老味道 · 鸭群插画背景） ---------- */
.hero {
  position: relative; padding: 28px 22px 74px; overflow: hidden;
  background-color: #FFFDF8;
  /* 动图优先；不支持 animated WebP 的浏览器自动落到第二层静态插画 */
  background-image: url('/assets/hero-ducks-motion.webp'), url('/assets/hero-ducks.jpg');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  border-bottom: 1px solid #EFE4D2;
}
/* 上半部压一层米白渐变，保证深色标题在插画上照样清楚；底部留出戏水鸭群 */
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: -webkit-linear-gradient(180deg, rgba(255,253,248,.97) 0%, rgba(255,253,248,.90) 45%, rgba(255,253,248,.34) 70%, rgba(255,253,248,.02) 100%);
  background: linear-gradient(180deg, rgba(255,253,248,.97) 0%, rgba(255,253,248,.90) 45%, rgba(255,253,248,.34) 70%, rgba(255,253,248,.02) 100%);
  pointer-events: none;
}
.hero > .eyebrow, .hero > h1, .hero > p, .hero > .hero-line, .hero > .hero-actions { position: relative; z-index: 1; }
.hero > .stamp { z-index: 1; }
.hero .stamp {
  position: absolute; right: 18px; top: 20px; width: 62px; height: 62px;
  border: 2px solid #C8102E; border-radius: 8px; color: #C8102E;
  text-align: center; font-size: 15px; font-weight: 800; line-height: 19px;
  padding-top: 10px; opacity: .28; -webkit-transform: rotate(9deg); transform: rotate(9deg);
  letter-spacing: 2px;
}
.hero .eyebrow { font-size: 12px; color: #A98416; letter-spacing: 4px; margin-bottom: 12px; }
.hero h1 { font-size: 23px; line-height: 1.55; font-weight: 800; letter-spacing: 1px; color: #3A2519; max-width: 86%; }
.hero p { font-size: 13px; color: #7E7061; margin-top: 12px; line-height: 1.8; max-width: 88%; }
.hero .hero-line { width: 42px; height: 3px; background: #C8102E; border-radius: 2px; margin-top: 18px; }

/* 公告 */
.notice {
  background: #FFF7E9; color: #8C6B1F; font-size: 12px;
  padding: 10px 16px; border-bottom: 1px solid #F2E6CE;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.notice .lab { background: #C8102E; color: #fff; border-radius: 3px; padding: 1px 5px; margin-right: 8px; font-size: 11px; }

/* ---------- 内容区 ---------- */
.wrap { padding: 16px 14px 20px; }
.sec-head { margin-bottom: 12px; overflow: hidden; }
.sec-head .t { float: left; font-size: 17px; font-weight: 800; letter-spacing: 1px; }
.sec-head .t .bar { display: inline-block; width: 4px; height: 16px; background: #C8102E; border-radius: 2px; vertical-align: -2px; margin-right: 7px; }
.sec-head .more { float: right; font-size: 12px; color: #9A8F82; padding-top: 3px; }

/* 乡情文案块 */
.story {
  background: #FFFFFF; border-radius: 12px; padding: 18px 18px 20px;
  border: 1px solid #F0E7D7; position: relative; margin-bottom: 12px;
}
.story:before { content: "“"; position: absolute; left: 12px; top: 0; font-size: 48px; color: #EADFCB; line-height: 1; }
.story h3 { font-size: 16px; color: #7A2A1C; margin-bottom: 10px; letter-spacing: 1px; position: relative; }
.story p { font-size: 14px; color: #6B6157; line-height: 2; text-indent: 2em; position: relative; }
.story .from { text-align: right; font-size: 12px; color: #A98416; margin-top: 12px; }

/* 发货说明 */
.ship-note { background: #F3EFE6; border-radius: 10px; padding: 13px 15px; font-size: 12px; color: #7A6F61; line-height: 1.9; }
.ship-note b { color: #4A3B2B; }

/* 页脚 */
.footer { text-align: center; padding: 26px 20px 30px; color: #A79B8B; font-size: 11px; line-height: 2; }
.footer .f-logo { height: 26px; margin: 0 auto 10px; opacity: .55; }
.footer .f-line { width: 30px; height: 1px; background: #D6C9B4; margin: 12px auto; }
/* ICP / 公安联网备案号：只在自有已备案域名下出现 */
.footer .f-beian { margin-top: 8px; font-size: 11px; line-height: 1.9; color: #A79B8B; }
.footer .f-beian a { color: #8A7C69; text-decoration: none; }
.footer .f-beian a:active { text-decoration: underline; }
.footer .f-beian .f-beian-sep { margin: 0 6px; opacity: .6; }

/* ---------- 家乡三味 · 首页点单入口（醒目区） ---------- */
.taste-entry {
  background: #FFF7EA; border: 1px solid #EED9B8; border-radius: 14px;
  padding: 14px 13px 13px; margin-bottom: 14px;
}
.taste-entry .te-head { overflow: hidden; line-height: 30px; }
.taste-entry .te-head .t { float: left; font-size: 19px; font-weight: 800; letter-spacing: 1px; color: #7A2A1C; }
.taste-entry .te-head .t .bar {
  display: inline-block; width: 5px; height: 19px; background: #C8102E;
  border-radius: 3px; vertical-align: -3px; margin-right: 8px;
}
.taste-entry .te-all {
  float: right; min-height: 30px; line-height: 30px; padding: 0 13px;
  border: 0; border-radius: 15px; background: #C8102E; color: #fff;
  font-size: 12px; font-weight: 700; -webkit-appearance: none; appearance: none;
  box-shadow: 0 2px 5px rgba(200, 16, 46, .22);
}
.taste-entry .te-all:active { background: #A00D24; }
.taste-entry .te-tip { clear: both; padding-top: 5px; font-size: 12px; font-weight: 600; color: #A33323; }
.taste-entry .te-chips { display: -webkit-box; display: -webkit-flex; display: flex; margin-top: 11px; }
.taste-entry .taste-chip {
  -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 0;
  height: 46px; padding: 0 5px; margin-right: 8px;
  border: 1px solid #E8B9A6; border-radius: 10px; background: #fff;
  color: #7A2A1C; font-size: 15px; font-weight: 700;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  -webkit-appearance: none; appearance: none;
  box-shadow: 0 2px 0 rgba(122, 42, 28, .06);
}
.taste-entry .taste-chip:last-child { margin-right: 0; }
.taste-entry .taste-chip b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.taste-entry .taste-chip span { margin-left: 3px; color: #C8102E; font-size: 18px; line-height: 1; }
.taste-entry .taste-chip:active { background: #C8102E; border-color: #C8102E; color: #fff; }
.taste-entry .taste-chip:active span { color: #fff; }

/* ---------- 分类 ---------- */
.catbar {
  overflow-x: auto; overflow-y: hidden; white-space: nowrap;
  padding: 12px 14px 4px; -webkit-overflow-scrolling: touch;
}
.catbar::-webkit-scrollbar { display: none; }
.catbar .chip {
  display: inline-block; padding: 7px 16px; margin-right: 9px; margin-bottom: 8px;
  border-radius: 20px; background: #fff; border: 1px solid #E8DFD0;
  font-size: 13px; color: #6B6157; min-height: 34px; line-height: 20px;
}
.catbar .chip.on { background: #C8102E; color: #fff; border-color: #C8102E; font-weight: 600; }

/* ---------- 商品列表 ---------- */
.goods-list { font-size: 0; padding: 4px 14px 10px; }
.goods-item {
  display: inline-block; vertical-align: top; width: 48.4%;
  margin: 0 3.2% 12px 0; font-size: 15px; background: #fff;
  border-radius: 12px; overflow: hidden; border: 1px solid #EADFCB;
  box-shadow: 0 2px 8px rgba(90, 60, 30, .07);
}
.goods-item:nth-child(2n) { margin-right: 0; }
.goods-item .thumb { position: relative; width: 100%; padding-top: 78%; background: #F3EDE2; overflow: hidden; }
.goods-item .thumb img, .goods-item .thumb .ph {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover;
}
.goods-item .thumb .ph {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  background: -webkit-linear-gradient(135deg, #F7EADA, #EAD9BF);
  background: linear-gradient(135deg, #F7EADA, #EAD9BF);
  font-size: 24px; font-weight: 800; color: rgba(122, 42, 28, .5); letter-spacing: 3px;
}
.goods-item .thumb .vdo {
  position: absolute; right: 8px; top: 8px; width: 26px; height: 26px;
  background: rgba(31, 27, 22, .62); border-radius: 50%; z-index: 2;
}
.goods-item .thumb .vdo:after {
  content: ""; position: absolute; left: 10px; top: 7px;
  border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.goods-item .thumb .soldout {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 3;
  background: rgba(255,255,255,.68); color: #7A6F61; font-size: 15px; font-weight: 700;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
}
.goods-item .info { padding: 10px 10px 12px; }
.goods-item .nm { font-size: 16px; font-weight: 800; color: #2E2118; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.goods-item .sb { font-size: 12px; color: #8B7B6A; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.goods-item .pr { margin-top: 9px; overflow: hidden; line-height: 28px; }
.goods-item .pr .p { float: left; font-size: 19px; }
.goods-item .pr .old { float: left; font-size: 11px; color: #B3A998; text-decoration: line-through; margin-left: 5px; }
.goods-item .pr .add {
  float: right; height: 28px; line-height: 28px; padding: 0 10px; text-align: center;
  border: 0; border-radius: 14px; background: #C8102E; color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .5px; white-space: nowrap;
  -webkit-appearance: none; appearance: none; box-shadow: 0 2px 5px rgba(200, 16, 46, .25);
}
.goods-item .pr .add:active { background: #A00D24; }
/* ---------- 商品卡：主操作「立即购买」，次操作「＋ 加购」 ---------- */
.goods-item .card-acts {
  display: -webkit-box; display: -webkit-flex; display: flex;
  gap: 6px; margin-top: 9px;
}
.goods-item .ca-btn {
  -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 0;
  height: 30px; line-height: 28px; padding: 0 6px;
  border: 1px solid #C8102E; border-radius: 15px;
  font-size: 12px; font-weight: 700; text-align: center; white-space: nowrap;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.goods-item .ca-btn.buy {
  background: #C8102E; color: #fff;
  -webkit-box-shadow: 0 2px 5px rgba(200, 16, 46, .25);
  box-shadow: 0 2px 5px rgba(200, 16, 46, .25);
}
.goods-item .ca-btn.buy:active { background: #A00D24; }
.goods-item .ca-btn.cart {
  -webkit-flex: 0 0 auto; flex: 0 0 auto;
  padding: 0 12px; background: #fff; color: #C8102E;
}
.goods-item .ca-btn.cart:active { background: #FBEEEA; }
.goods-item .ca-btn[disabled] {
  background: #D9CFC0; border-color: #D9CFC0; color: #fff;
  -webkit-box-shadow: none; box-shadow: none; cursor: default;
}
/* ---------- 到手价：主价含运费，下面小字列价格构成 ---------- */
.price-breakdown {
  clear: both; margin-top: 5px; font-size: 11px; line-height: 1.6; color: #8B8175;
}
.price-breakdown .pb-tag {
  display: inline-block; padding: 0 5px; margin-right: 5px; vertical-align: 1px;
  border-radius: 3px; background: #F7E6DE; color: #A33323;
  font-size: 10px; line-height: 17px; font-weight: 700;
}
.detail-head .price-breakdown { font-size: 12px; margin-top: 2px; }
.detail-head .price-breakdown .pb-tag { font-size: 11px; line-height: 19px; }

/* ---------- 商品详情 ---------- */
.detail-media { position: relative; width: 100%; padding-top: 75%; background: #F0E7D7; overflow: hidden; }
.detail-media img, .detail-media video {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; background: #1F1B16;
}
.detail-media .ph {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  background: -webkit-linear-gradient(135deg, #F7EADA, #EAD9BF);
  background: linear-gradient(135deg, #F7EADA, #EAD9BF);
  font-size: 38px; font-weight: 800; color: rgba(122, 42, 28, .45); letter-spacing: 8px;
}
.detail-head { background: #fff; padding: 16px; border-bottom: 1px solid #F0EAE0; }
.detail-head .nm { font-size: 21px; font-weight: 800; letter-spacing: 1px; }
.detail-head .sb { font-size: 13px; color: #8B8175; margin-top: 4px; }
.detail-head .pr { margin-top: 12px; line-height: 28px; }
.detail-head .pr .p { font-size: 26px; }
.detail-head .pr .old { font-size: 13px; color: #B3A998; text-decoration: line-through; margin-left: 8px; }
.detail-head .pr .unit { float: right; font-size: 12px; color: #9A8F82; }
.detail-head .tags { margin-top: 10px; }
.detail-body { background: #fff; padding: 16px; margin-top: 10px; }
.detail-body h3 { font-size: 15px; margin-bottom: 10px; color: #4A3B2B; }
.detail-body .txt { font-size: 14px; color: #6B6157; line-height: 2.1; white-space: pre-wrap; word-break: break-word; }
.detail-body .ship { margin-top: 16px; background: #F7F3EA; border-radius: 8px; padding: 12px; font-size: 12px; color: #7A6F61; line-height: 1.9; }

/* ---------- 底部操作栏 ---------- */
.bottombar {
  position: fixed; left: 50%; bottom: 0; z-index: 120;
  -webkit-transform: translateX(-50%); transform: translateX(-50%);
  width: 100%; max-width: 480px; background: #fff;
  border-top: 1px solid #EAE2D5; padding: 8px 12px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
}
.bottombar .btn { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; }
.bottombar .btn + .btn { margin-left: 10px; }
.bottombar .cart-ico {
  width: 46px; height: 46px; margin-right: 10px; text-align: center;
  font-size: 20px; line-height: 44px; color: #C8102E; position: relative;
}
.bottombar .cart-ico .n {
  position: absolute; right: 0; top: 2px; min-width: 17px; height: 17px;
  line-height: 17px; border-radius: 9px; background: #C8102E; color: #fff; font-size: 10px;
}

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed; left: 50%; bottom: 0; z-index: 110;
  -webkit-transform: translateX(-50%); transform: translateX(-50%);
  width: 100%; max-width: 480px; height: 60px; background: #fff;
  border-top: 1px solid #EAE2D5;
  display: -webkit-box; display: -webkit-flex; display: flex;
}
.tabbar .tab {
  -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; text-align: center;
  padding-top: 7px; color: #9A8F82; font-size: 11px; position: relative;
}
.tabbar .tab .ic { display: block; width: 24px; height: 24px; margin: 0 auto 1px; }
.tabbar .tab .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar .tab.on { color: #C8102E; font-weight: 700; }
.tabbar .tab .dot {
  position: absolute; left: 56%; top: 4px; min-width: 16px; height: 16px;
  line-height: 16px; border-radius: 8px; background: #C8102E; color: #fff;
  font-size: 10px; padding: 0 3px;
}

/* ---------- 购物车 / 订单条目 ---------- */
.line-item { background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 10px; overflow: hidden; }
.line-item .li-thumb { float: left; width: 76px; height: 76px; border-radius: 8px; overflow: hidden; background: #F3EDE2; position: relative; }
.line-item .li-thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-item .li-thumb .ph { width: 100%; height: 100%; display: block; text-align: center; line-height: 76px; font-size: 18px; color: rgba(122,42,28,.5); background: #F0E3CD; }
.line-item .li-main { margin-left: 88px; min-height: 76px; position: relative; }
.line-item .li-nm { font-size: 15px; font-weight: 700; line-height: 1.4; }
.line-item .li-unit { font-size: 11px; color: #9A8F82; margin-top: 2px; }
.line-item .li-bottom { margin-top: 8px; line-height: 28px; }
.line-item .li-price { float: left; font-size: 16px; }
.stepper { float: right; overflow: hidden; white-space: nowrap; }
.stepper button {
  float: left; width: 32px; height: 32px; line-height: 29px; text-align: center;
  border: 1px solid #E7C9CE; background: #FFF6F6; border-radius: 7px;
  font-size: 19px; font-weight: 700; color: #C8102E; padding: 0;
}
.stepper button:active { background: #C8102E; color: #fff; }
.stepper button[disabled] { opacity: .38; }
.stepper .n {
  float: left; min-width: 46px; height: 32px; line-height: 32px;
  text-align: center; font-size: 14px; font-weight: 700; color: #1F1B16;
}

/* ---------- 购买数量：详情页 / 购物车 / 结算页 ---------- */
.qty-box {
  margin-top: 14px; background: #FFF9F3; border: 1px solid #F0D9C0;
  border-radius: 12px; padding: 12px;
}
.qb-head { overflow: hidden; line-height: 22px; }
.qb-head b { float: left; font-size: 16px; color: #7A2A1C; }
.qb-head span { float: right; font-size: 11px; color: #A4703F; }
.qb-row { overflow: hidden; margin-top: 10px; }
.qb-row .qb-stepper { float: left; }
.qb-row .qb-stepper .n { min-width: 52px; }
.qb-total { float: right; font-size: 12px; color: #6B6157; line-height: 32px; }
.qb-total b { font-size: 24px; margin-left: 4px; color: #C8102E; }
.qb-parts {
  margin-top: 10px; padding-top: 9px; border-top: 1px dashed #E9D7C2;
  font-size: 12px; color: #6B6157; line-height: 1.7;
}
.qb-save { margin-top: 4px; font-size: 12px; color: #B23A2E; line-height: 1.7; font-weight: 700; }
.li-price .per { font-size: 11px; color: #9A8F82; font-weight: 400; }
.li-sub { clear: both; margin-top: 6px; font-size: 11px; color: #8B8175; }
.freight-tip {
  margin-bottom: 10px; padding: 9px 12px; border-radius: 8px;
  background: #FFF3E6; border: 1px solid #F3DFC4;
  font-size: 12px; color: #A4703F; line-height: 1.6; text-align: center;
}
.ck-goods { padding-bottom: 8px; border-bottom: 1px dashed #EEE6D9; margin-bottom: 8px; }
.ck-qrow { overflow: hidden; margin: 6px 0 2px; }
.ck-qrow .ck-stepper { float: left; }
.ck-qrow .ck-stepper button { width: 27px; height: 27px; line-height: 24px; font-size: 16px; }
.ck-qrow .ck-stepper .n { min-width: 44px; height: 27px; line-height: 27px; font-size: 12px; }
.ck-hint { float: right; font-size: 11px; color: #9A8F82; line-height: 27px; }

/* 合计 */
.sumbox { background: #fff; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.sumbox .ln { overflow: hidden; font-size: 14px; line-height: 26px; color: #6B6157; }
.sumbox .ln .r { float: right; color: #1F1B16; }
.sumbox .ln.total { border-top: 1px dashed #E6DDCD; margin-top: 8px; padding-top: 10px; font-size: 15px; font-weight: 700; color: #1F1B16; }
.sumbox .ln.total .r { font-size: 20px; color: #C8102E; }

/* ---------- 支付方式 ---------- */
.pay-item {
  background: #fff; border: 1px solid #ECE4D6; border-radius: 10px;
  padding: 12px; margin-bottom: 10px; overflow: hidden; min-height: 58px;
}
.pay-item.on { border-color: #C8102E; background: #FFF9F9; }
.pay-item .p-ico {
  float: left; width: 34px; height: 34px; border-radius: 8px; color: #fff;
  text-align: center; line-height: 34px; font-size: 17px; font-weight: 700; margin-right: 10px;
}
.pay-item .p-nm { font-size: 15px; font-weight: 700; line-height: 20px; }
.pay-item .p-md { font-size: 11px; color: #9A8F82; line-height: 18px; }
.pay-item .p-radio {
  float: right; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #D8CDBB; margin-top: 7px; position: relative;
}
.pay-item.on .p-radio { border-color: #C8102E; }
.pay-item.on .p-radio:after {
  content: ""; position: absolute; left: 3px; top: 3px; right: 3px; bottom: 3px;
  border-radius: 50%; background: #C8102E;
}
.pay-none { background: #FFF7E9; border: 1px dashed #E3CBA0; border-radius: 10px; padding: 16px; font-size: 13px; color: #8C6B1F; line-height: 1.9; }

/* 支付页 */
.pay-stage { background: #fff; border-radius: 12px; padding: 24px 18px; text-align: center; }
.pay-stage .money { font-size: 34px; font-weight: 800; color: #C8102E; line-height: 1.3; }
.pay-stage .money small { font-size: 17px; }
.pay-stage .sub { font-size: 13px; color: #8B8175; margin-top: 6px; }
.pay-stage .qrbox {
  width: 220px; height: 220px; max-width: 76%; margin: 20px auto 14px;
  padding: 10px; border: 1px solid #EDE4D4; border-radius: 12px; background: #fff;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
}
.pay-stage .qrbox img { max-width: 100%; max-height: 100%; }
.pay-stage .hint { font-size: 13px; color: #6B6157; line-height: 1.9; }
.pay-stage .payee { font-size: 12px; color: #9A8F82; margin-top: 6px; }
/* 建行「一码多付」可受理的付款渠道 */
.ccb-ch { margin: 2px 0 8px; text-align: center; }
.ccb-ch i {
  display: inline-block; font-style: normal; font-size: 11px; color: #0067B1;
  background: #EAF3FB; border: 1px solid #CFE3F4; border-radius: 20px;
  padding: 2px 9px; margin: 3px 3px 0; line-height: 18px;
}
/* 扫码付款操作指引：老机型也能读清的纯 CSS 步骤块 */
.pay-guide { background: #FBF7EF; border: 1px solid #EFE4D0; border-radius: 10px; padding: 13px 14px; text-align: left; font-size: 13px; line-height: 1.8; color: #5A4B3C; }
.pay-guide .gt { font-size: 14px; font-weight: 800; color: #8C2A17; margin-bottom: 9px; }
.pay-guide .gi { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: start; -webkit-align-items: flex-start; align-items: flex-start; margin-bottom: 8px; }
.pay-guide .gi > b {
  -webkit-box-flex: 0; -webkit-flex: 0 0 20px; flex: 0 0 20px;
  width: 20px; height: 20px; line-height: 20px; text-align: center;
  background: #C8102E; color: #fff; border-radius: 50%; font-size: 12px; margin-right: 9px; font-weight: 600;
}
.pay-guide .gi span { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 0; }
.pay-guide .gi span b { color: #8C2A17; font-weight: 700; }
.pay-guide .gn { font-size: 12px; color: #8B8175; border-top: 1px dashed #E4D8C2; padding-top: 8px; margin-top: 4px; line-height: 1.7; }
.bankbox { background: #F7F3EA; border-radius: 10px; padding: 14px; text-align: left; margin: 18px 0; }
.bankbox .ln { overflow: hidden; font-size: 14px; line-height: 30px; }
.bankbox .ln .k { float: left; color: #9A8F82; width: 74px; }
.bankbox .ln .v { margin-left: 74px; display: block; word-break: break-all; font-weight: 600; }
.proof { margin-top: 18px; text-align: left; }
.proof .up {
  display: block; width: 100%; min-height: 46px; line-height: 44px; text-align: center;
  border: 1px dashed #C9BCA5; border-radius: 9px; color: #8C6B1F; font-size: 14px; background: #FDFAF4;
}
.proof .preview { max-width: 140px; margin: 10px auto 0; border-radius: 8px; }

/* 成功页 */
.done { text-align: center; padding: 40px 20px 20px; }
.done .ok-circle {
  width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%;
  background: #E7F5EC; color: #1E7A45; font-size: 34px; line-height: 66px;
}
.done h2 { font-size: 21px; margin-bottom: 8px; }
.done p { font-size: 13px; color: #8B8175; line-height: 1.9; }
.done .order-no { margin: 20px 0; background: #fff; border-radius: 10px; padding: 14px; font-size: 15px; }
.done .order-no b { color: #C8102E; letter-spacing: 1px; }

/* 订单卡片 */
.order-card { background: #fff; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.order-card .oc-head { padding: 11px 14px; border-bottom: 1px solid #F1EBE1; font-size: 12px; color: #8B8175; overflow: hidden; }
.order-card .oc-head .st { float: right; color: #C8102E; font-weight: 700; }
.order-card .oc-body { padding: 12px 14px; }
.order-card .oc-goods { font-size: 13px; color: #4A3B2B; line-height: 1.9; }
.order-card .oc-foot { padding: 10px 14px; border-top: 1px solid #F1EBE1; font-size: 13px; overflow: hidden; }
.order-card .oc-foot .amt { float: right; color: #C8102E; font-weight: 700; font-size: 15px; }
/* 未付款订单的继续支付入口 */
.order-card .oc-acts {
  padding: 10px 14px; border-top: 1px solid #F1EBE1; text-align: right;
}
.order-card .oc-acts .btn {
  min-height: 30px; line-height: 28px; padding: 0 14px; font-size: 12px;
}
/* 物流信息（第一阶段：手填运单号 + 跳官方查件） */
.track-box { margin: 10px 14px 12px; padding: 11px 12px; background: #FAF7F1; border: 1px solid #EFE4D2; border-radius: 9px; font-size: 13px; color: #4A3B2B; }
.track-box.empty { background: #FFFDF8; }
.track-box .tb-head { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; -webkit-box-align: center; align-items: center; margin-bottom: 8px; }
.track-box .tb-head span { font-size: 12px; color: #8A6A4F; }
.track-box .tb-no { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; align-items: center; gap: 8px; }
.track-box .tb-no span { font-size: 14px; letter-spacing: .5px; word-break: break-all; }
.track-box .tb-no .btn { min-height: 30px; line-height: 28px; padding: 0 11px; font-size: 12px; }
.track-box .tb-link { display: inline-block; margin-top: 9px; color: #C8102E; font-size: 13px; text-decoration: none; }

/* 我的页 */
.me-head { background: -webkit-linear-gradient(135deg, #C8102E, #9B0C23); background: linear-gradient(135deg, #C8102E, #9B0C23); color: #fff; padding: 26px 20px; }
.me-head h2 { font-size: 19px; }
.me-head p { font-size: 12px; opacity: .85; margin-top: 6px; }
.me-list { background: #fff; border-radius: 12px; overflow: hidden; }
.me-list .mi { display: block; width: 100%; min-height: 50px; line-height: 50px; padding: 0 16px; border-bottom: 1px solid #F2ECE2; font-size: 14px; text-align: left; position: relative; }
.me-list .mi:last-child { border-bottom: 0; }
.me-list .mi .arrow { float: right; color: #C9BCA5; font-size: 18px; }
.me-list .mi .ico { display: inline-block; width: 22px; color: #C8102E; font-size: 16px; }
.contact-card { background: #fff; border-radius: 12px; padding: 16px; margin-top: 12px; font-size: 13px; color: #6B6157; line-height: 2; }

/* 返回条 */
.navback {
  height: 44px; line-height: 44px; background: #fff; border-bottom: 1px solid #EEE7DB;
  padding: 0 8px; font-size: 15px; color: #4A3B2B; position: -webkit-sticky; position: sticky; top: 56px; z-index: 90;
}
.navback .bk { display: inline-block; width: 44px; text-align: center; font-size: 22px; vertical-align: -1px; color: #6B6157; }

/* 前台提示条放到底部、且不拦截点击，避免挡住表单和按钮 */
#toast {
  top: auto; bottom: 92px;
  -webkit-transform: translateX(-50%); transform: translateX(-50%);
  pointer-events: none;
}

/* ---------- 会员 / 登录 ---------- */
.me-user { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.me-user .mu-av { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: #F6E7E9; color: #C8102E;
  font-size: 20px; font-weight: 800; text-align: center; line-height: 46px; flex: none; }
.me-user .mu-av img { width: 100%; height: 100%; object-fit: cover; }
.me-user .mu-tx { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 0; padding: 0 10px; }
.me-user .mu-tx b { display: block; font-size: 15px; color: #3A2519; }
.me-user .mu-tx span { display: block; font-size: 11px; color: #9A8F82; margin-top: 2px; }
.me-user .btn.small { flex: none; padding: 0 10px; font-size: 12px; }
.me-login { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.me-login .ml-t { font-size: 15px; font-weight: 700; color: #3A2519; }
.me-login .ml-s { font-size: 12px; color: #8B8175; line-height: 1.8; margin: 6px 0 14px; }
.btn.wx-btn { background: #09BB07; color: #fff; }
.btn.wx-btn:active { background: #08A306; }
.or-line { text-align: center; font-size: 12px; color: #A79B8B; margin: 12px 0 14px; position: relative; }
.or-line:before, .or-line:after { content: ""; display: inline-block; width: 22%; height: 1px; background: #EDE7DC; vertical-align: middle; margin: 0 8px; }
.lnk-btn { display: inline; color: #C8102E; font-size: 12px; text-decoration: underline; padding: 0 2px; }
.chk-line { display: block; font-size: 13px; color: #6B6157; line-height: 22px; margin-top: 2px; }
.chk-line input { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; accent-color: #C8102E; }

/* ---------- 收货地址 ---------- */
.login-tip { background: #FFF7E9; border: 1px dashed #E3CBA0; border-radius: 9px; padding: 10px 12px;
  font-size: 12px; color: #8C6B1F; line-height: 1.8; margin-bottom: 14px; }
.addr-picks { margin: 0 0 10px; font-size: 0; }
.addr-chip { display: inline-block; padding: 7px 12px; margin: 0 8px 8px 0; border-radius: 18px;
  border: 1px solid #E2DACD; background: #fff; color: #6B6157; font-size: 12px; min-height: 32px; }
.addr-chip.on { border-color: #C8102E; background: #FFF4F5; color: #C8102E; font-weight: 700; }
.addr-card { background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 10px; border: 1px solid #F0EAE0; }
.addr-card.on { border-color: #EBC3C9; }
.addr-card .ac-top { overflow: hidden; margin-bottom: 6px; }
.addr-card .ac-label { float: left; font-size: 12px; color: #8C2A17; background: #FBF0F1; border-radius: 4px; padding: 1px 8px; }
.addr-card .ac-top .badge { float: right; }
.addr-card .ac-main { font-size: 14px; color: #3A2519; line-height: 1.8; }
.addr-card .ac-addr { font-size: 12px; color: #6B6157; line-height: 1.8; word-break: break-all; }
.addr-card .ac-ops { border-top: 1px dashed #EEE7DB; margin-top: 10px; padding-top: 8px; text-align: right; }
.addr-card .ac-ops button { display: inline-block; padding: 6px 10px; margin-left: 6px; font-size: 12px;
  color: #6B6157; border: 1px solid #E6DED0; border-radius: 6px; background: #fff; min-height: 30px; }
.addr-card .ac-ops button:active { background: #F7F3EA; }

/* ---------- 分享卡片 / 存好店铺 ---------- */
.modal .hint { font-size: 12px; color: #6B6157; line-height: 1.8; }
.hero-actions { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap;
  gap: 8px; margin-top: 18px; position: relative; z-index: 2; }
.hb { display: inline-block; min-height: 36px; line-height: 34px; padding: 0 14px;
  border: 1px solid #DFC9A4; border-radius: 20px; background: #FFFDF8; color: #7A2A1C; font-size: 13px; }
.hb span { margin-right: 5px; color: #C8102E; font-size: 15px; }
.hb:active { background: #F7EBD8; }
.share-strip { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center;
  gap: 10px; margin: 0 14px 12px; padding: 13px 14px; background: #FFFDF8;
  border: 1px solid #EFE4D2; border-radius: 12px; }
.share-strip .ss-ic { width: 32px; height: 32px; line-height: 30px; text-align: center; flex: none;
  border-radius: 50%; background: #FBE9EC; color: #C8102E; font-size: 17px; }
.share-strip .ss-tx { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 0; }
.share-strip .ss-tx b { display: block; font-size: 13px; color: #3A2519; }
.share-strip .ss-tx span { display: block; font-size: 11px; color: #9A8F82; margin-top: 2px; }
.share-strip .ss-ar { color: #C9BCA5; font-size: 20px; flex: none; }
.navback .nb-actions { position: absolute; right: 8px; top: 0; height: 44px;
  display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center; gap: 6px; }
.navback .nb-btn { height: 30px; line-height: 28px; padding: 0 10px; border-radius: 15px;
  border: 1px solid #E4D6C0; background: #FFFDF8; color: #7A2A1C; font-size: 12px; white-space: nowrap; }
.me-list .mi.mi-sub { text-align: center; justify-content: center; font-size: 12px; color: #9A8F82; padding: 10px 14px; }

/* 仿微信的链接小卡片 */
.poster-note { font-size: 12px; color: #6B6157; line-height: 1.75; background: #FBF6EC;
  border: 1px solid #F0E4CD; border-radius: 8px; padding: 9px 10px; margin-bottom: 12px; }
.poster-note b { color: #8C1D1D; }
.wx-card { background: #fff; border: 1px solid #E9E2D6; border-radius: 8px;
  overflow: hidden; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(90,60,30,.06); }
.wx-card .wc-main { display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; align-items: center; gap: 10px; padding: 12px; }
.wx-card .wc-tx { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 0; }
.wx-card .wc-tx b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 15px; line-height: 1.45; color: #2C2C2C; font-weight: 600; }
.wx-card .wc-tx span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5;
  color: #9A9A9A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wx-card .wc-img { width: 58px; height: 58px; border-radius: 3px; object-fit: cover;
  -webkit-flex: none; flex: none; background: #F3EDE2; }
.wx-card .wc-foot { border-top: 1px solid #F2EFE9; padding: 7px 12px; font-size: 11px;
  color: #B2B2B2; display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; align-items: center; gap: 5px; }
.wx-card .wc-ic { display: inline-block; width: 14px; height: 14px; line-height: 13px;
  text-align: center; border: 1px solid #CFCFCF; border-radius: 50%; font-size: 9px; color: #B2B2B2; }
.wx-guide { position: relative; background: #E9F6EC; border: 1px solid #CDE9D6; border-radius: 10px;
  padding: 12px 12px 12px 40px; margin-bottom: 12px; }
.wx-guide .wg-arrow { position: absolute; left: 12px; top: 8px; font-size: 22px; color: #1B7A3D; }
.wx-guide b { display: block; font-size: 14px; color: #1B5E32; }
.wx-guide .wg-s { font-size: 12px; color: #42704F; line-height: 1.8; margin-top: 4px; }
.wx-guide .wg-limit { display: block; margin-top: 5px; color: #5B7C65; font-size: 11.5px; }
.share-url { font-size: 11px; color: #8B8175; background: #F7F3EA; border-radius: 6px;
  padding: 8px 10px; word-break: break-all; line-height: 1.6; }
.share-btns { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 8px; }
.share-btns .btn { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; }

/* 存好店铺（微信收藏 / 添加到主屏幕） */
.bm-head { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center;
  align-items: center; gap: 10px; background: #FBF6EC; border: 1px solid #F0E4CD;
  border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.bm-head .bm-ic { width: 42px; height: 42px; line-height: 40px; text-align: center; border-radius: 10px;
  background: #8C1D1D; color: #F3DCAE; font-size: 22px; -webkit-flex: none; flex: none; }
.bm-head b { display: block; font-size: 15px; color: #3A2519; }
.bm-head span { display: block; font-size: 12px; color: #8B8175; margin-top: 3px; }
.bm-steps { padding-left: 2px; }
.bm-step { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: flex-start;
  align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.bm-step > b { width: 22px; height: 22px; line-height: 21px; text-align: center; border-radius: 50%;
  background: #8C1D1D; color: #fff; font-size: 12px; -webkit-flex: none; flex: none; }
.bm-step > span { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; font-size: 13px;
  color: #3A2519; line-height: 1.65; padding-top: 1px; }
.bm-step > span b { color: #C8102E; }
.bm-extra { background: #F7F3EA; border-radius: 8px; padding: 10px;
  font-size: 12px; color: #6B6157; line-height: 1.75; margin-top: 4px; }

/* ---------- 商品口味选择 ---------- */
.flavor-box { margin: 14px 0 4px; padding: 12px 14px; background: #FFFDF8;
  border: 1px solid #EFE4D2; border-radius: 10px; }
.fb-head { display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: baseline; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.fb-head b { font-size: 14px; color: #3A2519; }
.fb-head span { font-size: 11.5px; color: #9A8F82; }
.fb-chips { display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 8px; }
.fl-chip { min-height: 34px; padding: 0 16px; border: 1px solid #E4D3BC; border-radius: 18px;
  background: #fff; color: #6B6157; font-size: 13px; cursor: pointer; }
.fl-chip.on { border-color: #C8102E; background: #FFF3F1; color: #C8102E; font-weight: 700; }
.fb-tip { margin-top: 9px; font-size: 11.5px; color: #8B8175; line-height: 1.6; }
.fb-tip b { color: #C8102E; }
.li-flavor { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 9px;
  background: #FFF0EC; color: #C8102E; font-size: 10.5px; font-weight: 600; vertical-align: 1px; }
.oc-flavor { display: inline-block; margin: 0 3px; padding: 1px 6px; border-radius: 8px;
  background: #FFF0EC; color: #C8102E; font-size: 11px; }

/* ---------- 下单结果：关注公众号引导 ---------- */
.follow-card { position: relative; margin: 20px auto 14px; max-width: 420px;
  padding: 20px 16px 14px; text-align: center; cursor: pointer;
  background: -webkit-linear-gradient(180deg, #FFF9F0 0%, #FFFDF8 100%);
  background: linear-gradient(180deg, #FFF9F0 0%, #FFFDF8 100%);
  border: 1px solid #EAD9BE; border-radius: 12px; }
.fc-badge { position: absolute; top: -10px; left: 50%; -webkit-transform: translateX(-50%);
  transform: translateX(-50%); padding: 2px 12px; border-radius: 10px;
  background: #C8102E; color: #fff; font-size: 11px; white-space: nowrap; }
.fc-qr { display: block; width: 148px; height: 148px; margin: 6px auto 10px;
  object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid #EFE4D2; }
.fc-ic { display: block; width: 62px; height: 62px; line-height: 60px; margin: 4px auto 8px;
  border-radius: 50%; background: #FBEBDD; font-size: 28px; }
.fc-t b { display: block; font-size: 15px; color: #3A2519; }
.fc-t span { display: block; margin-top: 6px; font-size: 12px; color: #7A6E60; line-height: 1.75; }
.fc-name { margin-top: 10px; font-size: 13px; color: #6B6157; }
.fc-name b { color: #C8102E; }
.fc-how { margin-top: 10px; padding-top: 9px; border-top: 1px dashed #E4D3BC;
  font-size: 11.5px; color: #8B8175; line-height: 1.7; }
.fc-how span { color: #C8102E; }
.f-follow { display: inline-block; margin-top: 10px; padding: 6px 14px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.45); font-size: 11.5px; cursor: pointer; }
