/* 全局基础 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: #f5f7fa;
    font-family: "Microsoft Yahei", sans-serif;
}
.tool-container {
    max-width: 1240px;
    margin: 24px auto;
    padding: 0 16px;
}

/* 顶部提示栏 */
.tips-bar {
    background: #fffbeb;
    color: #92400e;
    font-size: 13px;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* 筛选区域 */
.filter-wrap {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}
.filter-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 16px;
    padding-left: 4px;
    border-left: 4px solid #3b82f6;
}
.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.filter-row:last-child {
    margin-bottom: 0;
}
.filter-label {
    font-weight: 500;
    color: #4a5568;
    white-space: nowrap;
    font-size: 14px;
}
.filter-select, .filter-input {
    padding: 9px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    min-width: 140px;
    outline: none;
    font-size: 14px;
    color: #2d3748;
    background: #fff;
    transition: all 0.2s ease;
}
.filter-select:focus, .filter-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.search-box {
    flex: 1;
    min-width: 220px;
}

/* 列表容器 */
.laptop-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* 机型卡片 简约风格 */
.laptop-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    padding: 24px;
    transition: all 0.25s ease;
}
.laptop-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

/* 标题行 */
.item-title {
    font-size: 19px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.item-price {
    color: #e53e3e;
    font-size: 18px;
    font-weight: 600;
}
/* 推荐指数 */
.item-star {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* 标签组 统一单色 */
.item-tags {
    margin: 10px 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    display: inline-block;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #edf2f7;
    color: #4a5568;
    white-space: nowrap;
}

/* 信息区块 */
.item-category, .item-config, .item-param, .item-crowd, .item-game, .item-adv, .item-disd {
    margin: 12px 0;
    line-height: 1.75;
    font-size: 14px;
}
.block-name {
    display: inline-block;
    width: 80px;
    font-weight: 500;
    color: #2d3748;
    vertical-align: top;
}
.category-text, .config-text, .param-text, .crowd-text, .game-text {
    color: #4a5568;
}
.adv-text {
    color: #2f855a;
}
.disd-text {
    color: #c53030;
}

/* 无数据提示 */
.no-data {
    text-align: center;
    padding: 80px 0;
    color: #718096;
    font-size: 15px;
    background: #fff;
    border-radius: 12px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .filter-select, .filter-input {
        width: 100%;
    }
    .item-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .laptop-item {
        padding: 18px;
    }
    .block-name {
        width: 70px;
    }
}