/* =========================================================
   MD13 主题样式 —— 深度复刻 prestige.51microshop.com
   设计语言：Playfair Display 衬线标题 + Karla 无衬线正文 /
   近黑 #1a1a1a 主色 / 象牙白 #faf8f5 底 / 古铜金 #a9853f 点缀 /
   奢华极简（大留白、细线、衬线大标题）
   ========================================================= */
:root {
  --md-ink: #1a1a1a;
  --md-text: #57534d;
  --md-muted: #8a847b;
  --md-line: #e6e1d8;
  --md-bg: #faf8f5;
  --md-soft: #f1ede6;
  --md-primary: #1a1a1a;
  --md-primary-d: #000000;
  --md-sale: #9c2b2b;
  --md-coral: #a9853f;
  --md-accent: #a9853f;
  --md-gold: #a9853f;
  --md-radius: 2px;
  --md-radius-sm: 2px;
  --md-shadow: 0 8px 30px rgba(26,26,26,.07);
  --md-shadow-hover: 0 18px 46px rgba(26,26,26,.13);
}

body.theme-md13 {
  font-family: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--md-text);
  background: var(--md-bg);
  line-height: 1.7;
}
body.theme-md13 h1, body.theme-md13 h2, body.theme-md13 h3, body.theme-md13 h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--md-ink);
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.22;
}
body.theme-md13 a { color: inherit; text-decoration: none; }
body.theme-md13 img { max-width: 100%; }

/* ---------- 顶条 ---------- */
body.theme-md13 .md13-topbar {
  background: var(--md-ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  color: rgba(255,255,255,.72);
  letter-spacing: .04em;
}
body.theme-md13 .md13-tb-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 38px; gap: 14px; flex-wrap: wrap; padding: 6px 18px;
}
body.theme-md13 .md13-tb-left { display: flex; gap: 18px; flex-wrap: wrap; }
body.theme-md13 .md13-tb-item { display: inline-flex; align-items: center; gap: 6px; }
body.theme-md13 .md13-tb-item a { color: rgba(255,255,255,.72); }
body.theme-md13 .md13-tb-item a:hover { color: #fff; }
body.theme-md13 .md13-tb-right { display: flex; gap: 16px; align-items: center; }
body.theme-md13 .md13-tb-right a { color: rgba(255,255,255,.85); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
body.theme-md13 .md13-tb-right a:hover { color: #fff; }
body.theme-md13 .md13-tb-cart { color: #fff !important; font-weight: 700; }

/* ---------- 头部 / 导航 ---------- */
body.theme-md13 .md13-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--md-bg);
  border-bottom: 1px solid var(--md-line);
}
body.theme-md13 .md13-hd-inner {
  display: flex; align-items: center; gap: 22px;
  padding: 18px 18px; flex-wrap: wrap;
}
body.theme-md13 .md13-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
body.theme-md13 .md13-logo img { max-height: 46px; width: auto; }
body.theme-md13 .md13-logo { font-family: "Playfair Display", Georgia, serif; font-size: 26px; font-weight: 700; color: var(--md-ink); letter-spacing: .02em; }

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

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

/* ---------- 英雄轮播（编辑风：暗调叠层 + 衬线大标题） ---------- */
body.theme-md13 .fw-carousel.md13-hero {
  height: clamp(380px, 46vw, 560px); background: var(--md-ink);
  margin: 0; border-radius: 0; overflow: hidden; position: relative;
}
body.theme-md13 .fw-carousel.md13-hero .fw-ca-slide { cursor: pointer; height: 100%; }
body.theme-md13 .fw-carousel.md13-hero .fw-ca-slide img { width: 100%; height: 100%; object-fit: cover; }
body.theme-md13 .fw-carousel.md13-hero .md13-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: 16px;
  background: linear-gradient(90deg, rgba(10,16,28,.62), rgba(10,16,28,.12) 62%);
}
body.theme-md13 .fw-carousel.md13-hero .md13-hero-cap h1 {
  color: #fff; font-size: clamp(32px, 5vw, 60px); margin: 0; font-weight: 600;
  text-shadow: 0 2px 22px rgba(0,0,0,.4); letter-spacing: -.01em;
}
body.theme-md13 .fw-carousel.md13-hero .md13-hero-cap p {
  color: rgba(255,255,255,.9); font-size: clamp(15px, 2vw, 20px); margin: 0; max-width: 560px;
  letter-spacing: .02em;
}
body.theme-md13 .fw-carousel.md13-hero .fw-ca-dots { bottom: 26px; text-align: left; padding: 0 32px; }
body.theme-md13 .fw-carousel.md13-hero .fw-ca-dot { background: rgba(255,255,255,.5); }
body.theme-md13 .fw-carousel.md13-hero .fw-ca-dot.on { background: #fff; }

/* 无幻灯片时的兜底英雄 */
body.theme-md13 .md13-hero-fallback {
  background: var(--md-ink);
  padding: 96px 0;
}
body.theme-md13 .md13-hero-fallback .md13-hero-cap h1 { color: #fff; font-size: clamp(30px, 5vw, 58px); margin: 0 0 16px; font-family: "Playfair Display", Georgia, serif; }
body.theme-md13 .md13-hero-fallback p { color: rgba(255,255,255,.85); font-size: clamp(15px, 2vw, 19px); margin: 0 0 26px; }

/* ---------- 通用区块 / 按钮 ---------- */
body.theme-md13 .md13-main { display: block; }
body.theme-md13 .md13-section { padding: 72px 0; }
body.theme-md13 .md13-sec-head { text-align: center; margin-bottom: 44px; }
body.theme-md13 .md13-sec-head h2 {
  font-size: clamp(26px, 3.2vw, 38px); margin: 0; position: relative; display: inline-block; padding-bottom: 16px;
}
body.theme-md13 .md13-sec-head h2::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 54px; height: 2px; background: var(--md-accent);
}
body.theme-md13 .md13-sec-head-row { display: flex; align-items: center; justify-content: space-between; text-align: left; }
body.theme-md13 .md13-sec-head-row h2 { font-size: clamp(22px, 2.6vw, 30px); padding-bottom: 0; }
body.theme-md13 .md13-sec-head-row h2::after { display: none; }
body.theme-md13 .md13-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--md-accent); margin-bottom: 12px;
}
body.theme-md13 .md13-seeall { color: var(--md-accent); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
body.theme-md13 .md13-seeall:hover { text-decoration: underline; }

body.theme-md13 .md13-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--md-radius); font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; transition: .22s; white-space: nowrap;
}
body.theme-md13 .md13-btn.sm { padding: 10px 20px; font-size: 11px; }
body.theme-md13 .md13-btn-primary { background: var(--md-primary); color: #fff; }
body.theme-md13 .md13-btn-primary:hover { background: var(--md-primary-d); transform: translateY(-1px); }
body.theme-md13 .md13-btn-outline { background: transparent; color: var(--md-ink); border-color: var(--md-ink); }
body.theme-md13 .md13-btn-outline:hover { background: var(--md-ink); color: #fff; }

/* ---------- 分类瓦片（编辑风：矩形图 + 衬线名） ---------- */
body.theme-md13 .md13-cats-sec { background: var(--md-bg); }
body.theme-md13 .md13-cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px;
}
body.theme-md13 .md13-cat {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  background: #fff; border: 1px solid var(--md-line);
  border-radius: var(--md-radius); transition: .25s; text-align: left; overflow: hidden;
}
body.theme-md13 .md13-cat:hover { transform: translateY(-4px); box-shadow: var(--md-shadow); border-color: #d8d4cd; }
body.theme-md13 .md13-cat-img {
  width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--md-soft);
  display: flex; align-items: center; justify-content: center;
}
body.theme-md13 .md13-cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
body.theme-md13 .md13-cat:hover .md13-cat-img img { transform: scale(1.06); }
body.theme-md13 .md13-cat-ph {
  font-size: 13px; font-weight: 700; color: var(--md-muted); padding: 0 10px; text-align: center;
}
body.theme-md13 .md13-cat-name {
  font-family: "Playfair Display", Georgia, serif; font-weight: 600; color: var(--md-ink);
  font-size: 16px; padding: 16px 16px 18px; border-top: 1px solid var(--md-line);
}

/* ---------- 产品网格 ---------- */
body.theme-md13 .md13-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px;
}
body.theme-md13 .md13-pcard {
  display: block; background: #fff; border: 1px solid var(--md-line); border-radius: var(--md-radius);
  overflow: hidden; transition: .25s; position: relative;
}
body.theme-md13 .md13-pcard:hover { transform: translateY(-6px); box-shadow: var(--md-shadow-hover); border-color: #d8d4cd; }
body.theme-md13 .md13-pcard-img {
  position: relative; aspect-ratio: 1 / 1; background: var(--md-soft);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
body.theme-md13 .md13-pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
body.theme-md13 .md13-pcard:hover .md13-pcard-img img { transform: scale(1.05); }
body.theme-md13 .md13-noimg { color: var(--md-muted); font-size: 14px; padding: 12px; text-align: center; }
body.theme-md13 .md13-pcard-body { padding: 18px 18px 20px; border-top: 1px solid var(--md-line); }
body.theme-md13 .md13-pcard-body h3 {
  font-family: "Playfair Display", Georgia, serif; font-size: 16px; 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: 44px;
}
body.theme-md13 .md13-pcard-price { color: var(--md-primary); font-weight: 700; font-size: 18px; margin: 0; }
body.theme-md13 .md13-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 11px; border-radius: 2px; font-size: 10px; font-weight: 700; color: #fff; letter-spacing: .1em; text-transform: uppercase;
}
body.theme-md13 .md13-tag-hot { background: var(--md-sale); }
body.theme-md13 .md13-tag-new { background: var(--md-coral); }
body.theme-md13 .md13-section.md13-sec-soft { background: var(--md-soft); }

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

/* ---------- 信任条 ---------- */
body.theme-md13 .md13-trust { background: var(--md-ink); padding: 38px 0; }
body.theme-md13 .md13-trust-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; }
body.theme-md13 .md13-trust-item { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.88); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
body.theme-md13 .md13-trust-item img { height: 40px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }

/* ---------- CTA ---------- */
body.theme-md13 .md13-cta {
  background: var(--md-primary);
  color: #fff; text-align: center; padding: 80px 0;
}
body.theme-md13 .md13-cta h2 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); margin: 0 0 14px; }
body.theme-md13 .md13-cta p { color: rgba(255,255,255,.82); margin: 0 0 28px; font-size: 16px; }
body.theme-md13 .md13-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
body.theme-md13 .md13-cta .md13-btn-primary { background: #fff; color: var(--md-primary); }
body.theme-md13 .md13-cta .md13-btn-primary:hover { background: var(--md-bg); }
body.theme-md13 .md13-cta .md13-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
body.theme-md13 .md13-cta .md13-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.12); }

/* ---------- 列表 / 分类页 ---------- */
body.theme-md13 .md13-page-title { background: var(--md-soft); padding: 34px 0; border-bottom: 1px solid var(--md-line); }
body.theme-md13 .md13-page-title h1 { margin: 0; font-size: clamp(26px, 3vw, 36px); }
body.theme-md13 .md13-collection-hero {
  background-size: cover; background-position: center; color: #fff; padding: 80px 0;
  background-color: var(--md-primary);
}
body.theme-md13 .md13-collection-hero h1 { color: #fff; margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 44px); }
body.theme-md13 .md13-collection-hero p { color: rgba(255,255,255,.9); margin: 0; max-width: 640px; }

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

body.theme-md13 .md13-prod-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; border-bottom: 1px solid var(--md-line); padding-bottom: 16px; }
body.theme-md13 .md13-prod-count { color: var(--md-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
body.theme-md13 .md13-view-toggle { display: flex; gap: 6px; }
body.theme-md13 .md13-view-toggle a {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--md-line); border-radius: var(--md-radius); color: var(--md-muted); background: #fff;
}
body.theme-md13 .md13-view-toggle a.on { color: var(--md-primary); border-color: var(--md-primary); background: var(--md-soft); }
body.theme-md13 .md13-empty { color: var(--md-muted); padding: 40px 0; text-align: center; }

/* 列表视图 */
body.theme-md13 .md13-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
body.theme-md13 .md13-list-item {
  display: grid; grid-template-columns: 160px 1fr auto; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--md-line); border-radius: var(--md-radius); padding: 18px; transition: .2s;
}
body.theme-md13 .md13-list-item:hover { box-shadow: var(--md-shadow); border-color: #d8d4cd; }
body.theme-md13 .md13-li-thumb { width: 160px; height: 160px; border-radius: var(--md-radius-sm); overflow: hidden; background: var(--md-soft); flex: 0 0 auto; }
body.theme-md13 .md13-li-thumb img { width: 100%; height: 100%; object-fit: cover; }
body.theme-md13 .md13-li-name { font-family: "Playfair Display", Georgia, serif; font-size: 19px; font-weight: 600; color: var(--md-ink); }
body.theme-md13 .md13-li-cat { color: var(--md-primary); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 4px 0; }
body.theme-md13 .md13-li-desc { color: var(--md-muted); font-size: 14px; margin: 6px 0; }
body.theme-md13 .md13-li-acts { display: flex; flex-direction: column; gap: 8px; }

/* ---------- 产品详情 ---------- */
body.theme-md13 .md13-detail-layout { grid-template-columns: 250px 1fr; }
body.theme-md13 .md13-product { background: #fff; }
body.theme-md13 .md13-pd-main { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
body.theme-md13 .md13-dp-head { grid-column: 1 / -1; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
body.theme-md13 .md13-dp-title h1 { font-size: clamp(24px, 2.8vw, 34px); margin: 0 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
body.theme-md13 .md13-dp-cat { color: var(--md-primary); font-weight: 700; margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
body.theme-md13 .md13-dp-tools { display: flex; gap: 8px; flex-wrap: wrap; }
body.theme-md13 .md13-dp-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: var(--md-radius-sm);
  border: 1px solid var(--md-line); background: #fff; color: var(--md-ink); font-size: 13px; font-weight: 600; cursor: pointer; transition: .18s;
}
body.theme-md13 .md13-dp-btn:hover { border-color: var(--md-primary); color: var(--md-primary); }
body.theme-md13 .md13-dp-price { font-family: "Playfair Display", Georgia, serif; font-size: 30px; font-weight: 700; color: var(--md-primary); margin: 18px 0 0; grid-column: 1 / -1; }
body.theme-md13 .md13-dp-tools + .md13-dp-price { margin-top: 6px; }
body.theme-md13 .md13-content { grid-column: 1 / -1; color: var(--md-text); font-size: 15px; line-height: 1.9; margin-top: 8px; }
body.theme-md13 .md13-content img { max-width: 100%; border-radius: var(--md-radius); }
body.theme-md13 .md13-content h1, body.theme-md13 .md13-content h2, body.theme-md13 .md13-content h3 { margin: 20px 0 10px; font-family: "Playfair Display", Georgia, serif; }

body.theme-md13 .md13-variants { grid-column: 1 / -1; margin-top: 10px; }
body.theme-md13 .md13-variants h3 { font-family: "Playfair Display", Georgia, serif; font-size: 18px; margin: 0 0 12px; }
body.theme-md13 .md13-vrow { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
body.theme-md13 .md13-vlab { font-weight: 600; color: var(--md-ink); min-width: 90px; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
body.theme-md13 .md13-vopts { display: flex; gap: 8px; flex-wrap: wrap; }
body.theme-md13 .md13-vopt {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--md-radius-sm);
  border: 1px solid var(--md-line); background: #fff; color: var(--md-ink); cursor: pointer; font-size: 14px; transition: .18s;
}
body.theme-md13 .md13-vopt.hasimg img { width: 26px; height: 26px; border-radius: 3px; object-fit: cover; }
body.theme-md13 .md13-vopt.on, body.theme-md13 .md13-vopt:hover { border-color: var(--md-primary); color: var(--md-primary); background: var(--md-soft); }
body.theme-md13 .md13-vinfo { color: var(--md-muted); font-size: 14px; margin: 6px 0 0; }

body.theme-md13 .md13-tags { grid-column: 1 / -1; margin-top: 8px; }
body.theme-md13 .md13-pt-label { color: var(--md-muted); }
body.theme-md13 .md13-ptag { display: inline-block; margin: 0 6px 6px 0; padding: 5px 14px; background: var(--md-soft); border-radius: 2px; font-size: 13px; color: var(--md-ink); }
body.theme-md13 .md13-ptag:hover { background: var(--md-primary); color: #fff; }
body.theme-md13 .md13-files { grid-column: 1 / -1; margin-top: 10px; }
body.theme-md13 .md13-files h3 { font-family: "Playfair Display", Georgia, serif; font-size: 18px; margin: 0 0 10px; }
body.theme-md13 .md13-file-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
body.theme-md13 .md13-file-list a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1px solid var(--md-line); border-radius: var(--md-radius-sm); color: var(--md-ink); }
body.theme-md13 .md13-file-list a:hover { border-color: var(--md-primary); color: var(--md-primary); }

body.theme-md13 .md13-buy-box { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
body.theme-md13 .md13-qty { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--md-ink); }
body.theme-md13 .md13-qty input { width: 72px; padding: 11px; border: 1px solid var(--md-line); border-radius: var(--md-radius-sm); text-align: center; }

body.theme-md13 .md13-attrs { margin-top: 56px; }
body.theme-md13 .md13-attrs h2 { font-family: "Playfair Display", Georgia, serif; font-size: 23px; margin: 0 0 16px; }
body.theme-md13 .md13-attr-scroll { max-height: none; overflow: hidden; border: 1px solid var(--md-line); border-radius: var(--md-radius); }
body.theme-md13 .md13-attr-scroll.open { max-height: 2000px; }
body.theme-md13 .md13-attr-table { width: 100%; border-collapse: collapse; }
body.theme-md13 .md13-attr-table th, body.theme-md13 .md13-attr-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--md-line); font-size: 14px; vertical-align: top; }
body.theme-md13 .md13-attr-table th { width: 32%; color: var(--md-ink); font-weight: 600; background: var(--md-soft); }
body.theme-md13 .md13-attr-table tr:last-child th, body.theme-md13 .md13-attr-table tr:last-child td { border-bottom: 0; }
body.theme-md13 .md13-attr-tag { color: var(--md-primary); }
body.theme-md13 .md13-attr-tag:hover { text-decoration: underline; }
body.theme-md13 .md13-attr-toggle { margin-top: 14px; padding: 10px 22px; border: 1px solid var(--md-line); border-radius: var(--md-radius); background: #fff; color: var(--md-primary); font-weight: 600; cursor: pointer; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
body.theme-md13 .md13-attr-toggle:hover { background: var(--md-soft); }

body.theme-md13 .md13-rel-block { margin-top: 58px; }
body.theme-md13 .md13-rel-block h2 { font-family: "Playfair Display", Georgia, serif; font-size: 23px; margin: 0 0 22px; }

/* ---------- 页脚（深藏青，编辑风） ---------- */
body.theme-md13 .md13-footer { background: var(--md-primary); color: rgba(255,255,255,.8); margin-top: 0; }
body.theme-md13 .md13-foot-inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding: 64px 18px 40px; }
body.theme-md13 .md13-fcol h4 { color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 17px; margin: 0 0 18px; font-weight: 600; }
body.theme-md13 .md13-fcol ul { list-style: none; margin: 0; padding: 0; }
body.theme-md13 .md13-fcol li { margin-bottom: 11px; }
body.theme-md13 .md13-fcol a { color: rgba(255,255,255,.78); font-size: 14px; }
body.theme-md13 .md13-fcol a:hover { color: #fff; }
body.theme-md13 .md13-fcol-brand p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0 0 8px; }
body.theme-md13 .md13-fcontact a { color: rgba(255,255,255,.7); }
body.theme-md13 .md13-fcontact a:hover { color: #fff; }
body.theme-md13 .md13-social { display: flex; gap: 10px; margin-top: 18px; }
body.theme-md13 .md13-si {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; transition: .2s;
}
body.theme-md13 .md13-si:hover { background: #fff; color: var(--md-primary); }
body.theme-md13 .md13-fbottom { border-top: 1px solid rgba(255,255,255,.12); }
body.theme-md13 .md13-fbottom .wrap { padding: 20px 18px; color: rgba(255,255,255,.6); font-size: 13px; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  body.theme-md13 .md13-about-inner { grid-template-columns: 1fr; gap: 30px; }
  body.theme-md13 .md13-pd-main { grid-template-columns: 1fr; gap: 26px; }
  body.theme-md13 .md13-foot-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body.theme-md13 .md13-nav { display: none; }
  body.theme-md13 .md13-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-md13 .md13-nav.open .nav-lvl1 { flex-direction: column; align-items: stretch; }
  body.theme-md13 .md13-nav.open .nav-lk { width: 100%; justify-content: space-between; padding: 13px 4px; border-bottom: 1px solid var(--md-line); }
  body.theme-md13 .md13-nav.open .nav-sub { position: static; display: none; box-shadow: none; border: 0; background: var(--md-soft); padding-left: 12px; }
  body.theme-md13 .md13-nav.open .nav-item.open > .nav-sub { display: block; }
  body.theme-md13 .md13-nav-toggle { display: inline-flex; }
  body.theme-md13 .md13-prod-layout, body.theme-md13 .md13-detail-layout { grid-template-columns: 1fr; }
  body.theme-md13 .md13-prod-side { position: static; }
  body.theme-md13 .md13-lang-cur { display: none; }
}
@media (max-width: 640px) {
  body.theme-md13 .md13-section { padding: 48px 0; }
  body.theme-md13 .md13-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  body.theme-md13 .md13-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  body.theme-md13 .md13-foot-inner { grid-template-columns: 1fr; gap: 26px; }
  body.theme-md13 .md13-list-item { grid-template-columns: 90px 1fr; }
  body.theme-md13 .md13-li-thumb { width: 90px; height: 90px; }
  body.theme-md13 .md13-li-acts { grid-column: 1 / -1; flex-direction: row; }
  body.theme-md13 .fw-carousel.md13-hero .md13-hero-cap { padding: 0 20px; }
  body.theme-md13 .fw-carousel.md13-hero .fw-ca-dots { padding: 0 20px; }
}

/* ---------- 博客 / 新闻（奢华编辑风） ---------- */
body.theme-md13 .md13-blog-head {
  background: var(--md-ink); color: #fff; text-align: center;
  padding: 70px 0 64px; margin-bottom: 0;
}
body.theme-md13 .md13-blog-head .md13-eyebrow { color: var(--md-accent); }
body.theme-md13 .md13-blog-head h1 {
  font-family: "Playfair Display", Georgia, serif; color: #fff;
  font-size: clamp(34px, 5vw, 56px); margin: 6px 0 10px; font-weight: 700;
}
body.theme-md13 .md13-blog-sub { color: rgba(255,255,255,.7); margin: 0; letter-spacing: .04em; }

body.theme-md13 .md13-blog-tags {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  padding: 28px 18px 0;
}
body.theme-md13 .md13-blog-tags a {
  padding: 7px 18px; border: 1px solid var(--md-line); border-radius: 2px;
  font-size: 12px; font-weight: 600; color: var(--md-ink); text-transform: uppercase; letter-spacing: .08em;
}
body.theme-md13 .md13-blog-tags a.on, body.theme-md13 .md13-blog-tags a:hover { background: var(--md-ink); color: #fff; border-color: var(--md-ink); }

body.theme-md13 .md13-blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px; padding: 50px 18px 76px;
}
body.theme-md13 .md13-bpost {
  background: #fff; border: 1px solid var(--md-line); border-radius: var(--md-radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .25s;
}
body.theme-md13 .md13-bpost:hover { transform: translateY(-6px); box-shadow: var(--md-shadow-hover); border-color: #d8d2c8; }
body.theme-md13 .md13-bpost-cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--md-soft); }
body.theme-md13 .md13-bpost-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
body.theme-md13 .md13-bpost:hover .md13-bpost-cover img { transform: scale(1.05); }
body.theme-md13 .md13-bpost-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--md-muted); font-family: "Playfair Display", Georgia, serif; font-size: 18px; letter-spacing: .1em; }
body.theme-md13 .md13-bpost-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
body.theme-md13 .md13-bpost-meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--md-accent); font-weight: 700; margin-bottom: 10px; }
body.theme-md13 .md13-bpost-title { font-family: "Playfair Display", Georgia, serif; font-size: 23px; font-weight: 600; color: var(--md-ink); margin: 0 0 12px; line-height: 1.25; }
body.theme-md13 .md13-bpost-title a:hover { color: var(--md-accent); }
body.theme-md13 .md13-bpost-excerpt { color: var(--md-text); font-size: 15px; margin: 0 0 18px; flex: 1; }
body.theme-md13 .md13-bpost-more { color: var(--md-ink); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; display: inline-flex; gap: 8px; align-items: center; }
body.theme-md13 .md13-bpost-more span { transition: transform .2s; }
body.theme-md13 .md13-bpost-more:hover { color: var(--md-accent); }
body.theme-md13 .md13-bpost-more:hover span { transform: translateX(5px); }

/* 博客文章详情 */
body.theme-md13 .md13-article { max-width: 860px; padding: 64px 18px 80px; }
body.theme-md13 .md13-article-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
body.theme-md13 .md13-article-head h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--md-ink); margin: 0; line-height: 1.18; }
body.theme-md13 .md13-article-tools { display: flex; gap: 8px; flex-wrap: wrap; }
body.theme-md13 .md13-article-meta { color: var(--md-accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 24px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
body.theme-md13 .md13-article-meta .tag { color: var(--md-accent); }
body.theme-md13 .md13-article-meta .tag:hover { text-decoration: underline; }
body.theme-md13 .md13-article-cover { width: 100%; border-radius: var(--md-radius); margin-bottom: 28px; }
body.theme-md13 .md13-article-content { color: var(--md-text); font-size: 16px; line-height: 1.95; }
body.theme-md13 .md13-article-content img { max-width: 100%; border-radius: var(--md-radius); margin: 18px 0; }
body.theme-md13 .md13-article-content h1, body.theme-md13 .md13-article-content h2, body.theme-md13 .md13-article-content h3 { font-family: "Playfair Display", Georgia, serif; color: var(--md-ink); margin: 28px 0 12px; }


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