/* ============================================================
 * 上海汤知科技有限公司 — 全站样式
 * 浅色主题 / 主色蓝 / 卡片化布局 / 响应式
 * ============================================================ */
:root {
  --blue: #1d4e89;
  --blue-d: #153a68;
  --blue-l: #eaf1f9;
  --blue-l2: #f4f8fd;
  --ink: #1f2937;
  --ink2: #374151;
  --mut: #6b7280;
  --mut2: #9ca3af;
  --line: #e5e7eb;
  --line2: #eef1f5;
  --bg: #f6f8fb;
  --white: #ffffff;
  --price: #c2352b;
  --ok: #0f7b3f;
  --r: 10px;
  --r-s: 6px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow2: 0 8px 24px rgba(16, 24, 40, .10);
  --hdr-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; line-height: 1.7; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; vertical-align: -3px; }

/* ---------- 顶部信息条 + 页头 ---------- */
.topbar { background: var(--blue-d); color: rgba(255, 255, 255, .82); font-size: 12.5px; }
.topbar__in { display: flex; gap: 26px; height: 34px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar__item .icon { width: 13px; height: 13px; }
.topbar__item--addr { margin-left: auto; overflow: hidden; text-overflow: ellipsis; }

.hdr {
  position: sticky; top: 0; z-index: 100; background: var(--white);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr-h); }
.hdr__brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 9px; display: inline-flex;
  align-items: center; justify-content: center; color: #fff; font-weight: 700;
  font-size: 19px; background: linear-gradient(135deg, #2b62a8, #1d4e89);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.hdr__name { font-size: 16.5px; font-weight: 700; letter-spacing: .5px; color: var(--ink); white-space: nowrap; }
.hdr__nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1 1 auto; }
.hdr__link {
  padding: 8px 13px; border-radius: var(--r-s); font-size: 14.5px; color: var(--ink2);
  white-space: nowrap; transition: color .15s, background .15s;
}
.hdr__link:hover { color: var(--blue); background: var(--blue-l2); }
.hdr__link.is-on { color: var(--blue); font-weight: 600; background: var(--blue-l); }
.hdr__act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hdr__cart { position: relative; display: inline-flex; padding: 8px; color: var(--ink2); border-radius: var(--r-s); }
.hdr__cart:hover { color: var(--blue); background: var(--blue-l2); }
.hdr__cart .icon { width: 21px; height: 21px; }
.hdr__badge {
  position: absolute; top: 2px; right: -2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--price); color: #fff; font-size: 11px; line-height: 17px;
  text-align: center; font-weight: 600;
}
.hdr__badge[hidden] { display: none; }
.hdr__user { position: relative; }
.hdr__user-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: var(--r-s);
  font-size: 14px; color: var(--ink2); border: 1px solid var(--line); background: #fff;
}
.hdr__user-btn:hover { border-color: var(--blue); color: var(--blue); }
.hdr__user-btn .icon:last-child { width: 13px; height: 13px; }
.hdr__drop {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow2);
  padding: 6px; z-index: 120;
}
.hdr__drop[hidden] { display: none; }
.hdr__drop-item {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px;
  border-radius: var(--r-s); font-size: 14px; color: var(--ink2); text-align: left;
}
.hdr__drop-item:hover { background: var(--blue-l2); color: var(--blue); }
.hdr__drop-item .icon { width: 15px; height: 15px; }
.hdr__burger { display: none; padding: 8px; color: var(--ink2); }
.hdr__burger .icon { width: 22px; height: 22px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 18px; border-radius: var(--r-s); font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; transition: all .15s; white-space: nowrap;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn--outline:hover { background: var(--blue-l); }
.btn--ghost { color: var(--ink2); border-color: var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--lg { padding: 12px 26px; font-size: 15.5px; }
.btn--sm { padding: 6px 12px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- 徽标与胶囊 ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  background: var(--blue-l); color: var(--blue); font-size: 12.5px; line-height: 1.6;
  white-space: nowrap;
}
.chip .icon { width: 12px; height: 12px; }
.chip--tag { background: #f3f4f6; color: var(--mut); }
.chip--cat { background: #e8f3ec; color: var(--ok); }
.chip--user { background: #fdf1e3; color: #a05a12; }
.chip--hot { background: #fdeceb; color: var(--price); }

.price { color: var(--price); font-weight: 700; }
del { color: var(--mut2); font-size: .86em; }

/* ---------- 首页 hero ---------- */
.hero { background: linear-gradient(160deg, #f2f7fd 0%, #e7eff9 55%, #f6f8fb 100%); border-bottom: 1px solid var(--line); }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding: 64px 20px 56px; align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; font-size: 14px; letter-spacing: 1px; }
.hero h1 { font-size: 38px; line-height: 1.3; margin: 14px 0 16px; letter-spacing: 1px; }
.hero__sub { color: var(--mut); font-size: 16px; max-width: 34em; }
.hero__cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); padding-top: 24px; }
.hero__stat { flex: 1; }
.hero__stat b { display: block; font-size: 26px; color: var(--blue); }
.hero__stat b i { font-style: normal; font-size: 14px; color: var(--mut); margin-left: 2px; }
.hero__stat span { font-size: 13px; color: var(--mut); }
.hero__panel { display: grid; gap: 16px; }
.hero__card {
  display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.hero__card:hover { transform: translateY(-2px); box-shadow: var(--shadow2); }
.hero__card-ico {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; background: var(--blue-l); color: var(--blue); flex: 0 0 auto;
}
.hero__card-ico .icon { width: 26px; height: 26px; }
.hero__card h3 { font-size: 17px; margin-bottom: 4px; }
.hero__card p { font-size: 13.5px; color: var(--mut); }
.hero__card a { color: var(--blue); font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }

/* ---------- 通用区块 ---------- */
.section { padding: 56px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.section__hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section__hd h2 { font-size: 25px; letter-spacing: .5px; }
.section__hd h2 small { display: block; font-size: 13px; color: var(--mut); font-weight: 400; margin-top: 4px; letter-spacing: 0; }
.section__more { color: var(--blue); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- 模块卡（首页双模块） ---------- */
.modules { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.module-card {
  position: relative; padding: 34px 32px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); overflow: hidden;
}
.module-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px;
  border-radius: 50%; background: var(--blue-l); opacity: .55;
}
.module-card__icon {
  position: relative; width: 58px; height: 58px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; background: var(--blue); color: #fff;
}
.module-card__icon .icon { width: 30px; height: 30px; }
.module-card h3 { font-size: 21px; margin: 18px 0 8px; position: relative; }
.module-card p { color: var(--mut); font-size: 14.5px; position: relative; min-height: 3.4em; }
.module-card__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; position: relative; }
.module-card__btn { position: relative; }

/* ---------- 商品卡 ---------- */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.p-card:hover { transform: translateY(-3px); box-shadow: var(--shadow2); border-color: #cddff2; }
.p-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--blue-l2); overflow: hidden; }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.p-card:hover .p-card__media img { transform: scale(1.03); }
.p-card__cat {
  position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgba(21, 58, 104, .88); color: #fff; font-size: 12px;
}
.p-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.p-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.p-card__name { font-size: 16px; line-height: 1.5; }
.p-card__meta { font-size: 13px; color: var(--mut); }
.p-card__foot { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 6px; }
.p-card__foot .price { font-size: 19px; }
.p-card__sales { margin-left: auto; font-size: 12.5px; color: var(--mut2); }

/* ---------- 入驻服务商卡 ---------- */
.m-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.m-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.m-card__hd { display: flex; gap: 14px; align-items: center; }
.m-card__logo {
  width: 48px; height: 48px; border-radius: 10px; background: var(--blue-l); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 700; flex: 0 0 auto;
}
.m-card__name { font-size: 16.5px; line-height: 1.4; }
.m-card__loc { font-size: 12.5px; color: var(--mut); display: inline-flex; align-items: center; gap: 4px; }
.m-card__loc .icon { width: 12px; height: 12px; }
.m-card__intro { font-size: 13.5px; color: var(--ink2); margin: 14px 0; }
.m-card__chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.m-card__stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px dashed var(--line); padding-top: 14px; }
.m-card__stats div { text-align: center; }
.m-card__stats dt { font-size: 12px; color: var(--mut); }
.m-card__stats dd { font-size: 15px; font-weight: 700; color: var(--ink); }
.m-card__ft {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px;
  padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink2);
}
.m-card__credit { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-size: 12.5px; margin-left: auto; }
.m-card__credit .icon { width: 13px; height: 13px; }
.ph { font-weight: 600; color: var(--ink); letter-spacing: .3px; }
.ph-open { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.ph-open .icon { width: 14px; height: 14px; color: var(--blue); }

/* ---------- 信息卡 ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow2); border-color: #cfe0f2; }
.info-card__media { position: relative; aspect-ratio: 16 / 10; background: #eef2f7; overflow: hidden; }
.info-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.info-card:hover .info-card__media img { transform: scale(1.03); }
.info-card__cat {
  position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgba(15, 123, 63, .9); color: #fff; font-size: 12px;
}
.info-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 16px; flex: 1; }
.info-card__title { font-size: 15.5px; line-height: 1.55; min-height: 3.1em; }
.info-card__pub { font-size: 13px; color: var(--mut); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.info-card__pub .icon { width: 13px; height: 13px; }
.info-card__foot {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto;
  padding-top: 12px; border-top: 1px solid var(--line2); font-size: 12.5px; color: var(--mut);
}
.info-card__loc, .info-card__time { display: inline-flex; align-items: center; gap: 4px; }
.info-card__loc .icon, .info-card__time .icon { width: 12px; height: 12px; }
.info-card__foot .ph { margin-left: auto; font-size: 13px; color: var(--ink2); }

/* ---------- 列表页工具条 ---------- */
.page-hd { background: #fff; border-bottom: 1px solid var(--line); padding: 34px 0 26px; }
.page-hd__crumb { font-size: 13px; color: var(--mut); margin-bottom: 10px; }
.page-hd__crumb a:hover { color: var(--blue); }
.page-hd h1 { font-size: 27px; letter-spacing: .5px; }
.page-hd__desc { color: var(--mut); font-size: 14.5px; margin-top: 8px; max-width: 60em; }
.page-hd--act { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-hd__act { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 30px; flex: 0 0 auto; }

.filters {
  display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; margin: 22px 0 26px;
}
.filters__group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filters__label { font-size: 13px; color: var(--mut); flex: 0 0 auto; }
.filters__btn {
  padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 13.5px; color: var(--ink2); transition: all .15s;
}
.filters__btn:hover { border-color: var(--blue); color: var(--blue); }
.filters__btn.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.filters__search { display: flex; gap: 8px; margin-left: auto; }
.filters__search input, .filters__search select {
  border: 1px solid var(--line); border-radius: var(--r-s); padding: 7px 12px; font-size: 13.5px;
  background: #fff; min-width: 150px;
}
.filters__search input:focus, .filters__search select:focus { outline: none; border-color: var(--blue); }

/* ---------- 面包屑 ---------- */
.crumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mut); padding: 18px 0 4px; flex-wrap: wrap; }
.crumb a:hover { color: var(--blue); }
.crumb i { display: inline-flex; }
.crumb i .icon { width: 12px; height: 12px; }
.crumb span { color: var(--ink2); }

/* ---------- 商品详情 ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; padding: 22px 0 10px; }
.pd__media { position: sticky; top: calc(var(--hdr-h) + 16px); align-self: start; }
.pd__stage {
  display: flex; align-items: center; justify-content: center; min-height: 340px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; padding: 10px;
}
.pd__stage img { max-width: 100%; max-height: 480px; width: auto; height: auto; }
.pd__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb {
  width: 84px; height: 64px; border: 2px solid var(--line); border-radius: var(--r-s);
  overflow: hidden; background: #fff; padding: 0;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.is-on { border-color: var(--blue); }
.pd__info h1 { font-size: 24px; line-height: 1.45; margin: 12px 0 10px; }
.pd__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pd__summary { color: var(--mut); font-size: 14.5px; }
.pd__price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 6px; }
.pd__price .price { font-size: 32px; }
.pd__stock { font-size: 13px; color: var(--mut); }
.merchant-box { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin: 18px 0; background: var(--blue-l2); }
.merchant-box__hd { display: flex; gap: 12px; align-items: center; }
.merchant-box__hd .icon { width: 22px; height: 22px; color: var(--blue); }
.merchant-box__hd strong { display: block; font-size: 15.5px; }
.merchant-box__hd span { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--mut); }
.merchant-box__hd span .icon { width: 12px; height: 12px; }
.merchant-box__phone { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 15px; }
.merchant-box__tip { font-size: 12.5px; color: var(--mut); }
.merchant-box__tip--link { color: var(--blue); font-weight: 600; }
.merchant-box__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 13.5px; color: var(--blue); font-weight: 600; }
.merchant-box__more .icon { width: 13px; height: 13px; }
.pd__buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; }
.qty button { padding: 9px 12px; display: inline-flex; color: var(--ink2); }
.qty button:hover { color: var(--blue); }
.qty input { width: 52px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: 9px 4px; font-size: 14.5px; }
.qty input:focus { outline: none; }
.pd__promise { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.pd__promise li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mut); }
.pd__promise .icon { width: 15px; height: 15px; color: var(--blue); }
.pd__sec { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 30px; margin: 22px 0; }
.pd__sec h2 { font-size: 19px; margin-bottom: 16px; padding-left: 12px; border-left: 4px solid var(--blue); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { border: 1px solid var(--line2); padding: 11px 16px; text-align: left; font-size: 14px; }
.spec-table th { width: 180px; background: var(--blue-l2); color: var(--ink2); font-weight: 600; }
.pd__detail-text { color: var(--ink2); font-size: 14.5px; }
.pd-faq { display: grid; gap: 14px; }
.pd-faq__item h4 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.pd-faq__item h4 .icon { width: 16px; height: 16px; color: var(--blue); }
.pd-faq__item p { color: var(--mut); font-size: 13.5px; padding-left: 24px; margin-top: 4px; }

/* ---------- 信息详情 ---------- */
.info-detail { max-width: 860px; margin: 0 auto; padding: 14px 0 30px; }
.info-detail__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.info-detail__hd h1 { font-size: 24px; line-height: 1.5; }
.info-detail__cover { margin: 20px 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.info-detail__cover img { width: 100%; }
.info-detail__content p { color: var(--ink2); font-size: 15px; margin-bottom: 14px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px;
  margin: 26px 0; box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 17px; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--blue); }
.contact-card__rows div { display: flex; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line2); font-size: 14.5px; }
.contact-card__rows div:last-child { border-bottom: 0; }
.contact-card__rows dt { width: 88px; color: var(--mut); flex: 0 0 auto; }
.contact-card__rows dd { color: var(--ink); }
.contact-card__rows dd .ph, .contact-card__rows dd .ph-open { font-size: 15.5px; }
.contact-card__tip { display: block; font-size: 12.5px; color: var(--mut); margin-top: 4px; }
.contact-card__tip--link { color: var(--blue); font-weight: 600; }
.contact-card__note {
  display: flex; gap: 8px; margin-top: 16px; padding: 12px 14px; border-radius: var(--r-s);
  background: var(--blue-l2); font-size: 12.5px; color: var(--mut); line-height: 1.6;
}
.contact-card__note .icon { width: 15px; height: 15px; color: var(--blue); flex: 0 0 auto; margin-top: 2px; }
.info-detail__rel h2 { font-size: 19px; margin: 30px 0 16px; }
.rel-list { display: grid; gap: 12px; }
.rel-item { display: flex; gap: 14px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); align-items: center; }
.rel-item:hover { border-color: #cddff2; }
.rel-item img { width: 108px; height: 68px; object-fit: cover; border-radius: var(--r-s); flex: 0 0 auto; }
.rel-item strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.rel-item span { font-size: 12.5px; color: var(--mut); }

/* ---------- 表单 ---------- */
.form-page { max-width: 520px; margin: 40px auto 60px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; box-shadow: var(--shadow); }
.form-card__hd { text-align: center; margin-bottom: 26px; }
.form-card__hd .logo-mark { width: 46px; height: 46px; font-size: 23px; }
.form-card__hd h1 { font-size: 21px; margin-top: 12px; }
.form-card__hd p { font-size: 13.5px; color: var(--mut); margin-top: 4px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px 13px;
  font-size: 14.5px; background: #fff; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 78, 137, .08); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.field__tip { font-size: 12.5px; color: var(--mut); margin-top: 5px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-msg { font-size: 13.5px; border-radius: var(--r-s); padding: 10px 13px; margin-bottom: 16px; display: none; }
.form-msg.is-err { display: block; background: #fdeceb; color: var(--price); }
.form-msg.is-ok { display: block; background: #e8f3ec; color: var(--ok); }
.checkline { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink2); margin-bottom: 12px; cursor: pointer; }
.checkline input { width: 16px; height: 16px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--blue); }
.checkline a { color: var(--blue); }
.checkline a:hover { text-decoration: underline; }
.form-card__ft { text-align: center; font-size: 13.5px; color: var(--mut); margin-top: 18px; }
.form-card__ft a { color: var(--blue); font-weight: 600; }
.form-card__alt { display: flex; justify-content: space-between; font-size: 13px; color: var(--mut); margin-bottom: 18px; }
.form-card__alt a { color: var(--blue); }

/* ---------- 购物车 ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; padding: 26px 0 50px; }
.cart-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cart-box__hd { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line2); }
.cart-box__hd h2 { font-size: 17px; }
.cart-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cart-table th { background: var(--blue-l2); font-size: 13px; color: var(--mut); font-weight: 600; padding: 12px 14px; text-align: left; }
.cart-table td { padding: 16px 14px; border-bottom: 1px solid var(--line2); font-size: 14px; vertical-align: middle; word-break: break-word; }
.cart-table tr:last-child td { border-bottom: 0; }
.cart-item { display: flex; gap: 12px; align-items: center; }
.cart-item img { width: 76px; height: 52px; object-fit: cover; border-radius: var(--r-s); flex: 0 0 auto; }
.cart-item__name { font-size: 14px; font-weight: 600; line-height: 1.45; }
.cart-item__sub { font-size: 12px; color: var(--mut); margin-top: 2px; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-s); }
.cart-qty button { padding: 5px 9px; display: inline-flex; color: var(--ink2); }
.cart-qty button:hover { color: var(--blue); }
.cart-qty span { min-width: 34px; text-align: center; font-size: 14px; }
.cart-del { color: var(--mut2); display: inline-flex; padding: 6px; border-radius: var(--r-s); }
.cart-del:hover { color: var(--price); background: #fdeceb; }
.cart-sum { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: sticky; top: calc(var(--hdr-h) + 16px); }
.cart-sum h3 { font-size: 16px; margin-bottom: 14px; }
.cart-sum__row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--mut); padding: 6px 0; }
.cart-sum__row--total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 12px; font-size: 15px; color: var(--ink); font-weight: 600; }
.cart-sum__row--total .price { font-size: 22px; }
.cart-sum .btn { margin-top: 16px; }
.cart-sum__tip { font-size: 12.5px; color: var(--mut); margin-top: 12px; line-height: 1.6; }
.empty-state { text-align: center; padding: 70px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.empty-state__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--blue-l); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.empty-state__icon .icon { width: 30px; height: 30px; }
.empty-state h3 { font-size: 17px; margin-bottom: 6px; }
.empty-state p { font-size: 13.5px; color: var(--mut); margin-bottom: 20px; }

/* ---------- 结算 ---------- */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; padding: 26px 0 50px; }
.checkout-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 30px; }
.checkout-box h2 { font-size: 18px; margin-bottom: 20px; padding-left: 12px; border-left: 4px solid var(--blue); }
.order-items { display: grid; gap: 12px; margin-bottom: 18px; }
.order-item { display: flex; gap: 12px; align-items: center; font-size: 13.5px; }
.order-item img { width: 64px; height: 44px; object-fit: cover; border-radius: var(--r-s); }
.order-item__name { flex: 1; font-weight: 600; }
.order-item__qty { color: var(--mut); }
.order-item__price { font-weight: 700; }

/* ---------- 个人中心 ---------- */
.account-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; padding: 26px 0 50px; }
.account-side { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; position: sticky; top: calc(var(--hdr-h) + 16px); }
.account-side__hd { padding: 22px; background: var(--blue); color: #fff; }
.account-side__hd strong { display: block; font-size: 16.5px; }
.account-side__hd span { font-size: 13px; opacity: .85; }
.account-menu { padding: 8px; }
.account-menu a { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-radius: var(--r-s); font-size: 14px; color: var(--ink2); }
.account-menu a .icon { width: 16px; height: 16px; }
.account-menu a:hover { background: var(--blue-l2); color: var(--blue); }
.account-menu a.is-on { background: var(--blue-l); color: var(--blue); font-weight: 600; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 30px; margin-bottom: 22px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.panel__hd { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.panel__hd h2 { font-size: 18px; padding-left: 12px; border-left: 4px solid var(--blue); }
.panel__count { font-size: 13px; color: var(--mut); }
.kv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.kv-list div { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line2); font-size: 14px; }
.kv-list dt { width: 96px; color: var(--mut); flex: 0 0 auto; }
.kv-list dd { color: var(--ink); font-weight: 500; }
.quota-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.quota-card { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--blue-l2); }
.quota-card b { display: block; font-size: 24px; color: var(--blue); }
.quota-card span { font-size: 12.5px; color: var(--mut); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: var(--blue-l2); font-size: 13px; color: var(--mut); font-weight: 600; padding: 11px 14px; text-align: left; white-space: nowrap; }
.data-table td { padding: 13px 14px; border-bottom: 1px solid var(--line2); font-size: 13.5px; word-break: break-word; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .ph { color: var(--ink2); }
.status-pill { display: inline-flex; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.status-pill--ok { background: #e8f3ec; color: var(--ok); }
.status-pill--wait { background: #fdf1e3; color: #a05a12; }
.row-act { color: var(--blue); font-size: 13px; font-weight: 600; }
.row-act:hover { text-decoration: underline; }
.row-act--del { color: var(--mut2); margin-left: 12px; }
.row-act--del:hover { color: var(--price); }

/* ---------- 充值 ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.plan-card--hot { border-color: var(--blue); box-shadow: 0 8px 24px rgba(29, 78, 137, .12); }
.plan-card__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--price); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 999px; white-space: nowrap;
}
.plan-card h3 { font-size: 18px; text-align: center; }
.plan-card__price { text-align: center; margin: 14px 0 4px; }
.plan-card__price .price { font-size: 30px; }
.plan-card__price span { display: block; font-size: 12.5px; color: var(--mut); margin-top: 2px; }
.plan-card__quota { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: var(--ink2); font-weight: 600; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.plan-card__quota .icon { width: 15px; height: 15px; color: var(--blue); }
.plan-card__period { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--mut); padding: 8px 0; }
.plan-card__period .icon { width: 13px; height: 13px; }
.plan-card__desc { font-size: 13px; color: var(--mut); text-align: center; min-height: 3.2em; margin: 8px 0 12px; }
.plan-card__rights { display: grid; gap: 8px; margin-bottom: 20px; }
.plan-card__rights li { display: flex; gap: 8px; font-size: 13px; color: var(--ink2); }
.plan-card__rights .icon { width: 14px; height: 14px; color: var(--ok); flex: 0 0 auto; margin-top: 3px; }
.plan-card__btn { margin-top: auto; }
.recharge-hero { background: linear-gradient(160deg, #f2f7fd, #e7eff9); border-bottom: 1px solid var(--line); padding: 40px 0 34px; }
.recharge-hero__in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.recharge-hero__ico { width: 64px; height: 64px; border-radius: 16px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.recharge-hero__ico .icon { width: 32px; height: 32px; }
.recharge-hero h1 { font-size: 25px; }
.recharge-hero p { color: var(--mut); font-size: 14px; margin-top: 6px; max-width: 46em; }
.quota-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.quota-bar .quota-card { min-width: 150px; padding: 14px 18px; background: #fff; }
.quota-bar .quota-card b { font-size: 20px; }

/* ---------- 协议与说明页 ---------- */
.doc-page { max-width: 880px; margin: 30px auto 60px; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 40px 46px; }
.doc-card h1 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.doc-card__meta { text-align: center; font-size: 13px; color: var(--mut); margin-bottom: 30px; }
.doc-card h2 { font-size: 17.5px; margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--blue); }
.doc-card h3 { font-size: 15.5px; margin: 18px 0 8px; }
.doc-card p { color: var(--ink2); font-size: 14.5px; margin-bottom: 10px; }
.doc-card ol, .doc-card ul { padding-left: 22px; list-style: decimal; }
.doc-card ul { list-style: disc; }
.doc-card li { color: var(--ink2); font-size: 14.5px; margin-bottom: 8px; padding-left: 4px; }

/* ---------- 公告 ---------- */
.notice-list { display: grid; gap: 18px; }
.notice-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px; }
.notice-item__hd { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.notice-item__hd h2 { font-size: 17.5px; }
.notice-item__date { font-size: 13px; color: var(--mut); display: inline-flex; align-items: center; gap: 5px; margin-left: auto; }
.notice-item__date .icon { width: 13px; height: 13px; }
.notice-item p { color: var(--ink2); font-size: 14.5px; margin-bottom: 8px; }

/* ---------- 常见问题 ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq-item__q { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 16px 20px; font-size: 15px; font-weight: 600; }
.faq-item__q .icon { width: 17px; height: 17px; color: var(--blue); flex: 0 0 auto; }
.faq-item__q i { margin-left: auto; font-style: normal; color: var(--mut2); transition: transform .2s; display: inline-flex; }
.faq-item__q i .icon { width: 14px; height: 14px; color: var(--mut2); }
.faq-item.is-open .faq-item__q i { transform: rotate(180deg); }
.faq-item__a { display: none; padding: 0 20px 18px 47px; color: var(--mut); font-size: 14px; }
.faq-item.is-open .faq-item__a { display: block; }

/* ---------- 服务承诺 / 特性 ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promise-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; text-align: center; }
.promise-card__ico { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--blue-l); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.promise-card__ico .icon { width: 25px; height: 25px; }
.promise-card h3 { font-size: 16px; margin-bottom: 8px; }
.promise-card p { font-size: 13px; color: var(--mut); }

/* ---------- 企业信息条（首页） ---------- */
.biz-strip { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 40px; }
.biz-strip__item { display: flex; gap: 12px; align-items: flex-start; }
.biz-strip__item .icon { width: 19px; height: 19px; color: var(--blue); flex: 0 0 auto; margin-top: 3px; }
.biz-strip__item dt { font-size: 12.5px; color: var(--mut); }
.biz-strip__item dd { font-size: 14px; color: var(--ink); font-weight: 500; line-height: 1.5; }

/* ---------- CTA 条 ---------- */
.cta-band {
  display: flex; align-items: center; gap: 24px; background: linear-gradient(120deg, #1d4e89, #2b62a8);
  border-radius: 14px; padding: 30px 36px; color: #fff; flex-wrap: wrap;
}
.cta-band__ico { width: 56px; height: 56px; border-radius: 14px; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cta-band__ico .icon { width: 28px; height: 28px; }
.cta-band h3 { font-size: 20px; }
.cta-band p { font-size: 14px; opacity: .85; margin-top: 4px; max-width: 46em; }
.cta-band .btn { margin-left: auto; background: #fff; color: var(--blue); }
.cta-band .btn:hover { background: var(--blue-l); }

/* ---------- 提示 toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 42px; transform: translateX(-50%) translateY(16px);
  background: rgba(17, 24, 39, .92); color: #fff; font-size: 14px; padding: 11px 22px;
  border-radius: 999px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 300;
  max-width: 86vw; text-align: center;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 页脚 ---------- */
.ft { background: #10233c; color: rgba(255, 255, 255, .72); margin-top: 20px; }
.ft__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 52px 20px 40px; }
.ft__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 16.5px; font-weight: 700; margin-bottom: 14px; }
.ft__brand .logo-mark { width: 34px; height: 34px; font-size: 17px; }
.ft__intro { font-size: 13px; line-height: 1.8; margin-bottom: 12px; }
.ft__promise { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.ft__promise .icon { width: 14px; height: 14px; }
.ft__tt { font-size: 14.5px; color: #fff; margin-bottom: 16px; }
.ft__lk { display: block; font-size: 13.5px; padding: 5px 0; }
.ft__lk:hover { color: #fff; }
.ft__ct { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; margin-bottom: 10px; line-height: 1.6; }
.ft__ct .icon { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; }
.ft__ct--addr { color: rgba(255, 255, 255, .6); }
.ft__bar { border-top: 1px solid rgba(255, 255, 255, .1); }
.ft__bar-in { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 18px 20px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.ft__icp { color: rgba(255, 255, 255, .75); }
.ft__icp:hover { color: #fff; text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .p-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__in { grid-template-columns: 1fr; gap: 34px; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hdr__nav {
    display: none; position: absolute; top: var(--hdr-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column;
    align-items: stretch; padding: 10px 16px 16px; gap: 2px; box-shadow: var(--shadow2);
  }
  .hdr__nav.is-open { display: flex; }
  .hdr__link { padding: 12px 14px; }
  .hdr__burger { display: inline-flex; }
  .hdr__name { display: none; }
  .pd, .cart-layout, .checkout-layout, .account-layout { grid-template-columns: 1fr; }
  .pd__media, .cart-sum, .account-side { position: static; }
  .m-grid { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .biz-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .p-grid, .info-grid, .plans, .promise-grid, .biz-strip, .quota-cards, .kv-list { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero__stats { flex-wrap: wrap; gap: 18px; }
  .topbar__item--addr { display: none; }
  .section { padding: 40px 0; }
  .doc-card, .panel, .checkout-box, .form-card { padding: 24px 20px; }
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
  .form-card { padding: 26px 20px; }
  .filters__search { margin-left: 0; width: 100%; }
  .filters__search input { flex: 1; }
  .field--row { grid-template-columns: 1fr; }
}
