.search {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.logo {
    width: 120px;
    height: 40px;
    margin-right: 30px;
}

.logo img {
    height: 100%;
    width: auto;
}

.search-box {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    height: 40px;
    border: 1px solid #1677ff;
    border-radius: 20px;
    padding: 0 15px;
    font-size: 14px;
    outline: none;
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    width: 80px;
    background-color: #1677ff;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.main_title {
    background-color: #fff;
    padding: 30px 0;
    text-align: center;
}

.main_title h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.all-class {
    width: 100%;
    padding: 30px 10%;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #1677ff;
}

/* 适配新的group-list和group-card样式 */
.group-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.group-card {
    width: 350px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 20px;
}

.group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.group-name {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.group-description {
    font-size: 14px;
    color: #999;
    line-height: 24px;
    height: 60px;
    overflow: hidden;
    margin-bottom: 15px;
}

.view-products-btn {
    display: inline-block;
    height: 36px;
    padding: 0 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #1677ff;
    color: #1677ff;
    text-decoration: none;
    line-height: 36px;
    text-align: center;
    float: right;
}

.view-products-btn:hover {
    background-color: #f0f7ff;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo {
        display: none;
    }

    .group-card {
        width: 100%;
    }
}