/* 基础重置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: #f4f6f9;
    font-family: "Microsoft Yahei", system-ui, sans-serif;
    color: #333;
    line-height: 1.6;
}
.tool-container {
    max-width: 1280px;
    margin: 20px auto;
    padding: 0 16px;
}

/* 顶部提示 */
.tips-bar {
    background: #fffbeb;
    color: #b45309;
    font-size: 13px;
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    border: 1px solid #fef3c7;
}

/* 筛选区域 */
.filter-wrap {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    margin-bottom: 22px;
}
.filter-title {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 18px;
    padding-left: 5px;
    border-left: 4px solid #2563eb;
}
.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.filter-row:last-child {
    margin-bottom: 0;
}
.filter-label {
    font-size: 14px;
    color: #4b5563;
    white-space: nowrap;
}
.filter-select, .filter-input {
    height: 40px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    min-width: 130px;
    outline: none;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.filter-select:focus, .filter-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.search-box {
    flex: 1;
    min-width: 240px;
}

/* 列表：一行一个卡片 */
.phone-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 手机卡片 */
.phone-item {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.phone-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* 卡片头部 */
.item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
}
.item-name {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}
.item-price {
    font-size: 17px;
    font-weight: 600;
    color: #dc2626;
    white-space: nowrap;
}
.item-star {
    color: #f59e0b;
    font-size: 15px;
    letter-spacing: 1px;
    margin: 6px 0 12px;
}

/* 标签组 */
.item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.tag {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 16px;
    background: #eff6ff;
    color: #2563eb;
}

/* 信息行 */
.info-row {
    font-size: 14px;
    margin: 10px 0;
    display: flex;
}
.info-label {
    width: 86px;
    color: #4b5563;
    font-weight: 500;
    flex-shrink: 0;
}
.info-text {
    color: #374151;
    line-height: 1.7;
}
.adv-text {
    color: #059669;
}
.disd-text {
    color: #e11d48;
}

/* 空数据 */
.no-data {
    text-align: center;
    padding: 80px 0;
    color: #6b7280;
    font-size: 15px;
    background: #fff;
    border-radius: 14px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .filter-select, .filter-input {
        width: 100%;
    }
    .info-label {
        width: 76px;
    }
}