/* 产品中心页面样式 */
.products-page {
    padding: 40px 0;
    background: transparent;
}

/* 产品列表样式 */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* 产品卡片样式 */
.product-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border: 1px solid #eee; /* 添加浅灰色边框 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.02); /* 添加轻微阴影 */
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #e0e0e0; /* 悬浮时边框颜色加深 */
}

/* 产品图片容器 */
.product-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* 修改悬浮效果 */
.hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

.product-item:hover .hover-overlay {
    opacity: 1;
}

/* 产品信息样式 */
.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 12px;
    font-weight: 700; /* 加粗 */
    font-style: italic; /* 斜体 */
    text-align: center; /* 居中 */
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-specs span {
    font-size: 14px;
    color: #666;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 4px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .product-list {
        grid-template-columns: 1fr;
    }
}