/* ===== 第十六轮：全局主题变量（后台装修可切换，流行配色模板） ===== */
:root {
  --p: #ff2d6a;          /* 主色 */
  --p-lit: #ff4d6a;      /* 主色亮（渐变起） */
  --p-deep: #e8255f;     /* 主色深（渐变止） */
  --p-soft: #fff0f4;     /* 主色浅底 */
  --p-bright: #ff5d7d;   /* 主色最亮 */
  --p-grad: linear-gradient(135deg, var(--p-lit), var(--p));
  --p-grad-v: linear-gradient(160deg, var(--p-lit), var(--p) 55%, var(--p-deep));
  --p-sh-30: rgba(255,45,106,.3);
  --p-sh-35: rgba(255,45,106,.35);
  --p-sh-28: rgba(255,45,106,.28);
  --p-deep2: #e0245c;    /* 主色深 2（标签/券底等） */
  --p-x1: #ff5c8a;       /* 主色亮 2（渐变辅助） */
  --p-tint: #fff1f5;     /* 浅粉底 */
  --p-tint2: #ffe1e8;    /* 浅粉底 2 */
  --p-line: #ffb3c8;     /* 浅粉描边 */
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
[v-cloak] { display: none; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; background: #e9ecf2; color: #1f2740; min-height: 100vh; }
#app { width: 100%; }
.phone { width: 100%; max-width: 430px; min-height: 100vh; margin: 0 auto; background: #f6f7fa; position: relative; box-shadow: 0 0 40px rgba(160,40,80,.12); display: flex; flex-direction: column; }
.app-body { flex: 1; padding-bottom: 62px; overflow-y: auto; }
.view { min-height: 100%; padding-bottom: 18px; }

/* 首页头部 */
.home-head { background: linear-gradient(135deg,var(--p),var(--p-x1)); padding: 18px 16px 14px; color: #fff; border-radius: 0 0 18px 18px; }
.home-top { display: flex; align-items: center; justify-content: space-between; }
.home-title { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 8px; min-width: 0; }
.home-title > span:nth-of-type(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-site-logo { width: 28px; height: 28px; flex: 0 0 28px; object-fit: contain; background: #fff; border-radius: 8px; padding: 2px; box-sizing: border-box; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.home-site-mark { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; background: var(--p-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.badge { font-size: 12px; background: rgba(255,255,255,.22); padding: 2px 6px; border-radius: 4px; letter-spacing: 1px; }
.home-msg { position: relative; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.home-msg i { position: absolute; top: 6px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--p); }
.home-search { margin-top: 14px; background: #fff; color: #9aa3b8; border-radius: 20px; padding: 10px 14px; font-size: 14px; display: flex; align-items: center; gap: 8px; cursor: pointer; box-shadow: 0 6px 18px rgba(160,40,80,.12); }
.home-tags { display: flex; gap: 14px; margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.82); overflow-x: auto; }
.home-tags span { white-space: nowrap; cursor: pointer; }

/* 轮播 */
.hero { position: relative; height: 176px; margin: 12px; border-radius: 14px; overflow: hidden; background-size: cover; background-position: center; box-shadow: 0 10px 24px rgba(48,62,120,.18); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(84,10,38,.82),rgba(160,40,80,.18)); }
.hero-copy { position: relative; padding: 28px 20px; color: #fff; max-width: 76%; }
.hero-kicker { font-size: 13px; letter-spacing: 1px; opacity: .9; }
.hero-copy h2 { font-size: 24px; margin: 8px 0; line-height: 1.25; }
.hero-copy p { font-size: 14px; opacity: .85; margin-bottom: 14px; }
.hero-copy button { border: 0; background: #fff; color: var(--p); font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 14px; cursor: pointer; }
.hero-dots { position: absolute; bottom: 10px; right: 14px; display: flex; gap: 5px; }
.hero-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.5); cursor: pointer; }
.hero-dots i.on { width: 14px; background: #fff; }

/* 快捷入口 */
.quick-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 4px; padding: 12px 10px; }
.quick-grid > div { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.qicon { width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.qicon.red { background: linear-gradient(135deg,var(--p-x1),var(--p-x1)); }
.qicon.orange { background: linear-gradient(135deg,#ffb35c,#ff8a3d); }
.qicon.purple { background: linear-gradient(135deg,var(--p-x1),var(--p-x1)); }
.qicon.green { background: linear-gradient(135deg,#ff6b94,var(--p-deep2)); }
.qicon.blue { background: linear-gradient(135deg,#ffb35c,#ff8a3d); }
.quick-grid b { font-size: 15px; font-weight: 600; color: #3b4155; line-height: 1.25; max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick-grid small { font-size: 13px; color: #9aa3b8; line-height: 1.3; max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick-grid .qicon { box-shadow: 0 4px 10px rgba(60, 30, 50, .10); }
.quick-grid .qicon img { width: 100%; height: 100%; border-radius: 14px; object-fit: cover; }
.quick-grid .qicon .qemoji { font-style: normal; font-size: 20px; line-height: 1; }

/* 公告与服务 */
.notice-bar { margin: 0 12px 10px; background: #fff; border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.notice-label { background: var(--p-tint); color: var(--p-deep2); border-radius: 4px; padding: 2px 6px; font-weight: 700; flex-shrink: 0; }
.notice-track { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #6b7590; }
.service-strip { display: flex; justify-content: space-around; margin: 0 12px 12px; padding: 10px 4px; background: linear-gradient(90deg,var(--p-tint),var(--p-tint)); border-radius: 10px; font-size: 13px; color: #8a5568; }
.service-strip span { display: flex; align-items: center; gap: 3px; }
.service-strip span em { font-style: normal; font-size: 14px; line-height: 1; }

/* 通用面板 */
.home-panel { background: #fff; margin: 0 12px 12px; border-radius: 12px; padding: 14px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.panel-head h3 { font-size: 16px; display: flex; align-items: center; gap: 6px; }
.panel-head h3::before { content: ''; width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(180deg,var(--p),#ff6b94); }
.panel-head p { font-size: 13px; color: #9aa3b8; margin-top: 3px; }
.more { font-size: 14px; color: #8a93a8; cursor: pointer; }
.countdown { background: #1f2740; color: #fff; font-size: 13px; padding: 4px 8px; border-radius: 10px; letter-spacing: 1px; }

/* 秒杀 */
.seckill-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.sec-item { width: 96px; flex-shrink: 0; cursor: pointer; }
.sec-item img { width: 96px; height: 96px; border-radius: 8px; object-fit: cover; display: block; }
.sec-item b { color: var(--p-deep2); font-size: 15px; display: block; margin-top: 6px; }
.sec-item del { color: #aab2c4; font-size: 12px; }
.sec-stock { font-size: 12px; color: #9aa3b8; margin-top: 4px; }

/* 优惠券 */
.coupon-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.coupon-card { min-width: 210px; display: flex; align-items: center; background: linear-gradient(90deg,var(--p-tint),var(--p-tint)); border: 1px dashed var(--p-line); border-radius: 8px; overflow: hidden; }
.cc-value { width: 68px; align-self: stretch; display: flex; align-items: center; justify-content: center; color: var(--p-deep2); font-size: 22px; font-weight: 800; border-right: 1px dashed var(--p-line); }
.cc-value small { font-size: 14px; margin-right: 1px; }
.cc-body { flex: 1; padding: 8px 10px; min-width: 0; }
.cc-body b, .cc-right b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-body span, .cc-right p { font-size: 13px; color: #9aa3b8; margin-top: 4px; }
.coupon-card button { border: 0; background: var(--p-deep2); color: #fff; font-size: 13px; padding: 5px 8px; margin-right: 8px; border-radius: 10px; cursor: pointer; }

/* 分类快捷 */
.cate-quick { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.cate-quick > div { background: #f8f9fc; border-radius: 8px; padding: 10px 4px; text-align: center; font-size: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.cate-emoji { font-size: 22px; }

/* 商品 */
.goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.goods-card { background: #fff; border: 1px solid #eef0f5; border-radius: 10px; overflow: hidden; cursor: pointer; }
.goods-cover { position: relative; height: 150px; background: #fff7fa; }
.goods-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rec-tag { position: absolute; top: 8px; left: 8px; background: linear-gradient(90deg,var(--p-x1),var(--p-deep2)); color: #fff; border-radius: 8px; padding: 2px 7px; font-size: 12px; }
.purple-tag { background: linear-gradient(90deg,var(--p-x1),var(--p-deep2)); }
.goods-info { padding: 9px 10px 10px; }
.goods-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.goods-sub { font-size: 13px; color: #9aa3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.goods-foot { display: flex; align-items: baseline; gap: 6px; margin-top: 7px; }
.goods-price { color: var(--p-deep2); font-size: 17px; font-weight: 800; }
.goods-price small { font-size: 13px; }
.goods-foot del { color: #b0b8c8; font-size: 13px; }
.goods-meta { display: flex; justify-content: space-between; color: #a0a8ba; font-size: 12px; margin-top: 6px; }
.sec-progress { height: 4px; background: #f4f5f8; border-radius: 2px; margin-top: 8px; overflow: hidden; }
.sec-progress i { display: block; height: 100%; background: linear-gradient(90deg,#ff9a6c,var(--p-deep2)); }

/* 品牌 */
.brand-panel { background: #fff; margin: 0 12px 12px; padding: 14px; border-radius: 12px; }
.brand-scroll { display: flex; gap: 8px; overflow-x: auto; }
.brand-card { min-width: 108px; border: 1px solid #eef0f5; border-radius: 8px; padding: 10px; text-align: center; }
.brand-logo { width: 38px; height: 38px; margin: 0 auto 6px; border-radius: 10px; background: linear-gradient(135deg,#eef2ff,#e5e9ff); color: var(--p); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.brand-card b { font-size: 14px; display: block; }
.brand-card span { font-size: 12px; color: #9aa3b8; display: block; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 每日上新 */
.mini-list { display: flex; flex-direction: column; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f2f4f8; cursor: pointer; }
.mini-row img { width: 58px; height: 58px; border-radius: 6px; object-fit: cover; }
.mini-row div { flex: 1; min-width: 0; }
.mini-row b { font-size: 14px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row span { font-size: 13px; color: #9aa3b8; display: block; margin-top: 4px; }
.mini-row em { color: var(--p-deep2); font-size: 14px; font-style: normal; font-weight: 700; }
.home-footer { text-align: center; color: #a0a8ba; font-size: 13px; line-height: 1.8; padding: 18px 0 8px; }

/* 通用页 */
.sub-head { background: #fff; padding: 14px 16px; font-size: 16px; font-weight: 600; border-bottom: 1px solid #eef0f5; position: relative; text-align: center; }
.sub-head.back { text-align: left; padding-left: 42px; }
.sub-head.back::before { content: none; }
.head-right { position: absolute; right: 16px; font-size: 14px; color: #9aa3b8; font-weight: 400; cursor: pointer; }
.block { background: #fff; margin: 10px; border-radius: 10px; padding: 14px; }
.blk-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: #2a3350; }
.empty-tip { text-align: center; color: #a0a8ba; font-size: 14px; padding: 40px 10px; }
.price, .cart-price { color: var(--p-deep2); font-weight: 700; }
.full-btn { width: 100%; margin-top: 10px; }

/* 搜索 */
.search-bar { display: flex; gap: 8px; padding: 10px; background: #fff; }
.hot-words { display: flex; flex-wrap: wrap; gap: 8px; }
.hot-words span { background: #f4f6fb; border-radius: 12px; padding: 6px 12px; font-size: 14px; color: #5a6684; cursor: pointer; }

/* 分类页 */
.cate-wrap { display: flex; background: #fff; min-height: calc(100vh - 50px); }
.cate-list { width: 92px; background: #f6f7fa; overflow-y: auto; flex-shrink: 0; }
.cate-item { padding: 14px 6px; font-size: 14px; text-align: center; color: #6b7590; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 4px; }
.cate-item span { font-size: 18px; }
.cate-item.active { background: #fff; color: var(--p); font-weight: 700; }
.cate-item.active::before { content: ''; position: absolute; left: 0; top: 25%; height: 50%; width: 3px; background: var(--p); }
.cate-goods { flex: 1; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.cate-banner { grid-column: 1 / -1; background: linear-gradient(135deg,var(--p),#ff6b94); color: #fff; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.cate-banner b { font-size: 15px; }
.cate-banner span { font-size: 13px; opacity: .85; }
.mini-goods { cursor: pointer; }
.mini-goods img { width: 100%; height: 88px; border-radius: 6px; object-fit: cover; display: block; }
.mini-name { font-size: 14px; padding-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-price { color: var(--p-deep2); font-weight: 700; font-size: 14px; }
.mini-sales { font-size: 12px; color: #a0a8ba; }

/* 详情 */
.detail-img { height: 300px; background: #fff7fa; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { margin: 10px 12px 0; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 2px 10px rgba(40,50,90,.06); }
.detail-price { color: var(--p-deep2); font-size: 24px; font-weight: 800; }
.detail-price small { font-size: 14px; }
.detail-price del { color: #b0b8c8; font-size: 14px; font-weight: 400; margin-left: 8px; }
.detail-info h2 { font-size: 17px; margin: 8px 0 4px; }
.detail-sub { color: #8a93a8; font-size: 14px; }
.detail-badges { display: flex; gap: 8px; margin-top: 10px; }
.detail-badges span { color: var(--p); background: var(--p-tint); border-radius: 4px; padding: 3px 7px; font-size: 12px; }
.detail-sku, .detail-desc { background: #fff; margin: 10px 12px 0; border-radius: 14px; padding: 14px 16px; box-shadow: 0 2px 10px rgba(40,50,90,.06); }
.sku-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sku-chip { border: 1px solid #d8deea; border-radius: 6px; padding: 7px 12px; font-size: 14px; cursor: pointer; }
.sku-chip.active { border-color: var(--p); color: var(--p); background: var(--p-tint); }
.detail-desc p, .detail-param { font-size: 14px; color: #6b7590; line-height: 1.8; }
.detail-param { display: flex; justify-content: space-between; border-bottom: 1px solid #f2f4f8; padding: 6px 0; }
.detail-action { display: flex; gap: 10px; padding: 12px 16px; background: #fff; margin-top: 10px; position: sticky; bottom: 0; }
.detail-action .el-button { flex: 1; }

/* 购物车 */
.cart-list { padding: 10px; }
.cart-item { background: #fff; border-radius: 10px; padding: 12px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.cart-img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.cart-info { flex: 1; min-width: 0; }
.cart-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-sku { font-size: 13px; color: #9aa3b8; margin: 4px 0; }
.cart-bottom { display: flex; align-items: center; justify-content: space-between; }
.empty-cart { text-align: center; color: #a0a8ba; padding: 70px 0; }
.empty-cart .el-icon { font-size: 48px; }
.empty-cart p { margin: 12px 0; font-size: 14px; }
.cart-bar { position: fixed; bottom: 62px; left: 0; right: 0; max-width: 430px; margin: auto; background: #fff; border-top: 1px solid #eef0f5; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; z-index: 9; }

/* 结算 */
.addr { background: #f8f9fc; border-radius: 8px; padding: 12px; font-size: 14px; cursor: pointer; }
.addr b { font-size: 14px; }
.addr p { color: #6b7590; margin-top: 4px; line-height: 1.5; }
.chk-item, .chk-line { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 8px 0; border-bottom: 1px solid #f2f4f8; }
.chk-item img { width: 44px; height: 44px; border-radius: 5px; object-fit: cover; margin-right: 8px; }
.chk-item span:nth-child(2) { flex: 1; }
.chk-total { text-align: right; padding: 12px 16px; font-size: 14px; }
.chk-total b { font-size: 22px; color: var(--p-deep2); }

/* 订单 */
.order-tabs { display: flex; background: #fff; border-bottom: 1px solid #eef0f5; }
.order-tabs span { flex: 1; text-align: center; padding: 12px 0; font-size: 14px; color: #6b7590; cursor: pointer; position: relative; }
.order-tabs span.active { color: var(--p); font-weight: 700; }
.order-tabs span.active::after { content: ''; position: absolute; bottom: 0; left: 30%; right: 30%; height: 2px; background: var(--p); }
.order-list { padding: 10px 12px 0; }
.order-card { background: #fff; border-radius: 14px; padding: 12px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(40,50,90,.06); }
.order-head { display: flex; justify-content: space-between; font-size: 13px; color: #9aa3b8; padding-bottom: 10px; border-bottom: 1px solid #f2f4f8; }
.order-head em { font-style: normal; color: var(--p); }
.order-head .st-1 { color: #f59e0b; } .order-head .st-3 { color: #10b981; } .order-head .st-4 { color: var(--p); } .order-head .st-6 { color: #9aa3b8; }
.order-body { display: flex; gap: 10px; padding: 10px 0; }
.order-body img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; }
.oinfo { flex: 1; }
.oname { font-size: 14px; }
.oamt { color: var(--p-deep2); font-weight: 700; margin-top: 6px; }
.order-foot { text-align: right; border-top: 1px solid #f2f4f8; padding-top: 8px; }

/* 支付 */
.pay-channels { display: flex; gap: 10px; }
.pay-ch { flex: 1; border: 1px solid #d8deea; border-radius: 8px; padding: 14px; text-align: center; font-size: 14px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pay-ch .el-icon { font-size: 22px; }
.pay-ch.active { border-color: var(--p); color: var(--p); background: var(--p-tint); }

/* 会员中心 */
.mine-head { background: linear-gradient(135deg,var(--p),var(--p-x1)); padding: 26px 18px; color: #fff; display: flex; align-items: center; gap: 14px; cursor: pointer; border-radius: 0 0 18px 18px; }
.avatar { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.mine-head b { font-size: 16px; }
.mine-head p { font-size: 14px; opacity: .85; margin-top: 6px; }
.head-arrow { margin-left: auto; }
.mine-stats { display: flex; background: #fff; margin: 10px; border-radius: 10px; padding: 14px 0; }
.mine-stats > div { flex: 1; text-align: center; display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.mine-stats b { font-size: 17px; }
.mine-stats span { font-size: 13px; color: #9aa3b8; }
.mine-section { background: #fff; margin: 10px; border-radius: 10px; padding: 14px; }
.mine-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px 4px; }
.mine-grid > div { text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; }
.mine-grid .el-icon { font-size: 22px; color: var(--p); }
.mine-banner { margin: 10px; border-radius: 12px; padding: 16px; background: linear-gradient(90deg,var(--p-tint),#fff7e6); display: flex; align-items: center; justify-content: space-between; }
.mine-banner b { font-size: 14px; display: block; }
.mine-banner span { font-size: 13px; color: #9aa3b8; display: block; margin-top: 4px; }

/* 地址/分销/积分/券 */
.addr-list { padding: 10px; }
.addr-card { background: #fff; border-radius: 10px; padding: 14px; margin-bottom: 10px; cursor: pointer; font-size: 14px; }
.addr-card > div { display: flex; align-items: center; gap: 8px; }
.addr-card p { color: #6b7590; margin-top: 6px; line-height: 1.5; }
.dist-card { background: linear-gradient(135deg,var(--p),var(--p-x1)); margin: 10px; border-radius: 12px; padding: 22px; color: #fff; text-align: center; }
.dist-title { font-size: 14px; opacity: .85; }
.dist-amount { font-size: 32px; font-weight: 800; margin: 8px 0 12px; }
.dist-card p { font-size: 13px; opacity: .8; margin-top: 8px; }
.dist-stats { display: flex; background: #fff; margin: 10px; border-radius: 10px; padding: 14px; }
.dist-stats > div { flex: 1; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.dist-stats b { font-size: 16px; } .dist-stats span { font-size: 13px; color: #9aa3b8; }
.team-item { padding: 10px 0; font-size: 14px; border-bottom: 1px solid #f2f4f8; display: flex; align-items: center; gap: 8px; }
.team-item span { margin-left: auto; color: #a0a8ba; font-size: 13px; }
.sign-status { font-size: 14px; color: #6b7590; margin-bottom: 12px; }
.sign-btns { display: flex; gap: 8px; }
.sign-btns .el-button { flex: 1; margin: 0; }
.coupon-list { padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.coupon-card .cc-left { width: 82px; align-self: stretch; background: linear-gradient(135deg,var(--p-tint),var(--p-tint2)); color: var(--p-deep2); font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cc-left small { font-size: 14px; }
.cc-right { padding: 12px; flex: 1; min-width: 0; }
.coupon-card .el-button { margin-right: 10px; }
.coupon-hero { background: linear-gradient(135deg,var(--p-deep2),var(--p-x1)); color: #fff; padding: 22px; text-align: center; }
.coupon-hero h2 { font-size: 20px; }
.coupon-hero p { font-size: 14px; opacity: .85; margin-top: 6px; }
.seckill-hero, .pintuan-hero { background: linear-gradient(135deg,#1f2740,var(--p)); color: #fff; padding: 22px; }
.seckill-hero span { font-size: 14px; opacity: .85; }
.seckill-hero h2, .pintuan-hero h2 { font-size: 20px; margin: 8px 0; }
.seckill-hero p, .pintuan-hero p { font-size: 14px; opacity: .85; }
.pintuan-hero { background: linear-gradient(135deg,var(--p-deep2),#b06bff); }
.notice-list { padding: 10px; }
.notice-item { display: flex; gap: 10px; background: #fff; border-radius: 10px; padding: 14px; margin-bottom: 10px; }
.ni-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--p-tint); color: var(--p); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.notice-item b { font-size: 14px; }
.notice-item p { font-size: 14px; color: #9aa3b8; margin-top: 5px; line-height: 1.5; }
.login-hero { text-align: center; padding: 30px 20px 10px; }
.login-logo { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 16px; background: linear-gradient(135deg,var(--p),#ff6b94); color: #fff; font-size: 30px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.login-hero h2 { font-size: 18px; }
.login-hero p { font-size: 14px; color: #9aa3b8; margin-top: 6px; }
.login-box { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.login-tip { font-size: 14px; color: #a0a8ba; text-align: center; margin-top: 6px; }

/* 底部导航 */
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; max-width: 430px; margin: auto; height: 58px; background: #fff; border-top: 1px solid #eef0f5; display: flex; z-index: 10; }
.tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 13px; color: #9aa3b8; cursor: pointer; }
.tab-item .el-icon { font-size: 20px; }
.tab-item.active { color: var(--p); font-weight: 600; }

/* ============ Element Plus 粉红覆盖 ============ */
:root {
  --el-color-primary: var(--p);
  --el-color-primary-light-3: #ff6b94;
  --el-color-primary-light-5: #ff97b0;
  --el-color-primary-light-7: #ffc2d2;
  --el-color-primary-light-8: #ffd6e0;
  --el-color-primary-light-9: var(--p-tint);
  --el-color-primary-dark-2: var(--p-deep2);
}
.el-button--primary { background: linear-gradient(135deg,var(--p),var(--p-x1)); border: none; }
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-radio__input.is-checked .el-radio__inner { background: var(--p); border-color: var(--p); }
.el-tabs__item.is-active { color: var(--p); }
.el-tabs__active-bar { background-color: var(--p); }

/* 详情页增强 */
.detail-swiper { margin: 0; border-radius: 0 0 14px 14px; overflow: hidden; }
.detail-swiper img { width: 100%; height: 375px; object-fit: cover; display: block; }
.detail-sales { display: flex; justify-content: space-between; font-size: 14px; color: #9aa3b8; margin-top: 8px; }
.detail-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.detail-services span { font-size: 13px; color: var(--p-deep2); background: var(--p-tint); border-radius: 4px; padding: 3px 8px; }
.detail-rich { font-size: 14px; color: #4a5570; line-height: 1.8; padding: 4px 2px; }
.detail-rich img { max-width: 100%; }
.eval-panel { margin: 10px 12px 0; background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 2px 10px rgba(40,50,90,.06); }
.eval-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.eval-head b { font-size: 15px; }
.eval-head span { font-size: 14px; color: var(--p); }
.eval-item { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid #f2f4f8; }
.eval-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,var(--p-x1),var(--p-x1)); color: #fff; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.eval-body b { font-size: 14px; }
.eval-body p { font-size: 14px; color: #4a5570; line-height: 1.6; margin-top: 3px; }
.eval-body em { font-size: 13px; color: #a0a8ba; font-style: normal; margin-top: 2px; display: block; }
.eval-stars { color: #ffb35c; font-size: 14px; letter-spacing: 1px; }

/* 产品参数网格 */
.param-grid { margin: 8px 0 4px; }
.param-grid .detail-param span:first-child { color: #98a1b8; min-width: 76px; }
.param-grid .detail-param span:last-child { text-align: right; color: #4a5570; }

/* ============ 首页装修组件区 ============ */
.deco-goods .goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.deco-rich { padding: 14px; }
.deco-rich .rich-html { font-size: 14px; color: #4a5570; line-height: 1.8; }
.deco-rich .rich-html img { max-width: 100%; border-radius: 6px; }
.deco-rich .rich-html h3 { font-size: 16px; margin: 8px 0 6px; color: #232a3d; }
.deco-blank { width: 100%; }
.notice-bar.deco { opacity: .92; }
.brand-logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid #f2d4de; }

/* ===== 装修组件（后台可视化装修）===== */
.deco-search { padding: 8px 12px; background: #fff; }
.ds-bar { display: flex; align-items: center; gap: 8px; background: #f2f3f7; color: #9aa1b2; font-size: 14px; padding: 9px 14px; }
.ds-bar.round { border-radius: 22px; }
.ds-bar.radius { border-radius: 10px; }
.ds-bar.square { border-radius: 0; }
.deco-nav { background: #fff; border-radius: 14px; margin: 10px 12px; padding: 14px 6px 8px; }
.dn-grid { display: grid; gap: 10px 4px; }
.dn-item { text-align: center; }
.dn-item em { display: block; font-style: normal; font-size: 26px; line-height: 36px; background: #f4f6ff; border-radius: 12px; width: 44px; margin: 0 auto 4px; }
.dn-item span { font-size: 14px; color: #3a4154; }
.deco-image-nav { background: #fff; border-radius: 14px; margin: 10px 12px; padding: 12px 8px 8px; }
.in-grid { display: grid; gap: 10px 6px; }
.in-item { text-align: center; cursor: pointer; }
.in-item img, .in-item em { display: block; width: 100%; aspect-ratio: 1 / 1; max-height: 72px; object-fit: cover; border-radius: 12px; background: var(--p-soft); color: var(--p); font-style: normal; font-size: 22px; font-weight: 700; line-height: 1; }
.in-item em { display: flex; align-items: center; justify-content: center; }
.in-item span { display: block; font-size: 14px; color: #3a4154; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deco-magic { margin: 10px 12px; }
.dm-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 12px; overflow: hidden; }
.deco-magic.left1 .dm-img.big { grid-row: span 2; }
.deco-magic.grid4 .dm-wrap { grid-template-columns: 1fr 1fr; }
.dm-img { position: relative; background: #f0f1f5; }
.dm-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deco-magic .dm-img.big img { height: 180px; }
.deco-magic:not(.one) .dm-img img { height: 88px; }
.deco-magic.one .dm-img img { height: 170px; }
.deco-magic .dm-img { border-radius: 0; }
.deco-magic.one .dm-img { border-radius: 12px; overflow: hidden; }
.goods-grid.single { grid-template-columns: 1fr; }
.goods-grid.single .goods-card { display: flex; gap: 12px; align-items: center; }
.goods-grid.single .goods-card .goods-cover { width: 96px; height: 76px; flex-shrink: 0; }
.deco-tab .dt-tabs { display: flex; gap: 16px; margin-bottom: 10px; border-bottom: 1px solid #f0f1f5; padding-bottom: 6px; }
.deco-tab .dt-tabs span { font-size: 15px; color: #6b7280; position: relative; padding: 2px 0; }
.deco-tab .dt-tabs span.on { color: #1f2430; font-weight: 700; }
.deco-tab .dt-tabs span.on::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: -7px; height: 3px; background: var(--p); border-radius: 2px; }
.pintuan-panel .pt-price { color: var(--p); }
.pintuan-panel .pt-people { font-size: 13px; color: #9aa1b2; display: block; }

/* ===== 第九轮：个人中心打通 ===== */
.mine-footer { text-align: center; color: #b0b3ba; font-size: 14px; padding: 18px 0 8px; }
.sign-ladder { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.sign-ladder span { background: #f5f6f8; border-radius: 12px; padding: 3px 10px; font-size: 14px; color: #6b7080; }
.dist-rate { color: #8a8f9c; font-size: 14px; margin: 6px 0 10px; }
/* —— 我的余额：合并账户余额与邀请奖励余额，仅展示不改变资金底层 —— */
.wallet-card .dist-rate { color: rgba(255,255,255,.82); font-size: 14px; margin: 2px 0 0; }
.wallet-card .dist-amount { font-size: 38px; letter-spacing: 1px; }
.wallet-withdraw { text-align: center; }
.wallet-withdraw .form-tip2 { margin-top: 10px; font-size: 14px; }
.goods-grid.single .goods-card .goods-foot { display: flex; align-items: center; justify-content: space-between; }

/* ===== 第十轮：个人中心重设计（深蓝主题） ===== */
.view-mine { background: #f4f6fb; padding-bottom: 20px; }
.mine-hero { background: var(--p-grad-v); padding: 30px 16px 56px; color: #fff; border-radius: 0 0 22px 22px; position: relative; overflow: hidden; }
.mine-hero::after { content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.06); }
.mine-hero::before { content: ''; position: absolute; right: 40px; bottom: -60px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.05); }
.mh-top { display: flex; align-items: center; gap: 14px; cursor: pointer; position: relative; z-index: 1; }
.mh-avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.45); display: flex; align-items: center; justify-content: center; font-size: 26px; overflow: hidden; flex-shrink: 0; }
.mh-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mh-info { flex: 1; min-width: 0; }
.mh-info b { font-size: 17px; display: block; }
.mh-tags { display: flex; gap: 6px; margin-top: 6px; }
.mh-level { font-size: 13px; background: linear-gradient(90deg,#ffd76e,#ffb347); color: #5b3d00; font-weight: 700; padding: 2px 8px; border-radius: 8px; }
.mh-id { font-size: 13px; background: rgba(255,255,255,.18); padding: 2px 8px; border-radius: 8px; opacity: .9; }
.mh-info p { font-size: 14px; opacity: .8; margin-top: 6px; }
.mh-arrow { opacity: .75; }
.mh-assets { position: relative; z-index: 1; display: flex; margin-top: 20px; background: rgba(255,255,255,.1); border-radius: 14px; padding: 12px 0; backdrop-filter: blur(4px); }
.mh-assets > div { flex: 1; text-align: center; display: flex; flex-direction: column; gap: 3px; cursor: pointer; border-right: 1px solid rgba(255,255,255,.12); }
.mh-assets > div:last-child { border-right: 0; }
.mh-assets b { font-size: 17px; }
.mh-assets span { font-size: 13px; opacity: .75; }
.mine-orders-card { background: #fff; border-radius: 14px; margin: -38px 12px 10px; padding: 14px; box-shadow: 0 6px 20px var(--p-sh-28); position: relative; z-index: 2; }
.moc-head { display: flex; align-items: center; justify-content: space-between; }
.moc-head b { font-size: 15px; display: flex; align-items: center; gap: 6px; color: #26315e; }
.moc-head b .el-icon { color: var(--p); }
.moc-head span { font-size: 14px; color: #9aa3b8; cursor: pointer; }
.moc-tabs { display: flex; margin-top: 12px; }
.moc-tabs > div { flex: 1; text-align: center; cursor: pointer; }
.moc-ico { position: relative; display: inline-flex; width: 38px; height: 38px; border-radius: 12px; background: #f2f4fb; align-items: center; justify-content: center; }
.moc-ico .el-icon { font-size: 19px; color: var(--p); }
.moc-badge { position: absolute; top: -5px; right: -8px; background: var(--p-lit); color: #fff; font-size: 12px; font-style: normal; min-width: 16px; height: 16px; line-height: 16px; border-radius: 8px; padding: 0 4px; }
.moc-tabs span { display: block; font-size: 13px; color: #6b7590; margin-top: 5px; }
.mine-shop-banner { display: flex; align-items: center; gap: 12px; background: linear-gradient(120deg,#fff7ec,#fff); margin: 0 12px 10px; border-radius: 14px; padding: 13px 14px; border: 1px solid #ffe4bd; cursor: pointer; }
.msb-icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg,#ffb347,#ff8f3c); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; }
.msb-txt { flex: 1; min-width: 0; }
.msb-txt b { font-size: 14px; color: #7a4b0c; display: block; }
.msb-txt span { font-size: 13px; color: #b08d5e; display: block; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mine-invite { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(120deg,var(--p-tint),#fff); margin: 0 12px 10px; border-radius: 14px; padding: 13px 14px; border: 1px solid var(--p-line); cursor: pointer; }
.mine-invite b { font-size: 14px; color: var(--p-deep2); display: block; }
.mine-invite span { font-size: 13px; color: #8d95c4; display: block; margin-top: 3px; }
.mine-invite .el-button { background: var(--p); color: #fff; border-color: var(--p); }
.mine-section { background: #fff; margin: 10px 12px; border-radius: 14px; padding: 14px; }
.mine-section .blk-title { font-size: 14px; color: #26315e; font-weight: 700; margin-bottom: 12px; }
.mine-grid.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px 4px; }
.mine-grid.g4 > div { text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; color: #4a5270; }
.mine-grid.g4 > div:active { opacity: .7; }
.mine-grid.g4 .el-icon { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 21px; color: #fff; padding: 0; }
.mi-c1 .el-icon { background: linear-gradient(135deg,#4f7bff,#3d5ee0); }
.mi-c2 .el-icon { background: linear-gradient(135deg,var(--p-x1),var(--p-x1)); }
.mi-c3 .el-icon { background: linear-gradient(135deg,#38c9b0,#1fb599); }
.mi-c4 .el-icon { background: linear-gradient(135deg,#ffb347,#ff8f3c); }
.mi-c5 .el-icon { background: linear-gradient(135deg,#a06bff,#7c4dff); }
.mi-c6 .el-icon { background: linear-gradient(135deg,var(--p-x1),#ff3d78); }
.mi-c7 .el-icon { background: linear-gradient(135deg,#35bfff,#1f9fe8); }
.mi-c8 .el-icon { background: linear-gradient(135deg,#ffd76e,#ffb347); }
.mi-c9 .el-icon { background: linear-gradient(135deg,#5b8dff,#3d6ee0); }
.mi-c10 .el-icon { background: linear-gradient(135deg,#7f8ff5,#5b6bdb); }
.mi-c11 .el-icon { background: linear-gradient(135deg,#2fc8a8,#1eae90); }
.mi-c12 .el-icon { background: linear-gradient(135deg,#8f9bb8,#6b7794); }
.mine-logout { background: #fff; margin: 12px; border-radius: 14px; padding: 14px; text-align: center; color: var(--p-x1); font-size: 14px; font-weight: 600; cursor: pointer; }
.mine-footer { text-align: center; color: #a7adc0; font-size: 14px; padding: 16px 0 6px; }

/* ===== 第十轮：订单页升级 ===== */
.order-tabs span { position: relative; }
.ot-badge { position: absolute; top: 6px; margin-left: 3px; background: var(--p-lit); color: #fff; font-size: 12px; font-style: normal; min-width: 14px; height: 14px; line-height: 14px; border-radius: 7px; padding: 0 3px; }
.order-card { cursor: default; }
.oh-shop { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600; color: #333c5e; }
.oh-shop .el-icon { color: var(--p); }
.og-list { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.og-row { display: flex; gap: 10px; cursor: pointer; }
.og-row img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #f2f4f8; flex-shrink: 0; }
.og-info { flex: 1; min-width: 0; }
.og-name { font-size: 14px; color: #2a3150; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.og-spec { font-size: 13px; color: #a0a8ba; background: #f4f5f9; border-radius: 4px; padding: 1px 6px; display: inline-block; margin-top: 5px; }
.og-right { text-align: right; flex-shrink: 0; }
.og-price { font-size: 14px; font-weight: 700; color: #26315e; }
.og-qty { font-size: 14px; color: #a0a8ba; margin-top: 4px; }
.order-sum { text-align: right; font-size: 14px; color: #8a91a5; padding: 10px 0 8px; border-top: 1px dashed #eef0f5; margin-top: 10px; }
.order-sum .price { font-size: 16px; color: var(--p-lit); font-weight: 700; }
.order-foot { display: flex; justify-content: flex-end; gap: 8px; }

/* ===== 第十轮：空状态升级 ===== */
.empty-block { text-align: center; padding: 52px 20px 40px; }
.eb-icon { width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; background: #eef1f8; display: flex; align-items: center; justify-content: center; }
.eb-icon .el-icon { font-size: 34px; color: #b6bdd0; }
.empty-block p { font-size: 15px; color: #4a5270; font-weight: 600; }
.empty-block > span { display: block; font-size: 14px; color: #a0a8ba; margin: 6px 0 16px; }
.empty-tip { text-align: center; color: #a0a8ba; font-size: 14px; padding: 34px 10px; position: relative; }
.empty-tip::before { content: '· · ·'; display: block; font-size: 18px; letter-spacing: 4px; color: #ccd2e0; margin-bottom: 8px; font-weight: 700; }

/* ===== 第十轮：开店申请页 ===== */
.shop-status { margin: 14px 12px 0; border-radius: 14px; padding: 18px 16px; text-align: center; }
.shop-status .ss-ico { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; }
.shop-status b { font-size: 16px; display: block; }
.shop-status p { font-size: 14px; margin-top: 8px; }
.shop-status span { font-size: 14px; display: block; margin-top: 6px; opacity: .8; }
.st-pending { background: linear-gradient(135deg,#fff8e8,#fff); border: 1px solid #ffe6ad; }
.st-pending .ss-ico { background: linear-gradient(135deg,#ffb347,#ff9230); }
.st-pending b { color: #9a6a10; } .st-pending p, .st-pending span { color: #b08d5e; }
.st-passed { background: linear-gradient(135deg,#e9f9f1,#fff); border: 1px solid #bcefd5; }
.st-passed .ss-ico { background: linear-gradient(135deg,#2fc8a8,#1eae90); }
.st-passed b { color: #16805e; } .st-passed p, .st-passed span { color: #4ba384; }
.st-rejected { background: linear-gradient(135deg,#fdeeee,#fff); border: 1px solid #f5c6c6; }
.st-rejected .ss-ico { background: linear-gradient(135deg,var(--p-x1),var(--p-x1)); }
.st-rejected b { color: #c0392b; } .st-rejected p, .st-rejected span { color: #d08080; }
.form-tip2 { font-size: 13px; color: #a0a8ba; margin-top: 12px; line-height: 1.6; }
.chk-line.ta-top { align-items: flex-start; }
.shop-steps { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px; }
.ss-step { text-align: center; flex: 1; }
.ss-step i { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--p-grad); color: #fff; font-style: normal; font-size: 15px; font-weight: 700; align-items: center; justify-content: center; }
.ss-step b { display: block; font-size: 14px; color: #2a3150; margin-top: 7px; }
.ss-step span { display: block; font-size: 13px; color: #a0a8ba; margin-top: 3px; }
.ss-arrow { color: #ccd2e0; font-size: 18px; padding: 0 2px; margin-bottom: 24px; }

/* ===== 第十轮：会员等级页 ===== */
.lv-hero { background: var(--p-grad-v); margin: 14px 12px 0; border-radius: 16px; padding: 22px 18px; color: #fff; text-align: center; position: relative; overflow: hidden; }
.lv-hero::after { content: ''; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.07); }
.lv-hero p { font-size: 14px; opacity: .8; }
.lv-hero b { font-size: 22px; display: block; margin: 8px 0; }
.lv-hero span { font-size: 14px; opacity: .75; }
.lv-card { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 12px; border: 1px solid #eef0f5; margin-bottom: 10px; background: #fff; }
.lv-card.on { border-color: var(--p); background: var(--p-soft); box-shadow: 0 4px 14px var(--p-sh-28); }
.lv-badge { width: 40px; height: 40px; border-radius: 12px; background: var(--p-grad); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lv-info { flex: 1; min-width: 0; }
.lv-info b { font-size: 15px; color: #2a3150; display: block; }
.lv-info span { font-size: 13px; color: #a0a8ba; display: block; margin-top: 4px; }
.lv-right { text-align: right; }
.lv-right em { font-size: 16px; font-weight: 700; color: var(--p-lit); font-style: normal; }
.lv-right span { display: block; font-size: 13px; color: #a0a8ba; margin-top: 2px; }
.lv-tips { font-size: 14px; color: #6b7590; line-height: 2; }

/* ===== 第十一轮：导航返回钮 / 底部购买栏 / 分类 / 购物车推荐 / 登录注册 / 开店资料 ===== */
.sub-head { display: flex; align-items: center; justify-content: center; }
.sub-head .sh-title { font-size: 16px; font-weight: 700; color: #1f2433; letter-spacing: .5px; }
.sub-head.back { justify-content: flex-start; position: relative; height: 50px; box-sizing: border-box; padding: 14px 16px 14px 52px; }
.sub-head.back .sh-title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; pointer-events: none; }
.sub-head.back .sh-btn { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: #f4f5f9; color: #4a5165; display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: all .15s; }
.sub-head.back .sh-btn:active { background: var(--p); color: #fff; transform: translateY(-50%) scale(.92); }

/* 商品详情底部悬浮购买栏 */
.buybar { position: fixed; bottom: 0; left: 0; right: 0; max-width: 430px; margin: auto; background: #fff; border-top: 1px solid #eef0f5; box-shadow: 0 -4px 16px rgba(20,24,40,.06); display: flex; align-items: center; padding: 8px 10px 8px 6px; gap: 4px; z-index: 20; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
.buybar .bb-icon { width: 52px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; color: #5b637a; cursor: pointer; position: relative; padding: 4px 0; }
.buybar .bb-icon .el-icon { font-size: 19px; color: #3c4356; }
.buybar .bb-icon:active .el-icon { color: var(--p); }
.buybar .bb-badge { position: absolute; top: 0; right: 8px; min-width: 15px; height: 15px; line-height: 15px; padding: 0 4px; border-radius: 8px; background: var(--p); color: #fff; font-size: 12px; font-style: normal; text-align: center; }
.buybar .bb-cart { flex: 1.2; height: 40px; border: none; color: #fff; background: linear-gradient(135deg,#ffb347,#ff9000); border-radius: 20px 0 0 20px; font-size: 14px; font-weight: 700; margin: 0; }
.buybar .bb-buy { flex: 1.2; height: 40px; border: none; color: #fff; background: var(--p-grad); border-radius: 0 20px 20px 0; font-size: 14px; font-weight: 700; margin: 0; }

/* 分类页：左栏 + 右侧两列卡片 */
.cate-wrap2 { display: flex; background: #fff; min-height: calc(100vh - 50px); }
.cate-side { width: 92px; flex-shrink: 0; background: #f6f7fa; border-right: 1px solid #eef0f5; }
.cate-item2 { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 10px; cursor: pointer; position: relative; transition: background .15s; }
.cate-item2.active { background: #fff; }
.cate-item2.active::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: var(--p); }
.cate-item2 .ci-emoji { font-size: 17px; margin-bottom: 3px; }
.cate-item2 .ci-txt b { display: block; font-size: 14px; color: #1f2433; }
.cate-item2.active .ci-txt b { color: var(--p); }
.cate-item2 .ci-txt small { font-size: 12px; color: #a0a8ba; margin-top: 2px; }
.cate-main { flex: 1; min-width: 0; padding: 10px; }
.cate-hero { background: linear-gradient(135deg,#fff4f6,#fff9ec); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.cate-hero b { display: block; font-size: 16px; color: #1f2433; }
.cate-hero span { display: block; font-size: 13px; color: #8a92a8; margin-top: 4px; }
.cate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cate-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(20,24,40,.05); border: 1px solid #f2f4f8; }
.cate-card .ccc-img { position: relative; padding-top: 100%; background: #f6f7fa; }
.cate-card .ccc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cate-card .rec-tag { position: absolute; top: 6px; left: 6px; background: var(--p-grad); color: #fff; font-size: 12px; padding: 1px 6px; border-radius: 8px; }
.cate-card .cc-name { font-size: 14px; font-weight: 600; color: #1f2433; padding: 6px 8px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cate-card .cc-sub { font-size: 12px; color: #a0a8ba; padding: 2px 8px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cate-card .cc-foot { display: flex; align-items: baseline; justify-content: space-between; padding: 6px 8px 8px; }
.cate-card .cc-foot em { font-size: 15px; font-weight: 700; color: var(--p); font-style: normal; }
.cate-card .cc-foot em small { font-size: 13px; }
.cate-card .cc-foot span { font-size: 12px; color: #a0a8ba; }

/* 购物车：已选提示 + 猜你喜欢 */
.cart-bar .cart-tip { margin-left: 8px; font-size: 13px; color: #a0a8ba; }
.cart-reco { padding: 14px 10px 4px; margin-top: 10px; }
.cart-reco .goods-grid { grid-template-columns: repeat(2,1fr); }

/* 登录 / 注册 */
.auth-view { background: linear-gradient(180deg,var(--p-tint) 0%,#f6f7fa 300px); }
.auth-hero { text-align: center; padding: 46px 24px 20px; }
.auth-hero.sm { padding: 18px 24px 6px; }
.auth-logo { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 22px; background: linear-gradient(135deg,var(--p),#ff6b94); color: #fff; font-size: 34px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px var(--p-sh-30); }
.auth-logo-img { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 22px; object-fit: contain; background: #fff; padding: 7px; box-sizing: border-box; box-shadow: 0 10px 26px var(--p-sh-30); display: block; }
.auth-hero h2 { font-size: 20px; color: #1f2433; font-weight: 700; }
.auth-hero p { font-size: 14px; color: #9aa3b8; margin-top: 8px; }
.auth-card { background: #fff; margin: 12px 20px 0; border-radius: 20px; padding: 24px 20px; box-shadow: 0 8px 30px rgba(20,24,40,.07); display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; align-items: center; gap: 10px; background: #f6f7fa; border-radius: 12px; padding: 0 14px 0 0; }
.auth-field .af-ico { width: 30px; height: 30px; border-radius: 10px; background: #fff; color: var(--p); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.auth-row { display: flex; justify-content: space-between; font-size: 14px; }
.auth-link { color: var(--p); cursor: pointer; }
.auth-link.dim { color: #a0a8ba; }
.auth-btn { height: 46px; font-size: 16px; letter-spacing: 6px; border-radius: 23px; margin-top: 2px; border: none; background: var(--p-grad) !important; box-shadow: 0 8px 18px var(--p-sh-30); font-weight: 700; }
.auth-btn.el-button--primary.is-disabled { background: #ffd9e3 !important; box-shadow: none; }
.auth-agree { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #8a92a8; }
.auth-agree b { color: var(--p); font-weight: 500; }
.auth-foot { text-align: center; font-size: 13px; color: #b0b6c6; padding: 20px 0 28px; }
.auth-tip { font-size: 14px; color: #8a92a8; text-align: center; }

/* 开店申请：分组卡片 + 资质上传 */
.apply-sec { border: 1px solid #f0f1f5; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; background: #fcfcfe; }
.apply-sec .as-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px dashed #eef0f5; margin-bottom: 8px; }
.apply-sec .as-head b { font-size: 14px; color: #1f2433; position: relative; padding-left: 8px; }
.apply-sec .as-head b::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; background: linear-gradient(var(--p-lit),var(--p)); }
.apply-sec .as-head span { font-size: 13px; color: #a0a8ba; }
.apply-sec .el-input, .apply-sec .el-select { width: 220px; }
.chk-line span i { color: var(--p); font-style: normal; margin-left: 2px; }
.lic-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 6px; }
.lic-item { position: relative; aspect-ratio: 3/4; border: 1px dashed #d8dce6; border-radius: 10px; background: #f8f9fc; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; overflow: hidden; transition: all .15s; }
.lic-item:active { border-color: var(--p); }
.lic-item.ok { border-style: solid; border-color: #ffd0da; background: #fff; }
.lic-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lic-item .lic-add { font-size: 22px; color: #b0b6c6; }
.lic-item b { font-size: 13px; color: #4a5165; }
.lic-item span { font-size: 8px; color: #a0a8ba; }
.lic-item .lic-del { position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; line-height: 16px; text-align: center; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 14px; font-style: normal; }
.lic-tip { font-size: 13px; color: #a0a8ba; margin-top: 8px; line-height: 1.6; }
.lic-mini { display: flex; gap: 10px; padding: 6px 0; }
.lic-mini span { cursor: pointer; text-align: center; }
.lic-mini img { width: 62px; height: 82px; object-fit: cover; border-radius: 8px; border: 1px solid #f0f1f5; display: block; }
.lic-mini b { display: block; font-size: 12px; color: #8a92a8; font-weight: 500; margin-top: 4px; }

/* ===== 第十二轮：购买流程 UI（确认订单 / 优惠券弹层 / 收银台 / 支付结果） ===== */
.co-view { padding-bottom: 76px; }
.co-addr { position: relative; background: #fff; margin: 10px 12px 0; border-radius: 14px; padding: 14px 14px 16px; display: flex; align-items: center; gap: 10px; overflow: hidden; cursor: pointer; box-shadow: 0 2px 10px rgba(20,24,40,.04); }
.coa-ico { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--p-tint); color: var(--p); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.coa-body { flex: 1; min-width: 0; }
.coa-body b { font-size: 15px; color: #1f2433; }
.coa-body b span { font-weight: 500; color: #6b7590; margin-left: 8px; font-size: 14px; }
.coa-body p { font-size: 14px; color: #8a92a8; margin-top: 4px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.coa-arrow { color: #c3c9d8; font-size: 14px; flex-shrink: 0; }
.coa-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(105deg,#ff8ba7 0 14px,#fff 14px 22px,#8ec5ff 22px 36px,#fff 36px 44px); }
.co-card { background: #fff; margin: 10px 12px 0; border-radius: 14px; padding: 4px 14px; box-shadow: 0 2px 10px rgba(20,24,40,.04); }
.co-title { font-size: 14px; font-weight: 700; color: #1f2433; padding: 12px 0 4px; }
.co-shop { display: flex; align-items: center; gap: 6px; padding: 12px 0 8px; font-size: 14px; color: #3c4356; }
.co-shop .el-icon { color: var(--p); font-size: 16px; }
.co-shop b { font-weight: 700; color: #1f2433; }
.cs-tag { font-size: 12px; color: var(--p); border: 1px solid #ffd0da; border-radius: 4px; padding: 0 5px; line-height: 15px; }
.co-g { padding: 8px 0; border-top: 1px solid #f5f6fa; }
.co-remark { padding: 4px 0 10px; border-top: 1px solid #f5f6fa; }
.co-remark .el-input { margin-top: 8px; }
.co-line { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid #f5f6fa; cursor: pointer; }
.co-line:last-of-type { border-bottom: none; }
.col-l { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #1f2433; font-weight: 500; }
.col-sub { font-size: 13px; color: #a0a8ba; font-weight: 400; margin-left: 6px; }
.col-ico { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.i-ticket { background: var(--p-tint); color: var(--p); }
.i-coin { background: #fff7e8; color: #ff9000; }
.col-r { display: flex; align-items: center; font-size: 14px; color: #6b7590; gap: 2px; }
.col-r.hl { color: var(--p); font-weight: 700; }
.co-plain { padding: 12px 0 14px; border-top: 1px dashed #eef0f5; }
.cp-row { display: flex; justify-content: space-between; font-size: 14px; color: #6b7590; padding: 4px 0; }
.cp-row .minus { color: var(--p); }
.cp-row .free { color: #23c48e; font-weight: 600; }
.co-note { display: flex; align-items: center; gap: 5px; margin: 12px 16px 0; font-size: 13px; color: #a0a8ba; line-height: 1.5; }
.co-note .el-icon { color: #c3c9d8; flex-shrink: 0; }
.co-bar { position: fixed; bottom: 0; left: 0; right: 0; max-width: 430px; margin: auto; background: #fff; border-top: 1px solid #eef0f5; box-shadow: 0 -4px 16px rgba(20,24,40,.06); display: flex; align-items: center; justify-content: space-between; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); z-index: 22; }
.cob-total { display: flex; flex-direction: column; }
.cob-total small { font-size: 13px; color: #8a92a8; }
.cob-total b { font-size: 20px; font-weight: 800; color: var(--p); font-family: "DIN Alternate","Segoe UI",sans-serif; }
.cob-save { font-size: 12px; color: #ff9000; background: #fff7e8; border-radius: 6px; padding: 0 6px; line-height: 15px; margin-top: 3px; width: fit-content; }
.cob-btn { width: 132px; height: 42px; border: none; border-radius: 21px; font-size: 15px; font-weight: 700; color: #fff; background: var(--p-grad); box-shadow: 0 4px 12px var(--p-sh-35); margin: 0; }
/* 优惠券底部弹层 */
.sheet-mask { position: fixed; inset: 0; background: rgba(15,20,34,.5); z-index: 30; max-width: 100vw; }
.bottom-sheet { position: fixed; bottom: 0; left: 0; right: 0; max-width: 430px; margin: auto; background: #f6f7fa; border-radius: 18px 18px 0 0; z-index: 31; transform: translateY(105%); transition: transform .28s cubic-bezier(.22,.8,.3,1); padding-bottom: env(safe-area-inset-bottom); }
.bottom-sheet.on { transform: translateY(0); }
.bs-head { display: flex; align-items: center; justify-content: center; position: relative; padding: 16px 0 10px; }
.bs-head b { font-size: 16px; color: #1f2433; }
.bs-close { position: absolute; right: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: #edeef4; color: #6b7590; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bs-tabs { display: flex; margin: 0 14px; background: #edeef4; border-radius: 10px; padding: 3px; }
.bs-tabs span { flex: 1; text-align: center; font-size: 14px; color: #6b7590; padding: 7px 0; border-radius: 8px; cursor: pointer; transition: all .15s; }
.bs-tabs span.active { background: #fff; color: var(--p); font-weight: 700; box-shadow: 0 1px 4px rgba(20,24,40,.08); }
.bs-body { max-height: 46vh; overflow-y: auto; padding: 10px 14px 4px; }
.cpn-card { display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; position: relative; overflow: hidden; transition: transform .12s; }
.cpn-card.sel { box-shadow: 0 0 0 1.5px var(--p) inset; }
.cpn-card.disabled { opacity: .55; filter: grayscale(.4); }
.cpc-amt { width: 88px; flex-shrink: 0; text-align: center; color: var(--p); border-right: 1px dashed #ffd0da; padding: 4px 0; position: relative; }
.cpc-amt::before, .cpc-amt::after { content: ''; position: absolute; right: -5px; width: 10px; height: 10px; border-radius: 50%; background: #f6f7fa; }
.cpc-amt::before { top: -5px; }
.cpc-amt::after { bottom: -5px; }
.cpc-amt em { font-size: 14px; font-style: normal; }
.cpc-amt { font-size: 24px; font-weight: 800; }
.cpc-amt small { display: block; font-size: 12px; color: #ff7b9c; font-weight: 400; margin-top: 2px; }
.cpc-info { flex: 1; padding-left: 12px; min-width: 0; }
.cpc-info b { display: block; font-size: 14px; color: #1f2433; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpc-info span { display: block; font-size: 13px; color: #a0a8ba; margin-top: 3px; }
.cpc-check { width: 22px; height: 22px; border-radius: 50%; background: var(--p); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.cpc-tag { font-size: 13px; color: #a0a8ba; border: 1px solid #d8dce6; border-radius: 8px; padding: 1px 8px; flex-shrink: 0; }
.bs-empty { text-align: center; padding: 34px 0 30px; color: #a0a8ba; }
.bs-empty .el-icon { font-size: 38px; color: #d0d5e2; }
.bs-empty p { font-size: 14px; margin-top: 10px; color: #6b7590; }
.bs-empty span { font-size: 13px; margin-top: 4px; display: block; }
.bs-foot { padding: 10px 14px 14px; }
.bs-foot .el-button { width: 100%; }
/* 收银台 */
.pay-view { padding-bottom: 80px; }
.pay-hero { background: linear-gradient(150deg,var(--p-lit),var(--p) 60%,var(--p-deep2)); margin: 10px 12px 0; border-radius: 14px; padding: 22px 18px; color: #fff; text-align: center; box-shadow: 0 6px 18px var(--p-sh-28); }
.pay-hero small { font-size: 14px; opacity: .85; }
.ph-num { font-size: 38px; font-weight: 800; margin: 6px 0 8px; font-family: "DIN Alternate","Segoe UI",sans-serif; }
.ph-num em { font-size: 20px; font-style: normal; margin-right: 2px; }
.pay-hero span { display: block; font-size: 13px; opacity: .8; }
.payc { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid #f5f6fa; cursor: pointer; }
.payc:last-child { border-bottom: none; }
.payc-ico { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; }
.p-wechat { background: #e8f9ef; color: #07c160; }
.p-alipay { background: #eaf2ff; color: #1677ff; }
.p-balance { background: #fff7e8; color: #ff9000; }
.payc-info { flex: 1; min-width: 0; }
.payc-info b { display: block; font-size: 15px; color: #1f2433; }
.payc-info span { display: block; font-size: 13px; color: #a0a8ba; margin-top: 3px; }
.payc-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #d0d5e2; flex-shrink: 0; position: relative; transition: all .15s; }
.payc.sel .payc-radio { border-color: var(--p); background: var(--p); }
.payc.sel .payc-radio::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.pay-sandbox { display: flex; align-items: center; gap: 5px; margin: 12px 16px; font-size: 13px; color: #a0a8ba; }
.pay-sandbox .el-icon { color: #c3c9d8; }
/* 支付结果 */
.pr-view { min-height: 100vh; background: #f4f6fb; padding-bottom: 20px; }
.pr-hero { background: linear-gradient(160deg,var(--p-lit),var(--p) 55%,var(--p-deep2)); border-radius: 0 0 24px 24px; text-align: center; color: #fff; padding: 44px 20px 34px; }
.pr-check { width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-size: 34px; animation: prPop .5s cubic-bezier(.2,1.4,.4,1); box-shadow: 0 0 0 8px rgba(255,255,255,.12); }
@keyframes prPop { 0% { transform: scale(.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.pr-hero h2 { font-size: 19px; letter-spacing: 2px; }
.pr-amt { font-size: 32px; font-weight: 800; margin: 10px 0 8px; font-family: "DIN Alternate","Segoe UI",sans-serif; }
.pr-hero span { font-size: 13px; opacity: .8; display: block; }
.pr-hero p { font-size: 14px; opacity: .9; margin-top: 12px; }
.pr-actions { display: flex; gap: 12px; padding: 18px 24px 6px; }
.pr-actions .el-button { flex: 1; height: 42px; margin: 0; }
.pr-btn1 { background: var(--p-grad); border: none; box-shadow: 0 4px 12px var(--p-sh-30); }
.pr-btn2 { border-color: #ffd0da; color: var(--p); }
.pr-reco { padding: 14px 14px 0; }
.pr-reco .goods-grid { grid-template-columns: repeat(2,1fr); margin-top: 10px; }

/* ===== 第十三轮：购物车按商铺分组 ===== */
.cart-view { padding-bottom: 150px; }
.cart-groups { padding: 12px 12px 0; display: flex; flex-direction: column; gap: 12px; }
.cart-group { background: #fff; border-radius: 14px; padding: 4px 12px 8px; box-shadow: 0 2px 10px rgba(40,50,90,.06); }
.cart-group.invalid { opacity: .85; }
.cg-head { display: flex; align-items: center; gap: 6px; padding: 10px 2px 8px; border-bottom: 1px solid #f4f5fa; }
.cg-head.gray { border-bottom-color: #f4f5fa; }
.cg-ico { color: var(--p); font-size: 16px; }
.cg-head b { font-size: 14px; color: #222; }
.cg-tag { font-size: 12px; padding: 1px 6px; border-radius: 8px; background: var(--p-grad); color: #fff; font-style: normal; font-weight: 600; }
.cg-tag.shop { background: var(--p-deep2); }
.cg-more { margin-left: auto; font-size: 14px; color: #999; display: flex; align-items: center; gap: 2px; }
.cart-item2 { display: flex; align-items: center; gap: 10px; padding: 12px 2px; border-bottom: 1px solid #f8f9fc; position: relative; }
.cart-item2:last-child { border-bottom: none; }
.cart-img { width: 78px; height: 78px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #f6f7fb; cursor: pointer; }
.cart-img.gray { filter: grayscale(1); opacity: .5; }
.ci-body { flex: 1; min-width: 0; cursor: pointer; }
.ci-name { font-size: 14px; color: #222; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci-name.gray { color: #b8bdc9; }
.ci-spec { margin-top: 4px; }
.ci-spec span { font-size: 13px; color: #98a0b3; background: #f4f5fa; padding: 2px 8px; border-radius: 6px; display: inline-block; }
.ci-spec.danger span { color: var(--p); background: var(--p-soft); }
.ci-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.ci-price { font-size: 16px; font-weight: 800; color: var(--p); font-family: "DIN Alternate","Segoe UI",sans-serif; }
.ci-price small { font-size: 14px; font-weight: 600; }
.ci-num .el-input-number--small { width: 96px; }
.ci-del { position: absolute; right: 0; top: 10px; color: #c6ccd8; font-size: 16px; padding: 4px; }
.ci-del:hover { color: var(--p); }
.cart-item2.invalid { opacity: .7; }
.cart-ops { display: flex; justify-content: center; padding: 4px 0 2px; }
.cart-bar2 { position: fixed; bottom: 62px; left: 0; right: 0; max-width: 430px; margin: auto; background: #fff; border-top: 1px solid #f0f1f6; display: flex; align-items: center; padding: 10px 12px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 15; box-shadow: 0 -4px 16px rgba(40,50,90,.08); }
.cb-all { display: flex; align-items: center; }
.cb-all .el-checkbox__label { font-size: 14px; color: #666; }
.cb-sum { margin-left: auto; margin-right: 12px; text-align: right; }
.cb-total { display: flex; align-items: baseline; gap: 3px; justify-content: flex-end; }
.cb-total small { font-size: 14px; color: #666; }
.cb-total b { font-size: 20px; font-weight: 800; color: var(--p); font-family: "DIN Alternate","Segoe UI",sans-serif; }
.cb-tip { font-size: 13px; color: #a0a8ba; }
.cb-tip.free { color: #52c41a; }
.cb-btn { height: 40px; padding: 0 22px; font-weight: 700; background: var(--p-grad); border: none; box-shadow: 0 4px 12px var(--p-sh-30); }
.empty-cart { text-align: center; padding: 60px 20px 30px; color: #b8bdc9; }
.empty-cart .el-icon { font-size: 52px; margin-bottom: 12px; }
.empty-cart p { font-size: 15px; color: #666; font-weight: 600; margin: 8px 0 4px; }
.empty-cart > span { font-size: 14px; display: block; margin-bottom: 16px; }

/* ===== 第十三轮：商品详情店铺卡片 ===== */
.detail-shop { margin: 10px 12px 0; background: #fff; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 2px 10px rgba(40,50,90,.06); cursor: pointer; }
.detail-view { padding-bottom: 76px; }
.detail-desc:last-of-type { margin-bottom: 0; }
.ds-logo { width: 42px; height: 42px; border-radius: 12px; background: var(--p-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; flex-shrink: 0; }
.ds-logo.off { background: var(--p-grad); }
.ds-site-logo { width: 100%; height: 100%; object-fit: contain; display: block; }
.ds-info { flex: 1; min-width: 0; }
.ds-info b { font-size: 15px; color: #222; display: flex; align-items: center; gap: 6px; min-width: 0; }
.ds-info b > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-official { font-size: 12px; font-style: normal; background: var(--p); color: #fff; padding: 1px 6px; border-radius: 8px; font-weight: 600; flex-shrink: 0; }
.ds-shop-tag { font-size: 12px; font-style: normal; background: var(--p-deep2); color: #fff; padding: 1px 6px; border-radius: 8px; font-weight: 600; flex-shrink: 0; }
.ds-info span { font-size: 13px; color: #98a0b3; display: block; margin-top: 4px; }
.ds-btn { font-size: 14px; color: var(--p); border: 1px solid var(--p); border-radius: 20px; padding: 4px 12px; display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.ds-btn .el-icon { font-size: 14px; }

/* ===== 第十三轮：订单/结算商铺标签 ===== */
.cs-tag.shop { background: var(--p-deep2); }

/* ===== 第十三轮：店铺主页 ===== */
.shophome-view { padding-bottom: 20px; }
.sh-hero { background: var(--p-grad-v); border-radius: 0 0 24px 24px; color: #fff; padding: 18px 18px 20px; }
.shh-row { display: flex; gap: 12px; align-items: center; }
.shh-logo { width: 62px; height: 62px; border-radius: 16px; background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.4); overflow: hidden; flex-shrink: 0; }
.shh-logo img { width: 100%; height: 100%; object-fit: cover; }
.shh-logo span { font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; height: 100%; }
.shh-info { flex: 1; min-width: 0; }
.shh-info b { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.shh-official { font-size: 12px; font-style: normal; background: #ffb400; color: #fff; padding: 1px 7px; border-radius: 8px; font-weight: 700; }
.shh-cert { font-size: 12px; font-style: normal; background: rgba(255,255,255,.25); padding: 1px 7px; border-radius: 8px; font-weight: 600; }
.shh-info p { font-size: 14px; opacity: .85; margin: 5px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shh-meta { font-size: 13px; opacity: .8; display: flex; align-items: center; gap: 4px; }
.shh-stats { display: flex; margin-top: 16px; background: rgba(255,255,255,.14); border-radius: 14px; padding: 12px 0; }
.shh-stats > div { flex: 1; text-align: center; }
.shh-stats b { font-size: 18px; font-weight: 800; display: block; font-family: "DIN Alternate","Segoe UI",sans-serif; }
.shh-stats span { font-size: 13px; opacity: .8; }
.shh-tags { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.shh-tags span { font-size: 13px; background: rgba(255,255,255,.14); padding: 4px 10px; border-radius: 12px; display: flex; align-items: center; gap: 3px; }
.sh-goods { padding: 14px 12px 0; }
.sh-goods .goods-grid { grid-template-columns: repeat(2,1fr); margin-top: 10px; }
.goods-meta-s { font-size: 13px; color: #a0a8ba; }
.sh-foot { text-align: center; font-size: 13px; color: #c0c6d4; padding: 18px 0 8px; }

/* ===== 第十三轮：店铺管理后台 ===== */
.mg-view { padding-bottom: 24px; background: #f4f6fb; min-height: 100vh; }
.mg-hero { background: var(--p-grad-v); border-radius: 0 0 20px 20px; color: #fff; padding: 16px 16px 18px; display: flex; align-items: center; gap: 12px; }
.mg-logo { width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.4); overflow: hidden; flex-shrink: 0; }
.mg-logo img { width: 100%; height: 100%; object-fit: cover; }
.mg-logo span { font-size: 23px; font-weight: 800; display: flex; align-items: center; justify-content: center; height: 100%; }
.mg-info { flex: 1; min-width: 0; }
.mg-info b { font-size: 16px; font-weight: 800; }
.mg-cat { font-size: 12px; background: rgba(255,255,255,.25); padding: 1px 7px; border-radius: 8px; margin-left: 6px; font-weight: 600; }
.mg-info p { font-size: 13px; opacity: .8; margin-top: 5px; }
.mg-share { text-align: center; font-size: 13px; background: rgba(255,255,255,.16); border-radius: 10px; padding: 8px 10px; flex-shrink: 0; }
.mg-share .el-icon { font-size: 16px; display: block; margin: 0 auto 2px; }
.mg-tabs { display: flex; background: #fff; margin: 12px; border-radius: 12px; padding: 4px; box-shadow: 0 2px 10px rgba(40,50,90,.06); }
.mg-tabs span { flex: 1; text-align: center; font-size: 14px; color: #666; padding: 8px 0; border-radius: 9px; cursor: pointer; font-weight: 600; transition: all .15s; }
.mg-tabs span.active { background: var(--p-grad); color: #fff; box-shadow: 0 3px 8px var(--p-sh-35); }
.mg-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 0 12px; }
.mg-stats > div { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 2px 10px rgba(40,50,90,.06); cursor: pointer; }
.mg-stats b { font-size: 22px; font-weight: 800; color: #222; font-family: "DIN Alternate","Segoe UI",sans-serif; }
.mg-stats .warn b { color: #ff7a00; }
.mg-stats span { font-size: 14px; color: #98a0b3; display: block; margin-top: 2px; }
.mg-quick { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 12px; }
.mg-quick > div { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 2px 10px rgba(40,50,90,.06); cursor: pointer; transition: transform .15s; }
.mg-quick > div:active { transform: scale(.97); }
.mgq-ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; color: #fff; margin-bottom: 8px; }
.mgq-ic.add { background: var(--p-grad); }
.mgq-ic.box { background: linear-gradient(135deg,#ffb14d,#ff9500); }
.mgq-ic.order { background: var(--p-grad); }
.mgq-ic.set { background: linear-gradient(135deg,#4dd4ac,#22b07d); }
.mg-quick b { font-size: 14px; color: #222; display: block; }
.mg-quick span { font-size: 13px; color: #98a0b3; }
.mg-tip { display: flex; align-items: center; gap: 6px; margin: 0 12px; font-size: 13px; color: #a0a8ba; background: #fff; border-radius: 10px; padding: 10px 12px; }
.mg-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 10px; }
.mg-filter { display: flex; background: #fff; border-radius: 20px; padding: 3px; box-shadow: 0 2px 8px rgba(40,50,90,.06); }
.mg-filter.wide { margin: 0 12px 10px; }
.mg-filter span { font-size: 14px; color: #666; padding: 5px 12px; border-radius: 16px; cursor: pointer; font-weight: 600; }
.mg-filter span.active { background: var(--p); color: #fff; }
.mg-goods-list { margin: 0 12px; display: flex; flex-direction: column; gap: 10px; }
.mg-goods-item { background: #fff; border-radius: 12px; padding: 12px; display: flex; gap: 10px; box-shadow: 0 2px 10px rgba(40,50,90,.06); }
.mgg-img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; flex-shrink: 0; cursor: pointer; background: #f6f7fb; }
.mgg-body { flex: 1; min-width: 0; }
.mgg-body b { font-size: 14px; color: #222; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.mgg-meta { display: flex; gap: 10px; font-size: 13px; color: #98a0b3; margin-top: 4px; }
.mgg-price { color: var(--p); font-weight: 800; font-size: 15px; }
.mgg-tags { margin-top: 5px; }
.mgg-tags i { font-size: 12px; font-style: normal; padding: 1px 7px; border-radius: 8px; font-weight: 600; }
.t-on { background: #eef9f1; color: #22b07d; }
.t-off { background: #f2f3f7; color: #98a0b3; }
.mgg-ops { display: flex; flex-direction: column; justify-content: center; gap: 5px; flex-shrink: 0; }
.mgg-ops .el-button { margin: 0; height: 26px; padding: 0 12px; font-size: 14px; }
.mg-order-list { margin: 0 12px; display: flex; flex-direction: column; gap: 10px; }
.mg-order { background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 2px 10px rgba(40,50,90,.06); }
.mgo-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #f4f5fa; }
.mgo-sn { font-size: 14px; color: #98a0b3; font-family: "DIN Alternate","Segoe UI",sans-serif; }
.mgo-head em { font-size: 14px; color: #ff7a00; font-style: normal; font-weight: 700; }
.mgo-sum { font-size: 14px; color: #666; margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.mgo-sum b { color: var(--p); font-size: 16px; font-weight: 800; }
.mgo-exp { font-size: 13px; color: #52c41a; margin-left: auto; }
.mgo-addr { font-size: 14px; color: #98a0b3; margin-top: 6px; display: flex; align-items: flex-start; gap: 4px; line-height: 1.5; }
.mgo-remark { font-size: 14px; color: #ff7a00; margin-top: 5px; display: flex; align-items: flex-start; gap: 4px; }
.mgo-foot { display: flex; justify-content: flex-end; align-items: center; margin-top: 10px; gap: 8px; }
.mgo-wait, .mgo-done { font-size: 13px; color: #a0a8ba; display: flex; align-items: center; gap: 3px; }
.mgo-done { color: #22b07d; }
.mg-setting { background: #fff; border-radius: 14px; margin: 0 12px; padding: 6px 14px 16px; box-shadow: 0 2px 10px rgba(40,50,90,.06); }
.mg-logo-edit { flex: 1; }
.mg-logo-edit img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; cursor: pointer; }
.mg-logo-add { width: 64px; height: 64px; border: 1.5px dashed #d0d5e2; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #b0b6c6; cursor: pointer; font-size: 18px; }
.mg-logo-add span { font-size: 13px; }
.mg-logo-add.sm { width: 52px; height: 52px; }
.mg-logo-edit small { font-size: 12px; color: #b0b6c6; display: block; margin-top: 4px; }
.mg-img-row { display: flex; align-items: center; gap: 8px; width: 100%; }
.mg-img-row img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.mg-form-hint { font-size: 13px; color: #a0a8ba; margin-left: 8px; }

/* ===== 第十七轮：店铺管理商品表单（相册/标签/图文详情） ===== */
.mg-album { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.mga-item { position: relative; width: 66px; height: 66px; border-radius: 10px; overflow: hidden; border: 1px solid #e3e6ee; }
.mga-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mga-main { position: absolute; left: 0; top: 0; background: var(--p); color: #fff; font-size: 12px; font-style: normal; padding: 1px 5px; border-radius: 0 0 8px 0; }
.mga-ops { position: absolute; left: 0; right: 0; bottom: 0; display: flex; background: rgba(20,24,38,.55); }
.mga-ops span { flex: 1; text-align: center; font-size: 12px; color: #fff; padding: 2px 0; cursor: pointer; }
.mga-ops span.del { color: #ffb3b3; }
.mga-add { width: 66px; height: 66px; border-radius: 10px; }
.mg-tags { display: flex; flex-wrap: wrap; gap: 0 4px; width: 100%; }
.mg-tags .el-checkbox { margin-right: 6px; height: 24px; }
.mg-tags .el-checkbox__label { font-size: 14px; }
.mg-detail-wrap { width: 100%; }
.mg-goods-dialog .el-dialog__body { padding: 10px 16px; max-height: 62vh; overflow-y: auto; }
/* 图文编辑器（H5 版） */
.rich-editor { width: 100%; border: 1px solid #dcdee6; border-radius: 10px; overflow: hidden; background: #fff; }
.rich-editor:focus-within { border-color: var(--p); }
.re-toolbar { display: flex; align-items: center; gap: 1px; flex-wrap: wrap; padding: 5px 6px; background: #f5f6f8; border-bottom: 1px solid #e3e5ea; }
.re-btn { min-width: 26px; height: 26px; padding: 0 5px; border: 1px solid transparent; border-radius: 4px; background: transparent; cursor: pointer; font-size: 14px; color: #3c4352; font-family: inherit; }
.re-btn:hover { background: #e8ebf1; border-color: #d5d9e2; }
.re-btn.on { color: var(--p); border-color: var(--p); background: var(--p-tint); }
.re-sep { width: 1px; height: 16px; background: #d5d9e2; margin: 0 4px; }
.re-src { margin-left: auto; }
.re-body { min-height: 130px; max-height: 220px; overflow-y: auto; padding: 10px 12px; font-size: 14px; line-height: 1.7; color: #23252b; outline: none; }
.re-body:empty::before { content: attr(data-ph); color: #b7bcc7; }
.re-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 6px 0; }
.re-body h3 { font-size: 16px; margin: 10px 0 5px; }
.re-body p { margin: 5px 0; }
.re-body ul { padding-left: 20px; margin: 5px 0; }
.re-src-area { width: 100%; min-height: 130px; max-height: 220px; border: none; outline: none; padding: 10px 12px; font-family: Consolas, Menlo, monospace; font-size: 14px; color: #3c4352; resize: vertical; background: #fafbfc; }

/* ===== 第十三轮：分享弹层 ===== */
.share-tip { text-align: center; font-size: 14px; color: #98a0b3; padding: 4px 20px 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-grid { display: flex; justify-content: space-around; padding: 4px 16px 8px; }
.share-grid > div { display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer; }
.share-grid b { font-size: 13px; color: #666; font-weight: 500; }
.sh-ic { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; transition: transform .15s; }
.share-grid > div:active .sh-ic { transform: scale(.9); }
.sh-ic.green { background: linear-gradient(135deg,#2fd06f,#1fbf5a); }
.sh-ic.green2 { background: linear-gradient(135deg,#48c97e,#2fae65); }
.sh-ic.purple { background: linear-gradient(135deg,#8f7bff,#5c6bff); }
.sh-ic.blue { background: linear-gradient(135deg,#4da6ff,#2d7dff); }
.sh-ic.gray { background: linear-gradient(135deg,#a8b0c4,#8a93aa); }
.share-link { margin: 4px 20px 0; background: #f4f5fa; border-radius: 10px; padding: 8px 12px; font-size: 13px; color: #98a0b3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-actions { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }

/* 开店成功页按钮 */
.shop-status .ss-actions { margin-top: 12px; }

/* ===== 第十四轮：收银台动态渠道 ===== */
.payc.dis { opacity: .55; }
.payc.dis .payc-info span { color: #ff7a00; }
.payc-lack { font-style: normal; color: #ff7a00; }
.p-sandbox { background: linear-gradient(135deg,#8f9bb8,#6b7a9e); }
.pay-empty { text-align: center; color: #98a0b3; font-size: 14px; padding: 18px 0; }

/* ===== 第十五轮：装修新组件 ===== */
.deco-titlebar { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 2px; }
.deco-titlebar b { font-size: 16px; font-weight: 800; color: #222; letter-spacing: 1px; }
.dtb-more { font-size: 14px; color: #999; }
.deco-imgtext { margin: 10px 12px; background: #fff; border-radius: 14px; padding: 12px; display: flex; align-items: center; gap: 12px; box-shadow: 0 2px 10px rgba(40,50,90,.06); cursor: pointer; }
.deco-imgtext img { width: 84px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #f4f5fa; }
.dit-body { flex: 1; min-width: 0; }
.dit-body b { font-size: 15px; color: #222; font-weight: 800; display: block; }
.dit-body span { font-size: 14px; color: #98a0b3; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }
.dit-arrow { color: #d0d5e2; flex-shrink: 0; }
.deco-shops { margin: 10px 12px; }
.dshop-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.dshop-card { display: flex; align-items: center; gap: 10px; background: #f8f9fc; border-radius: 12px; padding: 10px 12px; cursor: pointer; transition: transform .15s; }
.dshop-card:active { transform: scale(.98); }
.dshop-logo { width: 40px; height: 40px; border-radius: 11px; background: var(--p-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.dshop-info { flex: 1; min-width: 0; }
.dshop-info b { font-size: 14px; color: #222; font-weight: 700; }
.dshop-info p { font-size: 13px; color: #98a0b3; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dshop-btn { font-size: 14px; color: var(--p); border: 1px solid var(--p); border-radius: 16px; padding: 4px 12px; display: flex; align-items: center; gap: 2px; flex-shrink: 0; font-weight: 600; }
.dshop-empty { text-align: center; font-size: 14px; color: #b8bdc9; padding: 12px 0 4px; }
.deco-promo { position: relative; margin: 10px 12px; border-radius: 14px; padding: 16px 14px; background: linear-gradient(135deg,var(--p-bright),var(--p) 60%,var(--p-deep)) center/cover; color: #fff; overflow: hidden; cursor: pointer; }
.dp-shade { position: absolute; inset: 0; background: linear-gradient(120deg,rgba(0,0,0,.12),rgba(0,0,0,0)); }
.dp-body { position: relative; }
.dp-body b { font-size: 17px; font-weight: 800; letter-spacing: 1px; }
.dp-body span { font-size: 14px; opacity: .9; display: block; margin: 5px 0 8px; }
.dp-timer { font-style: normal; display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.24); border-radius: 14px; padding: 4px 10px; font-size: 14px; font-family: "DIN Alternate","Segoe UI",sans-serif; font-weight: 700; }
.deco-services { display: flex; justify-content: space-around; background: #fff; border-radius: 14px; margin: 10px 12px; padding: 12px 6px; box-shadow: 0 2px 10px rgba(40,50,90,.06); }
.deco-services span { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 14px; color: #555; font-weight: 600; }
.deco-services em { font-style: normal; font-size: 20px; }
.deco-reviews { margin: 10px 12px; }
.drv-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.drv-card { background: #f8f9fc; border-radius: 12px; padding: 10px 12px; }
.drv-head { display: flex; align-items: center; gap: 8px; }
.drv-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,#ffb14d,#ff9500); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.drv-head b { font-size: 14px; color: #222; }
.drv-stars { font-style: normal; font-size: 14px; color: #ffb400; margin-left: auto; letter-spacing: 2px; }
.drv-card p { font-size: 14px; color: #666; line-height: 1.6; margin-top: 6px; }
.deco-member { margin: 10px 12px; background: linear-gradient(135deg,#3b3f52,#23263a); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; color: #fff; cursor: pointer; }
.dmc-body { flex: 1; min-width: 0; }
.dmc-body b { font-size: 15px; font-weight: 800; display: block; }
.dmc-body span { font-size: 13px; opacity: .72; display: block; margin-top: 4px; }
.dmc-btn { font-size: 14px; background: linear-gradient(135deg,#ffd257,#ffb400); color: #4a3200; border-radius: 16px; padding: 6px 14px; font-weight: 700; flex-shrink: 0; }

/* ===== 第十六轮：订单详情页 ===== */
.orderinfo-view { padding-bottom: 90px; }
.oi-hero { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 16px; color: #fff; background: var(--p-grad-v); border-radius: 0 0 20px 20px; margin-top: -1px; }
.oi-hero.st2 { background: linear-gradient(160deg,#ffa14d,#ff7a00 55%,#f06a00); }
.oi-hero.st3, .oi-hero.st4 { background: linear-gradient(160deg,#2fd06f,#1fbf5a 55%,#17a84d); }
.oi-hero.st6 { background: linear-gradient(160deg,#8f9bb8,#6b7a9e 55%,#5a6a8e); }
.oih-txt b { font-size: 18px; font-weight: 800; }
.oih-txt p { font-size: 14px; opacity: .88; margin-top: 6px; }
.oih-ico .el-icon { font-size: 40px; opacity: .9; }
.oi-card { background: #fff; border-radius: 14px; margin: 10px 12px 0; padding: 12px 14px; box-shadow: 0 2px 10px rgba(40,50,90,.06); }
.oi-addr { display: flex; align-items: center; gap: 10px; }
.oi-addr-l { width: 36px; height: 36px; border-radius: 50%; background: var(--p-soft); color: var(--p); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.oi-addr-body { flex: 1; min-width: 0; }
.oi-addr-body b { font-size: 15px; color: #222; }
.oi-addr-body b span { font-size: 14px; color: #98a0b3; margin-left: 8px; font-weight: 400; }
.oi-addr-body p { font-size: 14px; color: #666; margin-top: 3px; line-height: 1.5; }
.oi-shop { display: flex; align-items: center; gap: 5px; font-size: 14px; color: #222; font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid #f4f5fa; }
.oi-shop .el-icon { color: var(--p); }
.oi-g { cursor: pointer; }
.oi-remark { font-size: 14px; color: #ff7a00; background: #fff8f0; border-radius: 8px; padding: 8px 10px; margin-top: 8px; }
.oa-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #666; padding: 5px 0; }
.oa-row em { font-style: normal; color: #222; font-weight: 600; }
.oa-row em.minus { color: var(--p); }
.oa-row.total { border-top: 1px dashed #eceef4; margin-top: 5px; padding-top: 10px; font-size: 14px; color: #222; font-weight: 700; }
.oa-row.total em { color: var(--p); font-size: 16px; font-weight: 800; font-family: "DIN Alternate","Segoe UI",sans-serif; }
.oi-sn { cursor: pointer; display: flex; align-items: center; gap: 3px; font-family: "DIN Alternate","Segoe UI",sans-serif; }
.oi-sn:active { color: var(--p); }
.oi-meta, .oi-amount { display: flex; flex-direction: column; }
.oi-bar { position: fixed; left: 0; right: 0; bottom: 0; max-width: 430px; margin: 0 auto; background: #fff; border-top: 1px solid #f0f1f6; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; justify-content: flex-end; gap: 10px; z-index: 5; box-shadow: 0 -4px 16px rgba(40,50,90,.08); }
.oi-pay { height: 40px; padding: 0 24px; font-weight: 700; border-radius: 20px; background: var(--p-grad); border: none; color: #fff; box-shadow: 0 4px 12px var(--p-sh-30); }

/* ==================================================================
   第十八轮：全站表单高级质感（输入框 / 下拉 / 级联 / 弹窗统一）
   设计语言：浅底 + 细描边 + 圆角 + 聚焦光晕 + 主题变量跟随
   ================================================================== */
:root {
  --ux-line: #e7e9f2;
  --ux-bg: #f7f8fc;
  --ux-muted: #98a0b3;
  --ux-radius: 12px;
  --el-switch-on-color: var(--p);
  --el-switch-off-color: #d8dce7;
}
/* —— 输入框 / 选择器：统一浅底描边与聚焦光晕 —— */
.el-input__wrapper, .el-select__wrapper, .el-cascader .el-input__wrapper {
  background: var(--ux-bg) !important;
  border-radius: var(--ux-radius) !important;
  box-shadow: 0 0 0 1px var(--ux-line) inset !important;
  min-height: 40px;
  padding: 3px 12px;
  transition: box-shadow .2s ease, background .2s ease;
}
.el-input__wrapper:hover, .el-select__wrapper:hover {
  background: #fff !important;
  box-shadow: 0 0 0 1px var(--p-line) inset !important;
}
.el-input__wrapper.is-focus, .el-select__wrapper.is-focused,
.el-cascader .el-input__wrapper.is-focus {
  background: #fff !important;
  box-shadow: 0 0 0 1.5px var(--p) inset, 0 4px 16px var(--p-sh-28) !important;
}
.el-input__inner, .el-select__placeholder, .el-textarea__inner {
  font-size: 14px;
  color: #1f2740;
}
.el-input__inner::placeholder, .el-textarea__inner::placeholder { color: #aeb5c6; }
.el-input__prefix .el-icon, .el-input__suffix .el-icon { color: var(--p); }
.el-select__caret, .el-cascader .el-icon.arrow-down { color: var(--ux-muted); }
.el-textarea__inner {
  background: var(--ux-bg) !important;
  border-radius: var(--ux-radius) !important;
  box-shadow: 0 0 0 1px var(--ux-line) inset !important;
  padding: 10px 12px;
  line-height: 1.6;
  transition: box-shadow .2s ease, background .2s ease;
}
.el-textarea__inner:focus {
  background: #fff !important;
  box-shadow: 0 0 0 1.5px var(--p) inset, 0 4px 16px var(--p-sh-28) !important;
}
.el-select-dropdown__item.is-selected, .el-cascader-menu__item.is-active { color: var(--p) !important; font-weight: 700; }
.el-cascader-menu__item.is-active:not(.is-disabled) { background: var(--p-tint); }
/* 级联面板：圆角卡片 + 主题高亮 + 柔和阴影 */
.el-cascader__dropdown, .el-cascader-panel { border-radius: 14px !important; border: 1px solid var(--ux-line) !important; box-shadow: 0 14px 40px rgba(24,28,44,.18) !important; overflow: hidden; }
.el-cascader-menu { min-width: 132px; }
.el-cascader-node { padding: 0 12px; height: 36px; border-radius: 8px; font-size: 14px; }
.el-cascader-node:not(.is-active):hover { background: var(--p-tint) !important; }
.el-cascader-node.is-active { background: var(--p-tint) !important; color: var(--p) !important; font-weight: 700; }
.el-cascader-node .el-radio { display: none; }
.el-cascader-node__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.el-input-number .el-input__wrapper { min-height: 30px; }
.el-input-group__append { background: var(--ux-bg) !important; border: none !important; border-radius: 0 var(--ux-radius) var(--ux-radius) 0 !important; box-shadow: 0 0 0 1px var(--ux-line) inset !important; color: var(--ux-muted); padding: 0 10px; }
/* —— 弹窗：圆角卡片 + 渐变头 + 主题底纹 —— */
.el-overlay { background-color: rgba(24,28,44,.48) !important; backdrop-filter: blur(2px); }
.el-dialog { border-radius: 16px !important; overflow: hidden; box-shadow: 0 20px 60px rgba(24,28,44,.22); }
.el-dialog__header { border-bottom: 1px solid var(--ux-line); padding: 16px 20px 12px; }
.el-dialog__body { padding: 14px 20px; }
.el-dialog__footer { border-top: 1px solid var(--ux-line); padding: 10px 20px 16px; }
.ux-dialog.el-dialog { border-radius: 20px !important; padding: 0 !important; overflow: hidden; box-shadow: 0 24px 70px rgba(24,28,44,.26); }
.ux-dialog .el-dialog__header { padding: 0; margin: 0; }
.ux-dialog .el-dialog__body { padding: 16px 20px 6px; }
.ux-dialog .el-dialog__footer { padding: 12px 20px 18px; border-top: 1px solid var(--ux-line); }
.ux-dlg-head { display: flex; align-items: center; gap: 11px; padding: 17px 20px 15px; background: linear-gradient(120deg, var(--p-tint), #fff 72%); border-bottom: 1px solid var(--ux-line); }
.ux-dlg-ico { width: 36px; height: 36px; border-radius: 11px; background: var(--p-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 4px 10px var(--p-sh-30); flex-shrink: 0; }
.ux-dlg-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ux-dlg-txt b { font-size: 16px; font-weight: 800; color: #1f2433; }
.ux-dlg-txt small { font-size: 13px; color: var(--ux-muted); }
.ux-dlg-close { width: 28px; height: 28px; border-radius: 50%; background: #f0f1f6; color: #8a93a8; display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; transition: background .15s; }
.ux-dlg-close:active { background: var(--p-tint); color: var(--p); }
.ux-dlg-foot { display: flex; gap: 10px; justify-content: flex-end; }
.ux-btn-main.el-button--primary { height: 40px; padding: 0 26px; border-radius: 20px; border: none; background: var(--p-grad) !important; box-shadow: 0 6px 16px var(--p-sh-30); font-weight: 700; }
.ux-btn-ghost.el-button { height: 40px; padding: 0 22px; border-radius: 20px; border-color: var(--ux-line); color: #6b7590; background: #fff; }
/* —— 竖排标签表单：收货地址等 —— */
.ux-form { display: flex; flex-direction: column; gap: 13px; }
.ux-field label { display: block; font-size: 14px; font-weight: 700; color: #3c4352; margin-bottom: 7px; }
.ux-field label i { color: var(--p); font-style: normal; margin-left: 3px; }
.ux-field .el-input__wrapper { min-height: 42px; }
.ux-field .el-textarea__inner { min-height: 64px; resize: none; }
.ux-cascader { width: 100%; }
.ux-switch-row { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--ux-bg); border: 1px solid var(--ux-line); cursor: pointer; }
.ux-sw-ico { width: 32px; height: 32px; border-radius: 10px; background: var(--p-tint); color: var(--p); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.ux-sw-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ux-sw-txt b { font-size: 14px; color: #3c4352; }
.ux-sw-txt small { font-size: 13px; color: var(--ux-muted); }
/* —— 登录注册：图标内嵌输入框 —— */
.auth-field { position: relative; display: flex; align-items: center; background: #f6f7fa; border-radius: 12px; overflow: hidden; transition: box-shadow .15s, background .15s; }
.auth-field:focus-within { background: #fff; box-shadow: 0 0 0 1.5px var(--p); }
.auth-field .af-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); z-index: 2; width: 28px; height: 28px; border-radius: 9px; background: #fff; color: var(--p); font-size: 15px; }
.auth-field .el-input__wrapper { min-height: 48px; padding: 3px 14px 3px 62px; background: transparent; box-shadow: none !important; }
/* —— 头像上传替代手填 URL —— */
.avatar-edit { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.avatar-edit img, .avatar-add { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-add { background: var(--p-tint); color: var(--p); border: 1px dashed var(--p-line); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.avatar-edit small { color: var(--p); font-size: 14px; }
/* —— 搜索栏：胶囊搜索按钮 —— */
.search-bar .el-input__wrapper { background: #fff; }
.search-bar .el-button--primary { border-radius: 20px; padding: 0 18px; background: var(--p-grad); border: none; box-shadow: 0 4px 12px var(--p-sh-30); }
/* —— 售后/发货/商品弹窗：表单项间距与标签 —— */
.el-form-item__label { font-size: 14px; font-weight: 600; color: #4a5570; }
.el-form-item { margin-bottom: 14px; }
.mg-goods-dialog .el-form-item, .ux-dialog .el-form-item { margin-bottom: 12px; }
/* —— 全站按钮文字严格居中：隔离外层容器 span 规则，避免按钮文字被顶偏 —— */
button, .el-button { display: inline-flex !important; align-items: center !important; justify-content: center !important; text-align: center !important; vertical-align: middle !important; }
button > span, .el-button > span { margin: 0 !important; padding: 0 !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; text-align: center !important; }
