/* ============================================
   产品三级详情页专属样式
   ============================================ */

/* ---- 面包屑导航 ---- */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    flex-wrap: wrap;
    background: transparent;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb-sep {
    color: rgba(255,255,255,0.4);
    font-size: 10px;
}

.breadcrumb-current {
    color: var(--white);
    font-weight: 500;
}

/* 缩小版页面标题 */
.page-hero-small {
    padding: 140px 0 60px;
}

.page-hero-small .page-hero-title {
    font-size: 36px;
}

.page-hero-small .page-hero-desc {
    max-width: 800px;
}

/* ---- 产品详情区 ---- */
.product-detail {
    padding: 80px 0;
    background: var(--white);
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ---- 产品图片区 ---- */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-main {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
}

.gallery-thumbs .thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    background: var(--bg);
    opacity: 0.7;
}

.gallery-thumbs .thumb:hover {
    opacity: 1;
    border-color: var(--gray-light);
}

.gallery-thumbs .thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- 产品信息区 ---- */
.product-summary h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.product-summary .device-model {
    margin-bottom: 12px;
    font-size: 16px;
}

.product-intro {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 28px;
}

.product-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.highlight-item:hover {
    background: var(--gradient);
    color: var(--white);
}

.highlight-item i {
    font-size: 20px;
    color: var(--primary);
    width: 24px;
    text-align: center;
}

.highlight-item:hover i {
    color: var(--white);
}

.highlight-item span {
    font-size: 14px;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.product-actions .btn {
    padding: 14px 32px;
}

/* ---- 规格参数区 ---- */
.product-specs-section {
    padding: 80px 0;
    background: var(--bg);
}

.specs-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th {
    background: var(--gradient);
    color: var(--white);
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.specs-table td {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--dark);
    border-bottom: 1px solid var(--gray-light);
}

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

.specs-table .spec-label {
    color: var(--gray);
    width: 35%;
    background: rgba(0,102,255,0.03);
}

.spec-group {
    background: var(--gradient);
    color: var(--white);
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.spec-group i {
    margin-right: 8px;
    font-size: 14px;
}

.spec-name {
    padding: 14px 24px;
    font-size: 14px;
    color: var(--gray);
    width: 35%;
    background: rgba(0,102,255,0.02);
    border-right: 1px solid var(--gray-light);
}

.spec-value {
    padding: 14px 24px;
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
}

/* ---- 产品特性区 ---- */
.product-features-section {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--white);
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(0,102,255,0.3);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
    .product-detail-wrapper {
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero-small {
        padding: 120px 0 40px;
    }

    .page-hero-small .page-hero-title {
        font-size: 26px;
    }

    .breadcrumb {
        font-size: 13px;
        gap: 8px;
    }

    .product-detail {
        padding: 50px 0;
    }

    .product-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .gallery-main {
        aspect-ratio: 16/10;
    }

    .product-summary h2 {
        font-size: 24px;
    }

    .product-highlights {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
    }

    .specs-table-wrapper {
        border-radius: var(--radius-sm);
    }

    .spec-name,
    .spec-value {
        padding: 12px 16px;
        font-size: 13px;
    }

    .spec-group {
        padding: 12px 16px;
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 32px 24px;
    }
}
