/* ==========================================================================
   SHUN WEI LIAN — Xunrui CMS 模板自定义样式
   叠加在 app.css（原站设计系统）之上，负责公共骨架、单页、列表与表单的排版。
   生成时间：2026-11-13
   ========================================================================== */

/* ---------- 字体 ---------- */
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../font/i7dZIFdwYjGaAMFtZd_QA3xXSKZqhr-TenSHq5PPpYf3fxA.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../font/i7dZIFdwYjGaAMFtZd_QA3xXSKZqhr-TenSHq5PPq4f3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Centrano2';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../font/Centrano2.ttf) format('truetype');
}

/* ---------- 设计变量（源自原站 :root） ---------- */
:root {
  --h: 4;
  --s: 82%;
  --l: 47%;
  --color: #dd2115;
  --color-dark: #b41a10;
  --color-soft: #fceceb;
  --ink: #0b1524;
  --ink-2: #3c3f44;
  --line: #e6eaf0;
  --bg-soft: #f5f7fa;
  --container: 1680px;
  --container-xxl: 1680px;
  /* 三处宽度独立定义，互不影响：主体 1680 / 页头 1860 / 页脚 1860 */
  --container-main: 1680px;
  --container-header: 1860px;
  --container-footer: 1860px;
  --container-min-spacing: 4vw;
  --spacing-lg: 6vw;
  --spacing-md: 25px;
  --spacing-sm: 10px;
  --gap-lg: 2vw;
  --gap-md: 1vw;
  --gap-sm: 0.5vw;
  --sh-radius: 10px;
  --sh-shadow: 0 10px 30px rgba(11, 21, 36, .08);
}

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-dark); }

/* 内容区容器：内容宽度 = --container-main（1920 视口与首页构建器区块完全对齐） */
.sh-container {
  width: 100%;
  max-width: calc(var(--container-main) + 2 * var(--container-min-spacing));
  margin: 0 auto;
  padding-left: var(--container-min-spacing);
  padding-right: var(--container-min-spacing);
}

/* 页头 / 页脚容器：保留原有宽度（1860），不随主体宽度变化 */
.sh-header .sh-container {
  max-width: calc(var(--container-header) + 2 * var(--container-min-spacing));
  padding-left: var(--container-min-spacing);
  padding-right: var(--container-min-spacing);
}
.sh-footer .sh-container {
  max-width: calc(var(--container-footer) + 2 * var(--container-min-spacing));
  padding-left: var(--container-min-spacing);
  padding-right: var(--container-min-spacing);
}

/* ==========================================================================
   头部
   ========================================================================== */
.sh-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.sh-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 84px;
}
.sh-logo { display: flex; align-items: center; flex: 0 0 auto; }
.sh-logo img { height: 44px; width: auto; }
.sh-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.sh-nav-item { position: relative; }
.sh-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 30px 0;
  white-space: nowrap;
}
.sh-nav-link:hover { color: var(--color-dark); }
.sh-nav-item.is-active > .sh-nav-link { color: var(--color-dark); }
.sh-nav-arrow { width: 12px; height: 12px; fill: currentColor; transition: transform .2s; }
.sh-nav-item:hover .sh-nav-arrow { transform: rotate(90deg); }

.sh-dropdown {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--sh-radius);
  box-shadow: var(--sh-shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.sh-nav-item:hover > .sh-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sh-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink-2);
}
.sh-dropdown a:hover { background: var(--color-soft); color: var(--color-dark); }

.sh-header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.sh-icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 0;
  cursor: pointer;
  color: var(--ink);
}
.sh-icon-btn:hover { background: var(--color-soft); color: var(--color-dark); }
.sh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  background: var(--color);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--color);
  cursor: pointer;
  transition: .2s;
}
.sh-btn:hover { background: var(--color-dark); border-color: var(--color-dark); color: #fff; }
.sh-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.sh-btn--ghost:hover { border-color: var(--color); color: var(--color-dark); background: transparent; }
.sh-btn--sm { padding: 9px 18px; font-size: 13px; }

.sh-menu-toggle { display: none; }

/* 移动端抽屉 */
.sh-mobile {
  display: none;
  position: fixed;
  inset: 84px 0 0 0;
  background: #fff;
  z-index: 89;
  padding: 20px var(--container-min-spacing) 40px;
  overflow-y: auto;
}
.sh-mobile.is-open { display: block; }
.sh-mobile ul { list-style: none; margin: 0; padding: 0; }
.sh-mobile > ul > li { border-bottom: 1px solid var(--line); }
.sh-mobile a { display: block; padding: 14px 2px; font-size: 16px; font-weight: 600; }
.sh-mobile ul ul a { padding: 10px 2px 10px 16px; font-size: 14px; font-weight: 400; color: var(--ink-2); }

/* 搜索浮层 */
.sh-search-panel { display: none; padding: 18px 0 22px; border-top: 1px solid var(--line); }
.sh-search-panel.is-open { display: block; }
.sh-search-form { display: flex; gap: 10px; max-width: 720px; margin: 0 auto; }
.sh-search-form input[type="text"] {
  flex: 1;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  font-size: 15px;
}

/* ==========================================================================
   通用版块
   ========================================================================== */
.sh-main { min-height: 40vh; }
.sh-section { padding: 64px 0; }
.sh-section--tight { padding: 40px 0; }
.sh-section--soft { background: var(--bg-soft); }

.sh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  padding: 18px 0;
}
.sh-breadcrumb a:hover { color: var(--color-dark); }
.sh-breadcrumb .sep { opacity: .45; }

.sh-page-head { padding: 26px 0 10px; }
.sh-page-head h1 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 700;
  font-family: 'Centrano2', 'Albert Sans', sans-serif;
}
.sh-page-head .sh-lead { font-size: 16px; color: var(--ink-2); max-width: 900px; margin: 0; }

.sh-h2 {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.25;
  margin: 0 0 22px;
  font-weight: 700;
  font-family: 'Centrano2', 'Albert Sans', sans-serif;
}

/* 富文本 */
.sh-rich { font-size: 16px; color: #24324a; line-height: 1.85; }
.sh-rich h2, .sh-rich h3, .sh-rich h4 { margin: 1.6em 0 .6em; line-height: 1.3; font-weight: 700; }
.sh-rich h2 { font-size: 26px; }
.sh-rich h3 { font-size: 21px; }
.sh-rich p { margin: 0 0 1em; }
.sh-rich ul, .sh-rich ol { padding-left: 22px; margin: 0 0 1em; }
.sh-rich li { margin-bottom: .4em; }
.sh-rich img { max-width: 100%; height: auto; border-radius: 8px; }
.sh-rich > p > img { max-width: 780px; display: block; margin: 18px auto; }
.sh-rich table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.sh-rich table th, .sh-rich table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.sh-rich table th { background: var(--bg-soft); font-weight: 700; }
.sh-rich blockquote {
  margin: 1.2em 0; padding: 16px 20px; background: var(--color-soft);
  border-left: 4px solid var(--color); border-radius: 0 8px 8px 0;
}
.sh-rich a { color: var(--color-dark); text-decoration: underline; }

/* ==========================================================================
   产品卡片 / 列表
   ========================================================================== */
.sh-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}
.sh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.sh-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--sh-radius);
  overflow: hidden;
  transition: .25s;
  height: 100%;
}
.sh-card:hover { box-shadow: var(--sh-shadow); transform: translateY(-3px); border-color: #d7dee8; }
.sh-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  overflow: hidden;
}
.sh-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sh-card:hover .sh-card-media img { transform: scale(1.04); }
.sh-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sh-card-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-soft);
  padding: 3px 10px;
  border-radius: 30px;
}
.sh-card-title { font-size: 16px; font-weight: 600; line-height: 1.45; margin: 0; }
.sh-card-desc { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.sh-card-foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-dark);
  font-weight: 600;
}
.sh-card-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.sh-card-specs span { font-size: 12px; color: var(--ink-2); background: var(--bg-soft); padding: 2px 8px; border-radius: 4px; }

/* 分页 */
.sh-pager { display: flex; justify-content: center; margin-top: 44px; }
.sh-pager ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.sh-pager a, .sh-pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px; font-size: 14px; color: var(--ink-2);
}
.sh-pager .active span, .sh-pager a:hover { background: var(--color); border-color: var(--color); color: #fff; }

/* ==========================================================================
   产品详情
   ========================================================================== */
.sh-product-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding: 10px 0 50px;
}
.sh-gallery-main {
  border: 1px solid var(--line);
  border-radius: var(--sh-radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.sh-gallery-main img { width: 100%; display: block; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.sh-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.sh-gallery-thumbs img {
  width: 84px; height: 84px; object-fit: cover;
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: #fff;
}
.sh-gallery-thumbs img.is-active { border-color: var(--color); }

.sh-product-title {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.25;
  margin: 0 0 10px;
  font-weight: 700;
  font-family: 'Centrano2', 'Albert Sans', sans-serif;
}
.sh-product-sub { font-size: 15px; color: var(--ink-2); margin: 0 0 22px; }
.sh-model-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  background: var(--ink);
  color: #fff;
  padding: 4px 12px;
  border-radius: 40px;
  margin-bottom: 14px;
}

.sh-spec { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: 14.5px; }
.sh-spec tr:nth-child(odd) td { background: #fafbfc; }
.sh-spec td { border: 1px solid var(--line); padding: 11px 14px; vertical-align: top; }
.sh-spec td:first-child { width: 34%; color: var(--ink-2); font-weight: 600; background: var(--bg-soft); }

.sh-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.sh-product-body { padding: 20px 0 10px; border-top: 1px solid var(--line); }

/* 相关产品 */
.sh-related { padding: 56px 0 70px; background: var(--bg-soft); }

/* ==========================================================================
   解决方案 / 行业页
   ========================================================================== */
.sh-solution-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 40px;
  background: #0e1a2b;
}
.sh-solution-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.sh-solution-hero-inner { position: relative; padding: 34px 36px; color: #fff; }
.sh-solution-hero-inner h1 { font-size: clamp(26px, 3vw, 42px); margin: 0 0 10px; font-family: 'Centrano2', 'Albert Sans', sans-serif; }
.sh-solution-hero-inner p { margin: 0; max-width: 760px; opacity: .9; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.sh-faq-group { margin-bottom: 34px; }
.sh-faq-group > h2 {
  font-size: 20px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.sh-faq-item { border-bottom: 1px solid var(--line); }
.sh-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 40px 16px 0;
  position: relative;
  font-weight: 600;
  font-size: 15.5px;
}
.sh-faq-item summary::-webkit-details-marker { display: none; }
.sh-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--color-dark);
  line-height: 1;
}
.sh-faq-item[open] summary::after { content: '–'; }
.sh-faq-answer { padding: 0 40px 18px 0; color: var(--ink-2); font-size: 15px; }
.sh-faq-answer p { margin: 0 0 .7em; }

/* ==========================================================================
   单页 / 联系 / 表单
   ========================================================================== */
.sh-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; }
.sh-contact-card { background: var(--bg-soft); border-radius: var(--sh-radius); padding: 30px; }
.sh-contact-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed #dbe2ec; }
.sh-contact-item:last-child { border-bottom: 0; }
.sh-contact-item .label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 2px; }
.sh-contact-item .value { font-size: 15px; font-weight: 600; }

.sh-form { display: grid; gap: 14px; }
.sh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sh-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.sh-form input, .sh-form select, .sh-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}
.sh-form textarea { min-height: 130px; resize: vertical; }
.sh-form input:focus, .sh-form textarea:focus { outline: 2px solid var(--color-soft); border-color: var(--color); }
.sh-required { color: #e0483b; }

/* ==========================================================================
   页脚
   ========================================================================== */
.sh-footer { background: #0b1524; color: #c8d2e0; padding: 64px 0 0; margin-top: 60px; }
.sh-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr 1.3fr;
  gap: 34px;
  padding-bottom: 46px;
}
.sh-footer h3 {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 700;
}
.sh-footer a { color: #c8d2e0; font-size: 14px; }
.sh-footer a:hover { color: #fff; }
.sh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sh-footer .sh-footer-about p { font-size: 14px; line-height: 1.7; color: #a0a3a7; margin: 14px 0 16px; }
.sh-footer .sh-footer-logo img { height: 44px; width: auto; background: #fff; border-radius: 6px; padding: 4px 8px; }
.sh-footer-contact { display: grid; gap: 10px; font-size: 14px; color: #a0a3a7; }
.sh-footer-contact strong { color: #fff; font-weight: 600; }
.sh-copyright {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0;
  font-size: 13px;
  color: #8b8f94;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.sh-copyright a { color: #8b8f94; text-decoration: underline; }

/* ==========================================================================
   首页：接管低代码区块的容器与视频占位
   ========================================================================== */
.sh-main .__module > .__module-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: max(var(--container-min-spacing), 24px);
  padding-right: max(var(--container-min-spacing), 24px);
  box-sizing: border-box;
}
.sh-main .__video-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--sh-radius);
  background: #0b1524;
}
.sh-main .__video-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sh-main img { max-width: 100%; height: auto; }
.sh-main .__module { overflow: visible; }
.sh-main .__text { overflow-wrap: anywhere; }

/* ==========================================================================
   移动端适配
   ========================================================================== */
@media (max-width: 1200px) {
  .sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sh-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .sh-product-top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 992px) {
  .sh-nav { display: none; }
  .sh-menu-toggle { display: inline-flex; }
  .sh-grid, .sh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-contact-grid { grid-template-columns: 1fr; }
  .sh-header-inner { height: 70px; }
  .sh-mobile { inset: 70px 0 0 0; }
  .sh-section { padding: 40px 0; }
}
@media (max-width: 640px) {
  .sh-grid, .sh-grid--3, .sh-grid--2 { grid-template-columns: 1fr; }
  .sh-footer-grid { grid-template-columns: 1fr 1fr; }
  .sh-form-row { grid-template-columns: 1fr; }
  .sh-header-actions .sh-btn { display: none; }
}

/* ==========================================================================
   统一深色头部/页脚（与线上站对齐，首页与内页共用）
   ========================================================================== */
@font-face{font-family:'Centrano2';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/font/other/Centrano2.ttf) format('truetype')}
@font-face{font-family:'Albert Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/font/gooe/i7dZIFdwYjGaAMFtZd_QA3xXSKZqhr-TenSHq5PPq4f3.woff2) format('woff2')}

.sh-header {
  background: #101010;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sh-nav-link {
  color: #fff;
  font-family: 'Centrano2', 'Albert Sans', sans-serif;
  font-size: 14px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.sh-nav-link:hover,
.sh-nav-item.is-active > .sh-nav-link { color: #f2705f; }
.sh-nav-arrow { fill: #fff; }
.sh-header .sh-icon-btn { background: rgba(255,255,255,.12); color: #fff; }
.sh-header .sh-icon-btn:hover { background: rgba(255,255,255,.22); color: #fff; }
.sh-header .sh-btn { background: var(--color); color: #fff; border-color: transparent; }
.sh-header .sh-btn:hover { background: var(--color-dark); color: #fff; }
.sh-header .sh-search-panel { background: #101010; border-bottom-color: rgba(255,255,255,.08); }
.sh-mobile { background: #101010; }
.sh-mobile a { color: #fff; }
.sh-mobile ul ul { background: #1a1a1a; }

.sh-footer { background: #000; color: #c8d2e0; }
.sh-footer h3 { color: #fff; font-family: 'Centrano2', 'Albert Sans', sans-serif; letter-spacing: .5px; text-transform: uppercase; }
.sh-footer .sh-footer-logo img { background: transparent; padding: 0; height: 40px; }
.sh-copyright { border-top-color: rgba(255,255,255,.12); }

/* 首页：头部悬浮在首屏之上（与线上站一致），其余页为常规深色栏 */
body.is-home .sh-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: transparent;
  border-bottom: 0;
}
body.is-home .sh-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0));
  pointer-events: none;
  z-index: -1;
}
body.is-home .sh-header .sh-search-panel { background: #101010; }
body.is-home .sh-header .sh-icon-btn { background: rgba(255,255,255,.16); }

/* 询盘表单提交成功提示 */
.sh-form-success {
  padding: 22px 24px;
  border-radius: 10px;
  background: rgba(221,33,21,.12);
  border: 1px solid rgba(221,33,21,.45);
  color: #7c1a12;
  font-size: 15px;
  line-height: 1.6;
}


/* 联系页 / 表单页：两栏布局与询盘表单 */
.sh-contact-col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.sh-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--sh-radius); padding: 30px; box-shadow: var(--sh-shadow); }
.sh-form-card--center { max-width: 760px; margin: 0 auto; }
.sh-form-hint { margin: 0 0 18px; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.sh-form .sh-required { color: var(--color); font-weight: 700; }
.sh-form input[type=text], .sh-form input[type=email], .sh-form input[type=tel], .sh-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit; font-size: 15px;
}
.sh-form textarea { min-height: 132px; resize: vertical; }
.sh-form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.sh-form-note { font-size: 13px; color: var(--ink-2); }
.sh-form-error { display: none; margin-top: 6px; font-size: 12.5px; color: #c9200f; }
.sh-field.is-invalid .sh-form-error { display: block; }
.sh-field.is-invalid input, .sh-field.is-invalid textarea { border-color: #e0483b; }
.sh-form-msg { display: none; margin-top: 6px; padding: 14px 16px; border-radius: 10px; font-size: 14px; line-height: 1.65; }
.sh-form-msg.is-ok { display: block; background: rgba(221,33,21,.07); border: 1px solid rgba(221,33,21,.4); color: #6d1c14; }
.sh-form-msg.is-err { display: block; background: #fff2f0; border: 1px solid #e0483b; color: #a11a0e; }
@media (max-width: 992px) {
  .sh-contact-col { gap: 20px; }
  .sh-form-card { padding: 24px; }
}

/* 正文配图：OEM&ODM / Manufacturer 页 */
.sh-figure { margin: 1.3em 0 .5em; }
.sh-figure img { width: 100%; height: auto; border-radius: 12px; display: block; }
.sh-figure-cap { margin: 0 0 1.5em !important; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.sh-img-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 1.4em 0 1.6em; }
.sh-img-grid figure { margin: 0; min-width: 0; }
.sh-img-grid img { width: 100%; height: 240px; object-fit: cover; border-radius: 10px; display: block; background: #f4f5f7; }
.sh-img-grid figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.sh-img-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sh-img-grid--3 img { height: 220px; object-fit: contain; padding: 10px; }
.sh-feature-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 1.5em 0; }
.sh-feature { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 16px; text-align: center; box-shadow: var(--sh-shadow); }
.sh-feature img { width: 42px; height: 42px; object-fit: contain; }
.sh-feature h3 { margin: 10px 0 0; font-size: 14.5px; line-height: 1.4; color: var(--ink); }
@media (max-width: 992px) {
  .sh-feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-img-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-img-grid img { height: 220px; }
}
@media (max-width: 640px) {
  .sh-feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sh-feature { padding: 16px 10px; }
  .sh-img-grid, .sh-img-grid--3 { grid-template-columns: 1fr; }
  .sh-img-grid img { height: 200px; }
  .sh-img-grid--3 img { height: 190px; }
}

.sh-figure--sm { max-width: 680px; margin-left: auto; margin-right: auto; }

.sh-figure--sm img { max-height: 700px; width: auto; margin: 0 auto; }

.sh-img-grid--contain img { object-fit: contain; background: #f6f7f9; padding: 8px; }

/* manufacturer page: content images max width 800px */
.sh-page-manufacturer .sh-rich img { max-width: 800px; height: auto; display: block; margin-left: auto; margin-right: auto; }
.sh-page-manufacturer .sh-rich .sh-figure-cap { max-width: 800px; margin-left: auto; margin-right: auto; text-align: center; }

/* products overview: 1:1 product images */
.sh-grid--products .sh-card-media { aspect-ratio: 1 / 1; background: #fff; }
.sh-grid--products .sh-card-media img { object-fit: contain; }


/* 移动端：首页头部改为常规深色栏，首屏内容不再被悬浮头部遮挡 */
@media (max-width: 992px) {
  body.is-home .sh-header {
    position: relative;
    background: #101010;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  body.is-home .sh-header::after { display: none; }
  body.is-home #grid-xB8Dgto535 {
    height: auto;
    min-height: calc(100vh - 70px);
  }
}

/* 移动端菜单二级项：深色抽屉下提高可读性 */
@media (max-width: 992px) {
  .sh-mobile ul ul a { color: rgba(255,255,255,.72); }
  .sh-mobile ul ul a:hover { color: #fff; }
}

/* 手机端：产品列表卡片与详情主图统一 1:1 */
@media (max-width: 640px) {
  .sh-grid .sh-card-media { aspect-ratio: 1 / 1; background: #fff; }
  .sh-grid .sh-card-media img { object-fit: contain; }
  .sh-gallery-main img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
}

/* 手机端：页脚 Contact 区块占满整行 */
@media (max-width: 640px) {
  .sh-footer-grid > div:last-child { grid-column: 1 / -1; }
}
