/* ===== AI 软件超市 · 样式表 ===== */
:root{
  --blue:#2563eb; --blue-d:#1d4ed8; --blue-2:#3b82f6; --blue-l:#eaf2ff;
  --bg:#f4f7ff; --card:#fff; --line:#e8edf7; --line-2:#f0f3fa;
  --t:#1e2b4d; --t-2:#556483; --muted:#8492b0; --muted-2:#a9b4c9;
  --red:#f5453f; --orange:#ff8a00; --green:#00b578; --purple:#7c5cff;
  --r:12px; --sd:0 2px 12px rgba(30,64,140,.045);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  background:var(--bg); color:var(--t); font-size:13px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit}
input,select{font-family:inherit;outline:none}
img,svg{display:block}
.container{width:1200px;max-width:calc(100% - 32px);margin:0 auto}
.view-root{min-height:620px}
.muted{color:var(--muted)}
.blue{color:var(--blue)}
.red{color:var(--red)}
.bold{font-weight:700}
.hide{display:none!important}

/* ---------- 通用组件 ---------- */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sd)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 20px;border-radius:8px;font-size:13px;font-weight:600;transition:.18s;white-space:nowrap}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 4px 10px rgba(37,99,235,.18)}
.btn-primary:hover{background:var(--blue-d);transform:translateY(-1px)}
.btn-outline{background:#fff;color:var(--blue);border:1px solid var(--blue)}
.btn-outline:hover{background:var(--blue-l)}
.btn-white{background:#fff;color:var(--blue);border-radius:24px;height:40px;padding:0 22px;box-shadow:0 6px 16px rgba(0,0,0,.12)}
.btn-white:hover{transform:translateY(-1px)}
.btn-block{width:100%}
.btn-sm{height:32px;padding:0 14px;font-size:12px;border-radius:6px}
.btn-lg{height:44px;font-size:14px}
.tag{display:inline-block;padding:2px 8px;border-radius:4px;background:var(--blue-l);color:#3b7bf5;font-size:11px;line-height:1.7;white-space:nowrap}
.tag-gray{background:#f2f5fa;color:#8b98b0}
.badge{position:absolute;top:8px;right:8px;padding:1px 7px;border-radius:4px;font-size:10px;color:#fff;font-weight:600;z-index:2}
.badge.hot{background:#ff5a4e}.badge.new{background:#3b82f6}.badge.rec{background:#8b5cf6}
.price-red{color:var(--red);font-weight:700}
.price-old{color:var(--muted-2);text-decoration:line-through;font-size:11px}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.section-title{display:flex;align-items:center;gap:7px;font-size:17px;font-weight:700}
.section-title .flame{font-size:17px}
.section-more{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:3px;cursor:pointer}
.section-more:hover{color:var(--blue)}
.ico{width:16px;height:16px;flex:none}
.divider{height:1px;background:var(--line-2);margin:14px 0}

/* ---------- 顶部导航 ---------- */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:60}
.header-inner{height:64px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:9px;flex:none;cursor:pointer}
.brand-logo{width:34px;height:34px}
.brand-name{font-size:17px;font-weight:800;letter-spacing:.3px;line-height:1.15}
.brand-sub{font-size:10px;color:var(--muted);letter-spacing:.2px;transform:scale(.94);transform-origin:left}
.nav{display:flex;align-items:center;gap:26px;height:100%;flex:1}
.nav-item{height:100%;display:flex;align-items:center;position:relative;font-size:13px;color:var(--t-2);cursor:pointer;white-space:nowrap}
.nav-item:hover{color:var(--blue)}
.nav-item.on{color:var(--blue);font-weight:700}
.nav-item.on::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--blue)}
.header-search{width:226px;height:34px;border-radius:20px;background:#f4f7fd;display:flex;align-items:center;padding:0 12px;gap:8px;color:var(--muted);border:1px solid transparent;transition:.2s}
.header-search:focus-within{border-color:#bcd3ff;background:#fff}
.header-search input{border:0;background:transparent;flex:1;width:100%;font-size:12px;color:var(--t)}
.header-search input::placeholder{color:#a7b3c9}
.header-right{display:flex;align-items:center;gap:14px;flex:none}
.icon-btn{position:relative;width:30px;height:30px;display:flex;align-items:center;justify-content:center;color:var(--t-2);border-radius:8px}
.icon-btn:hover{background:var(--blue-l);color:var(--blue)}
.dot{position:absolute;top:1px;right:1px;min-width:15px;height:15px;padding:0 3px;border-radius:8px;background:#ff4d4f;color:#fff;font-size:9px;line-height:15px;text-align:center;border:2px solid #fff}
.login-text{font-size:13px;color:var(--t-2);cursor:pointer}
.login-text:hover{color:var(--blue)}
.btn-register{height:32px;padding:0 17px;border-radius:18px;background:var(--blue);color:#fff;font-size:12px;font-weight:600}
.btn-register:hover{background:var(--blue-d)}
.user-chip{display:flex;align-items:center;gap:8px;cursor:pointer;position:relative}
.avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(145deg,#dbe8ff,#b8d0ff);display:flex;align-items:center;justify-content:center;overflow:hidden;flex:none}
.avatar svg{width:34px;height:34px}
.user-meta{display:flex;flex-direction:column;line-height:1.25}
.user-meta b{font-size:13px}
.user-meta .lv{font-size:10px;color:#fff;background:var(--blue);border-radius:8px;padding:0 6px;align-self:flex-start;margin-top:2px}
.user-menu{position:absolute;top:44px;right:0;width:150px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 30px rgba(20,50,110,.14);padding:6px;z-index:80}
.user-menu div{padding:8px 10px;border-radius:6px;font-size:12px;color:var(--t-2)}
.user-menu div:hover{background:var(--blue-l);color:var(--blue)}

/* ---------- 首页 Hero ---------- */
.home-top{padding:22px 0 0}
.hero-grid{display:grid;grid-template-columns:minmax(0,3.18fr) minmax(0,1fr);gap:16px}
.hero-banner{position:relative;height:210px;border-radius:14px;overflow:hidden;background:linear-gradient(105deg,#172a86 0%,#2451d6 52%,#4f9bff 100%);color:#fff;padding:30px 36px;display:flex;align-items:center}
.hero-banner::before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:rgba(255,255,255,.05);right:-80px;top:-160px}
.hero-banner::after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(120,200,255,.12);right:150px;bottom:-180px}
.hero-txt{position:relative;z-index:2}
.hero-txt h1{font-size:33px;line-height:1.25;letter-spacing:1px;font-weight:800;margin-bottom:12px}
.hero-txt h1 em{font-style:normal;color:#9fd8ff}
.hero-txt p{font-size:13px;color:#d6e6ff;letter-spacing:1px;margin-bottom:22px}
.hero-robot{position:absolute;right:26px;top:2px;width:290px;height:210px;z-index:1}
.hero-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:5px;z-index:3}
.hero-dots i{width:6px;height:6px;border-radius:4px;background:rgba(255,255,255,.45)}
.hero-dots i.on{width:18px;background:#fff}
.guest-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 14px;box-shadow:var(--sd);text-align:center}
.guest-head{display:flex;align-items:center;gap:10px;text-align:left;margin-bottom:12px}
.guest-avatar{width:38px;height:38px;border-radius:50%;background:#e9eef8;display:flex;align-items:center;justify-content:center;flex:none}
.guest-head b{display:block;font-size:14px}
.guest-head span{font-size:11px;color:var(--muted)}
.guest-card .btn{height:36px}
.guest-perks{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;border-top:1px solid var(--line-2);margin-top:14px;padding-top:12px}
.guest-perks div{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;color:var(--t-2);white-space:nowrap}
.guest-perks svg{color:var(--blue)}
.user-welcome{text-align:left}
.user-welcome .row{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding:5px 0}
.user-welcome .row b{color:var(--t);font-weight:600}

/* ---------- 保障条 ---------- */
.benefits{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:16px}
.benefit{background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px 8px;text-align:center;box-shadow:var(--sd)}
.benefit .bico{width:32px;height:32px;margin:0 auto 8px;border-radius:50%;background:var(--blue-l);color:var(--blue);display:flex;align-items:center;justify-content:center}
.benefit b{display:block;font-size:13px;margin-bottom:3px}
.benefit span{font-size:10px;color:var(--muted)}

/* ---------- 商品卡片（首页 / 会员中心） ---------- */
.prod-grid5{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;position:relative}
.prod-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.prod-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px;box-shadow:var(--sd);transition:.2s;display:flex;flex-direction:column;min-height:242px}
.prod-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(30,64,140,.1);border-color:#cddcff}
.prod-icon{width:50px;height:50px;border-radius:11px;display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden;margin-bottom:10px}
.prod-icon svg{width:50px;height:50px}
.prod-name{font-size:14px;font-weight:700;margin-bottom:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prod-tags{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:8px}
.prod-tags .tag{font-size:10px;padding:1px 6px}
.prod-desc{font-size:11px;color:var(--muted);line-height:1.65;min-height:36px;margin-bottom:9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.prod-price-line{display:flex;align-items:baseline;gap:6px;margin-bottom:3px}
.prod-price-line .p{font-size:17px;color:var(--red);font-weight:800}
.prod-price-line .unit{font-size:10px;color:var(--muted)}
.prod-sub{font-size:11px;color:var(--muted);margin-bottom:10px;min-height:18px}
.prod-sub b{color:var(--t-2);font-weight:600}
.prod-sub .vip{color:var(--purple);font-weight:700}
.prod-action{margin-top:auto;display:flex;gap:8px;align-items:center}
.prod-action .btn{flex:1;height:34px;font-size:12px;padding:0 8px}
.heart-btn{width:32px;height:32px;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--muted-2);flex:none}
.heart-btn:hover,.heart-btn.on{color:var(--red);border-color:#ffd4d2;background:#fff5f4}
.hot-arrow{position:absolute;right:-16px;top:44%;width:32px;height:32px;border-radius:50%;background:#fff;border:1px solid var(--line);box-shadow:0 4px 12px rgba(30,64,140,.12);display:flex;align-items:center;justify-content:center;color:var(--blue);z-index:3;cursor:pointer}
.hot-arrow:hover{background:var(--blue);color:#fff}

/* ---------- 促销 Banner ---------- */
.promo{margin-top:22px;height:116px;border-radius:12px;background:linear-gradient(100deg,#1d2b8f 0%,#3a34c9 55%,#6a5cf0 100%);position:relative;overflow:hidden;display:flex;align-items:center;padding:0 36px;color:#fff}
.promo::after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;border:40px solid rgba(255,255,255,.045);right:40px;top:-160px}
.promo-gift{width:130px;height:100%;margin-right:22px;flex:none}
.promo h3{font-size:23px;font-weight:800;letter-spacing:1px;margin-bottom:4px}
.promo p{font-size:13px;color:#d9dcff;margin-bottom:8px}
.promo p b{color:#ffd45e;font-size:18px;margin:0 3px}
.promo .btn{margin-left:auto;position:relative;z-index:2}
.promo-dots{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);display:flex;gap:5px}
.promo-dots i{width:6px;height:4px;border-radius:3px;background:rgba(255,255,255,.4)}
.promo-dots i.on{width:16px;background:#fff}

/* ---------- 分类 ---------- */
.cat-section{margin-top:22px;padding-bottom:36px}
.cat-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.cat-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 6px;text-align:center;cursor:pointer;transition:.18s;box-shadow:var(--sd)}
.cat-card:hover{transform:translateY(-2px);border-color:#cddcff;box-shadow:0 8px 18px rgba(30,64,140,.09)}
.cat-ico{width:34px;height:34px;margin:0 auto 7px;border-radius:9px;display:flex;align-items:center;justify-content:center}
.cat-card b{display:block;font-size:12px;margin-bottom:2px}
.cat-card span{font-size:10px;color:var(--muted)}

/* ---------- 页脚 ---------- */
.site-footer{background:linear-gradient(180deg,rgba(244,247,255,0),#e9edff);text-align:center;padding:34px 0 26px;color:var(--muted);font-size:11px;position:relative;overflow:hidden}
.site-footer::before{content:"";position:absolute;left:-5%;right:-5%;top:-30px;height:80px;border-radius:50%;background:rgba(255,255,255,.6);transform:rotate(-2deg)}
.site-footer span{position:relative}
.footer-links{display:flex;justify-content:center;gap:20px;margin-bottom:10px;position:relative}
.footer-links a:hover{color:var(--blue)}

/* ---------- 面包屑 ---------- */
.crumb{padding:16px 0 14px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.crumb a:hover{color:var(--blue)}
.crumb b{color:var(--t-2);font-weight:500}

/* ---------- 商品中心 ---------- */
.mall-head{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 22px;margin-bottom:14px}
.mall-head h2{font-size:20px;margin-bottom:4px}
.mall-head p{font-size:12px;color:var(--muted)}
.mall-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:14px;align-items:start;padding-bottom:36px}
.side-cats{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px;box-shadow:var(--sd)}
.side-title{font-size:13px;font-weight:700;padding:8px 10px 10px;border-bottom:1px solid var(--line-2);margin-bottom:6px}
.side-cat{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:7px;font-size:12.5px;color:var(--t-2);cursor:pointer}
.side-cat:hover{background:#f5f8ff;color:var(--blue)}
.side-cat.on{background:var(--blue-l);color:var(--blue);font-weight:700}
.side-cat .n{margin-left:auto;font-size:11px;color:var(--muted)}
.side-box{margin-top:12px;background:linear-gradient(140deg,#2563eb,#5b8dff);border-radius:10px;padding:16px 14px;color:#fff}
.side-box b{display:block;font-size:13px;margin-bottom:5px}
.side-box p{font-size:11px;color:#dbe8ff;margin-bottom:12px}
.mall-main{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;box-shadow:var(--sd)}
.mall-toolbar{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--line-2);flex-wrap:wrap;gap:10px}
.mall-toolbar .count{font-size:12px;color:var(--muted)}
.mall-toolbar .count b{color:var(--red)}
.tool-right{display:flex;align-items:center;gap:8px}
.chip{padding:5px 12px;border-radius:16px;background:#f4f7fd;font-size:12px;color:var(--t-2);cursor:pointer}
.chip.on{background:var(--blue);color:#fff}
.select{height:30px;border:1px solid var(--line);border-radius:6px;padding:0 8px;font-size:12px;background:#fff;color:var(--t-2)}
.mall-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 0 4px}
.mall-grid .prod-card{min-height:250px}
.empty{text-align:center;padding:60px 0;color:var(--muted)}
.empty b{display:block;font-size:15px;color:var(--t-2);margin:12px 0 4px}
.pager{display:flex;justify-content:center;gap:6px;padding-top:16px}
.pager button{min-width:30px;height:30px;border:1px solid var(--line);border-radius:6px;font-size:12px;color:var(--t-2);background:#fff}
.pager button.on{background:var(--blue);color:#fff;border-color:var(--blue)}

/* ---------- 商品详情 ---------- */
.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start;padding-bottom:40px}
.detail-main{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;box-shadow:var(--sd)}
.detail-top{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px}
.hero-shot{height:200px;border-radius:10px;background:linear-gradient(150deg,#0d3a34,#1c6d5c);position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff}
.hero-shot::after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.12);border-radius:50%;top:-60px;right:-50px}
.hero-shot svg{width:76px;height:76px;margin-bottom:8px}
.hero-shot b{font-size:22px;letter-spacing:.5px}
.hero-shot span{font-size:11px;color:#b9e6d9;margin-top:8px;background:rgba(255,255,255,.1);padding:3px 10px;border-radius:12px}
.detail-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.detail-title h1{font-size:22px;font-weight:800}
.detail-title .badge{position:static;border-radius:4px;padding:1px 7px}
.detail-tags{display:flex;gap:6px;margin:11px 0}
.detail-tags .tag{padding:3px 10px;font-size:11px}
.detail-desc{font-size:12.5px;color:var(--t-2);line-height:1.9;margin-bottom:16px}
.guarantees{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding-top:14px;border-top:1px solid var(--line-2)}
.guarantee{display:flex;align-items:center;gap:7px}
.guarantee .gico{width:18px;height:18px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.guarantee .gico svg{width:12px;height:12px}
.guarantee b{display:block;font-size:11px;line-height:1.3}
.guarantee span{font-size:10px;color:var(--muted)}
.thumbs{display:flex;align-items:center;gap:8px;margin-top:16px}
.thumb-nav{width:24px;height:24px;border:1px solid var(--line);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--muted);flex:none;cursor:pointer}
.thumb-nav:hover{color:var(--blue);border-color:var(--blue)}
.thumb{width:66px;height:50px;border:1px solid var(--line);border-radius:6px;overflow:hidden;cursor:pointer;display:flex;align-items:center;justify-content:center;background:#f8faff;flex:none}
.thumb.on{border:2px solid var(--blue)}
.thumb svg{width:30px;height:30px}
.thumb-mock{width:100%;height:100%;padding:5px;display:flex;flex-direction:column;gap:3px;justify-content:center}
.thumb-mock i{height:3px;background:#c9d8f5;border-radius:2px;display:block}
.detail-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin:22px 0 18px;padding:0 2px}
.detail-tabs button{position:relative;padding:0 2px 11px;font-size:13px;color:var(--t-2)}
.detail-tabs button.on{color:var(--blue);font-weight:700}
.detail-tabs button.on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--blue);border-radius:3px}
.panel-title{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:700;margin:20px 0 12px}
.panel-title .sq{width:8px;height:8px;border-radius:2px;background:var(--blue);transform:rotate(45deg)}
.intro-banner{height:205px;border-radius:10px;background:linear-gradient(110deg,#1b2a86,#2b5fd8 60%,#4f9bff);color:#fff;display:flex;align-items:center;padding:22px 26px;position:relative;overflow:hidden;gap:16px}
.intro-banner::after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.06);right:-60px;bottom:-170px}
.intro-l{width:46%;position:relative;z-index:2}
.intro-l h3{font-size:24px;font-weight:800;margin-bottom:5px}
.intro-l .sub{font-size:14px;color:#b9d9ff;margin-bottom:10px}
.intro-l p{font-size:11px;color:#dae8ff;line-height:1.7;margin-bottom:14px}
.intro-pts{display:flex;gap:14px}
.intro-pts div{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:9px;color:#d9e8ff;text-align:center}
.intro-pts .pi{width:26px;height:26px;border-radius:7px;background:rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center}
.intro-shot{flex:1;height:170px;background:#f6f8ff;border-radius:9px;box-shadow:0 8px 22px rgba(0,0,0,.22);display:flex;overflow:hidden;position:relative;z-index:2}
.shot-side{width:35%;background:#1d2334;padding:10px 8px;color:#8b96ad}
.shot-side .s-logo{font-size:9px;color:#fff;margin-bottom:10px}
.shot-side .s-item{height:14px;border-radius:4px;background:rgba(255,255,255,.06);margin-bottom:5px;font-size:7px;padding:2px 4px;display:flex;align-items:center;gap:4px}
.shot-side .s-item.on{background:rgba(255,255,255,.14);color:#fff}
.shot-main{flex:1;background:#fff;padding:10px}
.shot-bar{height:10px;background:#f1f4fa;border-radius:5px;margin-bottom:10px}
.shot-bubble{background:linear-gradient(90deg,#4a6cf7,#7b5cf6);color:#fff;font-size:8px;padding:6px 8px;border-radius:7px 7px 7px 0;display:inline-block;margin-bottom:10px}
.shot-msg{border:1px solid #e9edf7;border-radius:6px;padding:6px 8px;font-size:8px;color:#5b6883;margin-bottom:6px;display:flex;align-items:center;gap:6px}
.shot-msg i{width:12px;height:12px;border-radius:3px;background:#e6f0ff;display:inline-flex;align-items:center;justify-content:center;color:#3b7bf5;font-style:normal;font-size:7px}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.feature-card{border:1px solid var(--line);border-radius:9px;padding:13px;display:flex;gap:10px;align-items:flex-start;background:#fff}
.fico{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none}
.fico.blue{background:#eaf2ff;color:var(--blue)}.fico.purple{background:#f2ecff;color:var(--purple)}
.fico.green{background:#e5f8f1;color:#12b886}.fico.orange{background:#fff2e5;color:var(--orange)}
.fico.cyan{background:#e6f8fb;color:#0ea5c6}
.feature-card b{display:block;font-size:12.5px;margin-bottom:3px}
.feature-card p{font-size:10.5px;color:var(--muted);line-height:1.6}
.scene-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.scene-card{border:1px solid var(--line);border-radius:9px;padding:14px 6px;text-align:center}
.scene-card .sico{width:36px;height:36px;margin:0 auto 8px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.scene-card b{display:block;font-size:12px;margin-bottom:3px}
.scene-card span{font-size:10px;color:var(--muted)}
.tab-panel-doc{padding:4px 2px 8px}
.doc-line{display:flex;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:8px;margin-bottom:9px;font-size:12px;color:var(--t-2);align-items:flex-start}
.doc-line .no{width:20px;height:20px;border-radius:50%;background:var(--blue-l);color:var(--blue);display:flex;align-items:center;justify-content:center;flex:none;font-size:11px;font-weight:700}
.file-row{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;margin-bottom:9px}
.file-row .fico2{width:34px;height:34px;border-radius:7px;background:#fff0ef;color:var(--red);display:flex;align-items:center;justify-content:center}
.file-row b{display:block;font-size:12.5px}
.file-row span{font-size:11px;color:var(--muted)}
.file-row .btn{margin-left:auto}

/* ---------- 详情右栏 ---------- */
.side-col{display:flex;flex-direction:column;gap:14px}
.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;box-shadow:var(--sd)}
.panel h3{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:700;padding-bottom:12px;border-bottom:1px solid var(--line-2);margin-bottom:12px}
.panel h3 svg{color:var(--blue)}
.price-line{display:flex;align-items:center;justify-content:space-between;padding:7px 0;font-size:12.5px;color:var(--t-2)}
.price-line .v{font-size:14px;font-weight:700;color:var(--t)}
.price-line .v.old{color:var(--muted-2);font-weight:400;font-size:12px;text-decoration:line-through}
.price-line .v.big{color:var(--red);font-size:19px}
.price-hl{background:#f3efff;border-radius:7px;padding:8px 10px;display:flex;justify-content:space-between;align-items:center;margin:6px 0;color:#6d4bd8;font-size:12.5px;font-weight:600}
.price-hl .v{font-size:17px;font-weight:800}
.price-lv{display:flex;justify-content:space-between;align-items:center;background:#f4f8ff;border-radius:6px;padding:7px 9px;margin-bottom:6px;font-size:11.5px;color:var(--t-2)}
.price-lv .lv-l{display:flex;align-items:center;gap:6px}
.price-lv .lv-l i{width:14px;height:14px;border-radius:3px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-size:9px;font-style:normal}
.price-lv b{font-size:13px;color:var(--t)}
.lock-link{display:block;text-align:center;font-size:11.5px;color:var(--blue);padding:8px 0 14px;cursor:pointer}
.lock-link:hover{text-decoration:underline}
.price-btns{display:flex;flex-direction:column;gap:9px}
.price-btns .btn{height:40px}
.price-note{text-align:center;font-size:10.5px;color:var(--muted-2);margin-top:10px}
.info-row{display:flex;justify-content:space-between;padding:7px 0;font-size:12px;border-bottom:1px dashed var(--line-2)}
.info-row:last-child{border:0}
.info-row span{color:var(--muted)}
.info-row b{font-weight:500;color:var(--t)}
.info-row b.link{color:var(--blue);cursor:pointer}
.notice-list{font-size:11px;color:var(--t-2);line-height:1.9}
.notice-list li{display:flex;gap:8px;margin-bottom:8px;list-style:none}
.notice-list li i{width:16px;height:16px;border-radius:50%;background:#f0eaff;color:var(--purple);font-style:normal;display:flex;align-items:center;justify-content:center;font-size:10px;flex:none;margin-top:2px}

/* ---------- 会员中心 ---------- */
.account-layout{display:grid;grid-template-columns:180px minmax(0,1fr) 292px;gap:14px;align-items:start;padding-bottom:40px}
.side-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 10px;box-shadow:var(--sd)}
.side-user{display:flex;align-items:center;gap:9px;padding:6px 6px 14px;border-bottom:1px solid var(--line-2)}
.side-user .avatar{width:36px;height:36px}
.side-user b{font-size:13px;display:flex;align-items:center;gap:5px}
.side-user p{font-size:10px;color:var(--muted);margin-top:2px}
.mini-badge{font-size:9px;color:#fff;background:var(--blue);border-radius:8px;padding:0 6px;font-weight:500}
.menu-item{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:7px;font-size:12.5px;color:var(--t-2);cursor:pointer;position:relative;margin-top:2px}
.menu-item svg{width:15px;height:15px;color:var(--muted)}
.menu-item:hover{background:#f5f8ff;color:var(--blue)}
.menu-item.on{background:var(--blue-l);color:var(--blue);font-weight:700}
.menu-item.on svg{color:var(--blue)}
.menu-item.on::before{content:"";position:absolute;left:-10px;top:6px;bottom:6px;width:3px;border-radius:0 3px 3px 0;background:var(--blue)}
.side-upgrade{margin-top:14px;border-radius:10px;background:linear-gradient(145deg,#2563eb,#63a0ff);color:#fff;padding:15px 13px;text-align:center;position:relative;overflow:hidden}
.side-upgrade::after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;background:rgba(255,255,255,.09);right:-30px;bottom:-40px}
.side-upgrade .ug{width:30px;height:30px;margin:0 auto 7px;border-radius:50%;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center}
.side-upgrade b{display:block;font-size:12.5px;line-height:1.5}
.side-upgrade .btn{height:29px;padding:0 18px;font-size:11px;margin-top:11px;border-radius:16px;position:relative;z-index:2}
.account-center{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;box-shadow:var(--sd)}
.section-sub{font-size:11.5px;color:var(--muted);margin-top:-8px;margin-bottom:14px}
.rec-grid .prod-card{min-height:250px}
.acct-banner{margin-top:14px;height:92px;border-radius:10px;background:linear-gradient(100deg,#1e2b90,#3a3ac9 60%,#6b5cf2);color:#fff;display:flex;align-items:center;padding:0 20px;position:relative;overflow:hidden}
.acct-banner::after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.06);right:80px;top:-100px}
.acct-banner .gift{width:80px;height:80px;margin-right:14px;flex:none}
.acct-banner h4{font-size:17px;font-weight:800;margin-bottom:3px}
.acct-banner p{font-size:11px;color:#d7dcff}
.acct-banner p b{color:#ffd45e;font-size:14px}
.acct-banner .btn{margin-left:auto;position:relative;z-index:2;height:34px;border-radius:18px}
.account-right{display:flex;flex-direction:column;gap:14px}
.acct-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px;box-shadow:var(--sd)}
.acct-card .ttl{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700;margin-bottom:12px}
.acct-card .ttl .more{font-size:11px;color:var(--muted);font-weight:400;cursor:pointer}
.acct-card .ttl .more:hover{color:var(--blue)}
.acct-user{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.acct-user .avatar{width:40px;height:40px}
.acct-user b{font-size:13px;display:flex;align-items:center;gap:6px}
.acct-user p{font-size:10.5px;color:var(--muted);margin-top:2px}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);background:#f5f8ff;border-radius:9px;padding:11px 4px;text-align:center}
.stat-grid div{border-right:1px solid #e6ecfa}
.stat-grid div:last-child{border:0}
.stat-grid span{display:block;font-size:10px;color:var(--muted);margin-bottom:3px;white-space:nowrap}
.stat-grid b{font-size:13px}
.member-promo{border-radius:10px;background:linear-gradient(105deg,#2a49d8,#7558ef);color:#fff;padding:14px;display:flex;align-items:center;gap:10px;position:relative;overflow:hidden}
.member-promo::after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.08);right:-30px;top:-50px}
.member-promo .mi{width:34px;height:34px;flex:none}
.member-promo b{display:block;font-size:13px}
.member-promo p{font-size:10.5px;color:#d9dcff;margin-top:2px}
.member-promo .btn{height:27px;padding:0 12px;font-size:10.5px;border-radius:14px;margin-left:auto;position:relative;z-index:2}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.quick-grid div{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 2px;border-radius:8px;font-size:11px;color:var(--t-2);cursor:pointer}
.quick-grid div:hover{background:#f5f8ff}
.quick-grid .qi{width:34px;height:34px;border-radius:9px;background:#f3f7ff;display:flex;align-items:center;justify-content:center}
.tips-box ol{list-style:none;counter-reset:tip}
.tips-box li{counter-increment:tip;font-size:11px;color:var(--t-2);padding:5px 0;display:flex;gap:7px;line-height:1.6}
.tips-box li::before{content:counter(tip) ".";color:var(--blue);font-weight:700;flex:none}
.service-box{display:flex;gap:12px;align-items:flex-start}
.service-left{flex:1}
.service-user{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.service-user .avatar{width:32px;height:32px}
.service-user b{font-size:12px;display:block}
.service-user span{font-size:10px;color:var(--muted)}
.service-box .qr{width:78px;text-align:center;flex:none}
.service-box .qr svg{width:78px;height:78px;border:1px solid var(--line);border-radius:5px;padding:3px;background:#fff}
.service-box .qr span{font-size:9px;color:var(--muted);display:block;line-height:1.4;margin-top:4px}
.service-left .btn{height:32px;font-size:11.5px;padding:0 16px;margin-top:6px}

/* ---------- 通用列表 / 表格 ---------- */
.data-table{width:100%;border-collapse:collapse;font-size:12px}
.data-table th{background:#f6f9ff;color:var(--t-2);font-weight:600;text-align:left;padding:10px 12px;border-bottom:1px solid var(--line)}
.data-table td{padding:11px 12px;border-bottom:1px solid var(--line-2);color:var(--t-2)}
.data-table tr:last-child td{border:0}
.data-table .st{color:var(--green);font-weight:600}
.simple-list{display:flex;flex-direction:column;gap:10px}
.list-row{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);border-radius:9px}
.list-row .li-ico{width:36px;height:36px;border-radius:9px;background:var(--blue-l);color:var(--blue);display:flex;align-items:center;justify-content:center;flex:none}
.list-row b{font-size:13px}
.list-row p{font-size:11px;color:var(--muted)}
.list-row .r{margin-left:auto;text-align:right}
.page-title{font-size:18px;font-weight:700;margin-bottom:4px}
.page-sub{font-size:12px;color:var(--muted);margin-bottom:16px}
.level-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.level-card{border:1px solid var(--line);border-radius:10px;padding:14px 10px;text-align:center}
.level-card .lc{width:38px;height:38px;border-radius:50%;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;color:#fff}
.level-card b{display:block;font-size:12.5px;margin-bottom:3px}
.level-card span{font-size:10px;color:var(--muted)}
.coupon-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.coupon{border:1px dashed #c9d8ff;border-radius:10px;background:linear-gradient(135deg,#f3f8ff,#fff);padding:16px;position:relative}
.coupon b{font-size:24px;color:var(--red)}
.coupon b small{font-size:12px}
.coupon p{font-size:11px;color:var(--t-2);margin-top:4px}
.coupon span{font-size:10px;color:var(--muted)}
.coupon .use{position:absolute;right:14px;top:18px;font-size:11px;color:var(--blue);cursor:pointer}
.big-empty{text-align:center;padding:50px 0;color:var(--muted)}
.big-empty svg{width:54px;height:54px;margin:0 auto 10px;color:#c9d8f5}

/* ---------- 公告资讯 / AI 客服 ---------- */
.news-list{display:flex;flex-direction:column;gap:10px}
.news-item{background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px 18px;cursor:pointer;transition:.18s;box-shadow:var(--sd)}
.news-item:hover{border-color:#cddcff;transform:translateX(3px)}
.news-item .top{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.news-item h4{font-size:14px;margin-bottom:4px}
.news-item p{font-size:11.5px;color:var(--muted)}
.news-item .date{margin-left:auto;font-size:11px;color:var(--muted-2)}
.chat-wrap{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--sd);overflow:hidden}
.chat-head{padding:14px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:9px}
.chat-head b{font-size:14px}
.chat-head span{font-size:11px;color:var(--green)}
.chat-body{height:330px;overflow-y:auto;padding:18px;background:#f8faff;display:flex;flex-direction:column;gap:14px}
.msg{display:flex;gap:9px;max-width:80%}
.msg .m-av{width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;flex:none;font-size:11px}
.msg .bubble{background:#fff;border:1px solid var(--line);border-radius:3px 10px 10px 10px;padding:10px 12px;font-size:12.5px;line-height:1.7;color:var(--t-2)}
.msg.me{align-self:flex-end;flex-direction:row-reverse}
.msg.me .m-av{background:#e9eef8;color:var(--t-2)}
.msg.me .bubble{background:var(--blue);color:#fff;border-color:var(--blue);border-radius:10px 3px 10px 10px}
.chat-quick{display:flex;gap:7px;padding:10px 18px;border-top:1px solid var(--line-2);flex-wrap:wrap}
.chat-quick .chip{font-size:11px;padding:4px 10px}
.chat-input{display:flex;gap:9px;padding:12px 18px;border-top:1px solid var(--line-2)}
.chat-input input{flex:1;height:36px;border:1px solid var(--line);border-radius:8px;padding:0 12px;font-size:12.5px}
.chat-input input:focus{border-color:var(--blue)}

/* ---------- 弹窗 / 抽屉 / Toast ---------- */
.modal-mask{position:fixed;inset:0;background:rgba(17,30,60,.45);z-index:200;display:none;align-items:center;justify-content:center;padding:20px}
.modal-mask.show{display:flex}
.modal{background:#fff;border-radius:14px;width:400px;max-width:100%;box-shadow:0 20px 60px rgba(0,0,0,.22);overflow:hidden;animation:pop .2s ease}
@keyframes pop{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
.modal-head{padding:20px 22px 6px;display:flex;align-items:center;justify-content:space-between}
.modal-head h3{font-size:18px}
.modal-head p{font-size:11.5px;color:var(--muted);margin-top:3px}
.modal-x{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--muted)}
.modal-x:hover{background:#f2f5fa}
.modal-body{padding:16px 22px 22px}
.form-item{margin-bottom:13px}
.form-item label{display:block;font-size:12px;color:var(--t-2);margin-bottom:6px;font-weight:600}
.form-item input{width:100%;height:40px;border:1px solid var(--line);border-radius:8px;padding:0 12px;font-size:13px}
.form-item input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,.08)}
.form-tip{font-size:11px;color:var(--muted);text-align:right;margin-top:8px;cursor:pointer}
.form-tip:hover{color:var(--blue)}
.modal-foot{font-size:11px;color:var(--muted);text-align:center;margin-top:14px;line-height:1.7}
.modal-wide{width:520px}
.notice-modal-body{font-size:12.5px;color:var(--t-2);line-height:1.9}
.checkout-row{display:flex;justify-content:space-between;padding:9px 0;font-size:12.5px;border-bottom:1px dashed var(--line-2)}
.checkout-total{display:flex;justify-content:space-between;align-items:center;padding:14px 0;font-size:13px}
.checkout-total b{font-size:21px;color:var(--red)}
.success-ico{width:58px;height:58px;margin:6px auto 14px;border-radius:50%;background:#e5f8f1;color:var(--green);display:flex;align-items:center;justify-content:center}
.modal-center{text-align:center}
.modal-center h3{font-size:17px;margin-bottom:6px}
.modal-center p{font-size:12px;color:var(--muted);line-height:1.8}
.drawer-mask{position:fixed;inset:0;background:rgba(17,30,60,.4);z-index:150;display:none}
.drawer-mask.show{display:block}
.cart-drawer{position:fixed;right:0;top:0;bottom:0;width:390px;max-width:100%;background:#fff;z-index:160;transform:translateX(100%);transition:.25s;display:flex;flex-direction:column;box-shadow:-10px 0 40px rgba(0,0,0,.12)}
.cart-drawer.show{transform:none}
.cart-head{padding:18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.cart-head b{font-size:16px}
.cart-body{flex:1;overflow-y:auto;padding:14px 18px}
.cart-item{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--line-2)}
.cart-item .prod-icon{width:44px;height:44px;margin:0}
.cart-item .prod-icon svg{width:44px;height:44px}
.cart-item .ci{flex:1;min-width:0}
.cart-item .ci b{font-size:12.5px;display:block;margin-bottom:3px}
.cart-item .ci p{font-size:11px;color:var(--red);font-weight:700}
.qty{display:flex;align-items:center;gap:0;margin-top:6px;border:1px solid var(--line);border-radius:6px;width:92px}
.qty button{width:26px;height:24px;color:var(--t-2)}
.qty span{flex:1;text-align:center;font-size:12px}
.cart-del{color:var(--muted-2);align-self:flex-start}
.cart-del:hover{color:var(--red)}
.cart-foot{padding:16px 18px;border-top:1px solid var(--line)}
.cart-foot .btn{height:42px}
.toast{position:fixed;left:50%;top:82px;transform:translate(-50%,-14px);background:rgba(28,40,70,.92);color:#fff;padding:10px 20px;border-radius:8px;font-size:12.5px;z-index:300;opacity:0;pointer-events:none;transition:.22s;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* ---------- 悬浮工具 ---------- */
.float-bar{position:fixed;right:12px;top:52%;transform:translateY(-50%);z-index:50;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 6px 20px rgba(30,64,140,.1);padding:8px 6px;display:flex;flex-direction:column;align-items:center;gap:4px;width:74px}
.float-item{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0;color:var(--blue);font-size:10px;width:100%;border-radius:7px}
.float-item:hover{background:var(--blue-l)}
.float-qr{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:9px;color:var(--muted);border-top:1px solid var(--line-2);padding-top:9px;text-align:center;line-height:1.4}
.qr-box svg{width:56px;height:56px}
.float-top{width:26px;height:26px;border-radius:6px;background:#f3f7ff;color:var(--blue);display:flex;align-items:center;justify-content:center;margin-top:4px}
.float-top:hover{background:var(--blue);color:#fff}

/* ---------- 响应式 ---------- */
@media(max-width:1180px){
  .container{width:100%}
  .nav{gap:16px}.header-search{width:180px}
  .float-bar{display:none}
}
@media(max-width:980px){
  .header-search{display:none}
  .hero-grid,.detail-layout,.account-layout,.mall-layout{grid-template-columns:1fr}
  .hero-robot{opacity:.5}
  .benefits{grid-template-columns:repeat(3,1fr)}
  .prod-grid5{grid-template-columns:repeat(3,1fr)}
  .cat-grid{grid-template-columns:repeat(4,1fr)}
  .account-layout{grid-template-columns:180px minmax(0,1fr)}
  .account-right{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,1fr)}
  .side-panel{grid-row:span 2}
}
@media(max-width:680px){
  .header-inner{gap:10px;height:56px}
  .brand-sub{display:none}.brand-name{font-size:15px}
  .nav{gap:12px;overflow-x:auto}.nav-item{font-size:12px}
  .login-text{display:none}
  .hero-banner{padding:22px;height:190px}.hero-txt h1{font-size:24px}.hero-robot{display:none}
  .benefits{grid-template-columns:repeat(2,1fr)}
  .prod-grid5,.prod-grid3,.mall-grid,.rec-grid{grid-template-columns:repeat(2,1fr)}
  .cat-grid{grid-template-columns:repeat(3,1fr)}
  .detail-top{grid-template-columns:1fr}
  .feature-grid,.scene-grid,.level-grid,.coupon-grid{grid-template-columns:repeat(2,1fr)}
  .guarantees{grid-template-columns:repeat(2,1fr)}
  .intro-shot{display:none}.intro-l{width:100%}
  .promo{padding:0 16px}.promo-gift{display:none}.promo h3{font-size:18px}
  .account-layout,.account-right{grid-template-columns:1fr}
  .side-panel{grid-row:auto}
  .float-bar{display:none}
}
