/* 86-box产品详情页面样式 */

/* 产品导航栏 */
.product-nav {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.product-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-nav .breadcrumb {
    margin: 0;
    background-color: transparent;
    font-size: 0.9rem;
}

.product-nav .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
}

.product-nav .breadcrumb a {
    color: #6c757d;
    text-decoration: none;
}

.product-nav .breadcrumb a:hover {
    color: #0066cc;
}

/* 内容容器 */
.content-container {
    padding: 40px 0;
}

/* 产品详情头部 */
.product-header {
    margin-bottom: 40px;
}

.product-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.product-header .product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.product-header .meta-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.95rem;
}

.product-header .meta-item i {
    margin-right: 8px;
    color: #0066cc;
}

.product-header .product-summary {
    background-color: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #0066cc;
    margin-bottom: 30px;
}

.product-header .product-summary p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* 产品图片轮播 */
.product-gallery {
    margin-bottom: 50px;
}

.main-image {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active {
    border-color: #0066cc;
    transform: scale(1.1);
}

.thumbnail:hover:not(.active) {
    border-color: #ccc;
}

/* 产品信息区 */
.product-info {
    margin-bottom: 60px;
}

.product-info h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066cc;
    position: relative;
}

.product-info h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #0066cc;
}

/* 规格列表 */
.specifications {
    margin-bottom: 40px;
}

.specifications h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #0066cc;
}

.specifications table {
    width: 100%;
    border-collapse: collapse;
}

.specifications th,
.specifications td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.specifications th {
    background-color: #f8f9fa;
    font-weight: 600;
    width: 30%;
}

.specifications tr:hover {
    background-color: #f8f9fa;
}

/* 特性卡片 */
.features {
    margin-bottom: 60px;
}

/* 86-box产品页面样式 - 从内联CSS添加 */

/* 产品详情头部样式 */
.product-detail-header {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.95) 0%, rgba(0, 51, 102, 0.95) 100%), url('../images/86-box-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.product-detail-content {
    padding: 60px 0;
}

/* 产品展示区域 */
.product-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-info h2 {
    color: #0066cc;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

/* 产品规格样式 */
.product-specs {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.product-specs h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list .spec-label {
    font-weight: 600;
    width: 180px;
    color: #333;
}

.specs-list .spec-value {
    color: #555;
}

/* 产品图片轮播 */
.product-image-carousel {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-color: white;
    border-radius: 8px;
}

.carousel-img.active {
    opacity: 1;
    z-index: 1;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
    transition: all 0.3s ease;
}

.indicator:hover {
    background-color: white;
}

.indicator.active {
    background-color: #0066cc;
    color: white;
    border: 2px solid white;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
}

/* 产品特性 */
.product-features {
    margin-bottom: 60px;
}

.product-features h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 应用场景 */
.application-scenarios {
    background-color: #f5f7fa;
    padding: 60px 0;
    margin-bottom: 60px;
}

.application-scenarios h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2rem;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.scenario-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.scenario-image {
    height: 200px;
    overflow: hidden;
}

.scenario-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.scenario-card:hover .scenario-image img {
    transform: scale(1.05);
}

.scenario-content {
    padding: 20px;
}

.scenario-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.scenario-content p {
    color: #666;
    line-height: 1.6;
}

/* 联系我们 */
.contact-section {
    padding: 60px 0;
    text-align: center;
}

.contact-section h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.8rem;
}

.contact-section p {
    margin-bottom: 30px;
    color: #666;
}

.btn-primary {
    background-color: #0066cc;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-detail-header h1 {
        font-size: 2.5rem;
    }
    
    .product-info h2 {
        font-size: 1.8rem;
    }
    
    .product-showcase {
        flex-direction: column;
    }
    
    .specs-list li {
        flex-direction: column;
    }
    
    .specs-list .spec-label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .product-detail-header h1 {
        font-size: 1.8rem;
    }
    
    .product-info h2 {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .product-specs h3 {
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    .carousel-container {
        height: 250px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* 相关文档部分样式 */
.related-documents {
    margin-bottom: 60px;
    background-color: #f8f9fa;
    padding: 40px 0;
    border-radius: 8px;
}

.related-documents h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-align: center;
}

.documents-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.document-item {
    background-color: white;
    padding: 15px 25px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    min-width: 250px;
}

.document-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.document-item i {
    font-size: 1.5rem;
    margin-right: 15px;
}

.document-item i.fa-file-pdf {
    color: #e74c3c;
}

.document-item i.fa-file-word {
    color: #3498db;
}

.document-item i.fa-file-excel {
    color: #2ecc71;
}

.document-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.document-item a:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .documents-list {
        flex-direction: column;
        align-items: center;
    }
    
    .document-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* 产品导航栏样式 - 从ffu-touch.html添加 */
.product-nav-container {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0;
    position: relative;
    z-index: 10;
}

.product-nav-level-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0;
    margin: 0 auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.product-nav-level-1::-webkit-scrollbar {
    height: 6px;
}

.product-nav-level-1::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.product-nav-level-1::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.nav-level-1-btn {
    background-color: transparent;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 10px 20px;
    margin: 0 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-level-1-btn:hover {
    background-color: #f5f5f5;
    border-color: #b0b0b0;
}

.nav-level-1-btn.active {
    background-color: #3a7bd5;
    color: white;
    border-color: #3a7bd5;
}

/* 内容容器样式 */
.content-item {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.content-item.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-nav-level-1 {
        justify-content: flex-start;
        padding: 10px;
    }
    
    .nav-level-1-btn {
        margin: 0 5px;
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .nav-level-1-btn {
        padding: 6px 12px;
        font-size: 12px;
        margin: 0 3px;
    }
}

/* 二级产品导航栏样式 */
.product-nav-level-2 {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 二级导航内容容器 */
.level-2-content {
    display: none;
    flex-wrap: nowrap;
    gap: 10px;
    animation: fadeIn 0.3s ease;
    overflow-x: auto;
    padding: 5px 0;
}

/* 二级导航按钮样式 */
.nav-level-2-btn {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-level-2-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.nav-level-2-btn.active {
    background-color: #0066cc;
    border-color: #0066cc;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

/* 响应式设计 - 确保在小屏幕上也能水平滚动 */
@media (max-width: 768px) {
    .level-2-content {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .nav-level-2-btn {
        flex: 0 0 auto;
        min-width: 200px;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .nav-level-2-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* 添加level-2-content.active样式 */
.level-2-content.active {
    display: flex;
}