.search-top-box {
    overflow: auto;
    background-color: #fff;
    padding-bottom: 3rem;
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    margin-top: 1rem;
}
.title-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.product-row {
    display: flex;
    margin-top: 1rem;
}

.simple-product-item {
    display: inline-block;
    width: 23.125%;
    height: 15rem;
    background-color: #eee;
    position: relative;
    margin-left: 2.5%;
    box-sizing: border-box;
}
.simple-product-item:first-of-type {
    margin-left: 0;
}

.simple-product-item > img {
    width: 100%;
    max-height: 15rem;
}

.simple-product-item .product-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    text-align: center;
    padding: 6px;
    box-sizing: border-box;
}
/* ===================== 搜索框 start ===================== */
.all-search-bg {
    min-height: 12.2rem;
}
.all-search-box {
    width: 100%;
    padding-top: 1.5rem;
    padding-bottom: 1.2rem;
}
.all-search-box.fixed {
    position: fixed;
    top: 0px;
    box-shadow: 0 0.1875rem 0.4375rem 0 rgba(0,0,0,.18824);
    background-color: #fff;
    z-index: 11;
}
.all-search-box.fixed .filter-section {
    background-color: #f6f6f6;
}
.search-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.search-section .search-box {
    width: 40rem;
}
.filter-section {
    display: flex;
    align-items: center;
    height: 3.2rem;
    background-color: #fff;
    margin-top: 0.8rem;
    font-size: 1rem;
    justify-content: space-between;
    padding-right: 2rem;
    box-sizing: border-box;
}
/* 已选 */
.search-label {
    padding: 0 2rem;
}
.selected-section {
    font-size: 0.875rem;
    min-height: 1.8rem;
    display: flex;
    align-items: center;
}
.selected-section-label {
    padding-right: 0.6rem;
    padding-left: 2rem;
}
.filter-section > .filter-item {
    margin-left: 2rem;
    display: inline-flex;
    align-items: center;
    margin-left: 1rem;
    margin-right: 0;
    padding: 0.4rem 0 0.4rem 1rem;
}
.selected-item {
    display: inline-flex;
    margin-right: 1rem;
}
.filter-select-name {
    display: inline-block;
    background-color: #da1212;
    color: #fff;
    padding: 0.28rem 0.4rem;
    margin-right: 2px;
}
.filter-select-close {
    background-color: #da1212;
    color: #fff;
    border: none;
    padding: 0 0.4rem;
    font-size: 1.2rem;
    cursor: pointer;
}
/* 下拉选择项 */
.tm-childs-row {
    min-width: 6rem;
}
.tm-childs > .toggle-menu > .tm-childs {
    right: 0;
    top: 0;
}
.filter-item .tm-childs-row:hover {
    color: #da1212;
    text-decoration: underline;
}
/* ===================== 搜索框 end ===================== */

#search-content-box {
    display: flex;
    flex-wrap: wrap;
}
.product-item {
    background-color: #fff;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    width: 23.125%;
    margin-right: 2.5%;
    box-sizing: border-box;
}
.product-item:nth-child(4n) {
    margin-right: 0;
}
.product-image {
    width: 100%;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
    position: relative;
    /* background-color: #f6f6f6; */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.product-image > img {
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 1;
}
.product-title {
    font-weight: bold;
    height: 3rem;
    font-size: 1.1rem;
    margin-top: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}
.product-price {
    padding: 0.8rem;
    padding-bottom: 0;
    font-size: 1.5rem;
    color: #da1212;
    font-weight: bold;
}
.product-company {
    display: block;
    font-size: 0.9rem;
    color: #999;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding-top: 0.8rem;
}
