/* ============================================================
   CrossMall default 模板主题样式
   品牌调性延续 admin/试点 PDP：Plus Jakarta Sans + Polaris 靛蓝渐变
   CSS 变量由 layout.html head 注入（后台主题色板联动）
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans SC', system-ui, sans-serif;
  color: #1F1F1F; background: #fff; line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font-family: inherit; }

/* ---------- 顶栏 ---------- */
.cm-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid #F0F0F0; }
.cm-header-in { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 64px;
  display: flex; align-items: center; gap: 22px; }
.cm-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.cm-logo-mark { width: 32px; height: 32px; border-radius: 6px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--cm-primary), var(--cm-primary-deep)); }
.cm-nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; }
.cm-nav a { padding: 8px 12px; border-radius: var(--cm-radius); font-size: 14px;
  color: #4B5563; white-space: nowrap; transition: all .15s; }
.cm-nav a:hover { color: var(--cm-primary); background: #F5F6FB; }
.cm-search { display: flex; border: 1px solid #E5E7EB; border-radius: var(--cm-radius);
  overflow: hidden; min-width: 180px; }
.cm-search input { flex: 1; border: 0; outline: none; padding: 8px 12px; font-size: 13px; }
.cm-search button { border: 0; background: #fff; padding: 0 12px; cursor: pointer;
  color: #6B7280; font-size: 15px; }
.cm-search button:hover { color: var(--cm-primary); }
.cm-actions { display: flex; align-items: center; gap: 6px; }
.cm-icon { position: relative; width: 38px; height: 38px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: var(--cm-radius);
  font-size: 17px; transition: background .15s; }
.cm-icon:hover { background: #F5F6FB; }
.cm-cart-count { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px;
  border-radius: 8px; background: var(--cm-primary); color: #fff; font-size: 10px;
  font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.cm-lang { position: relative; }
.cm-lang summary { list-style: none; cursor: pointer; padding: 8px 10px; border-radius: var(--cm-radius);
  font-size: 12px; font-weight: 700; letter-spacing: .05em; color: #4B5563; }
.cm-lang summary:hover { background: #F5F6FB; }
.cm-lang-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 60; min-width: 170px;
  background: #fff; border: 1px solid #F0F0F0; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.1);
  padding: 6px; }
.cm-lang-menu a { display: block; padding: 8px 12px; border-radius: var(--cm-radius);
  font-size: 13px; color: #4B5563; cursor: pointer; }
.cm-lang-menu a:hover { background: #FAFAFA; }
.cm-lang-menu a.on { color: var(--cm-primary); font-weight: 700; background: #F5F6FB; }

/* ---------- 通用 ---------- */
.cm-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 20px 64px; }
.cm-h1 { font-size: 26px; line-height: 1.25; margin: 6px 0 10px; }
.cm-h2 { font-size: 20px; margin-bottom: 18px; }
.cm-section { max-width: 1200px; margin: 0 auto; padding: 40px 20px 0; }
.cm-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.cm-link { font-size: 13px; color: var(--cm-primary); font-weight: 600; }
.cm-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px;
  padding: 0 32px; border: 0; border-radius: 8px; cursor: pointer; font-size: 15px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, var(--cm-primary), var(--cm-primary-deep));
  transition: transform .12s, opacity .15s; }
.cm-btn:hover { opacity: .92; } .cm-btn:active { transform: scale(.98); }
.cm-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.cm-btn-light { background: #fff; color: var(--cm-primary-deep); }

/* ---------- 首页 ---------- */
.cm-hero { position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--cm-primary-deep), var(--cm-primary) 55%, var(--cm-accent));
  padding: 88px 0; }
.cm-hero-in { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.cm-hero-eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  opacity: .85; margin-bottom: 14px; }
.cm-hero-title { font-size: clamp(34px, 5.5vw, 56px); line-height: 1.08; font-weight: 800;
  max-width: 640px; }
.cm-hero-sub { margin-top: 14px; font-size: 16px; opacity: .88; max-width: 520px; }
.cm-hero-cta { display: flex; gap: 14px; margin-top: 28px; }
.cm-hero-art { position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  font-size: 420px; font-weight: 800; opacity: .08; user-select: none; }
.cm-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.cm-cat-card { border: 1px solid #F0F0F0; border-radius: 10px; padding: 20px 18px;
  transition: all .15s; }
.cm-cat-card:hover { border-color: var(--cm-primary); box-shadow: 0 6px 18px rgba(92,106,196,.12);
  transform: translateY(-2px); }
.cm-cat-name { display: block; font-size: 15px; font-weight: 700; }
.cm-cat-sub { display: block; margin-top: 4px; font-size: 12px; color: #9CA3AF; }
.cm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.cm-card-img { display: block; border-radius: 10px; overflow: hidden; background: #FAFAFA; }
.cm-card-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .25s; }
.cm-card:hover .cm-card-img img { transform: scale(1.04); }
.cm-card-name { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; height: 2.9em;
  overflow: hidden; }
.cm-card-price { display: block; margin-top: 4px; font-size: 15px; font-weight: 800;
  color: var(--cm-primary); }
.cm-value { background: #FAFBFF; border-radius: 16px; margin-top: 48px; }
.cm-value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.cm-value-item { text-align: center; padding: 12px; }
.cm-value-item b { font-size: 28px; }
.cm-value-item h3 { font-size: 15px; margin: 8px 0 4px; }
.cm-value-item p { font-size: 13px; color: #6B7280; }
.cm-quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cm-quote { border: 1px solid #F0F0F0; border-radius: 10px; padding: 22px; }
.cm-quote blockquote { font-size: 15px; line-height: 1.65; color: #374151; }
.cm-quote figcaption { margin-top: 10px; font-size: 13px; color: #9CA3AF; }
.cm-cta-band { text-align: center; padding: 56px 20px; margin-top: 48px; border-radius: 16px;
  color: #fff; background: linear-gradient(120deg, var(--cm-primary-deep), var(--cm-primary)); }
.cm-cta-band h2 { font-size: 24px; margin-bottom: 20px; }

/* ---------- PLP ---------- */
.cm-plp { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.cm-side h3 { font-size: 14px; margin-bottom: 12px; color: #374151; }
.cm-side-nav { display: flex; flex-direction: column; gap: 2px; }
.cm-side-nav a { padding: 8px 10px; border-radius: var(--cm-radius); font-size: 14px; color: #4B5563; }
.cm-side-nav a:hover { background: #F5F6FB; color: var(--cm-primary); }
.cm-side-nav a.on { background: #F5F6FB; color: var(--cm-primary); font-weight: 700; }
.cm-plp-head { display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; gap: 16px; flex-wrap: wrap; }
.cm-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6B7280; }
.cm-sort select { border: 1px solid #E5E7EB; border-radius: var(--cm-radius); padding: 7px 10px;
  font-size: 13px; outline: none; }
.cm-empty { text-align: center; padding: 80px 0; color: #9CA3AF; }
.cm-empty p { margin-bottom: 16px; font-size: 15px; }
.cm-pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.cm-page { min-width: 36px; height: 36px; display: inline-flex; align-items: center;
  justify-content: center; border-radius: var(--cm-radius); border: 1px solid #E5E7EB;
  font-size: 13px; color: #4B5563; padding: 0 10px; }
.cm-page:hover { border-color: var(--cm-primary); color: var(--cm-primary); }
.cm-page.on { background: var(--cm-primary); border-color: var(--cm-primary); color: #fff; font-weight: 700; }

/* ---------- PDP（试点样式延续） ---------- */
.cm-crumbs { font-size: 13px; color: #8C8C8C; margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.cm-crumbs a { color: #8C8C8C; } .cm-crumbs a:hover { color: var(--cm-primary); }
.pdp { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 44px; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 24px; }
  .cm-plp { grid-template-columns: 1fr; } .cm-side { display: none; } }
.main-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; background: #FAFAFA; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px;
  border: 2px solid transparent; cursor: pointer; }
.thumbs img.on { border-color: var(--cm-primary); }
.brand { color: #8C8C8C; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.summary { color: #6B7280; font-size: 14px; line-height: 1.6; }
.price { margin: 18px 0 6px; font-size: 28px; font-weight: 800; }
.price s { font-size: 15px; color: #BFBFBF; font-weight: 400; margin-left: 8px; }
.stock { font-size: 13px; margin-bottom: 16px; }
.stock.ok { color: #52C41A; } .stock.no { color: #FF4D4F; }
.axis { margin-bottom: 14px; }
.axis .label { font-size: 13px; color: #4B5563; margin-bottom: 6px; font-weight: 600; }
.vals { display: flex; gap: 8px; flex-wrap: wrap; }
.val { min-width: 44px; padding: 8px 14px; border: 1px solid #E5E7EB; border-radius: 6px;
  background: #fff; cursor: pointer; font-size: 13px; transition: all .15s; }
.val:hover { border-color: var(--cm-primary); color: var(--cm-primary); }
.val.on { background: var(--cm-primary); border-color: var(--cm-primary); color: #fff; font-weight: 600; }
.val.off { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.qty-row { display: flex; align-items: center; gap: 14px; margin: 20px 0 22px; flex-wrap: wrap; }
.qty { display: flex; align-items: center; border: 1px solid #E5E7EB; border-radius: 6px; overflow: hidden; }
.qty button { width: 38px; height: 40px; border: 0; background: #fff; cursor: pointer;
  font-size: 16px; color: #6B7280; }
.qty input { width: 56px; height: 40px; border: 0; text-align: center; font-size: 15px;
  font-weight: 600; outline: none; }
.add { height: 48px; padding: 0 38px; border: 0; border-radius: 8px; color: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer;
  background: linear-gradient(135deg, var(--cm-primary), var(--cm-primary-deep));
  transition: transform .12s, opacity .15s; }
.add:hover { opacity: .92; } .add:active { transform: scale(.98); }
.add:disabled { background: #E5E7EB; color: #9CA3AF; cursor: not-allowed; }
.msg { font-size: 13px; margin-left: 10px; }
.msg.ok { color: #52C41A; } .msg.err { color: #FF4D4F; }
.desc { margin-top: 48px; border-top: 1px solid #F0F0F0; padding-top: 28px; }
.desc h2 { font-size: 17px; margin-bottom: 14px; }
.desc .body { color: #4B5563; font-size: 14px; line-height: 1.75; max-width: 860px; }
.desc .body img { max-width: 100%; border-radius: 8px; }
.related { margin-top: 48px; }
.related h2 { font-size: 17px; margin-bottom: 16px; }
.r-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.r-card { display: block; }
.r-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; background: #FAFAFA; }
.r-card .n { font-size: 13px; margin: 8px 0 4px; line-height: 1.4; height: 2.8em; overflow: hidden; }
.r-card .p { font-size: 14px; font-weight: 700; color: var(--cm-primary); }

/* ---------- 页脚 ---------- */
.cm-footer { margin-top: 72px; border-top: 1px solid #F0F0F0; background: #FAFAFA; }
.cm-footer-in { max-width: 1200px; margin: 0 auto; padding: 44px 20px 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.cm-footer-brand p { margin-top: 12px; font-size: 13px; color: #6B7280; }
.cm-footer-col h4 { font-size: 13px; margin-bottom: 12px; color: #374151; }
.cm-footer-col a { display: block; font-size: 13px; color: #6B7280; padding: 4px 0; }
.cm-footer-col a:hover { color: var(--cm-primary); }
.cm-footer-copy { text-align: center; font-size: 12px; color: #9CA3AF; padding: 0 20px 22px; }
@media (max-width: 800px) { .cm-footer-in { grid-template-columns: 1fr 1fr; } }

/* ===== Trade: cart / checkout / payment（批次 2） ===== */
.cm-cart-grid, .cm-checkout-grid { display: grid; gap: 24px; grid-template-columns: minmax(0,1fr) 340px; margin-top: 24px; }
@media (max-width: 960px) { .cm-cart-grid, .cm-checkout-grid { grid-template-columns: 1fr; } }
.cm-line { display: flex; gap: 16px; background: #fff; border: 1px solid #F0F0F0; border-radius: 10px; padding: 16px; margin-bottom: 14px; transition: box-shadow .2s; }
.cm-line:hover { box-shadow: var(--shadow-soft); }
.cm-line-img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; background: #FAFAFA; }
.cm-line-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cm-line-name { font-weight: 700; color: var(--text-heading); text-decoration: none; font-size: 15px; }
.cm-line-name:hover { color: var(--primary); }
.cm-line-spec { margin: 4px 0 0; font-size: 12px; color: var(--text-muted); }
.cm-line-price { margin: 6px 0 0; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cm-line-price b { font-size: 17px; color: var(--text-heading); }
.cm-badge { background: linear-gradient(135deg, var(--accent), #0D9488); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
.cm-line-ops { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.cm-qty { display: flex; align-items: center; border: 1px solid #E4E1F5; border-radius: 999px; overflow: hidden; }
.cm-qty button { width: 34px; height: 34px; border: 0; background: #fff; cursor: pointer; color: var(--text-muted); font-size: 15px; }
.cm-qty button:hover:not(:disabled) { color: var(--primary); }
.cm-qty button:disabled { opacity: .3; cursor: not-allowed; }
.cm-qty span { width: 36px; text-align: center; font-size: 13px; font-weight: 700; }
.cm-line-total { margin: 0; font-size: 18px; font-weight: 800; color: var(--text-heading); }
.cm-del { border: 0; background: none; cursor: pointer; color: var(--text-muted); font-size: 18px; padding: 6px 10px; border-radius: 999px; }
.cm-del:hover { background: #FEF2F2; color: #EF4444; }
.cm-summary { background: #fff; border: 1px solid #F0F0F0; border-radius: 10px; padding: 20px; position: sticky; top: 88px; }
.cm-rows { margin: 0 0 16px; }
.cm-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--text-body); border-bottom: 1px dashed #F0F0F0; }
.cm-row dd { margin: 0; font-weight: 600; color: var(--text-heading); }
.cm-row.cm-save dd, .cm-row.cm-save dt { color: #0D9488; }
.cm-row.cm-total { border-bottom: 0; font-size: 16px; }
.cm-row.cm-total dd { font-size: 20px; font-weight: 800; }
.cm-link { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: var(--text-muted); text-decoration: none; }
.cm-link:hover { color: var(--primary); }
.cm-empty { text-align: center; padding: 64px 0; color: var(--text-muted); }
.cm-empty .cm-btn { display: inline-block; margin-top: 16px; }

.cm-card { background: #fff; border: 1px solid #F0F0F0; border-radius: 10px; padding: 24px; }
.cm-card-title { font-size: 15px; font-weight: 700; color: var(--text-heading); margin: 0 0 16px; }
.cm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cm-form label { font-size: 13px; font-weight: 500; color: var(--text-body); display: flex; flex-direction: column; gap: 6px; }
.cm-form .cm-span2 { grid-column: span 2; }
.cm-form input, .cm-form select { height: 42px; border: 1px solid #E4E1F5; border-radius: 8px; padding: 0 12px; font-size: 14px; outline: none; transition: border-color .15s; background: #fff; }
.cm-form input:focus, .cm-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.coupon-row, .cm-coupon { display: flex; gap: 8px; }
.cm-coupon input { flex: 1; }
.cm-btn-ghost { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.cm-err { color: #EF4444; font-size: 12px; margin: 0; }
.cm-note { font-size: 12px; color: var(--text-muted); margin: 12px 0 0; line-height: 1.6; }
.cm-eta { font-size: 12px; color: #0D9488; margin: 8px 0 0; }
.cm-btn-block { width: 100%; }
.cm-btn-lg { height: 48px; font-size: 15px; }

.cm-slim { max-width: 460px; }
.cm-pay-done { text-align: center; padding: 40px 24px; }
.cm-done-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: color-mix(in srgb, var(--success, #52C41A) 12%, #fff); color: var(--success, #52C41A); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.cm-pay-title { font-size: 18px; font-weight: 700; color: var(--text-heading); margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.cm-warn { background: #FFFBEB; color: #D97706; font-size: 13px; padding: 8px 12px; border-radius: 8px; margin: 12px 0 0; }
.cm-methods { border: 0; padding: 0; margin: 20px 0 16px; display: flex; flex-direction: column; gap: 10px; }
.cm-method { display: flex; align-items: center; gap: 12px; border: 1px solid #E4E1F5; border-radius: 8px; padding: 14px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text-body); transition: all .15s; }
.cm-method:hover { border-color: var(--primary); }
.cm-method:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }
.cm-done-ops { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== Account / Auth / Articles（批次 3） ===== */
.cm-auth { max-width: 400px; margin: 56px auto 0; padding: 32px; }
.cm-auth-form { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.cm-auth-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.cm-auth-form input { height: 44px; border: 1px solid #E4E1F5; border-radius: 8px; padding: 0 12px; font-size: 14px; outline: none; }
.cm-auth-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.cm-auth .cm-note { text-align: center; }
.cm-auth .cm-note a { color: var(--primary); text-decoration: none; }

.cm-acct-head { display: flex; align-items: center; gap: 14px; margin: 24px 0 20px; flex-wrap: wrap; }
.cm-acct-head h1 { margin: 0; }
.cm-order-row { display: grid; grid-template-columns: 1fr auto auto auto 20px; gap: 14px; align-items: center; background: #fff; border: 1px solid #F0F0F0; border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; text-decoration: none; transition: box-shadow .2s; }
.cm-order-row:hover { box-shadow: var(--shadow-soft); }
.cm-order-no { font-weight: 700; color: var(--text-heading); font-size: 14px; }
.cm-order-date { font-size: 12px; color: var(--text-muted); }
.cm-order-total { font-weight: 800; color: var(--text-heading); }
.cm-order-arrow { color: var(--text-muted); }
.cm-order-status, .cm-status { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.cm-order-status.s-pending, .cm-status.s-pending { background: #FFF7ED; color: #EA580C; }
.cm-order-status.s-paid, .cm-status.s-paid { background: #ECFDF5; color: #059669; }
.cm-order-status.s-shipped, .cm-status.s-shipped { background: #EFF6FF; color: #2563EB; }
.cm-order-status.s-completed, .cm-status.s-completed { background: #F0FDF4; color: #16A34A; }
.cm-order-status.s-cancelled, .cm-status.s-cancelled { background: #F5F5F5; color: #9CA3AF; }
.cm-order-status.s-refunded, .cm-status.s-refunded { background: #FEF2F2; color: #DC2626; }

.cm-order-statusbar { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.cm-od-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #F5F5F5; }
.cm-od-item:last-child { border-bottom: 0; }
.cm-od-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #FAFAFA; }
.cm-od-info { flex: 1; min-width: 0; }
.cm-od-name { margin: 0; font-weight: 600; font-size: 14px; color: var(--text-heading); }
.cm-od-spec { margin: 4px 0 0; font-size: 12px; color: var(--text-muted); }
.cm-od-nums { text-align: right; font-size: 13px; color: var(--text-body); }
.cm-od-nums p { margin: 0 0 4px; }
.cm-addr { font-size: 14px; color: var(--text-body); line-height: 1.8; margin: 0; }
.cm-ship { padding: 10px 0; border-bottom: 1px solid #F5F5F5; }
.cm-ship:last-child { border-bottom: 0; }
.cm-ship-line { margin: 0; font-size: 14px; color: var(--text-heading); }
.cm-ship-items { margin: 4px 0 0; font-size: 12px; color: var(--text-muted); }
.cm-card { margin-bottom: 16px; }

.cm-art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 24px; }
.cm-art-card { background: #fff; border: 1px solid #F0F0F0; border-radius: 10px; overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.cm-art-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.cm-art-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #FAFAFA; }
.cm-art-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.cm-art-body h2 { font-size: 16px; font-weight: 700; color: var(--text-heading); margin: 0; }
.cm-art-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cm-art-body time { font-size: 12px; color: #9CA3AF; }
.cm-article { background: #fff; border: 1px solid #F0F0F0; border-radius: 10px; padding: 32px; margin-top: 16px; }
.cm-art-meta { color: #9CA3AF; font-size: 13px; margin: 8px 0 20px; }
.cm-art-content { color: var(--text-body); font-size: 15px; line-height: 1.85; }
.cm-art-content img { max-width: 100%; border-radius: 8px; }
.cm-art-content h2, .cm-art-content h3 { color: var(--text-heading); margin: 24px 0 12px; }
.cm-crumbs { font-size: 13px; color: var(--text-muted); margin-top: 24px; display: flex; gap: 8px; }
.cm-crumbs a { color: var(--text-muted); text-decoration: none; }
.cm-crumbs a:hover { color: var(--primary); }
.cm-crumbs b { color: var(--text-heading); font-weight: 600; }

/* ===== Schema 装修渲染（批次 4，cm-mat-* 体系） ===== */
.cm-schema > .cm-mat-container, .cm-mat.cm-mat-container { display: flex; flex-direction: column; }
.cm-hero-factory { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 40px; align-items: center; padding: 56px 0 40px; }
@media (max-width: 960px) { .cm-hero-factory { grid-template-columns: 1fr; } }
.cm-hero-lines div { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: var(--text-heading); }
.cm-hero-lines div:nth-child(2) { color: var(--primary); }
.cm-hero-sub { margin-top: 16px; font-size: 15px; line-height: 1.7; color: var(--text-muted); max-width: 520px; }
.cm-hero-search { display: flex; margin-top: 22px; max-width: 460px; border: 2px solid var(--primary); border-radius: 12px; overflow: hidden; }
.cm-hero-search input { flex: 1; height: 48px; border: 0; padding: 0 16px; font-size: 14px; outline: none; }
.cm-hero-search button { width: 56px; border: 0; background: var(--primary); color: #fff; font-size: 18px; cursor: pointer; }
.cm-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cm-chips span { border: 1px solid #E4E1F5; border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 600; color: var(--text-body); }
.cm-hero-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cm-hero-card { background: #fff; border: 1px solid #F0F0F0; border-radius: 12px; padding: 12px; text-decoration: none; transition: box-shadow .2s; }
.cm-hero-card:hover { box-shadow: var(--shadow-soft); }
.cm-hero-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #FAFAFA; }
.cm-hero-card-name { margin: 8px 0 2px; font-size: 13px; font-weight: 700; color: var(--text-heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-hero-card-price { margin: 0; font-size: 14px; font-weight: 800; color: var(--primary); }
.cm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; padding: 28px 0; }
.cm-stat { background: linear-gradient(135deg, var(--primary-light), #fff); border-radius: 12px; padding: 18px; text-align: center; }
.cm-stat-v { margin: 0; font-size: 26px; font-weight: 800; color: var(--primary); }
.cm-stat-l { margin: 4px 0 0; font-size: 11px; letter-spacing: .08em; color: var(--text-muted); }
.cm-mat-h { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--text-heading); margin: 48px 0 8px; text-align: center; }
.cm-mat-sub { text-align: center; color: var(--text-muted); font-size: 14px; max-width: 640px; margin: 0 auto; line-height: 1.7; }
.cm-cat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: 24px; }
.cm-cat-card { background: #fff; border: 1px solid #F0F0F0; border-radius: 12px; padding: 28px 16px; text-align: center; text-decoration: none; font-weight: 700; color: var(--text-heading); transition: all .2s; }
.cm-cat-card:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.cm-pgrid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
@media (max-width: 900px) { .cm-pgrid { grid-template-columns: repeat(2, 1fr); } }
.cm-pcard { background: #fff; border: 1px solid #F0F0F0; border-radius: 12px; padding: 12px; text-decoration: none; transition: box-shadow .2s; }
.cm-pcard:hover { box-shadow: var(--shadow-soft); }
.cm-pcard img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #FAFAFA; }
.cm-pcard-name { margin: 8px 0 2px; font-size: 13px; font-weight: 700; color: var(--text-heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-pcard-price { margin: 0; font-size: 14px; font-weight: 800; color: var(--primary); }
.cm-mat-items.cm-steps, .cm-mat-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 28px; }
.cm-step { background: #fff; border: 1px solid #F0F0F0; border-radius: 12px; padding: 20px; }
.cm-step h3 { margin: 0 0 8px; font-size: 14px; letter-spacing: .04em; color: var(--primary); }
.cm-step p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.cm-eco { background: linear-gradient(135deg, #ECFDF5, #F0FDF4); border-radius: 16px; padding: 40px 24px; margin-top: 48px; text-align: center; }
.cm-vprops { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 28px; }
.cm-vprop { background: #fff; border: 1px solid #F0F0F0; border-radius: 12px; padding: 24px; text-align: center; }
.cm-vprop-i { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-size: 20px; }
.cm-vprop h3 { margin: 12px 0 6px; font-size: 15px; color: var(--text-heading); }
.cm-vprop p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.cm-overall { text-align: center; font-size: 14px; font-weight: 700; color: #D97706; }
.cm-tst { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.cm-tst-card { background: #fff; border: 1px solid #F0F0F0; border-radius: 12px; padding: 22px; margin: 0; }
.cm-tst-card p { margin: 0 0 12px; font-size: 14px; color: var(--text-body); line-height: 1.7; font-style: italic; }
.cm-tst-card footer { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.cm-cta { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); border-radius: 16px; padding: 48px 24px; margin-top: 56px; text-align: center; }
.cm-cta .cm-mat-h { color: #fff; }
.cm-cta .cm-mat-sub { color: rgba(255,255,255,.82); }
.cm-cta .cm-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.cm-floor-empty { padding: 40px 0; text-align: center; color: #C4C4C4; letter-spacing: .5em; }
.cm-mat-fallback { padding: 32px; text-align: center; color: #C4C4C4; border: 1px dashed #E5E5E5; border-radius: 12px; margin: 16px 0; }

/* ===== 物料渲染器补全（批次 7：19 个新物料 + 增强） ===== */
.cm-notice { padding: 10px 16px; font-size: 13px; text-align: center; }
.cm-notice.info { background: #EFF6FF; color: #1D4ED8; }
.cm-notice.promo { background: var(--primary); color: #fff; font-weight: 600; }
.cm-notice a { color: inherit; text-decoration: underline; }
.cm-countdown { display: flex; justify-content: center; gap: 10px; align-items: center; padding: 10px; background: #FFF7ED; color: #EA580C; font-size: 13px; font-weight: 600; }
.cm-countdown-timer { font-variant-numeric: tabular-nums; font-weight: 800; }
.cm-divider { border: 0; border-top: 1px solid #EAEAEA; }
.cm-float-btn { position: fixed; right: 20px; bottom: 80px; z-index: 90; display: flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.cm-float-btn:hover { opacity: .92; }
.cm-hero-banner { position: relative; min-height: 380px; border-radius: 14px; background-size: cover; background-position: center; display: flex; align-items: center; overflow: hidden; }
.cm-hero-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15)); }
.cm-hero-banner-in { position: relative; padding: 48px; max-width: 640px; }
.cm-hero-banner-in h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; }
.cm-hero-banner-sub { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.7; margin: 0 0 20px; }
.cm-carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 12px; }
.cm-carousel-item { flex: 0 0 100%; scroll-snap-align: center; }
.cm-carousel-item img { width: 100%; aspect-ratio: 21/8; object-fit: cover; border-radius: 12px; display: block; }
.cm-hotzone { position: relative; }
.cm-hotzone img { width: 100%; display: block; border-radius: 12px; }
.cm-hotzone-area { position: absolute; background: transparent; border: 0; }
.cm-hotzone-area:hover { background: rgba(92,106,196,.12); outline: 2px dashed var(--primary); }
.cm-mosaic { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 10px; margin-top: 20px; }
.cm-mosaic-cell img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; aspect-ratio: 1; }
.cm-imgblock { margin: 0; }
.cm-imgblock img { width: 100%; border-radius: 12px; display: block; }
.cm-imgblock figcaption { font-size: 12px; color: var(--text-muted); margin-top: 8px; text-align: center; }
.cm-video { margin: 0; }
.cm-video-cover { position: relative; display: block; }
.cm-video-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; display: block; }
.cm-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 48px; color: #fff; background: rgba(0,0,0,.25); border-radius: 12px; }
.cm-video figcaption { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.cm-pcarousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.cm-pcarousel .cm-pcard { flex: 0 0 200px; scroll-snap-align: start; }
.cm-floor-label { font-size: 13px; font-weight: 700; color: var(--text-muted); margin: 18px 0 10px; letter-spacing: .06em; text-transform: uppercase; }
.cm-catnav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; padding: 16px 0; border-block: 1px solid #F0F0F0; }
.cm-catnav a { font-size: 14px; font-weight: 600; color: var(--text-body); text-decoration: none; }
.cm-catnav a:hover { color: var(--primary); }
.cm-coupons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.cm-coupon { border: 2px dashed var(--accent); border-radius: 12px; padding: 18px; text-align: center; background: #FFFEFB; }
.cm-coupon-title { margin: 0; font-weight: 800; color: var(--text-heading); font-size: 15px; }
.cm-coupon-sub { margin: 6px 0 12px; font-size: 12px; color: var(--text-muted); }
.cm-coupon-code { border: 0; background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; padding: 8px 16px; border-radius: 999px; cursor: pointer; letter-spacing: .05em; }
.cm-richtext p { max-width: 720px; margin: 0 auto 14px; color: var(--text-body); font-size: 15px; line-height: 1.85; text-align: center; }
.cm-artlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 18px; }
.cm-artlist-item { text-decoration: none; background: #fff; border: 1px solid #F0F0F0; border-radius: 10px; overflow: hidden; }
.cm-artlist-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #FAFAFA; }
.cm-artlist-title { margin: 10px 12px; font-size: 14px; font-weight: 700; color: var(--text-heading); }
.cm-custom-html { max-width: 100%; overflow-x: auto; }
.cm-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; margin-top: 20px; align-items: center; }
.cm-brand { display: flex; justify-content: center; filter: grayscale(1); opacity: .7; transition: all .2s; }
.cm-brand:hover { filter: none; opacity: 1; }
.cm-brand img { max-height: 44px; max-width: 100%; object-fit: contain; }
.cm-social { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.cm-social a { border: 1px solid #E4E1F5; border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 600; color: var(--text-body); text-decoration: none; }
.cm-social a:hover { border-color: var(--primary); color: var(--primary); }
.cm-faqs { max-width: 760px; margin: 20px auto 0; }
.cm-faq { border: 1px solid #F0F0F0; border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.cm-faq summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--text-heading); }
.cm-faq p { margin: 10px 0 0; font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.cm-eco-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 20px 0; }
.cm-eco-card { background: rgba(255,255,255,.75); border-radius: 10px; padding: 18px; }
.cm-eco-card h3 { margin: 0 0 8px; font-size: 14px; }
.cm-eco-card p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.cm-mat-cta { text-align: center; margin-top: 24px; }
.cm-cta-note { text-align: center; color: rgba(255,255,255,.7); font-size: 12px; margin: 14px 0 0; }
