/* 面包屑导航 */
.breadcrumb {
    background: var(--bg-light);
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumb span {
    color: var(--text-dark);
}

.logo a {
    text-decoration: none;
}

/* 产品详情页 */
.product-detail {
    padding: 50px 0;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.detail-image {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.detail-info h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.product-specs,
.product-features {
    margin-bottom: 30px;
}

.product-specs h3,
.product-features h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.product-specs ul,
.product-features ul {
    list-style: none;
    padding-left: 0;
}

.product-specs li,
.product-features li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid #eee;
}

.product-specs li:before,
.product-features li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 8px;
}

.contact-btn {
    margin-top: 20px;
}

/* 标签页 */
.detail-tabs {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 50px;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid var(--bg-light);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-size: 16px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.tabs-content {
    padding: 30px;
}

.tab-panel {
    display: none;
}

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

.tab-panel h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.tab-panel p {
    line-height: 1.8;
    color: var(--text-light);
}

/* 相关产品 */
.related-products {
    margin-top: 50px;
}

.related-products h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* 新闻详情页 */
.news-detail {
    padding: 50px 0;
}

.news-article {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 50px;
}

.news-header {
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.news-header h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-meta {
    display: flex;
    align-items: baseline;
    gap: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.news-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.news-content {
    line-height: 2;
    color: var(--text-dark);
    font-size: 16px;
}

.news-content p {
    margin-bottom: 20px;
}

.news-content h3 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.news-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

.news-tags {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--bg-light);
    border-bottom: 1px solid var(--bg-light);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.news-tags::before {
    content: '🏷️ 标签：';
    font-size: 13px;
    color: var(--text-light);
    margin-right: 5px;
}

.news-tags span {
    display: inline-block;
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-tags span:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.news-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.news-share span {
    color: var(--text-light);
}

.share-btn {
    padding: 8px 20px;
    background: var(--bg-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

.share-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 相关新闻 */
.related-news {
    margin-top: 50px;
}

.related-news h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-list-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.news-list-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.news-list-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 5px;
}

.news-list-date .day {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.news-list-date .month {
    font-size: 14px;
    color: var(--text-light);
}

.news-list-content {
    flex: 1;
}

.news-list-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-list-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detail-content {
        grid-template-columns: 1fr;
    }

    .detail-image {
        height: 300px;
    }

    .tabs-header {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1 1 50%;
    }

    .news-article {
        padding: 20px;
    }

    .news-header h1 {
        font-size: 24px;
    }

    .news-meta {
        flex-wrap: wrap;
    }

    .news-list-item {
        flex-direction: column;
    }

    .news-list-date {
        width: 100%;
    }
}
