/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    /*overflow-x: hidden;*/
    min-width: 1440px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn-primary {
    width: 183px;
    height: 50px;
    display: inline-block;
    background-color: #FFD100;
    color: #232323;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #FFE040;
}

.btn-secondary {
    width: 183px;
    height: 50px;
    display: inline-block;
    background-color: #fff;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    line-height: 50px;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #FFD100;
}

/* 导航栏 */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.3s ease;
}

nav.scrolled {
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(5px);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.logo span {
    font-size: 10px;
    display: inline-block;
    vertical-align: top;
}

.nav-links {
    margin-left: 300px;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a.active,
.nav-links a:hover {
    border-bottom-color: #FFD100;
    color: #FFD100;
}

.nav-icons {
    display: flex;
    gap: 25px;
    color: #fff;
}

.nav-icons a:hover {
    color: #FFD100;
}

.mobile-menu-btn {
    display: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* 英雄区 */
.hero {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    cursor: pointer;
}


/* 通用区块样式 */


.section-title {
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 50px;
}

/* 热门产品 */
.popular-products {
    padding-top: 80px;
    padding-bottom: 100px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 45px;
}

.product-card {
    height: 380px;
    background-color: #f5f5f5;
    border: 1px solid #eee;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    background-color: #FFD100;
}

.product-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.product-image img {
    max-height: 180px;
    object-fit: contain;
}

.product-info {
    width: 100%;
    margin-top: auto;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-info a {
    font-size: 14px;
    color: #f76e00;
}

.product-info a:hover {
    text-decoration: underline;
}

.section-center {
    text-align: center;
}

/* 产品分类 */
.categories-grid {
    margin: 0 auto;
    width: 100%;
    max-width: 1880px;
    min-width: 1440px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.category-card {
    width: 49%;
    max-width: 928px;
    min-width: 600px;
    height: 559px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 35px;
}



.category-card h2 {
    position: relative;
    z-index: 1;
    font-size: 50px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.category-card button {
    position: relative;
    z-index: 1;
}


/* 关于我们 */
.about-us {
    padding: 80px 0;
    max-width: 1440px
    margin:0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.about-text p {
    font-size: 18px;
    color: #363636;
    margin-bottom: 15px;
}

.video-placeholder {
    width: 1440px;
    height: 409px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-placeholder video{
    width: 100%;
    cursor: pointer;
}




/* 产品样例 */
.product-samples {
    margin: 0 auto;
    padding-top: 30px;
    background-color: #f7f7f7;
    width: 100%;
    padding-bottom: 100px;
}

.samples-slider {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 1440px;
}

.samples-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.sample-card {
    background-color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    height: 280px;
}
.sample-card:hover{
    background-color: #FFD100;
}
.sample-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.sample-image img {
    max-height: 160px;
    object-fit: contain;
}

.sample-card h3 {
    font-size: 12px;
    font-weight: 500;
    margin-top: 15px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background-color: #f5f5f5;
}

.slider-arrow.prev {
    left: -20px;
}

.slider-arrow.next {
    right: -20px;
}

/* 工厂视频 */
.factory-video {
    width: 100%;
    height: 346px;
    border: 1px solid #000;
}



/* 展会信息 */
.exhibitions {
    padding: 100px 0;
}

.exhibitions-slider {
    position: relative;
    margin-bottom: 45px;
}

.exhibitions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.exhibition-card {
    width: 459px;
    height: 308px;
    background-size: cover;
    background-position: center;
}

/* 合作伙伴 */
.partners {
    background-color: #f7f7f7;
    padding-top: 70px;
    padding-bottom: 70px;
}

.partners-grid {
    width: 1440px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.partner-logo {
    height: 90px;
}

.partner-logo:hover {
    opacity: 1;
}
.partners .section-title{
    color: #888;
    font-size: 30px;
}


/* 页脚 */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.footer-column p{
    font-size: 14px;
    color: #999;
    line-height: 2;
}
.footer-column a {
    font-size: 14px;
    color: #fff;
    line-height: 2;
}

.footer-column a:hover {
    color: #FFD100;
}

.footer-links {
    list-style: none;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #999;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 16px;
}

.social-icons a:hover {
    color: #FFD100;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .samples-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .exhibitions-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .samples-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.prod_banner{
    height: 400px;
    margin: 0 auto;
}


ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    display: block;
    max-width: 100%;
}

/* ========== 面包屑导航样式 ========== */
.dhbg {
    background-color: #fff;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}
.dh {
    width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 14px;
    color: #818181;
    display: flex;
    flex-direction: row;
    line-height: 18PX;
}
.dh a p {
    display: inline;
    margin-right: 8px;
}
.dh a{
    display: flex;
    flex-direction: row;
    margin-right: 10px;
}
.dh a img{
    width: 16px;
    height: 15px;
    margin-right: 10px;
}
/* ========== 产品详情主体容器 ========== */
.product_info_bg {
    padding: 40px 0;
    background: #f7f7f7;
}
.prod_info {
    width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

/* ========== 左侧边栏：分类 + 推荐 ========== */
.left {
    width: 360px;
    flex-shrink: 0;
}
/* 产品分类模块 */
.prod_type h1 {
    font-size: 40px;
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 2px solid #000;
}
.prod_type ul{
    border-bottom: 2px solid #000;
}
.prod_type ul li {
    border-bottom: 1px solid #ddd;
    height: 65px;
}
.prod_type ul .active{
    background: #746767;
    color: #fff;
    text-align: center;
}

.prod_type ul li a {
    display: block;
    line-height: 65px;
    transition: background-color 0.2s ease;
    font-weight: bold;
}
.prod_type ul li a:hover {
    background-color: #f0f0f0;
}

/* 推荐产品模块 */
.prod_list {
    margin-top: 80px;
}
.prod_list h1 {
    font-size: 40px;
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 2px solid #000;
}
.prod_list ul li {
    margin-top: 18px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 18px;
}
.prod_list ul li a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.prod_list ul li img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}
.prod_list ul li div{
    height: 100px;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.prod_list ul li p {
    font-size: 16px;
    /*margin-bottom: 6px;*/
}
.prod_list ul li span {
    font-size: 14px;
    color: #f76e00;
}

/* ========== 右侧主内容区 ========== */
.right {
    width: 1020px;
}
/* 产品图片 + 参数区域 */
.prod_parameter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    background: #fff;
    padding-bottom: 60px;
}

/* 图片轮播区域 */
.img_list .bigimg {
    width: 440px;
    height: 440px;
    border: 1px solid #eee;
    margin-bottom: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-left: 20px;
}

.smallimg ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-left: 20px;
    width: 440px;
}
.smallimg ul li img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s;
}
/* 选中缩略图高亮（匹配原图黄色主题） */
.smallimg ul li img.active {
    border-color: #ffd100;
}
.smallimg ul li img:hover {
    border-color: #ffd10080;
}

/* 产品参数信息 */
.prod_msg h1 {
    margin-top: 20px;
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 1.3;
}
.prod_msg h2 {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.prod_msgs p {
    display: flex;
    margin-bottom: 10px;
    font-size: 14px;
}
.prod_msgs p span {
    width: 140px;
    font-weight: bold;
    color: #555;
    flex-shrink: 0;
}
.prod_msgs p b {
    flex: 1;
    color: #333;
    font-weight: normal;
}
/* 咨询按钮 */
.prod_inquiry {
    margin-top: 24px;
}
.prod_inquiry img {
    cursor: pointer;
    border: none;
    display: inline-block;
    transition: opacity 0.2s;
}
.prod_inquiry img:hover {
    opacity: 0.9;
}

/* 产品详情区域 */
.prod_detail {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    min-height: 200px;
    background: #fff;
}
.prod_detail h1{
    font-size: 24px;
    color: #232323;
    margin-top: 25px;
    margin-left: 25px;
}
.prod_detail .prod_content{
    margin: 0 auto;
    width: 940px;
    margin-top: 30px;
}

/* ========== 询价弹窗样式 ========== */
/* 遮罩层 */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

/* 弹窗主体 */
.inquiry-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    width: 92%;
    max-width: 1120px;
    padding: 48px;
    display: none;
    z-index: 1000;
}

/* 关闭按钮 */
.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    padding: 0 8px;
}

.inquiry-modal h2 {
    font-size: 44px;
    font-weight: bold;
    margin-bottom: 36px;
    text-transform: uppercase;
}

/* 表单布局 */
.inquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}
.inquiry-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.inquiry-form .form-group.full-width {
    grid-column: 1 / -1;
}
.inquiry-form label {
    font-size: 16px;
}
.inquiry-form input,
.inquiry-form textarea {
    padding: 12px 16px;
    border: 1px solid #222;
    font-size: 16px;
}
.inquiry-form textarea {
    min-height: 170px;
    resize: none;
}
.submit-btn {
    margin-top: 36px;
    background-color: #ffeb00;
    border: none;
    padding: 16px 50px;
    font-size: 18px;
    cursor: pointer;
    width: fit-content;
}

/* 弹窗显示状态 */
.modal-mask.show,
.inquiry-modal.show {
    display: block;
}


.contactus{
    width: 1100px;
    margin: 0 auto;
    margin-top: 60px;
    margin-bottom: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.contactus .left{
    width: 500px;
}
.contactus .left h1{
    font-size: 30px;
    color: #888888;
     margin-bottom: 30px;
}
.contactus .left h2{
    font-size: 24px;
    color: #888888;
}
.contactus .left p{
    font-size: 18px;
    color: #888888;
    margin-bottom: 30px;
}

.contactus .right{
    width: 500px;
}

.contactus .right h1{
    font-size: 30px;
    color: #888888;
     margin-bottom: 30px;
}
.contactus .right p{
    font-size: 18px;
    color: #888888;
    margin-bottom: 30px;
}


/* 产品列表容器 */
.right .prodlist {
    width: 100%;
}

/* 清除ul默认圆点、内边距 */
.right .prodlist ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* 自动换行 */
    gap: 25px; /* 卡片之间间距 */
}

/* 单个产品卡片 */
.right .prodlist ul li {
    width: 220px; /* 四列均分 (1020 - 3*25) /4 = 236 */
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease; /* 过渡动画统一 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding-top: 15px;
}

/* 鼠标悬浮卡片交互：上浮+加深阴影 */
.right .prodlist ul li:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* 链接铺满整个卡片，取消下划线 */
.right .prodlist ul li a {
    display: block;
    text-decoration: none;
    color: #333;
}

/* 产品图片 */
.right .prodlist ul li a img {
    width: 100%;
    height: 260px;
    transition: transform 0.4s ease;
}

/* 图片悬浮轻微放大 */
.right .prodlist ul li:hover a img {
    transform: scale(1.05);
}

/* 文字信息区域 */
.right .prodlist ul li a div {
    padding: 14px 16px;
}

/* 产品名称 */
.right .prodlist ul li a div h2 {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 文字过长省略号 */
    margin-bottom: 6px;
}

/* 创建时间小字 */
.right .prodlist ul li a div p {
    font-size: 12px;
    color: #999;
}

/* Details按钮 */
.right .prodlist ul li a span {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: #666;
    border-top: 1px solid #f5f5f5;
    transition: color 0.3s;
}

/* 悬浮按钮文字变色 */
.right .prodlist ul li:hover a span {
    color: #2563eb; /* 主题蓝色 */
}



.prodlist .sub_list{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    
}
.prodlist .sub_list li{
    list-style: none;
    width: 300px;
    height: 50px;
    border:1px solid #b1abab;
    border-radius: 5px;
    margin-bottom: 20px;
    margin-right: 20px;
}
.prodlist .sub_list .active{
     background: #b1abab;
}
.prodlist .sub_list li:hover{
    background: #b1abab;
}
.prodlist .sub_list a{
    display: block;
    text-align: center;
    font-size: 20px;
    line-height: 50px;
}




