/* Product Detail Styles */
.product-detail-main.detail {
    padding: 2rem 0;
    background-color: #f8f9fa;
    min-height: 80vh;
    margin-top: 0px;
}

.container.detail {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Breadcrumb */
.breadcrumb.detail {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #e1e5e9;
    margin-top: 100px;
}

.breadcrumb.detail ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb.detail li {
    color: #6c757d;
}

.breadcrumb.detail li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: #dee2e6;
}

.breadcrumb.detail a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb.detail a:hover {
    color: #0056b3;
}

/* Product Detail Content */
.product-detail-content.detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Product Gallery */
.product-gallery.detail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image.detail {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image.detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image.detail img:hover {
    transform: scale(1.05);
}

.thumbnail-gallery.detail {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    justify-content: center;
}

.thumbnail.detail {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail.detail.active {
    border-color: #007bff;
}

.thumbnail.detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.detail:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

/* Product Info */
.product-info.detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-header.detail {
    border-bottom: 1px solid #e1e5e9;
    padding-bottom: 1rem;
}

.product-title.detail {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.product-meta.detail {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.product-category.detail,
.product-subcategory.detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.product-category.detail i {
    color: #007bff;
}

.product-rating.detail {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars.detail {
    display: flex;
    gap: 0.25rem;
}

.stars.detail i {
    color: #dee2e6;
    font-size: 1.1rem;
}

.stars.detail i.filled {
    color: #ffc107;
}

.rating-text.detail {
    color: #6c757d;
    font-size: 0.9rem;
}

.product-price.detail {
    margin: 1rem 0;
}

.price.detail {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
}

.product-description.detail {
    line-height: 1.6;
    color: #495057;
}

.product-tags.detail {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag.detail {
    padding: 0.5rem 1rem;
    background: #e9ecef;
    color: #495057;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Product Actions */
.product-actions.detail {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn.detail {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
}

.btn-primary.detail {
    background: #007bff;
    color: white;
}

.btn-primary.detail:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.btn-outline.detail {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-outline.detail:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* Product Specs Summary */
.product-specs-summary.detail {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.product-specs-summary.detail h3 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.specs-grid.detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.spec-item.detail {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.spec-label.detail {
    font-weight: 600;
    color: #495057;
}

.spec-value.detail {
    color: #6c757d;
}

/* Product Tabs */
.product-tabs.detail {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    overflow: hidden;
}

.tab-navigation.detail {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
}

.tab-btn.detail {
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.detail:hover {
    color: #007bff;
    background: #e9ecef;
}

.tab-btn.detail.active {
    color: #007bff;
    border-bottom-color: #007bff;
    background: white;
}

.tab-content.detail {
    padding: 2rem;
}

.tab-panel.detail {
    display: none;
}

.tab-panel.detail.active {
    display: block;
}

.tab-panel.detail h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

/* Specifications Table */
.specifications-table.detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-row.detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    align-items: center;
}

.spec-name.detail {
    font-weight: 600;
    color: #495057;
}

.spec-value.detail {
    color: #6c757d;
}

/* Features List */
.features-list.detail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item.detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.feature-item.detail i {
    color: #28a745;
    font-size: 1.1rem;
}

/* Installation Steps */
.installation-content.detail {
    line-height: 1.6;
    color: #495057;
}

.installation-steps.detail {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step.detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number.detail {
    width: 40px;
    height: 40px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content.detail h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.step-content.detail p {
    margin: 0;
    color: #6c757d;
}

/* Warranty Details */
.warranty-content.detail {
    line-height: 1.6;
    color: #495057;
}

.warranty-details.detail {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.warranty-item.detail {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.warranty-item.detail h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.warranty-item.detail p {
    margin: 0;
    color: #6c757d;
}

/* Related Products */
.related-products.detail {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 3rem;
}

/* Related Products 标题样式 */
.related-products.detail h3 {
    margin: 0 0 2rem 0;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

/* 添加标题下划线装饰 */
.related-products.detail h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

/* 或者使用更简洁的标题样式 */
.related-products.detail h3 {
    margin: 0 0 2rem 0;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* 标题装饰线 */
.related-products.detail h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: #007bff;
    border-radius: 1px;
}

/* 悬停效果 */
.related-products.detail h3:hover::after {
    background: #0056b3;
    width: 100px;
    transition: all 0.3s ease;
}

.related-products-grid.detail {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 固定4列 */
    gap: 2rem;
}

.related-product-card.detail {
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.related-product-card.detail:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.related-product-image.detail {
    width: 100%;
    height: auto;;
    overflow: hidden;
    position: relative;
}

.related-product-image.detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-product-card.detail:hover .related-product-image.detail img {
    transform: scale(1.1);
}

.related-product-info.detail {
    padding: 1.5rem;
}

.related-product-info.detail h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    /* 限制标题长度 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8rem;
}

.related-product-meta.detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.related-product-category.detail {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.related-product-price.detail {
    font-weight: 700;
    color: #28a745;
    font-size: 1.1rem;
}

.related-product-actions.detail {
    display: flex;
    gap: 0.5rem;
}

.related-product-actions.detail .btn.detail {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .related-products-grid.detail {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .related-products-grid.detail {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .related-products.detail {
        padding: 1.5rem;
    }
    
    .related-products.detail h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .related-products-grid.detail {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .related-products.detail {
        padding: 1rem;
    }
    
    .related-products.detail h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

/* 模态框基础样式 */
.modal.detail {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

/* 显示模态框 */
.modal.detail.show {
    display: block !important;
}

/* 模态框内容 */
.modal-content.detail {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 关闭按钮 */
.close.detail {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close.detail:hover {
    color: #000;
    background-color: #f0f0f0;
}

/* 询价表单样式 */
.inquiry-form.detail h2 {
    margin: 0 0 25px 0;
    color: #2c3e50;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}

.form-group.detail {
    margin-bottom: 20px;
}

.form-group.detail label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 14px;
}

.form-group.detail input,
.form-group.detail textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group.detail input:focus,
.form-group.detail textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group.detail textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions.detail {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

/* 按钮样式 */
.btn.detail {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.btn-primary.detail {
    background-color: #007bff;
    color: white;
}

.btn-primary.detail:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-outline.detail {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-outline.detail:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-1px);
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 16px 20px;
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 4px solid #007bff;
    min-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.notification-message {
    color: #2c3e50;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background-color: #f0f0f0;
}

.notification-success {
    border-left-color: #28a745;
}

.notification-info {
    border-left-color: #17a2b8;
}

.notification-warning {
    border-left-color: #ffc107;
}

.notification-error {
    border-left-color: #dc3545;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content.detail {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .form-actions.detail {
        flex-direction: column;
    }
    
    .btn.detail {
        width: 100%;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}

/* 产品规格摘要 */
.product-specs-summary.detail {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.product-specs-summary.detail h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
}

/* 标题下划线装饰 */
.product-specs-summary.detail h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 1px;
}

/* 规格网格 */
.specs-grid.detail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* 规格项目 */
.spec-item.detail {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.spec-item.detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #007bff, #0056b3);
    border-radius: 0 2px 2px 0;
}

.spec-item.detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    border-color: #007bff;
}

/* 规格标签 */
.spec-label.detail {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

/* 规格值 */
.spec-value.detail {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .specs-grid.detail {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .product-specs-summary.detail {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .spec-item.detail {
        padding: 0.75rem;
    }
    
    .product-specs-summary.detail h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .product-specs-summary.detail {
        padding: 0.75rem;
        margin-top: 1rem;
    }
    
    .spec-item.detail {
        padding: 0.5rem;
    }
    
    .spec-label.detail {
        font-size: 0.8rem;
    }
    
    .spec-value.detail {
        font-size: 0.9rem;
    }
}

/* 深色主题支持 */
@media (prefers-color-scheme: dark) {
    .product-specs-summary.detail {
        background: #2c3e50;
        border-color: #34495e;
    }
    
    .spec-item.detail {
        background: #34495e;
        border-color: #4a5568;
    }
    
    .spec-label.detail {
        color: #a0aec0;
    }
    
    .spec-value.detail {
        color: #e2e8f0;
    }
    
    .product-specs-summary.detail h3 {
        color: #e2e8f0;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .product-specs-summary.detail {
        border-width: 2px;
        border-color: #000;
    }
    
    .spec-item.detail {
        border-width: 2px;
        border-color: #000;
    }
    
    .spec-item.detail::before {
        width: 6px;
        background: #000;
    }
}

/* 打印样式 */
@media print {
    .product-specs-summary.detail {
        background: white;
        border: 2px solid #000;
        break-inside: avoid;
    }
    
    .spec-item.detail {
        background: white;
        border: 1px solid #000;
        break-inside: avoid;
    }
    
    .spec-item.detail::before {
        background: #000;
    }
}

/* 产品标签页容器 */
.product-tabs.detail {
    margin-top: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

/* 标签导航 */
.tab-navigation.detail {
    display: flex;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    position: relative;
}

/* 标签按钮 */
.tab-btn.detail {
    flex: 1;
    padding: 1.25rem 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 标签按钮悬停效果 */
.tab-btn.detail:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.05);
}

/* 活动标签按钮 */
.tab-btn.detail.active {
    color: #007bff;
    background: white;
    font-weight: 700;
    position: relative;
}

/* 活动标签底部指示器 */
.tab-btn.detail.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 3px 3px 0 0;
}

/* 标签按钮图标 */
.tab-btn.detail i {
    font-size: 1rem;
    opacity: 0.8;
}

.tab-btn.detail.active i {
    opacity: 1;
    color: #007bff;
}

/* 标签内容区域 */
.tab-content.detail {
    padding: 2rem;
    background: white;
    min-height: 400px;
}

/* 标签面板 */
.tab-panel.detail {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.detail.active {
    display: block;
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 标签面板标题 */
.tab-panel.detail h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.tab-panel.detail h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 1px;
}

/* 规格表格 */
.specifications-table.detail {
    display: grid;
    gap: 1rem;
}

.spec-row.detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    transition: all 0.2s ease;
}

.spec-row.detail:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.spec-name.detail {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value.detail {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1rem;
}

/* 特性列表 */
.features-list.detail {
    display: grid;
    gap: 1rem;
}

.feature-item.detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    transition: all 0.2s ease;
}

.feature-item.detail:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.feature-item.detail i {
    color: #28a745;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.feature-item.detail span {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1rem;
}

/* 安装步骤 */
.installation-content.detail p {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.installation-steps.detail {
    display: grid;
    gap: 1.5rem;
}

.step.detail {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.step.detail:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.step-number.detail {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content.detail h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-content.detail p {
    margin: 0;
    color: #6c757d;
    line-height: 1.5;
    text-align: left;
}

/* 保修信息 */
.warranty-content.detail p {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.warranty-details.detail {
    display: grid;
    gap: 1.5rem;
}

.warranty-item.detail {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
    transition: all 0.2s ease;
}

.warranty-item.detail:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.warranty-item.detail h4 {
    margin: 0 0 0.75rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.warranty-item.detail p {
    margin: 0;
    color: #6c757d;
    line-height: 1.5;
    text-align: left;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tab-navigation.detail {
        flex-direction: column;
    }
    
    .tab-btn.detail {
        min-height: 50px;
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .tab-content.detail {
        padding: 1.5rem;
    }
    
    .spec-row.detail {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .step.detail {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .step-content.detail p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tab-content.detail {
        padding: 1rem;
    }
    
    .tab-panel.detail h3 {
        font-size: 1.3rem;
    }
    
    .spec-row.detail,
    .feature-item.detail,
    .step.detail,
    .warranty-item.detail {
        padding: 1rem;
    }
}

/* 深色主题支持 */
@media (prefers-color-scheme: dark) {
    .product-tabs.detail {
        background: #2c3e50;
        border-color: #34495e;
    }
    
    .tab-navigation.detail {
        background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
        border-color: #4a5568;
    }
    
    .tab-btn.detail {
        color: #a0aec0;
    }
    
    .tab-btn.detail:hover {
        color: #63b3ed;
        background: rgba(99, 179, 237, 0.1);
    }
    
    .tab-btn.detail.active {
        background: #2c3e50;
        color: #63b3ed;
    }
    
    .tab-content.detail {
        background: #2c3e50;
    }
    
    .tab-panel.detail h3 {
        color: #e2e8f0;
    }
    
    .spec-row.detail,
    .feature-item.detail,
    .step.detail,
    .warranty-item.detail {
        background: #34495e;
        border-color: #4a5568;
    }
    
    .spec-name.detail,
    .spec-value.detail,
    .feature-item.detail span,
    .step-content.detail h4,
    .warranty-item.detail h4 {
        color: #e2e8f0;
    }
    
    .step-content.detail p,
    .warranty-item.detail p {
        color: #a0aec0;
    }
}

/* 打印样式 */
@media print {
    .tab-navigation.detail {
        display: none;
    }
    
    .tab-panel.detail {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .product-tabs.detail {
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* 移除所有焦点状态的外框线 */
.tab-btn.detail:focus,
.tab-btn.detail:focus-visible,
.tab-btn.detail:active {
    outline: none;
    box-shadow: none;
}

/* Modal Styles */
.modal.detail {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content.detail {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close.detail {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
}

.close.detail:hover {
    color: #2c3e50;
}

/* Form Styles */
.inquiry-form.detail h2 {
    margin: 0 0 2rem 0;
    color: #2c3e50;
    text-align: center;
}

.form-group.detail {
    margin-bottom: 1.5rem;
}

.form-group.detail label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.form-group.detail input,
.form-group.detail textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group.detail input:focus,
.form-group.detail textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-actions.detail {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-detail-content.detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .main-image.detail {
        height: 300px;
    }
    
    .thumbnail-gallery.detail {
        justify-content: center;
    }
    
    .product-actions.detail {
        flex-direction: column;
    }
    
    .btn.detail {
        width: 100%;
    }
    
    .tab-navigation.detail {
        flex-wrap: wrap;
    }
    
    .tab-btn.detail {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .related-products-grid.detail {
        grid-template-columns: 1fr;
    }
    
    .specs-grid.detail {
        grid-template-columns: 1fr;
    }
    
    .spec-row.detail {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .warranty-details.detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-title.detail {
        font-size: 1.5rem;
    }
    
    .price.detail {
        font-size: 1.5rem;
    }
    
    .modal-content.detail {
        margin: 10% auto;
        padding: 1rem;
        width: 95%;
    }
    
    .form-actions.detail {
        flex-direction: column;
    }
    
    .form-actions.detail .btn.detail {
        width: 100%;
    }
}