﻿/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}
/* ========== 全局统一标题样式 ========== */
/* H1 基础 */
.h1 {
    font-size: 32px;
    /*color: #2c3e50;*/
    margin: 0 0 15px 0;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #222;
}

/* H1 加粗 */
.h1-bold {
    font-weight: 700;
}
/* H1 带下划线 */
.h1-line {
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

/* H2 基础 */
.h2 {
    font-size: 26px;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.3;
}
/* H2 加粗 */
.h2-bold {
    font-weight: 700;
}
/* H2 带下划线 */
.h2-line {
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}
/* H3 基础 */
.h3 {
    font-size: 18px;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.4;
}
/* H3 加粗 */
.h3-bold {
    font-weight: 700;
}
/* H3 带下划线 */
.h3-line {
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

/* 清除所有标题默认边距，避免间距爆炸 */
h1, h2, h3 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}
/* 通用按钮 */
.common-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 18px;
    background: #234b80;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.25s;
}

    .common-btn:hover {
        background: #193861;
    }
.common-align {
    text-align:center;
}
body {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    padding-top: 80px;
}

/* 容器 */
.container {
    width: 100%;
    margin: 0 auto 10px auto;
}

/* 导航 100% 宽度 */
.nav {
    display: flex;
    background: rgba(40,44,48,0.85);
    width: 100%;
    min-height: 80px;
    height: auto; /* 关键：替换固定height → 自适应行数 */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    /*padding: 15px 0;*/
}

/* 导航内部：左右分栏，强制同行，绝对不换行 */
.nav-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
}

/* 左侧：LOGO + 菜单 同行 */
.left-group {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: nowrap;
}

.logo {
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    text-decoration: none;
}

ul.menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
}

    ul.menu > li {
        position: relative;
        padding: 12px 16px;
        cursor: pointer;
    }
        /* 一级菜单：白色字体 */
        ul.menu > li > a {
            text-decoration: none;
            color: #ffffff;
            font-size: 15px;
            transition: all 0.25s ease;
            position: relative;
        }
            /* 一级菜单hover下划线，白色线条 */
            ul.menu > li > a::after {
                content: "";
                position: absolute;
                left: 0;
                bottom: -4px;
                width: 0;
                height: 1px;
                background: #fff;
                transition: width 0.25s ease;
            }

        ul.menu > li:hover > a::after {
            width: 100%;
        }
        /* 当前激活菜单，蓝色文字 */
        ul.menu > li.active > a {
            color: #0066cc;
        }

            ul.menu > li.active > a::after {
                background: #0066cc;
                width: 100%;
            }

/* 二级下拉菜单 */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 14px 18px;
    /*min-width: 300px;*/
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 2px;
    white-space: nowrap;
}

ul.menu > li.dropdown:hover .submenu {
    display: block;
}

.submenu > li {
    position: relative;
    padding: 9px 0;
}
    /* 二级大类带右侧箭头 */
    .submenu > li.has-sub > a::after {
        content: "  >";
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
    }

    .submenu > li > a {
        display: block;
        text-decoration: none;
        color: #222;
        font-size: 14px;
        transition: color 0.2s;
        padding-right: 16px;
    }

        .submenu > li > a:hover,
        .submenu > li > a:active,
        .submenu > li:hover > a {
            background-color: #dd2222;
            color: #ffffff;
        }

/* 三级小类面板：在二级右侧弹出 */
.horizontal-sub {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 14px 18px;
    /*min-width: 300px;*/
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 2px;
    list-style: none;
    margin: 0;
    white-space: nowrap;
}
/* hover二级大类，显示右侧三级 */
.submenu > li.has-sub:hover .horizontal-sub {
    display: block;
}

.horizontal-sub > li {
    padding: 9px 0;
}

    .horizontal-sub > li > a {
        display: block;
        white-space: nowrap;
        text-decoration: none;
        color: #555;
        font-size: 13px;
        transition: color 0.2s ease;
    }

        .horizontal-sub > li > a:hover,
        .horizontal-sub > li > a:active {
            background-color: #dd2222;
            color: #ffffff;
        }


/* 右侧语言：强制同行 */
.lang-group {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-wrap: nowrap;
    position: relative;
}

    .lang-group a, .lang-group .lang-btn {
        color: #fff;
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 14px;
    }

    .lang-group .split {
        color: #fff;
    }

.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 🔥 图标点击 */
.lang-icon {
    cursor: pointer;
    color: #fff;
    font-size: 16px;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 下拉框 */
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #333;
    padding: 10px;
    min-width: 260px;
    z-index: 9999;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    color: #fff;
}

/* 轮播 100%宽度，高度正好满屏 */
.slider {
    width: 100%;
    height: calc(100vh - 80px);
    overflow: hidden;
    position: relative;
}
.slider-wrap {
    width: 100%;
    height: 100%;
}
.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-out;
    z-index: 1;
}
.slider-item.active {
    opacity: 1;
    z-index: 2;
}
.slider-item.leave {
    opacity: 0;
    z-index: 1;
}
.slider-item video,
.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slider-title {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    font-size: 40px;
    text-shadow: 0 0 6px rgba(0,0,0,0.6);
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9;
    border-radius: 50%;
    border: none;
}
.slider-arrow.prev {
    left: 20px;
}
.slider-arrow.next {
    right: 20px;
}
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dot {
    width: 45px;
    height: 7px;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}
.slider-dot.active {
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
}



/* 其他页面横幅，长度100%，高度：120px */
.banner {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    overflow: hidden;
}

    .banner img {
        width: 100%;
        height: 240px;
        display: block;
        object-fit: cover;
    }

/* 内容区 80%居中 */
.section {
    width: 80%;
    margin: 30px auto 0 auto; /* 关键：统一控制模块间距，最后一个值是模块间距 */
    padding: 0;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

    .breadcrumb img {
        vertical-align: middle;
    }

    .breadcrumb a {
        color: #444;
        text-decoration: none;
        transition: color 0.2s;
    }

        .breadcrumb a:hover {
            color: #0066cc;
        }
/* ====================== 新闻区域样式 ====================== */
/* 新闻列表 */
.news-box {
    display: flex;
    gap: 20px;
    /*margin-bottom: 30px;*/
    align-items: flex-start;
}

/* 基础间距 */
.news-item {
    /*margin-bottom: 30px;*/
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
/* 图片宽度 */
.news-img {
    width: 180px;
    flex-shrink: 0;
}

    .news-img img {
        width: 100%;
        height: 135px;
        object-fit: cover;
        display: block;
    }
        .news-img img:hover {
            transform: scale(1.05);
        }
/* 内容区域 */
.news-text {
    flex: 1;
}

    .news-text h2 {
        font-size: 18px;
        font-weight: 600;
        color: #222;
        margin: 0 0 5px 0;
        transition: color 0.2s;
    }
    .news-text a {
        text-decoration: none;
    }

        .news-text a:hover h2 {
            color: #0066cc;
        }

/* 新闻信息：日期 / 作者 / 阅读量 */
.news-info {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
}

/* 新闻内容 */
.news-content {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

/* 新闻详情 */
.news-detail {
    width: 100%;
    margin: 20px auto;
    padding: 0 15px;
}

.news-detail-title {
    font-size: 28px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-detail-info {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.news-detail-img {
    /*margin: 10px 0;*/
    text-align: center;
}

    .news-detail-img img {
        /*max-width: 100%;*/
        width: 250px;
        height: auto;
        display: inline-block;
        border-radius: 4px;
    }

        .news-detail-img img:hover {
            transform: scale(1.05);
        }
/* 新闻内容 */
.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    word-break: break-all;
    margin: 30px 0 50px 0;
}

    /* 段落首行缩进 —— 真正生效 */
    .news-detail-content p {
        margin-bottom: 20px;
        text-indent: 2em;
    }

/* 返回按钮 */
.news-detail-back-box {
    text-align: center;
    margin-top: 30px;
}

.news-detail-back-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

    .news-detail-back-btn:hover {
        background: #34495e;
    }

/* ====================== 产品区域样式 ====================== */
/* 产品分类 */
.cate-wrap {
    margin: 0 auto 10px auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .cate-wrap::before,
    .cate-wrap::after {
        content: "";
        flex: 1;
        height: 2px;
        background: #eee;
    }

    .cate-wrap a.wrap.active {
        font-weight: bold;
        font-size: 24px;
        color: #2563eb;
        background: #f5f8ff ;
        padding: 5px 10px;
        border-radius: 30px;
        text-decoration: none;
    }

    .cate-wrap a {
        background: transparent ;
        margin: 0;
    }

        .cate-wrap a:hover {
            background: #f0f6ff ;
        }
.cate-title {
    margin: 0 auto 25px auto;
    width: 100%;
    display: flex;
    text-indent: 2em;
    gap: 10px;
}

/* 产品网格布局：4个一行 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

/* 产品卡片 */
.product-item {
    border: 1px solid #dddddd;
    background: #f1f1f1; /* 浅灰色背景 */
    border-radius: 10px; /* 去掉圆角，直角 */
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    margin-top: 5px;
}

    .product-item:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
/* 图片外层容器，用来裁剪放大溢出部分 */
.product-item-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
    /* 产品图片 */
    .product-item-img img {
        width: 90%;
        height: 90%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }
        .product-item-img img:hover {
            transform: scale(1.05);
        }
/* 产品信息 */
.product-info {
    padding: 10px;
    width:100%;
}

.product-model {
    text-align:center;
    font-size: 20px;
    font-weight: bold;
    color: #0a1e3c;
    margin-bottom: 4px;
}
.param {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}
.param-wrap {
    display: flex;
    flex-wrap: wrap; /* 自动换行 */
    margin-bottom: 12px;
}
/* 每一组【名称+值】占50%宽度，一行放2组 */
.param-item {
    display: flex;
    width: calc(50% - 5px); /* 减去gap宽度，防止挤到下一行 */
    border: 1px solid #ccc; /* 统一细边框 */
    margin-top: -1px; /* 上下相邻行边框重叠，避免出现双线 */
    background: #fff;
}
.param-name {
    width: 40%;
    background: #f5f5f5;
    padding: 3px;
    font-size: 13px;
    border-right: 1px solid #ccc; /* name 与 value 之间的竖分隔线，与整体一致 */
    box-sizing: border-box;
    white-space: normal; /* 允许自动换行 */
    word-wrap: break-word; /* 长英文/长单词强制换行 */
}

.param-value {
    width: 60%;
    padding: 3px;
    font-size: 13px;
    box-sizing: border-box;
    white-space: normal; /* 允许自动换行 */
    word-wrap: break-word; /* 长英文/长单词强制换行 */
}
/* 表格整体样式 */
.Param-tb {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

    /* 单元格样式 */
    .Param-tb td {
        padding: 10px 15px;
        border-bottom: 1px solid #ddd;
        color: #555;
    }

    /* 偶数行背景色 */
    .Param-tb tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    /* 鼠标悬停效果 */
    .Param-tb tr:hover {
        background-color: #f5f5f5;
        transition: background-color 0.3s;
    }

    /* 边框样式 */
    .Param-tb,
    .Param-tb td {
        border: 1px solid #ddd;
    }

/* 产品网格布局：5个一行 */
.product-feat {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 10px;
}
/* ====================== 关于我们区域样式 ====================== */

.content {
    line-height: 1.9;
    font-size: 16px;
    color: #444;
    margin-top: 10px;
}

    .content p {
        margin-bottom: 10px;
    }

    .content ul {
        margin-left: 30px;
        margin-bottom: 10px;
    }

    .content li {
        margin-bottom: 10px;
    }

/* 发展历程特殊样式 */
.history-list {
    position: relative;
    padding-left: 40px;
}

    .history-list::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #3498db;
    }

.history-item {
    position: relative;
    margin-bottom: 10px;
}

    .history-item::before {
        content: '';
        position: absolute;
        left: -34px;
        top: 5px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #3498db;
        border: 3px solid #fff;
        box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3);
    }


/* 企业文化图标区 */
.culture-box {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 10px;
}

.culture-item {
    flex: 1;
    min-width: 250px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s;
}   
.culture-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.culture-icon {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 15px;
}

/* 图标、h3 单独居中 */
.culture-icon,
.culture-item h3 {
    text-align: center;
}

/* 核心优势列表 */
.advantage-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.advantage-item {
    flex: 1;
    min-width: 280px;
    background: #fff;
    padding: 25px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}


/* 联系我们图标区 */

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.contact-left {
    flex: 1;
    min-width: 300px;
}

.contact-right {
    flex: 1;
    min-width: 300px;
}
.contact-item {
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

    .contact-item img {
        width: 45px;
        height: 45px;
        object-fit: contain;
        transition: 0.2s;
    }

        .contact-item img:hover {
            transform: scale(1.1);
        }

    .contact-item .txt {
        font-size: 14px;
        margin-top: 4px;
        display: block;
    }

/* 微信二维码弹窗 */
.mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
}

.qrcode-wrap {
    position: absolute;
}

.qrcode-box {
    position: absolute;
    background: #fff;
    padding: 0px;
    border-radius: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
}
    .qrcode-box img {
        width: 120px;
        height: 120px;
    }
.info-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #222;
}

.info-item {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.message-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

textarea.form-control {
    min-height: 120px;
}

.submit-btn {
    background: #0066cc;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 底部 */
.footer {
    background: rgba(40,44,48,0.85);
    /*background: #999;*/
    color: #fff;
    padding: 10px 0 10px;
}
.footer-row {
    display: grid;
    /*grid-template-columns: repeat(4, 1fr);*/
    grid-template-columns: 20% 35% 20% 25%;
    gap: 10px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-col ul {
    list-style: none;
}

    .footer-col ul li {
        margin-bottom: 10px;
    }

        .footer-col ul li a {
            color: #cccccc;
            text-decoration: none;
            transition: color 0.2s;
        }

            .footer-col ul li a:hover {
                color: #fff;
            }
/* 分隔线 */
.divider {
    height: 1px;
    background: #eee;
    margin: 10px 0;
}

.copyright {
    text-align: center;
    color: #aaa;
    font-size: 14px;
}
/* 移动端：4列变成1列 */
/* 平板：2列 */
@media (max-width: 1024px) {
    .footer-row {
        grid-template-columns: 50% 50%;
    }
}

/* 手机：1列 */
@media (max-width: 768px) {
    .footer-row {
        grid-template-columns: 1fr;
    }
}

/* 产品样式：奇偶行交替 */
/* 核心：实现区域内滚动 + 吸顶滚动 + 隐藏滚动条 */
.cate-page {
    display: flex;
    width: 100%;
    margin: 8px auto;
    gap: 6px;
    height: 780px;
    box-sizing: border-box;
    /*padding: 0 15px;*/
    align-items: flex-start;
    /* 关键：实现区域滚动锁定 */
    overflow: hidden;
    scroll-snap-type: y mandatory;
}

*
/* ====================== 左侧分类（固定不动） ====================== */
.left-cate {
    width: 20%;
    background: #fff;
    padding: 6px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    flex-shrink: 0;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 10;
    height: 780px;
}

    .left-cate h3 {
        font-size: 16px;
        margin: 0 0 6px 0;
        color: #222;
        padding-bottom: 6px;
        border-bottom: 2px solid #e5e7eb;
    }
/* 大类：单独一行，加大行间距 */
.cate-parent {
    padding: 6px 0;
}

    .cate-parent a {
        font-size: 14px;
        color: #000;
        text-decoration: none; /* 取消下划线 */
        padding: 6px 6px;
        display: inline-block;
        border-radius: 4px;
    }
/* 小类：缩进，单独一行，加大间距 */
.cate-child {
    padding: 6px 0 6px 6px;
    /* 移除 display:flex */
}

.tree-icon {
    color: #666;
    /* 关键：span行内元素，▸&nbsp; 禁止在此处断行 */
    white-space: nowrap;
}

.cate-child a {
    font-size: 13px;
    color: #000;
    text-decoration: none;
    padding: 6px 6px;
    display: block; /* 推荐block，hover背景铺满 */
    border-radius: 4px;
    line-height: 1.5; /* 多行文字行高，美化换行 */
}
    /* hover active样式不变 */
    .cate-parent a:hover,
    .cate-child a:hover,
    .cate-parent a.active,
    .cate-child a.active,
    .cate-parent a:active,
    .cate-child a:active {
        background-color: #dd2222;
        color: #ffffff !important;
    }


/* ====================== 右侧内容（区域内滚动 + 隐藏滚动条） ====================== */
.right-content {
    width: 80%;
    flex: 1;
    /* 核心：内部滚动 + 隐藏滚动条 */
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox 隐藏 */
}

    /* Chrome / Edge / Safari 隐藏滚动条 */
    .right-content::-webkit-scrollbar {
        display: none;
    }

/* ====================== 产品样式（完全不变） ====================== */
.cate-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #dddddd;
}

    .cate-item.odd {
        flex-direction: row;
    }

    .cate-item.even {
        flex-direction: row-reverse;
    }
.cate-item-img {
    width: 40%;
    min-height: 320px; /* ✅ 最小高度，不是固定高度！下限320，内容变大它跟着变大 */
    overflow: hidden;
    border-radius: 8px;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}
    /* 产品图片 */
    .cate-item-img img {
        width: 90%;
        height: 90%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

        .cate-item-img img:hover {
            transform: scale(1.05);
        }
.cate-item-text {
    width: 60%;
}

/* 分页 */
.pager {
    text-align: center;
    margin-top: 20px;
}
    .pager span {
        padding: 4px 8px;
        display: inline-block;
    }
    .pager a {
        display: inline-block;
        padding: 7px 14px;
        margin: 0 4px;
        border-radius: 4px;
        text-decoration: none;
        background: #234b80; /* 调浅，不发黑 */
        color: #fff;
        font-size: 13px;
        transition: background 0.25s;
    }

        .pager a.active {
            background: #193861;
            color: #fff;
        }

        .pager a[disabled] {
            background: #869cb8; /* 禁用态浅一点 */
            color: #fff;
            cursor: not-allowed;
        }

        .pager a:hover:not([disabled]) {
            background: #193861;
        }

/* ====================== 产品应用 ====================== */
/* 轮播样式 */
.app-slider-container {
    position: relative;
    width: 100%;
    margin: 10px 0;
    overflow: hidden;
}

.app-slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.app-slider {
    display: flex;
    transition: transform 0.4s ease;
    gap: 15px; /* 间距 */
}

.app-slider-item {
    width: calc(20% - 12px); /* 5张平分屏幕 */
    flex-shrink: 0;
    border: 1px solid #dddddd;
}

    .app-slider-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 6px;
        display: block;
    }
/* 箭头 */
.app-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9;
    border-radius: 50%;
}

    .app-slider-arrow.prev {
        left: 0;
    }

    .app-slider-arrow.next {
        right: 0;
    }

/* 应用布局：3行4列 */
.apply-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 10px;
}

/* 应用方框 */
.apply-card {
    border: 1px solid #dddddd;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f1f1;
    transition: box-shadow 0.3s ease;
    height: 300px; /* 强制固定高度 */
    display: flex;
    flex-direction: column;
}

    .apply-card:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.apply-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

    .apply-card-img img {
        width: 90%;
        height: 90%;
        object-fit: contain;
        transition: transform 0.4s ease;
    }

        .apply-card-img img:hover {
            transform: scale(1.05);
        }

.apply-card-text {
    padding: 12px;
    text-align: center;
    flex: 1;
    overflow: hidden;
}

    .apply-card-text h3 {
        font-size: 16px;
        margin: 0 0 6px 0;
        color: #222;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .apply-card-text p {
        font-size: 13px;
        color: #666;
        line-height: 1.4;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
/* ====================== 产品明细 ====================== */
/* 外层左右50%布局 */
.img-container {
    display: flex;
    gap: 20px;
    width: 100%;
}

.img-container-left,
.img-container-right {
    width: 50%;
}

/* 左侧内部：竖排缩略图 + 大图 横向排列 */
.img-container-left {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* 垂直缩略图容器：核心修复这里 */
.small-img-box {
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 所有子元素水平居中 */
    gap: 8px; /* 统一间距，代替margin，更好控制 */
}

.arrow-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    color: #666;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    flex-shrink: 0; /* 防止按钮被压缩 */
}

    .arrow-btn:hover {
        border-color: #0066cc;
        color: #0066cc;
        background: #f5faff;
        transform: translateY(-1px);
    }

    .arrow-btn:active {
        transform: translateY(0);
    }

    .arrow-btn.disabled {
        border-color: #eee;
        color: #bbb;
        background: #fafafa;
        cursor: not-allowed;
        transform: none;
    }

.small-img-scroll {
    height: 312px; /* 78*4，严格4张高度 */
    overflow: hidden;
    width: 70px; /* 和缩略图宽度一致！！重点！之前是100%=90px，比图片宽，导致偏移 */
}

.small-img-list {
    transition: transform 0.3s ease;
}

.small-img-item {
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
    cursor: pointer;
    border: 2px solid transparent;
}

    .small-img-item:last-child {
        margin-bottom: 0;
    }

    .small-img-item.active {
        border-color: #0066cc;
    }

    .small-img-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* 大图区域 */
.big-img-box {
    flex: 1;
}

#mainBigImg {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

/* 右侧产品信息 */
.img-container-right {
    padding: 10px;
}

.img-right-title h2 {
    font-size: 22px;
    margin-bottom: 16px;
    text-align:center;
}

.img-container-right p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
}

.bnt-detail {
    display: inline-block;
    padding: 10px 20px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}
/* ====================== 询价、留言 ====================== */
.inquiry-container {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin: 30px auto;
    align-items: stretch;
}

.inquiry-left {
    flex: 1;
    width: 50%;    
    background-image: url('/App_Image/Image_Web/message.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 20px 20px;
    position: relative;
    /* 左侧布局完全保留原样不变 */
}

    .inquiry-left::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.45);
        z-index: 0;
    }

    .inquiry-left > * {
        position: relative;
        z-index: 1;
    }

.inquiry-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.inquiry-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.inquiry-divider {
    width: 100%;
    height: 1px;
    background: #fff;
    margin: 30px 0;
}

.inquiry-item {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.inquiry-icon {
    width: 60px;
    height: 60px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

    .inquiry-icon span {
        font-size: 24px;
    }

.inquiry-text {
    font-size: 18px;
}

.inquiry-right {
    flex: 1;
    width: 50%;
    padding: 20px 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.inquiry-form-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #000;
}

.inquiry-form-group {
    margin-bottom: 20px;
}

    .inquiry-form-group label {
        display: block;
        font-size: 16px;
        color: #555;
        margin-bottom: 8px;
    }

.inquiry-required {
    color: #f00;
}

.inquiry-input, .inquiry-textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #999;
    padding: 8px 0;
    font-size: 16px;
    outline: none;
}

    .inquiry-input:focus, .inquiry-textarea:focus {
        border-bottom-color: #40c9c6;
    }

.inquiry-textarea {
    min-height: 100px;
    resize: none;
}

.inquiry-submit {
    width: 100%;
    padding: 20px;
    background: #40c9c6;
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: auto;
}

    .inquiry-submit:hover {
        background: #33b0ad;
    }

@media (max-width:768px) {
    .inquiry-container {
        flex-direction: column;
    }

    .inquiry-left, .inquiry-right {
        padding: 20px 20px;
        width: 100%;
    }
}