/* ============================================================
   TP80 PC 主题 - 全站搜索结果页样式
   ============================================================ */

/* 搜索框 */
.tp-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 2px solid #0d6efd;
    border-radius: 12px;
    padding: 8px 10px 8px 16px;
    max-width: 680px;
    margin: 0 auto 18px;
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.16);
}
.tp-search-box > i { color: #0d6efd; font-size: 18px; }
.tp-search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    height: 42px;
    color: #1f2733;
}
.tp-search-box button {
    border: none;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 0 28px;
    height: 44px;
    border-radius: 9px;
    cursor: pointer;
    transition: box-shadow .2s;
}
.tp-search-box button:hover { box-shadow: 0 8px 18px rgba(13, 110, 253, 0.4); }

/* 结果统计 */
.tp-search-meta {
    text-align: center;
    color: #6b7785;
    font-size: 14px;
    margin-bottom: 26px;
}
.tp-search-meta b { color: #0d6efd; }

/* 结果项 */
.tp-search-item {
    display: flex;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.tp-search-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(20, 40, 80, 0.12);
    border-color: #0d6efd;
}
.tp-search-item__thumb {
    width: 132px;
    height: 94px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 auto;
}
.tp-search-item__body { flex: 1; min-width: 0; }
.tp-search-item__type {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.tp-search-item__type--news { background: rgba(13, 110, 253, 0.12); color: #0d6efd; }
.tp-search-item__type--product { background: rgba(32, 201, 151, 0.14); color: #0a8f5b; }
.tp-search-item__type--service { background: rgba(255, 153, 0, 0.16); color: #c77700; }
.tp-search-item__title { font-size: 17px; font-weight: 700; color: #1f2733; margin: 0 0 6px; }
.tp-search-item__desc {
    font-size: 13.5px;
    color: #6b7785;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tp-search-item__arrow { color: #c2cad6; font-size: 18px; flex: 0 0 auto; }

/* 空状态 */
.tp-search-empty { text-align: center; padding: 60px 20px; color: #9aa4b2; }
.tp-search-empty i { font-size: 44px; display: block; margin-bottom: 14px; color: #d4dae3; }
.tp-search-empty__tip { font-size: 15px; margin: 0; }

/* 相关推荐 */
.tp-search-tips {
    margin-top: 8px;
    text-align: center;
    font-size: 13px;
    color: #9aa4b2;
}
.tp-search-tips a {
    color: #0d6efd;
    text-decoration: none;
    margin: 0 6px;
}
.tp-search-tips a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .tp-search-item { flex-direction: column; align-items: flex-start; }
    .tp-search-item__thumb { width: 100%; height: 170px; }
    .tp-search-item__arrow { display: none; }
}

/* ===== 全局字体放大（配合 common.css 根字号提升） ===== */
.tp-search-box > i { font-size: 20px; }
.tp-search-box input { font-size: 18px; }
.tp-search-box button { font-size: 17px; }
.tp-search-meta { font-size: 16px; }
.tp-search-item__type { font-size: 14px; }
.tp-search-item__title { font-size: 19px; }
.tp-search-item__desc { font-size: 15px; }
.tp-search-item__arrow { font-size: 20px; }
.tp-search-empty i { font-size: 48px; }
.tp-search-empty__tip { font-size: 17px; }
.tp-search-tips { font-size: 15px; }
