/* 产品图片展示样式 */
.product-images {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.main-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.05);
}

.gallery-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery-item {
    width: calc(33.333% - 7px);
    min-width: 120px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
}

.gallery-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-item img:hover {
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-images {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .gallery-item {
        width: calc(50% - 5px);
        min-width: 100px;
    }
    
    .gallery-item img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .gallery-images {
        gap: 8px;
    }
    
    .gallery-item {
        width: calc(50% - 4px);
        min-width: 80px;
    }
    
    .gallery-item img {
        height: 50px;
    }
}

/* 图片加载状态 */
.product-images img {
    background-color: transparent;
}

/* 响应式类 */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 产品介绍区块背景颜色差异化 */
.costOne.bg-variant-1 {
    background: linear-gradient(135deg, #e7eef9 0%, #d1e3f7 100%);
    /* background: linear-gradient(135deg, #f0f4f9 0%, #f0f4f9 100%); */
}

.costOne.bg-variant-2 {
    background: linear-gradient(135deg, #f0f8e7 0%, #e1f2d1 100%);
}

.costOne.bg-variant-3 {
    background: linear-gradient(135deg, #fef0f0 0%, #fde1e1 100%);

}