/* 动画效果 */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* 从0.8s减少到0.6s */
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 区域延迟保持不变 */
.product-hero.fade-in-section {
    transition-delay: 0.1s;
}

.swiper-thumbs.fade-in-section {
    transition-delay: 0.2s;
}

.product-title.fade-in-section {
    transition-delay: 0.3s;
}

.product-features.fade-in-section {
    transition-delay: 0.4s;
}

.specifications.fade-in-section {
    transition-delay: 0.5s;
}

.document-download.fade-in-section {
    transition-delay: 0.5s;
}

.footer.fade-in-section {
    transition-delay: 0.5s;
}



.product-hero {
    padding: 5rem 0;
    text-align: center;
}

.swiper-container {
    max-width: 800px; /* 限制轮播最大宽度 */
    margin: 0 auto;
    height: 500px; /* 重要：设置轮播容器固定高度 */
    overflow: hidden; /* 隐藏超出部分，确保轮播效果 */
}

.swiper-wrapper {
    height: 100%; /* 让wrapper撑满容器高度 */
}

.swiper-slide {
    height: 100%; /* 每个slide撑满容器高度 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    max-width: 100%; /* 图片最大宽度为容器的90%，留出边距 */
    max-height: 100%; /* 图片最大高度为容器的90% */
    object-fit: cover;
    transition: transform 0.3s ease
}

/* 缩略图预览区 */
.swiper-thumbs {
    max-width: 450px;
    margin: 0 auto;
    padding: 1rem;
}

.swiper-thumbs .swiper-wrapper {
    display: flex;
    gap: 15px;
}

.swiper-thumbs .swiper-slide {
    /* 设置缩略图容器固定宽高 */
    width: 200px;
    height: 160px;
    opacity: 0.9; /* 微调透明度，增加可见度 */
    filter: grayscale(15%) brightness(0.95); /* 减少灰度和亮度降低程度 */
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #ffffff;
    /* 重要：用于等比例缩放图片 */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
}

.swiper-thumbs .swiper-slide.swiper-slide-thumb-active {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    box-shadow: 0 0 8px rgba(0, 122, 255, 0.5);
}

.swiper-thumbs img {
    position: absolute; /* 绝对定位，脱离文档流 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 关键属性：保持比例并填充容器 */
    object-position: center; /* 图片居中显示 */
    transition: transform 0.3s ease;
}

.swiper-thumbs .swiper-slide:hover img {
    transform: scale(1.05); /* 悬停时微放大 */
}

/* 分页器样式 */
.swiper-pagination {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background-color: #007aff;
    width: 12px;
    height: 12px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .swiper-thumbs .swiper-slide {
        width: 100px;
        height: 75px;
    }
}


.product-title {
    margin-top: 1rem;
}

.product-features {
    padding: 4rem 0;
    background: #ffffff;
}

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* 美化后的产品特点标题样式 */
.product-features-title {
    width: 1300px;
    margin: 10px 0;
    padding: 15px 25px;
    background: linear-gradient(135deg, #b8d3ee 0%, #9bc0eb 100%);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    color: #1a365d;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* 添加装饰图标 */
.product-features-title::before {
    content: "\f06b"; /* Font Awesome加号图标 */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 12px;
    color: #1a365d;
    font-size: 20px;
}

/* 悬停效果 */
.product-features-title:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
/* 框右侧装饰 */
.product-features-title::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent 50%, #007aff 50%);
    transform: rotate(45deg);
    border-radius: 0 8px 0 0;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
}

.spec-images {
    display: flex;
    flex-direction: column;
    gap: 3rem; /* 图片之间的间距 */
    margin-top: 1rem; /* 图片与标题之间的间距 */
}

.spec-images img {
    /* 居中对齐 */
    align-self: center;
    max-width: 75%; /* 图片最大宽度为容器的100% */
    height: auto; /* 保持图片的纵横比 */
}

/* 产品名称样式 */
.product-title {
    text-align: center;
    padding: 1rem 0;
}

.product-title h1 {
    font-size: 28px;
    font-weight: 600;
    color: #222;
    margin: 0;
    margin-bottom: 0.5rem;
}

.product-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* 优化列表样式 */
.feature-column ul {
    list-style: none;
    padding: 0;
    width: 1300px;
}

.feature-column li {
    position: relative;
    padding-left: 80px;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    max-width: 100%;
    width: auto;
}

/* 列表项前的图标 */
.feature-column li::before {
    content: "\f058"; /* Font Awesome对勾图标 */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #38a169;
    font-size: 20px;
    margin-left: 40px;
}

.specifications {
    padding: 1rem 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 1rem;
    border: 1px solid #ddd;
    text-align: left;
}


/* PDF下载按钮样式 */
.document-download {
    text-align: center;
    padding: 4rem 0;
}

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.pdf-download-btn i {
    font-size: 22px;
}

/* 悬停效果 */
.pdf-download-btn:hover {
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(198, 40, 40, 0.4);
}

/* 点击效果 */
.pdf-download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.5);
}

/* 产品画廊容器 */
.product-gallery {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* 主轮播图 */
.swiper-container {
    height: 450px;
    margin-bottom: 1rem;
}

/* 缩略图预览区 */
.swiper-thumbs {
    margin-bottom: 2rem;
}

.swiper-thumbs .swiper-slide {
    width: 160px;
    height: 120px;
    opacity: 0.8;
    filter: grayscale(15%) brightness(0.95);
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
}

.swiper-thumbs .swiper-slide.swiper-slide-thumb-active {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    box-shadow: 0 0 8px rgba(0, 122, 255, 0.5);
}

.swiper-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品名称样式 */
.product-title {
    text-align: center;
    padding: 1rem 0;
}

.product-title h1 {
    font-size: 28px;
    font-weight: 600;
    color: #222;
    margin: 0;
    margin-bottom: 0.5rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .swiper-container {
        height: 300px;
    }
    
    .swiper-thumbs .swiper-slide {
        width: 100px;
        height: 75px;
    }
    
    .product-title h1 {
        font-size: 24px;
    }
}