
/* ============================================================
   2. 新增：产品详情页专用样式 (Test6.html 专用)
   注意：以下代码是从 test6.html 中提取并清理后的独有样式
   ============================================================ */

/* --- 面包屑导航 --- */
.breadcrumb {
    background-color: var(--light-grey);
    padding: 15px 0;
    font-size: 0.9rem;
    color: #666;
}

/* --- 面包屑链接样式 (新增) --- */
.breadcrumb a {
    color: #0066cc;          /* 标准蓝色 */
    text-decoration: underline; /* 加上下划线 */
    transition: color 0.3s ease;
}

/* --- 面包屑悬停效果 (新增) --- */
.breadcrumb a:hover {
    color: #0055a4;          /* 悬停时变为深蓝色 */
    /* 下划线会保持不变，或者你可以加粗 */
}

/* --- 产品主要展示区 (Hero Section) --- */
.product-hero {
    padding: 60px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.product-image-col {
    flex: 1;
    min-width: 300px;
}

.main-img-container {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
}

.main-img-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-red);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-details-col {
    flex: 1;
    min-width: 300px;
}

.product-details-col h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--dark-grey);
    line-height: 1.2;
}

.sku {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}

.short-desc {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-red);
    padding-left: 15px;
}

.specs-preview {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.spec-item strong {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.spec-item span {
    font-weight: 600;
    color: var(--dark-grey);
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    flex: 1;
    background-color: var(--primary-red);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-secondary {
    flex: 1;
    background-color: transparent;
    border: 2px solid var(--dark-grey);
    color: var(--dark-grey);
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

/* --- 详细描述与参数表格 --- */
.details-section {
    padding: 60px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.details-section .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.details-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
}

/* 表格样式 */
.tech-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.95rem;
    margin-bottom: 30px;
	/* 1. 限制表格的最大宽度，比如 800px，防止在大屏幕上太宽 */
    max-width: 700px;
	/* 2. 左右 margin 设为 auto 实现水平居中 */
    margin-left: auto;
    margin-right: auto;
}

.tech-table th,
.tech-table td {
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    text-align: center;
}

.tech-table th {
    background-color: var(--dark-grey);
    color: var(--white);
    font-weight: 600;
}

.tech-table td:first-child {
    font-weight: bold;
    color: var(--primary-red);
    text-align: left;
}

.tech-table tr:nth-child(even) {
    background-color: #fafafa;
}

.tech-table tr:hover {
    background-color: #f0f0f0;
}

/* --- 性能曲线图区域样式 --- */
.curve-section {
    margin-top: 60px;
}

.curve-wrapper {
    background: #fcfcfc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-top: 20px;
}

.curve-img-container {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #eee;
	/* 新增：限制最大宽度，比如限制在 600px 或 800px，根据你原图的清晰度决定 */
    max-width: 700px;
	/* 【关键修改】上下外边距为0，左右外边距自动（auto），实现水平居中 */
	margin: 20px auto;
}

.curve-img-container img {
    width: 100%;
    height: auto;
    display: block;
}

.curve-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 15px;
    font-style: italic;
    text-align: center;
}

/* Related Application link inside spec preview (shared by pump product pages) */
.spec-item a { text-decoration: underline; color: #0056b3; }
.spec-item a:hover { color: #003d80; }


/* Bullet list variant of short description (pump product pages) */
.short-desc-list {
    list-style: disc;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-red);
    padding-left: 30px;
}
.short-desc-list li { margin-bottom: 8px; }
