/* css/products.css */

#heat-pump-tech h2, #product-advantages h2 {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

#heat-pump-tech h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.6em;
}

#heat-pump-tech p, #product-advantages p {
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
}

.tech-intro {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start; /* Align items to the start for better layout with image */
}

.tech-image {
    max-width: 300px; /* Adjust as needed */
    height: auto;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-right: 20px; /* Added for spacing if flex layout is not preferred */
    float: left; /* Optional: for text wrapping around image */
}

#product-advantages ul {
    list-style: none;
    padding-left: 0;
}

#product-advantages li {
    background: #f9f9f9;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-left: 5px solid #3498db;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s ease;
}

#product-advantages li:hover {
    background-color: #eef7ff;
}

#product-advantages li strong {
    color: #2c3e50;
    font-size: 1.1em;
}

/* Clearfix for floated elements like .tech-image if float is used */
.tech-intro::after {
    content: "";
    clear: both;
    display: table;
}

/* 图片展示区样式 */
#product-images {
    margin-top: 40px;
}
#product-images h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.4em;
    color: #2c3e50;
    border: none;
    display: block;
    text-align: left;
}
.image-group {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 30px;
}
.image-group img {
    width: 220px;
    height: 180px;
    
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
}
.image-group img:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 24px rgba(52,152,219,0.18);
    z-index: 2;
}
@media (max-width: 900px) {
    .image-group img {
        width: 48vw;
        height: 32vw;
        min-width: 120px;
        min-height: 90px;
    }
}
@media (max-width: 600px) {
    .image-group {
        flex-direction: column;
        align-items: center;
    }
    .image-group img {
        width: 90vw;
        height: 60vw;
    }
} 