/* ============================================================
   湖南千金大药房连锁有限公司 · qjdyf.cn · 视觉体系
   严格对齐 calture.com（Sailor 模板 + 站长自定义强调色）：
   基底 #556270 蓝灰 / 正文 Open Sans #444 / 标题 Raleway #707070
   小标 Poppins uppercase + 蓝下划线 / 按钮蓝→绿渐变 (kec-a)
   hover 纯蓝 #0000FF (kec-b) / 页脚 #515D6A+#4A5562 / banner 黄 #FFDB14
   ============================================================ */
:root {
  --ink: #444444;
  --ink-soft: #4A5563;
  --muted: #707070;
  --faint: #8795A4;
  --bg: #F8F9FA;
  --panel: #FFFFFF;
  --panel-warm: #EDEFF1;
  --line: #E4E7EA;
  --line-strong: #C7CCD2;
  --dark: #3F4953;
  --dark-2: #454F59;
  --accent: #556270;
  --accent-deep: #454F5B;
  --accent-soft: #E9ECEF;
  --grad: linear-gradient(90deg, #0000FF 0%, #33FF00 100%);
  --blue: #0000FF;
  --green: #33FF00;
  --amber: #FCCB0F;
  --amber-soft: #FFF9E3;
  --red: #E9797F;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 1px 8px rgba(63, 73, 83, 0.06);
  --shadow-lift: 0 10px 26px rgba(63, 73, 83, 0.12);
  --serif: "Raleway", "Poppins", "Open Sans", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --sans: "Open Sans", "Poppins", "Raleway", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: #444444;
  background: #FFFFFF;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.modal-lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-family: var(--serif); color: #707070; }
p { margin: 0 0 10px; font-size: 14px; color: #666666; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* ===== 主头部（白底） ===== */
.site-header { background: #FFFFFF; position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(63,73,83,0.02); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--accent); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.header-inner .brand img.brand-mark { width: auto; height: 44px; max-width: 220px; object-fit: contain; }
.brand-text strong { display: block; font-family: var(--serif); font-size: 18.5px; letter-spacing: 0.5px; }
.brand-text em { display: block; font-style: normal; font-size: 11.5px; color: var(--faint); letter-spacing: 1px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  padding: 8px 16px; font-family: "Poppins", "Raleway", "Microsoft YaHei", sans-serif;
  font-size: 15px; font-weight: 600; color: var(--accent); border-radius: var(--radius-sm);
  transition: color .15s;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a.is-active { color: var(--blue); font-weight: 700; }
.auth-actions { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-block; border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 9px 22px; font-size: 14px; font-weight: 600; transition: all .15s; line-height: 1.4;
}
.btn-ghost { background: #FFFFFF; border-color: var(--line-strong); color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-amber { background: var(--grad); color: #fff; }
.btn-amber:hover { background: var(--blue); }
.btn-teal { background: #FFFFFF; border-color: var(--accent); color: var(--accent); }
.btn-teal:hover { background: var(--grad); border-color: transparent; color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-line { background: var(--panel); border-color: var(--line-strong); color: var(--ink-soft); }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-danger { background: #FDF3F3; color: var(--red); border-color: #F3D9DB; }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 5px 12px; font-size: 12.5px; }
.account-name { color: var(--ink-soft); font-size: 13px; white-space: nowrap; }

/* ===== 首页 HERO 图文轮播 ===== */
.hero-carousel { position: relative; overflow: hidden; background: var(--dark); }
.hc-track { display: flex; transition: transform .55s ease; }
.hc-slide { position: relative; flex: none; width: 100%; min-height: 540px; display: flex; align-items: center; }
.hc-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-shade { position: absolute; inset: 0; background: rgba(30, 35, 40, 0.6); }
.hc-content { position: relative; z-index: 1; padding: 96px 0 100px; color: #fff; max-width: 860px; margin: 0 auto; text-align: center; }
.hc-content h2 { font-family: var(--serif); font-size: 52px; line-height: 1.24; letter-spacing: 3px; color: #fff; font-weight: 800; }
.hc-content h2 em { font-style: normal; color: #FFDB14; }
.hc-lead { color: rgba(255,255,255,0.88); font-size: 17px; line-height: 1.8; margin: 20px auto 0; max-width: 560px; letter-spacing: 1px; }
.hc-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.hc-actions .btn-line { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.55); color: #fff; backdrop-filter: blur(2px); }
.hc-actions .btn-line:hover { background: rgba(255,255,255,0.92); border-color: #fff; color: #3F4953; }
.hc-dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.hc-dot { width: 12px; height: 12px; border-radius: 50px; border: none; background: rgba(255,255,255,0.6); opacity: 0.9; transition: all .2s; padding: 0; }
.hc-dot.active { background: var(--grad); opacity: 1; }
.hc-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.14); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.hc-arrow:hover { background: #fff; border-color: #fff; color: #3F4953; }
.hc-prev { left: 22px; }
.hc-next { right: 22px; }

/* ===== 通用区块 ===== */
.section { padding: 60px 0; }
.section-tint { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
/* 大字标题 + 渐变短线（大胆编辑风） */
.section-head h2 { position: relative; font-size: 36px; color: #556270; font-weight: 800; letter-spacing: 1px; padding-bottom: 14px; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 2px; background: var(--grad); }
.more-link { color: var(--accent); font-size: 15px; font-weight: 700; white-space: nowrap; padding-bottom: 14px; }
.more-link:hover { color: var(--blue); }

/* 分类卡：大编号编辑风（hover 整卡渐变） */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 24px; position: relative; overflow: hidden; transition: all .2s; cursor: pointer;
  display: flex; flex-direction: column; min-height: 172px;
}
.cat-card .cat-no {
  font-family: "Poppins", "Raleway", Arial, sans-serif; font-size: 46px; font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: all .2s;
}
.cat-card h3 { font-size: 21px; margin: 18px 0 auto; letter-spacing: 1px; }
.cat-card .cat-count { font-size: 14px; color: var(--accent); font-weight: 700; margin-top: 14px; }
.cat-card:hover { background: var(--grad); border-color: transparent; box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.cat-card:hover h3, .cat-card:hover .cat-count { color: #fff; }
.cat-card:hover .cat-no { background: none; color: rgba(255,255,255,0.4); -webkit-text-fill-color: rgba(255,255,255,0.4); }

/* 信息流（杂志式：特写大卡 + 编号图卡网格） */
.dir-list { display: flex; flex-direction: column; }
.dir-feat { display: grid; grid-template-columns: 1.12fr 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .18s; position: relative; }
.dir-feat::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .18s; z-index: 2; }
.dir-feat:hover { box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.dir-feat:hover::after { opacity: 1; }
.df-cover { position: relative; display: block; min-height: 330px; overflow: hidden; background: var(--panel-warm); }
.df-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.dir-feat:hover .df-cover img { transform: scale(1.04); }
.df-no, .dc-no { position: absolute; right: 14px; bottom: 10px; font-family: "Poppins", "Raleway", Arial, sans-serif; font-size: 32px; font-weight: 800; color: rgba(255,255,255,0.92); text-shadow: 0 2px 12px rgba(0,0,0,0.4); letter-spacing: 1px; line-height: 1; z-index: 1; }
.dc-no { font-size: 24px; right: 12px; bottom: 8px; }
.df-rec, .dc-rec { position: absolute; left: 12px; top: 12px; background: var(--amber); color: #5A4708; font-size: 11.5px; font-weight: 700; padding: 3px 11px; border-radius: 3px; z-index: 1; }
.dc-rec { left: 10px; top: 10px; }
.df-body { padding: 30px 32px 26px; display: flex; flex-direction: column; }
.df-body h3 { font-size: 23px; line-height: 1.4; margin: 12px 0 8px; }
.df-body h3 a:hover { color: var(--accent); }
.df-summary { font-size: 14px; color: #666666; line-height: 1.8; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.df-meta { font-size: 12.5px; color: var(--muted); }
.df-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.df-phone { font-size: 15px; font-weight: 700; color: var(--accent-deep); }
.dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
.dir-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .18s; }
.dir-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); border-color: var(--line-strong); }
.dc-cover { position: relative; display: block; height: 188px; overflow: hidden; background: var(--panel-warm); }
.dc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.dir-card:hover .dc-cover img { transform: scale(1.05); }
.dc-cat { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,0.93); border: 1px solid var(--line); color: var(--accent); font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 3px; }
.dc-body { padding: 15px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.dc-body h3 { font-size: 15.5px; line-height: 1.5; }
.dc-body h3 a:hover { color: var(--accent); }
.dc-sum { font-size: 13px; color: #666666; margin: 6px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dc-foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.dc-pub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-phone { white-space: nowrap; color: var(--accent-deep); font-weight: 600; }
.detail-img { width: 100%; max-height: 340px; object-fit: cover; }
.cart-prod { display: flex; gap: 12px; align-items: center; }
.cart-prod img { width: 54px; height: 54px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); flex: none; }
.dir-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.tag-chip { font-size: 11.5px; color: var(--muted); background: var(--panel-warm); border: 1px solid var(--line); padding: 1px 8px; border-radius: 3px; }
.tag-cat { color: var(--accent); background: var(--accent-soft); border-color: transparent; font-weight: 600; }
.tag-rec { color: var(--amber); background: var(--amber-soft); border-color: transparent; font-weight: 600; }
.login-hint { color: var(--amber); font-size: 12px; }
.empty-state { background: var(--panel); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }
.empty-state h3 { font-size: 16px; margin-bottom: 6px; }

/* 信息列表分页 */
.dir-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 22px; }
.page-btn {
  min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid var(--line-strong);
  background: var(--panel); color: var(--ink-soft); border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600; text-align: center; line-height: 32px; transition: all .15s;
}
.page-btn:hover:not(:disabled):not(.is-current) { border-color: var(--accent); color: var(--accent); }
.page-btn.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn:disabled { opacity: .45; cursor: not-allowed; }
.page-ellipsis { color: var(--faint); padding: 0 2px; }

/* 筛选条 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-bar button {
  padding: 7px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--panel); font-size: 13.5px; color: var(--ink-soft); transition: all .15s;
}
.filter-bar button:hover { border-color: var(--accent); color: var(--accent); }
.filter-bar button.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== 发布收费方案 v2：定价卡（calture 渐变顶条）+ 收费规则 ===== */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 22px 22px; text-align: left; position: relative; overflow: hidden; transition: all .18s; display: flex; flex-direction: column; }
.plan-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .18s; }
.plan-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.plan-card:hover::before { opacity: 1; }
.plan-card.hot { border-color: var(--accent); box-shadow: var(--shadow-lift); }
.plan-card.hot::before { opacity: 1; }
.plan-card.free { background: var(--amber-soft); border-color: #F0E2B4; }
.plan-card .plan-badge { position: absolute; top: 12px; right: 12px; background: var(--accent-soft); color: var(--accent-deep); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; letter-spacing: 1px; }
.plan-card.hot .plan-badge { background: var(--grad); color: #fff; }
.plan-card.free .plan-badge { background: var(--amber); color: #5A4708; }
.plan-card h3 { font-family: var(--serif); font-size: 18.5px; padding-right: 64px; }
.plan-price { color: var(--red); font-size: 30px; font-weight: 800; margin: 10px 0 2px; }
.plan-price em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 400; }
.plan-card.free .plan-price { color: var(--accent-deep); }
.plan-note { font-size: 12.5px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.plan-card ul { margin: 12px 0 18px; flex: 1; }
.plan-card li { font-size: 13px; color: var(--ink-soft); padding: 4.5px 0 4.5px 20px; position: relative; line-height: 1.55; }
.plan-card li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 9px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.plan-card .btn { text-align: center; margin-top: auto; }
.btn:disabled, .btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.plan-rules { margin-top: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px 16px; }
.plan-rules h3 { font-size: 18px; margin-bottom: 12px; }
.plan-rules ol { margin: 0; counter-reset: prule; }
.plan-rules li { counter-increment: prule; position: relative; padding: 9px 0 9px 42px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
.plan-rules li + li { border-top: 1px dashed var(--line); }
.plan-rules li::before { content: counter(prule, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-family: "Poppins", "Raleway", Arial, sans-serif; font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: 0.5px; }
.plan-rules li strong { color: var(--ink); font-weight: 700; margin-right: 12px; }

/* 商城商品卡 */
.goods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.goods-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .18s; display: flex; flex-direction: column; }
.goods-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.goods-cover { height: 210px; display: block; position: relative; background: var(--panel-warm); overflow: hidden; }
.goods-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.goods-card:hover .goods-cover img { transform: scale(1.04); }
.goods-cover .goods-tag { position: absolute; left: 10px; top: 10px; font-size: 11px; background: rgba(255,255,255,0.92); border: 1px solid var(--line); color: var(--ink-soft); padding: 1px 8px; border-radius: 3px; }
.goods-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.goods-body h3 { font-size: 15.5px; line-height: 1.5; min-height: 46px; }
.goods-body h3 a:hover { color: var(--accent); }
.goods-price { color: var(--red); font-size: 21px; font-weight: 800; margin: 4px 0 12px; }
.goods-price em { font-style: normal; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.goods-actions { margin-top: auto; display: flex; gap: 8px; }
.goods-actions .btn { flex: 1; text-align: center; padding: 7px 8px; font-size: 13px; }

/* 商城顶部横幅 */
.mall-tools { display: flex; gap: 12px; align-items: center; margin: 22px 0; flex-wrap: wrap; }
.mall-search { display: flex; flex: 1; min-width: 240px; max-width: 420px; }
.mall-search input { flex: 1; border: 1px solid var(--line-strong); border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); padding: 9px 14px; background: var(--panel); font-size: 14px; outline: none; }
.mall-search input:focus { border-color: var(--accent); }
.mall-search button { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.mall-sort { display: flex; gap: 8px; }
.mall-sort button { padding: 8px 16px; border: 1px solid var(--line-strong); background: var(--panel); border-radius: var(--radius-sm); font-size: 13px; color: var(--ink-soft); }
.mall-sort button.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-deep); font-weight: 700; }
.result-count { font-size: 13px; color: var(--muted); }

/* ===== 详情页 ===== */
.page-title-bar { background: var(--panel); border-bottom: 1px solid var(--line); padding: 26px 0; }
.page-title-bar h1 { font-family: var(--serif); font-size: 32px; letter-spacing: 0.5px; }
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 26px; align-items: start; padding: 30px 0 50px; }
.detail-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.detail-panel h2 { font-family: var(--serif); font-size: 19px; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--accent); }
.detail-panel p { font-size: 14.5px; color: var(--ink-soft); }
#infoDetailMain .detail-panel + .detail-panel { margin-top: 16px; }
#infoDetailMain .notice-strip { margin-top: 16px; margin-bottom: 0; }
.detail-ul, .detail-ol { margin: 6px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.detail-ul li, .detail-ol li { font-size: 14.5px; color: var(--ink-soft); line-height: 1.75; }
.detail-ol { list-style: decimal; }
.side-panel { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-card h4 { font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.side-card h4::before { content: ""; width: 14px; height: 2px; background: var(--amber); }
.side-rows { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.side-rows > div { display: flex; justify-content: space-between; gap: 12px; }
.side-rows span { color: var(--muted); white-space: nowrap; }
.side-rows strong { font-weight: 600; text-align: right; word-break: break-all; }
.check-list li { font-size: 13px; color: var(--ink-soft); padding: 6px 0 6px 20px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* 商品详情 */
.prod-layout { display: grid; grid-template-columns: 400px 1fr; gap: 30px; padding: 32px 0 50px; align-items: start; }
.prod-visual { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 400px; }
.prod-visual img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; }
.prod-info { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.prod-info h1 { font-size: 22px; font-family: var(--serif); }
.prod-price-line { display: flex; align-items: baseline; gap: 12px; margin: 14px 0; }
.prod-price-line .p { color: var(--red); font-size: 32px; font-weight: 800; }
.prod-price-line .s { font-size: 13px; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; }
.spec-table td { border: 1px solid var(--line); padding: 8px 14px; font-size: 13.5px; }
.spec-table td:first-child { background: var(--panel-warm); color: var(--muted); width: 96px; }
.prod-actions { display: flex; gap: 12px; margin-top: 18px; }
.comment-block { margin-top: 26px; }
.comment-item { border-bottom: 1px dashed var(--line-strong); padding: 14px 0; }
.comment-item:last-child { border-bottom: none; }
.comment-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.comment-user { font-weight: 700; color: var(--ink-soft); }
.comment-stars { color: var(--amber); letter-spacing: 2px; }
.comment-date { margin-left: auto; font-size: 12px; color: var(--faint); }
.comment-text { font-size: 14px; color: var(--ink-soft); margin: 6px 0 0; }

/* ===== 表单 ===== */
.form-page { max-width: 460px; margin: 46px auto 60px; }
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; }
.form-card h1 { font-family: var(--serif); font-size: 23px; text-align: center; margin-bottom: 6px; }
.form-card .form-sub { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 10px 13px; font-size: 14px; background: #fff; outline: none; transition: border-color .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 96px; }
.field-error { font-size: 12.5px; color: var(--red); margin-top: 5px; display: none; }
.form-field.has-error input, .form-field.has-error textarea, .form-field.has-error select { border-color: var(--red); background: #FEF8F7; }
.form-field.has-error .field-error { display: block; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row input { flex: 1; }
.captcha-canvas { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; flex: none; }
.agree-line { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 14px 0 18px; }
.agree-line a { color: var(--accent); }
.agree-line a:hover { text-decoration: underline; }
.form-switch { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }
.form-switch a { color: var(--accent); font-weight: 600; }

/* ===== 购物车 ===== */
.cart-table { width: 100%; border-collapse: collapse; background: var(--panel); }
.cart-table th { background: var(--panel-warm); font-size: 13px; color: var(--muted); font-weight: 600; padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 14px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.qty-ctl { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.qty-ctl button { width: 30px; height: 30px; background: var(--panel-warm); border: none; font-size: 15px; }
.qty-ctl span { width: 42px; text-align: center; font-size: 14px; }
.cart-summary { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.cart-total { font-size: 15px; }
.cart-total strong { color: var(--red); font-size: 26px; font-weight: 800; }

/* ===== 个人中心 / 后台 ===== */
.dash-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 30px 0 56px; align-items: start; }
.dash-aside { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 96px; }
.dash-user { padding: 20px; border-bottom: 1px solid var(--line); background: var(--panel-warm); }
.dash-user strong { display: block; font-size: 15px; }
.dash-user span { font-size: 12.5px; color: var(--muted); }
.dash-nav button { display: block; width: 100%; text-align: left; padding: 12px 20px; background: none; border: none; border-left: 3px solid transparent; font-size: 14px; color: var(--ink-soft); }
.dash-nav button:hover { background: var(--panel-warm); }
.dash-nav button.active { border-left-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; }
.dash-main { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; min-height: 420px; }
.dash-main h2 { font-family: var(--serif); font-size: 20px; margin-bottom: 18px; padding-left: 12px; border-left: 4px solid var(--accent); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-box { background: var(--panel-warm); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.stat-box strong { display: block; font-size: 24px; color: var(--accent-deep); }
.stat-box span { font-size: 12.5px; color: var(--muted); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 2px solid var(--line-strong); white-space: nowrap; }
.data-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: top; }
.data-table .t-title { max-width: 300px; }
.badge { display: inline-block; font-size: 12px; padding: 1px 9px; border-radius: 3px; font-weight: 600; }
.badge-ok { background: var(--accent-soft); color: var(--accent-deep); }
.badge-wait { background: var(--amber-soft); color: #8A5A13; }
.badge-off { background: #EDEEF0; color: var(--muted); }
.badge-pay { background: #FDF2EF; color: var(--red); }
.notice-strip { background: var(--amber-soft); border: 1px solid #F0E0AC; color: #7A5312; border-radius: var(--radius-sm); padding: 10px 16px; font-size: 13.5px; margin-bottom: 18px; }
.record-row { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; align-items: center; }
.record-row strong { font-size: 14px; }
.record-row .muted { color: var(--muted); }

/* ===== 协议页 ===== */
.doc-layout { padding: 40px 0 60px; }
.doc-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 48px; }
.doc-card h1 { font-family: var(--serif); font-size: 26px; text-align: center; letter-spacing: 2px; }
.doc-card h3 { font-size: 15.5px; margin: 22px 0 8px; color: var(--accent-deep); }
.doc-card p { font-size: 14.5px; color: var(--ink-soft); text-align: justify; }

/* ===== 页脚 ===== */
.site-footer { background: linear-gradient(180deg, #515D6A 0, #515D6A calc(100% - 62px), #4A5562 calc(100% - 62px), #4A5562 100%); color: rgba(255,255,255,0.75); margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding: 56px 0 40px; align-items: start; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 6px 14px; background: #fff; border-radius: 8px; }
.footer-brand .brand-text strong { color: #556270; }
.footer-brand .brand-text em { color: var(--muted); }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-brand img.brand-mark { width: auto; height: 32px; max-width: 170px; object-fit: contain; }
.footer-tel { display: inline-block; font-family: "Poppins", "Raleway", Arial, sans-serif; font-size: 30px; font-weight: 800; color: #FFFFFF; letter-spacing: 1px; margin: 22px 0 10px; }
.footer-tel:hover { color: var(--green); }
.footer-grid p { font-size: 13.5px; line-height: 1.8; color: rgba(255,255,255,0.72); margin: 0; max-width: 440px; }
.footer-col h4 { color: #FFFFFF; font-size: 15px; margin-bottom: 14px; font-weight: 600; padding-bottom: 12px; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.65); padding: 4px 0; transition: all .2s; }
.footer-col a:hover { color: var(--green); transform: translateX(3px); }
.copyright { border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 0; font-size: 12.5px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.copyright a { color: rgba(255,255,255,0.6); }
.copyright a:hover { color: #fff; }
.tech-support { color: rgba(255,255,255,0.6); font-size: 12px; }

/* ===== 商家入驻 ===== */
.ma-banner { background: linear-gradient(135deg, #3F4953 0%, #556270 100%); color: #fff; padding: 44px 0; }
.ma-banner h1 { font-family: var(--serif); font-size: 32px; letter-spacing: 1px; }
.ma-layout { padding-top: 30px; }
.ma-intro-hero { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 22px; }
.ma-intro-hero h2 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.ma-intro-hero p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.ma-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.ma-benefit { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.ma-benefit strong { display: block; font-size: 15px; color: var(--accent-deep); margin-bottom: 6px; padding-bottom: 8px; border-bottom: 2px solid var(--amber-soft); }
.ma-benefit p { font-size: 12.5px; color: var(--muted); margin: 0; }
.ma-steps { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 22px; }
.ma-steps h3 { font-size: 16px; margin-bottom: 16px; color: var(--ink); }
.ma-steps-grid { display: flex; align-items: center; gap: 8px; }
.ma-step { flex: 1; text-align: center; }
.ma-step h4 { font-size: 14px; margin: 8px 0 4px; }
.ma-step p { font-size: 12px; color: var(--muted); margin: 0; }
.m-step-num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; align-items: center; justify-content: center; }
.ma-step-arrow { color: var(--line-strong); font-size: 18px; flex: none; }
.ma-conditions { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 26px; }
.ma-conditions h3 { font-size: 16px; margin-bottom: 10px; color: var(--ink); }
.ma-form-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; }
.m-form-title { font-family: var(--serif); font-size: 20px; margin-bottom: 6px; padding-left: 12px; border-left: 4px solid var(--amber); }
.m-form-desc { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.required { color: var(--red); }
.m-form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.m-step-no { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--panel-warm); border: 1px solid var(--line-strong); color: var(--muted); font-size: 13px; font-weight: 700; align-items: center; justify-content: center; }
#merchantStepBar { display: flex; gap: 8px; margin-bottom: 24px; padding: 0; }
#merchantStepBar li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 6px 14px; border-radius: 999px; background: var(--panel-warm); border: 1px solid var(--line); }
#merchantStepBar li.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-deep); font-weight: 700; }
#merchantStepBar li.active .m-step-no { background: var(--accent); border-color: var(--accent); color: #fff; }
#merchantStepBar li.done { color: var(--accent-deep); }
#merchantStepBar li.done .m-step-no { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.ma-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ma-cat-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; cursor: pointer; transition: all .15s; background: #fff; }
.ma-cat-check:hover { border-color: var(--accent); }
.ma-cat-check input { accent-color: var(--accent); }
.form-field.has-error .ma-categories { border: 1px solid var(--red); border-radius: var(--radius-sm); padding: 6px; background: #FEF8F7; }
.ma-confirm-grid { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.ma-confirm-section { background: var(--panel-warm); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; }
.ma-confirm-section h4 { font-size: 14px; color: var(--accent-deep); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-strong); }
.ma-confirm-row { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 13.5px; }
.ma-confirm-row span { color: var(--muted); white-space: nowrap; }
.ma-confirm-row strong { font-weight: 600; text-align: right; word-break: break-all; }
.ma-status-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 38px; max-width: 680px; margin: 0 auto; text-align: center; }
.ma-status-card h2 { font-family: var(--serif); font-size: 22px; margin-bottom: 8px; }
.ma-status-card > p { color: var(--ink-soft); font-size: 14px; }
.ma-status-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; margin: 0 auto 16px; }
.ma-approved .ma-status-icon { background: var(--accent-soft); color: var(--accent-deep); }
.ma-pending .ma-status-icon { background: var(--amber-soft); color: var(--amber); }
.ma-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; text-align: left; background: var(--panel-warm); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin-top: 18px; }
.ma-info-grid > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.ma-info-grid > div:nth-last-child(-n+2) { border-bottom: none; }
.ma-info-grid span { color: var(--muted); white-space: nowrap; }
.ma-info-grid strong { font-weight: 600; text-align: right; word-break: break-all; }
.ma-mall-cta { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px dashed var(--amber); border-radius: var(--radius); padding: 14px 20px; margin-bottom: 20px; transition: all .15s; }
.ma-mall-cta:hover { background: var(--amber-soft); border-style: solid; }
.ma-mall-cta-icon { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--amber); color: #fff; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ma-mall-cta-text { font-size: 13.5px; color: var(--muted); flex: 1; }
.ma-mall-cta-text strong { color: var(--amber); font-size: 14.5px; margin-right: 4px; }
.ma-mall-cta-arrow { color: var(--amber); font-size: 13.5px; font-weight: 700; white-space: nowrap; }

/* ===== 弹窗 ===== */
.modal { position: fixed; inset: 0; background: rgba(31, 36, 42, 0.55); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.modal.show { display: flex; }
.modal-card { background: var(--panel); border-radius: var(--radius); width: min(440px, 100%); max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lift); }
.modal-card.wide { width: min(620px, 100%); }
.modal-topbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); background: var(--panel-warm); }
.modal-topbar span { font-weight: 700; font-size: 14.5px; }
.modal-close-btn { background: none; border: none; font-size: 22px; line-height: 1; color: var(--muted); }
.modal-close-btn:hover { color: var(--ink); }
.modal-body { padding: 24px 26px; }
.modal-body h2 { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; }
.modal-actions { display: flex; gap: 12px; margin-top: 20px; justify-content: center; }
.pay-box { background: var(--panel-warm); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin: 14px 0; font-size: 13.5px; }
.pay-box > div { display: flex; justify-content: space-between; padding: 4px 0; }
.pay-code { text-align: center; margin: 8px 0; }
.pay-code img { width: 210px; height: 210px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 auto; background: #fff; padding: 8px; }
.pay-note { text-align: center; font-size: 12.5px; color: var(--muted); }
.modal-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--amber-soft); color: var(--amber); font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }

/* ===== 响应式安全 ===== */
@media (max-width: 980px) {
  .detail-layout, .prod-layout, .dash-layout { grid-template-columns: 1fr; }
  .cat-grid, .goods-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .dir-feat { grid-template-columns: 1fr; }
  .df-cover { min-height: 240px; }
  .df-body { padding: 22px 22px 20px; }
  .df-body h3 { font-size: 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .ma-benefits { grid-template-columns: repeat(2, 1fr); }
  .ma-categories { grid-template-columns: repeat(2, 1fr); }
  .ma-info-grid { grid-template-columns: 1fr; }
  .ma-steps-grid { flex-wrap: wrap; justify-content: center; }
  .ma-step-arrow { display: none; }
  .side-panel { position: static; }
  .dash-aside { position: static; }
  .site-nav { display: none; }
  .section-head h2 { font-size: 26px; }
  .hc-content h2 { font-size: 34px; }
  .hc-content { padding: 56px 0 66px; }
  .hc-arrow { display: none; }
  .footer-tel { font-size: 24px; }
}
@media (max-width: 560px) {
  .cat-grid, .goods-grid, .plan-grid, .stat-row, .footer-grid { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr; }
  .ma-benefits, .ma-categories { grid-template-columns: 1fr; }
  .hc-content h2 { font-size: 27px; }
  .hc-slide { min-height: 360px; }
  .section-head h2 { font-size: 22px; }
  .footer-tel { font-size: 22px; }
  .ma-banner h1 { font-size: 26px; }
  .ma-info-grid { grid-template-columns: 1fr; }
  .ma-step { flex-basis: 45%; }
  .shell { width: calc(100% - 28px); }
}

/* ===== 待开通支付（支付弹窗） ===== */
.pay-pending { margin: 14px auto 4px; padding: 20px 16px; border: 1px dashed #D9C29A; border-radius: var(--radius); background: linear-gradient(180deg, #FDF9F0, #FAF3E3); max-width: 320px; }
.pay-pending-badge { display: inline-block; padding: 3px 14px; border-radius: 999px; background: var(--amber-soft); color: #A06A12; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; }
.pay-pending-title { display: block; margin-top: 10px; font-family: var(--serif); font-size: 20px; color: var(--ink); letter-spacing: 2px; }
.pay-pending-sub { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ===== 商品详情页 ===== */
.goods-detail .gd-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 8px; }
.gd-h { font-size: 15px; color: var(--ink); margin: 18px 0 10px; padding-left: 10px; border-left: 3px solid var(--accent); font-family: var(--serif); }
.gd-specs { margin: 0; padding: 0; list-style: none; }
.gd-specs li { padding: 8px 10px; font-size: 13.5px; color: var(--ink-soft); border-bottom: 1px dashed var(--line); }
.gd-specs li::before { content: "◆"; color: var(--accent); margin-right: 8px; font-size: 11px; }
.detail-mt { margin-top: 16px; }

/* ===== 结算表单（提交订单弹窗） ===== */
.modal-card.wide .modal-body { padding: 22px 26px 26px; }
.co-scroll { max-height: 62vh; overflow: auto; padding-right: 6px; }
.co-sec { margin-bottom: 22px; }
.co-sec h3 { font-family: var(--serif); font-size: 15.5px; color: var(--ink); margin-bottom: 12px; padding-left: 10px; border-left: 3px solid var(--amber); }
.co-field { display: grid; grid-template-columns: 92px 1fr; align-items: center; margin-bottom: 10px; font-size: 13.5px; color: var(--ink-soft); }
.co-field span { color: var(--muted); }
.co-field input { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 9px 12px; font-size: 14px; width: 100%; transition: border-color .15s; }
.co-field input:focus { outline: none; border-color: var(--accent); }
.co-goods { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.co-goods-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.co-goods-row:last-child { border-bottom: none; }
.cg-name { flex: 1; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-x { color: var(--muted); font-size: 13px; }
.cg-sub { color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.co-goods-total { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; background: var(--panel-warm); font-size: 13.5px; color: var(--muted); }
.co-goods-total strong { color: var(--ink); font-size: 16px; }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt-card { position: relative; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; font-size: 13px; transition: all .15s; }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.opt-card .opt-label { font-weight: 700; color: var(--ink); }
.opt-card .opt-fee { color: var(--red); font-weight: 700; font-size: 15px; }
.opt-card .opt-fee-empty { color: var(--faint); }
.opt-card em { font-style: normal; font-size: 12px; color: var(--muted); }
.opt-card.on em { color: var(--accent); }
.co-footer { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel-warm); margin-top: 4px; }
.co-total { font-size: 14px; color: var(--ink-soft); }
.co-total strong { color: var(--red); font-size: 24px; font-weight: 800; }
.co-fee-note { font-style: normal; font-size: 12.5px; color: var(--muted); }

/* ===== 商城 BANNER 轮播（calture page-banner 风格：白字+黄 span+线状pagination） ===== */
.mall-hero { position: relative; overflow: hidden; background: var(--dark); }
.mh-track { display: flex; transition: transform .6s ease; }
.mh-slide { position: relative; flex: none; width: 100%; min-height: 300px; display: flex; align-items: center; }
.mh-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mh-shade { position: absolute; inset: 0; background: rgba(30, 35, 40, 0.58); }
.mh-content { position: relative; z-index: 1; padding: 58px 0 62px; color: #fff; }
.mh-tit { font-family: var(--serif); font-size: 34px; line-height: 1.3; letter-spacing: 1.5px; color: #fff; font-weight: 700; }
.mh-tit span { color: #FFDB14; }
.mh-sub { color: rgba(255,255,255,0.8); font-size: 14.5px; margin: 12px 0 0; letter-spacing: 0.5px; }
.mh-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.mh-actions .btn-amber, .mh-actions .btn-teal { padding: 12px 30px; font-family: "Raleway", "Microsoft YaHei", sans-serif; letter-spacing: 1px; }
.mh-actions .btn-teal { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.55); color: #fff; }
.mh-actions .btn-teal:hover { background: rgba(255,255,255,0.92); border-color: #fff; color: #3F4953; }
.mh-pag { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.mh-line { width: 30px; height: 6px; padding: 0; border: none; background: transparent; position: relative; }
.mh-line::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: #fff; opacity: 0.85; transition: height .35s, background .35s; }
.mh-line:hover::before { opacity: 1; }
.mh-line.active::before { height: 6px; background: #FCCB0F; }
.mh-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50px; border: none; background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); font-size: 20px; display: flex; align-items: center; justify-content: center; transition: all .3s; }
.mh-arrow:hover { background: rgba(255,255,255,0.3); color: rgba(255,255,255,0.9); }
.mh-prev { left: 22px; }
.mh-next { right: 22px; }

/* ===== 商城广告模块（活动专区） ===== */
.ad-strip { padding: 30px 0 6px; }
.ad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ad-card {
  position: relative; display: flex; flex-direction: column; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: all .18s; cursor: pointer; text-align: left; padding: 0; font: inherit; color: inherit;
}
.ad-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.ad-cover { height: 132px; position: relative; overflow: hidden; }
.ad-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.ad-card:hover .ad-cover img { transform: scale(1.05); }
.ad-tag {
  position: absolute; left: 12px; top: 12px; z-index: 1; background: var(--grad); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 3px; letter-spacing: 1px;
}
.ad-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ad-body h3 { font-size: 16.5px; color: #707070; }
.ad-body h3 em { font-style: normal; color: var(--blue); }
.ad-body p { font-size: 12.5px; color: #666666; margin: 0; }
.ad-go { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.ad-card:hover .ad-go { color: var(--blue); }
@media (max-width: 992px) {
  .ad-grid { grid-template-columns: 1fr; }
  .mh-tit { font-size: 26px; }
  .mh-slide { min-height: 240px; }
}
