/* 容器基础样式 */
.product-page-container {
    background-color: #fff;
}

/* 通用 Banner 区域 */
.category-banner {
    position: relative;
    width: 100%;
    /*aspect-ratio: 16 / 9;*/
    height: 1080px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.category-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.category-banner .banner-content {
    position: relative;
    z-index: 2;
    width: 1200px;
    margin: 0 auto;
    padding-left: 600px; /* 文字在右侧 */
    color: #fff;
}

.banner-content .category-title {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 10px;
}

.banner-content .category-en {
    font-size: 24px;
    border-bottom: 2px solid #fff;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.banner-content .category-desc {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
}

/* 产品列表网格 */
.product-grid {
    width: 1200px;
    margin: 80px auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.product-card {
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card .card-img-box {
    width: 250px;
    height: 250px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0px 2px 4px  rgba(0, 0, 0, 0.25);
}

.product-card .card-img-box img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.product-card .card-name {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
}

/* 特定背景色分类 */
.bg-purple { background-color: #d8c9f0; }
.bg-white { background-color: #fff; }
.bg-black { background-color: #000; color: #fff; }

.category-banner.black-theme .banner-content {
    padding-left: 650px;
}
.category-banner.black-theme .category-en {
    border-bottom-color: #fff;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .category-banner .banner-content, .product-grid {
        width: 100%;
        padding: 0 20px;
    }
    .category-banner .banner-content {
        padding-left: 50%;
    }
}
