/* === 基础重置 === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
    color: #333;
    background: #f9f9f9;
    line-height: 1.6;
    padding-top: 80px;      /* 保留：为固定 header 留出空间，避免遮挡内容 */
    padding-bottom: 0;      /* 修复：移除原底部 70px 多余空白 */
    min-height: 100vh;      /* 新增：确保 body 至少占满视口高度 */
    display: flex;          /* 新增：弹性布局 */
    flex-direction: column; /* 新增：纵向排列，便于 footer 贴底 */
}
.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 15px;
}
a {
    text-decoration: none;
    color: inherit;
}
ul { list-style: none; }

/* === 颜色变量 === */
:root {
    --primary: #2A5E33;
    --secondary: #E67E22;
    --dark: #1f2937;
    --light: #f3f4f6;
}

/* === 固定头部 === */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 15px 0;
    gap: 10px;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-area img {
    height: 44px;
    width: auto;
    display: block;
}
/* logo 右侧竖线 + 公司名简称：让访客一眼知道公司叫什么 */
.logo-divider {
    width: 1px;
    height: 30px;
    background: #d9dfe4;
    flex: 0 0 auto;
}
.logo-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: .2px;
    white-space: nowrap;
    line-height: 1.25;
}
.logo-area h1,
.logo-area p {
    font-size: 20px;
    color: var(--primary);
    font-weight: bold;
}
.nav-main {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav-link { white-space: nowrap; }
}
.nav-link {
    padding: 8px 18px;
    color: #333;
    font-weight: 500;
}
.nav-link:hover { color: var(--secondary); }
.btn-primary {
    background: var(--secondary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
}
.btn-primary:hover { opacity: 0.9; }
.group { position: relative; }
.group .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 200px;
    padding: 10px 0;
    display: none;
}
.group:hover .submenu { display: block; }
.submenu a {
    display: block;
    padding: 8px 15px;
}
.submenu a:hover { background: #f5f5f5; }
/* 语言切换:收起为一个按钮,悬停/聚焦向下展开 */
.lang-group {
    position: relative;
    flex-shrink: 0;
}
.lang-cur {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s;
}
.lang-cur:hover { background: rgba(42,94,51,.08); }
.lang-cur-en, .lang-cur-es { display: flex; align-items: center; gap: 6px; }
html[lang="en"] .lang-cur-es,
html[lang="es"] .lang-cur-en { display: none; }
.lang-caret {
    width: 0;
    height: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 4px solid currentColor;
    opacity: .6;
    transition: transform .15s;
}
.lang-group:hover .lang-caret,
.lang-group:focus-within .lang-caret { transform: rotate(180deg); }
.lang-menu {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    top: 100%;
    margin-top: 6px;
    min-width: 138px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.14);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .15s, transform .15s, visibility .15s;
    z-index: 90;
}
/* 悬浮桥:按钮与菜单之间的空隙不中断 hover */
.lang-menu::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: -8px;
    height: 8px;
}
.lang-group:hover .lang-menu,
.lang-group:focus-within .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%);
}
.lang-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 4px;
    color: #1f2937;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}
.lang-opt:hover { background: rgba(42,94,51,.08); color: var(--primary); }
.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 3px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--primary);
    font-size: 13px;
}
.lang-flag {
    width: 18px;
    height: 12px;
    border-radius: 1px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.12) inset;
    flex-shrink: 0;
}
#menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}
#mobile-menu {
    display: none;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px;
}

/* === 通用 Banner === */
.banner-container {
    width: 100%;
    background: var(--primary);
    padding: 50px 0;
    margin: 0 0 30px 0;
}
.banner-text-layer {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: left;
}
.banner-text-layer h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}
.banner-text-layer p {
    font-size: 16px;
    color: #fff;
    opacity: 0.95;
}

/* === 面包屑（全局统一，带整体背景） === */
.breadcrumb {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto 20px auto;
    padding: 12px 15px;
    font-size: 14px;
    color: #666;
    background-color: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
}
.breadcrumb a {
    color: var(--primary);
    background-color: #eef2f0;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    transition: 0.2s;
}
.breadcrumb a:hover {
    background-color: var(--primary);
    color: white;
}
.breadcrumb span {
    color: #333;
    font-weight: 500;
}
.breadcrumb i {
    margin: 0 8px;
    font-style: normal;
    color: #999;
}

/* === 产品页面公用组件 === */
.product-show {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}
.product-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: zoom-in;
}
.product-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 28px rgba(0,0,0,0.16);
}
.product-desc h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 24px;
}
.product-desc p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}
.section { margin-bottom: 0; }
.section-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    margin-bottom: 30px;
    display: inline-block;
}

/* 参数表格 */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.param-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}
.param-table th,
.param-table td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #ccc;
    font-size: 14px;
}
.param-table th {
    background-color: var(--primary);
    color: white;
    font-weight: bold;
}
.param-table tr:nth-child(even) { background-color: #f5f7fa; }
.param-tip {
    font-size: 14px;
    color: #666;
    text-align: right;
    margin-top: 10px;
}

/* 产品优势网格 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}
@media (max-width: 1024px) {
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .advantage-grid { grid-template-columns: 1fr; }
}
.advantage-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
}
.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.advantage-card i {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 12px;
}

/* 产品图集 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.gallery-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 640px) {
    .gallery-grid-4 { grid-template-columns: 1fr; }
}
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.gallery-img:hover { transform: scale(1.02); }

/* 锚点导航（粘性） */
.anchor-nav {
    position: static;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 100;
    padding: 10px 0;
    margin-bottom: 30px;
}
.anchor-nav a {
    text-decoration: none;
    color: #333;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 30px;
    transition: 0.2s;
}
.anchor-nav a:hover {
    background: #e8f5e9;
    color: var(--primary);
}
@media (max-width: 768px) {
    .anchor-nav { display: none; }
}

/* 浮动工具栏 */
.quick-toolbar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}
.quick-btn {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    font-size: 20px;
}
.quick-btn:hover {
    background: #1b5e20;
    transform: scale(1.05);
}

/* 咨询按钮 */
.consult-btn {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.consult-btn:hover { background-color: #1b5e20; }

/* 适用范围网格（两列） */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    margin-top: 30px;
}
.scope-list {
    list-style: disc;
    padding-left: 20px;
}
.scope-list li {
    margin-bottom: 8px;
    color: #555;
}

/* === 首页专用 === */
.banner {
    height: 400px;
    background: var(--primary);
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    margin-bottom: 30px;
}
.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}
.banner .content {
    position: relative;
    max-width: 1020px;
    padding: 0 15px;
}
.banner h1, .banner h2 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.25;
    font-weight: 700;
}
.banner p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 660px;
}
.banner .buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.section { padding: 40px 0; }

/* 咨询按钮区：收紧上下间距（覆盖 Tailwind my-10，避免页脚上方留白过大） */
#consult {
    margin-top: 16px;
    margin-bottom: 16px;
}
.bg-white { background: #fff; }
.text-center { text-align: center; }
.title {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
}
.desc {
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.card img {
    width: 100%;
    height: 200px;
    object-fit: contain;   /* contain:任意宽度下都完整显示产品图，不裁切 */
    background: #fff;
}
.card-body { padding: 15px; text-align: center; }
.card h4 {
    color: var(--primary);
    font-size: 18px;
}
.icon-box {
    width: 50px;
    height: 50px;
    background: #2A5E3320;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
}
.icon-box i { font-size: 22px; color: var(--primary); }

/* === 底部样式 === */
#footer-container, footer {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 50px 0 20px !important;
    width: 100%;
    margin-top: auto;        /* 新增：弹性布局下将 footer 推到底部（关键修复） */
    flex-shrink: 0;          /* 防止 footer 被压缩 */
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.6fr;
    gap: 24px;
    margin-bottom: 30px;
}
.footer-grid ul li { margin: 8px 0; }
.footer-grid a {
    color: #fff;
    opacity: 0.8;
}
.footer-grid a:hover {
    opacity: 1;
    text-decoration: underline;
}
/* 联系方式列：文字 + 二维码并排（信息在左，二维码在右，垂直居中） */
.footer-contact-body {
    display: flex;
    align-items: center;
    gap: 22px;
}
.footer-contact-body ul { flex: 1 1 0; min-width: 0; }
.footer-contact-body a i {
    width: 16px;
    display: inline-block;
    margin-right: 5px;
    opacity: .75;
}
.footer-qr { flex: 0 0 auto; text-align: center; }
.qr-img {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto;
    border-radius: 6px;
    background: #fff;   /* 二维码必须白底才可靠扫描 */
}
.qr-cap {
    display: block;
    max-width: 96px;   /* 与 .qr-img 同宽,文字在盒宽内折行,不外溢 */
    margin: 6px auto 0;
    font-size: 11px;
    line-height: 1.35;
    opacity: .65;
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* === 响应式 === */
/* 窄桌面（1081-1200px）：压缩导航间距，防止英文模式下换行 */
@media (max-width: 1200px) and (min-width: 1081px) {
    .nav-main { gap: 2px; }
    .nav-link { padding: 8px 7px; font-size: 14px; }
    .btn-primary { padding: 8px 12px; font-size: 14px; }
    .logo-area p { font-size: 17px; }
}
/* 1080 以下改用汉堡菜单：1024 笔记本/iPad 横屏下导航项 + 长公司名必然放不下一行 */
@media (max-width: 1280px) {
    .logo-divider, .logo-name { display: none; }
}
@media (max-width: 1080px) {
    .nav-main, .lang-group { display: none; }
    #menu-btn { display: block; }
    body { padding-top: 70px; }
    .grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    body { padding-top: 64px; }
    /* 手机端页头：压缩内边距，公司名单行截断，避免固定头变高遮住内容 */
    .nav-container { padding: 8px 0; }
    .logo-area img { height: 34px; width: auto; }
    .logo-area p { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 56vw; }
    #menu-btn { font-size: 22px; }
    .grid { grid-template-columns: 1fr; }
    .product-show { grid-template-columns: 1fr; }
    .scope-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
    .footer-contact-col { grid-column: 1 / -1; }
    .banner-text-layer h2 { font-size: 24px; }
    .param-table th, .param-table td { padding: 8px 5px; font-size: 12px; }
}
/* 页面内联的三/四列栅格：平板折成 2 列、手机折成 1 列，避免横向溢出
   （这些栅格写在 style="" 属性里，必须用 !important 才能覆盖） */
@media (max-width: 900px) {
    [style*="repeat(4,1fr)"], [style*="repeat(4, 1fr)"],
    [style*="repeat(3,1fr)"], [style*="repeat(3, 1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 520px) {
    [style*="repeat(4,1fr)"], [style*="repeat(4, 1fr)"],
    [style*="repeat(3,1fr)"], [style*="repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
    .footer-contact-col { grid-column: 1 / -1; }
    .qr-img { width: 78px; height: 78px; }
    .qr-cap { max-width: 78px; }
    .banner { height: 300px; }
    .banner h2 { font-size: 20px; }
}

/* === 工具颜色类 === */
.bg-primary { background-color: var(--primary); }
.text-primary { color: var(--primary); }
.border-primary { border-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.text-secondary { color: var(--secondary); }
.hover\:bg-primary:hover { background-color: var(--primary); }
.hover\:text-primary:hover { color: var(--primary); }

/* ===================== 图片图集悬浮放大 + 弹窗预览 统一全局样式 ===================== */
/* 图集图片hover放大优化，和全站hover风格统一 */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* 大图弹窗遮罩层 */
.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.image-modal.show {
    display: flex;
}
.modal-inner {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}
.modal-img {
    max-width: 100%;
    max-height: 90vh;
    border: 4px solid #ffffff;
    border-radius: 4px;
}
.modal-close {
    position: absolute;
    top: -36px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    user-select: none;
}
.modal-close:hover {
    opacity: 0.7;
}

/* SEO 区块相关产品按钮 */
.rp-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 22px;
    background: var(--primary, #2E7D32);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}
.rp-btn:hover { background: #1b5e20; color: #fff; }

/* === 工作原理图文版式（左图右文）=== */
.principle-layout {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 20px;
}
.principle-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.principle-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
.principle-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}
@media (max-width: 768px) {
    .principle-layout { grid-template-columns: 1fr; }
}


/* 原理区部件明细 */
.principle-parts {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.principle-parts h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
}

/* 结构图部件清单：两列编号列表，序号与结构图图注一致 */
.parts-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    margin: 0;
    padding-left: 22px;
    color: #334155;
    font-size: 14px;
    line-height: 1.9;
}
.parts-list li::marker {
    color: var(--primary);
    font-weight: 600;
}
@media (max-width: 600px) {
    .parts-list { grid-template-columns: 1fr; }
}

/* ============================================================
   全站统一文字层级规范（同等等级 = 同样大小/字重/颜色）
   颜色：标题主色 var(--primary)  #2A5E33
         正文      #374151
         次要/说明 #6b7280
   ============================================================ */

/* H1：Banner 大标题（产品页 banner h1 / 首页 banner h2） */
.banner-container h1,
.banner h2 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

/* 首页 hero 标题：加大字号并放宽文字区，桌面端单行展示 */
.banner h1 {
    font-size: 40px;
    line-height: 1.25;
}
@media (max-width: 768px) {
    .banner h1 { font-size: 27px; }
}

/* H2：产品概述标题（intro 区 h2） */
.product-desc h2,
h2.lang[data-key="overview"] {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
}

/* H3：各 section 大标题（工作原理/参数/优势/FAQ 等） */
.section-title,
h3.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark, #1f2937);
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    margin-bottom: 24px;
    display: inline-block;
}

/* 表格小标题（经典型/5X型 等） */
.table-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 24px 0 12px;
}

/* H4：卡片标题（优势卡/应用卡/升级亮点卡/部件明细） */
.advantage-card h4,
.principle-parts h4,
h4.font-semibold {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

/* 正文段落（产品描述/原理说明/FAQ 答案） */
.product-desc p,
.prose p,
.faq-list p {
    font-size: 16px;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* 卡片小字/说明 */
.advantage-card p,
.advantage-card p.text-sm {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* 表格文字 */
.param-table th {
    font-size: 14px;
    font-weight: 700;
}
.param-table td {
    font-size: 14px;
    color: #374151;
}

/* 注释/提示语 */
.param-tip,
.gallery-note,
p.text-center.text-gray-500 {
    font-size: 14px;
    color: #6b7280;
}

/* FAQ 问题 */
.faq-list summary {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

/* 锚点导航 */
.anchor-nav a {
    font-size: 14px;
    font-weight: 500;
}

/* 咨询按钮 */
.consult-btn {
    font-size: 16px;
    font-weight: 700;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .banner-container h1,
    .banner h2 { font-size: 24px; }
    .product-desc h2 { font-size: 20px; }
    .section-title { font-size: 19px; }
    .table-subtitle { font-size: 16px; }
    .advantage-card h4,
    h4.font-semibold { font-size: 16px; }
    .product-desc p,
    .prose p,
    .faq-list p { font-size: 15px; }
}


/* === 补丁：Tailwind 裁剪构建缺失的工具类（改 HTML 用到新类后需同步补这里或重建 tailwind） === */
.object-contain { object-fit: contain; }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.col-span-3 { grid-column: span 3 / span 3; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05); }
.bg-gray-300 { background-color: #d1d5db; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-green-700 { background-color: #15803d; }
.bg-green-800 { background-color: #166534; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.text-green-800 { color: #166534; }
.text-blue-600 { color: #2563eb; }
.text-amber-600 { color: #d97706; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.opacity-80 { opacity: .8; }
.border-2 { border-width: 2px; }
.border-white { border-color: #fff; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.mt-3 { margin-top: .75rem; }
.mt-8 { margin-top: 2rem; }
.mr-2 { margin-right: .5rem; }
.mr-3 { margin-right: .75rem; }
.mb-6 { margin-bottom: 1.5rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: .5rem; }
.flex-nowrap { flex-wrap: nowrap; }
.w-1\/2 { width: 50%; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-none { max-width: none; }

/* === 导航防换行(≥1081 桌面):西语标签较长,禁止折行,靠缩短文案+压缩间距解决 === */
@media (min-width: 1081px) {
    .nav-container { flex-wrap: nowrap; }
    .nav-main { flex-wrap: nowrap; min-width: 0; }
}
@media (min-width: 1081px) and (max-width: 1400px) {
    .logo-area p { font-size: 17px; }
    .nav-main { gap: 4px; }
    .nav-link { padding: 8px 10px; font-size: 15px; }
}

/* === 皮带机页「定制机型」区块(移动式/伸缩式/卸料小车) === */
.ct-intro {
    color: #374151;
    line-height: 1.8;
    margin: 12px 0 24px;
}
.custom-list { display: flex; flex-direction: column; gap: 24px; }
.custom-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    background: #fff;
    border: 1px solid #e3ece2;
    border-radius: 10px;
    padding: 18px;
}
/* ≥1080 才启用「图左文右」双栏;900~1080 的中窄窗口上下堆叠,正文保持全宽,避免被 360px 图挤成半宽 */
@media (min-width: 1080px) {
    .custom-item { grid-template-columns: 360px 1fr; gap: 24px; align-items: start; }
}
.custom-media { width: 100%; }
/* 占位框:有实拍图后整体换成 <img class="custom-img"> 即可 */
.img-ph {
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed #b9cdb6;
    border-radius: 8px;
    background: repeating-linear-gradient(45deg, #f3f7f2, #f3f7f2 12px, #ecf2ea 12px, #ecf2ea 24px);
    color: #7d9679;
    font-size: 13px;
}
.img-ph i { font-size: 26px; }
.custom-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: contain;
    background: #fff;
}
.custom-body h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px;
    line-height: 1.4;
}
.custom-body p {
    color: #374151;
    line-height: 1.8;
    margin: 0 0 12px;
    font-size: 15px;
}
.custom-spec {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}
.custom-spec li {
    font-size: 14px;
    color: #374151;
    background: #f2f7f1;
    border-radius: 4px;
    padding: 5px 11px;
    margin: 0;
}
.custom-spec li span { color: #6b7280; }
.custom-spec li span::after { content: ":"; }
.custom-spec li b { font-weight: 600; color: #1f2937; margin-left: 4px; }
.custom-use {
    font-size: 14px !important;
    color: #4b5563 !important;
    border-left: 3px solid var(--primary);
    padding-left: 10px;
    margin-bottom: 0 !important;
}

