/* ==========================================================================
   Fychis Machinery — 统一站样式
   与 index.html 共用同一套设计变量
   ========================================================================== */

:root {
  --color-canvas: #f5f6f8;
  --color-surface: #ffffff;
  --color-nav-bg: #1a1a2e;
  --color-nav-text: #e0e0e0;
  --color-nav-active: #ff8c00;
  --color-text-primary: #1a1a2e;
  --color-text-secondary: #555770;
  --color-text-muted: #8a8da0;
  --color-accent: #ff6b00;
  --color-accent-hover: #e05e00;
  --color-accent-ink: #ffffff;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1fb855;
  --color-border: #e4e5ea;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, .07);
  --shadow-card-hover: 0 6px 24px rgba(0, 0, 0, .12);
  --shadow-nav: 0 2px 16px rgba(0, 0, 0, .10);
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 40px;
  --max-content: 1280px;
  --nav-height: 56px;
  --topbar-height: 40px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--topbar-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; border: 0; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }

/* ==========================================================================
   Bootstrap 3 栅格兼容层（原页面大量使用 col-md-* / hidden-* 等 class）
   ========================================================================== */

.container, .wrap {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.container::after, .row::after { content: ""; display: table; clear: both; }

.row {
  margin-left: -15px;
  margin-right: -15px;
}

[class*="col-xs-"], [class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"] {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  float: left;
  width: 100%;
}

.col-xs-1 { width: 8.33333333%; }
.col-xs-2 { width: 16.66666667%; }
.col-xs-3 { width: 25%; }
.col-xs-4 { width: 33.33333333%; }
.col-xs-5 { width: 41.66666667%; }
.col-xs-6 { width: 50%; }
.col-xs-7 { width: 58.33333333%; }
.col-xs-8 { width: 66.66666667%; }
.col-xs-9 { width: 75%; }
.col-xs-10 { width: 83.33333333%; }
.col-xs-11 { width: 91.66666667%; }
.col-xs-12 { width: 100%; }

@media (min-width: 768px) {
  .col-sm-1 { width: 8.33333333%; }
  .col-sm-2 { width: 16.66666667%; }
  .col-sm-3 { width: 25%; }
  .col-sm-4 { width: 33.33333333%; }
  .col-sm-5 { width: 41.66666667%; }
  .col-sm-6 { width: 50%; }
  .col-sm-7 { width: 58.33333333%; }
  .col-sm-8 { width: 66.66666667%; }
  .col-sm-9 { width: 75%; }
  .col-sm-10 { width: 83.33333333%; }
  .col-sm-11 { width: 91.66666667%; }
  .col-sm-12 { width: 100%; }
  .hidden-sm { display: none !important; }
}

@media (min-width: 992px) {
  .col-md-1 { width: 8.33333333%; }
  .col-md-2 { width: 16.66666667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.33333333%; }
  .col-md-5 { width: 41.66666667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.33333333%; }
  .col-md-8 { width: 66.66666667%; }
  .col-md-9 { width: 75%; }
  .col-md-10 { width: 83.33333333%; }
  .col-md-11 { width: 91.66666667%; }
  .col-md-12 { width: 100%; }
  .col-md-push-1 { left: 8.33333333%; }
  .col-md-push-2 { left: 16.66666667%; }
  .col-md-push-3 { left: 25%; }
  .col-md-pull-1 { right: 8.33333333%; }
  .hidden-md { display: none !important; }
}

@media (max-width: 767px) {
  .hidden-xs { display: none !important; }
}

@media (min-width: 1200px) {
  .hidden-lg { display: none !important; }
}

.img-responsive { display: block; max-width: 100%; height: auto; }

/* ==========================================================================
   顶部联系条
   ========================================================================== */

.topbar {
  background: var(--color-nav-bg);
  color: var(--color-nav-text);
  font-size: 13px;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}
.topbar__inner {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.topbar a { color: var(--color-nav-text); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--color-nav-active); text-decoration: none; }
.topbar svg { flex: none; }
.topbar__lang { display: flex; gap: 8px; }
.topbar__lang a {
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 12px;
}
.topbar__lang a.is-on { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* ==========================================================================
   Header / 导航
   ========================================================================== */

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  box-shadow: var(--shadow-nav);
}
.site-head__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--color-text-primary);
}
.logo__tag { font-size: 10px; color: var(--color-text-muted); letter-spacing: .06em; text-transform: uppercase; }

.main-nav { margin-left: auto; }
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav__link {
  display: block;
  padding: 8px clamp(6px, 1vw, 14px);
  color: var(--color-text-secondary);
  font-size: clamp(12.5px, 1.05vw, 14.5px);
  font-weight: 600;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.main-nav__link:hover,
.main-nav__link:focus { background: #f0f1f5; color: var(--color-text-primary); text-decoration: none; }
.main-nav__link.is-active { background: var(--color-accent); color: #fff; }

.burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--color-text-primary); border-radius: 2px; }

@media (max-width: 1100px) {
  .burger { display: flex; }
  .main-nav {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-nav);
    display: none;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .main-nav__link {
    padding: 13px 22px;
    font-size: 15px;
    border-radius: 0;
    border-bottom: 1px solid #f2f3f6;
  }
  .main-nav__link.is-active { background: #fff5ec; color: var(--color-accent); }
  .site-head__inner { position: relative; }
}

/* ==========================================================================
   面包屑
   ========================================================================== */

.breadcrumb {
  list-style: none;
  margin: 0;
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.breadcrumb > li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb > li + li::before { content: "/"; color: #c3c5d1; }
.breadcrumb a { color: var(--color-text-secondary); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb > .active { color: var(--color-text-muted); }

/* ==========================================================================
   正文区
   ========================================================================== */

.page-main { padding-bottom: var(--gap-lg); }

.content-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 3vw, 40px);
  margin-bottom: var(--gap-md);
}

article h1,
article .h1 {
  font-size: clamp(23px, 2.4vw, 34px);
  color: var(--color-text-primary);
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--color-accent);
  line-height: 1.28;
}

article h2,
article .h2 {
  font-size: clamp(19px, 1.7vw, 24px);
  color: var(--color-text-primary);
  margin: 34px 0 14px;
  padding-left: 13px;
  border-left: 4px solid var(--color-accent);
  line-height: 1.35;
}

article h3 {
  font-size: clamp(16px, 1.3vw, 19px);
  margin: 24px 0 10px;
  color: var(--color-text-secondary);
}

article p,
article .pp {
  margin: 0 0 15px;
  color: var(--color-text-secondary);
  font-size: 15.5px;
  line-height: 1.85;
}

article strong { color: var(--color-text-primary); }

article ul, article ol { margin: 0 0 16px; padding-left: 22px; color: var(--color-text-secondary); }
article li { margin-bottom: 7px; line-height: 1.8; }

article table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 22px;
  font-size: 14.5px;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
article table th, article table td {
  border: 1px solid var(--color-border);
  padding: 9px 13px;
  text-align: left;
  white-space: normal;
}
article table th { background: #f7f8fa; font-weight: 700; color: var(--color-text-primary); }

article img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 18px auto;
  border-radius: var(--radius-md);
  background: #eef0f4;
}
/* 低分辨率产品图放大倍数受控，避免模糊 */
article img[width="137"], article img[width="150"] { max-width: 320px; }
article video {
  width: 100%;
  border-radius: var(--radius-md);
  background: #000;
  margin: 6px 0 16px;
}
article section { margin-bottom: 8px; }
article section::after { content: ""; display: table; clear: both; }

/* 产品图 + 视频并排 */
.product-drawing { margin-bottom: 10px; }
.product-drawing::after { content: ""; display: table; clear: both; }

/* ==========================================================================
   相关产品
   ========================================================================== */

.related {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: var(--gap-md);
}
.related__title {
  font-size: 19px;
  margin: 0 0 18px;
  padding-left: 13px;
  border-left: 4px solid var(--color-accent);
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.related__item {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fafbfc;
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  transition: border-color .18s, background .18s, transform .18s;
}
.related__item:hover {
  border-color: var(--color-accent);
  background: #fff8f2;
  color: var(--color-accent);
  text-decoration: none;
  transform: translateY(-2px);
}
.related__item span { display: block; font-size: 11.5px; font-weight: 500; color: var(--color-text-muted); margin-top: 4px; }

/* ==========================================================================
   CTA 联系条
   ========================================================================== */

.cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #2c2c48 100%);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.cta__text h2 { color: #fff; margin: 0 0 6px; font-size: clamp(18px, 1.8vw, 24px); border: 0; padding: 0; }
.cta__text p { margin: 0; color: #b9bbcd; font-size: 14.5px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: background .18s, transform .18s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--wa { background: var(--color-whatsapp); color: #fff; }
.btn--wa:hover { background: var(--color-whatsapp-hover); color: #fff; }
.btn--mail { background: var(--color-accent); color: #fff; }
.btn--mail:hover { background: var(--color-accent-hover); color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-foot {
  background: var(--color-nav-bg);
  color: #b9bbcd;
  padding: var(--gap-lg) 0 0;
  font-size: 14px;
}
.site-foot__grid {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.site-foot h3 {
  color: #fff;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 9px; line-height: 1.65; }
.site-foot a { color: #b9bbcd; }
.site-foot a:hover { color: var(--color-nav-active); text-decoration: none; }
.site-foot__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-foot__brand .logo__name { color: #fff; }
.site-foot__brand .logo__tag { color: #8a8da0; }
.site-foot__bottom {
  margin-top: var(--gap-lg);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 20px;
  text-align: center;
  font-size: 12.5px;
  color: #7c7f96;
}

@media (max-width: 900px) {
  .site-foot__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .site-foot__grid { grid-template-columns: 1fr; }
  .topbar__list li:nth-child(n+3) { display: none; }
}

/* ==========================================================================
   图片缺失兜底
   ========================================================================== */

img.is-missing {
  background: #eef0f4 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='none' stroke='%23b0b3c4' stroke-width='1.4'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='10' r='1.6'/%3E%3Cpath d='M21 16l-5-5-4 4-2-2-4 4'/%3E%3C/svg%3E") center/48px no-repeat;
  min-height: 120px;
}

/* ==========================================================================
   分类页 / 目录页
   ========================================================================== */

.cat-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2f3050 100%);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 48px);
  color: #fff;
  margin-bottom: var(--gap-md);
}
.cat-hero h1 {
  color: #fff;
  font-size: clamp(24px, 2.6vw, 36px);
  margin: 0 0 12px;
  border: 0;
  padding: 0;
}
.cat-hero p { margin: 0; color: #c3c5d6; font-size: 15.5px; max-width: 78ch; line-height: 1.8; }
.cat-hero__meta { margin-top: 16px; font-size: 13px; color: #9498b0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 20px;
  margin-bottom: var(--gap-md);
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--color-accent);
}
.product-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef0f4;
  border: 0;
  border-radius: 0;
  margin: 0;
}
.product-card__body { padding: 15px 17px 17px; display: flex; flex-direction: column; flex: 1; }
.product-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 7px;
  color: var(--color-text-primary);
}
.product-card__desc {
  font-size: 12.8px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 0 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__link { font-size: 13px; font-weight: 700; color: var(--color-accent); }
.product-card:hover .product-card__link { text-decoration: underline; }

.section-title {
  font-size: clamp(19px, 1.8vw, 24px);
  margin: 0 0 18px;
  padding-left: 13px;
  border-left: 4px solid var(--color-accent);
}

.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--gap-md);
}
.cat-nav a {
  padding: 9px 18px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: all .18s;
}
.cat-nav a:hover, .cat-nav a.is-on {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

.cat-group { margin-bottom: var(--gap-lg); }
.cat-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}
.cat-group__head h2 { margin: 0; font-size: 21px; padding-left: 12px; border-left: 4px solid var(--color-accent); }
.cat-group__head span { font-size: 13px; color: var(--color-text-muted); white-space: nowrap; }

/* ==========================================================================
   正文区移动端收敛（原站 col-* + 表格在 390px 会溢出卡片）
   ========================================================================== */

@media (max-width: 767px) {
  .content-card { padding: 16px 13px; }
  .page-main .row { margin-left: -8px; margin-right: -8px; }
  .page-main [class*="col-xs-"],
  .page-main [class*="col-sm-"],
  .page-main [class*="col-md-"] { padding-left: 8px; padding-right: 8px; }

  article h1, article .h1 {
    font-size: 21px;
    line-height: 1.32;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  article h2, article .h2 { font-size: 17px; margin: 26px 0 11px; padding-left: 10px; }
  article h3 { font-size: 15.5px; }
  article p, article .pp { font-size: 14.5px; line-height: 1.78; }
  article li { font-size: 14.5px; }

  article table { font-size: 12.5px; margin: 14px 0 18px; }
  article table th, article table td { padding: 7px 9px; }

  /* 产品图统一撑满列宽，避免同页多图宽度不一致 */
  article section img,
  article .product-drawing img,
  article .pp + img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  article video { margin: 4px 0 12px; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .product-card__body { padding: 12px; }
  .product-card__title { font-size: 13.5px; }
  .product-card__desc { display: none; }
}

/* ==========================================================================
   打印
   ========================================================================== */

@media print {
  .topbar, .site-head, .cta, .related, .site-foot, .breadcrumb { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .content-card { box-shadow: none; border: 0; padding: 0; }
  article a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  article h2 { page-break-after: avoid; }
  article img, article video { page-break-inside: avoid; }
}

/* ============================================================
   Home category grid / section head / placeholder image slimming
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}
.cat-tile {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(26, 26, 46, .12);
  border-color: var(--color-accent);
}
.cat-tile__media {
  aspect-ratio: 4 / 3;
  background: #f7f8fa;
  overflow: hidden;
}
.cat-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-tile__body { padding: 14px 16px 16px; }
.cat-tile__name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-primary);
}
.cat-tile__desc {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
.cat-tile__count {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(255, 107, 0, .08);
  padding: 3px 9px;
  border-radius: 999px;
}

.section-head { max-width: 780px; margin: 0 auto 28px; text-align: center; }
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1.3;
  color: var(--color-text-primary);
}
.section-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.section-more { margin: 26px 0 0; text-align: center; }

img.ph {
  max-height: 150px;
  width: auto;
  max-width: 100%;
  opacity: .6;
  background: #f7f8fa;
  border: 1px dashed var(--color-border);
  border-radius: 8px;
  padding: 6px;
  margin: 6px 0 10px;
}
.product-card__img img.ph,
.cat-tile__media img.ph {
  max-height: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  border: 0;
  padding: 0;
  margin: 0;
}

@media (max-width: 560px) {
  .cat-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
  .cat-tile__name { font-size: 14.5px; }
  .cat-tile__desc { font-size: 12.5px; }
  .section-head { margin-bottom: 20px; }
  img.ph { max-height: 120px; }
}

/* ===== ES summary note ===== */
.lang-note {
  margin: 22px 0 26px;
  padding: 20px 22px;
  background: #fff8f2;
  border: 1px solid #ffd9bd;
  border-left: 4px solid var(--color-accent, #ff6b00);
  border-radius: var(--radius-md, 10px);
}
.lang-note__label {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent, #ff6b00);
}
.lang-note__text {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--color-text, #2c2f36);
}
.lang-note__hint {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed #ffd9bd;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--color-text-secondary, #6b7280);
}
.lang-note__hint a {
  color: var(--color-accent, #ff6b00);
  font-weight: 600;
  text-decoration: none;
}
.lang-note__hint a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .lang-note { padding: 15px 16px; margin: 18px 0 22px; }
  .lang-note__text { font-size: 13.5px; line-height: 1.7; }
  .lang-note__hint { font-size: 12px; }
}
/* ===== end ES summary note ===== */

/* ===== FAQ ===== */
.faq { margin: var(--gap-lg) 0; }
.faq__title { font-size: 1.5rem; margin: 0 0 var(--gap-md); color: var(--color-text-primary); }
.faq__item { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-card); margin-bottom: var(--gap-sm); }
.faq__q { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--color-text-primary); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; line-height: 1.5; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q::after { content: "+"; font-size: 1.35rem; line-height: 1; color: var(--color-accent); flex: 0 0 auto; }
.faq__item[open] .faq__q::after { content: "\2212"; }
.faq__item[open] .faq__q { color: var(--color-accent); }
.faq__a { padding: 0 20px 18px; color: var(--color-text-secondary); line-height: 1.75; }
.faq__a p { margin: 0; }
@media (max-width: 640px) { .faq__q { padding: 14px 16px; font-size: .95rem; } .faq__a { padding: 0 16px 16px; } }
@media print { .faq__item { break-inside: avoid; } .faq__q::after { content: ""; } .faq__item[open] .faq__q { color: inherit; } }

/* ==========================================================================
   产品特性四宫格：图片等高对齐（新增）
   ========================================================================== */
article .model > ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
  padding: 0;
  list-style: none;
}
article .model > ul > li {
  float: none;
  width: 25%;
  padding: 0 10px;
  box-sizing: border-box;
  margin-bottom: 22px;
}
article .model > ul > li > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f7f8fa;
  margin: 0 0 12px;
  border-radius: var(--radius-md);
}
@media (max-width: 991px) {
  article .model > ul > li { width: 50%; }
}
@media (max-width: 575px) {
  article .model > ul > li { width: 100%; }
  article .model > ul > li > img { height: 200px; }
}

/* ==========================================================================
   产品图网格：统一图片框，等高对齐（新增）
   ========================================================================== */
article ul > li > img,
article ul > li > img.img-responsive {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f7f8fa;
  margin: 0 0 10px;
  border-radius: var(--radius-md);
}
@media (max-width: 575px) {
  article ul > li > img,
  article ul > li > img.img-responsive { height: 200px; }
}
/* 产品图网格：flex 对齐、去项目符号、统一图片框 */
article ul:has(> li > img),
article ul:has(> li > a > img) {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
  padding: 0;
  list-style: none;
}
article ul:has(> li > img) > li,
article ul:has(> li > a > img) > li {
  float: none;
  padding: 0 8px;
  box-sizing: border-box;
  margin-bottom: 22px;
  list-style: none;
}
article ul:has(> li > a > img) > li > a { display: block; }
/* 产品图网格：li>a>img 结构同样统一图片框 */
article ul > li > a > img,
article ul > li > a > img.img-responsive {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f7f8fa;
  margin: 0 0 10px;
  border-radius: var(--radius-md);
}
article ul > li > a {
  display: block;
  text-decoration: none;
  color: inherit;
}
@media (max-width: 575px) {
  article ul > li > a > img,
  article ul > li > a > img.img-responsive { height: 200px; }
}

/* ==========================================================================
   WhatsApp 浮动按钮（全站）
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.40);
  transition: transform 0.2s, background 0.2s;
  cursor: pointer;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  background: var(--color-whatsapp-hover, #1eb955);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
@media (max-width: 575px) {
  .whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}
@media print {
  .whatsapp-float { display: none !important; }
}
