/* 产品详情页布局重置 */
.main-content {
    margin-top: 80px; /* 为固定导航栏留出空间 */
    padding-top: 20px;
}

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

/* 产品banner样式 */
.product-banner {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    text-align: center;
}

.banner-content h1 {
    font-size: 3rem;
    margin: 0 0 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-content h2 {
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
}

/* 内容区块通用样式 */
section {
    padding: 60px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #1e3c72;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2a5298;
}

/* 2-16X自动变倍镜头产品页特定样式 */
.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 40px;
}

.product-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.product-title {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.product-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #3498db;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.product-image {
    max-width: 80%;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.02);
}

.product-description {
    margin: 40px 0;
    line-height: 1.8;
}

.product-description h2 {
    color: #2c3e50;
    margin: 30px 0 20px;
    font-size: 1.8em;
    position: relative;
    padding-bottom: 10px;
}

.product-description h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #3498db;
    bottom: 0;
    left: 0;
}

.product-description ul {
    padding-left: 20px;
    margin: 15px 0;
}

.product-description li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.product-description li::before {
    content: '•';
    color: #3498db;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -3px;
}

.product-specs {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 0.95em;
}

.specs-table th, .specs-table td {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    text-align: left;
}

.specs-table th {
    background-color: #f1f5f9;
    color: #2c3e50;
    font-weight: 600;
    width: 30%;
}

.specs-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.specs-table tr:hover {
    background-color: #f1f7ff;
}

.back-button {
    display: inline-block;
    margin: 20px 0 40px;
    padding: 12px 25px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1em;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.back-button i {
    margin-right: 8px;
}

.back-button:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #2c3e50;
    color: white;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top:hover {
    background-color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .product-container {
        padding: 15px;
    }
    
    .product-title {
        font-size: 2em;
    }
    
    .product-image {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 20px 10px;
    }
    
    .product-title {
        font-size: 1.8em;
    }
    
    .product-specs {
        padding: 15px;
    }
    
    .specs-table {
        font-size: 0.9em;
    }
    
    .specs-table th, 
    .specs-table td {
        padding: 8px 10px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        line-height: 40px;
        right: 15px;
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 1.6em;
    }
    
    .product-description h2 {
        font-size: 1.5em;
    }
    
    .specs-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* 亮点区域 */
.highlights {
    background-color: #f8f9fa;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.highlight-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.highlight-icon {
    font-size: 2.5rem;
    color: #2a5298;
    margin-bottom: 15px;
}

.highlight-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1e3c72;
}

.highlight-item p {
    color: #555;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .main-content {
        margin-top: 60px;
    }
    
    .banner-content h1 {
        font-size: 2.2rem;
    }
    
    .banner-content h2 {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .highlight-grid {
        grid-template-columns: 1fr;
    }
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #f8f9fa;
}
