/* 产品页专用样式 products.css */

.products-section {
    padding: 120px 0 80px;
}
.products-title{
    text-align: center;
    height:100%;
    color:var(--primary-color);
    font-size: 2rem;
}
/* 产品列表整体布局 */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-top: 3rem;
}

/* 单个产品行布局 */
.product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* border-radius: 20px; */
    padding: 2rem 12rem;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    transition: box-shadow 0.2s;
}

/* 背景色 */
.white-bg {
    background: #fff;
}
.gray-bg {
    background: #f5f6fa;
}

/* 左右内容布局 */
.product-desc {
    flex: 1.2;
    padding: 0 2.5rem;
}
.product-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2rem;
}
.product-img img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

/* 交错布局 */
.product-row .left {
    order: 1;
}
.product-row .right {
    order: 2;
}
.gray-bg {
    background: #f5f6fa;
}
.gray-bg .left {
    order: 2;
}
.gray-bg .right {
    order: 1;
}

.product-desc h3 {
    color: #396fff;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.product-desc p {
    color: #555;
    margin-bottom: 1.2rem;
    font-size: 1.08rem;
}
.product-price {
    font-size: 1.15rem;
    color: #faba37;
    font-weight: bold;
    margin-bottom: 1rem;
}
.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 2.5rem;
}
.product-features li {
    margin-bottom: 0.2rem;
    padding-left: 1.3rem;
    position: relative;
    font-size: 1rem;
    color: #396fff;
}
.product-features li:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #396fff;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0.45em;
}

/* 响应式布局 */
@media (max-width: 900px) {
    .product-row {
        flex-direction: column;
        padding: 1.5rem 0.5rem;
        text-align: center;
    }
    .product-desc, .product-img {
        padding: 0;
        width: 100%;
        margin: 0;
    }
    .product-img {
        margin-bottom: 1.5rem;
        margin-left: 0;
    }
    .gray-bg .left, .gray-bg .right, .white-bg .left, .white-bg .right {
        order: unset;
    }
    .product-features {
        flex-direction: column;
        gap: 0.3rem 0;
    }
} 