/* ============================================================
   浦江集客科技有限公司 —— 平台全局样式
   ============================================================ */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff4ff;
  --accent: #f59e0b;
  --danger: #ef4444;
  --green: #22c55e;
  --ink: #1f2430;
  --ink-2: #5b6472;
  --muted: #9099a6;
  --line: #e7eaf0;
  --bg: #f6f8fb;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(31, 40, 80, .08);
  --shadow-lg: 0 18px 48px rgba(31, 40, 80, .14);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 顶部栏 ---------- */
.topbar { background: var(--ink); color: #cbd2de; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar a { color: #cbd2de; }
.topbar a:hover { color: #fff; }
.topbar .right { display: flex; gap: 18px; align-items: center; }
.topbar .sep { opacity: .35; }

/* ---------- 导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 26px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 17px; letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(37,99,235,.35);
}
.brand-name { font-weight: 800; font-size: 19px; line-height: 1.15; }
.brand-name small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { padding: 9px 16px; border-radius: 10px; font-weight: 600; color: var(--ink-2); transition: .18s; }
.nav-links a:hover { color: var(--primary); background: var(--primary-soft); }
.nav-links a.active { color: var(--primary); background: var(--primary-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; }
.cart-btn .badge {
  position: absolute; top: -5px; right: -7px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--danger); color: #fff; border-radius: 10px; font-size: 11px;
  display: grid; place-items: center; font-weight: 700; box-shadow: 0 2px 6px rgba(239,68,68,.4);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 20px; border-radius: 10px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; transition: .18s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(37,99,235,.3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 6px 13px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 13px 34px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

/* 汉堡菜单 */
.burger { display: none; background: none; border: 0; font-size: 24px; color: var(--ink); }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; padding: 10px 6%; }
.mobile-menu a { display: block; padding: 12px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #f5f7fb;
  color: #2a2f3a;
  margin-top: 70px;
  border-top: 3px solid var(--primary);
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 40px; padding: 58px 0 42px; }
.footer-col h4 { color: #111827; font-size: 15px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }
.footer-col li { margin-bottom: 12px; font-size: 13.5px; }
.footer-col a { transition: .15s; color: #1f2937; }
.footer-col a:hover { color: var(--primary); padding-left: 2px; }
.footer-contact .cell { display: flex; gap: 10px; margin-bottom: 14px; font-size: 13.5px; align-items: start; }
.footer-contact .cell svg { color: var(--primary); flex: none; margin-top: 2px; }
.footer-contact .cell a { color: #111827; }
.footer-contact .cell a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #e5e8ef; padding: 20px 0; font-size: 13px; color: #5b6472; background: #edeff5; }
.footer-bottom .row { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; align-items: center; }
.footer-bottom .beian { margin-top: 6px; }
.footer-bottom a { color: #4a5465; }
.footer-bottom a:hover { color: var(--primary); }

/* ---------- 通用区块 ---------- */
.page-hero {
  background: linear-gradient(135deg, #eaf1ff 0%, #f6f3ff 55%, #fff4e6 100%);
  padding: 54px 0 46px;
}
.page-hero .container { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.page-hero h1 { font-size: 30px; font-weight: 800; }
.page-hero p { color: var(--ink-2); margin-top: 8px; }
.page-hero .crumb { font-size: 13px; color: var(--muted); }

.section { padding: 46px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 14px; }
.section-head h2 { font-size: 24px; font-weight: 800; }
.section-head .sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.section-head .more { color: var(--primary); font-weight: 600; font-size: 14px; }
.section-head .more:hover { text-decoration: underline; }

/* ---------- 模块入口卡片 ---------- */
.module-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.module-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; position: relative;
  box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 280px;
  transition: transform .25s, box-shadow .25s;
}
.module-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.module-card .mc-top { padding: 30px 30px 10px; display: flex; justify-content: space-between; align-items: flex-start; }
.module-card .mc-badge { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.module-card .mc-badge.blue { background: var(--primary-soft); color: var(--primary); }
.module-card .mc-badge.orange { background: #fdf1e0; color: #b45309; }
.module-card h3 { font-size: 22px; font-weight: 800; margin: 14px 30px 8px; }
.module-card .mc-desc { color: var(--ink-2); font-size: 14px; margin: 0 30px; }
.module-card .mc-stats { display: flex; gap: 26px; margin: 22px 30px; font-size: 13px; color: var(--muted); }
.module-card .mc-stats b { color: var(--ink); font-size: 17px; display: block; }
.module-card .mc-foot { margin-top: auto; padding: 18px 30px; background: #fafbfd; border-top: 1px solid var(--line); display: flex; gap: 12px; }
.module-card .mc-art { position: absolute; right: 16px; bottom: 66px; opacity: .9; pointer-events: none; }

/* ---------- 功能特性 ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  background: var(--card); border-radius: var(--radius); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow);
}
.feature .ic {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); font-size: 22px;
}
.feature h4 { font-size: 15px; margin-bottom: 4px; }
.feature p { font-size: 13px; color: var(--muted); }

/* ---------- 商品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card .thumb { aspect-ratio: 1/1; overflow: hidden; background: #f2f4f8; position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .thumb img { transform: scale(1.07); }
.product-card .thumb .flag { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.product-card .pinfo { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .pname { font-size: 14.5px; font-weight: 600; height: 44px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card .pstore { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.product-card .pstore::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.product-card .pcontact { font-size: 12px; color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 4px; line-height: 1.4; }
.product-card .pprice { display: flex; align-items: baseline; gap: 8px; }
.product-card .pprice .now { color: var(--danger); font-weight: 800; font-size: 19px; }
.product-card .pprice .now small { font-size: 12px; font-weight: 700; }
.product-card .pprice .old { color: var(--muted); font-size: 12.5px; text-decoration: line-through; }
.product-card .pfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; }
.product-card .sold { font-size: 12px; color: var(--muted); }

/* ---------- 商品详情 ---------- */
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 38px; padding: 40px 0; align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery .main { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery .thumbs img {
  width: 70px; height: 70px; object-fit: cover; border-radius: 10px; cursor: pointer;
  border: 2px solid transparent; opacity: .75; transition: .15s;
}
.gallery .thumbs img.on { border-color: var(--primary); opacity: 1; }

.pinfo-card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.shop-info-card { border: 1px solid #e5e8ef; border-radius: 12px; padding: 14px; background: #fbfcfe; margin-bottom: 16px; }
.shop-info-top { display: flex; align-items: center; gap: 12px; }
.shop-avatar { width: 52px; height: 52px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 800; flex: none; }
.shop-info-meta { flex: 1; min-width: 0; }
.shop-name { font-size: 15px; font-weight: 700; color: #111827; }
.shop-name:hover { color: var(--primary); }
.shop-slogan { font-size: 12px; color: #6b7280; margin-top: 2px; }
.shop-contact { font-size: 12.5px; color: #111827; margin-top: 4px; font-weight: 600; }
.shop-tel { color: var(--primary); font-weight: 700; text-decoration: none; }
.shop-tel:hover { text-decoration: underline; }
.shop-stats2 { display: flex; gap: 14px; margin-top: 6px; font-size: 12.5px; color: #4b5563; }
.shop-stats2 svg { width: 13px; height: 13px; vertical-align: -2px; color: #f5a623; margin-right: 2px; }
.shop-info-foot { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e5e8ef; font-size: 12px; color: #6b7280; display: flex; align-items: center; gap: 6px; }
.shop-info-foot svg { color: var(--primary); flex: none; }
.pinfo-card .tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.tag { background: var(--primary-soft); color: var(--primary); font-size: 12px; padding: 3px 11px; border-radius: 20px; font-weight: 600; }
.pinfo-card h1 { font-size: 23px; font-weight: 800; line-height: 1.4; }
.pinfo-card .pcode { color: var(--muted); font-size: 13px; margin-top: 6px; }
.pinfo-card .pricebox {
  margin: 20px 0; padding: 18px; border-radius: 12px; background: linear-gradient(135deg,#fff7f6,#fff);
  border: 1px solid #ffe3e0; display: flex; align-items: baseline; gap: 14px;
}
.pinfo-card .pricebox .now { color: var(--danger); font-size: 32px; font-weight: 800; }
.pinfo-card .pricebox .now small { font-size: 15px; }
.pinfo-card .pricebox .old { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.pinfo-card .pricebox .sale-tag { margin-left: auto; background: var(--danger); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.pinfo-card .rows { border-top: 1px dashed var(--line); padding-top: 14px; }
.pinfo-card .row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; border-bottom: 1px dashed #f0f2f6; }
.pinfo-card .row span:first-child { color: var(--muted); }
.pinfo-card .buybox { display: flex; gap: 12px; margin-top: 22px; }
.qtybox { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qtybox button { width: 38px; height: 42px; background: #f6f8fb; border: 0; font-size: 17px; color: var(--ink); }
.qtybox input { width: 46px; border: 0; text-align: center; height: 42px; }
.desc-card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-top: 26px; }
.desc-card h2 { font-size: 18px; margin-bottom: 16px; padding-left: 12px; border-left: 4px solid var(--primary); }
.desc-card p.lead { color: var(--ink-2); margin-bottom: 18px; }
.desc-card h3.features-title { font-size: 15px; color: var(--primary); margin: 18px 0 10px; }
.desc-card ul.features-list { padding-left: 4px; }
.desc-card ul.features-list li { position: relative; padding: 6px 0 6px 22px; color: var(--ink-2); }
.desc-card ul.features-list li::before {
  content: ""; position: absolute; left: 4px; top: 14px; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg,var(--primary),#7c3aed);
}
.spec-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.spec-table td { padding: 11px 14px; border: 1px solid var(--line); font-size: 13.5px; }
.spec-table td:first-child { background: #fafbfd; color: var(--muted); width: 140px; font-weight: 600; }

/* ---------- 信息卡片 ---------- */
.info-toolbar { display: flex; gap: 12px; align-items: center; margin: 26px 0; flex-wrap: wrap; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.chip { padding: 7px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); font-weight: 600; transition: .15s; }
.chip:hover { color: var(--primary); border-color: var(--primary); }
.chip.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s; display: flex; flex-direction: column;
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.info-card .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.info-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.info-card:hover .thumb img { transform: scale(1.06); }
.info-card .thumb .cat { position: absolute; top: 12px; left: 12px; background: rgba(31,36,48,.82); color: #fff; font-size: 12px; padding: 3px 11px; border-radius: 6px; }
.info-card .thumb .date { position: absolute; bottom: 10px; right: 12px; color: #fff; font-size: 12px; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.info-card .ibody { padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.info-card .title { font-size: 16px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.info-card .meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.info-card .meta .dot { color: var(--line); }
.info-card .ifoot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.info-card .publisher { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.info-card .publisher .avatar {
  width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 700;
  display: grid; place-items: center;
}
.info-card .phone-mask { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; }

/* ---------- 信息详情 ---------- */
.info-detail-layout { display: grid; grid-template-columns: 1fr 350px; gap: 24px; padding: 34px 0; align-items: start; }
.article { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.article .a-header { padding: 30px 34px 18px; border-bottom: 1px solid var(--line); }
.article .a-header h1 { font-size: 25px; font-weight: 800; line-height: 1.4; }
.article .a-meta { display: flex; gap: 16px; align-items: center; margin-top: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.article .a-meta .cat { background: var(--primary-soft); color: var(--primary); padding: 3px 10px; border-radius: 6px; font-weight: 600; }
.article .a-body { padding: 26px 34px 40px; }
.article .a-body p { margin-bottom: 18px; color: var(--ink-2); font-size: 15px; text-align: justify; }
.article .a-body img { border-radius: 12px; margin: 20px 0; width: 100%; }
.side-col { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; }
.side-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.side-card h4 { font-size: 15px; margin-bottom: 14px; }
.contact-card { text-align: center; background: linear-gradient(135deg,#2563eb,#7c3aed); color: #fff; }
.contact-card .avatar { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 24px; font-weight: 800; }
.contact-card .pname { font-size: 17px; font-weight: 800; }
.contact-card .ploc { font-size: 13px; opacity: .9; margin: 4px 0 14px; }
.contact-card .mask { background: rgba(255,255,255,.16); border: 1px dashed rgba(255,255,255,.5); border-radius: 10px; padding: 10px; font-size: 15px; font-weight: 700; letter-spacing: 1px; }
.contact-card .login-tip { font-size: 12.5px; margin-top: 12px; opacity: .92; }
.contact-card .btn-light { background: #fff; color: var(--primary); }
.contact-card .btn-light:hover { background: #eef2ff; }
.contact-btn { display: block; width: 100%; }

/* ---------- 表单 ---------- */
.auth-wrap { min-height: 620px; display: grid; place-items: center; padding: 54px 0; }
.auth-card { background: var(--card); border-radius: 20px; box-shadow: var(--shadow-lg); width: 440px; max-width: 94%; padding: 36px 36px 30px; }
.auth-card .tabs { display: flex; gap: 6px; margin-bottom: 26px; }
.auth-card .tabs a { flex: 1; text-align: center; padding: 11px; border-radius: 10px; font-weight: 700; color: var(--muted); background: #f3f5f9; }
.auth-card .tabs a.on { background: var(--primary); color: #fff; }
.auth-card h2 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: .15s; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--ink-2); margin: 6px 0 16px; }
.agree input { margin-top: 3px; accent-color: var(--primary); }
.agree a { color: var(--primary); }
.btn-check { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; width: 100%; background: #fff; }
.btn-check.on { border-color: var(--green); color: var(--green); background: #f0fdf4; }
.form-tip { font-size: 13px; color: var(--ink-2); text-align: center; margin-top: 16px; }
.form-tip a { color: var(--primary); font-weight: 600; }

/* ---------- 发布表单 ---------- */
.publish-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 24px; padding: 34px 0; align-items: start; }
.form-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.form-card h2 { font-size: 19px; margin-bottom: 20px; }
.form-card .hint { color: var(--muted); font-size: 13px; }
.step-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 30px 0; }
.step { background: #f5f7fb; border-radius: 12px; padding: 16px; text-align: center; }
.step .n { width: 26px; height: 26px; margin: 0 auto 8px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.step b { display: block; font-size: 14px; }
.step span { font-size: 12px; color: var(--muted); }

/* ---------- 购物车 ---------- */
.cart-inner { font-size: 14px; }
.cart-item { display: flex; align-items: center; gap: 16px; background: var(--card); padding: 16px; border-radius: 12px; margin-bottom: 12px; box-shadow: var(--shadow); }
.cart-item img { width: 78px; height: 78px; object-fit: cover; border-radius: 10px; }
.cart-item .ci-name { flex: 1; font-weight: 600; }
.cart-item .ci-name small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; margin-top: 4px; }
.cart-item .ci-price { color: var(--danger); font-weight: 800; width: 90px; }
.cart-summary { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 22px; margin-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.cart-summary .sum b { color: var(--danger); font-size: 26px; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state .ic { font-size: 56px; margin-bottom: 14px; }

/* ---------- 商家卡片 ---------- */
.store-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.store-card { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s; }
.store-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.store-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.store-logo { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 24px; font-weight: 800; }
.store-head h3 { font-size: 17px; }
.store-head p { font-size: 12.5px; color: var(--muted); }
.store-stats { display: flex; gap: 18px; margin: 16px 0; }
.store-stats div { flex: 1; text-align: center; background: #f7f9fc; border-radius: 10px; padding: 12px; }
.store-stats b { display: block; font-size: 17px; color: var(--primary); }
.store-stats span { font-size: 12px; color: var(--muted); }
.store-cert { font-size: 12.5px; color: var(--green); }

/* ---------- 提示 / 弹窗 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 10px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: .3s; z-index: 200; font-size: 14px;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.modal-mask { position: fixed; inset: 0; background: rgba(15,20,30,.5); display: none; place-items: center; z-index: 300; padding: 20px; }
.modal-mask.open { display: grid; }
.modal { background: #fff; border-radius: 16px; width: 560px; max-width: 100%; max-height: 84vh; overflow: auto; box-shadow: var(--shadow-lg); animation: pop .25s; }
@keyframes pop { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .m-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.modal .m-head h3 { font-size: 17px; }
.modal .m-close { background: none; border: 0; font-size: 22px; color: var(--muted); }
.modal .m-body { padding: 20px 24px 26px; font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.modal .m-body h4 { color: var(--ink); margin: 14px 0 6px; }

/* ---------- 关于页面 ---------- */
.about-hero { background: linear-gradient(135deg,#1d4ed8,#7c3aed); color: #fff; padding: 60px 0; text-align: center; }
.about-hero h1 { font-size: 32px; margin-bottom: 10px; }
.about-hero p { opacity: .9; }
.about-section { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; margin: 24px 0; }
.about-section h2 { font-size: 20px; margin-bottom: 16px; padding-left: 14px; border-left: 4px solid var(--primary); }
.about-section p { color: var(--ink-2); margin-bottom: 14px; text-align: justify; }
.info-line { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.info-line b { width: 120px; flex: none; color: var(--muted); font-weight: 600; }

.empty-hint { text-align: center; padding: 46px; color: var(--muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .info-grid { grid-template-columns: repeat(2,1fr); }
  .features { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-detail-layout { grid-template-columns: 1fr; }
  .side-col { position: static; order: -1; }
  .publish-wrap, .module-cards { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .store-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions .hide-m { display: none; }
  .burger { display: block; }
  .mobile-menu.open { display: block; }
  .product-grid, .info-grid, .store-grid, .features { grid-template-columns: repeat(2,1fr); }
  .module-cards { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .step-grid { grid-template-columns: repeat(2,1fr); }
  .cart-item { flex-wrap: wrap; }
}
@media (max-width: 460px) {
  .product-grid, .info-grid { grid-template-columns: 1fr; }
  .nav-actions .btn { padding: 8px 12px; font-size: 13px; }
}

/* ---------- 内联 SVG 图标 ---------- */
.ic svg { width: 24px; height: 24px; display: block; }
.feature .ic svg { width: 26px; height: 26px; }
.mc-art svg { width: 62px; height: 62px; opacity: .3; }
.btn-ico { width: 16px; height: 16px; flex: none; }
.ico-sm { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }
.ico-in { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; margin-right: 6px; flex: none; }
.ico-check { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; margin-right: 2px; }
.store-stats svg, .store-cert svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }
.cart-btn svg { width: 20px; height: 20px; display: block; }
.cart-btn { color: var(--ink-2); }
.cart-btn:hover { color: var(--primary); }
.burger svg { width: 22px; height: 22px; display: block; }
.cell svg { display: block; }

/* ---------- 充值入口 ---------- */
.recharge-section { background: var(--card); border-radius: var(--radius); padding: 32px; margin: 24px 0; box-shadow: var(--shadow); }
.recharge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.recharge-card { border: 2px solid var(--line); border-radius: 12px; padding: 24px; transition: all .2s; position: relative; }
.recharge-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.recharge-card.featured { border-color: var(--primary); background: var(--primary-soft); }
.rc-header { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.rc-badge { display: inline-block; background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; width: fit-content; }
.rc-discount { position: absolute; top: 16px; right: 16px; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.rc-price { font-size: 32px; font-weight: 700; color: var(--primary); }
.rc-price span { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.rc-features { list-style: none; margin: 16px 0; }
.rc-features li { padding: 8px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.rc-features li:last-child { border-bottom: none; }
.rc-features li::before { content: '✓'; color: var(--green); margin-right: 8px; font-weight: 600; }

/* ---------- 充值须知 ---------- */
.notice-section { background: var(--card); border-radius: var(--radius); padding: 32px; margin: 24px 0; box-shadow: var(--shadow); }
.notice-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.notice-item { display: flex; gap: 16px; padding: 20px; background: var(--bg); border-radius: 12px; }
.notice-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.notice-icon svg { width: 24px; height: 24px; }
.notice-text strong { display: block; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.notice-text p { font-size: 13px; color: var(--ink-2); line-height: 1.5; }