/* 搜索栏目 */
.search_page {
    min-height: 9.34rem;
    padding: 1.66rem 0 0.8rem;
}
.search_page .position{
    background: none;
    padding: 0;
}
.search_page .position .position_nav{
    display: none;
}
.search_page .position .crumb{
    margin: 0;
}





.search_title {
    font-weight: bold;
    font-size: 0.35rem;
    text-align: center;
    margin: 0.34rem 0 0.17rem;
}

.search_form {
    background: #fff;
    border: 1px solid #E8E8E8;
    display: flex;
    height: 0.45rem;
    max-width: 8rem;
    position: relative;
    margin: 0 auto;
    border-radius: 0.05rem;
}

.search_form::before {
    background: url("../img/search_icon.png") center / contain no-repeat;
    content: "";
    height: 0.17rem;
    left: 0.12rem;
    position: absolute;
    top: 0.14rem;
    width: 0.16rem;
}
.search_form input {
    flex: 1;
    padding: 0 0.37rem;
    font-weight: 400;
    font-size: 0.16rem;
    color: #000;
    border-radius: 0.05rem;
}
.search_form input::placeholder {
    color: #D1D1D1;
}
.search_form>button {
    background: none;
    border: none;
    font-weight: 600;
    font-size: 0.16rem;
    padding-right: 0.18rem;
}
.search_history {
    background: #fff;
    border: 1px solid #E8E8E8;
    border-radius:0 0 0.05rem 0.05rem;
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 12;
    width: 100%;
}
.search_history.on {
    display: block;
}

.history_head,
.history_item {
    align-items: center;
    border-bottom: 1px solid #E8E8E8;
    display: flex;
    justify-content: space-between;
    padding: 0.17rem 0.18rem 0.17rem 0.35rem;
}

.history_head .clear_history {
    background: none;
    border: none;
    color: #B1B1B1;
    font-weight: 500;
}

.history_item {
    color: #707070;
}
.history_item:hover{
    color: #1A62B9;
}
.history_item button {
    width: 0.14rem;
    height: 0.14rem;
    border: none;
    background: url(../img/close2.png) center / contain no-repeat;
    cursor: pointer;
}
.history_item button:hover{
    background: url(../img/close3.png) center / contain no-repeat;
}
.history_tip {
    background: #EFEFEF;
    color: #B1B1B1;
    padding: 0.15rem;
    text-align: center;
    line-height: 1;
}








.search_count {
    margin: 0.28rem 0 0.58rem;
    text-align: center;
}
.search_count em {
    color: var(--blue);
    font-style: normal;
}
.search_results {
    display: grid;
    gap: 0.16rem;
    width: 100%;
}
.result_item {
    background: #fff;
    padding: 0.3rem;
    width: 100%;
    display: grid;
}
.result_item h3 {
    font-size: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.result_item h3 em {
    color: #FF0000;
    font-style: normal;
}
.result_item p {
    color: #646464;
    font-size: 0.16rem;
    margin-top: 0.06rem;
}



.search_empty {
    display: none;
    max-width: 5rem;
    margin: -0.9rem auto 0;
    text-align: center;
}
.search_empty img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.search_empty p {
    font-size: 0.2rem;
    margin-top: -0.74rem;
}



.search_page.is_empty .search_results,
.search_page.is_empty .pageWrap {
    display: none;
}

.search_page.is_empty .search_empty {
    display: block;
}



@media (max-width: 1042px) {
    .search_page{
        padding: 30px 0 80px;
    }
}

@media (max-width: 768px) {
    .search_page {
        padding-top: 15px;
    }
    .search_form{
        height: 36px;
    }
    .search_form input{
        font-size: 14px;
        padding: 0 10px 0 30px;
    }
    .search_form>button{
        font-size: 14px;
    }
    .search_form::before{
        width: 14px;
        height: 20px;
    }
    .search_title {
        font-size: 22px;
        margin: 40px 0 13px;
    }

    .result_item {
        padding: 20px;
    }
    .result_item h3{
        font-size: 16px;
        white-space: normal;
    }
    .result_item p{
        font-size: 14px;
        margin-top: 10px;
    }

    .search_empty p{
        font-size: 14px;
    }
}