/* 主要内容区域 */
.goods-content {
    padding: 40px 0;
}

/* 侧边栏分类导航 */
.sidebar-categories {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: sticky;
    top: 20px;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);
}

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-item {
    margin-bottom: 8px;
}

.category-link {
    display: block;
    padding: 12px 15px;
    color: #5a6c7d;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.category-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);
    transition: width 0.3s ease;
    z-index: 1;
}

.category-link:hover {
    color: white;
    background: transparent;
    transform: translateX(5px);
}

.category-link:hover::before {
    width: 100%;
}

.category-link.active {
    color: white;
    background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);
    box-shadow: 0 4px 12px rgba(0, 106, 191, 0.3);
}

.category-link.active::before {
    width: 0;
}

.category-link span {
    position: relative;
    z-index: 2;
}

.category-count {
    float: right;
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.category-link:hover .category-count {
    background: rgba(255, 255, 255, 0.3);
}

/* 产品列表区域 */
.products-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.products-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.products-count {
    color: #6c757d;
    font-size: 14px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.goods-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
/* 案例卡片样式 */
.goods-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.goods-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);
}

.goods-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #006abf;
}



/* 案例内容 */
.goods-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.goods-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.goods-description {
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    height: 80px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.goods-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.goods-button {
    background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.goods-button:hover {
    color: white;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.goods-button i {
    transition: transform 0.3s ease;
}

.goods-button:hover i {
    transform: translateX(3px);
}

/* 产品列表区域 */
.products-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.products-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.products-count {
    color: #6c757d;
    font-size: 14px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.goods-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* 案例卡片样式 */
.goods-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.goods-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);
}

.goods-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #006abf;
}

/* 案例图片 */
.goods-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    height: 200px;
    background: #f8f9fa;
}

.goods-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.goods-image:hover img {
    transform: scale(1.05);
}

.goods-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 106, 191, 0.1) 0%, rgba(0, 90, 160, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.goods-item:hover .goods-image::after {
    opacity: 1;
}

/* 案例内容 */
.goods-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.goods-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.goods-description {
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    height: 80px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.goods-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.goods-button {
    background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.goods-button:hover {
    color: white;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.goods-button i {
    transition: transform 0.3s ease;
}

.goods-button:hover i {
    transform: translateX(3px);
}
