/* 产品页面样式 */

/* 海报区域 */
.products-banner {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.products-banner img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f5f5f5;
    padding: 20px 0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
}

.breadcrumb a:hover {
    color: #22d967;
}

.breadcrumb .separator {
    color: #999;
    margin: 0 8px;
    font-size: 15px;
}

.breadcrumb .current {
    color: #333;
    font-size: 15px;
}

/* 产品展示区域 */
.products-section {
    padding: 40px 0 80px;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-link:hover .product-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-image img {
    max-width: 100%;
    height: 280px;
    object-fit: contain;
}

.product-content {
    padding: 0 30px 30px 30px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .products-grid {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .products-banner {
        height: 200px;
    }

    .products-banner img {
        height: 200px;
    }

    .products-section {
        padding: 30px 0 60px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        padding: 25px 20px;
    }

    .product-image img {
        height: 200px;
    }

    .product-content {
        padding: 0 20px 20px 20px;
    }

    .product-title {
        font-size: 18px;
    }

    .product-desc {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .products-banner {
        height: 140px;
    }

    .products-banner img {
        height: 140px;
    }

    .product-image img {
        height: 140px;
    }
}
