/* =========================================================
   MD11 主题样式 —— 深度复刻 petters-b2c.51microshop.com
   设计语言：Inter 字体 / #006eff 亮蓝主色 / 白底大留白 /
   圆角卡片 / 横向导航 + 右侧图标 / 多列页脚带社媒
   ========================================================= */
:root {
  --md-primary: #006eff;
  --md-primary-d: #0050c8;
  --md-pink: #da6667;
  --md-gold: #fcac21;
  --md-ink: #1a202c;
  --md-text: #4a5568;
  --md-muted: #8a94a6;
  --md-line: #eceef2;
  --md-bg: #ffffff;
  --md-soft: #f5f7fb;
  --md-radius: 14px;
  --md-radius-sm: 10px;
  --md-shadow: 0 6px 24px rgba(20, 30, 60, .08);
  --md-shadow-hover: 0 16px 40px rgba(20, 30, 60, .14);
}

body.theme-md11 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--md-text);
  background: var(--md-bg);
  line-height: 1.65;
}
body.theme-md11 h1, body.theme-md11 h2, body.theme-md11 h3, body.theme-md11 h4 {
  color: var(--md-ink);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
}
body.theme-md11 a { color: inherit; text-decoration: none; }
body.theme-md11 img { max-width: 100%; }

/* ---------- 顶条 ---------- */
body.theme-md11 .md11-topbar {
  background: var(--md-soft);
  border-bottom: 1px solid var(--md-line);
  font-size: 13px;
  color: var(--md-muted);
}
body.theme-md11 .md11-tb-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 40px; gap: 14px; flex-wrap: wrap; padding: 6px 18px;
}
body.theme-md11 .md11-tb-left { display: flex; gap: 18px; flex-wrap: wrap; }
body.theme-md11 .md11-tb-item { display: inline-flex; align-items: center; gap: 6px; }
body.theme-md11 .md11-tb-item a { color: var(--md-muted); }
body.theme-md11 .md11-tb-item a:hover { color: var(--md-primary); }
body.theme-md11 .md11-tb-right { display: flex; gap: 16px; align-items: center; }
body.theme-md11 .md11-tb-right a { color: var(--md-text); font-weight: 500; }
body.theme-md11 .md11-tb-right a:hover { color: var(--md-primary); }
body.theme-md11 .md11-tb-cart { color: var(--md-primary) !important; font-weight: 600; }

/* ---------- 头部 / 导航 ---------- */
body.theme-md11 .md11-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--md-line);
  box-shadow: 0 2px 14px rgba(20, 30, 60, .04);
}
body.theme-md11 .md11-hd-inner {
  display: flex; align-items: center; gap: 22px;
  padding: 14px 18px; flex-wrap: wrap;
}
body.theme-md11 .md11-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
body.theme-md11 .md11-logo img { max-height: 44px; width: auto; }
body.theme-md11 .md11-logo { font-size: 22px; font-weight: 800; color: var(--md-ink); letter-spacing: -.02em; }

body.theme-md11 .md11-nav { flex: 1 1 auto; display: flex; justify-content: center; }
body.theme-md11 .md11-nav .nav-lvl1 { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
body.theme-md11 .md11-nav .nav-item { position: relative; }
body.theme-md11 .md11-nav .nav-lk {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--md-ink);
  position: relative; transition: color .18s;
}
body.theme-md11 .md11-nav .nav-lk::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--md-primary); transform: scaleX(0); transform-origin: center; transition: transform .2s;
}
body.theme-md11 .md11-nav .nav-item:hover > .nav-lk,
body.theme-md11 .md11-nav .nav-lk:hover { color: var(--md-primary); }
body.theme-md11 .md11-nav .nav-item:hover > .nav-lk::after { transform: scaleX(1); }
body.theme-md11 .md11-nav .caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .6; transition: transform .2s;
}
body.theme-md11 .md11-nav .caret.right { border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 5px solid currentColor; }
body.theme-md11 .md11-nav .nav-sub {
  list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0;
  min-width: 210px; background: #fff; border: 1px solid var(--md-line); border-radius: 12px;
  box-shadow: var(--md-shadow); display: none; z-index: 60;
}
body.theme-md11 .md11-nav .nav-item:hover > .nav-sub { display: block; }
body.theme-md11 .md11-nav .nav-sub .nav-sub { top: -8px; left: 100%; }
body.theme-md11 .md11-nav .nav-sub .nav-lk {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 16px; font-size: 14px; font-weight: 500; color: var(--md-text); width: 100%;
}
body.theme-md11 .md11-nav .nav-sub .nav-lk::after { display: none; }
body.theme-md11 .md11-nav .nav-sub .nav-lk:hover { background: var(--md-soft); color: var(--md-primary); }

/* ---------- 右侧图标 ---------- */
body.theme-md11 .md11-tools { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
body.theme-md11 .md11-tool {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; min-width: 42px; padding: 0 10px; border: 0; background: transparent;
  color: var(--md-ink); border-radius: 10px; cursor: pointer; transition: .18s; font-size: 14px; font-weight: 600;
}
body.theme-md11 .md11-tool:hover { background: var(--md-soft); color: var(--md-primary); }
body.theme-md11 .md11-lang-cur { font-size: 14px; }
body.theme-md11 .md11-cart { position: relative; }
body.theme-md11 .md11-cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--md-pink); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
}
body.theme-md11 .md11-nav-toggle { display: none; flex-direction: column; gap: 4px; }
body.theme-md11 .md11-nav-toggle span { width: 20px; height: 2px; background: var(--md-ink); border-radius: 2px; }

/* ---------- 英雄轮播 ---------- */
body.theme-md11 .fw-carousel.md11-hero {
  height: clamp(340px, 44vw, 520px); background: var(--md-soft);
  margin: 0; border-radius: 0; overflow: hidden; position: relative;
}
body.theme-md11 .fw-carousel.md11-hero .fw-ca-slide { cursor: pointer; height: 100%; }
body.theme-md11 .fw-carousel.md11-hero .fw-ca-slide img { width: 100%; height: 100%; object-fit: cover; }
body.theme-md11 .fw-carousel.md11-hero .md11-hero-cap {
  position: absolute; left: 0; right: 0; bottom: 0; top: 0; margin: auto;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  max-width: 1180px; width: 100%; padding: 0 32px; gap: 14px;
  background: linear-gradient(90deg, rgba(10,18,40,.55), rgba(10,18,40,.05) 60%);
}
body.theme-md11 .fw-carousel.md11-hero .md11-hero-cap h1 {
  color: #fff; font-size: clamp(28px, 4.4vw, 52px); margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
body.theme-md11 .fw-carousel.md11-hero .md11-hero-cap p {
  color: rgba(255,255,255,.92); font-size: clamp(15px, 2vw, 20px); margin: 0; max-width: 560px;
}
body.theme-md11 .fw-carousel.md11-hero .fw-ca-dots { bottom: 22px; text-align: left; padding: 0 32px; }
body.theme-md11 .fw-carousel.md11-hero .fw-ca-dot { background: rgba(255,255,255,.55); }
body.theme-md11 .fw-carousel.md11-hero .fw-ca-dot.on { background: #fff; }

/* 无幻灯片时的渐变英雄 */
body.theme-md11 .md11-hero-fallback {
  background: linear-gradient(120deg, var(--md-primary) 0%, #2b7bff 55%, #00a3ff 100%);
  padding: 84px 0;
}
body.theme-md11 .md11-hero-fallback .md11-hero-cap { max-width: 760px; }
body.theme-md11 .md11-hero-fallback h1 { color: #fff; font-size: clamp(30px, 5vw, 56px); margin: 0 0 16px; }
body.theme-md11 .md11-hero-fallback p { color: rgba(255,255,255,.9); font-size: clamp(15px, 2vw, 19px); margin: 0 0 26px; }

/* ---------- 通用区块 / 按钮 ---------- */
body.theme-md11 .md11-main { display: block; }
body.theme-md11 .md11-section { padding: 64px 0; }
body.theme-md11 .md11-sec-head { text-align: center; margin-bottom: 38px; }
body.theme-md11 .md11-sec-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
body.theme-md11 .md11-sec-head-row { display: flex; align-items: center; justify-content: space-between; text-align: left; }
body.theme-md11 .md11-sec-head-row h2 { font-size: clamp(22px, 2.6vw, 30px); }
body.theme-md11 .md11-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--md-primary); margin-bottom: 10px;
}
body.theme-md11 .md11-seeall { color: var(--md-primary); font-weight: 600; font-size: 15px; }
body.theme-md11 .md11-seeall:hover { text-decoration: underline; }

body.theme-md11 .md11-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap;
}
body.theme-md11 .md11-btn.sm { padding: 9px 18px; font-size: 14px; }
body.theme-md11 .md11-btn-primary { background: var(--md-primary); color: #fff; box-shadow: 0 8px 22px rgba(0,110,255,.28); }
body.theme-md11 .md11-btn-primary:hover { background: var(--md-primary-d); transform: translateY(-1px); }
body.theme-md11 .md11-btn-outline { background: #fff; color: var(--md-ink); border-color: var(--md-line); }
body.theme-md11 .md11-btn-outline:hover { border-color: var(--md-primary); color: var(--md-primary); }

/* ---------- 分类瓦片 ---------- */
body.theme-md11 .md11-cats-sec { background: #fff; }
body.theme-md11 .md11-cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px;
}
body.theme-md11 .md11-cat {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 20px 14px; background: var(--md-soft); border: 1px solid var(--md-line);
  border-radius: var(--md-radius); transition: .2s; text-align: center;
}
body.theme-md11 .md11-cat:hover { transform: translateY(-4px); box-shadow: var(--md-shadow); border-color: #cfdcf6; }
body.theme-md11 .md11-cat-img {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--md-shadow);
}
body.theme-md11 .md11-cat-img img { width: 100%; height: 100%; object-fit: cover; }
body.theme-md11 .md11-cat-ph {
  font-size: 13px; font-weight: 700; color: var(--md-muted); padding: 0 8px; text-align: center;
}
body.theme-md11 .md11-cat-name { font-weight: 600; color: var(--md-ink); font-size: 15px; }

/* ---------- 产品网格 ---------- */
body.theme-md11 .md11-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px;
}
body.theme-md11 .md11-pcard {
  display: block; background: #fff; border: 1px solid var(--md-line); border-radius: var(--md-radius);
  overflow: hidden; transition: .22s; position: relative;
}
body.theme-md11 .md11-pcard:hover { transform: translateY(-6px); box-shadow: var(--md-shadow-hover); border-color: #d4e1f7; }
body.theme-md11 .md11-pcard-img {
  position: relative; aspect-ratio: 1 / 1; background: var(--md-soft);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
body.theme-md11 .md11-pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
body.theme-md11 .md11-pcard:hover .md11-pcard-img img { transform: scale(1.06); }
body.theme-md11 .md11-noimg { color: var(--md-muted); font-size: 14px; padding: 12px; text-align: center; }
body.theme-md11 .md11-pcard-body { padding: 16px 16px 18px; }
body.theme-md11 .md11-pcard-body h3 {
  font-size: 15px; font-weight: 600; color: var(--md-ink); margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px;
}
body.theme-md11 .md11-pcard-price { color: var(--md-primary); font-weight: 700; font-size: 17px; margin: 0; }
body.theme-md11 .md11-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #fff; letter-spacing: .03em;
}
body.theme-md11 .md11-tag-hot { background: var(--md-pink); }
body.theme-md11 .md11-tag-new { background: var(--md-primary); }
body.theme-md11 .md11-section.md11-sec-soft { background: var(--md-soft); }

/* ---------- 关于 / 品牌 band ---------- */
body.theme-md11 .md11-about-sec { background: #fff; }
body.theme-md11 .md11-about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
body.theme-md11 .md11-about-img { border-radius: var(--md-radius); overflow: hidden; box-shadow: var(--md-shadow); }
body.theme-md11 .md11-about-img img { width: 100%; display: block; }
body.theme-md11 .md11-about-txt h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 16px; }
body.theme-md11 .md11-about-txt p { color: var(--md-text); margin: 0 0 24px; font-size: 16px; }

/* ---------- 信任条 ---------- */
body.theme-md11 .md11-trust { background: var(--md-soft); padding: 34px 0; border-top: 1px solid var(--md-line); border-bottom: 1px solid var(--md-line); }
body.theme-md11 .md11-trust-grid { display: flex; flex-wrap: wrap; gap: 34px; align-items: center; justify-content: center; }
body.theme-md11 .md11-trust-item { display: flex; align-items: center; gap: 12px; color: var(--md-ink); font-weight: 600; }
body.theme-md11 .md11-trust-item img { height: 46px; width: auto; object-fit: contain; }

/* ---------- CTA ---------- */
body.theme-md11 .md11-cta {
  background: linear-gradient(120deg, #0c1733 0%, #14306b 60%, #0049b7 100%);
  color: #fff; text-align: center; padding: 70px 0;
}
body.theme-md11 .md11-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); margin: 0 0 12px; }
body.theme-md11 .md11-cta p { color: rgba(255,255,255,.85); margin: 0 0 26px; font-size: 16px; }
body.theme-md11 .md11-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
body.theme-md11 .md11-cta .md11-btn-primary { background: #fff; color: var(--md-primary); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
body.theme-md11 .md11-cta .md11-btn-primary:hover { background: #eaf2ff; }
body.theme-md11 .md11-cta .md11-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
body.theme-md11 .md11-cta .md11-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ---------- 列表 / 分类页 ---------- */
body.theme-md11 .md11-page-title { background: var(--md-soft); padding: 30px 0; }
body.theme-md11 .md11-page-title h1 { margin: 0; font-size: clamp(24px, 3vw, 32px); }
/* v1.2.110：中和委托视图自带 header 的上下 padding，避免与灰带 30px 叠加出过大留白 */
body.theme-md11 .md11-page-title .faq-head,
body.theme-md11 .md11-page-title .blog-head,
body.theme-md11 .md11-page-title .dl-head,
body.theme-md11 .md11-page-title .bk-head,
body.theme-md11 .md11-page-title .brand-page,
body.theme-md11 .md11-page-title .videos-main { padding-top: 0; padding-bottom: 0; }
body.theme-md11 .md11-collection-hero {
  background-size: cover; background-position: center; color: #fff; padding: 70px 0;
  background-color: var(--md-primary);
}
body.theme-md11 .md11-collection-hero h1 { color: #fff; margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 40px); }
body.theme-md11 .md11-collection-hero p { color: rgba(255,255,255,.9); margin: 0; max-width: 640px; }

body.theme-md11 .md11-prod-wrap { padding: 40px 0 56px; }
body.theme-md11 .md11-prod-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
body.theme-md11 .md11-prod-side {
  position: sticky; top: 90px; background: var(--md-soft); border: 1px solid var(--md-line);
  border-radius: var(--md-radius); padding: 22px 18px;
}
body.theme-md11 .md11-side-title { font-size: 17px; margin: 0 0 16px; }
body.theme-md11 .md11-cat-filter { list-style: none; margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px solid var(--md-line); }
body.theme-md11 .md11-cat-filter a { display: block; padding: 8px 10px; border-radius: 8px; font-weight: 600; color: var(--md-ink); }
body.theme-md11 .md11-cat-filter li.on a, body.theme-md11 .md11-cat-filter a:hover { background: #fff; color: var(--md-primary); }
body.theme-md11 .md11-cat-tree { list-style: none; margin: 0; padding: 0; }
body.theme-md11 .md11-cat-tree .md11-cat-tree { padding-left: 14px; }
body.theme-md11 .md11-cat-node { position: relative; }
body.theme-md11 .md11-cat-node > a {
  display: block; padding: 8px 10px; border-radius: 8px; color: var(--md-text); font-size: 14px;
}
body.theme-md11 .md11-cat-node > a:hover { background: #fff; color: var(--md-primary); }
body.theme-md11 .md11-cat-node.on > a { color: var(--md-primary); font-weight: 700; background: #fff; }
body.theme-md11 .md11-cat-toggle {
  position: absolute; right: 6px; top: 8px; width: 22px; height: 22px; cursor: pointer; border: 0;
  background: transparent; display: none;
}
body.theme-md11 .md11-cat-node.has-child > .md11-cat-toggle { display: block; }
body.theme-md11 .md11-cat-toggle::before { content: "+"; font-size: 18px; color: var(--md-muted); line-height: 1; }
body.theme-md11 .md11-cat-node.open > .md11-cat-toggle::before { content: "\2013"; }
body.theme-md11 .md11-cat-node:not(.open) > .md11-cat-tree { display: none; }

body.theme-md11 .md11-prod-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
body.theme-md11 .md11-prod-count { color: var(--md-muted); font-size: 14px; }
body.theme-md11 .md11-view-toggle { display: flex; gap: 6px; }
body.theme-md11 .md11-view-toggle a {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--md-line); border-radius: 10px; color: var(--md-muted); background: #fff;
}
body.theme-md11 .md11-view-toggle a.on { color: var(--md-primary); border-color: var(--md-primary); background: #eef4ff; }
body.theme-md11 .md11-empty { color: var(--md-muted); padding: 40px 0; text-align: center; }

/* 列表视图 */
body.theme-md11 .md11-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
body.theme-md11 .md11-list-item {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--md-line); border-radius: var(--md-radius); padding: 16px; transition: .2s;
}
body.theme-md11 .md11-list-item:hover { box-shadow: var(--md-shadow); border-color: #d4e1f7; }
body.theme-md11 .md11-li-thumb { width: 150px; height: 150px; border-radius: 10px; overflow: hidden; background: var(--md-soft); flex: 0 0 auto; }
body.theme-md11 .md11-li-thumb img { width: 100%; height: 100%; object-fit: cover; }
body.theme-md11 .md11-li-name { font-size: 17px; font-weight: 700; color: var(--md-ink); }
body.theme-md11 .md11-li-cat { color: var(--md-primary); font-size: 13px; font-weight: 600; margin: 4px 0; }
body.theme-md11 .md11-li-desc { color: var(--md-muted); font-size: 14px; margin: 6px 0; }
body.theme-md11 .md11-li-acts { display: flex; flex-direction: column; gap: 8px; }

/* ---------- 产品详情 ---------- */
body.theme-md11 .md11-detail-layout { grid-template-columns: 250px 1fr; }
body.theme-md11 .md11-product { background: #fff; }
body.theme-md11 .md11-pd-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
body.theme-md11 .md11-pd-media { min-width: 0; }
body.theme-md11 .md11-pd-info { min-width: 0; }
/* 分享 / 收藏按钮移到图片下方，整行居中、与图库同宽 */
body.theme-md11 .md11-dp-tools-media { display: flex; gap: 10px; margin-top: 16px; }
body.theme-md11 .md11-dp-tools-media .md11-dp-btn { flex: 1 1 0; justify-content: center; padding: 11px 14px; }
body.theme-md11 .md11-pd-lower { margin-top: 28px; }
body.theme-md11 .md11-dp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
body.theme-md11 .md11-dp-title h1 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
body.theme-md11 .md11-dp-cat { color: var(--md-primary); font-weight: 600; margin: 0; }
body.theme-md11 .md11-dp-tools { display: flex; gap: 8px; flex-wrap: wrap; }
body.theme-md11 .md11-dp-tools-variants { margin: 16px 0 2px; }
body.theme-md11 .md11-dp-tools-head:empty { display: none; }
body.theme-md11 .md11-dp-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--md-line); background: #fff; color: var(--md-ink); font-size: 14px; font-weight: 600; cursor: pointer; transition: .18s;
}
body.theme-md11 .md11-dp-btn:hover { border-color: var(--md-primary); color: var(--md-primary); }
body.theme-md11 .md11-dp-price { font-size: 28px; font-weight: 800; color: var(--md-primary); margin: 18px 0 0; }
body.theme-md11 .md11-dp-tools + .md11-dp-price { margin-top: 6px; }
body.theme-md11 .md11-content { color: var(--md-text); font-size: 15px; line-height: 1.8; margin-top: 8px; }
body.theme-md11 .md11-content img { max-width: 100%; border-radius: 10px; }
body.theme-md11 .md11-content h1, body.theme-md11 .md11-content h2, body.theme-md11 .md11-content h3 { margin: 18px 0 10px; }

body.theme-md11 .md11-variants { margin-top: 14px; }
body.theme-md11 .md11-variants h3 { font-size: 17px; margin: 0 0 12px; }
/* 内容太多时：变体区超限折叠，避免右栏被无脑撑长 */
body.theme-md11 .md11-vrows-wrap.is-long { max-height: 300px; overflow-y: auto; overflow-x: hidden; padding-right: 4px; border-radius: 10px; transition: max-height .3s ease; }
body.theme-md11 .md11-vrows-wrap.is-long.open { max-height: 4000px; overflow: visible; }
body.theme-md11 .md11-vrows-wrap.is-long::-webkit-scrollbar { width: 7px; }
body.theme-md11 .md11-vrows-wrap.is-long::-webkit-scrollbar-thumb { background: var(--md-line); border-radius: 4px; }
body.theme-md11 .md11-vrow-toggle {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  padding: 9px 18px; border: 1px solid var(--md-line); border-radius: 999px;
  background: #fff; color: var(--md-primary); font-weight: 600; font-size: 14px; cursor: pointer; transition: .18s;
}
body.theme-md11 .md11-vrow-toggle:hover { background: #eef4ff; }
body.theme-md11 .md11-vrow-toggle .tg-ico { font-size: 16px; line-height: 1; }
body.theme-md11 .md11-vrow { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
body.theme-md11 .md11-vlab { font-weight: 600; color: var(--md-ink); min-width: 90px; }
body.theme-md11 .md11-vopts { display: flex; gap: 8px; flex-wrap: wrap; }
body.theme-md11 .md11-vopt {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--md-line); background: #fff; color: var(--md-ink); cursor: pointer; font-size: 14px; transition: .18s;
}
body.theme-md11 .md11-vopt.hasimg img { width: 26px; height: 26px; border-radius: 6px; object-fit: cover; }
body.theme-md11 .md11-vopt.on, body.theme-md11 .md11-vopt:hover { border-color: var(--md-primary); color: var(--md-primary); background: #eef4ff; }
body.theme-md11 .md11-vinfo { color: var(--md-muted); font-size: 14px; margin: 6px 0 0; }

body.theme-md11 .md11-tags { margin-top: 18px; }
body.theme-md11 .md11-pt-label { color: var(--md-muted); }
body.theme-md11 .md11-ptag { display: inline-block; margin: 0 6px 6px 0; padding: 5px 12px; background: var(--md-soft); border-radius: 999px; font-size: 13px; color: var(--md-ink); }
body.theme-md11 .md11-ptag:hover { background: #eef4ff; color: var(--md-primary); }
body.theme-md11 .md11-files { margin-top: 18px; }
body.theme-md11 .md11-files h3 { font-size: 17px; margin: 0 0 10px; }
body.theme-md11 .md11-file-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
body.theme-md11 .md11-file-list a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--md-line); border-radius: 10px; color: var(--md-ink); }
body.theme-md11 .md11-file-list a:hover { border-color: var(--md-primary); color: var(--md-primary); }

body.theme-md11 .md11-buy-box { display: flex; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
body.theme-md11 .md11-qty { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--md-ink); }
body.theme-md11 .md11-qty input { width: 70px; padding: 10px; border: 1px solid var(--md-line); border-radius: 10px; text-align: center; }

body.theme-md11 .md11-attrs { margin-top: 50px; }
body.theme-md11 .md11-attrs h2 { font-size: 22px; margin: 0 0 16px; }
body.theme-md11 .md11-attr-scroll { max-height: none; overflow: hidden; border: 1px solid var(--md-line); border-radius: var(--md-radius); }
body.theme-md11 .md11-attr-scroll.open { max-height: 2000px; }
body.theme-md11 .md11-attr-table { width: 100%; border-collapse: collapse; }
body.theme-md11 .md11-attr-table th, body.theme-md11 .md11-attr-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--md-line); font-size: 14px; vertical-align: top; }
body.theme-md11 .md11-attr-table th { width: 32%; color: var(--md-ink); font-weight: 600; background: var(--md-soft); }
body.theme-md11 .md11-attr-table tr:last-child th, body.theme-md11 .md11-attr-table tr:last-child td { border-bottom: 0; }
body.theme-md11 .md11-attr-tag { color: var(--md-primary); }
body.theme-md11 .md11-attr-tag:hover { text-decoration: underline; }
body.theme-md11 .md11-attr-toggle { margin-top: 14px; padding: 10px 20px; border: 1px solid var(--md-line); border-radius: 999px; background: #fff; color: var(--md-primary); font-weight: 600; cursor: pointer; }
body.theme-md11 .md11-attr-toggle:hover { background: #eef4ff; }

body.theme-md11 .md11-rel-block { margin-top: 54px; }
body.theme-md11 .md11-rel-block h2 { font-size: 22px; margin: 0 0 22px; }

/* ---------- 页脚 ---------- */
body.theme-md11 .md11-footer { background: #0d1426; color: #c7cedb; margin-top: 0; }
body.theme-md11 .md11-foot-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 56px 18px 36px; }
body.theme-md11 .md11-fcol h4 { color: #fff; font-size: 16px; margin: 0 0 16px; font-weight: 700; }
body.theme-md11 .md11-fcol ul { list-style: none; margin: 0; padding: 0; }
body.theme-md11 .md11-fcol li { margin-bottom: 10px; }
body.theme-md11 .md11-fcol a { color: #c7cedb; font-size: 14px; }
body.theme-md11 .md11-fcol a:hover { color: #fff; }
body.theme-md11 .md11-fcol-brand p { color: #9aa6bb; font-size: 14px; margin: 0 0 8px; }
body.theme-md11 .md11-fcontact a { color: #9aa6bb; }
body.theme-md11 .md11-fcontact a:hover { color: #fff; }
body.theme-md11 .md11-social { display: flex; gap: 10px; margin-top: 16px; }
body.theme-md11 .md11-si {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; transition: .2s;
}
body.theme-md11 .md11-si:hover { background: var(--md-primary); color: #fff; }
body.theme-md11 .md11-fbottom { border-top: 1px solid rgba(255,255,255,.1); }
body.theme-md11 .md11-fbottom .wrap { padding: 18px; color: #8a96ac; font-size: 13px; }

/* ---------- 语言 / 搜索弹窗配色 ---------- */
body.theme-md11 .lp-item.on, body.theme-md11 .lp-item:hover { background: var(--md-primary); color: #fff; border-color: var(--md-primary); }
body.theme-md11 .hsp-go { background: var(--md-primary); }
body.theme-md11 .hsp-go:hover { background: var(--md-primary-d); }
body.theme-md11 .qf-btn { background: var(--md-primary); }
body.theme-md11 .qf-btn:hover { background: var(--md-primary-d); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  body.theme-md11 .md11-about-inner { grid-template-columns: 1fr; gap: 28px; }
  body.theme-md11 .md11-pd-main { grid-template-columns: 1fr; gap: 24px; }
  body.theme-md11 .md11-foot-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body.theme-md11 .md11-nav { display: none; }
  body.theme-md11 .md11-nav.open {
    display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    border-bottom: 1px solid var(--md-line); box-shadow: var(--md-shadow); padding: 10px 18px; z-index: 49;
  }
  body.theme-md11 .md11-nav.open .nav-lvl1 { flex-direction: column; align-items: stretch; }
  body.theme-md11 .md11-nav.open .nav-lk { width: 100%; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--md-line); }
  body.theme-md11 .md11-nav.open .nav-sub { position: static; display: none; box-shadow: none; border: 0; background: var(--md-soft); padding-left: 12px; }
  body.theme-md11 .md11-nav.open .nav-item.open > .nav-sub { display: block; }
  body.theme-md11 .md11-nav-toggle { display: inline-flex; }
  body.theme-md11 .md11-prod-layout, body.theme-md11 .md11-detail-layout { grid-template-columns: 1fr; }
  body.theme-md11 .md11-prod-side { position: static; }
  body.theme-md11 .md11-lang-cur { display: none; }
}
@media (max-width: 640px) {
  body.theme-md11 .md11-section { padding: 44px 0; }
  body.theme-md11 .md11-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  body.theme-md11 .md11-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  body.theme-md11 .md11-foot-inner { grid-template-columns: 1fr; gap: 24px; }
  body.theme-md11 .md11-list-item { grid-template-columns: 90px 1fr; }
  body.theme-md11 .md11-li-thumb { width: 90px; height: 90px; }
  body.theme-md11 .md11-li-acts { grid-column: 1 / -1; flex-direction: row; }
  body.theme-md11 .fw-carousel.md11-hero .md11-hero-cap { padding: 0 20px; }
  body.theme-md11 .fw-carousel.md11-hero .fw-ca-dots { padding: 0 20px; }
}


/* ---------- 社媒图标：内联 SVG 居中（原写法用 FB/IG 文字，字体缺失会退化成普通字母） ---------- */
body.theme-md11 .md11-si{display:inline-flex!important;align-items:center;justify-content:center;line-height:0;}
body.theme-md11 .md11-si svg{width:16px;height:16px;display:block;}

/* ===== v1.2.107：桌面端头部单行排布 —— logo · 菜单居中 · 工具图标靠右（仅本模板） ===== */
@media (min-width: 1100px) {
  body.theme-md11 .md11-hd-inner { flex-wrap: nowrap; }
  body.theme-md11 .md11-nav { flex: 1 1 auto; min-width: 0; }
  body.theme-md11 .md11-nav .nav-lvl1 { flex-wrap: nowrap; }
  body.theme-md11 .md11-nav .nav-lk { padding: 10px 9px; font-size: 14px; white-space: nowrap; }
  body.theme-md11 .md11-tools { margin-left: auto; }
}
