/** Shopify CDN: Minification failed

Line 16:0 Unexpected "<"
Line 975:0 Unexpected "<"
Line 977:4 Comments in CSS use "/* ... */" instead of "//"
Line 980:4 Comments in CSS use "/* ... */" instead of "//"
Line 981:4 Comments in CSS use "/* ... */" instead of "//"
Line 982:4 Comments in CSS use "/* ... */" instead of "//"
Line 985:8 Comments in CSS use "/* ... */" instead of "//"
Line 993:8 Comments in CSS use "/* ... */" instead of "//"
Line 995:8 Comments in CSS use "/* ... */" instead of "//"
Line 997:8 Comments in CSS use "/* ... */" instead of "//"
... and 11 more hidden warnings

**/
<style>
    #shopify-section-main-page {
        z-index: 0;
        display: none;
    }

    .psearch-hidden:before {
        content: none;
    }

    /* #shopify-section-header-new-test2 { */
        #shopify-section-header-new-test2 .page-width {
            max-width: 1480px;
        }

        /* details-disclosure details[open] , .header__menu-item.header__menu-item:hover{
                border-bottom: 2px solid;
            } */
        #shopify-section-header-new-test2 .header {
            padding-top: 40px;
            padding-bottom: 12px;
        }

        /* 下拉框 */
        #shopify-section-header-new-test2 .header__submenu.list-menu.list-menu--disclosure {
            padding: 0px 20px 20px 32px;
            max-width: 1600px;
            width: 100%;
            display: flex;
            left: calc((100% - 1600px) / 2);
            border: none;
            /* margin: 0 auto; */
        }

        #shopify-section-header-new-test2 .wbsimplemenuxs ul.header__submenu .list-menu__item:hover {
            color: #F06800;
        }

        #shopify-section-header-new-test2 #HeaderMenu-MenuList-9 {
            width: auto;
            left: unset;
        }

        #shopify-section-header-new-test2 .container.mega_menu_banner {
            margin: 0;
            flex: 1;
        }

        #shopify-section-header-new-test2 .container.mega_menu_banner .row {
            /* justify-content: space-between; */
        }

        #shopify-section-header-new-test2 .wbmenufull>.container {
            gap: 0px;
        }

        #shopify-section-header-new-test2 .container.mega_menu_banner .row>div {
            margin-top: 20px;
            max-width: 240px;
            padding-left: 0;
            padding-right: 0;
            margin-right: 18px;
        }

        #shopify-section-header-new-test2 .col-3 {
            max-width: 240px;
            padding-left: 0;
            padding-right: 0;
            /* padding-left: 12px;
                padding-right: 12px; */
        }

        #shopify-section-header-new-test2 .header__submenu .wbmenuinner a.header__menu-item.child_sub_menu {
            border-bottom: none;
            font-size: 14px;
            line-height: 18px;
            font-weight: 700;
            padding: 0;
        }

        #shopify-section-header-new-test2 .header__submenu .header__submenu {
            margin: 0;
            margin-top: calc(12px - 5px);
            /* 原本的高度12px减去a标签自带的上下5px padding */
        }

        #shopify-section-header-new-test2 .wbsimplemenuxs ul.header__submenu .list-menu__item {
            font-size: 16px;
            color: #666666;
        }

        #shopify-section-header-new-test2 .right-coimg {
            /* border: 1px solid; */
            margin-top: 20px;
            min-width: 252px;
            max-width: 252px;
        }

        #shopify-section-header-new-test2 .right-coimg .menu-images {
            display: grid;
            grid-template-rows: repeat(2, auto);
            /* 两行 */
            grid-template-columns: 1fr;
            /* 一列 */
            gap: 22px;
            /* 行间距 */
        }

        #shopify-section-header-new-test2 .right-coimg .menu-images a img {
            /* width: 100%; */
            width: 178PX;
            height: 178px;
            /* object-fit: cover; */
        }

        /* 下拉 */
        #shopify-section-header-new-test2 .search.search-modal__form .search__button svg {
            fill: rgb(255 255 255);
        }

        #shopify-section-header-new-test2 .header--top-left {
            grid-template-columns: 120px 1fr 1fr;
        }

        #shopify-section-header-new-test2 .header__search {
            margin-left: 24px;
            width: 674px;
        }

        #shopify-section-header-new-test2 .field_wbinput {
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid #D9D9D9;
            padding: 4px 2px;
            max-height: 40px;
        }

        #shopify-section-header-new-test2 .field_wbinput .field__label {
            font-size: 12px;
            color: #E2E2E2;
            top: 13px;
        }

        #shopify-section-header-new-test2 .field::after {
            content: none !important;
        }

        #shopify-section-header-new-test2 .header__search .field__button {
            border-radius: 20px;
            min-width: 48px;
            max-height: 32px;
            min-height: 32px;
            background: #F06800;
        }

        #shopify-section-header-new-test2 .header__icons {
            flex-direction: row-reverse;
        }

        #shopify-section-header-new-test2 span.wbhcartitem {
            color: #fff;
            right: 0px;
            top: 6px;
            padding: 0px 6px;
            height: 12px;
            border-radius: 8px;
            background-color: #FF0002;
            margin-left: 0px;

            font-family: Inter;
            font-weight: 500;
            font-style: Medium;
            font-size: 10px;
            line-height: 12px;
            letter-spacing: 0%;
        }

        #shopify-section-header-new-test2 span.wbhcartitem-Cart {
            position: absolute;
            color: #000000;
            right: 0px;
            bottom: 6px;

            font-family: Inter;
            font-weight: 600;
            font-style: Semi Bold;
            font-size: 12px;
            line-height: 16px;

        }

        #shopify-section-header-new-test2 .wbhuserleft span {
            font-family: Inter;
            font-weight: 500;
            font-style: Medium;
            font-size: 12px !important;
            line-height: 16px;
        }

        #shopify-section-header-new-test2 .wbhuserleft strong,
        #shopify-section-header-new-test2 .wbcarthtotal strong {
            font-family: Inter;
            font-weight: 600;
            font-style: Semi Bold;
            font-size: 12px;
            line-height: 16px;

        }

        #shopify-section-header-new-test2 #openBtn {
            display: flex;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
        }

        #shopify-section-header-new-test2 #openBtn img {
            width: 40px;
            height: 40px;
        }

        #shopify-section-header-new-test2 #openBtn .topchoose {
            font-family: Montserrat;
            font-weight: 500;
            font-style: Medium;
            font-size: 12px;
            line-height: 16px;
        }

        #shopify-section-header-new-test2 #openBtn .bottomchoose {
            font-family: Montserrat;
            font-weight: 600;
            font-style: SemiBold;
            font-size: 12px;
            line-height: 16px;
            margin-top: 4px;
            display: flex;
        }

        #shopify-section-header-new-test2 #openBtn .bottomchoose svg {
            width: 27px;
            height: 16px;
        }

        #shopify-section-header-new-test2 .wbhcart {
            width: 75px;
        }

        #shopify-section-header-new-test2 #cart-icon-bubble.leftcart {
            justify-content: start;
        }

        #shopify-section-header-new-test2 .wbhcart svg,
        #shopify-section-header-new-test2 .userdrop svg {
            width: 40px;
            height: 40px;
        }

        #shopify-section-header-new-test2 .gradient.wbmenuup.header__inline-menu {
            padding: 24px 0;
            border-top: none;
        }

        #shopify-section-header-new-test2 .wbmenubtm .header-bottom:only-child {
            text-align: start;
        }

        #shopify-section-header-new-test2 .list-menu--inline {
            column-gap: 28px;
        }

        #shopify-section-header-new-test2 .field__input {
            padding: 0px;
            padding-left: 15px;
            padding-right: 98px;
        }

        #shopify-section-header-new-test2 .field__input:focus-visible {
            box-shadow: none;
        }

        /* .field__input:focus+.field__label {
                opacity: 0;
                visibility: hidden;
                transition: all 0.2s ease;
            } */

        /* 当输入框聚焦或有输入内容时，隐藏 label */
        #shopify-section-header-new-test2 .field__input:focus+.field__label,
        #shopify-section-header-new-test2 .field__input:not(:placeholder-shown)+.field__label {
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease;
        }

        #shopify-section-header-new-test2 .header__search .field__button.reset__button {
            display: none;
        }

        #shopify-section-header-new-test2 .search-center-part,
        #shopify-section-header-new-test2 .search-right-part {
            /* 暂时隐藏 */
            display: none;
        }

        #shopify-section-header-new-test2 .predictive-search.predictive-search--header {
            top: calc(100% + 6px);
        }

        /* 弹出的搜索框 */
        #shopify-section-header-new-test2 .wbsearch_inner {
            border-radius: 20px;
        }

        #shopify-section-header-new-test2 .predictive-search.predictive-search--header .search_default ul {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            /* 两列，平均分 */
            /* gap: 8px 36px; */
            gap: 8px 30px;
            max-height: 256px;
            overflow-y: auto;
            overflow-x: hidden;
            /* 行间距和列间距 */
        }

        /* Webkit 浏览器滚动条样式 */
        #shopify-section-header-new-test2 .predictive-search.predictive-search--header .search_default ul::-webkit-scrollbar {
            width: 7px;
            /* 垂直滚动条宽度 */
            height: 100px;
            /* 水平滚动条高度（可选） */
        }

        #shopify-section-header-new-test2 .predictive-search.predictive-search--header .search_default ul::-webkit-scrollbar-track {
            background: transparent;
            /* 轨道无颜色 */
        }

        /* 滑块 */
        #shopify-section-header-new-test2 .predictive-search.predictive-search--header .search_default ul::-webkit-scrollbar-thumb {
            background-color: #F5F5F5;
            /* 滑块颜色 */
            border-radius: 21px;
            /* 滑块圆角 */
        }

        #shopify-section-header-new-test2 .predictive-search .seachbar-left {
            padding: 0;
            margin-right: 0px;
            border-right: none;
        }

        #shopify-section-header-new-test2 .header--top-left .search-modal__form {
            position: relative;
        }

        #shopify-section-header-new-test2 .search-modal__form .predictive-search {
            max-width: 674px;
            max-height: 502px;
        }

        #shopify-section-header-new-test2 .predictive-search .wbsearch_inner {
            max-height: 502px;
            height: 502px;
            overflow: hidden;

        }

        #shopify-section-header-new-test2 .predictive-search.predictive-search--header .search_default {
            max-height: 250px;
        }

        #shopify-section-header-new-test2 .search-left-part .card__inner.wbimgblock {
            min-width: 80px;
            max-width: 80px;
            height: 80px;
        }

        #shopify-section-header-new-test2 .price--on-sale .wbvariantbadges {
            /* display: none; */
        }

        #shopify-section-header-new-test2 .price--on-sale .wbvariantbadges .badge {
            padding: 2px 4px;
            font-size: 10px;
        }

        #shopify-section-header-new-test2 .predictive-search__result-group.search-default_data {
            gap: 8px;
        }

        #shopify-section-header-new-test2 .full-unstyled-link {
            -webkit-line-clamp: 3;
            font-size: 12px;
            line-height: 16px;
        }

        #shopify-section-header-new-test2 .card__information {
            max-width: 200px;
        }

        #shopify-section-header-new-test2 .predictive-search .card__content {
            padding: 0 0 0 10px;
        }

        #shopify-section-header-new-test2 .price__sale {
            white-space: nowrap;
        }

        #shopify-section-header-new-test2 .price-item {
            /* font-size: 20px; */
            font-size: 16px;
            line-height: 24px;
        }

        #shopify-section-header-new-test2 .price-item--regular .glc-money {
            font-size: 12px;
            line-height: 16px;
        }

        #shopify-section-header-new-test2 .price__regular span:first-child {
            font-size: 16px;
        }

        #shopify-section-header-new-test2 .search-left-part .product__col_wrapper+.product__col_wrapper:before {
            content: none;
        }

        /* 历史搜索 */
        #shopify-section-header-new-test2 .historysearch ul li .thespan {
            display: block;
            width: 18ch;
            /* 1ch = 一个字符宽度 */
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            font-family: Inter;
            font-weight: 500;
            font-style: Medium;
            font-size: 14px;
            line-height: 18px;
            padding: 0 5px;
        }

        #shopify-section-header-new-test2 .historysearch ul li .thespan:hover {
            color: #ef9003;
        }

        #shopify-section-header-new-test2 .historysearch ul li {
            display: flex;
            align-items: center;
        }

        #shopify-section-header-new-test2 .historysearch ul li .spandelete svg {
            width: 20px;
            cursor: pointer;
        }

        #shopify-section-header-new-test2 .historysearch.quick-search-inner ul li:nth-child(-n+4)::before {
            content: none !important;
        }

        #shopify-section-header-new-test2 .historysearch>p {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        #shopify-section-header-new-test2 .historysearch>p .clearhistory {
            font-family: Inter;
            font-weight: 500;
            font-style: Medium;
            font-size: 12px;
            line-height: 16px;
            text-transform: capitalize;
            color: #999999;
            cursor: pointer;
        }

        /* 热门搜索 */
        #shopify-section-header-new-test2 .quick-search-inner {
            flex-direction: column;
            align-items: flex-start;
        }

        #shopify-section-header-new-test2 .predictive-search .quick-search-inner li {
            background: #F5F5F5;
            border-radius: 20px;
            padding: 0 7px;
        }

        #shopify-section-header-new-test2 .predictive-search .quick-search-inner ul li:nth-child(-n+4) {
            /* padding: 0 7px 0 27.5px; */
        }

        #shopify-section-header-new-test2 .predictive-search .quick-search-inner ul li:nth-child(-n+4)::before {
            content: "";
            display: inline-block;
            width: 17px;
            height: 16px;
            vertical-align: middle;
            background-repeat: no-repeat;
            background-size: contain;
            background-image: url("data:image/svg+xml;utf8,<svg width='17' height='16' viewBox='0 0 17 16' fill='none' xmlns='http://www.w3.org/2000/svg'><g clip-path='url(%23clip0_5390_7252)'><path d='M12.1654 5.51337C11.6534 4.88057 11.6982 6.87097 11.1006 6.56777C10.503 6.26377 10.6774 2.10057 7.05103 1.03257C5.60143 0.606168 7.62543 4.44457 5.41983 6.21657C3.21423 7.98777 0.0942292 11.8374 7.19503 14.9998C7.19503 14.9998 3.51663 10.7902 8.25983 8.32457C9.34783 7.75897 7.90463 9.73017 9.67983 11.135C11.455 12.5406 9.67983 14.9998 9.67983 14.9998C9.67983 14.9998 17.747 12.4206 12.1654 5.51337Z' fill='%23F57231'/></g><defs><clipPath id='clip0_5390_7252'><rect width='11.3336' height='14' fill='white' transform='translate(2.7998 1)'/></clipPath></defs></svg>");
        }

        /* 搜索结果页 */
        #shopify-section-header-new-test2 .predictive-search__result-group.seachbar-left {
            width: 30%;
        }

        #shopify-section-header-new-test2 .predictive-search__result-group.searchbar-right.wbsrightpart {
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            width: 70%;
        }

        /* Webkit 浏览器滚动条样式 */
        #shopify-section-header-new-test2 .predictive-search__result-group.searchbar-right.wbsrightpart::-webkit-scrollbar {
            width: 7px;
            /* 垂直滚动条宽度 */
            height: 100px;
            /* 水平滚动条高度（可选） */
        }

        #shopify-section-header-new-test2 .predictive-search__result-group.searchbar-right.wbsrightpart::-webkit-scrollbar-track {
            background: transparent;
            /* 轨道无颜色 */
        }

        /* 滑块 */
        #shopify-section-header-new-test2 .predictive-search__result-group.searchbar-right.wbsrightpart::-webkit-scrollbar-thumb {
            /* background-color: #F5F5F5; */
            /* 滑块颜色 */
            border-radius: 21px;
            /* 滑块圆角 */
        }

        #shopify-section-header-new-test2 #predictive-search-results-groups-wrapper .search_result-products ul li {
            width: 100% !important;
            max-width: 100% !important;
        }

        #shopify-section-header-new-test2 #predictive-search-results-groups-wrapper .search_result-products,
        #shopify-section-header-new-test2 #predictive-search-results-groups-wrapper .collection-and-articles {
            width: 100%;
            overflow-y: unset;
            border: none;
        }

        #shopify-section-header-new-test2 .search_result-products:not(:only-child) {
            margin-right: 0px;
        }

        #shopify-section-header-new-test2 #predictive-search-results-groups-wrapper {
            max-height: 430px;
        }

        #shopify-section-header-new-test2 #predictive-search-option-search-keywords {
            display: none;
        }

        #shopify-section-header-new-test2 .predictive-search .heading-wrapper {
            align-items: flex-start;
        }

        #shopify-section-header-new-test2 .search__results .default-content-heading {
            line-height: 1.2;
        }

        #shopify-section-header-new-test2 #predictive-search-results-groups-wrapper .search_result-products .card__inner {
            max-width: 80px;
            border-radius: 8px;
            overflow: hidden;
        }

        #shopify-section-header-new-test2 .predictive-search .wbsearch_inner {
            overflow-y: auto;
            scrollbar-width: none;
        }

        #shopify-section-header-new-test2 .predictive-search.predictive-search--header .search_default {
            max-height: unset;
            height: auto !important;
        }

        #shopify-section-header-new-test2 .predictive-search.predictive-search--header .search_default ul {
            max-height: unset;
            overflow: clip;
        }

        /* #cart-icon-bubble::after{
                content: "Cart";
                position: absolute;
                bottom: 0;
                right: -30px;
            } */
    /* } */

    @media (min-width:1025px) {
        /* #shopify-section-header-new-test2 { */

            #shopify-section-header-new-test2 nav>ul>li>.header__menu-item.header__menu-item,
            #shopify-section-header-new-test2 summary {
                position: relative;
                /* 伪元素相对于父元素定位 */
                /* display: inline-block; */
                /* padding-bottom: 5px; */
                /* 给下划线留空间 */
            }

            #shopify-section-header-new-test2 nav>ul>li>.header__menu-item.header__menu-item::after,
            #shopify-section-header-new-test2 summary::after {
                content: '';
                position: absolute;
                left: 0;
                bottom: -33px;
                width: 100%;
                opacity: 0;
                /* 初始宽度为0 */
                height: 3px;
                /* 下划线高度 */
                background-color: #F06800;
                /* 下划线颜色 */
                transition: opacity 0.3s ease;
                /* 动画效果 */
            }

            #shopify-section-header-new-test2 details[open]>.header__menu-item::after,
            #shopify-section-header-new-test2 .header__menu-item:hover::after {
                width: 100%;
            }

            #shopify-section-header-new-test2 nav>ul>li>.header__menu-item.header__menu-item:hover::after,
            #shopify-section-header-new-test2 summary:hover::after,
            #shopify-section-header-new-test2 details[open]>.header__menu-item::after {
                width: 100%;
                opacity: 1;
                /* 鼠标悬停时展开到全宽 */
            }

            #shopify-section-header-new-test2 .link--text:hover span {
                color: #F06800;
            }

            #shopify-section-header-new-test2 details-disclosure details:hover summary span a {
                color: #F06800;
            }

            #shopify-section-header-new-test2 .search__results {
                padding: 0px 25px 10px 0;
            }

            #shopify-section-header-new-test2 .predictive-search__heading {
                border-bottom: none;
            }

            #shopify-section-header-new-test2 .search_default small .glc-money,
            #shopify-section-header-new-test2 #predictive-search-results-groups-wrapper small .glc-money {
                font-family: Inter;
                font-weight: 500;
                font-style: Medium;
                font-size: 12px;
                line-height: 16px;
                text-decoration: line-through;
                color: #999999;
            }

            #shopify-section-header-new-test2 .price--on-sale .price-item--regular {
                text-decoration: unset;
            }
        /* } */
    }

    /* 适用于所有移动端的样式 */
    @media (max-width:1025px) {
        /* #shopify-section-header-new-test2 { */

            #shopify-section-header-new-test2 #HeaderMenu-MenuList-3,
            #shopify-section-header-new-test2 #HeaderMenu-MenuList-4,
            #shopify-section-header-new-test2 #HeaderMenu-MenuList-7 {
                left: ;
            }

            #shopify-section-header-new-test2 .predictive-search .seachbar-left {
                padding: 10px;
            }

            #shopify-section-header-new-test2 .predictive-search__heading {
                font-size: 12px;
            }

            #shopify-section-header-new-test2 .predictive-search__item-heading {
                font-size: 10px;
            }

            #shopify-section-header-new-test2 .default-content-heading {
                font-size: 12px;
            }

            #shopify-section-header-new-test2 .default-heading-link {
                display: none;
            }

            #shopify-section-header-new-test2 .predictive-search.predictive-search--header .search_default ul {
                grid-template-columns: repeat(1, 1fr);
            }

            #shopify-section-header-new-test2 #predictive-search-results-groups-wrapper .search_result-products .card__inner {
                max-width: 56px;
                min-width: 56px;
            }

            #shopify-section-header-new-test2 .full-unstyled-link {
                -webkit-line-clamp: 2;
            }

            #shopify-section-header-new-test2 .price-item {
                font-size: 12px;
                line-height: 16px;
            }

            #shopify-section-header-new-test2 .price__regular span:first-child {
                font-size: 12px;
            }

            #shopify-section-header-new-test2 .price-item--regular .glc-money {
                font-size: 10px;
                line-height: 16px;
            }

            #shopify-section-header-new-test2 #predictive-search-results-pages-list-mobile {
                gap: 12px;
            }

            #shopify-section-header-new-test2 #predictive-search-results-pages-list-mobile li {
                width: 50%;
                max-width: calc(50% - 6px);
            }

            #shopify-section-header-new-test2 .historysearch ul li .thespan {
                width: 12ch;
            }

            /* .predictive-search .wbsearch_inner{
                    overflow-y: auto;
                }
                .predictive-search.predictive-search--header .search_default{
                    max-height: unset;
                    height: auto !important;
                }
                .predictive-search.predictive-search--header .search_default ul{
                    max-height: unset;
                    overflow: clip;
                } */
            /* #predictive-search-results-groups-wrapper .search_result-products ul li {
                    width: 100% !important;
                    max-width: 100% !important;
                } */

        /* } */
    }

    @media (min-width:768px) and (max-width:1023px) {
        /* #shopify-section-header-new-test2 { */
            #shopify-section-header-new-test2 .header.header--top-left .header__icons {
                top: unset;
                bottom: 9px;
            }

            #shopify-section-header-new-test2 .header__search {
                width: 45%;
            }

            #shopify-section-header-new-test2 .field_wbinput .field__label {
                white-space: nowrap;
                font-size: 10px;
            }

            #shopify-section-header-new-test2 .header.header--top-left details-modal {
                margin-top: 0px;
            }

            #shopify-section-header-new-test2 .wbhuserleft {
                display: none;
            }

            #shopify-section-header-new-test2 .wbhcart {
                display: none;
            }

            #shopify-section-header-new-test2 .header.header--top-left .header__icons {
                flex-direction: row;
            }
        /* } */
    }

    /* 之后这个尺寸的也可以专门调一个尺寸 */
    @media (min-width:992px) and (max-width:1024px) {
        /* #shopify-section-header-new-test2 { */
            #shopify-section-header-new-test2 .header__search {
                width: 110%;
            }

            /* .header.header--top-left header-drawer, .header.header--middle-left.search-full-width header-drawer{
                        display: inline-block;
                        vertical-align: middle;
                    }
                    .header__inline-menu {
                    display: none;
                    }
                    header{
                        display: flex;
                    }
                    .menu-opening .header__icon--menu svg.icon:last-child, .open .header__icon--menu .icon.icon-hamburger{
                        visibility: unset;
                        opacity: 1;
                    } */
        /* } */

        /* .js .menu-drawer__menu-item .icon-arrow{
                display: block;
            }
            .js .menu-drawer__menu-item .icon-caret{
                display: none;
            } */
    }

    @media (max-width:767px) {
        #openBtn img {
                width: 30px;
                height: 30px;
            }
        /* #shopify-section-header-new-test2 { */
           #shopify-section-header-new-test2 .header__search {
                margin-left: 0px;
                width: 100%;
            }

            #shopify-section-header-new-test2 .header.header--top-left details-modal {
                margin-top: 0;
            }
            #shopify-section-header-new-test2 .header.header--top-left .header__icons{
                top: 18px;
                bottom: auto;
                margin-top: 0;
            }

            #shopify-section-header-new-test2 .header {
                padding-top: 18px;
            }

            #shopify-section-header-new-test2 .field_wbinput .field__label {
                top: 9px;
            }

            #shopify-section-header-new-test2 #openBtn {
                gap: 4px;
            }

            #shopify-section-header-new-test2 #openBtn .topchoose {
                display: none;
            }

            #shopify-section-header-new-test2 #openBtn .bottomchoose {
                margin-top: 0px;
            }

            #shopify-section-header-new-test2 #openBtn .bottomchoose svg {
                margin-left: 0px;
            }

            #shopify-section-header-new-test2 #openBtn img {
                width: 30px;
                height: 30px;
            }

            #shopify-section-header-new-test2 .wbhcart {
                display: none;
            }

            #shopify-section-header-new-test2 .wbhcart svg,
            #shopify-section-header-new-test2 .userdrop svg {
                width: 34px;
                height: 34px;
            }

            #shopify-section-header-new-test2 .predictive-search.predictive-search--header {
                top: 24px;
            }

            #shopify-section-header-new-test2 .predictive-search .seachbar-left {
                padding: 10px 0;
            }

            #shopify-section-header-new-test2 .default-content-heading {
                font-size: 16px;
            }

            #shopify-section-header-new-test2 .header.header--top-left .header__icons {
                flex-direction: row;
            }

            #shopify-section-header-new-test2 .predictive-search .wbsearch_inner {
                max-height: 50%;
                height: 50%;
                max-height: 502px !important;
            }

            #shopify-section-header-new-test2 .predictive-search__result-group.seachbar-left {
                width: 100%;
            }

           #shopify-section-header-new-test2  .predictive-search__result-group.searchbar-right.wbsrightpart {
                width: 100%;
            }

            #shopify-section-header-new-test2 .predictive-search__results-groups-wrapper {
                flex-direction: column-reverse;
            }

            #shopify-section-header-new-test2 .card__information {
                max-width: unset;
            }

            #shopify-section-header-new-test2 .predictive-search__result-group.seachbar-left {
                padding-bottom: 16px;
            }

            #shopify-section-header-new-test2 #predictive-search-results-products-list {
                border: 1px solid #fff;
            }

            #shopify-section-header-new-test2 #predictive-search-results-groups-wrapper .search_result-products .card__inner {
                max-width: 80px;
                min-width: 80px;
            }
        /* } */
    }

    /* 使导航栏下拉框居中 */
    @media (min-width:1600px) {
        /* #shopify-section-header-new-test2 { */
           #shopify-section-header-new-test2  .header__submenu.list-menu.list-menu--disclosure {
                left: calc((100% - 1600px) / 2);
            }
        /* } */
    }

    @media (max-width:1599px) {
        /* #shopify-section-header-new-test2 { */
           #shopify-section-header-new-test2  .header__submenu.list-menu.list-menu--disclosure {
                left: 0px;
            }
        /* } */
    }
</style>
<script>
    //历史记录 监听 predictive search 结果点击 ok已经成功拿到点击并存到local中去了
    const maxHistory = 5;
    const historyKey = "clickedProducts";
    // 监听点击事件并将搜索内容存储到浏览器缓存里面
    // document.body
    // document.querySelector(".gethistory")
    document.body.addEventListener("click", function (e) {
        const link = e.target.closest(".predictive-search__list-item") || e.target.closest("li");
        // if (!link) return;
        if (!link || !e.target.closest(".gethistory")) return;

        const productName = link.querySelector(".full-unstyled-link")?.innerText?.trim();
        const productUrl = link.querySelector(".full-unstyled-link").getAttribute("href");
        if (!productName || !productUrl) return;

        let history = JSON.parse(localStorage.getItem(historyKey) || "[]");
        // 去重
        history = history.filter(item => item.name !== productName);
        // 插入最新点击
        history.unshift({ name: productName, url: productUrl });
        // 限制数量
        if (history.length > maxHistory) history.pop();

        localStorage.setItem(historyKey, JSON.stringify(history));
        console.log(history)
    });

    let historylist = JSON.parse(localStorage.getItem(historyKey) || "[]");
    if (historylist.length > 0) {
        let ul = document.querySelector('.historysearch ul');
        ul.innerHTML = ""; // 清空旧内容
        historylist.forEach(e => {
            const li = document.createElement("li");
            li.innerHTML = `<span class="quick-url link thespan" href="${e.url}" >${e.name}</span><span class="spandelete">
                    <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path d="M9.99953 1.90475C14.4705 1.90475 18.0948 5.52904 18.0948 9.99999C18.0948 14.4709 14.4705 18.0952 9.99953 18.0952C5.52858
                        18.0952 1.9043 14.4709 1.9043 9.99999C1.9043 5.52904 5.52858 1.90475 9.99953 1.90475ZM12.5248 6.46428L10 
                        8.98952L7.4743 6.46428L6.46382 7.47475L8.98953 9.99952L6.46382 12.5252L7.4743 13.5357L9.99953 11.0095L12.5248 
                        13.5352L13.5352 12.5248L11.0091 9.99999L13.5348 7.47475L12.5243 6.46428H12.5248Z" fill="#999999"/>
                    </svg>
                    </span>`;
            ul.appendChild(li);
        });
        document.querySelectorAll('.spandelete').forEach(span => {
            span.addEventListener('click', function (e) {
                let hisli = e.target.closest('li');
                if (hisli) hisli.remove();
                let history = JSON.parse(localStorage.getItem(historyKey) || "[]");
                // 去重
                history = history.filter(item => item.name !== hisli.innerText?.trim());
                if (history.length <= 0) {
                    document.querySelector('.clearhistory').style.display = "none";
                    document.querySelector('.historysearch').style.display = "none";
                }
                localStorage.setItem(historyKey, JSON.stringify(history));
            });
        })
        document.querySelectorAll('.thespan').forEach(span => {
            span.addEventListener('click', function (e) {
                document.querySelector('.search_isactive').value = e.target.textContent?.trim();
            })
        })
    } else {
        document.querySelector('.clearhistory').style.display = "none";
        document.querySelector('.historysearch').style.display = "none";
    }

    //   清空记录
    document.querySelector('.clearhistory').addEventListener("click", function (e) {
        localStorage.removeItem(historyKey);
        // document.querySelector('.historysearch ul').innerHTML = '';
        document.querySelector('.historysearch').style.display = "none";
    });
</script>