/* ==================== Banner区域 ==================== */
.product-banner-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 面包屑导航 */
.breadcrumb-container {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 10;
}

.breadcrumb-container .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    background: transparent;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-flex;
}

.breadcrumb-item {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .breadcrumb-item:hover {
        color: #ffffff;
    }

    .breadcrumb-item.active {
        color: #ffffff;
        font-weight: 600;
    }

.breadcrumb-separator {
    color: #ffffff;
}

/* ==================== 产品内容区域 ==================== */
.product-content-section {
    padding: 60px 0 80px;
/*    background: #f7f9fa;*/
}

.product-content-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 左右布局容器 */
.product-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ==================== 左侧分类侧边栏 ==================== */
.category-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: #f7f9fa;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    position: sticky;
    top: 100px;
    padding: 0;
}

.sidebar-title {
    margin: 0;
    padding: 30px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1e40af;
    border-bottom: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    text-align: center;
}

.category-accordion {
    padding: 0;
}

/* 风琴菜单项 */
.category-accordion-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e8ecf0;
}

.category-accordion-item:hover {
    background: #ffffff;
}

.category-accordion-item:hover .accordion-title {
    color: #1e40af;
}

.category-accordion-item:hover .accordion-icon {
    display: flex;
}

.category-accordion-item.active {
    background: #ffffff;
}

.category-accordion-item.active .accordion-title {
    color: #1e40af;
    font-weight: 600;
}

.category-accordion-item.active .accordion-icon {
    display: flex;
}

.accordion-content {
    padding: 28px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-title {
    font-size: 20px;
    font-weight: 400;
    color: #666;
    transition: color 0.3s ease;
    flex: 1;
}

.accordion-icon {
    display: none;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.accordion-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ==================== 右侧产品展示区域 ==================== */
.product-display-area {
    flex: 1;
    min-width: 0;
}

/* 产品头部信息 */
.product-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.current-category-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
}

.product-count {
    font-size: 15px;
    color: #64748b;
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 20px;
}

/* 新产品网格布局 */
.product-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 新产品卡片 */
.product-card-new {
    background: #f7f9fa;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 20px;
}

.product-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.08);
    background: #fff;
}

/* 产品卡片上部：产品名称 */
.product-card-header {
    padding: 0 0 16px 0;
    background: transparent;
    text-align: left;
    position: relative;
}

.product-card-header::before {
    display: none;
}

.product-card-new:hover .product-card-header {
    background: transparent;
}

.product-name-new {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    position: relative;
}

/* 产品卡片下部：产品图片 */
.product-card-body {
    padding: 0;
    position: relative;
    background: transparent;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-body img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease, filter 0.3s ease;
    max-height: 400px;
}

.product-card-new:hover .product-card-body img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* 产品介绍遮罩层（hover时显示） */
.product-intro-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.5) 0%, rgba(59, 130, 246, 0.35) 100%);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
    opacity: 0;
}

.product-card-new:hover .product-intro-overlay {
    max-height: 100px;
    padding: 16px;
    opacity: 1;
}

.product-intro-text {
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-new:hover .product-intro-text {
    opacity: 1;
    transform: translateY(0);
}

/* 图片占位符 */
.image-placeholder-new {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #94a3b8;
    padding: 20px;
    text-align: center;
}

.image-placeholder-new svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.image-placeholder-new span {
    font-size: 14px;
}

/* 空状态 */
.empty-state-new {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #94a3b8;
}

.empty-state-new svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.4;
}

.empty-state-new h3 {
    font-size: 20px;
    color: #64748b;
    margin: 0 0 8px 0;
}

.empty-state-new p {
    font-size: 15px;
    color: #94a3b8;
    margin: 0;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .product-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .product-banner-section {
        height: 280px;
    }

    .breadcrumb-container {
        padding: 10px 0;
    }

    .product-layout {
        flex-direction: column;
    }

    .category-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }

    .product-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-header-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .current-category-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .product-grid-new {
        grid-template-columns: 1fr;
    }

    .current-category-title {
        font-size: 18px;
    }

    .sidebar-title {
        font-size: 16px;
        padding: 16px 20px;
    }

    .accordion-content {
        padding: 14px 20px;
    }

    .accordion-title {
        font-size: 14px;
    }

    .product-card-header {
        padding: 16px;
    }

    .product-name-new {
        font-size: 16px;
    }

    .product-intro-text {
        font-size: 13px;
    }
}

/* ==================== 加载动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card-new {
    animation: fadeInUp 0.5s ease forwards;
}

.product-card-new:nth-child(1) { animation-delay: 0.05s; }
.product-card-new:nth-child(2) { animation-delay: 0.1s; }
.product-card-new:nth-child(3) { animation-delay: 0.15s; }
.product-card-new:nth-child(4) { animation-delay: 0.2s; }
.product-card-new:nth-child(5) { animation-delay: 0.25s; }
.product-card-new:nth-child(6) { animation-delay: 0.3s; }
