* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}


.product-search-page {
    padding-bottom: 160px;
    width: 100%;

    .search-area {
        max-width: 1280px;
        margin: 0 auto;
        padding-top: 120px;
        text-align: center;
        font-family: "Noto Sans SC", "Gothic", sans-serif;

        .search-box {
            .search-title {
                line-height: 76px;
                font-size: 64px;
                font-weight: 700;

            }
        }


        .search-wrapper {
            position: relative;
            text-align: center;
            margin: 60px auto 0;
            width: 626px;
            border-bottom: 2px solid #111111;
            font-family: "Noto Sans SC", "Gothic", sans-serif;

            .search-input::placeholder {
                font-size: 28px;
                font-weight: 500;
            }

            .search-input:focus::placeholder {
                color: transparent; /* 透明占位符 */
            }


            .search-input {
                height: 56px;
                line-height: 56px;
                border: none;
                background: transparent;
                text-align: center;
                font-size: 28px;
                color: #111111;
                outline: none;
                padding-right: 40px;
                box-sizing: border-box;
            }

            /* 搜索图标 */

            .search-icon {
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 20px;
                height: 20px;
                border: 1.5px solid #999;
                border-radius: 50%;
                cursor: pointer;
                display: inline-block;

                span {
                    display: inline-block;
                    position: relative;
                    z-index: 10;
                    width: 100%;
                    height: 100%;
                }
            }

            /* 搜索图标上的斜线 */

            .search-icon::after {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background-image: url(/site/img/btn.png);
                display: inline-block;
                background-position: -300px 0;
                background-repeat: no-repeat;
                content: '';
                width: 50px;
                height: 50px;
            }
        }


    }

    .nor_title {
        padding-top: 60px;
        line-height: 40px;
        font-size: 28px;
        font-weight: 700;
        color: #111111;
        text-align: left;
        margin-bottom: 24px;
    }


    /* 容器样式 */

    .tree-select-container {
        max-width: 1280px;
        width: 100%;
        display: flex;
        border: 1px solid #e5e5e5;
        border-radius: 4px;
        overflow: hidden;
        min-width: 800px;
        margin: 0 auto;
        min-height: 550px;
        border-top: 1px solid #D4D4D4;
        border-bottom: 1px solid #D4D4D4;
        height: 532.906px;
        border-right: none;
        border-left: none;

    }

    /* 层级列样式 */

    .tree-level {
        font-weight: normal;
        color: #111111;
        font-size: 16px;
        padding: 15px 20px;
        background-color: #fff;
        border-right: 1px solid #e5e5e5;
        min-width: 180px;
        overflow-y: scroll;
    }

    .tree-level:nth-child(1) {
        padding-top: 44px;
        color: #0b50f2;
        font-weight: 700;
        font-size: 16px;
    }

    .tree-level:nth-child(2) {
        padding-top: 34px;
        width: 213px;
        height: 100%;
    }

    .tree-level:nth-child(3) {
        padding-top: 34px;
        width: 320px;
        height: 100%;
    }

    .tree-level:nth-child(4) {
        padding-top: 34px;
        width: 319px;
        height: 100%;
        border-right: none;
    }


    /* 选项列表 */

    .option-list {
        list-style: none;
    }

    /* 选项样式 */

    .option-item {
        padding: 10px 44px 10px 24px;
        line-height: 1.4;
        cursor: pointer;
        transition: color 0.2s;
        position: relative;
    }

    .option-item:hover {
        color: #0b4eed;
    }

    .active {
        color: #0b4eed;
        font-weight: 700;
    }

    .level-title {
        position: relative !important;

        .arrow-icon {
            top: 34px;
        }
    }

    /* 箭头图标 */

    .arrow-icon {
        position: absolute;
        top: 0;
        background-image: url(/site/img/btn.png);
        background-position: -50px 0; /* 或其他不同的定位 */
        right: 8px;
        transform: translate(0, -4px);
        display: inline-block;
        background-repeat: no-repeat;
        content: '';
        width: 50px;
        height: 50px;
        color: #0b4eed;
    }
}

.product-search-page {
    .option-item {
        .arrow-icon {
            position: absolute;
            top: 0;
            background-image: url(/site/img/btn.png);
            background-position: -100px -100px;
            right: 8px;
            display: inline-block;
            background-repeat: no-repeat;
            content: '';
            width: 50px;
            height: 50px;
            color: #0b4eed;
        }
    }

    .option-item.active {
        .arrow-icon {
            background-position: -50px 0 !important;
        }
    }
}

.iphone-select-container {
    display: none;
    min-height: 320px;

    .mobile-tree-select {
        max-width: 400px;
        margin: 0 auto;
        background-color: #fff;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .header {
        padding: 16px;
        background-color: #fff;
    }

    .back-btn {
        font-size: 12px;
        line-height: 30px;
        position: relative;
        padding: 0 12px;
        height: 30px;
        text-align: center;
        vertical-align: top;
        color: #FFFFFF;
        border-radius: 16px;
        background-color: #0B50F2;
        border: none;
    }

    .back-btn:hover {
        background: #1976d2;
    }


    .content {
        flex: 1;
        overflow-y: auto;
        padding: 10px 0;
    }

    .option-list {
        list-style: none;
    }

    .option-item {
        margin-top: 8px;
        font-size: 14px;
        line-height: 20px;
        font-weight: 500;
        position: relative;
        padding: 10px 0;
        color: #111111;
    }

    .option-item:hover {
        /*background-color: #0b50f2;*/
    }

}

@media (max-width: 1280px) {


    #iphoneSelect {
        display: block;
    }

    #treeSelect {
        display: none;
    }

    .product-search-page {
        padding-bottom: 40px;
        width: 100%;


        .search-area {
            padding-top: 90px;
            padding-left: 20px;
            padding-right: 20px;

            .search-box {
                .search-title {
                    font-size: 32px;
                    line-height: 42px;
                }
            }

            .search-wrapper {
                text-align: left;
                margin: 0;
                width: 100%;


                .search-input::placeholder {
                    font-size: 16px;
                }


                .search-input {
                    width: 100%;
                    height: 44px;
                    line-height: 44px;
                    text-align: left;
                    font-size: 16px;
                    padding-left: 15px;
                    padding-right: 0;
                }

                .search-icon {
                    right: 15px;
                }
            }


        }


        .nor_title {
            padding-top: 30px;
            text-align: left;
            font-size: 20px;
            line-height: 30px;
            margin-bottom: 0;
            padding-bottom: 12px;
            border-bottom: 1px solid #D4D4D4;
        }


        /* 容器样式 */

        .tree-select-container {
            max-width: 1280px;
            width: 100%;
            display: flex;
            border: 1px solid #e5e5e5;
            border-radius: 4px;
            overflow: hidden;
            min-width: 800px;
            margin: 0 auto;
            min-height: 550px;
            border-top: 1px solid #D4D4D4;
            border-bottom: 1px solid #D4D4D4;
            height: 532.906px;
            border-right: none;
            border-left: none;
        }

        /* 层级列样式 */

        .tree-level {
            font-weight: normal;
            color: #111111;
            font-size: 16px;
            padding: 15px 20px;
            background-color: #fff;
            border-right: 1px solid #e5e5e5;
            min-width: 180px;
        }

        .tree-level:nth-child(1) {
            padding-top: 44px;
            color: #0b50f2;
            font-weight: 700;
            font-size: 16px;
        }

        .tree-level:nth-child(2) {
            padding-top: 34px;
            width: 213px;
            height: 100%;
        }

        .tree-level:nth-child(3) {
            padding-top: 34px;
            width: 320px;
            height: 100%;
        }

        .tree-level:nth-child(4) {
            padding-top: 34px;
            width: 319px;
            height: 100%;
            border-right: none;
        }


        /* 选项列表 */

        .option-list {
            list-style: none;
        }

        /* 选项样式 */

        .option-item {
            padding: 10px 44px 10px 24px;
            line-height: 1.4;
            cursor: pointer;
            transition: color 0.2s;
            position: relative;
        }

        .option-item:hover {
            color: #0b4eed;
        }

        .active {
            color: #0b4eed;
            font-weight: 700;
        }

        .level-title {
            position: relative !important;

            .arrow-icon {
                top: 34px;
            }
        }

        /* 箭头图标 */

        .arrow-icon {
            position: absolute;
            top: 0;
            background-image: url(/site/img/btn.png);
            background-position: -50px 0; /* 或其他不同的定位 */
            right: 8px;
            transform: translate(0, -4px);
            display: inline-block;
            background-repeat: no-repeat;
            content: '';
            width: 50px;
            height: 50px;
            color: #0b4eed;
        }
    }

    .product-search-page {
        .option-item {
            .arrow-icon {
                position: absolute;
                top: 0;
                background-image: url(/site/img/btn.png);
                background-position: -100px -100px;
                right: 8px;
                display: inline-block;
                background-repeat: no-repeat;
                content: '';
                width: 50px;
                height: 50px;
                color: #0b4eed;
            }
        }

        .option-item.active {
            .arrow-icon {
                background-position: -50px 0 !important;
            }
        }
    }
}