/* 产品详情页样式 */

/* 面包屑导航 */
.breadcrumb-wrapper {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #0066CC;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #0052a3;
}

.breadcrumb svg {
    width: 16px;
    height: 16px;
    color: #ccc;
}

.breadcrumb .current {
    color: #333;
}

/* 产品详情主区域 */
.product-detail-section {
    padding: 40px 0;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 产品图库 */
.product-gallery {
    position: sticky;
    top: 100px;
}

.gallery-main {
    margin-bottom: 16px;
}

.main-image {
    position: relative;
    aspect-ratio: 1;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: auto;
    height: 80%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.main-image .image-placeholder {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.main-image .image-placeholder svg {
    width: 80px;
    height: 80px;
}

.main-image .image-placeholder span {
    margin-top: 12px;
    font-size: 14px;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-item:hover {
    border-color: #0066CC;
}

.thumb-item.active {
    border-color: #0066CC;
}

.thumb-item img {
    width: auto;
    height: 80%;
    object-fit: contain;
    object-position: center;
}

.thumb-item.no-image {
    background: #f0f0f0;
}

/* 产品信息 */
.product-info-detail {
    padding-top: 10px;
}

.product-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.product-category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #0066CC;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.product-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}

.product-model-number {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* 产品特点列表 */
.product-features-list {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #333;
    font-size: 14px;
}

.feature-row svg {
    width: 20px;
    height: 20px;
    color: #0066CC;
    flex-shrink: 0;
}

/* 价格区域 */
.product-price-area {
    margin-bottom: 24px;
}

.price-label {
    font-size: 14px;
    color: #666;
    margin: 0 0 4px;
}

.price-phone {
    font-size: 32px;
    font-weight: 600;
    color: #0066CC;
    text-decoration: none;
}

/* 操作按钮 */
.product-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.btn-consult {
    flex: 1;
    padding: 14px 32px;
    background: #0066CC;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-consult:hover {
    background: #0052a3;
}

.btn-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: 2px solid #0066CC;
    color: #0066CC;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-phone:hover {
    background: #0066CC;
    color: #fff;
}

.btn-phone svg {
    width: 20px;
    height: 20px;
}

/* 服务标签 */
.product-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
}

.service-tag svg {
    width: 14px;
    height: 14px;
    color: #0066CC;
}

/* 规格参数区域 */
.product-specs-section {
    padding: 40px 0 60px;
    background: #f8f9fa;
}

.specs-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

.spec-tab {
    padding: 12px 0;
    background: none;
    border: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.spec-tab:hover {
    color: #0066CC;
}

.spec-tab.active {
    color: #0066CC;
    font-weight: 500;
}

.spec-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #0066CC;
}

.specs-content {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
}

.specs-panel {
    display: none;
}

.specs-panel.active {
    display: block;
}

/* 规格表格 */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table th {
    width: 140px;
    padding: 12px 0;
    text-align: left;
    font-weight: 500;
    color: #333;
    background: #f8f9fa;
}

.specs-table td {
    padding: 12px 16px;
    color: #666;
}

/* 产品特点详情 */
.features-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-block {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-block .feature-icon {
    width: 48px;
    height: 48px;
    background: #0066CC;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-block .feature-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.feature-block .feature-text h4 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #333;
}

.feature-block .feature-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 过滤流程 */
.filter-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 160px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #0066CC;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-content h4 {
    margin: 0 0 6px;
    font-size: 14px;
    color: #333;
}

.step-content p {
    margin: 0;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.flow-arrow {
    color: #ccc;
    flex-shrink: 0;
}

.flow-arrow svg {
    width: 24px;
    height: 24px;
}

/* 相关案例 */
.related-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-case-card {
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.related-case-card .case-image {
    position: relative;
    aspect-ratio: 16/10;
    background: #e0e0e0;
    overflow: hidden;
}

.related-case-card .case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-case-card .case-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #ccc;
}

.related-case-card .case-placeholder svg {
    width: 48px;
    height: 48px;
}

.related-case-card .case-info {
    padding: 16px;
}

.related-case-card .case-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #0066CC;
    color: #fff;
    font-size: 11px;
    border-radius: 2px;
    margin-bottom: 8px;
}

.related-case-card .case-info h4 {
    margin: 0 0 4px;
    font-size: 16px;
    color: #333;
}

.related-case-card .case-info p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* 底部CTA */
.contact-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #0066CC 0%, #0052a3 100%);
}

.cta-content {
    text-align: center;
    color: #fff;
}

.cta-title {
    font-size: 32px;
    margin: 0 0 12px;
}

.cta-desc {
    font-size: 16px;
    opacity: 0.9;
    margin: 0 0 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-primary-lg {
    padding: 14px 40px;
    background: #fff;
    color: #0066CC;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary-lg:hover {
    background: #f0f0f0;
}

.btn-outline-lg {
    padding: 14px 40px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline-lg:hover {
    background: rgba(255,255,255,0.1);
}

/* 响应式 */
@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-gallery {
        position: static;
    }

    .specs-tabs {
        gap: 20px;
        flex-wrap: wrap;
    }

    .features-detail {
        grid-template-columns: 1fr;
    }

    .related-cases-grid {
        grid-template-columns: 1fr;
    }

    .filter-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}