/* === 产品搜索框：关键词联想下拉 === */
.search-1-input-group { position: relative; }
.pd-suggest {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(7, 51, 138, .12);
    max-height: 358px;
    overflow-y: auto;
    z-index: 9999;
    padding: 6px 0;
    display: none;
    box-sizing: border-box;
    /* 比输入框更宽, 保证长标题尽量完整显示 */
    min-width: 100%;
    width: max-content;
    max-width: min(560px, 92vw);
}
.pd-suggest.show { display: block; }
.pd-suggest .pd-s-head {
    padding: 6px 16px 8px;
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    white-space: nowrap;
}
.pd-suggest .pd-s-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 16px;
    font-size: 13.5px;
    line-height: 20px;
    color: #333;
    cursor: pointer;
    /* 长标题最多显示两行, 不再单行硬截断 */
    white-space: normal;
    word-break: break-word;
}
.pd-suggest .pd-s-item:hover,
.pd-suggest .pd-s-item.active {
    background: #f2f5fc;
    color: #07338a;
}
.pd-suggest .pd-s-item em {
    font-style: normal;
    color: #07338a;
    font-weight: 600;
}
.pd-suggest .pd-s-tag {
    flex: 0 0 auto;
    margin-top: 1px;
    font-size: 11px;
    color: #898989;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    padding: 0 5px;
    line-height: 17px;
}
.pd-suggest .pd-s-item.hot .pd-s-tag { color: #c0392b; border-color: #f0d2cd; }
.pd-suggest .pd-s-text { flex: 1 1 auto; }
.search-1-input-group .p2-btn { cursor: pointer; }

@media (max-width: 900px) {
    .pd-suggest { max-width: 92vw; }
    .pd-suggest .pd-s-item { font-size: 13px; padding: 9px 12px; }
}
