/* =====================================================
   mushshop 商城样式 v5 —— 简约白底 + 每页差异化点缀色
   布局：PC 三栏+楼层 / 手机搜索+宫格+爆品
   ===================================================== */
:root {
    --p: #A74BFD;          /* 主色紫 */
    --p2: #8B3DF5;         /* 深紫 hover */
    --p3: #F6F0FE;         /* 浅紫底 */
    --price: #A74BFD;      /* 价格紫 */
    --bg: #f5f5f5;
    --card: #fff;
    --line: #e5e5e5;
    --text: #333;
    --muted: #999;
    --p-grad: linear-gradient(120deg, #A74BFD 0%, #c06cff 60%, #e0b3ff 100%);
    --p-grad2: linear-gradient(135deg, #A74BFD, #c06cff);
    --hot: #e4393c;        /* 促销/热卖 红 */
    --new: #ff9f43;        /* 新品 橙 */
    --danger: #E64340;
    --rating: #fa8c16;     /* 评分 橙 */
}

/* ===== 主题预览切换器（仅 ?preview 模式，供选色用） ===== */
body.theme-blue { --p:#2F6BFF; --p2:#1D4ED8; --p3:#E9F0FF; --price:#2F6BFF; --p-grad:linear-gradient(120deg,#2F6BFF 0%,#6FA8FF 60%,#B8D4FF 100%); --p-grad2:linear-gradient(135deg,#2F6BFF,#6FA8FF); }
body.theme-red  { --p:#E1251B; --p2:#B8200F; --p3:#FDEBE9; --price:#E1251B; --p-grad:linear-gradient(120deg,#E1251B 0%,#F05A4E 60%,#F8B4AC 100%); --p-grad2:linear-gradient(135deg,#E1251B,#F05A4E); }
body.theme-orange { --p:#FF6A00; --p2:#E8590C; --p3:#FFF1E6; --price:#FF6A00; --p-grad:linear-gradient(120deg,#FF6A00 0%,#FFA14D 60%,#FFD6AE 100%); --p-grad2:linear-gradient(135deg,#FF6A00,#FFA14D); }
body.theme-green { --p:#00B578; --p2:#00915F; --p3:#E6F7F0; --price:#00B578; --p-grad:linear-gradient(120deg,#00B578 0%,#3ECF9B 60%,#A8E8CD 100%); --p-grad2:linear-gradient(135deg,#00B578,#3ECF9B); }
body.theme-cyan { --p:#0EA5E9; --p2:#0284C7; --p3:#E6F5FD; --price:#0EA5E9; --p-grad:linear-gradient(120deg,#0EA5E9 0%,#5BC8F5 60%,#B8E6FB 100%); --p-grad2:linear-gradient(135deg,#0EA5E9,#5BC8F5); }
body.theme-blackgold { --p:#C9A227; --p2:#A8861B; --p3:#FAF5E4; --price:#C9A227; --p-grad:linear-gradient(120deg,#C9A227 0%,#E3C565 60%,#F5E8B8 100%); --p-grad2:linear-gradient(135deg,#C9A227,#E3C565); }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "PingFang SC","Microsoft YaHei",Arial,sans-serif; background: var(--bg); color: var(--text); font-size: 14px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; outline: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 18px 12px; }

/* ============ 顶部通栏（参考站） ============ */
.ref-top { background: #fff; border-bottom: 1px solid #f0f0f0; }
.ref-top-inner { max-width: 1200px; margin: 0 auto; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-size: 13px; color: #666; }
.ref-top-inner .links a { margin-left: 16px; color: #666; }
.ref-top-inner .links a:hover { color: var(--p); }

/* ============ 主 Header（参考站） ============ */
.ref-hd { background: #fff; border-bottom: 1px solid #f5f5f5; }
.ref-hd-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 40px; padding: 18px 12px 8px; position: relative; }
.ref-hd .logo { font-weight: 700; white-space: nowrap; display: flex; align-items: center; }
.ref-hd .logo img.logo-img { height: 50px; width: auto; border-radius: 8px; display: inline-block; flex-shrink: 0; }
.ref-hd .logo .logo-text { font-size: 26px; font-weight: 800; color: var(--p); letter-spacing: 1px; display: inline-block; }
.m-hd .logo .logo-text { font-size: 20px; font-weight: 800; color: var(--p); letter-spacing: 1px; display: inline-block; }
.ref-hd .logo small { display: block; font-size: 10px; color: #aaa; font-weight: 400; letter-spacing: 1px; margin-top: 2px; }
/* 搜索框绝对居中于整个容器 */
.ref-hd .search { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; width: 560px; max-width: 560px; background: var(--p3); border-radius: 26px; height: 42px; padding: 3px; }
.ref-hd .search input { flex: 1; border: 0; background: transparent; padding: 0 18px; font-size: 14px; color: #333; }
.ref-hd .search input::placeholder { color: #b9a8d6; }
.ref-hd .search button { background: var(--p); color: #fff; border: 0; border-radius: 22px; padding: 0 34px; font-size: 14px; height: 36px; }
.ref-hd .search button:hover { background: var(--p2); }
/* 购物车推到最右侧 */
.ref-hd .cart-btn { margin-left: auto; background: var(--p3); color: var(--p); border: 0; border-radius: 22px; padding: 9px 24px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.ref-hd .cart-btn:hover { background: var(--p); color: #fff; }

/* ============ 搜索热词（参考站） ============ */
.ref-hot { max-width: 1200px; margin: 0 auto; padding: 2px 12px 10px; text-align: center; }
.ref-hot span { font-size: 12px; color: var(--muted); margin-right: 12px; }
.ref-hot a { font-size: 12px; color: var(--muted); margin-right: 12px; }
.ref-hot a:hover { color: var(--p); }

/* ============ 导航条（参考站） ============ */
.ref-nav { background: #fff; border-top: 1px solid #f5f5f5; }
.ref-nav-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; gap: 6px; padding: 8px 12px; }
.ref-nav-inner a { padding: 7px 18px; font-size: 15px; color: #333; border-radius: 6px; }
.ref-nav-inner a:hover, .ref-nav-inner a.active { color: var(--p); font-weight: 600; }

/* ============ 首页三栏（参考站） ============ */
.ref-main { width: 100%; display: grid; grid-template-columns: 240px 1fr 300px; gap: 14px; padding: 16px 0; align-items: start; }
/* 左：分类栏 */
.ref-side { background: var(--card); border-radius: 8px; height: 400px; overflow-y: auto; overflow-x: hidden; }
.ref-side::-webkit-scrollbar { width: 4px; }
.ref-side::-webkit-scrollbar-thumb { background: #e2e2e2; border-radius: 2px; }
.ref-side::-webkit-scrollbar-track { background: transparent; }
.ref-side .st { background: transparent; color: #333; font-size: 15px; font-weight: 600; padding: 14px 16px 10px; position: static; border-bottom: 1px solid #f0f0f0; }
.ref-side a.cat { display: flex; justify-content: space-between; align-items: center; padding: 18px 16px; font-size: 14.5px; color: #444; border-bottom: 1px solid #f7f7f7; }
.ref-side a.cat:hover { background: var(--p3); color: var(--p); }
.ref-side a.cat .arr { color: #c9c9c9; font-size: 16px; }
.ref-side a.cat .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--p3); color: var(--p); font-style: normal; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; margin-right: 8px; }
.ref-side a.cat .nm { flex: 1; }
/* 中：banner + 楼层 */
.ref-mid .banner { height: 400px; border-radius: 10px; background: var(--p-grad); color: #fff; display: flex; align-items: center; padding: 0 44px; position: relative; overflow: hidden; }
.ref-mid .banner::after { content: ""; position: absolute; right: -50px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.12); }
.ref-mid .banner::before { content: ""; position: absolute; right: 120px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.08); }
.ref-mid .banner .bc { z-index: 2; }
.ref-mid .banner .bk { font-size: 13px; letter-spacing: 8px; opacity: .9; }
.ref-mid .banner h1 { font-size: 38px; font-weight: 700; letter-spacing: 2px; margin: 14px 0 10px; }
.ref-mid .banner p { font-size: 15px; opacity: .92; }
.ref-mid .banner .btns { display: flex; gap: 10px; margin-top: 20px; }
.ref-mid .banner .btns a { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.6); color: #fff; font-size: 14px; padding: 9px 26px; border-radius: 22px; }
.ref-mid .banner .btns a:hover { background: #fff; color: var(--p); }
.ref-mid .banner > img { position: absolute; right: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
/* ===== 首页轮播（后台 mush_banner 驱动） ===== */
.ref-mid .banner.has-bnr::before,
.ref-mid .banner.has-bnr::after { display: none; }
.ref-mid .banner .bnr-slide img { opacity: 1; }
.bnr-wrap { position: absolute; inset: 0; }
.bnr-track { position: absolute; inset: 0; }
.bnr-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; display: block; }
.bnr-slide.on { opacity: 1; }
.bnr-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* PC 轮播第1帧：品牌卡（带导航按钮 + 手机示意图） */
.bnr-slide.bnr-brand { display: flex; align-items: center; padding: 0 44px; }
.bnr-slide.bnr-brand .bc { z-index: 2; }
.bnr-slide.bnr-brand .btns { flex-wrap: wrap; max-width: 300px; }
.bnr-slide.bnr-brand .btns a { padding: 9px 16px; font-size: 13.5px; }
.bnr-slide.bnr-brand .m-phone { display: block; }
@media (max-width: 768px) { .bnr-slide.bnr-brand .m-phone { display: none; } }
.bnr-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,.88); color: #666; font-size: 19px; line-height: 32px; text-align: center; cursor: pointer; opacity: 0; transition: opacity .3s; }
.bnr-wrap:hover .bnr-arrow { opacity: 1; }
.bnr-arrow:hover { background: #fff; color: var(--p); }
.bnr-prev { left: 12px; }
.bnr-next { right: 12px; }
.bnr-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; }
.bnr-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: all .3s; }
.bnr-dots i.on { background: #fff; width: 18px; border-radius: 4px; }
.ref-floor { background: var(--card); border-radius: 10px; margin-top: 14px; padding: 20px 22px 22px; }
.ref-floor .fh { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.ref-floor .fh .l { display: flex; align-items: baseline; gap: 12px; }
.ref-floor .fh .l h2 { font-size: 22px; color: #222; }
.ref-floor .fh .l h2 i { font-style: normal; color: var(--p); }
.ref-floor .fh .l span { font-size: 12.5px; color: var(--muted); }
.ref-floor .fh a.more { font-size: 13px; color: var(--muted); }
.ref-floor .fh a.more:hover { color: var(--p); }
.goods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
/* 列表页排序栏 */
.list-tools { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; }
.list-tools a { padding: 7px 18px; font-size: 13px; color: #666; border-radius: 16px; transition: all .2s; text-decoration: none; }
.list-tools a:hover { color: var(--p); background: var(--p3); }
.list-tools a.active { background: var(--p); color: #fff; }
/* ============ 全宽热销横向滑动区 ============ */
.ref-floor.full { width: 100%; margin-top: 20px; }
/* 精选店铺：横向滑动卡片 */
.ref-floor.full .ref-shopcard { flex: 0 0 585px; background: var(--card); border-radius: 10px; padding: 16px 18px; cursor: pointer; transition: box-shadow .2s; }
.ref-floor.full .ref-shopcard:hover { box-shadow: 0 6px 18px rgba(167,75,253,.12); }
.ref-floor.full .ref-shopcard .sg { grid-template-columns: repeat(6, 1fr); }
.ref-floor.full .hs-box { position: relative; }
.ref-floor.full .hs-scroll { display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px; }
.ref-floor.full .hs-scroll::-webkit-scrollbar { display: none; }
.ref-floor.full .hs-card { flex: 0 0 212px; display: block; text-decoration: none; position: relative; }
.ref-floor.full .hs-cover { width: 212px; height: 212px; border-radius: 10px; object-fit: cover; display: block; }
.ref-floor.full .hs-tag { position: absolute; top: 8px; left: 8px; background: var(--p); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 8px; z-index: 1; }
.ref-floor.full .hs-info { padding: 8px 2px 0; }
.ref-floor.full .hs-name { font-size: 13.5px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-floor.full .hs-price { color: var(--p); font-size: 16px; font-weight: 700; margin-top: 4px; }
.ref-floor.full .hs-price i { font-style: normal; font-size: 12px; }
.ref-floor.full .hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(130,130,130,.75); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; display: flex; align-items: center; justify-content: center; }
.ref-floor.full .hs-box:hover .hs-arrow { opacity: 1; }
.ref-floor.full .hs-arrow:hover { background: rgba(90,90,90,.92); }
.ref-floor.full .hs-prev { left: -16px; }
.ref-floor.full .hs-next { right: -16px; }
.goods-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; overflow: hidden; cursor: pointer; position: relative; transition: box-shadow .25s, transform .25s; }
.goods-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.08); transform: translateY(-4px); }
.goods-card .cover { width: 100%; height: 220px; object-fit: cover; display: block; }
.goods-card .tags { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; gap: 6px; }
.goods-card .tag { color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 10px; }
.goods-card .tag.hot { background: var(--hot); }
.goods-card .tag.new { background: var(--new); }
.goods-card .info { padding: 12px 14px 14px; }
.goods-card .name { font-size: 13.5px; color: #333; line-height: 1.45; height: 39px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.goods-card .price-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 8px; }
.goods-card .price { color: var(--price); font-size: 20px; font-weight: 700; font-family: Arial; }
.goods-card .price i { font-style: normal; font-size: 12px; }
.goods-card .sales { color: #999; font-size: 12px; }
/* 右：欢迎 + 资讯 */
.ref-rside .rside-card { background: var(--card); border-radius: 10px; height: 400px; display: flex; flex-direction: column; overflow: hidden; }
.ref-rside .rc-hd { padding: 22px 18px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ref-rside .rc-avatar-def { width: 52px; height: 52px; border-radius: 50%; background: var(--p-grad2); color: #fff; font-size: 22px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.ref-rside .rc-avatar-img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #f0e6ff; }
.ref-rside .rc-hd h3 { font-size: 16px; color: #222; }
.ref-rside .rc-hd h3 i { font-style: normal; color: var(--p); }
.ref-rside .rc-line { height: 1px; background: #f0f0f0; margin: 0 18px; }
.ref-rside .rc-list { flex: 1; overflow-y: auto; padding: 6px 18px 14px; }
.ref-rside .rc-list::-webkit-scrollbar { width: 4px; }
.ref-rside .rc-list::-webkit-scrollbar-thumb { background: #e2e2e2; border-radius: 2px; }
.ref-rside .rc-n { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: #555; padding: 11px 0; border-bottom: 1px dashed #f2f2f2; line-height: 1.5; }
.ref-rside .rc-n:last-child { border-bottom: 0; }
.ref-rside .rc-n:hover { color: var(--p); }
.ref-rside .news a.n .new-tag { flex-shrink: 0; background: var(--p3); color: var(--p); font-size: 10.5px; padding: 1px 6px; border-radius: 3px; margin-top: 1px; }

/* ============ 精选店铺横条卡（参考站） ============ */
.ref-shops { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 0 12px; }
.ref-shopcard { background: var(--card); border-radius: 10px; padding: 16px 18px; cursor: pointer; transition: box-shadow .2s; }
.ref-shopcard:hover { box-shadow: 0 6px 18px rgba(167,75,253,.12); }
.ref-shopcard .sh { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ref-shopcard .sh .self { background: var(--p); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 3px; }
.ref-shopcard .sh h3 { font-size: 15px; color: #222; }
.ref-shopcard .sh .stats { font-size: 12px; color: var(--muted); margin-left: auto; }
.ref-shopcard .sh .stats b { color: var(--rating); }
.ref-shopcard .sg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ref-shopcard .sg .gi { text-align: center; }
.ref-shopcard .sg .gi img { width: 100%; height: 78px; object-fit: cover; border-radius: 6px; }
.ref-shopcard .sg .gi .gp { color: var(--price); font-size: 12.5px; font-weight: 700; margin-top: 5px; font-family: Arial; }
.ref-shopcard .sg .gi .gp i { font-style: normal; font-size: 10px; }

/* ============ 服务保障（1200 容器内白块，手机版隐藏不受影响） ============ */
.ref-svc { width: 100%; padding: 14px 0 6px; }
.ref-svc-inner { width: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; gap: 60px; padding: 22px 24px; box-sizing: border-box; background: #fff; }
.ref-svc .svc { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ref-svc .svc .ico { width: 48px; height: 48px; border-radius: 50%; background: #f2f2f2; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-bottom: 8px; }
.ref-svc .svc .ico svg { width: 24px; height: 24px; fill: #555; }
.ref-svc .svc b { display: block; font-size: 15px; color: #222; }
.ref-svc .svc p { font-size: 12px; color: #999; margin-top: 4px; }

/* ============ 页脚（手机版保持原样） ============ */
.ref-foot { width: 100%; padding: 20px 0 30px; text-align: center; font-size: 12px; color: var(--muted); }

/* ============ 右侧悬浮栏（一整块黑色竖长方形，参考站图2） ============ */
.ref-float { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; background: #222; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.ref-float a { width: 60px; height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.ref-float a:last-child { border-bottom: 0; }
.ref-float a:hover { background: var(--p); color: #fff; }
.ref-float a svg { width: 22px; height: 22px; fill: #fff; margin-bottom: 4px; }
.ref-float a .n { position: absolute; margin-top: -30px; margin-left: 32px; background: var(--hot); color: #fff; font-size: 10px; border-radius: 9px; padding: 0 5px; min-width: 16px; text-align: center; line-height: 16px; }

/* ============ 公告 ============ */
.notice-bar { background: var(--p3); color: var(--p); border-radius: 8px; padding: 8px 14px; font-size: 13px; margin: 12px 0; }

/* ============ 手机端（参考站） ============ */
.m-hd, .m-banner, .m-cats5, .m-shoprow, .m-floor, .m-tabbar { display: none; }
@media (max-width: 768px) {
    .ref-top, .ref-nav, .ref-float, .hide-m, .ref-main, .ref-shops, .ref-svc, .notice-bar, .ref-floor.full { display: none; }
    body { overflow-x: hidden; }
    .m-hd, .m-banner, .m-cats5, .m-shoprow, .m-floor { display: block; }
    .m-cats5, .m-shoprow, .m-floor { display: grid; }
    .m-shoprow, .m-floor { display: block; }
    body { padding-bottom: 58px; background: #f5f5f5; }
    .container { padding: 0 10px; }
    /* 手机搜索条 */
    .m-hd { background: #fff; display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
    .ref-hd, .ref-hot { display: none; }
    .m-hd .logo { font-weight: 700; color: var(--p); flex-shrink: 0; display: flex; align-items: center; }
    .m-hd .logo img.logo-img { height: 34px; width: auto; border-radius: 5px; display: inline-block; flex-shrink: 0; }
    .m-hd .search { flex: 1; display: flex; align-items: center; background: var(--p3); border-radius: 18px; height: 34px; padding: 0 14px; color: #b9a8d6; font-size: 13px; }
    .m-hd .search svg { width: 15px; height: 15px; fill: var(--p); margin-right: 8px; }
    .m-hd .search input { flex: 1; border: 0; background: transparent; font-size: 13px; }
    .m-hd .cart { flex-shrink: 0; color: var(--p); font-size: 11px; text-align: center; position: relative; }
    .m-hd .cart svg { width: 19px; height: 19px; fill: var(--p); display: block; margin: 0 auto 1px; }
    .m-hd .cart .n { position: absolute; right: -6px; top: -5px; background: var(--p); color: #fff; font-size: 9px; border-radius: 8px; padding: 0 4px; min-width: 13px; }
    /* 手机 banner（批量采购） */
    .m-banner { margin: 10px 0 0; height: 120px; border-radius: 10px; background: var(--p-grad2); color: #fff; display: flex; align-items: center; padding: 0 20px; position: relative; overflow: hidden; }
    .m-banner h2 { font-size: 20px; font-weight: 700; }
    .m-banner p { font-size: 11.5px; opacity: .92; margin-top: 6px; line-height: 1.6; }
    .m-banner .coupon { position: absolute; right: 16px; background: rgba(255,255,255,.18); border: 1px dashed rgba(255,255,255,.5); border-radius: 10px; padding: 10px 12px; text-align: center; }
    .m-banner .coupon b { display: block; font-size: 20px; }
    .m-banner .coupon span { font-size: 10px; opacity: .9; }
    .m-banner.has-bnr { padding: 0; }
    .m-banner.has-bnr > div:not(.bnr-wrap) { display: none; }
    .m-banner .bnr-dots { bottom: 6px; }
    .m-banner .bnr-dots i { width: 6px; height: 6px; background: rgba(255,255,255,.5); }
    .m-banner .bnr-dots i.on { background: #fff; width: 12px; }
    /* 手机分类宫格（5个） */
    .m-cats5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; background: #fff; border-radius: 10px; margin: 10px 0 0; padding: 14px 6px; }
    .m-cats5 a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: #444; }
    .m-cats5 a .ic { width: 44px; height: 44px; border-radius: 14px; color: #fff; font-style: normal; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; }
    /* 手机精选店铺横条 */
    .m-shoprow { background: #fff; border-radius: 10px; margin: 10px 0 0; padding: 14px 12px; }
    .m-shoprow .sh { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
    .m-shoprow .sh .enter { background: var(--p); color: #fff; font-size: 12px; padding: 5px 12px; border-radius: 16px; flex-shrink: 0; }
    .m-shoprow .sh h3 { font-size: 14px; color: #222; }
    .m-shoprow .sh .more { margin-left: auto; font-size: 11px; color: var(--muted); }
    .m-shoprow .sg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .m-shoprow .sg .gi { text-align: center; }
    .m-shoprow .sg .gi img { width: 100%; height: 70px; object-fit: cover; border-radius: 6px; }
    .m-shoprow .sg .gi .gp { color: var(--price); font-size: 11.5px; font-weight: 700; margin-top: 4px; font-family: Arial; }
    .m-shoprow .sg .gi .gp i { font-style: normal; font-size: 9px; }
    /* 手机楼层 */
    .m-floor { background: #fff; border-radius: 10px; margin: 10px 0 0; padding: 14px 12px; }
    .m-floor .fh { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
    .m-floor .fh h3 { font-size: 15px; color: #222; }
    .m-floor .fh h3 i { font-style: normal; color: var(--p); }
    .m-floor .fh a { font-size: 11px; color: var(--muted); }
    .goods-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .goods-card { border-radius: 14px; border: 0; box-shadow: 0 1px 8px rgba(0,0,0,.05); }
    .goods-card .cover { height: 158px; }
    .m-floor .goods-card .cover { height: 158px; }
    .goods-card .info { padding: 10px 12px 12px; }
    .goods-card .name { font-size: 14px; height: 40px; }
    .goods-card .price { font-size: 20px; }
    .goods-card .sales { font-size: 11px; }
    /* 手机底部 tabbar（5项） */
    .m-tabbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #eee; z-index: 99; }
    .m-tabbar a { flex: 1; text-align: center; padding: 8px 0 9px; font-size: 11px; color: #999; }
    .m-tabbar a.active { color: var(--p); }
    .m-tabbar a .ico { display: block; line-height: 1; margin-bottom: 3px; }
    .m-tabbar a .ico svg { width: 20px; height: 20px; fill: currentColor; display: inline-block; vertical-align: middle; }
    .m-tabbar .cart-num { position: absolute; margin-left: 14px; margin-top: -20px; background: var(--p); color: #fff; font-size: 9px; border-radius: 8px; padding: 0 4px; min-width: 13px; text-align: center; }
    /* 详情页手机适配 */
    .detail-wrap { padding: 12px; gap: 12px; }
    .detail-cover { width: 100%; }
    .detail-cover img { width: 100%; }
    .detail-info h1 { font-size: 17px; }
    .buy-row .btn { min-width: 0; }
    .form-box { margin: 20px 12px; padding: 20px; }
    .user-wrap { flex-direction: column; }
    .user-side { width: 100%; display: flex; overflow-x: auto; gap: 4px; padding: 8px; }
    .user-side a { padding: 8px 12px; white-space: nowrap; }
    .user-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .cart-item { padding: 10px; }
    .cart-item .thumb { width: 56px; height: 56px; }
    .coupon-card .left { width: 100px; }
    .shop-scroll { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 4px; }
    .shop-scroll .shop-card { flex: 0 0 200px; margin-bottom: 0; padding: 12px; }
}

/* ============ 通用页面（详情/购物车/下单/个人中心 等） ============ */
.page { max-width: 1200px; margin: 14px auto; padding: 0 12px; }
.page-white { background: var(--card); border-radius: 10px; padding: 20px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--p); }
.detail-wrap { display: flex; gap: 30px; background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 30px; margin-bottom: 16px; flex-wrap: wrap; }
.detail-cover { width: 420px; flex-shrink: 0; }
.detail-cover img { width: 100%; border-radius: 12px; display: block; }
.detail-info { flex: 1; min-width: 280px; }
.detail-info h1 { font-size: 23px; color: #222; margin-bottom: 10px; line-height: 1.4; font-weight: 600; }
.detail-info .sub { color: #999; font-size: 13px; margin-bottom: 16px; }
.detail-info .price-box { background: linear-gradient(135deg, #fff6f6, #fff); border: 1px solid #ffe0e0; border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; display: flex; align-items: baseline; gap: 12px; }
.detail-info .price-box .now { color: var(--price); font-size: 30px; font-weight: 700; font-family: Arial; }
.detail-info .price-box .now i { font-style: normal; font-size: 15px; font-weight: 400; }
.detail-info .price-box .orig { color: #999; font-size: 14px; text-decoration: line-through; }
.detail-info .meta-row { font-size: 13px; color: #666; margin-bottom: 11px; }
.detail-info .meta-row b { font-weight: 600; color: #333; }
.buy-row { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 170px; max-width: 220px; }
.btn { display: inline-block; text-align: center; padding: 12px 0; border-radius: 22px; font-size: 15px; cursor: pointer; border: 0; }
.btn-primary { background: var(--p); color: #fff; }
.btn-primary:hover { background: var(--p2); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c9302c; color: #fff; }
.btn-plain { background: #fff; color: var(--p); border: 1px solid var(--p); }
.btn-plain:hover { background: var(--p3); color: var(--p); }
.btn-gray { background: #fff; color: #666; border: 1px solid #e4e4e4; }
.btn-gray:hover { background: #f7f7f7; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 16px; display: inline-block; }
.detail-body { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 24px 28px; }
.detail-body h3 { font-size: 16px; color: #222; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; margin-bottom: 16px; font-weight: 600; }
.detail-body h3 i { font-style: normal; color: var(--p); margin-right: 6px; }
.detail-body .content { font-size: 14px; color: #555; line-height: 1.85; }
.form-box { max-width: 420px; margin: 40px auto; background: var(--card); border-radius: 10px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.form-box h2 { text-align: center; margin-bottom: 22px; color: #222; }
.form-box .tip { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; color: #666; margin-bottom: 6px; }
.form-row input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; font-size: 14px; }
.form-row input:focus { border-color: var(--p); }
.form-row select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; font-size: 14px; }
.form-row textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; font-size: 14px; min-height: 80px; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--p); }
.form-box .btn { width: 100%; margin-top: 8px; }
.link-btn { color: var(--p); font-size: 13px; }
.cart-page { background: var(--card); border-radius: 10px; }
.cart-head { display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid #f5f5f5; font-size: 13px; color: #666; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f5f5f5; }
.cart-item:hover { background: var(--p3); }
.cart-item .ck { width: 20px; height: 20px; accent-color: var(--p); }
.cart-item .thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cart-item .name { flex: 1; font-size: 14px; color: #333; }
.cart-item .name .sub { color: var(--muted); font-size: 12px; margin-top: 4px; }
.cart-item .price { color: var(--price); font-weight: 700; font-family: Arial; }
.cart-item .num-box { display: flex; align-items: center; border: 1px solid #e4e4e4; border-radius: 4px; }
.cart-item .num-box button { width: 28px; height: 28px; border: 0; background: #f7f7f7; cursor: pointer; font-size: 16px; }
.cart-item .num-box button:hover { color: var(--p); }
.cart-item .num-box input { width: 42px; text-align: center; border: 0; outline: 0; height: 28px; font-size: 14px; }
.cart-item .del { color: #aaa; cursor: pointer; padding: 6px; }
.cart-item .del:hover { color: var(--p); }
.cart-foot { display: flex; align-items: center; justify-content: space-between; padding: 16px; flex-wrap: wrap; gap: 10px; }
.cart-foot .total b { color: var(--price); font-size: 22px; font-family: Arial; }
.order-confirm { background: var(--card); border-radius: 10px; padding: 16px; margin-bottom: 14px; }
.order-confirm h3 { font-size: 15px; margin-bottom: 12px; }
.order-confirm h3 i { font-style: normal; color: var(--p); margin-right: 6px; }
.order-confirm .addr { border: 1px dashed var(--line); border-radius: 8px; padding: 12px; font-size: 13px; color: #666; }
.order-confirm .addr b { color: #222; }
.pay-bar { display: flex; align-items: center; justify-content: space-between; background: var(--card); border-radius: 10px; padding: 16px; flex-wrap: wrap; gap: 10px; }
.pay-bar .total { font-size: 14px; color: #666; }
.pay-bar .total b { color: var(--price); font-size: 24px; font-family: Arial; }
.order-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.order-tabs a { background: var(--card); border-radius: 20px; padding: 8px 20px; font-size: 13px; color: #666; }
.order-tabs a.active { background: var(--p); color: #fff; }
.order-list { background: var(--card); border-radius: 10px; }
.order-item { border-bottom: 1px solid #f5f5f5; padding: 14px 16px; }
.order-item .head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.order-item .goods { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.order-item .goods img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.order-item .goods .nm { font-size: 13px; color: #333; flex: 1; min-width: 140px; }
.order-item .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.order-item .foot .total { font-size: 14px; }
.order-item .foot .total b { color: var(--price); }
.order-item .ops { display: flex; gap: 8px; }
.order-item .ops a { font-size: 12.5px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 16px; color: #555; }
.order-item .ops a.primary { border-color: var(--p); color: var(--p); }
.user-wrap { display: flex; gap: 14px; align-items: flex-start; }
.user-side { width: 200px; background: var(--card); border-radius: 10px; padding: 12px 0; flex-shrink: 0; }
.user-side a { display: block; padding: 12px 18px; font-size: 14px; color: #555; }
.user-side a.active, .user-side a:hover { color: var(--p); background: var(--p3); border-left: 3px solid var(--p); }
.user-main { flex: 1; background: var(--card); border-radius: 10px; padding: 20px; }
.user-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.user-stats a { background: var(--p3); border-radius: 10px; text-align: center; padding: 18px 8px; }
.user-stats a b { display: block; font-size: 22px; color: var(--p); font-family: Arial; }
.user-stats a span { font-size: 12px; color: #666; margin-top: 4px; }
.user-info-row { display: flex; padding: 12px 0; border-bottom: 1px dashed #f0f0f0; font-size: 14px; }
.user-info-row label { width: 110px; color: var(--muted); flex-shrink: 0; }
.coupon-list { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.coupon-card { display: flex; align-items: stretch; background: #fff; border: 1px solid #f0e8fb; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 14px rgba(106, 27, 173, .07); transition: box-shadow .25s, transform .25s; }
.coupon-card:hover { box-shadow: 0 6px 22px rgba(106, 27, 173, .14); transform: translateY(-2px); }
.coupon-card .left { position: relative; width: 150px; background: linear-gradient(135deg, #A74BFD 0%, #8B3DF5 100%); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 18px 10px; flex-shrink: 0; }
.coupon-card.spec .left { background: linear-gradient(135deg, #FF7A00 0%, #F05A00 100%); }
.coupon-card .left .amount { font-size: 28px; font-weight: 800; line-height: 1; font-family: Arial, sans-serif; }
.coupon-card .left .amount i { font-style: normal; font-size: 15px; margin-right: 2px; }
.coupon-card .left .cond { font-size: 12px; opacity: .92; }
.coupon-card .left::before, .coupon-card .left::after { content: ''; position: absolute; right: -8px; width: 16px; height: 16px; background: #fff; border-radius: 50%; z-index: 2; }
.coupon-card .left::before { top: 32%; }
.coupon-card .left::after { bottom: 32%; }
.coupon-card .mid { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; }
.coupon-card .mid .name { font-size: 15px; font-weight: 600; color: #333; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.coupon-card .mid .tag { font-size: 11px; padding: 1.5px 7px; border-radius: 4px; font-weight: 500; flex-shrink: 0; }
.coupon-card .mid .tag.all { background: var(--p3); color: var(--p); }
.coupon-card .mid .tag.spec { background: #fff3e8; color: #ff7a00; }
.coupon-card .mid .shop-tip { font-size: 12.5px; color: #ff7a00; font-weight: 500; }
.coupon-card .mid .cond { font-size: 12.5px; color: #999; }
.coupon-card .mid .time { font-size: 12px; color: #aaa; }
.coupon-get { align-self: center; margin-right: 20px; padding: 9px 26px; border-radius: 999px; background: var(--p); color: #fff; font-size: 14px; font-weight: 600; border: 0; cursor: pointer; flex-shrink: 0; transition: background .2s, opacity .2s; box-shadow: 0 4px 12px rgba(167, 75, 253, .3); }
.coupon-get:hover { background: var(--p2); }
.coupon-card.spec .coupon-get { background: #ff7a00; box-shadow: 0 4px 12px rgba(255, 122, 0, .3); }
.coupon-card.spec .coupon-get:hover { background: #f05a00; }
.coupon-get:disabled { background: #ccc; box-shadow: none; cursor: default; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty .ico { font-size: 40px; margin-bottom: 10px; }
.pagination { display: flex; justify-content: center; gap: 6px; padding: 18px 0; }
.pagination a, .pagination span { padding: 7px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; color: #555; }
.pagination a:hover, .pagination .cur { background: var(--p); border-color: var(--p); color: #fff; }
.goods-list-head { background: var(--card); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.goods-list-head a { font-size: 13px; color: #666; padding: 6px 14px; border-radius: 16px; }
.goods-list-head a.active { background: var(--p); color: #fff; }
/* ============ 区块容器（店铺街/领券中心/资讯 通用） ============ */
.section { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 22px 24px; margin-bottom: 16px; }
.section-title { display: flex; align-items: center; margin-bottom: 18px; }
.section-title h2 { font-size: 18px; color: #222; font-weight: 600; padding-left: 12px; border-left: 4px solid var(--p); line-height: 1.2; }
.shop-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; display: flex; align-items: center; gap: 16px; cursor: pointer; transition: box-shadow .25s, transform .25s; }
.shop-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.08); transform: translateY(-3px); }
.shop-card .logo { width: 60px; height: 60px; border-radius: 14px; background: var(--p-grad2); color: #fff; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.shop-card .info { flex: 1; }
.shop-card .info h3 { font-size: 16px; color: #222; font-weight: 600; }
.shop-card .info p { font-size: 13px; color: #999; margin-top: 5px; line-height: 1.5; }
.muted { color: var(--muted); }

/* banner 手机示意图（复刻参考站） */
.m-phone { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); width: 210px; height: 330px; background: #fff; border-radius: 24px; box-shadow: 0 18px 50px rgba(0,0,0,.25); padding: 14px 10px 10px; z-index: 3; }
.m-phone::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 44px; height: 5px; border-radius: 3px; background: #e4e4e4; }
.m-phone .ph-hd { display: flex; align-items: center; gap: 6px; padding: 4px 4px 10px; border-bottom: 1px solid #f2f2f2; }
.m-phone .ph-hd .bar { flex: 1; height: 10px; border-radius: 5px; background: #f0f0f0; }
.m-phone .ph-hd .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--p); }
.m-phone .ph-banner { height: 64px; border-radius: 10px; background: var(--p-grad2); margin: 12px 0 0; position: relative; }
.m-phone .ph-banner b { position: absolute; left: 10px; top: 10px; color: #fff; font-size: 12px; }
.m-phone .ph-banner span { position: absolute; right: 10px; bottom: 10px; background: rgba(255,255,255,.9); color: var(--p); font-size: 9px; padding: 1px 6px; border-radius: 8px; }
.m-phone .ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.m-phone .ph-grid i { height: 46px; border-radius: 10px; background: var(--p3); }
.m-phone .ph-grid i:nth-child(2) { background: #fdf1e6; }
.m-phone .ph-grid i:nth-child(3) { background: #e6f7f0; }
.m-phone .ph-grid i:nth-child(4) { background: #e6f0fe; }
.m-phone .ph-grid i:nth-child(5) { background: #fde8f0; }
.m-phone .ph-grid i:nth-child(6) { background: #f5f0fe; }
.m-phone .ph-goods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.m-phone .ph-goods i { height: 56px; border-radius: 8px; background: #f7f7f7; }
.m-phone .ph-goods i:nth-child(2) { background: #fdf1e6; }
.m-phone .ph-goods i:nth-child(3) { background: #e6f7f0; }
.m-phone .ph-goods i:nth-child(4) { background: #e6f0fe; }
.m-phone .ph-tab { position: absolute; bottom: 8px; left: 10px; right: 10px; display: flex; justify-content: space-around; }
.m-phone .ph-tab i { width: 18px; height: 18px; border-radius: 5px; background: #e4e4e4; }
.m-phone .ph-tab i:first-child { background: var(--p); }
@media (max-width: 1400px) { .m-phone { right: 26px; transform: translateY(-50%) scale(.85); transform-origin: center; } }
@media (max-width: 1100px) { .m-phone { display: none; } }
@media (max-width: 768px) { .m-phone { display: none; } }

/* ============ 详情/购物车/个人中心 手机适配（末尾覆盖） ============ */
@media (max-width: 768px) {
    .detail-wrap { padding: 12px; gap: 12px; }
    .detail-cover { width: 100%; }
    .detail-cover img { width: 100%; }
    .detail-info h1 { font-size: 17px; }
    .buy-row .btn { min-width: 0; max-width: none; }
    .form-box { margin: 20px 12px; padding: 20px; }
    .user-wrap { flex-direction: column; }
    .user-side { width: 100%; display: flex; overflow-x: auto; gap: 4px; padding: 8px; }
    .user-side a { padding: 8px 12px; white-space: nowrap; }
    .user-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .cart-item { padding: 10px; }
    .cart-item .thumb { width: 56px; height: 56px; }
    .coupon-card .left { width: 100px; }
    .shop-scroll { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 4px; }
    .shop-scroll .shop-card { flex: 0 0 200px; margin-bottom: 0; padding: 12px; }
}

/* ============ 主题预览切换器（仅 ?preview=1 显示） ============ */
.theme-preview { position: fixed; right: 16px; bottom: 16px; z-index: 9999; background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.18); padding: 12px 14px; width: 304px; font-size: 12px; }
.theme-preview .tp-head { font-weight: 700; font-size: 13px; color: #333; display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.theme-preview .tp-head .tp-close { cursor: pointer; color: #bbb; font-size: 16px; line-height: 1; padding: 0 2px; }
.theme-preview .tp-head .tp-close:hover { color: #666; }
.theme-preview .tp-tips { color: #999; margin-bottom: 10px; }
.theme-preview .tp-list { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-preview .tp-item { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #eee; border-radius: 8px; padding: 6px 10px; cursor: pointer; background: #fff; font-size: 12px; color: #333; }
.theme-preview .tp-item i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); display: inline-block; }
.theme-preview .tp-item.on { border-color: var(--c); color: var(--c); font-weight: 700; }
.theme-preview .tp-sel { margin-top: 10px; color: #666; }
.theme-preview .tp-sel b { color: var(--p); }
.theme-preview.hidden { display: none; }
@media (max-width: 768px) { .theme-preview { width: 280px; right: 10px; bottom: 66px; } }

/* 分类真实图标（线性描边 ICO） */
.m-cats5 a .ic img, .ref-side a.cat .ic img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; display: block; }

/* ============ 通用组件补全（登录/注册/购物车/订单/个人中心/券/资讯/分页） ============ */
.welcome { font-size: 12px; color: #999; margin-left: 4px; }

/* 表单 */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: #666; margin-bottom: 7px; font-weight: 500; }
.form-group .input { width: 100%; border: 1px solid #e0e0e0; border-radius: 8px; padding: 12px 14px; font-size: 14px; box-sizing: border-box; transition: border-color .2s, box-shadow .2s; background: #fff; }
.form-group .input:focus { outline: 0; border-color: var(--p); box-shadow: 0 0 0 3px rgba(167,75,253,.1); }
.form-tip { text-align: center; font-size: 13px; color: #999; margin-top: 18px; }
.form-tip a { color: var(--p); }
/* 协议勾选行（登录/注册） */
.agree-line { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #888; margin: 14px 0 4px; cursor: pointer; line-height: 1.5; }
.agree-line input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--p); flex-shrink: 0; cursor: pointer; }
.agree-line a { color: var(--p); text-decoration: underline; }
/* 协议正文页 */
.agree-page { max-width: 860px; }
.agree-page h2 { color: #222; }
.agree-body { margin-top: 10px; }
.agree-body h3 { font-size: 17px; color: #222; margin: 26px 0 10px; }
.agree-body h4 { font-size: 15px; color: #333; margin: 18px 0 8px; }
.agree-body p { font-size: 14px; color: #555; line-height: 1.9; margin: 8px 0; text-align: justify; }

/* 提示条 */
.alert { border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
.alert-error { background: #fdecea; color: #d93025; border: 1px solid #f5c6c0; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }

/* 空状态 */
.cart-empty { text-align: center; padding: 40px 0; color: #999; font-size: 14px; }
.cart-empty a { color: var(--p); }

/* 分页 */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 22px 0; }
.pager a, .pager span.cur { min-width: 34px; height: 34px; padding: 0 12px; border: 1px solid #e6e6e6; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: #666; text-decoration: none; background: #fff; transition: all .2s; box-sizing: border-box; }
.pager a:hover { border-color: var(--p); color: var(--p); }
.pager span.cur { background: var(--p); border-color: var(--p); color: #fff; }

/* 步骤条 */
.step-bar { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.step-bar .step { font-size: 13px; color: #999; background: #f5f5f5; border-radius: 16px; padding: 6px 16px; }
.step-bar .step.on { background: var(--p); color: #fff; }

/* 地址 */
.addr-box { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 20px 22px; margin-bottom: 14px; }
.addr-box h3 { font-size: 15px; color: #222; margin-bottom: 14px; font-weight: 600; }
.addr-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #f0f0f0; }
.addr-item:last-child { border-bottom: 0; }
.addr-item .radio { margin-top: 4px; accent-color: var(--p); }
.addr-item .main { flex: 1; min-width: 0; }
.addr-item .main .name { font-size: 14px; color: #333; font-weight: 600; margin-right: 10px; }
.addr-item .main .phone { font-size: 13px; color: #666; }
.addr-item .main .detail { font-size: 13px; color: #888; margin-top: 4px; line-height: 1.5; }
.addr-item > a { font-size: 13px; color: var(--p); text-decoration: none; flex-shrink: 0; }

/* 徽标 */
.badge { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 3px; vertical-align: middle; }
.badge-ok { background: #e6f4ea; color: #137333; border: 1px solid #137333; }

/* 商品清单（下单/详情） */
.confirm-item { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px dashed #f0f0f0; }
.confirm-item:last-child { border-bottom: 0; }
.confirm-item .thumb { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.confirm-item .name { flex: 1; font-size: 13.5px; color: #333; }
.confirm-item .price { color: var(--price); font-size: 15px; font-weight: 700; font-family: Arial; }

/* 购物车 */
.cart-list { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 8px 22px; margin-bottom: 14px; }
.cart-bottom { display: flex; align-items: center; gap: 20px; background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 14px 22px; margin-bottom: 14px; }
.cart-bottom .total { flex: 1; font-size: 14px; color: #333; }
.cart-bottom .total b { color: var(--price); font-size: 18px; font-family: Arial; }
.cart-bottom label { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; color: #666; }
.cart-bottom label input { accent-color: var(--p); }

/* 订单卡 */
.order-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.order-card .head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: #fafafa; border-bottom: 1px solid #f0f0f0; }
.order-card .head .no { font-size: 13px; color: #888; }
.order-card .head .status { font-size: 13px; color: var(--hot); font-weight: 600; }
.order-card .items { padding: 6px 18px; }
.order-card .item { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px dashed #f0f0f0; }
.order-card .item:last-child { border-bottom: 0; }
.order-card .item .thumb { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.order-card .item .name { flex: 1; font-size: 13.5px; color: #333; }
.order-card .item .price { color: var(--price); font-size: 14px; font-weight: 700; font-family: Arial; }
.order-card .foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-top: 1px solid #f0f0f0; }
.order-card .foot .total { font-size: 13px; color: #666; }
.order-card .foot .total b { color: var(--price); font-size: 16px; font-family: Arial; }
.order-card .foot .btns { display: flex; gap: 8px; }

/* 用户中心 */
.user-card { background: var(--p-grad2); border-radius: 12px; padding: 24px 26px; color: #fff; margin-bottom: 16px; }
.user-card .nick { font-size: 20px; font-weight: 700; }
.user-card .sub { font-size: 13px; opacity: .85; margin-top: 6px; }
.user-stats .stat { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 20px; text-align: center; }
.user-stats .stat b { display: block; font-size: 26px; color: var(--p); font-weight: 700; font-family: Arial; }
.user-stats .stat span { font-size: 12.5px; color: #999; margin-top: 4px; display: block; }

/* 券卡信息 */


/* 资讯列表 */
.news-list { display: flex; flex-direction: column; }
.news-item { display: block; padding: 14px 6px; border-bottom: 1px dashed #f0f0f0; text-decoration: none; transition: background .2s; }
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: #fafafa; }
.news-item .t { display: flex; align-items: center; gap: 14px; }
.news-item h3 { font-size: 15px; color: #333; flex: 1; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-item:hover h3 { color: var(--p); }
.news-item span { font-size: 12px; color: #aaa; flex-shrink: 0; }

/* 间距 */
.mt10 { margin-top: 10px; }

/* 商品中心：分类筛选 + 排序标签 */
.cat-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 2px; padding: 12px 4px 10px; }
.cat-filter .label { font-size: 13px; color: #888; margin-right: 6px; flex-shrink: 0; }
.cat-filter a { font-size: 13px; color: #555; padding: 5px 13px; border-radius: 14px; text-decoration: none; transition: all .2s; }
.cat-filter a:hover { color: var(--p); background: var(--p3); }
.cat-filter a.active { background: var(--p); color: #fff; }
.list-tools .label { font-size: 13px; color: #888; margin-right: 6px; }

/* 商品中心：一体筛选框（分类+排序一个框） */
.filter-box { background: #fff; border: 1px solid #f0f0f0; border-radius: 12px; padding: 14px 20px 2px; margin-bottom: 16px; }
.filter-box .filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; padding-bottom: 12px; }
.filter-box .filter-row + .filter-row { border-top: 1px dashed #f2f2f2; padding-top: 12px; }
.filter-box .label { font-size: 13px; color: #888; margin-right: 8px; flex-shrink: 0; }
.filter-box a { font-size: 13px; color: #555; padding: 3px 9px; text-decoration: none; transition: color .2s; }
.filter-box a:hover { color: var(--p); }
.filter-box a.active { color: var(--p); font-weight: 600; }
.filter-box .count { margin-left: auto; color: #999; font-size: 13px; }

/* 店铺街：参考站 shopay.hljhpay.cn/pc/shop_street 精确复刻 */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.shop-card { background: #fff; border-radius: 8px; padding: 16px; display: block; cursor: pointer; overflow: hidden; transition: box-shadow .2s; }
.shop-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.shop-card .top { display: flex; align-items: center; margin-bottom: 16px; }
.shop-card .logo { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #f0f0f0; color: #fff; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-right: 12px; }
.shop-card .info { flex: 1; min-width: 0; overflow: hidden; }
.shop-card .info h3 { font-size: 16px; font-weight: 700; color: #333; display: flex; align-items: center; gap: 6px; margin: 0 0 4px; white-space: nowrap; }
.shop-card .self { background: linear-gradient(90deg, #e64340, #ff5a4e); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 4px; font-weight: 400; flex-shrink: 0; }
.shop-card .meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.shop-card .stars { color: var(--rating); letter-spacing: 1px; margin-right: 4px; }
.shop-card .rating-num { color: #333; font-weight: 600; }
.shop-card .visits { color: #999; }
.shop-card .goods3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-bottom: 1px solid #f0f0f0; padding-bottom: 16px; margin-bottom: 16px; }
.shop-card .g3 { aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; background: #f5f5f5; }
.shop-card .g3 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-card .g3.empty { background: #f7f7f7; }
.shop-card .btn-in { display: flex; align-items: center; justify-content: center; height: 32px; border: 1px solid #e5e5e5; border-radius: 999px; color: #666; font-size: 13px; transition: color .2s, border-color .2s; }
.shop-card .btn-in:hover { color: var(--p); border-color: var(--p); }
.shop-card .logo.c1 { background: linear-gradient(135deg, #ff9a62, #ff5a4e); }
.shop-card .logo.c2 { background: linear-gradient(135deg, #59d0c5, #2f9e8f); }
.shop-card .logo.c3 { background: linear-gradient(135deg, #a48bfa, #6f5ce0); }
@media (max-width: 768px) { .shop-grid { grid-template-columns: 1fr; gap: 12px; } }

/* ===== 店铺详情页 —— 一比一复刻汇联商城 /pc/shop/:id ===== */
.shop-head { background: linear-gradient(120deg, #26223a 0%, #1f2937 70%); position: relative; overflow: hidden; height: 200px; }
.shop-head-mask { position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.shop-head-glow { position: absolute; inset: 0; background: radial-gradient(520px 260px at 12% 0%, rgba(167,75,253,.28), transparent 65%), radial-gradient(420px 220px at 88% 120%, rgba(167,75,253,.14), transparent 60%); }
.shop-head-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 12px; height: 100%; display: flex; align-items: center; }
.shop-head-row { display: flex; align-items: center; gap: 24px; width: 100%; }
.shop-head-logo { width: 96px; height: 96px; border-radius: 50%; border: 4px solid rgba(255,255,255,.2); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff; flex-shrink: 0; }
.shop-head-logo.c1 { background: linear-gradient(135deg, #ff9a62, #ff5a4e); }
.shop-head-logo.c2 { background: linear-gradient(135deg, #3ecf9b, #00b578); }
.shop-head-logo.c3 { background: linear-gradient(135deg, #a48bfa, #6f5ce0); }
.shop-head-info { flex: 1; color: #fff; min-width: 0; }
.shop-head-info h1 { font-size: 24px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.self-tag { background: var(--p); color: #fff; padding: 2px 5px; border-radius: 3px; font-size: 15px; line-height: 1.3; flex-shrink: 0; }
.shop-head-intro { color: rgba(255,255,255,.62); font-size: 13px; margin-bottom: 6px; max-width: 560px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-head-meta { display: flex; align-items: center; gap: 20px; font-size: 14px; opacity: .95; }
.shop-head-meta .stars { color: #fa8c16; letter-spacing: 2px; font-size: 17px; }
.shop-head-meta .rate-num { color: var(--p); font-weight: 700; font-size: 16px; }
.shop-follow { padding: 9px 30px; border-radius: 999px; background: var(--p); color: #fff; font-size: 14px; font-weight: 500; border: 0; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; gap: 6px; transition: opacity .2s, background .2s; box-shadow: 0 4px 14px rgba(167,75,253,.35); }
.shop-follow:hover { opacity: .9; }
.shop-follow .follow-icon { font-size: 15px; }
.shop-follow.followed { background: #666; box-shadow: none; }
.shop-follow.followed .follow-icon { color: #ff7a7a; }
.shop-follow.followed { background: #666; }
.shop-goods-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 24px 0; }
.shop-goods-card { background: #fff; border-radius: 8px; padding: 12px; cursor: pointer; transition: box-shadow .3s; }
.shop-goods-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.shop-goods-card .cover { aspect-ratio: 1/1; background: #f3f4f6; border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.shop-goods-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shop-goods-card:hover .cover img { transform: scale(1.05); }
.shop-goods-card .name { font-size: 14px; color: #333; line-height: 1.5; height: 42px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 8px; transition: color .2s; }
.shop-goods-card:hover .name { color: var(--p); }
.shop-goods-card .row { display: flex; align-items: center; justify-content: space-between; }
.shop-goods-card .row .price { color: var(--p); font-weight: 700; font-size: 18px; }
.shop-goods-card .row .price i { font-style: normal; font-size: 13px; }
.shop-goods-card .row .pay { color: #999; font-size: 12px; }
@media (max-width: 768px) {
    .shop-head { height: 150px; }
    .shop-head-logo { width: 64px; height: 64px; font-size: 28px; border-width: 3px; }
    .shop-head-info h1 { font-size: 18px; }
    .shop-head-meta { gap: 12px; font-size: 12px; }
    .shop-head-meta .stars { font-size: 13px; }
    .shop-follow { padding: 6px 20px; font-size: 13px; }
    .shop-goods-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0; }
    .shop-goods-card .row .price { font-size: 16px; }
}

/* ===== 店铺标签：自营 / 联营 ===== */
.ref-shopcard .sh .self.co, .m-shoprow .sh .self.co, .shop-card .self.co, .self-tag.co { background: linear-gradient(90deg, #ff9f43, #ff7a00); }
/* ===== 店铺 Logo 图片（真实 Logo 优先显示） ===== */
.shop-card .logo { overflow: hidden; }
.shop-card .logo img, .shop-head-logo img, .sh-logo img, .m-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; background: #fff; display: block; }
.ref-shopcard .sh .sh-logo { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; font-weight: 700; flex-shrink: 0; }
.ref-shopcard .sh .sh-logo.c1 { background: linear-gradient(135deg, #ff9a62, #ff5a4e); }
.ref-shopcard .sh .sh-logo.c2 { background: linear-gradient(135deg, #59d0c5, #2f9e8f); }
.ref-shopcard .sh .sh-logo.c3 { background: linear-gradient(135deg, #a48bfa, #6f5ce0); }
.m-shoprow .sh .m-logo { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; font-weight: 700; flex-shrink: 0; }
.m-shoprow .sh .m-logo.c1 { background: linear-gradient(135deg, #ff9a62, #ff5a4e); }
.m-shoprow .sh .m-logo.c2 { background: linear-gradient(135deg, #59d0c5, #2f9e8f); }
.m-shoprow .sh .m-logo.c3 { background: linear-gradient(135deg, #a48bfa, #6f5ce0); }

/* ===== 钱包系统 ===== */
.wallet-card { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(120deg, #a74bfd, #7c3aed); color: #fff; border-radius: 12px; padding: 22px 26px; margin-bottom: 18px; box-shadow: 0 6px 20px rgba(167,75,253,.18); }
.wallet-card .wc-label { font-size: 13px; opacity: .85; }
.wallet-card .wc-balance { font-size: 34px; font-weight: 700; margin-top: 4px; letter-spacing: .5px; }
.wallet-card .wc-right { display: flex; align-items: center; }
.wallet-card .btn { padding: 9px 22px; border-radius: 20px; font-size: 14px; }
.wallet-card .btn-gray { background: rgba(255,255,255,.92); color: #7c3aed; }
.wallet-mini { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid #f0e7ff; border-radius: 12px; padding: 16px 22px; margin-bottom: 18px; cursor: pointer; }
.wallet-mini .wm-label { font-size: 13px; color: #888; }
.wallet-mini .wm-balance { font-size: 24px; font-weight: 700; color: var(--p); flex: 1; }
.wallet-mini .wm-act { font-size: 13px; color: var(--p); }
.panel { background: var(--card); border-radius: 12px; padding: 20px 22px; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.panel-title { font-size: 16px; color: #222; margin-bottom: 14px; }
.recharge-form .rc-amounts { display: flex; flex-wrap: wrap; gap: 12px; }
.recharge-form .rc-item { display: inline-flex; }
.recharge-form .rc-item input { display: none; }
.recharge-form .rc-item span { display: inline-block; min-width: 92px; text-align: center; padding: 12px 0; border: 1px solid #e4e4e4; border-radius: 10px; font-size: 16px; color: #333; cursor: pointer; transition: all .15s; background: #fff; }
.recharge-form .rc-item input:checked + span { border-color: var(--p); color: var(--p); background: rgba(167,75,253,.06); font-weight: 600; box-shadow: 0 0 0 2px rgba(167,75,253,.12); }
.wallet-tabs { display: flex; gap: 4px; border-bottom: 1px solid #f0f0f0; margin-bottom: 14px; }
.wallet-tabs a { padding: 10px 16px; font-size: 14px; color: #666; border-bottom: 2px solid transparent; }
.wallet-tabs a.on { color: var(--p); border-bottom-color: var(--p); font-weight: 600; }
.wallet-list .wlog { display: flex; align-items: center; justify-content: space-between; padding: 13px 2px; border-bottom: 1px solid #f5f5f5; }
.wallet-list .wlog:last-child { border-bottom: 0; }
.wlog-title { font-size: 14px; color: #333; }
.wlog-time { font-size: 12px; color: #aaa; margin-top: 3px; }
.wlog-amount { font-size: 16px; font-weight: 700; text-align: right; }
.wlog-amount.plus { color: #e8503a; }
.wlog-amount.minus { color: #333; }
.wlog-balance { font-size: 12px; color: #aaa; margin-top: 3px; text-align: right; }
.pager .pg { display: inline-block; min-width: 30px; padding: 5px 8px; margin: 0 3px; border: 1px solid #e4e4e4; border-radius: 6px; font-size: 13px; color: #666; }
.pager .pg.on { background: var(--p); color: #fff; border-color: var(--p); }

/* ===== 分类页移动端：横滑胶囊 + 排序行留白（高特异性覆盖） ===== */
@media (max-width: 768px) {
    .filter-box { padding: 12px 0 2px; border-left: 0; border-right: 0; border-radius: 0; margin-bottom: 10px; }
    .filter-box .filter-row { padding: 0 14px 10px; gap: 2px 12px; }
    .filter-box .filter-row.cat-row { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 0; }
    .filter-box .filter-row.cat-row::-webkit-scrollbar { display: none; }
    .filter-box .filter-row.cat-row .label { margin-right: 8px; position: sticky; left: 0; background: #fff; z-index: 2; padding-right: 6px; }
    .filter-box .filter-row.cat-row a { flex-shrink: 0; padding: 8px 18px; margin-right: 8px; background: #f5f5f7; border-radius: 20px; font-size: 14px; color: #444; white-space: nowrap; transition: all .2s; }
    .filter-box .filter-row.cat-row a.active { background: var(--p); color: #fff; font-weight: 600; }
    .filter-box .filter-row + .filter-row { padding-top: 12px; }
    .filter-box .filter-row:not(.cat-row) a { padding: 6px 12px; }
    .filter-box .count { font-size: 12px; }
}

/* ===== 个人中心移动端美化（不影响桌面端） ===== */
@media (max-width: 768px) {
    .user-wrap { gap: 12px; }
    /* 顶部导航：整条胶囊横滑 */
    .user-side { width: 100%; display: flex; overflow-x: auto; gap: 8px; padding: 10px 12px; background: #fff; border-bottom: 1px solid #f2f2f2; scrollbar-width: none; }
    .user-side::-webkit-scrollbar { display: none; }
    .user-side a { padding: 9px 16px; border-radius: 20px; background: #f5f5f7; color: #444; font-size: 14px; white-space: nowrap; }
    .user-side a.active { background: var(--p); color: #fff; font-weight: 600; }
    /* 个人信息：紫色渐变横幅 */
    .user-card { background: linear-gradient(120deg, #a74bfd, #7c3aed); color: #fff; border-radius: 14px; padding: 22px 20px; box-shadow: 0 6px 18px rgba(167,75,253,.16); }
    .user-card .nick { font-size: 22px; font-weight: 700; }
    .user-card .sub { color: rgba(255,255,255,.88); font-size: 12px; margin-top: 6px; }
    /* 钱包卡圆角统一 */
    .wallet-mini { border-radius: 14px; padding: 16px 20px; }
    /* 订单统计：2x2 大卡片 */
    .user-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .user-stats .stat { background: #fff; border-radius: 12px; padding: 18px 0 16px; text-align: center; box-shadow: 0 1px 8px rgba(0,0,0,.05); }
    .user-stats .stat b { display: block; font-size: 26px; color: #222; margin-bottom: 2px; }
    .user-stats .stat span { font-size: 13px; color: #888; }
}

