/* 深圳市春泽健康服务科技有限公司 - 互联网药品信息发布平台
 * 站点主样式 chunze.com
 */

:root {
  --brand: #0f766e;
  --brand-dark: #0a544e;
  --brand-deep: #07332f;
  --brand-soft: #e8f5f2;
  --brand-mid: #d3ece7;
  --accent: #d99a31;
  --bg: #f6faf9;
  --text: #22333b;
  --gray: #6b7c85;
  --gray-light: #9aa9b0;
  --border: #e2ecea;
  --danger: #c0392b;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(9, 62, 57, .07);
  --shadow-hover: 0 14px 34px rgba(9, 62, 57, .13);
}

body { background: #fff; color: var(--text); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.clearfix::after { content: ""; display: table; clear: both; }
.fl { float: left; }
.fr { float: right; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  height: 38px;
  line-height: 38px;
}
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: #fff; }
.topbar .split { margin: 0 10px; color: rgba(255, 255, 255, .25); }
.topbar .tb-right a { margin-left: 14px; }
.topbar .tb-tel { color: #fff; font-weight: bold; letter-spacing: .5px; }

/* ---------- 头部 ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
}
.hd-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 84px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo > span:last-child { display: block; }
.logo-img { width: 54px; height: 54px; object-fit: contain; display: block; flex-shrink: 0; }
.logo-main { display: block; font-size: 17.5px; font-weight: bold; color: var(--brand-dark); letter-spacing: .2px; line-height: 1.45; white-space: nowrap; }
.logo-sub { display: block; font-size: 10px; color: var(--gray-light); letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; }

.nav { display: flex; gap: 2px; margin-left: 2px; flex-shrink: 0; }
.nav a {
  position: relative;
  padding: 9px 16px;
  font-size: 15px;
  color: #35474e;
  border-radius: 8px;
  transition: .18s;
  white-space: nowrap;
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a.active { color: #fff; background: var(--brand); }

.hd-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  transition: .18s;
  border: 1px solid transparent;
  line-height: 1.4;
  white-space: nowrap;
}
.btn-ghost { color: var(--brand); border-color: var(--brand-mid); background: #fff; }
.btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand); }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-dark); }
.btn-block { display: block; width: 100%; text-align: center; padding: 12px 0; font-size: 16px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0a544e 0%, #0f766e 52%, #178f83 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .16) 0, transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(217, 154, 49, .18) 0, transparent 40%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-inner { position: relative; z-index: 2; padding: 66px 0 74px; max-width: 690px; }
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.6px;
  color: #cdebE4;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
}
.hero h1 { font-size: 42px; line-height: 1.28; font-weight: bold; letter-spacing: .5px; }
.hero h1 em { font-style: normal; color: #ffd9a0; }
.hero .lead {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .82);
  margin: 20px 0 30px;
  max-width: 560px;
}
.hero-search {
  display: flex;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  max-width: 520px;
  box-shadow: 0 14px 30px rgba(3, 38, 34, .25);
}
.hero-search input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0 16px;
  font-size: 15px;
  color: var(--text);
  background: transparent;
}
.hero-search button {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 11px 26px;
  border-radius: 8px;
  font-size: 15px;
}
.hero-search button:hover { background: var(--brand-dark); }
.hero-hot { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.hero-hot a { color: rgba(255, 255, 255, .9); margin-right: 12px; border-bottom: 1px dashed rgba(255, 255, 255, .35); padding-bottom: 1px; }
.hero-hot a:hover { color: #ffd9a0; border-color: #ffd9a0; }


/* Hero 右侧示意卡 */
.hero .wrap { position: relative; }
.hero-visual { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 316px; z-index: 2; }
.hv-stack { position: relative; }
.hv-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 24px 48px rgba(3, 38, 34, .28);
  color: var(--text);
  position: relative;
}
.hv-back {
  position: absolute;
  inset: 0;
  transform: rotate(-5deg) translate(-14px, 8px);
  background: rgba(255, 255, 255, .22);
  box-shadow: none;
  border-radius: 14px;
  padding: 0;
}
.hv-head { font-size: 11px; letter-spacing: 1.4px; color: var(--gray-light); display: flex; align-items: center; gap: 7px; }
.hv-head .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hv-name { font-size: 19px; font-weight: bold; color: var(--brand-deep); margin: 10px 0 2px; }
.hv-en { font-size: 11px; color: var(--gray-light); font-style: italic; }
.hv-line { height: 7px; border-radius: 4px; background: #eef4f3; margin-top: 9px; }
.hv-line.w80 { width: 80%; }
.hv-line.w60 { width: 58%; }
.hv-tags { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.hv-tags span { font-size: 10.5px; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 3px 9px; }
.hv-badge {
  margin: 18px 0 0 auto;
  width: fit-content;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}
@media (max-width: 1180px) { .hero-visual { display: none; } }

/* ---------- 数据条 ---------- */
.stat-bar { background: #fff; border-bottom: 1px solid var(--border); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  padding: 26px 10px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: 0; }
.stat-num { font-size: 30px; font-weight: bold; color: var(--brand); line-height: 1.2; }
.stat-num small { font-size: 15px; font-weight: normal; margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--gray); margin-top: 6px; }

/* ---------- 通用区块 ---------- */
.section { padding: 58px 0; }
.section.alt { background: var(--bg); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; gap: 20px; }
.sec-title { font-size: 26px; color: var(--brand-deep); font-weight: bold; line-height: 1.35; }
.sec-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: var(--accent);
  margin-right: 12px;
  vertical-align: -2px;
}
.sec-desc { font-size: 14px; color: var(--gray); margin-top: 8px; }
.sec-more { font-size: 14px; color: var(--brand); white-space: nowrap; padding-bottom: 4px; }
.sec-more:hover { color: var(--brand-dark); }

/* 分类卡 */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: .22s;
}
.cat-card:hover { border-color: var(--brand-mid); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cat-ico {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.cat-card h3 { font-size: 16px; color: var(--brand-dark); margin-bottom: 4px; }
.cat-card p { font-size: 12.5px; color: var(--gray); line-height: 1.6; }

/* 药品网格 */
.drug-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.drug-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .22s;
}
.drug-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--brand-mid); }
.drug-pic {
  height: 212px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}
.drug-pic img { max-height: 188px; max-width: 100%; object-fit: contain; }
.drug-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.drug-name { font-size: 15.5px; color: var(--brand-dark); font-weight: bold; line-height: 1.4; }
.drug-en { font-size: 11.5px; color: var(--gray-light); font-style: italic; margin-top: 2px; }
.drug-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag {
  display: inline-block;
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  white-space: nowrap;
}
.tag.gold { background: #fdf3e0; color: #b07818; }
.drug-spec { font-size: 12px; color: var(--gray); }

/* 两栏：科普 + 合规 */
.two-col { display: grid; grid-template-columns: 1.65fr 1fr; gap: 24px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; }
.panel-title { font-size: 18px; color: var(--brand-dark); font-weight: bold; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.panel-title a { font-size: 13px; font-weight: normal; color: var(--gray); }
.kepu-list { margin-top: 6px; }
.kepu { border-bottom: 1px dashed var(--border); }
.kepu:last-child { border-bottom: 0; }
.kepu summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #33474e;
}
.kepu summary::-webkit-details-marker { display: none; }
.kepu summary::before {
  content: "›";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 15px;
  transition: .2s;
}
.kepu[open] summary::before { transform: rotate(90deg); background: var(--brand); color: #fff; }
.kepu summary:hover { color: var(--brand); }
.kepu summary .k-date { margin-left: auto; font-size: 12px; color: var(--gray-light); flex-shrink: 0; }
.kepu-body {
  margin: 0 0 14px 28px;
  padding: 12px 16px;
  background: var(--bg);
  border-left: 3px solid var(--brand-mid);
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: #4c5f66;
}

.tips-item { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; color: #4c5f66; line-height: 1.75; }
.tips-item:last-child { border-bottom: 0; }
.tips-item b { color: var(--brand-dark); flex-shrink: 0; }
.tips-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex-shrink: 0; }

/* 服务承诺 */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.promise-item h4 { font-size: 16px; color: var(--brand-dark); margin-bottom: 8px; }
.promise-item p { font-size: 13.5px; color: var(--gray); line-height: 1.85; }
.promise-item .num { font-size: 12px; letter-spacing: 2px; color: var(--accent); font-weight: bold; }

/* ---------- 页头 ---------- */
.page-head {
  background: linear-gradient(120deg, #0a544e 0%, #0f766e 100%);
  color: #fff;
  padding: 40px 0 44px;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.page-head h1 { font-size: 30px; font-weight: bold; }
.page-head p { font-size: 14px; color: rgba(255, 255, 255, .75); margin-top: 8px; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .68); margin-bottom: 10px; }
.crumb a { color: rgba(255, 255, 255, .82); }
.crumb a:hover { color: #fff; text-decoration: underline; }
.crumb span { margin: 0 8px; opacity: .5; }

/* ---------- 列表页 ---------- */
.main-area { padding: 40px 0 60px; }
.tool-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.notice-line {
  background: #fffaf0;
  border: 1px solid #f6e2bd;
  color: #8a5d12;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.filter-row .label { font-size: 13.5px; color: var(--gray); flex-shrink: 0; }
.chip {
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: #3d5057;
  background: #fff;
  transition: .18s;
}
.chip:hover { border-color: var(--brand-mid); color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.search-line { display: flex; gap: 10px; align-items: center; }
.search-line input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: .18s;
  background: var(--bg);
}
.search-line input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(15, 118, 110, .1); }
.search-line button { border: 0; background: var(--brand); color: #fff; border-radius: 8px; padding: 10px 26px; font-size: 14px; }
.search-line button:hover { background: var(--brand-dark); }
.result-info { font-size: 13px; color: var(--gray); margin-bottom: 16px; }
.empty-box { text-align: center; padding: 60px 0; color: var(--gray); }
.empty-box .big { font-size: 30px; margin-bottom: 10px; }

/* ---------- 详情页 ---------- */
.detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  display: flex;
  gap: 34px;
  margin-bottom: 24px;
}
.detail-pic {
  width: 340px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.detail-pic img { max-height: 300px; max-width: 100%; object-fit: contain; }
.detail-info { flex: 1; min-width: 0; }
.detail-info h1 { font-size: 30px; color: var(--brand-deep); line-height: 1.35; }
.detail-info .en { font-size: 14px; color: var(--gray-light); font-style: italic; margin-top: 4px; }
.detail-tags { margin: 14px 0 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.detail-tags .tag { font-size: 12.5px; padding: 3px 11px; }
.info-row { display: flex; gap: 12px; padding: 7px 0; font-size: 14.5px; color: #3d5057; border-bottom: 1px dashed #edf3f2; }
.info-row:last-of-type { border-bottom: 0; }
.info-row b { width: 82px; flex-shrink: 0; color: var(--gray); font-weight: normal; }
.info-row span { color: var(--text); }
.detail-actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.detail-actions .btn { padding: 9px 22px; font-size: 14px; }

.detail-body { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.spec-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); }
.spec-panel h2 { font-size: 20px; color: var(--brand-deep); margin-bottom: 6px; }
.spec-panel .hint { font-size: 12.5px; color: var(--gray-light); padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.spec-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; line-height: 1.9; }
.spec-row:last-child { border-bottom: 0; }
.spec-key {
  width: 96px;
  flex-shrink: 0;
  color: var(--brand);
  font-weight: bold;
  letter-spacing: .5px;
}
.spec-val { flex: 1; color: #3d5057; }
.spec-val ol, .spec-val ul { padding-left: 18px; list-style: decimal; }
.spec-val ul { list-style: disc; }
.spec-val li { margin: 3px 0; }

.side-note { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.side-note h3 { font-size: 15px; color: var(--brand-dark); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.side-note p { font-size: 13px; color: var(--gray); line-height: 1.85; margin-bottom: 10px; }
.side-note p:last-child { margin-bottom: 0; }
.side-note strong { color: var(--brand-dark); }
.side-list li { padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: flex; justify-content: space-between; gap: 8px; color: #3d5057; }
.side-list a:hover { color: var(--brand); }
.side-list .mini { color: var(--gray-light); font-size: 12px; flex-shrink: 0; }


/* ---------- 会员限定内容 ---------- */
.drug-pic { position: relative; }
.lock-flag {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #fff;
  background: rgba(7, 51, 47, .72);
  border-radius: 999px;
  padding: 2px 9px;
  letter-spacing: .3px;
}
.lock-panel {
  margin: 18px 0 6px;
  padding: 42px 24px 34px;
  text-align: center;
  border: 1px dashed var(--brand-mid);
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfdfc 0%, #f2f8f6 100%);
}
.lock-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--brand);
  box-shadow: var(--shadow);
}
.lock-panel h3 { font-size: 18px; color: var(--brand-deep); margin-bottom: 8px; }
.lock-panel p { font-size: 13.5px; color: var(--gray); line-height: 1.9; max-width: 520px; margin: 0 auto; }
.lock-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 20px 0 12px; }
.lock-actions .btn { padding: 10px 26px; }
.lock-note { font-size: 12px; color: var(--gray-light); }

/* ---------- 文章页 ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: start; }
.article { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow); }
.article h1 { font-size: 26px; color: var(--brand-deep); margin-bottom: 8px; }
.article .meta { font-size: 12.5px; color: var(--gray-light); padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.article h2 { font-size: 18px; color: var(--brand-dark); margin: 28px 0 10px; }
.article p { font-size: 14.5px; line-height: 2; color: #3f5359; margin: 10px 0; text-align: justify; }
.article ul, .article ol { margin: 10px 0 10px 8px; padding-left: 22px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { font-size: 14.5px; line-height: 2; color: #3f5359; }
.article strong { color: var(--brand-dark); }
.article-block { background: var(--bg); border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 20px 0; font-size: 13.5px; line-height: 1.9; color: #4c5f66; }

/* 关于我们 */
.about-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.about-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.about-feat { border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; background: #fff; }
.about-feat h4 { font-size: 15px; color: var(--brand-dark); margin-bottom: 6px; }
.about-feat p { font-size: 13px; color: var(--gray); line-height: 1.75; margin: 0; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 16px; color: var(--brand-dark); padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.contact-card .c-row { font-size: 13.5px; line-height: 1.9; padding: 9px 0; border-bottom: 1px dashed var(--border); color: #3f5359; display: flex; gap: 10px; }
.contact-card .c-row:last-child { border-bottom: 0; }
.contact-card .c-row b { color: var(--gray); font-weight: normal; width: 62px; flex-shrink: 0; }

/* ---------- 登录/注册 ---------- */
.auth-wrap { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 620px; background: #fff; }
.auth-side {
  background: linear-gradient(150deg, #0a544e 0%, #0f766e 62%, #158d81 100%);
  color: #fff;
  padding: 58px 54px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-side::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 42px solid rgba(255, 255, 255, .07);
}
.auth-side h2 { font-size: 30px; line-height: 1.4; margin-bottom: 14px; }
.auth-side p { font-size: 14px; color: rgba(255, 255, 255, .78); line-height: 1.9; max-width: 380px; }
.auth-points { margin-top: 28px; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.auth-points i { font-style: normal; color: #ffd9a0; }
.auth-form-area { display: flex; align-items: center; justify-content: center; padding: 50px 24px; background: var(--bg); }
.auth-box { width: 100%; max-width: 400px; }
.auth-box.wide { max-width: 620px; }
.auth-box h3 { font-size: 24px; color: var(--brand-deep); }
.auth-box .sub { font-size: 13px; color: var(--gray); margin: 6px 0 26px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13.5px; color: #41555c; margin-bottom: 6px; }
.form-group label .hint { color: var(--gray-light); font-weight: normal; font-size: 12px; }
.form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  outline: none;
  transition: .18s;
}
.form-group input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-tip { font-size: 12.5px; color: var(--gray); margin-top: 14px; }
.form-tip a, .link { color: var(--brand); }
.link:hover { text-decoration: underline; }
.check-line { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--gray); margin: 4px 0 18px; line-height: 1.7; }
.check-line input { margin-top: 3px; }
.form-msg { display: none; border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
.form-msg.err { display: block; background: #fdecea; color: #a53125; border: 1px solid #f5c6c0; }
.form-msg.ok { display: block; background: #e8f5f2; color: #0a6b5f; border: 1px solid #bfe3da; }

/* ---------- 会员中心 ---------- */
.member-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; padding: 34px 0 60px; }
.member-side { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.member-user { background: linear-gradient(140deg, #0f766e, #0a544e); color: #fff; padding: 24px 20px; }
.member-user .av { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; margin-bottom: 10px; }
.member-user .nm { font-size: 15px; font-weight: bold; }
.member-user .rl { font-size: 12px; color: rgba(255, 255, 255, .7); }
.member-menu a { display: block; padding: 12px 20px; font-size: 14px; color: #3d5057; border-left: 3px solid transparent; }
.member-menu a:hover { background: var(--bg); color: var(--brand); }
.member-menu a.on { border-left-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-weight: bold; }
.member-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); }
.member-panel h2 { font-size: 20px; color: var(--brand-deep); margin-bottom: 4px; }
.member-panel .lead { font-size: 13px; color: var(--gray); padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.member-tab { display: none; }
.member-tab.on { display: block; }
.m-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.m-card { border: 1px solid var(--border); border-radius: 10px; padding: 18px; background: var(--bg); }
.m-card .k { font-size: 12.5px; color: var(--gray); }
.m-card .v { font-size: 24px; font-weight: bold; color: var(--brand); margin-top: 4px; }
.m-card .v small { font-size: 13px; font-weight: normal; }
.info-table { width: 100%; font-size: 14px; }
.info-table th, .info-table td { padding: 12px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.info-table th { width: 110px; color: var(--gray); font-weight: normal; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--gray); padding: 9px 0; border-bottom: 1px dashed var(--border); }
.kv dd { padding: 9px 0; border-bottom: 1px dashed var(--border); color: var(--text); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, .7); margin-top: 10px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding: 48px 0 40px; }
.footer-main h4 { font-size: 15px; color: #fff; margin-bottom: 16px; }
.footer-main h4::after { content: ""; display: block; width: 26px; height: 2px; background: var(--accent); margin-top: 8px; }
.footer-main p, .footer-main a { font-size: 13px; line-height: 2; color: rgba(255, 255, 255, .66); }
.footer-main a:hover { color: #fff; }
.footer-brand .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .f-logo .logo-chip {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}
.footer-brand .f-logo .logo-chip img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand .f-name { display: block; font-size: 15px; color: #fff; font-weight: bold; line-height: 1.5; }
.footer-brand .f-sub { display: block; font-size: 10px; letter-spacing: 1.6px; color: rgba(255, 255, 255, .5); }
.footer-brand p { margin-top: 10px; line-height: 1.95; }
.footer-bottom .split { margin: 0 10px; opacity: .45; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; font-size: 12.5px; color: rgba(255, 255, 255, .5); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255, 255, 255, .55); }
.footer-bottom a:hover { color: #fff; }

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 34px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 80;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav { gap: 0; }
  .nav a { padding: 9px 11px; font-size: 14px; }
  .drug-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-body, .article-layout, .about-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .topbar .tb-left span.hide-m { display: none; }
  .hd-inner { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .logo { order: 1; }
  .hd-actions { margin-left: auto; order: 2; }
  .nav { order: 3; width: 100%; overflow-x: auto; margin-top: 4px; }
}
@media (max-width: 860px) {
  .hero h1 { font-size: 30px; }
  .hero-inner { padding: 44px 0 52px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .drug-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { padding: 38px 28px; }
  .auth-side h2 { font-size: 24px; }
  .detail-card { flex-direction: column; gap: 22px; padding: 20px; }
  .detail-pic { width: 100%; min-height: 220px; }
  .member-layout { grid-template-columns: 1fr; }
  .m-card-grid { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; }
  .article { padding: 24px 20px; }
}
@media (max-width: 560px) {
  .logo-img { width: 46px; height: 46px; }
  .logo-main { font-size: 15.5px; }
  .logo-sub { font-size: 9px; }
  .hd-actions .btn-solid { display: none; }
  .drug-grid, .cat-grid, .about-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .stat-num { font-size: 24px; }
}
