* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑",sans-serif;
}
body {
    background: #000;
    color: #fff;
    scroll-behavior: smooth; /* 锚点跳转平滑滚动 */
}
a {text-decoration: none; color: inherit;}
img {width: 100%;display: block;}
.container-full {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1400px;
}
.title {
    text-align: center;
    font-size: 36px;
    padding: 60px 0 40px;
    color: #fff;
}

/* 导航栏样式 */
.header {
    width: 100%;
    height: 80px;
    background: #111;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    border-bottom: 1px solid #333;
}
.logo-wrap {
    display: flex;
    flex-direction: column;
}
.logo {
    font-size: 26px;
    font-weight: bold;
    color: #fff;
}
.logo-tel {
    font-size: 14px;
    color: #ccc;
    margin-top: 4px;
}
.nav {
    display: flex;
    gap: 45px;
    align-items: center;
}
.nav a {
    color: #ddd;
    font-size: 16px;
    transition: 0.3s;
}
.nav a:hover,.nav a.active {
    color: #c8a765;
}
/* 中英切换按钮 */
.lang-switch {
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 5px 10px;
    border: 1px solid #666;
    border-radius: 4px;
}
.lang-switch .active {
    color: #c8a765;
    font-weight: bold;
}
.menu-btn {
    display: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/* 轮播图样式（文字靠下） */
.banner {
    width: 100%;
    height: 100vh;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}
.banner-wrap {
    width: 100%;
    height: 100%;
}
.banner-item {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.banner-item.active {
    opacity: 1;
}
.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-text {
    position: absolute;
    left: 50%;
    bottom: 15%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    background: rgba(0,0,0,0.4);
    padding: 30px 50px;
    border-radius: 8px;
}
.banner-text h2 {
    font-size: 38px;
    margin-bottom: 15px;
}
.banner-text p {
    font-size: 18px;
}
.banner-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}
.banner-dots span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
}
.banner-dots span.on {
    background: #fff;
}

/* 首页类目按钮 */
.cate-entry {
    width: 100%;
    padding: 60px 0;
    background: #111;
}
.cate-entry .container-full {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.cate-box {
    width: 180px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border: 1px solid #666;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
    transition: 0.3s;
}
.cate-box:hover {
    background: #c8a765;
    border-color: #c8a765;
}

/* 首页热门款式 */
.home-pro {
    width: 100%;
    background: #000;
    padding-bottom: 60px;
}
.home-pro-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.home-pro-card {
    background: #111;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 6px;
}
.pro-img-wrap {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}
.pro-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-pro-card h3 {
    text-align: center;
    padding-top: 15px;
    color: #ccc;
}

/* 关于我们样式 */
.about {
    width: 100%;
    background: #111;
    padding-bottom: 60px;
}
.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.about-banner {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}
.about-item {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transition: 0.8s;
}
.about-item.active {
    opacity: 1;
}
.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
}
.about-text p {
    line-height: 2;
    color: #bbb;
    font-size: 16px;
}

/* 联系我们样式 */
.contact {
    width: 100%;
    background: #000;
    padding-bottom: 60px;
}
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-info p {
    font-size: 18px;
    line-height: 2.5;
    color: #ccc;
}
.contact-qr h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}
.contact-qr img {
    width: 200px;
    margin: 0 auto;
    border: 2px solid #333;
}

/* 产品页一级导航 */
.product-nav-一级 {
    width: 100%;
    background: #111;
    padding: 20px 0;
    margin-top: 80px;
    border-bottom: 1px solid #333;
}
.product-nav-wrap {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.product-nav-btn {
    padding: 10px 20px;
    background: #222;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}
.product-nav-btn:hover, .product-nav-btn.active {
    background: #c8a765;
    color: #000;
}
.back-btn {
    background: #c8a765;
    color: #000 !important;
}
.back-btn:hover {
    background: #d8b775 !important;
}

/* 产品类目样式 */
.product-category {
    padding: 60px 0;
    border-bottom: 1px solid #333;
}
.category-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #c8a765;
}

/* 产品二级导航 */
.product-subnav-wrap {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.product-subnav-btn {
    padding: 8px 15px;
    background: #222;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
}
.product-subnav-btn:hover {
    background: #c8a765;
    color: #000;
}

/* 产品子类目 */
.product-subcategory {
    margin-bottom: 60px;
}
.subcategory-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

/* 产品图片网格 */
.product-img-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
.product-img-item {
    background: #111;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #333;
}
.img-wrap {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}
.img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}
.img-wrap img:hover {
    transform: scale(1.05);
}
.img-name {
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

/* 返回按钮组 */
.back-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* 页脚样式 */
.footer {
    width: 100%;
    background: #111;
    text-align: center;
    padding: 20px 0;
    color: #888;
    font-size: 14px;
    border-top: 1px solid #333;
}

/* 手机端适配 */
@media (max-width:768px){
    .header {padding:0 20px;height:70px;}
    .logo {font-size:20px;}
    .nav {
        position: absolute;
        top:70px;
        left:0;
        width:100%;
        background:#111;
        flex-direction: column;
        gap:15px;
        padding:20px 0;
        display: none;
    }
    .lang-switch {margin-top: 10px;}
    .menu-btn {display: block;}
    
    .banner {height: 60vh;margin-top:70px;}
    .banner-text {padding:20px 30px;}
    .banner-text h2 {font-size:24px;}
    .banner-text p {font-size:14px;}
    
    .cate-entry .container-full {gap:20px;}
    .cate-box {width: 140px;height: 70px;line-height:70px;font-size:16px;}
    
    .home-pro-list {grid-template-columns: repeat(2, 1fr);}
    
    .about-wrap,.contact-wrap {grid-template-columns: 1fr;}
    
    /* 产品页手机适配 */
    .product-nav-wrap {gap:15px;}
    .product-nav-btn {padding:8px 15px;font-size:14px;}
    .product-img-grid.grid-4 {grid-template-columns: repeat(2, 1fr);}
    .product-subnav-wrap {gap:10px;}
    .product-subnav-btn {padding:6px 10px;font-size:12px;}
}

@media (max-width:480px){
    .product-img-grid.grid-4 {grid-template-columns: 1fr;}
    .home-pro-list {grid-template-columns: 1fr;}
    .cate-box {width: 100%;max-width: 200px;}
}
/* ========== 新增：图片点击放大模态框样式 ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    cursor: pointer;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 50px;
    font-size: 18px;
}