.productInfo-container {
    margin: 0 auto;
    max-width: 1280px;
    width: 100%;
}


/* 导航标签 */
.nav-tabs {
    margin-top: 76px;
    padding-top: 24px;
    /*border-top: 2px solid #111111;*/
}

.nav-tabs a {
    margin-right: 49px;
    padding: 0;
    line-height: 36px;
    font-size: 24px;
    text-align: center;
    position: relative;
}

.nav-tabs a:before {
    top: 8px;
    right: -25px;
    height: 20px;
    position: absolute;
    content: '';
    width: 1px;
    background-color: #d4d4d4;
    vertical-align: top;
}

.nav-tabs a.active {
    color: #0b50f2;
    font-weight: 700;
}

/* 产品标题 */
.product-header {
    margin-top: 60px;
    line-height: 40px;
    font-size: 28px;
    font-weight: 700;
}

/* 产品网格 */
.product-grid {
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* 产品卡片 */
.product-card {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
    background-color: #fff;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-card img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    min-height: 160px;
    object-fit: contain;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #333;
}

.product-specs {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-specs li {
    font-size: 0.9rem;
    color: #666;
    margin: 0.3rem 0;
}

.search-history-container {
    position: relative;
    margin: 40px auto 0;
    width: 857px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* 隐藏滚动条 */
}

.search-history-container::-webkit-scrollbar {
    display: none;
}

.search-history-label {
    margin-right: 33px;
    line-height: 36px;
    font-size: 20px;
}

.search-history-list {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    width: 80%;
    overflow-x: scroll;
    /* 隐藏原生滚动条 */
    scrollbar-width: none; /* 火狐 */
    -ms-overflow-style: none; /* IE/Edge */
}

.search-history-item {
    padding: 0 11px 0 15px;
    height: 36px;
    font-size: 0;
    border-radius: 30px;
    border: 1px solid #D4D4D4;
    box-sizing: border-box;
    cursor: pointer;

    span {
        display: inline-block;
        height: 34px;
        line-height: 34px;
        color: #767676;
        font-size: 16px;
        font-weight: 500;
    }
}

.search-history-item .delete-btn {
    margin-left: 6px;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s;
}

.scroll-arrow {
    position: absolute;
    top: 0;
    right: -16px;
    /*transform: translate(-50%, -50%);*/
    background-image: url(/site/img/btn.png);
    display: inline-block;
    background-position: -100px -100px;
    background-repeat: no-repeat;
    content: "";
    width: 50px;
    height: 50px;
    /*background: #767676;*/
    z-index: 1000;
    cursor: pointer;
}

.search-history-container {
    .left-arrow {
        left: 110px;
        transform: rotate(180deg);
    }
}

.no-results-container {
    max-width: 1280px;
    width: 100%;
    padding-bottom: 160px;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
    /*margin-top: 60px;*/
    text-align: center;
    margin: 60px auto 0;
    padding-bottom: 160px;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
    padding-top: 160px;

    i {
        position: static;
        transform: none;
        display: block;
        margin: 0 auto 24px;
        width: 80px;
        height: 80px;
        background-position: 0 -100px;
        background-repeat: no-repeat;
        content: '';
        background-image: url(/site/img/icon.png);
    }
}

@media (max-width: 1280px) {
    .productInfo-container {
        margin: 0 auto;
        max-width: 1280px;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* 导航标签 */
    .nav-tabs {
        margin-top: 30px;
        padding-top: 0;
        /*border-top: 2px solid #111111;*/
        display: none;
    }

    .nav-tabs a {
        margin-right: 49px;
        padding: 0;
        line-height: 36px;
        font-size: 24px;
        text-align: center;
        position: relative;
    }

    .nav-tabs a:before {
        top: 8px;
        right: -25px;
        height: 20px;
        position: absolute;
        content: '';
        width: 1px;
        background-color: #d4d4d4;
        vertical-align: top;
    }

    .nav-tabs a.active {
        color: #0b50f2;
        font-weight: 700;
    }

    /* 产品标题 */
    .product-header {
        margin-top: 30px;

        border-bottom: 1px solid #D4D4D4;
        font-size: 16px;
        line-height: 36px;

    }

    /* 产品网格 */
    .product-grid {
        padding-top: 24px;
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }



    .product-card img {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
        /*max-height: 160px;*/
        object-fit: contain;
    }

    .product-name {
        font-size: 1.1rem;
        font-weight: 500;
        margin-bottom: 0;
        color: #333;
    }

    .product-specs {
        list-style: none;
        margin-bottom: 1.5rem;
    }

    .product-specs li {
        font-size: 0.9rem;
        color: #666;
        margin: 0.3rem 0;
    }


    .search-history-container {
        position: relative;
        margin: 30px auto 0;
        width: 100%;
        display: flex;
        align-items: start;
        gap: 12px;
        padding: 0;
        overflow-x: auto;
        white-space: normal;
        scrollbar-width: none; /* 隐藏滚动条 */

        flex-direction: column;
    }

    .search-history-container::-webkit-scrollbar {
        display: none;
    }

    .search-history-label {
        margin-bottom: 0;
        font-size: 16px;
        line-height: 22px;
        font-weight: 700;
        color: #111111;
    }

    .search-history-list {
        display: flex;
        gap: 8px;
        flex-shrink: 0;
        width: 100%;
        overflow-x: auto;
        flex-wrap: wrap;
        /* 隐藏原生滚动条 */
        scrollbar-width: none; /* 火狐 */
        -ms-overflow-style: none; /* IE/Edge */
    }

    .search-history-item {
        padding: 0 16px;
        width: auto;
        margin-right: 8px;

        span {
            font-size: 14px;
            line-height: 32px;
            font-weight: 500;
            height: 32px;

        }
    }

    .search-history-item .delete-btn {
        margin-left: 6px;
        color: #999;
        font-size: 12px;
        cursor: pointer;
        transition: color 0.2s;
    }

    .scroll-arrow {
        display: none !important;
    }

    .search-history-container {
        .left-arrow {
            left: 110px;
            transform: rotate(180deg);
        }
    }

    .no-results-container {
        max-width: 1280px;
        width: 100%;
        padding-bottom: 160px;
        border-top: 1px solid #D9D9D9;
        border-bottom: 1px solid #D9D9D9;
        /*margin-top: 60px;*/
        text-align: center;
        margin: 30px auto 0;

        border-top: 1px solid #D9D9D9;
        border-bottom: 1px solid #D9D9D9;
        padding-top: 160px;

        padding-left: 20px;
        padding-right: 20px;


        i {
            position: static;
            transform: none;
            display: block;
            margin: 0 auto 24px;
            width: 80px;
            height: 80px;
            background-position: 0 -100px;
            background-repeat: no-repeat;
            content: '';
            background-image: url(/site/img/icon.png);
        }
    }
}

