﻿
/* ====== 内容 ====== */
.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
}

/* ====== 移动端 ====== */
@media (max-width: 768px) {
    .hero-banner-solid {
        padding: 70px 0 80px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }
}


/*产品内容*/
.product-container {
}

@media (min-width:1400px){
    
    .product-container {
        max-width: calc(100vw - 80px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width:1969px){
    
    .product-container {
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
    }
}



/* 产品分类 */
.category-panel {
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 360px;
    margin-right: 2rem;
}

.category-header {
    background: #333333;
    color: white;
    height: 100px;
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

.category-nav {
}

.category-tabs {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}

.category-tab {
    background: white;
    border: 1px solid #e9ecef;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    height: 60px;
}

    .category-tab:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
    }

    .category-tab.active {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }

    .category-tab i {
        font-size: 1.1rem;
    }



.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}


/* 产品卡片 */
.product-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px #f8f2e8;
    }


/* 产品视觉区域 */
.product-visual {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #fdf9f3 0%, #f8f2e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-main-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-main-image {
    transform: scale(1.05);
}

.product-scene-image {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 60px;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #666;
}

/* 产品信息区域 */
.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* 填充卡片剩余空间 */
}

.product-header {
    margin-bottom: 1rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-code {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: .25rem;
}

.product-positioning {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* 核心参数与亮点 */
.product-params {
    margin-bottom: 1.5rem;
    flex-grow: 1; /* 确保描述区域高度一致 */
}

.param-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.param-tag {
    background: rgb(248 243 233 / 20%);
    color: #666666;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(97, 95, 91, 0.2);
}

.product-highlight {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

/* 应用场景 */
.application-scenarios {
    margin-bottom: 1.5rem;
}

.scenarios-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.5rem;
}

.scenarios-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.scenario-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #6c757d;
}

    .scenario-item i {
        color: var(--primary-color);
        font-size: 0.7rem;
    }

/* 行动按钮 */
.product-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-detail {
    background: transparent;
    color: var(--bs-secondary);
    border: 1px solid rgb(108 117 125 / 20%);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

    .btn-detail:hover {
        border: 1px solid #f8f2e8;
        background: #f8f2e8;
        color: var(--primary-color);
        transform: translateY(-1px);
    }



/* 空状态 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    color: #6c757d;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #adb5bd;
    margin-bottom: 2rem;
}

/* 分页导航 */
.pagination-wrapper {
    margin-top: 3rem;
}

.pagination .page-link {
    color: var(--primary-color);
    border-color: #e9ecef;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

    .pagination .page-link:hover {
        background-color: rgba(255, 107, 53, 0.1);
        border-color: var(--primary-color);
    }

    .pagination .page-link:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    }

    .page-item.active .page-link{
        background-color: rgba(255, 107, 53, 0.25);
        border-color: var(--primary-color);
    }

#pageInfo {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
