/* css/product-page.css */

/* Product Page Header Style */
.product-header h1 {
    color: white;
}

/* Header Background Image Style */
.product-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/FAC-02.JPG'); /* 注意：图片路径改为了 ../ */
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative; /* 为面包屑导航定位 */
}

.header-content {
    position: relative;
    z-index: 2;
}

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 0;
    margin-top: 15px;
    list-style: none;
    display: flex;
    justify-content: center;
    color: #fff;
}
.breadcrumb li {
    margin: 0 5px;
    font-size: 14px;
}
.breadcrumb li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb li a:hover {
    color: #fff;
}
.breadcrumb li.active {
    color: #fff;
    font-weight: 500;
}
.breadcrumb li+li:before {
    content: "/\00a0";
    padding: 0 5px;
    color: #ccc;
}

/* Product Content Area */
.product-container {
    display: flex; /* 恢复为左右布局，更适合桌面端 */
    flex-wrap: wrap; /* 在小屏幕上换行 */
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    gap: 40px; /* 图片和描述之间的间距 */
}

/* Product Image Area */
.product-image {
    flex: 1 1 400px; /* 基础宽度为400px，可以缩放 */
}

.product-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Product Description Area */
.product-description {
    flex: 1 1 500px; /* 基础宽度500px，可以缩放 */
}

.product-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #2c3e50; /* 使用更柔和的深色 */
}

.product-specs {
    margin: 30px 0;
}

.product-specs h3 {
    margin-bottom: 15px;
}

.product-specs ul {
    padding-left: 0; /* 清除默认的ul内边距 */
}

.product-specs li {
    margin-bottom: 12px;
    list-style-type: none;
    position: relative;
    padding-left: 30px;
    font-size: 1.1em;
}

.product-specs li:before {
    content: "✓";
    color: #2a7f75; /* 主题绿色 */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 2px;
}

/* 响应式设计：在小屏幕上，图片和描述垂直排列 */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
    }
}
