/* 返回按钮 */
.back-button {
    margin-top: 20px;
}

.back-button a {
    display: inline-flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s;
}

.back-button a:hover {
    color: #1890ff;
}

.back-icon {
    width: 40px;
    height: 40px;
    margin-right: 5px;
}

/* 产品列表页面样式 */
.products-container {
    width: 100%;
    padding: 40px 10px;
    background-color: #fff;
}

/* 产品分类样式 */
.grid_2 {
    /*display: flex;*/
    /*flex-wrap: wrap;*/
    /*justify-content: flex-start;*/
    /*margin: 30px 0;*/
    /*gap: 20px;*/
}

.image-text_8 {
    /*cursor: pointer;*/
    /*padding: 10px 20px;*/
    /*border-radius: 5px;*/
    /*transition: all 0.3s ease;*/
    background: rgba(244, 247, 252, 1);
}

.image-text_8.active {
    /*background-color: #f0f8ff;*/
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
}

/* 产品列表样式 */
.product-list {
    /*display: flex;*/
    /*flex-wrap: wrap;*/
    /*gap: 30px;*/
    /*margin-top: 30px;*/
    /*justify-content: flex-start;*/
}

.box_6 {
    /*width: calc(33.33% - 20px);*/
    /*margin-bottom: 30px;*/
    /*transition: transform 0.3s ease;*/
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);*/
    /*border-radius: 8px;*/
    /*overflow: hidden;*/
}

.box_6:hover {
    /*transform: translateY(-5px);*/
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);*/
}

.image_16 {
    width: 100%;
    /*height: 220px;*/
    overflow: hidden;
}

.image_16 img {
    /*width: 100%;*/
    /*height: 100%;*/
    /*object-fit: cover;*/
    /*transition: transform 0.5s ease;*/
}

.box_6:hover .image_16 img {
    /*transform: scale(1.05);*/
}

.box_7 {
    padding: 15px;
    /*background-color: #fff;*/
}

.box_8 {
    margin-bottom: 10px;
}

.text_33 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.text-wrapper_1 {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 加载状态和错误提示 */
.loading, .error, .no-products {
    width: 100%;
    padding: 30px;
    text-align: center;
    font-size: 16px;
    color: #666;
}

.error {
    color: #f44336;
}

/* 分页样式 */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination nav {
    display: flex;
    justify-content: center;
}

.pagination .pagination-item {
    margin: 0 5px;
    padding: 8px 15px;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .pagination-item.active {
    background-color: #4a90e2;
    color: #fff;
}

.pagination .pagination-item:hover {
    background-color: #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .box_6 {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .box_6 {
        width: 100%;
    }

    .grid_2 {
        margin-top: 64px;
    }

    .image-text_8 {
        padding: 8px 15px;
    }
}
