*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Microsoft Yahei",sans-serif;
}
body{
    background:#f7f7f7;
    color:#333;
    line-height:1.7;
}
a{
    text-decoration:none;
    color:#333;
}
.container{
    max-width:1240px;
    margin:0 auto;
    padding:0 20px;
}
/*头部导航*/
header{
    background:#191919;
    color:#fff;
}
.header-box{
    max-width:1240px;
    margin:0 auto;
    padding:16px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.logo{
    font-size:26px;
    font-weight:bold;
    color:#ff7700;
}
.nav-bar a{
    color:#fff;
    margin:0 12px;
    font-size:16px;
}
.nav-bar a:hover{
    color:#ff7700;
}
/*banner横幅*/
.banner{
    height:340px;
    background:#222;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    background-size:cover;
    background-position:center;
    background-image:linear-gradient(rgba(0,0,0,0.65),rgba(0,0,0,0.65)),url("../uploads/images/banner.jpg");
}
.banner h1{
    font-size:40px;
    margin-bottom:10px;
}
.banner p{
    font-size:18px;
    opacity:0.92;
}
/*通用标题*/
.section-title{
    text-align:center;
    font-size:28px;
    margin:45px 0 28px;
}
.section-title::after{
    content:"";
    width:80px;
    height:3px;
    background:#ff7700;
    display:block;
    margin:10px auto 0;
}
/*产品卡片*/
.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:26px;
    margin-bottom:50px;
}
.pro-card{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 14px #ddd;
    transition:0.3s;
}
.pro-card:hover{
    transform:translateY(-7px);
    box-shadow:0 7px 20px #ccc;
}
.pro-img-box{
    height:210px;
    background:#eee;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}
.pro-img-box img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.pro-text{
    padding:18px;
}
.pro-name{
    font-size:18px;
    font-weight:bold;
    margin-bottom:8px;
}
.pro-desc{
    font-size:14px;
    color:#666;
    margin-bottom:12px;
}
.btn-orange{
    display:inline-block;
    background:#ff7700;
    color:#fff;
    padding:7px 16px;
    border-radius:4px;
    border:none;
    cursor:pointer;
    font-size:14px;
}
.btn-orange:hover{
    background:#e56b00;
}
.btn-gray{
    display:inline-block;
    background:#666;
    color:#fff;
    padding:7px 16px;
    border-radius:4px;
    border:none;
    cursor:pointer;
    font-size:14px;
}
/*视频模块*/
.video-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
    gap:24px;
    margin-bottom:50px;
}
.video-item{
    background:#fff;
    border-radius:10px;
    padding:16px;
    box-shadow:0 2px 12px #ddd;
}
.video-item h4{
    margin-bottom:10px;
    font-size:16px;
}
video{
    width:100%;
    border-radius:6px;
    background:#000;
}
/*联系二维码区域*/
.qr-wrap{
    display:flex;
    gap:40px;
    flex-wrap:wrap;
    justify-content:center;
    margin:30px 0;
}
.qr-box{
    text-align:center;
}
.qr-box img{
    width:160px;
    height:160px;
    border:1px solid #ddd;
    border-radius:6px;
}
.qr-box p{
    margin-top:8px;
    font-weight:bold;
}
/*关于我们*/
.about-content{
    background:#fff;
    padding:35px;
    border-radius:10px;
    box-shadow:0 2px 12px #ddd;
    margin-bottom:40px;
}
.about-content p{
    margin-bottom:14px;
    font-size:16px;
}
.about-features{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
    gap:20px;
    margin:30px 0;
}
.feature-box{
    background:#fff;
    padding:24px;
    border-radius:10px;
    text-align:center;
    box-shadow:0 2px 12px #ddd;
}
.feature-box .icon{
    font-size:36px;
    margin-bottom:10px;
}
.feature-box h4{
    margin-bottom:8px;
    color:#ff7700;
}
/*产品详情页*/
.detail-wrap{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    margin:30px 0;
}
.detail-img{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 12px #ddd;
}
.detail-img img{
    width:100%;
    display:block;
}
.detail-info{
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 2px 12px #ddd;
}
.detail-info h1{
    font-size:26px;
    margin-bottom:16px;
    color:#222;
}
.detail-info .price{
    font-size:24px;
    color:#ff7700;
    font-weight:bold;
    margin-bottom:16px;
}
.detail-info .desc{
    margin-bottom:20px;
    color:#555;
}
.param-table{
    width:100%;
    border-collapse:collapse;
    margin:16px 0;
}
.param-table td{
    padding:10px 12px;
    border-bottom:1px solid #eee;
    font-size:14px;
}
.param-table td:first-child{
    width:120px;
    color:#666;
    font-weight:bold;
    background:#fafafa;
}
.detail-section{
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 2px 12px #ddd;
    margin-bottom:30px;
}
.detail-section h3{
    margin-bottom:14px;
    color:#ff7700;
    border-left:4px solid #ff7700;
    padding-left:10px;
}
.detail-section p{
    margin-bottom:12px;
}
/*后台管理样式*/
.admin-wrap{
    max-width:900px;
    margin:40px auto;
    padding:0 20px;
}
.admin-box{
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 2px 12px #ddd;
    margin-bottom:24px;
}
.admin-box h2{
    margin-bottom:20px;
    color:#222;
    border-bottom:2px solid #ff7700;
    padding-bottom:10px;
}
.form-group{
    margin-bottom:18px;
}
.form-group label{
    display:block;
    margin-bottom:6px;
    font-weight:bold;
    color:#444;
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group textarea,
.form-group select{
    width:100%;
    padding:10px 12px;
    border:1px solid #ddd;
    border-radius:5px;
    font-size:14px;
}
.form-group textarea{
    min-height:100px;
    resize:vertical;
}
.form-group input[type="file"]{
    width:100%;
    padding:8px;
    border:1px dashed #ddd;
    border-radius:5px;
}
.msg-success{
    background:#e8f5e9;
    color:#2e7d32;
    padding:12px 16px;
    border-radius:5px;
    margin-bottom:16px;
    border-left:4px solid #2e7d32;
}
.msg-error{
    background:#ffebee;
    color:#c62828;
    padding:12px 16px;
    border-radius:5px;
    margin-bottom:16px;
    border-left:4px solid #c62828;
}
.admin-nav{
    background:#191919;
    padding:12px 20px;
    margin-bottom:30px;
}
.admin-nav a{
    color:#fff;
    margin-right:20px;
}
.admin-nav a:hover{
    color:#ff7700;
}
.product-list-admin{
    width:100%;
    border-collapse:collapse;
}
.product-list-admin th,
.product-list-admin td{
    padding:10px 12px;
    border-bottom:1px solid #eee;
    text-align:left;
    font-size:14px;
}
.product-list-admin th{
    background:#f5f5f5;
    font-weight:bold;
}
/*页脚*/
footer{
    background:#191919;
    color:#aaa;
    text-align:center;
    padding:30px 15px;
    margin-top:60px;
    font-size:14px;
}
footer a{
    color:#aaa;
}
/*移动端适配*/
@media(max-width:768px){
    .header-box{
        flex-direction:column;
        gap:12px;
    }
    .nav-bar a{
        margin:0 6px;
        font-size:14px;
    }
    .banner h1{
        font-size:24px;
    }
    .banner p{
        font-size:14px;
    }
    .banner{
        height:220px;
    }
    .detail-wrap{
        grid-template-columns:1fr;
    }
    .qr-wrap{
        gap:20px;
    }
}
