
.page {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}
html, body {
    font-size: 14px;
}
/* 顶部图片样式 */
.header-image {
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主容器 */
.productCom-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 选项卡样式 */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    padding: 0.7143rem;
}

.tab {
    padding: 0.8571rem 0.8571rem;
    margin: 0 0.3571rem;
    cursor: pointer;
    font-size: 1.1429rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.tab:hover {
    color: #039CEA;
}

.tab.active {
    color: #039CEA;
    font-weight: 600;
}

.keywords {
    height: 2.2857rem;
    background: #F7F8FA;
    border-radius: 0.2857rem;
    font-size: 1rem;
    color: #999999;
    line-height: 2.2857rem;
    margin-bottom: 0.7143rem;
    padding-left: 1.1429rem;
    padding-right: 1.1429rem;
    display: inline-block;
}

.keywords a {
    display: inline-block;
    width: 1.1429rem;
    height: 1.1429rem;
    color: #e9eaec;
    font-size: 1.1429rem;
    background: #000000;
    border-radius: 1.1429rem;
    cursor: pointer;
    line-height: 0.9286rem;
    vertical-align: middle;
    text-align: center;
    margin-left: 0.4286rem;
}

/* 产品列表样式 */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(27rem, 1fr));
    margin-bottom: 2.8571rem;
}

.product-item {
    padding-top: 4.8571rem;
    cursor: pointer;
}

.product-item:nth-child(odd) {
    background-color: #f7f8fa;
}

.product-item:nth-child(even) {
    background-color: #ffffff;
}

.product-image {
    margin: 0 auto;
    width: 25.1429rem;
    height: 25.1429rem;
    background: #c0dae4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1429rem;
}

.product-image img {
    width: 100%;
    height: 100%;
}

.product-title {
    width: 100%;
    height: 4.8571rem;
    line-height: 2.1429rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.2857rem;
    color: #666666;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-title:hover {
    background: #039CEA;
    color: #FFFFFF;
}

/* 加载动画 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(234, 91, 21, 0.2);
    border-radius: 50%;
    border-top-color: #039CEA;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 0;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.empty-state p {
    font-size: 1.2rem;
    color: #666;
}

/* ====================================================================
   产品列表页 全局响应式（顶部 banner / keyword / 分页）
   主要的 sidebar / 弹窗响应式在 pro-list.html inline style 里
   ==================================================================== */
@media (max-width: 1024px) {
    .header-image {
        height: 100vh;
        height: 100svh;
        min-height: 480px;
        max-height: none;
        overflow: hidden;
    }
    .header-image img {
        object-fit: cover;
        height: 100%;
    }
    .keywords {
        font-size: 13px;
        height: auto;
        line-height: 1.5;
        padding: 6px 12px;
    }
    .pagination {
        flex-wrap: wrap;
        gap: 4px;
    }
    .page-link {
        font-size: 14px;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .header-image {
        min-height: 420px;
        max-height: none;
    }
}
