/* Links Page Specific Styles */

/* 禁用滚动捕捉 */
html, body {
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    overflow-y: auto !important;
}

.no-snap-scroll {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
}

/* 链接页面整体样式 */
.links-page {
    background-color: #f7f7f7;
}

.links-content {
    padding-bottom: 40px;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 分类标题横幅 */
.category-banner {
    background-color: #001c38;
    color: white;
    padding: 30px 0;
    width: 100%;
    margin-bottom: 30px;
}

.category-banner h1 {
    font-size: 32px;
    margin: 0 0 10px 0;
}

.category-banner p {
    font-size: 16px;
    margin: 0;
    opacity: 0.8;
}

/* 分类标签 */
.category-tabs {
    display: flex;
    justify-content: center;
    margin: 0 auto 30px auto;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    text-align: center;
}

.category-tabs .tab {
    padding: 12px 20px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    position: relative;
    text-align: center;
}

.category-tabs .tab:hover {
    color: #0066cc;
}

.category-tabs .tab.active {
    color: #0066cc;
}

.category-tabs .tab.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0066cc;
}

/* 二级分类包装器 */
.subcategory-wrapper {
    margin-bottom: 30px;
    text-align: center;
}

.subcategory-section {
    display: none;
    text-align: center;
}

.subcategory-section.active {
    display: block;
}

/* 缩略图样式 */
.subcategory-thumbnails {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}

.thumbnail-item {
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
}

.thumbnail-item:hover .thumbnail-icon,
.thumbnail-item.selected .thumbnail-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    
}

.thumbnail-icon {
    width: 100px;
    height: 100px;
    
    
    display: flex;
    align-items: center;
    justify-content: center;
   
    transition: all 0.3s ease, border 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    
}

.thumbnail-item.selected .thumbnail-icon {
    border-color: #dd8808;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

.thumbnail-icon img {
    max-width: 80px;
    max-height: 80px;
}

.thumbnail-label {
    font-size: 14px;
    color: #333;
    text-align: center;
    width: 100%;
}

/* 产品详情展示区 */
.product-detail-showcase {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 20px;
}

.product-detail {
    display: none;
    padding: 10px;
}

.product-detail.active {
    display: flex;
    flex-wrap: wrap;
}

.product-detail-image {
    
    
    display: flex;
    align-items: center;
    justify-content: center;
    

.product-detail-image img {
    max-width: 100%;
    max-height: 100%;
}

.product-detail-info {
    flex: 2;
    min-width: 300px;
    
}

.product-detail-info h2 {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: #001c38;
}

.product-subtitle {
    font-size: 16px;
    color: #666;
    
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 16px;
    font-weight: 500;
}

.product-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}

.detail-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.detail-btn:hover {
    background-color: #004c99;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .category-tabs {
        flex-wrap: wrap;
    }
    
    .product-detail.active {
        flex-direction: column;
    }
    
    .product-detail-image {
        margin-bottom: 20px;
    }
    
    .product-specs {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-item {
        width: 100px;
    }
    
    .thumbnail-icon {
        width: 70px;
        height: 70px;
    }
} 