/* =========================================================
   上海每才人力资源管理有限公司 · 站点主样式
   技术栈：jQuery 3.7.1 + 原生 CSS
   风格：清新大气 / 青绿主色 / 简洁卡片
   ========================================================= */

/* ---------- 基础变量 ---------- */
:root {
  --primary: #127a73;
  --primary-dark: #0c5d58;
  --primary-light: #e6f4f2;
  --primary-soft: #f4faf9;
  --accent: #f07c3c;
  --accent-light: #fff1e8;
  --ink: #1d2b2a;
  --ink-2: #4a5b59;
  --ink-3: #7b8c8a;
  --line: #e4eceb;
  --bg: #f5f9f8;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(18, 122, 115, .06);
  --shadow: 0 8px 30px rgba(18, 122, 115, .10);
  --shadow-lg: 0 18px 46px rgba(18, 122, 115, .16);
  --container: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { border: 0; display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; outline: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), #1aa79c);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(18, 122, 115, .25);
}

.brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1.3;
}

.brand-text small {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.main-nav a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink-2);
  transition: all .18s ease;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--primary); background: var(--primary-light); }
.main-nav a.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  transition: all .18s ease;
}
.cart-link:hover { border-color: var(--primary); color: var(--primary); }
.cart-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 15px;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
  background: transparent;
}
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 50px; padding: 0 32px; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(18, 122, 115, .22); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(240, 124, 60, .26); }
.btn-accent:hover { background: #de6a29; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-disabled { background: #dfe7e6; color: #9aa9a7; cursor: not-allowed; box-shadow: none; }

/* ---------- 通用区块 ---------- */
.section { padding: 58px 0; }
.section-sm { padding: 38px 0; }
.bg-white { background: #fff; }
.bg-soft { background: linear-gradient(180deg, #f4faf9, #f8fbfa); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .5px;
}
.section-head h2 .bar { color: var(--primary); }
.section-head p {
  margin: 6px 0 0;
  color: var(--ink-3);
  font-size: 14px;
}
.section-head .more { color: var(--primary); font-size: 14px; white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; }

.title-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.title-line::before {
  content: "";
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--primary), #35b6ab);
}

/* ---------- 首页主视觉 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #0f4a4d;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 48, 50, .92) 0%, rgba(8, 62, 64, .72) 44%, rgba(10, 74, 76, .28) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 86px 0 92px;
  max-width: 760px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(4px);
}
.hero h1 {
  margin: 22px 0 14px;
  font-size: 44px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 1px;
}
.hero h1 em { font-style: normal; color: #7fe3d6; }
.hero p {
  margin: 0 0 30px;
  font-size: 16px;
  color: rgba(255, 255, 255, .82);
  max-width: 600px;
}
.hero-search {
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  max-width: 640px;
  box-shadow: var(--shadow-lg);
}
.hero-search input {
  flex: 1;
  height: 46px;
  border: 0;
  padding: 0 16px;
  font-size: 15px;
  background: transparent;
  color: #1d2b2a;
}
.hero-search input::placeholder { color: #8a9b99; }
.hero-search .btn { height: 46px; padding: 0 30px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
  margin-top: 42px;
}
.hero-stats .num {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}
.hero-stats .num span { font-size: 15px; font-weight: 500; margin-left: 4px; color: #9fe6dd; }
.hero-stats .lbl { font-size: 13px; color: rgba(255, 255, 255, .72); letter-spacing: .5px; }

/* ---------- 快捷入口 ---------- */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -46px;
  position: relative;
  z-index: 5;
}
.entry-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: all .22s ease;
  display: block;
}
.entry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfe6e3; }
.entry-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  background: var(--primary-light);
  color: var(--primary);
}
.entry-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.entry-card p { margin: 0; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.entry-card .go { margin-top: 12px; font-size: 13px; color: var(--primary); }

/* ---------- 职位卡片 ---------- */
.job-list { display: grid; gap: 14px; }
.job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: all .2s ease;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.job-card:hover { border-color: #bfe0dc; box-shadow: var(--shadow); transform: translateY(-2px); }
.job-logo {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #2aa79b, #127a73);
}
.job-main { flex: 1; min-width: 0; }
.job-title-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.job-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.job-title:hover { color: var(--primary); }
.job-salary { color: var(--accent); font-weight: 700; font-size: 17px; }
.job-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--ink-3);
}
.job-meta .dot { color: #cfdbd9; }
.job-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid #d9eeeb;
}
.tag-gray { background: #f4f6f6; color: var(--ink-2); border-color: #ecf0f0; }
.job-company {
  flex: 0 0 190px;
  text-align: right;
  font-size: 13px;
  color: var(--ink-3);
  border-left: 1px dashed var(--line);
  padding-left: 18px;
}
.job-company strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 4px; font-weight: 600; }

/* ---------- 筛选栏 ---------- */
.filter-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 7px 0;
  border-bottom: 1px dashed #eef3f2;
}
.filter-row:last-child { border-bottom: 0; }
.filter-label { flex: 0 0 62px; font-size: 13px; color: var(--ink-3); }
.chip {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .16s ease;
  background: #f6f9f8;
  user-select: none;
}
.chip:hover { color: var(--primary); background: var(--primary-light); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.search-box {
  display: flex;
  gap: 0;
  flex: 1;
  min-width: 260px;
}
.search-box input {
  flex: 1;
  height: 42px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 9px 0 0 9px;
  padding: 0 14px;
  background: #fff;
}
.search-box input:focus { border-color: var(--primary); }
.search-box .btn { border-radius: 0 9px 9px 0; height: 42px; }

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--ink-3);
}
.result-bar .count { color: var(--ink); font-weight: 600; }
.select-mini {
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 0 10px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- 分页 ---------- */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}
.pager a, .pager span {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager .disabled { color: #c3d0ce; cursor: not-allowed; }

/* ---------- 商品卡片 ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.prod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .22s ease;
  display: flex;
  flex-direction: column;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe6e3; }
.prod-thumb {
  position: relative;
  overflow: hidden;
  background: #f7faf9;
  aspect-ratio: 1 / 1;
}
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prod-card:hover .prod-thumb img { transform: scale(1.05); }
.prod-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.prod-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  min-height: 45px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-name:hover { color: var(--primary); }
.prod-sub { margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.price-row { margin-top: auto; padding-top: 12px; display: flex; align-items: baseline; gap: 8px; }
.price { color: var(--accent); font-size: 20px; font-weight: 700; }
.price i { font-style: normal; font-size: 14px; }
.price-old { color: #a9b6b4; font-size: 12px; text-decoration: line-through; }
.prod-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-3);
}
.mini-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 7px;
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-size: 12px;
  cursor: pointer;
  transition: all .16s;
}
.mini-btn:hover { background: var(--primary); color: #fff; }

/* ---------- 页面横幅 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0f4a4d;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 48, 50, .9), rgba(10, 74, 76, .34));
}
.page-hero .inner { position: relative; z-index: 2; padding: 56px 0 54px; }
.page-hero h1 { margin: 0 0 10px; font-size: 32px; font-weight: 700; letter-spacing: 1px; }
.page-hero p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .8); max-width: 620px; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .68); margin-bottom: 14px; }
.crumb a { color: rgba(255, 255, 255, .68); }
.crumb a:hover { color: #fff; }

/* 浅色背景下的面包屑（商品详情 / 职位详情 / 结算页） */
.crumb.on-light { color: #7b8c8a; }
.crumb.on-light a { color: #7b8c8a; }
.crumb.on-light a:hover { color: var(--primary); }
.crumb.on-light span { color: var(--ink-2); }

/* ---------- 布局两栏 ---------- */
.layout-side {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 26px;
  align-items: start;
}
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.side-card h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.cat-list li {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all .16s;
}
.cat-list li:hover { background: var(--primary-soft); color: var(--primary); }
.cat-list li.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.cat-list li .cnt { font-size: 12px; color: var(--ink-3); }

/* ---------- 详情页通用 ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 26px;
  align-items: start;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.card h3 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
}
.card h3::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: var(--primary);
}
.card h3 .hint { font-size: 12px; font-weight: 400; color: var(--ink-3); margin-left: auto; }

.bullet-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9dd2cc;
}

.kv-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed #edf3f2;
  font-size: 13px;
}
.kv-list li span { color: var(--ink-3); }
.kv-list li strong { font-weight: 600; color: var(--ink); }

/* ---------- 职位详情头部 ---------- */
.job-head {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.job-head-top { display: flex; align-items: flex-start; gap: 16px; }
.job-head h1 { margin: 0 0 10px; font-size: 26px; font-weight: 700; }
.job-head .salary { color: var(--accent); font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.job-head .sub { font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.job-head-actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- 商城详情 ---------- */
.pd-top { display: grid; grid-template-columns: 460px 1fr; gap: 32px; }
.pd-gallery .main-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.pd-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { margin: 0 0 12px; font-size: 24px; line-height: 1.4; font-weight: 700; }
.pd-price-box {
  background: linear-gradient(100deg, #fff6f0, #fffaf7);
  border: 1px solid #ffe2d2;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.pd-price { color: var(--accent); font-size: 30px; font-weight: 700; }
.pd-price i { font-style: normal; font-size: 17px; }
.pd-price-old { color: #a9b6b4; font-size: 13px; text-decoration: line-through; margin-left: 10px; }
.pd-price-box .tagline { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.opt-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px dashed #edf3f2; }
.opt-label { flex: 0 0 62px; font-size: 13px; color: var(--ink-3); line-height: 32px; }
.opt-values { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.opt {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
  cursor: pointer;
  background: #fff;
  transition: all .16s;
  user-select: none;
}
.opt:hover { border-color: var(--primary); color: var(--primary); }
.opt.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); font-weight: 600; }

.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; height: 36px; }
.qty-box button {
  width: 34px; height: 100%; border: 0; background: #f7faf9; cursor: pointer; font-size: 16px; color: var(--ink-2);
}
.qty-box button:hover { background: var(--primary-light); color: var(--primary); }
.qty-box input {
  width: 56px; height: 100%; border: 0; text-align: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  font-size: 14px;
}

.pd-actions { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.shop-card {
  margin-top: 18px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.shop-card strong { color: var(--ink); font-size: 14px; }
.shop-card .svc { color: var(--accent); font-weight: 600; }

.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.tabs a {
  padding: 12px 20px;
  font-size: 15px;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.tabs a.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }

.detail-prose p { margin: 0 0 14px; color: var(--ink-2); font-size: 14.5px; line-height: 1.9; }
.detail-figure img { width: 100%; border-radius: var(--radius); }
.param-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.param-table th, .param-table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.param-table th { width: 160px; background: #f7faf9; color: var(--ink-2); font-weight: 500; }

/* ---------- 购物车 ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; }
.cart-table thead th {
  font-size: 13px; color: var(--ink-3); font-weight: 500; text-align: center;
  padding: 14px 10px; background: #f7faf9; border-bottom: 1px solid var(--line);
}
.cart-table td { padding: 16px 10px; border-bottom: 1px solid #f0f5f4; text-align: center; font-size: 14px; }
.cart-prod { display: flex; gap: 14px; align-items: center; text-align: left; }
.cart-prod img { width: 74px; height: 74px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); }
.cart-prod .info strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.45; }
.cart-prod .info span { font-size: 12px; color: var(--ink-3); }
.link-del { color: var(--ink-3); font-size: 13px; cursor: pointer; }
.link-del:hover { color: #d9534f; }
.cart-empty { padding: 70px 0; text-align: center; color: var(--ink-3); }
.cart-empty .ico { font-size: 46px; margin-bottom: 10px; opacity: .5; }

.checkout-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  bottom: 16px;
}
.checkout-bar .sum { font-size: 14px; color: var(--ink-2); }
.checkout-bar .sum b { color: var(--accent); font-size: 26px; margin: 0 4px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-item { display: flex; flex-direction: column; gap: 7px; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 13px; color: var(--ink-2); }
.form-item label .req { color: var(--accent); margin-left: 2px; }
.form-control {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 14px;
  background: #fff;
  transition: border-color .16s;
  width: 100%;
}
.form-control:focus { border-color: var(--primary); }
textarea.form-control { height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9aa9a7 50%), linear-gradient(135deg, #9aa9a7 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-tip { font-size: 12px; color: #c9573f; min-height: 16px; }
.form-ok { font-size: 12px; color: var(--primary); }

.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  max-width: 980px;
  margin: 46px auto;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.auth-side {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  color: #fff;
}
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(6, 48, 50, .86), rgba(10, 74, 76, .5)); }
.auth-side .txt { position: relative; z-index: 2; padding: 60px 52px; }
.auth-side h2 { font-size: 30px; margin: 0 0 14px; font-weight: 700; line-height: 1.4; }
.auth-side p { margin: 0 0 26px; color: rgba(255,255,255,.8); font-size: 14px; max-width: 380px; }
.auth-side ul li { font-size: 14px; color: rgba(255,255,255,.86); margin-bottom: 10px; }
.auth-form { padding: 52px 44px; }
.auth-form h3 { margin: 0 0 6px; font-size: 23px; font-weight: 700; }
.auth-form .sub { font-size: 13px; color: var(--ink-3); margin-bottom: 26px; }
.auth-form .btn { width: 100%; margin-top: 8px; }
.auth-form .switch { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 18px; }
.auth-form .switch a { color: var(--primary); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0e383a;
  color: rgba(255, 255, 255, .72);
  padding: 52px 0 0;
  margin-top: 10px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 38px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 14px;
  font-weight: 600;
  letter-spacing: .5px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .brand-mark { background: #fff; color: var(--primary); box-shadow: none; }
.footer-brand strong { color: #fff; font-size: 15px; }
.footer-grid p, .footer-grid li { font-size: 13px; line-height: 1.9; margin: 0 0 4px; }
.footer-grid li a:hover { color: #fff; }
.footer-line {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .58);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  line-height: 1.9;
}
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 16px 0 22px;
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
}

/* ---------- 提示 / 弹层 ---------- */
.toast {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.94);
  background: rgba(20, 40, 40, .92);
  color: #fff;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 14px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all .22s ease;
  max-width: 80vw;
}
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(12, 32, 32, .45);
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-mask.show { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 28px 30px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.modal-box h3 { margin: 0 0 10px; font-size: 20px; }
.modal-box p { color: var(--ink-2); font-size: 14px; margin: 0 0 22px; }
.modal-box .actions { display: flex; gap: 12px; justify-content: center; }

/* ---------- 流程 / 数据条 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step .no {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.step h4 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.step p { margin: 0; font-size: 13px; color: var(--ink-3); line-height: 1.7; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-strip div { padding: 22px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat-strip div:last-child { border-right: 0; }
.stat-strip b { display: block; font-size: 26px; color: var(--primary); font-weight: 700; }
.stat-strip span { font-size: 13px; color: var(--ink-3); }

/* ---------- 图 + 文 板块 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split .pic img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); }
.split .txt h2 { font-size: 27px; margin: 0 0 14px; font-weight: 700; line-height: 1.4; }
.split .txt p { color: var(--ink-2); font-size: 14.5px; line-height: 1.9; margin-bottom: 12px; }

/* ---------- 联系方式页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }
.contact-item {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px dashed #edf3f2;
}
.contact-item .ico {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.contact-item .label { font-size: 13px; color: var(--ink-3); }
.contact-item .val { font-size: 15px; color: var(--ink); font-weight: 600; line-height: 1.6; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-layout { grid-template-columns: 1fr 300px; }
  .pd-top { grid-template-columns: 380px 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .header-inner { height: auto; flex-wrap: wrap; padding: 12px 0; gap: 12px; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; margin-left: 0; }
  .main-nav a { padding: 7px 12px; font-size: 14px; }
  .hero-inner { padding: 56px 0 66px; }
  .hero h1 { font-size: 32px; }
  .entry-grid { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
  .layout-side { grid-template-columns: 1fr; }
  .detail-layout, .contact-grid, .split, .auth-wrap { grid-template-columns: 1fr; }
  .pd-top { grid-template-columns: 1fr; }
  .job-company { display: none; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .auth-side { min-height: 240px; }
  .auth-side .txt { padding: 36px 30px; }
  .auth-form { padding: 34px 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .section { padding: 40px 0; }
  .checkout-bar { position: static; flex-wrap: wrap; justify-content: space-between; }
}

@media (max-width: 560px) {
  .hero-search { flex-direction: column; }
  .hero-search .btn { border-radius: 9px; }
  .hero h1 { font-size: 26px; }
  .prod-grid { grid-template-columns: 1fr; }
  .entry-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 21px; }
  .job-card { flex-direction: column; gap: 12px; }
  .cart-table thead { display: none; }
}

/* ---------- 商品详情：关键参数卡片 ---------- */
.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 6px 0 18px;
}
.detail-facts .fact-item {
  background: var(--soft, #f4f8f7);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-2);
}
.detail-facts .fact-item span { display: block; color: #7b8c8a; font-size: 12px; margin-bottom: 3px; }
.detail-facts .fact-item strong { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .detail-facts { grid-template-columns: 1fr; } }

/* ---------- 页脚备案号链接 ---------- */
.footer-line a { color: inherit; text-decoration: none; }
.footer-line a:hover { color: #fff; text-decoration: underline; }
.site-footer .beian-wrap { display: inline-block; }

/* ---------- 店铺资质公示弹窗 ---------- */
.shop-link { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(29,43,42,.35); }
.shop-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.lic-mask {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(17, 36, 34, .45);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lic-box {
  width: 680px; max-width: 100%; max-height: 84vh;
  background: #fff; border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 40, 38, .22);
  display: flex; flex-direction: column; overflow: hidden;
}
.lic-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px 14px; border-bottom: 1px solid #eef4f3;
}
.lic-head h3 { margin: 0; font-size: 17px; color: var(--ink); font-weight: 700; }
.lic-close {
  font-size: 22px; line-height: 1; color: #96a5a3; text-decoration: none;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.lic-close:hover { color: var(--ink); background: #f2f7f6; }
.lic-intro {
  margin: 0; padding: 14px 24px 0; font-size: 13px; color: #6b7c7a; line-height: 1.7;
}
.lic-body { padding: 12px 24px 4px; overflow-y: auto; }
.lic-row {
  display: flex; gap: 16px; padding: 9px 0;
  border-bottom: 1px dashed #edf3f2; font-size: 13px; line-height: 1.7;
}
.lic-row span { flex: 0 0 118px; color: #7b8c8a; }
.lic-row strong { flex: 1; color: var(--ink); font-weight: 500; word-break: break-all; }
.lic-row:last-child { border-bottom: 0; }
.lic-note {
  margin: 0; padding: 14px 24px 18px; font-size: 12px; color: #8a9b99;
  line-height: 1.7; background: #fbfdfd; border-top: 1px solid #f0f6f5;
}
@media (max-width: 640px) {
  .lic-box { max-height: 88vh; }
  .lic-row { flex-direction: column; gap: 2px; }
  .lic-row span { flex: none; font-weight: 600; }
}
