        /* 切换标签时的仿微信加载弹窗 */
        .load-mask {
            position: fixed;
            inset: 0;
            z-index: 5500;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity .1s ease-out, visibility .1s ease-out;
            -webkit-tap-highlight-color: transparent;
        }
        .load-mask.is-visible {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }
        .load-box {
            min-width: 132px;
            max-width: 320px;
            padding: 28px 20px;
            margin-top: -10%;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,.9);
            background-color: #4c4c4c;
            border-radius: 8px;
            line-height: 1.4;
            text-align: center;
            filter: drop-shadow(0 8px 25px rgba(0,0,0,.1));
            -webkit-filter: drop-shadow(0 8px 25px rgba(0,0,0,.1));
        }
        .load-circle {
            position: relative;
            display: flex;
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            margin-bottom: 16px;
            color: #ededed;
            animation: wechatCircleLoading 1s steps(60, end) infinite;
            -webkit-animation: wechatCircleLoading 1s steps(60, end) infinite;
        }
        .load-circle::before,
        .load-circle::after {
            content: '';
            display: block;
            width: 20px;
            height: 40px;
            box-sizing: border-box;
            border: 4px solid currentColor;
        }
        .load-circle::before {
            border-right-width: 0;
            border-top-left-radius: 40px;
            border-bottom-left-radius: 40px;
            -webkit-mask-image: -webkit-linear-gradient(top, #000 8%, rgba(0,0,0,.3) 95%);
        }
        .load-circle::after {
            border-left-width: 0;
            border-top-right-radius: 40px;
            border-bottom-right-radius: 40px;
            -webkit-mask-image: -webkit-linear-gradient(top, rgba(0,0,0,0) 8%, rgba(0,0,0,.3) 95%);
        }
        .load-circle-dot {
            position: absolute;
            top: 0;
            left: 50%;
            width: 4px;
            height: 4px;
            margin-left: -2px;
            background: currentColor;
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }
        @keyframes wechatCircleLoading {
            from { transform: rotate3d(0,0,1,0deg); }
            to { transform: rotate3d(0,0,1,360deg); }
        }
        @-webkit-keyframes wechatCircleLoading {
            from { -webkit-transform: rotate3d(0,0,1,0deg); }
            to { -webkit-transform: rotate3d(0,0,1,360deg); }
        }
        .load-text {
            max-width: 100%;
            margin: 0;
            color: rgba(255,255,255,.9);
            font-size: 14px;
            font-weight: 400;
            line-height: 1.4;
            word-wrap: break-word;
        }

        /* 首屏卡车加载动画，样式保持 storemm 首页一致 */
        #loading-box {
            position: fixed;
            inset: 0;
            z-index: 999999999;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fff;
        }
        #loading-box .loader {
            width: fit-content;
            height: fit-content;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        #loading-box .truckWrapper {
            width: 200px;
            height: 100px;
            display: flex;
            flex-direction: column;
            position: relative;
            align-items: center;
            justify-content: flex-end;
            overflow-x: hidden;
        }
        #loading-box .truckBody {
            width: 130px;
            height: fit-content;
            margin-bottom: 6px;
            animation: storemmTruckMotion 1s linear infinite;
        }
        #loading-box .trucksvg {
            display: block;
            width: 100%;
            height: auto;
        }
        #loading-box .truckTires {
            width: 130px;
            height: fit-content;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 10px 0 15px;
            position: absolute;
            bottom: 0;
        }
        #loading-box .truckTires svg { width: 24px; }
        #loading-box .road {
            width: 100%;
            height: 1.5px;
            background-color: #282828;
            position: relative;
            bottom: 0;
            align-self: flex-end;
            border-radius: 3px;
        }
        #loading-box .road::before {
            content: '';
            position: absolute;
            width: 20px;
            height: 100%;
            background-color: #282828;
            right: -50%;
            border-radius: 3px;
            animation: storemmRoadAnimation 1.4s linear infinite;
            border-left: 10px solid white;
        }
        #loading-box .road::after {
            content: '';
            position: absolute;
            width: 10px;
            height: 100%;
            background-color: #282828;
            right: -65%;
            border-radius: 3px;
            animation: storemmRoadAnimation 1.4s linear infinite;
            border-left: 4px solid white;
        }
        #loading-box .lampPost {
            position: absolute;
            bottom: 0;
            right: -90%;
            height: 90px;
            animation: storemmRoadAnimation 1.4s linear infinite;
        }
        @keyframes storemmTruckMotion {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(3px); }
        }
        @keyframes storemmRoadAnimation {
            from { transform: translateX(0); }
            to { transform: translateX(-350px); }
        }

.wx-loading-mask{background:transparent}.wx-hud,.wx-toast{min-width:132px;max-width:min(320px,calc(100vw - 48px));min-height:0;width:auto;padding:28px 20px;margin-top:-10%;color:rgba(255,255,255,.9);background:rgba(0,0,0,.6);border-radius:8px;line-height:1.4;filter:drop-shadow(0 8px 25px rgba(0,0,0,.1));backdrop-filter:none}
.wx-hud p,.wx-toast p{font-size:14px;font-weight:400;line-height:1.4;color:rgba(255,255,255,.9)}
.wx-toast{top:50%}.wx-toast>.icon{width:40px;height:40px;margin:0 0 16px;stroke-width:2}
.wx-hud .load-circle{margin:0 0 16px}
.wx-dialog{background:#4c4c4c;color:#ededed;border-radius:8px;box-shadow:0 8px 25px #0000001a}.wx-mask{background:#0002}
.wx-dialog h2{color:#fff}.wx-dialog>p,.wx-dialog>.rich-text{color:#ededed;font-size:14px}.wx-dialog footer{border-color:#ffffff25}.wx-dialog footer button,.wx-dialog footer button:not(:last-child){color:#fff;border-color:#ffffff25}.wx-dialog footer button:last-child{color:#92e5b3}.wx-dialog>.dialog-icon{display:block;width:40px;height:40px;margin:28px auto 0}.wx-dialog>.dialog-icon+h2{padding-top:14px}.wx-dialog .rich-text a{color:#a7e9bf}
.wx-spinner{border-radius:50%;background:conic-gradient(from 0deg,transparent,currentColor);mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 0);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 0);animation:wechatCircleLoading 1s steps(60,end) infinite}.wx-spinner i{display:none}
body:has(#loading-box){overflow:hidden}
html.mobile-starting,html.mobile-starting body{overflow:hidden}
.maintenance-picture{position:relative}.maintenance-picture img{filter:none;opacity:1!important}.maintenance-picture::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit;background:rgba(0,0,0,.25);pointer-events:none}.maintenance-row .sold-out,.buy-cover>.sold-out{position:absolute;z-index:2;inset:auto;left:50%;top:50%;width:78%;height:78%;max-width:none;object-fit:contain;transform:translate(-50%,-50%);pointer-events:none}.buy-cover{position:relative}.home .maintenance-row .product-info h3{color:#353535}.home .maintenance-row .product-price strong{color:#ff5454}
.home .category-card{margin-bottom:4px}.home .sticky-tags{position:sticky;z-index:39;margin-top:0;box-shadow:0 5px 10px rgba(0,0,0,.035)}.back-top-button{background:linear-gradient(145deg,#ff8270,#ff4f57);box-shadow:0 7px 18px rgba(255,79,87,.32);transition:transform .32s ease,box-shadow .32s ease}.back-top-button:active{transform:scale(.92);box-shadow:0 3px 8px rgba(255,79,87,.25)}.back-top-enter-active,.back-top-leave-active{transition:opacity .48s ease,transform .48s cubic-bezier(.22,.61,.36,1)}.back-top-enter-from,.back-top-leave-to{opacity:0;transform:translateY(14px) scale(.82)}
.home.external-browser .home-head{height:96px;flex-wrap:wrap;align-content:flex-start;padding:8px 16px 10px;gap:7px}.home.external-browser .browser-market-title{display:flex;width:100%;height:18px;align-items:center;justify-content:center;gap:4px;color:#fff;font-size:13px;font-weight:600;line-height:18px}.home.external-browser .browser-market-title .icon{width:13px;height:13px;stroke-width:2}.home.external-browser .home-avatar{width:36px;height:36px}.home.external-browser .search-box{height:36px}.home.external-browser .home-dynamic{font-size:11px}.home.external-browser .home-dynamic .icon{width:19px;height:19px}
.wx-loading-mask{background:transparent!important;pointer-events:none!important}.wx-loading-mask .wx-hud{width:90px;min-height:78px;padding:12px 8px 10px;gap:7px;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.15);border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,.4);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);pointer-events:auto}.wx-loading-mask .wx-hud p{color:#f0f0f0;font-size:12px;letter-spacing:0;font-weight:400;text-shadow:0 1px 2px rgba(0,0,0,.4)}.wx-loading-mask .wx-spinner{width:20px;height:20px;color:#fff}.wx-loading-mask .wx-spinner svg{width:100%;height:100%;animation:loadingRotate 1.4s linear infinite}.wx-loading-mask .wx-spinner .loading-arc{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-dasharray:113.1;stroke-dashoffset:113.1;animation:loadingDash 1.4s ease-in-out infinite}@keyframes loadingRotate{to{transform:rotate(360deg)}}@keyframes loadingDash{0%{stroke-dashoffset:113.1}50%{stroke-dashoffset:0}100%{stroke-dashoffset:-113.1}}
.back-top-button{position:fixed;right:max(16px,calc((100vw - 480px)/2 + 16px));bottom:calc(82px + env(safe-area-inset-bottom));z-index:45;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ff5a55;color:#fff;box-shadow:0 4px 14px #0003}.back-top-button .icon{width:21px;height:21px;stroke:none!important;fill:#fff!important;color:#fff}
.home .category-viewport{width:100%;overflow:hidden;position:relative;isolation:isolate;touch-action:pan-y}.home .category-dots button{transition:width .28s cubic-bezier(.22,.61,.36,1),background-color .28s ease}
.category-track{display:flex;width:100%;flex-wrap:nowrap;align-items:flex-start}.category-track .category-page{display:block;position:relative;flex:0 0 100%;width:100%;min-width:100%;max-width:100%;overflow:hidden}.category-track .category-page .category-grid{width:100%;grid-template-columns:repeat(5,minmax(0,1fr))}
html,body{touch-action:pan-x pan-y}.home .home-head{position:sticky;top:0;z-index:40}.home .tags{padding:4px 6px 5px}.home .tags button{padding:6px 14px;font-size:12px;min-width:52px}.home .product-row{min-height:98px;padding:10px 14px;gap:12px}.home .maintenance-row{cursor:default;pointer-events:none}.home .product-image{width:72px;height:72px}.home .product-info h3{font-size:13px;margin-bottom:5px}.home .product-price{margin-top:3px}.home .product-price strong{font-size:18px}.home .buy-label{padding:4px 10px;font-size:11px}.home .sales{margin-top:2px}.category-card{position:relative;overflow:hidden}.category-track{width:100%;touch-action:pan-y;transition:transform .28s cubic-bezier(.22,.61,.36,1);will-change:transform}.category-track.dragging{transition:none}.category-track .category-grid{width:100%}.notice-mask{background:rgba(0,0,0,.4);padding:0}.wx-dialog.notice-dialog{width:84%;max-width:420px;background:#fff;border-radius:20px;padding:26px 24px;box-sizing:border-box;color:#333;box-shadow:none;max-height:85dvh}.wx-dialog.notice-dialog h2{padding:0;margin:0 0 20px;font-size:22px;font-weight:bold;color:#222}.wx-dialog.notice-dialog>.rich-text{padding:0;margin:0 0 24px;color:#333;font-size:18px;line-height:1.6;max-height:50dvh}.wx-dialog.notice-dialog footer{border:0;display:block}.wx-dialog.notice-dialog footer button{display:block;width:100%;min-height:44px;height:auto;border:0;border-radius:99px;padding:8px 12px;background:linear-gradient(90deg,#ff6b35,#ff3b30);color:#fff;font-size:19px;font-weight:bold}.buy-notice{width:100%;text-align:left;align-items:center}.buy-notice>.icon:last-child{margin-left:auto}@media(max-width:350px){.home .product-row{padding:9px 12px;gap:10px}.home .product-image{width:66px;height:68px}.home .product-info h3{font-size:12px}.home .tags button{padding:6px 12px}}

/* Mobile product detail and order sheet */
.buy-anchor-nav{position:sticky;top:0;z-index:20;display:flex;justify-content:center;gap:30px;height:44px;background:#fff;border-bottom:1px solid #f2f2f2}.buy-anchor-nav button{color:#2688e9;font-size:14px}.buy-page-redesign #buy-product,.buy-page-redesign #buy-detail{scroll-margin-top:100px}.buy-page-redesign .service-strip span::before{content:none}.service-strip span{display:flex;align-items:center;gap:5px}.service-strip .icon{width:18px;height:18px;color:#ff5454}.buy-page-redesign{padding-bottom:130px!important}.buy-page-redesign .buy-bottom-bar{display:block;padding:0 12px calc(10px + env(safe-area-inset-bottom))}.buy-agreement{display:flex;align-items:center;gap:7px;margin:0 -12px 8px;padding:9px 12px;background:#fffbea;font-size:11px;line-height:1.5}.buy-agreement input{accent-color:#ff5454;width:17px;height:17px;flex:none}.buy-agreement button{color:#ff5454}.buy-actions{display:flex;align-items:center;gap:9px}.buy-cart-link{display:flex;flex-direction:column;align-items:center;gap:3px;width:43px;flex:none;font-size:11px;color:#777}.cart-add-button{flex:1;min-width:0;height:52px;border-radius:10px;background:linear-gradient(100deg,#ffcd08,#ff9437);color:white;font-weight:700;font-size:15px}.buy-actions .buy-now-button{font-size:15px}.purchase-sheet>header,.purchase-sheet>.purchase-tabs,.purchase-sheet>footer{flex-shrink:0}.purchase-sheet>footer{display:flex;gap:10px}.purchase-sheet>footer .sheet-submit{flex:1;width:auto;min-width:0;font-size:15px}.purchase-scroll{min-height:0;overscroll-behavior:contain}.purchase-close .icon{width:18px;height:18px}.purchase-close{display:flex;align-items:center;justify-content:center}.product-share-sheet{width:100%;max-width:480px;border-radius:20px 20px 0 0;background:#fff;padding:24px 20px env(safe-area-inset-bottom)}.product-share-sheet h2{text-align:center;font-size:17px;font-weight:500;margin-bottom:26px}.product-share-sheet>button{display:flex;flex-direction:column;align-items:center;gap:10px;color:#777;font-size:13px;margin-bottom:20px}.product-share-sheet>button .icon{width:48px;height:48px;padding:10px;border-radius:50%;background:#f4f5f6}.product-share-sheet .share-cancel{border-top:6px solid #f5f6f8;width:calc(100% + 40px);margin:0 -20px;padding:17px;font-size:16px;color:#333}.cart-product{display:flex;gap:12px}.cart-product>.picture{width:70px;height:70px;flex:none}.cart-product h2{font-size:14px}.cart-product p{color:#888;font-size:12px;margin-top:8px;overflow-wrap:anywhere}.cart-product button{color:#e54d4d;margin-top:10px}
.buy-page-redesign{padding:0 0 calc(92px + env(safe-area-inset-bottom));background:#f5f6f8}.buy-page-redesign>.page-head{margin:0;position:sticky;padding:0 14px}.buy-hero{position:relative;background:#fff;margin:0 0 10px}.buy-hero .buy-cover{height:auto;min-height:260px;margin:0;border-radius:0;background:#fff}.buy-hero .buy-cover .picture{border-radius:0}.buy-hero .buy-cover .picture img{width:100%;height:auto;min-height:260px;max-height:460px;object-fit:contain;background:#fff}.buy-product-meta{padding:14px 17px 18px}.buy-price-line{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.buy-price-line .price{font-size:25px;color:#f44747}.buy-price-line .price small{font-size:17px}.buy-price-line .per-unit{font-size:11px;color:#999}.duration-chip{margin-left:auto;padding:5px 8px;border:1px solid #73baff;border-radius:7px;color:#2688e9;background:#eff8ff;font-size:10px}.buy-product-meta h1{margin-top:11px;font-size:17px;line-height:1.5;color:#202530}.service-strip{display:flex;justify-content:space-between;margin-top:16px;padding-top:14px;border-top:1px solid #f1f1f1;color:#6f7378;font-size:12px}.service-strip span::before{content:"✓";display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;margin-right:5px;border:1px solid #ff5858;border-radius:50%;color:#ff5858;font-size:10px}.buy-share{position:absolute;right:14px;top:14px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;background:rgba(0,0,0,.48);z-index:3}.buy-detail.card{margin:0 10px 12px;padding:0 16px 22px;border-radius:18px}.detail-tabs{display:grid;grid-template-columns:1fr 1fr;padding-top:14px;margin-bottom:20px}.detail-tabs button{height:40px;border:1px solid #258af1;color:#258af1;font-size:15px}.detail-tabs button:first-child{border-radius:5px 0 0 5px}.detail-tabs button:last-child{border-radius:0 5px 5px 0}.detail-tabs button.active{background:#258af1;color:#fff;font-weight:600}.buy-detail .rich-text{font-size:14px;line-height:2;color:#6f7785}.buy-bottom-bar{position:fixed;z-index:24;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;min-height:74px;padding:9px 15px calc(9px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:14px;background:#fff;border-top:1px solid #eee}.buy-bottom-bar>div{min-width:112px}.buy-bottom-bar small{display:block;color:#999;font-size:10px}.buy-bottom-bar strong{display:block;margin-top:3px;color:#f04444;font-size:21px}.buy-now-button{flex:1;height:52px;border-radius:10px;color:#fff;background:linear-gradient(100deg,#ff5656,#e91f28);font-size:17px;font-weight:700}.buy-now-button:disabled{background:#bbb}.purchase-mask{position:fixed;inset:0;z-index:105;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.58)}.purchase-sheet{position:relative;width:100%;max-width:480px;max-height:88dvh;display:flex;flex-direction:column;background:#fff;border-radius:20px 20px 0 0;overflow:hidden}.purchase-close{position:absolute;right:15px;top:14px;z-index:2;width:29px;height:29px;border-radius:50%;background:#d9dadd;color:#fff;font-size:24px;line-height:27px}.purchase-product{display:flex;align-items:center;gap:14px;min-height:108px;padding:16px 54px 12px 18px}.purchase-product>.picture{width:76px;height:76px;flex:none;border-radius:9px}.purchase-product>div{min-width:0}.purchase-product h2{font-size:15px;line-height:1.5;max-height:45px;overflow:hidden}.purchase-product strong{display:block;margin-top:7px;color:#f23a3a;font-size:14px}.purchase-tabs{display:flex;justify-content:space-around;align-items:center;height:52px;border-bottom:1px solid #eee}.purchase-tabs b{position:relative;font-size:15px}.purchase-tabs b::after{content:"";position:absolute;left:50%;bottom:-16px;width:48px;height:3px;border-radius:3px;background:#258af1;transform:translateX(-50%)}.purchase-tabs span{font-size:12px;color:#aaa}.purchase-scroll{padding:5px 18px 14px;overflow-y:auto}.purchase-field{display:block;padding:15px 0;border-bottom:1px solid #f1f1f1}.purchase-field>span,.purchase-quantity span,.quantity-specs>span{display:block;margin-bottom:10px;font-size:14px;color:#333}.purchase-field em,.purchase-quantity em,.quantity-specs em{color:#f23b3b;font-style:normal;margin-right:3px}.purchase-input{display:flex;align-items:center;min-height:44px}.purchase-input input,.purchase-input select{width:100%;height:44px;padding:0 2px;font-size:14px}.purchase-input input::placeholder{color:#c3c6cb}.purchase-input button{flex:none;padding:10px 13px;border-radius:7px;background:#258af1;color:#fff;font-size:13px}.purchase-quantity{min-height:74px;display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #f1f1f1}.purchase-quantity>div:first-child span{margin:0}.purchase-quantity small{display:block;margin-top:6px;color:#999;font-size:11px}.purchase-quantity .stepper{border:0;border-radius:6px}.purchase-quantity .stepper button,.purchase-quantity .stepper input{height:38px;background:#f4f5f7}.purchase-quantity .stepper button{width:38px}.purchase-quantity .stepper input{width:45px;margin:0 2px;font-size:16px}.quantity-specs{padding:16px 0}.quantity-specs>div{display:flex;gap:8px;overflow-x:auto;padding:1px 1px 7px}.quantity-specs button{min-width:59px;height:39px;padding:0 10px;border:1px solid #e1e4e8;border-radius:8px;background:#fff;font-size:13px;white-space:nowrap}.quantity-specs button.active{border-color:#258af1;background:#258af1;color:#fff;box-shadow:0 5px 12px rgba(37,138,241,.2)}.quantity-specs .custom-spec{min-width:52px;background:#f6f6f6;color:#777}.purchase-tip{padding:10px;border-radius:8px;background:#fff8e5;color:#a47b27;font-size:11px}.purchase-sheet>footer{padding:10px 18px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #eee;background:#fff}.sheet-submit{width:100%;height:52px;border-radius:10px;background:linear-gradient(100deg,#ff5656,#e91f28);color:#fff;font-size:17px;font-weight:700}.sheet-submit:disabled{background:#bbb}@media(max-width:350px){.buy-hero .buy-cover{min-height:220px}.buy-hero .buy-cover .picture img{min-height:220px}.service-strip{font-size:10px}.purchase-scroll{padding-left:14px;padding-right:14px}}
.purchase-mask{animation:purchase-mask-in .2s ease}.purchase-sheet{animation:purchase-sheet-in .28s cubic-bezier(.22,.61,.36,1)}@keyframes purchase-mask-in{from{background:rgba(0,0,0,0)}}@keyframes purchase-sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}
.page-head-removed{display:none}.page:not(.home):not(.buy-page-redesign):not(.member-page):not(.checkout-renewed){padding-top:18px}.buy-page-redesign>.page-head-removed+.buy-anchor-nav{top:0}

/* Mobile product page: shared card and purchase flow foundations. */
.buy-page-redesign{--buy-coral:#ff5755;--buy-blue:#2688f3;min-height:100vh;padding:calc(54px + env(safe-area-inset-top)) 0 calc(128px + env(safe-area-inset-bottom))!important;background:#f5f6f8;color:#20242c;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.buy-fixed-head{position:fixed;z-index:64;top:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;height:calc(54px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 13px 0;display:grid;grid-template-columns:40px 1fr 40px;align-items:center;background:linear-gradient(110deg,#ff7063 0%,#ff5755 48%,#f7474d 100%);box-shadow:0 3px 13px rgba(255,87,85,.25)}
.buy-fixed-head nav{height:100%;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;margin:0 12px}.buy-fixed-head nav button{position:relative;height:100%;color:rgba(255,255,255,.68);font-size:15px;transition:color .2s ease,font-weight .2s ease}.buy-fixed-head nav button.active{color:#fff;font-weight:700}.buy-fixed-head nav button.active::after{content:"";position:absolute;left:50%;bottom:7px;width:18px;height:3px;border-radius:3px;background:#fff;transform:translateX(-50%)}
.buy-head-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:1.5px solid rgba(255,255,255,.92);border-radius:50%;color:#fff;background:rgba(255,255,255,.08)}.buy-head-icon .icon{width:20px;height:20px;color:#fff;stroke-width:2}.buy-head-icon:active{background:rgba(255,255,255,.22);transform:scale(.96)}
.buy-page-redesign #buy-product,.buy-page-redesign #buy-detail,.buy-page-redesign #buy-reviews{scroll-margin-top:calc(66px + env(safe-area-inset-top))}
.buy-page-redesign .buy-hero{margin:0 0 10px;background:#fff}.buy-page-redesign .buy-cover{width:100%;height:auto;min-height:0;aspect-ratio:16/9;overflow:hidden;background:#eceff3}.buy-page-redesign .buy-cover .picture,.buy-page-redesign .buy-cover .picture img{display:block;width:100%;height:100%;min-height:0;max-height:none;border-radius:0;object-fit:cover;background:#eceff3}
.buy-page-redesign .buy-product-meta{padding:14px 15px 17px}.buy-page-redesign .buy-price-line{display:flex;align-items:center;gap:8px;min-height:34px;flex-wrap:nowrap}.buy-page-redesign .buy-price-line .price{color:var(--buy-coral);font-size:27px;line-height:1;font-weight:800;white-space:nowrap}.buy-page-redesign .buy-price-line .price small{font-size:17px}.buy-page-redesign .buy-price-line del{color:#a8adb5;font-size:12px;text-decoration-thickness:1px;white-space:nowrap}.buy-page-redesign .offer-link{margin-left:2px;color:#f29236;font-size:12px;white-space:nowrap}.buy-page-redesign .offer-link:active{opacity:.65}
.buy-duration,.buy-rate{margin-top:8px;font-size:12px;line-height:1.4}.buy-duration{color:#8b9098}.buy-rate{color:var(--buy-blue)}.buy-page-redesign .buy-product-meta h1{margin-top:10px;color:#20242c;font-size:18px;line-height:1.45;font-weight:750}
.buy-page-redesign .service-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:14px;padding:12px 0 0;border-top:1px solid #f0f1f3}.buy-page-redesign .service-strip span{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#565d66;font-size:11px;white-space:nowrap}.buy-page-redesign .service-strip i{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff1f0;overflow:hidden;font-style:normal}.buy-page-redesign .service-strip img{display:block;width:20px;height:20px;object-fit:contain;color:#ff5755;font-size:7px;line-height:10px;text-align:center}
.buy-page-redesign .buy-detail.card,.buy-page-redesign .buy-reviews.card{margin:0 10px 10px;padding:0 15px 18px;border:0;border-radius:12px;background:#fff;box-shadow:0 2px 10px rgba(35,44,58,.035)}.buy-page-redesign .detail-tabs{display:grid;grid-template-columns:1fr 1fr;margin:0 -15px 16px;padding:0;border-bottom:1px solid #eef0f3}.buy-page-redesign .detail-tabs button{height:48px;border:0;border-radius:0!important;background:#fff;color:#69717d;font-size:15px}.buy-page-redesign .detail-tabs button.active{position:relative;background:#fff;color:var(--buy-coral);font-weight:700}.buy-page-redesign .detail-tabs button.active::after{content:"";position:absolute;left:50%;bottom:0;width:34px;height:3px;border-radius:3px;background:var(--buy-coral);transform:translateX(-50%)}.buy-page-redesign .buy-detail .rich-text,.buy-fixed-notice{min-height:88px;color:#737b87;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.buy-fixed-notice p+p{margin-top:10px}.buy-fixed-notice>div{display:flex;gap:18px;margin-top:13px}.buy-fixed-notice a{color:var(--buy-blue);font-weight:600}
.buy-reviews{padding-bottom:8px!important}.buy-reviews>header{height:52px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f1f3}.buy-reviews>header h2{font-size:17px;font-weight:750}.buy-reviews>header span{padding:5px 9px;border-radius:13px;background:#f5f7fa;color:#9da3ac;font-size:11px}.review-empty{padding:34px 0;text-align:center;color:#a3a8b0;font-size:13px}.review-item{display:flex;gap:11px;padding:14px 0;border-bottom:1px solid #f1f2f4}.review-item:last-child{border-bottom:0}.review-item>img{width:40px;height:40px;flex:none;border-radius:50%;object-fit:cover;filter:blur(1.5px)}.review-item>div{min-width:0;flex:1}.review-item h3{font-size:14px;font-weight:650}.review-item p{display:flex;align-items:center;gap:10px;margin-top:4px}.review-item p b{color:#ffb300;font-size:12px;letter-spacing:1px}.review-item time{color:#b3b7bd;font-size:10px}.review-item span{display:block;margin-top:7px;color:#747b85;font-size:13px;line-height:1.55}
.buy-page-redesign .buy-bottom-bar{z-index:63;display:block;min-height:0;padding:0 11px calc(9px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -4px 14px rgba(40,47,57,.08)}.buy-page-redesign .buy-agreement{min-height:36px;margin:0 -11px 8px;padding:7px 12px;background:#fffbea;color:#666b73;font-size:11px}.buy-page-redesign .buy-agreement input{appearance:none;width:18px;height:18px;border:1.5px solid #b8bdc5;border-radius:50%;background:#fff}.buy-page-redesign .buy-agreement input:checked{border-color:var(--buy-coral);background:var(--buy-coral)}.buy-page-redesign .buy-agreement input:checked::after{content:"";display:block;width:8px;height:4px;margin:4px 0 0 4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg)}.buy-page-redesign .buy-agreement button{color:var(--buy-blue)}.buy-page-redesign .buy-actions{gap:9px}.buy-page-redesign .buy-cart-link{width:46px;color:#777}.buy-page-redesign .buy-cart-link .icon{width:25px;height:25px}.buy-page-redesign .cart-add-button,.buy-page-redesign .buy-now-button{height:49px;border-radius:12px;color:#fff;font-size:15px;font-weight:700}.buy-page-redesign .cart-add-button{background:linear-gradient(105deg,#ffc515,#ff9639)}.buy-page-redesign .buy-now-button{background:linear-gradient(105deg,#ff5c58,#ed252d)}.buy-page-redesign .cart-add-button:disabled,.buy-page-redesign .buy-now-button:disabled{background:#bfc2c7;color:#fff}
.buy-page-redesign .purchase-mask{z-index:105;background:rgba(0,0,0,.52)}.buy-page-redesign .purchase-sheet{max-height:86dvh;border-radius:18px 18px 0 0}.buy-page-redesign .purchase-product{min-height:104px;padding:14px 53px 11px 15px}.buy-page-redesign .purchase-product>.picture{width:72px;height:72px;border-radius:10px}.buy-page-redesign .purchase-product h2{font-size:15px}.buy-page-redesign .purchase-product p{margin-top:5px;color:#8d939b;font-size:11px}.buy-page-redesign .purchase-product strong{margin-top:4px;color:var(--buy-coral);font-size:14px}.buy-page-redesign .purchase-tabs b::after{background:var(--buy-coral)}.buy-page-redesign .purchase-input button{background:var(--buy-coral)}.buy-page-redesign .purchase-quantity .stepper{display:flex;align-items:center}.buy-page-redesign .purchase-quantity .stepper button,.buy-page-redesign .purchase-quantity .stepper input{background:#f4f5f7}.buy-page-redesign .quantity-specs button.active{border-color:var(--buy-coral);background:var(--buy-coral);box-shadow:0 5px 12px rgba(255,87,85,.2)}.buy-page-redesign .quantity-specs .custom-spec{background:#f6f6f6;color:#777}.buy-page-redesign .sheet-submit{background:linear-gradient(105deg,#ff5c58,#ed252d)}
@media(max-width:350px){.buy-fixed-head nav{margin:0 4px}.buy-page-redesign .buy-price-line{gap:5px}.buy-page-redesign .offer-link{font-size:11px}.buy-page-redesign .service-strip span{font-size:10px}.buy-page-redesign .buy-agreement{font-size:10px}}
/* Reference purchase layout: transparent image overlay becomes white as the page scrolls. */
.buy-page-redesign{padding-top:0!important}
.buy-fixed-head{box-shadow:0 2px 12px rgba(0,0,0,calc(var(--head-opacity,0)*.05));background:transparent;transition:background .08s linear}
.buy-fixed-head nav button{color:rgb(calc(255 - 145*var(--head-opacity,0)),calc(255 - 145*var(--head-opacity,0)),calc(255 - 145*var(--head-opacity,0)));font-size:15px}
.buy-fixed-head nav button.active{color:rgb(calc(255 - 229*var(--head-opacity,0)),calc(255 - 111*var(--head-opacity,0)),255)}
.buy-fixed-head nav button.active::after{background:currentColor;bottom:1px;border-radius:0;opacity:var(--head-opacity,0)}
.buy-head-icon{border:0;background:rgba(0,0,0,calc(.48*(1 - var(--head-opacity,0))));width:34px;height:34px}
.buy-head-icon img{display:block;width:25px;height:25px;filter:brightness(0) invert(calc(1 - var(--head-opacity,0)))}
.buy-head-icon:last-child img{width:22px;height:22px}
.buy-head-icon:active{opacity:.65;background:rgba(0,0,0,.15)}
.buy-page-redesign .buy-cover{aspect-ratio:1/1}
.buy-page-redesign .buy-product-meta{padding:13px 15px 17px;display:grid;grid-template-columns:1fr 1fr;gap:7px}
.buy-page-redesign .buy-price-line{grid-column:1/-1;flex-wrap:wrap}
.buy-page-redesign .offer-link{padding:7px 9px;border:1px solid #ffd0ca;border-radius:8px;background:#fff4f1;color:#ff5755;margin-left:auto}
.buy-duration,.buy-rate{margin:0;padding:6px 8px;color:#248efa;background:#edf8ff;border:1px solid #b7deff;border-radius:7px;font-size:11px;text-align:center}
.buy-page-redesign .buy-product-meta h1{grid-column:1/-1;margin:1px 0 0;font-size:17px}
.buy-page-redesign .service-strip{grid-column:1/-1;margin-top:8px;padding:0;border:0;gap:5px}
.buy-page-redesign .service-strip span{flex-direction:row;gap:3px;font-size:12px;color:#707070}
.buy-page-redesign .service-strip i{width:19px;height:22px;background:none;flex:none}
.buy-page-redesign .service-strip img{width:19px;height:19px}
.buy-page-redesign .buy-detail.card,.buy-page-redesign .buy-reviews.card{margin:0 0 12px;padding:14px 16px 20px;border-radius:12px;box-shadow:none}
.buy-page-redesign .detail-tabs{margin:0 0 18px;border:1px solid #198cff;border-radius:3px;overflow:hidden}
.buy-page-redesign .detail-tabs button{height:34px;color:#198cff;font-size:15px}
.buy-page-redesign .detail-tabs button+button{border-left:1px solid #198cff}
.buy-page-redesign .detail-tabs button.active{background:#198cff;color:#fff}
.buy-page-redesign .detail-tabs button.active::after{content:none}
.buy-page-redesign .buy-detail .rich-text,.buy-fixed-notice{font-size:15px;line-height:1.95}
.buy-reviews>header{border:0;height:40px;margin-bottom:12px}
.review-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 1px 10px;scrollbar-width:none}
.review-track::-webkit-scrollbar{display:none}
.review-item,.review-item:last-child{flex:0 0 80%;scroll-snap-align:start;display:flex;align-items:flex-start;gap:10px;background:#f8f9fb;border:1px solid #e5e7ec;border-radius:12px;padding:17px 13px;min-width:0}
.review-item>img{width:38px;height:38px}
.review-item p{flex-wrap:wrap;gap:6px}
.review-item span{margin-top:12px;font-size:14px}
.buy-page-redesign .buy-agreement button{color:#ff5755}
.buy-cart-link>img{width:29px;height:29px}
.buy-page-redesign .purchase-sheet{overflow:visible;max-height:85dvh}
.buy-page-redesign .purchase-product{padding:14px 47px 14px 20px;min-height:98px}
.buy-page-redesign .purchase-product>.picture{width:80px;height:80px;margin-top:-35px;box-shadow:0 0 0 1px #fff}
.buy-page-redesign .purchase-product strong{font-size:16px}
.buy-page-redesign .purchase-scroll{border-top:1px solid #f5f5f5;border-radius:0;overflow-y:auto}
.buy-page-redesign .purchase-input button{background:#198cff}
.buy-page-redesign .quantity-specs button.active{background:#198cff;border-color:#198cff;box-shadow:0 4px 10px #198cff30}
.product-share-sheet>button>img{width:48px;height:48px}
.product-share-sheet>button:not(.share-cancel){padding:0 8px}
/* Brief text feedback remains above sheets; confirmations still use their actionable dialog. */
.wx-toast{z-index:10010;top:50%;left:50%;margin:0;width:max-content;min-width:0;min-height:0;max-width:calc(100vw - 48px);padding:15px 22px;border:0;border-radius:12px;background:rgba(65,65,65,.82);color:#fff;filter:none;box-shadow:0 6px 24px #00000012;backdrop-filter:none;transform:translate(-50%,-50%)}
.wx-toast>.icon{display:none}
.wx-toast p{font-size:14px;color:#fff;line-height:1.6;overflow-wrap:anywhere}
.wx-toast.fade-enter-active{transition:opacity .3s ease,transform .3s ease}
.wx-toast.fade-leave-active{transition:opacity .4s ease,transform .4s ease}
.wx-toast.fade-enter-from,.wx-toast.fade-leave-to{opacity:0;transform:translate(-50%,-40%)}
@media(max-width:350px){.buy-page-redesign .service-strip span{font-size:10px}.buy-page-redesign .service-strip i{width:17px}.buy-duration,.buy-rate{font-size:10px;padding:6px 3px}}

/* Compact product summary and animated fixed anchor navigation. */
.buy-fixed-head{height:calc(46px + env(safe-area-inset-top));grid-template-columns:36px 1fr 36px;padding-left:10px;padding-right:10px}
.buy-fixed-head nav{position:relative;display:grid;grid-template-columns:repeat(3,56px);justify-content:center;width:168px;height:46px;margin:0 auto}
.buy-fixed-head nav button{z-index:1;padding:0;font-size:14px}
.buy-fixed-head nav button.active::after{content:none}
.buy-tab-indicator{position:absolute;z-index:0;left:0;bottom:1px;width:56px;height:3px;transition:transform .38s cubic-bezier(.22,.72,.26,1)}
.buy-tab-indicator::after{content:"";display:block;width:23px;height:3px;margin:auto;border-radius:3px;background:#198cff;box-shadow:0 1px 3px #198cff30}
.buy-head-icon{width:32px;height:32px}.buy-head-icon img{width:23px;height:23px}.buy-head-icon:last-child img{width:20px;height:20px}
.buy-fixed-head.solid nav button{color:#707070}.buy-fixed-head.solid nav button.active{color:#198cff}.buy-fixed-head.solid .buy-head-icon img{filter:none}
.buy-page-redesign #buy-product,.buy-page-redesign #buy-detail,.buy-page-redesign #buy-reviews{scroll-margin-top:calc(54px + env(safe-area-inset-top))}
.buy-page-redesign .buy-cover{width:100%;height:auto;aspect-ratio:1/1;margin:0;border-radius:0}
.buy-page-redesign .buy-cover .picture,.buy-page-redesign .buy-cover .picture img{width:100%;height:100%;border-radius:0;object-fit:cover}
.buy-page-redesign .buy-product-meta{display:block;padding:9px 11px 8px}
.buy-page-redesign .buy-price-line{display:flex;align-items:center;gap:5px;min-height:40px;overflow:hidden;flex-wrap:nowrap}
.buy-page-redesign .buy-price-line .price{font-size:24px;letter-spacing:-1px}.buy-page-redesign .buy-price-line .price small{font-size:14px}
.buy-page-redesign .buy-price-line del{font-size:11px;letter-spacing:-.4px}
.buy-page-redesign .offer-link{flex:none;margin:0;padding:6px 7px;border-radius:6px;font-size:10px;line-height:1.25}
.buy-duration,.buy-rate{position:relative;flex:1;min-width:66px;height:38px;margin:0;padding:5px 3px;border-radius:7px;font-size:9px;line-height:1.2;text-align:center;white-space:nowrap}
.buy-duration svg,.buy-rate svg{position:absolute;right:2px;top:2px;width:12px;height:12px;fill:currentColor}
.buy-duration b,.buy-rate b{font-size:10px;font-weight:500}
.buy-page-redesign .buy-product-meta h1{margin:5px 0 0;font-size:16px;line-height:1.4}
.buy-page-redesign .service-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;margin-top:7px;padding:6px 0 2px;border:0}
.buy-page-redesign .service-strip span{gap:2px;font-size:11px}.buy-page-redesign .service-strip i{width:17px;height:18px}.buy-page-redesign .service-strip img{width:16px;height:16px}
.buy-page-redesign .buy-hero{margin-bottom:8px}
.buy-page-redesign .buy-agreement{min-height:27px;margin-bottom:5px;padding:4px 10px;font-size:10px;line-height:1.35}
.buy-page-redesign .buy-agreement input{width:15px;height:15px}.buy-page-redesign .buy-agreement input:checked::after{width:7px;height:3px;margin:3px 0 0 3px}
/* Order sheet details follow the reference while retaining the existing Storemm field rules. */
.buy-page-redesign .purchase-sheet{border-radius:16px 16px 0 0}
.buy-page-redesign .purchase-product{min-height:94px;padding:12px 44px 10px 135px;overflow:visible}
.buy-page-redesign .purchase-product>.picture{position:absolute;left:20px;top:-27px;width:100px;height:100px;margin:0;border-radius:10px;box-shadow:0 0 0 2px #fff}
.buy-page-redesign .purchase-product h2{font-size:15px;line-height:1.4}.buy-page-redesign .purchase-product p{display:none}.buy-page-redesign .purchase-product strong{font-size:15px}
.purchase-close{top:12px;right:12px;width:25px;height:25px;background:transparent}.purchase-close img{display:block;width:25px;height:25px}
.buy-page-redesign .purchase-scroll{padding-top:4px}
.buy-page-redesign .purchase-field{padding:13px 0}.buy-page-redesign .purchase-input{min-height:40px}.buy-page-redesign .purchase-input input,.buy-page-redesign .purchase-input select{height:40px}
.purchase-quantity{position:relative}.quantity-label{position:relative;width:max-content!important;margin-bottom:0!important;padding-right:25px}
.quantity-help-icon{position:absolute;right:0;top:-5px;width:19px;height:19px;border-radius:50%;background:#ee0a24;color:#fff;font-size:12px;font-weight:700;line-height:19px;animation:quantity-help-shake 2s ease-in-out infinite}
@keyframes quantity-help-shake{0%,78%,100%{transform:rotate(0)}82%{transform:rotate(-12deg)}87%{transform:rotate(12deg)}92%{transform:rotate(-8deg)}96%{transform:rotate(6deg)}}
.buy-page-redesign .quantity-specs{padding:12px 0}.buy-page-redesign .quantity-specs>div{display:grid;grid-template-columns:repeat(6,minmax(50px,1fr));gap:7px;overflow:visible}.buy-page-redesign .quantity-specs button{min-width:0;padding:0 4px;height:37px}
.quantity-help-mask{position:fixed;z-index:140;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.55);animation:purchase-mask-in .2s ease}
.quantity-help-dialog{width:min(340px,100%);overflow:hidden;border-radius:17px;background:#fff;box-shadow:0 18px 60px #0003;animation:quantity-dialog-in .25s ease}
.quantity-help-dialog h2{padding:22px 20px 14px;text-align:center;font-size:18px}.quantity-help-dialog>div{padding:0 20px 12px}
.quantity-help-dialog article{display:flex;align-items:flex-start;gap:11px;padding:12px 0;border-top:1px solid #f0f0f0}.quantity-help-dialog article>b{display:flex;align-items:center;justify-content:center;width:22px;height:22px;flex:none;border-radius:50%;background:#ff5755;color:#fff;font-size:12px}.quantity-help-dialog article p{color:#60656d;font-size:13px;line-height:1.65}.quantity-help-dialog article em{color:#ee0a24;font-style:normal;font-weight:700}
.quantity-help-dialog>button{width:calc(100% - 32px);height:44px;margin:0 16px 16px;border-radius:99px;background:linear-gradient(90deg,#ff6b4d,#ff3940);color:#fff;font-size:15px;font-weight:700}
@keyframes quantity-dialog-in{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
@media(max-width:360px){.buy-page-redesign .buy-price-line{gap:3px}.buy-page-redesign .buy-price-line .price{font-size:21px}.buy-page-redesign .offer-link{padding:5px 4px}.buy-duration,.buy-rate{min-width:61px;font-size:8px}.buy-page-redesign .quantity-specs>div{grid-template-columns:repeat(3,1fr)}}

/* Product price and fulfilment information remain in one compact row. */
.product-info-head{display:flex;align-items:center;width:100%;min-width:0;height:43px;gap:5px;overflow:hidden;white-space:nowrap}
.product-info-head h2{display:flex;align-items:baseline;flex:none;margin:0;color:#e8504f;font-size:24px;line-height:1;font-weight:750;letter-spacing:-1px}
.product-info-head h2 i{font-size:13px;font-style:normal;font-weight:650;letter-spacing:0}
.product-info-head .original-price{flex:none;color:#9c9c9c;font-size:11px;text-decoration:line-through;text-decoration-thickness:1px}
.product-info-head .head-divider{width:1px;height:25px;flex:none;margin:0 1px;background:#e6e6e6}
.product-info-head .info-tag{position:relative;display:flex;align-items:center;justify-content:center;flex:none;height:35px;padding:3px 6px;border:1px solid #ffc8c3;border-radius:7px;background:#fff8f7;color:#ee5654;font-size:9px;font-style:normal;line-height:1.2;text-align:center}
.product-info-head .info-tag--join{width:62px;cursor:pointer}
.product-info-head .info-tag--blue{min-width:0;flex:1;flex-direction:column;padding:3px 2px;border-color:#aedcff;background:#eff8ff;color:#318bd1}
.product-info-head .info-tag--blue span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.product-info-head .info-tag--blue span+span{font-size:10px}
.product-info-head .tag-icon{position:absolute;right:1px;top:1px;width:11px;height:11px;fill:currentColor}
.buy-page-redesign .buy-product-meta>h1{margin:4px 0 0;font-size:16px;line-height:1.4}
@media(max-width:360px){.product-info-head{gap:3px}.product-info-head h2{font-size:21px}.product-info-head .original-price{font-size:9px}.product-info-head .info-tag{height:33px;font-size:8px;padding-left:2px;padding-right:2px}.product-info-head .info-tag--join{width:54px}.product-info-head .info-tag--blue span+span{font-size:9px}}

/* 购买页沿用 Storemm/Vant 的移动端视觉尺度，变量仅在本页生效。 */
.buy-page-redesign{
  --buy-text:#323233;
  --buy-text-2:#646566;
  --buy-text-3:#969799;
  --buy-border:#ebedf0;
  --buy-active:#f2f3f5;
  --buy-panel:#fff;
  --buy-primary:#1989fa;
  --buy-danger:#ee0a24;
  --buy-radius:8px;
  --buy-duration:.3s;
  color:var(--buy-text);
  -webkit-tap-highlight-color:transparent;
}
.buy-page-redesign button,.buy-page-redesign input,.buy-page-redesign select{font:inherit}
.buy-page-redesign button{transition:opacity .2s ease,background-color .2s ease,border-color .2s ease,transform .2s ease}
.buy-page-redesign button:active{opacity:.68}
.buy-page-redesign .buy-fixed-head{transition:background-color var(--buy-duration) ease,box-shadow var(--buy-duration) ease}
.buy-page-redesign .buy-tab-indicator{height:3px;transition:transform var(--buy-duration) ease-out}
.buy-page-redesign .buy-product-meta{color:var(--buy-text)}
.buy-page-redesign .service-strip{color:var(--buy-text-2)}
.buy-page-redesign .buy-detail.card,.buy-page-redesign .buy-reviews.card{background:var(--buy-panel)}
.buy-page-redesign .detail-tabs{border-color:var(--buy-border)}
.buy-page-redesign .detail-tabs button{color:var(--buy-text-2);transition:color .2s ease,background-color .2s ease}
.buy-page-redesign .buy-detail .rich-text,.buy-page-redesign .buy-fixed-notice{color:var(--buy-text-2)}
.buy-page-redesign .review-item{border-color:var(--buy-border);background:#f7f8fa}

.buy-page-redesign .purchase-mask{background:rgba(0,0,0,.55)}
.buy-page-redesign .purchase-sheet{background:var(--buy-panel);border-radius:16px 16px 0 0;box-shadow:0 -10px 36px rgba(0,0,0,.12)}
.buy-page-redesign .purchase-close{background:#c8c9cc}
.buy-page-redesign .purchase-tabs{height:48px;border-color:var(--buy-border)}
.buy-page-redesign .purchase-tabs b{color:var(--buy-text);font-weight:600}
.buy-page-redesign .purchase-field,.buy-page-redesign .purchase-quantity{border-color:var(--buy-border)}
.buy-page-redesign .purchase-field>span,.buy-page-redesign .purchase-quantity span,.buy-page-redesign .quantity-specs>span{color:var(--buy-text);font-size:14px;line-height:20px}
.buy-page-redesign .purchase-input input,.buy-page-redesign .purchase-input select{color:var(--buy-text);background:transparent;border:0;outline:0}
.buy-page-redesign .purchase-input input::placeholder{color:#c8c9cc}
.buy-page-redesign .purchase-quantity .stepper{gap:2px;border-radius:4px;overflow:hidden}
.buy-page-redesign .purchase-quantity .stepper button,.buy-page-redesign .purchase-quantity .stepper input{height:32px;margin:0;background:var(--buy-active);border:0;color:var(--buy-text)}
.buy-page-redesign .purchase-quantity .stepper button{width:32px;font-size:19px}
.buy-page-redesign .purchase-quantity .stepper input{width:38px;font-size:14px;text-align:center}
.buy-page-redesign .quantity-specs button{height:36px;border-color:var(--buy-border);border-radius:6px;color:var(--buy-text);background:#fff}
.buy-page-redesign .quantity-specs button.active{border-color:var(--buy-primary);background:var(--buy-primary);color:#fff;box-shadow:none}
.buy-page-redesign .quantity-help-dialog{border-radius:16px;background:#fff}
.buy-page-redesign .quantity-help-dialog h2{font-size:16px;line-height:22px;font-weight:600}
.buy-page-redesign .quantity-help-dialog article p{color:var(--buy-text-2);font-size:14px;line-height:20px}
.buy-page-redesign .quantity-help-dialog>button{height:36px;background:linear-gradient(to right,#ff6034,#ee0a24)}
.buy-page-redesign .purchase-sheet>footer{border-color:var(--buy-border)}
.buy-page-redesign .sheet-submit{height:50px;background:linear-gradient(to right,#ff6034,#ee0a24)}
.buy-page-redesign .buy-summary.buy-hero{padding:0!important;margin-left:0!important;margin-right:0!important;border-radius:0!important}
.buy-page-redesign .buy-hero,.buy-page-redesign .buy-cover,.buy-page-redesign .buy-cover .picture{width:100%!important;max-width:none!important}
.buy-fixed-head .buy-tab-indicator{color:rgb(calc(255 - 229*var(--head-opacity,0)),calc(255 - 111*var(--head-opacity,0)),255)}
.buy-tab-indicator::after{background:currentColor;box-shadow:0 1px 3px currentColor}
.buy-fixed-head.solid .buy-tab-indicator{color:#198cff}
.buy-page-redesign{padding-bottom:calc(102px + env(safe-area-inset-bottom))!important}
.buy-page-redesign .buy-bottom-bar{padding:0 9px calc(5px + env(safe-area-inset-bottom))}
.buy-page-redesign .buy-agreement{min-height:23px;margin:0 -9px 4px;padding:4px 10px;font-size:10px;line-height:1.25}
.buy-page-redesign .buy-agreement input{width:15px;height:15px}
.buy-page-redesign .buy-actions{gap:7px}
.buy-page-redesign .buy-cart-link{width:40px;gap:1px;font-size:10px}
.buy-page-redesign .buy-cart-link img{width:22px;height:22px}
.buy-page-redesign .cart-add-button,.buy-page-redesign .buy-now-button{height:43px;border-radius:10px;font-size:14px}
.back-top-button--buy{bottom:calc(88px + env(safe-area-inset-bottom))}
.buy-page-redesign .purchase-quantity{min-height:58px;padding:10px 0}
.buy-page-redesign .quantity-control{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}
.buy-page-redesign .quantity-control small{display:block;margin:0;color:#969799;font-size:11px;white-space:nowrap}
.buy-page-redesign .purchase-quantity .stepper button,.buy-page-redesign .purchase-quantity .stepper input{height:28px}
.buy-page-redesign .purchase-quantity .stepper button{width:28px}
.buy-page-redesign .purchase-quantity .stepper input{width:32px;font-size:14px}
.buy-page-redesign .purchase-quantity .stepper button.limit{opacity:.42}
.buy-page-redesign .purchase-quantity .stepper button.limit{color:#c8c9cc;opacity:.55}
.buy-page-redesign .quantity-specs{padding:9px 0}
.buy-page-redesign .quantity-specs>div{display:flex;flex-wrap:wrap;gap:5px;overflow:visible}
.buy-page-redesign .quantity-specs button{flex:0 0 auto;min-width:46px;height:29px;padding:0 7px;border-radius:6px;font-size:11px}
@media(max-width:350px){.buy-page-redesign .quantity-specs>div{display:flex;grid-template-columns:none}}

/* 购买弹窗数量区：沿用 tests/buy.php 的紧凑份数选择布局。 */
.buy-page-redesign .purchase-quantity{min-height:54px;padding:9px 0;gap:10px;flex-wrap:nowrap}
.buy-page-redesign .quantity-control{gap:6px;min-width:0}
.buy-page-redesign .purchase-quantity .stepper{gap:0;border:1px solid #ddd;border-radius:6px;overflow:hidden;background:#fff}
.buy-page-redesign .purchase-quantity .stepper button,
.buy-page-redesign .purchase-quantity .stepper input{height:34px;margin:0;border:0;background:#f5f5f5}
.buy-page-redesign .purchase-quantity .stepper button{width:38px}
.buy-page-redesign .purchase-quantity .stepper input{width:34px;font-size:15px;font-weight:600;background:#fff}
.buy-page-redesign .quantity-control small{font-size:12px;color:#777}
.buy-page-redesign .quantity-specs{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;overflow:hidden}
.buy-page-redesign .quantity-specs>span{flex:none;margin:0;white-space:nowrap}
.buy-page-redesign .quantity-specs>div{display:flex;flex:1;justify-content:flex-end;flex-wrap:nowrap;gap:4px;min-width:0;overflow-x:auto;padding:1px 0 4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.buy-page-redesign .quantity-specs>div::-webkit-scrollbar{display:none}
.buy-page-redesign .quantity-specs button{flex:0 0 34px;min-width:34px;width:34px;height:30px;padding:0;border-radius:5px;font-size:12px}
.buy-page-redesign .quantity-specs .custom-spec{min-width:34px;width:34px}
@media(max-width:350px){.buy-page-redesign .quantity-specs>div{display:flex;flex-wrap:nowrap}}

/* 自定义规格始终显示实际选购数量。 */
.buy-page-redesign .quantity-specs>div{justify-content:flex-start}
.buy-page-redesign .quantity-specs button{flex:0 0 auto;min-width:48px;width:auto;padding:0 8px}
.buy-page-redesign .quantity-specs .custom-spec{min-width:60px;width:auto}
.buy-page-redesign .quantity-specs .custom-spec.active{background:#198cff;color:#fff;border-color:#198cff}
.buy-page-redesign .purchase-sheet>footer>button{flex:1 1 0;width:0;min-width:0;height:46px;padding:0 8px;border-radius:10px;font-size:15px;line-height:1.2}
.buy-page-redesign .purchase-close{width:32px;height:32px;background:transparent}
.buy-page-redesign .purchase-close img{width:17px;height:17px}
.buy-page-redesign .service-strip span{font-size:clamp(11px,3.1vw,13px);gap:3px;white-space:nowrap}
.buy-page-redesign .service-strip i,.buy-page-redesign .service-strip img{width:18px;height:18px;flex-shrink:0}
.buy-page-redesign .purchase-order-mask,.buy-page-redesign .purchase-order-mask .purchase-sheet{animation:none}
.purchase-slide-enter-active,.purchase-slide-leave-active{transition:opacity .36s ease}
.purchase-slide-enter-active .purchase-sheet,.purchase-slide-leave-active .purchase-sheet{transition:transform .36s cubic-bezier(.22,.61,.36,1)}
.purchase-slide-enter-from,.purchase-slide-leave-to{opacity:0}
.purchase-slide-enter-from .purchase-sheet,.purchase-slide-leave-to .purchase-sheet{transform:translateY(calc(100% + 40px))}
.level-prices article{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #eee;font-size:14px}
.level-prices article strong{color:#ff5755}.level-prices p{margin-top:16px;color:#888;font-size:12px}

/* 紧凑公告与商品提示。 */
.wx-dialog.notice-dialog{max-width:360px;border-radius:16px;padding:20px 18px}
.wx-dialog.notice-dialog h2{font-size:17px;line-height:1.4;margin-bottom:14px}
.wx-dialog.notice-dialog>.rich-text{font-size:14px;line-height:1.65;margin-bottom:17px;overflow-wrap:anywhere}
.wx-dialog.notice-dialog>.rich-text p,.wx-dialog.notice-dialog>.rich-text span,.wx-dialog.notice-dialog>.rich-text font{font-size:inherit!important;line-height:inherit}
.wx-dialog.notice-dialog footer button{min-height:35px;padding:7px 12px;font-size:14px;font-weight:600}
/* 六个固定格位，无滚动、无换行；自选格显示实际数量。 */
.buy-page-redesign .quantity-specs{display:flex;align-items:center;flex-wrap:nowrap;gap:6px;padding:7px 0}
.buy-page-redesign .quantity-specs>span{flex:none;font-size:12px;margin:0;line-height:16px}
.buy-page-redesign .quantity-specs>div{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;padding:0;overflow:visible;min-width:0;flex:1}
.buy-page-redesign .quantity-specs button,.buy-page-redesign .quantity-specs .custom-spec{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;height:26px;padding:0 2px;line-height:1;border-radius:4px;white-space:nowrap;box-sizing:border-box}
.buy-page-redesign .service-strip{display:flex;justify-content:center;flex-wrap:nowrap;gap:clamp(4px,1.5vw,7px)}
.buy-page-redesign .service-strip span{flex:0 1 auto;gap:3px}
.level-price-actions{display:flex;gap:8px;padding:0 20px 18px}
.level-price-actions a,.level-price-actions button{display:flex;align-items:center;justify-content:center;flex:1;min-height:35px;border-radius:18px;font-size:14px;background:#f2f3f5;color:#666;text-decoration:none}
.level-price-actions a{background:linear-gradient(90deg,#ff6b35,#ff3b30);color:#fff}

/* 无底色的关闭图标，17px 放大至 25.5px。 */
.buy-page-redesign .purchase-close,.buy-page-redesign .purchase-close:hover,.buy-page-redesign .purchase-close:active,.buy-page-redesign .purchase-close:focus{background:none;border:0;box-shadow:none;padding:0}
.buy-page-redesign .purchase-close .purchase-close-icon{display:block;width:25.5px;height:25.5px;flex:none;fill:#707070}
.buy-page-redesign .purchase-close::before,.buy-page-redesign .purchase-close::after{content:none}

/* 规格靠右排布，标签与按钮之间保留弹性空白。 */
.buy-page-redesign .quantity-specs{justify-content:space-between;gap:12px}
.buy-page-redesign .quantity-specs>div{flex:0 1 210px;width:210px;margin-left:auto;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}
.buy-page-redesign .quantity-specs button,.buy-page-redesign .quantity-specs .custom-spec{height:25px;padding:0 1px}
.buy-page-redesign .purchase-close .purchase-close-icon{width:23px;height:23px}
.buy-page-redesign .service-strip{justify-content:space-between;gap:4px;padding-left:4px;padding-right:4px}
.wx-dialog.notice-dialog footer button{width:80%;margin:0 auto}
.quantity-help-dialog>button{display:block;width:76%;margin:0 auto 16px}

.buy-page-redesign .quantity-specs>span,.buy-page-redesign .purchase-quantity .quantity-label{font-size:14px;color:var(--buy-text);line-height:20px;font-weight:400}
.buy-page-redesign .quantity-specs{min-height:44px;align-items:center}
.buy-page-redesign .quantity-specs>div{align-items:center;align-self:center;padding-top:0;padding-bottom:0}
.buy-page-redesign .purchase-close .purchase-close-icon{width:20.7px;height:20.7px}

/* 填写区只在下单信息与数量之间保留细分隔线。 */
.buy-page-redesign .purchase-field,
.buy-page-redesign .purchase-quantity,
.buy-page-redesign .purchase-sheet>footer{border:0}
.buy-page-redesign .purchase-quantity{border-top:.5px solid #ebedf0}
.buy-page-redesign .service-strip span{color:#505050;font-size:clamp(11.5px,3.2vw,13.5px)}
.buy-page-redesign .purchase-close,
.buy-page-redesign .purchase-close:hover,
.buy-page-redesign .purchase-close:active,
.buy-page-redesign .purchase-close:focus{background:#e5e5e5;border-radius:50%}

/* 仅用于首页商品列表；全局仿微信 HUD 的动画与尺寸保持独立。 */
.home .catalog-footer{min-height:66px;padding:15px 12px 19px;color:#90949c;font-size:12px;line-height:20px}
.home .catalog-footer-empty{min-height:1px;padding:0}
.home .catalog-loading{min-height:116px;padding:24px 12px}
.home .catalog-loading-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:34px;padding:7px 15px;border-radius:18px;background:#fff;color:#8b9098;font-size:12px;font-weight:400;line-height:20px;box-shadow:0 2px 10px rgba(30,35,45,.035)}
.home .catalog-loading-icon{display:block;flex:none;width:17px;height:17px;fill:none;stroke-width:1.8;animation:catalog-loading-spin 1s linear infinite}
.home .catalog-loading-icon circle{stroke:#f4e4e3}
.home .catalog-loading-icon path{stroke:#ff7772;stroke-linecap:round}
.home .catalog-more{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:7px 16px;border:1px solid #f3dedc;border-radius:20px;background:#fff8f7;color:#d67770;font-size:12px;line-height:20px;transition:background .2s,transform .2s}
.home .catalog-more:active{background:#ffefed;transform:scale(.97)}
.home .catalog-more svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.home .catalog-finished{display:inline-flex;align-items:center;gap:12px;color:#a2a6ad;font-size:11px;line-height:20px;letter-spacing:.5px}
.home .catalog-finished::before,.home .catalog-finished::after{content:"";width:30px;height:1px;background:linear-gradient(90deg,transparent,#dce0e5)}
.home .catalog-finished::after{transform:rotate(180deg)}
@keyframes catalog-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.home .catalog-loading-icon{animation:none}.home .catalog-more{transition:none}}
/* 统一确认、公告和商品提示的留白与按钮层级。 */
.hub-dialog-mask,.notice-mask{padding:24px;background:rgba(0,0,0,.4);backdrop-filter:none;-webkit-backdrop-filter:none}
.hub-dialog.hub-dialog--plain{width:100%;max-width:320px;max-height:85dvh;display:flex;flex-direction:column;padding:24px 22px 20px;border-radius:18px;background:#fff;box-shadow:0 12px 40px #00000018}
.hub-dialog.hub-dialog--plain h2{flex:none;margin:0;color:#252525;font-size:17px;line-height:25px;font-weight:600}
.hub-dialog.hub-dialog--plain p{min-height:0;margin:12px 0 23px;color:#777;font-size:14px;line-height:1.75;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.hub-dialog.hub-dialog--plain .hub-dialog-actions{flex:none;gap:10px;border:0}
.hub-dialog.hub-dialog--plain .hub-dialog-actions button{height:40px;min-width:0;padding:0 12px;border:0;border-radius:9px;font-size:14px;font-weight:500}
.hub-dialog.hub-dialog--plain .hub-dialog-cancel{background:#f3f4f5;color:#747474}
.hub-dialog.hub-dialog--plain .hub-dialog-confirm{background:#ff5755;color:#fff}
.hub-dialog.hub-dialog--plain .hub-dialog-actions button:only-child{flex:0 1 80%;margin:auto}
.hub-dialog.hub-dialog--plain .hub-dialog-actions button:active{opacity:.8}
.wx-dialog.notice-dialog{width:100%;max-width:340px;max-height:85dvh;display:flex;flex-direction:column;padding:24px 22px 20px;border-radius:18px;box-shadow:0 12px 40px #00000018}
.wx-dialog.notice-dialog h2{flex:none;margin:0 0 16px;padding:0;font-size:17px;font-weight:600;line-height:25px;color:#252525}
.wx-dialog.notice-dialog>.rich-text{min-height:0;max-height:55dvh;overflow-y:auto;overscroll-behavior:contain;margin:0 0 22px;padding:0;text-align:left;color:#666;font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.wx-dialog.notice-dialog>.rich-text p{margin:0 0 10px}.wx-dialog.notice-dialog>.rich-text p:last-child{margin-bottom:0}
.wx-dialog.notice-dialog>.rich-text img{max-width:100%;height:auto}.wx-dialog.notice-dialog>.rich-text a{color:#1989fa}
.wx-dialog.notice-dialog footer{flex:none;border:0;padding:0}
.wx-dialog.notice-dialog footer button{width:80%;height:35px;min-height:35px;margin:0 auto;padding:0 10px;border:0;border-radius:9px;background:#ff5755;font-size:14px;font-weight:500;line-height:35px;color:#fff}
.mobile-loading{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;background:transparent}
.mobile-loading-box{box-sizing:border-box;width:105px;height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(40,40,40,.68);border-radius:10px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.mobile-loading-spinner{width:38px;height:38px;overflow:visible;animation:mobile-spinner-rotate 1.3s linear infinite;transform-origin:center}
.mobile-loading-circle{fill:none;stroke:rgba(255,255,255,.96);stroke-width:3;stroke-linecap:round;stroke-dasharray:2 126;stroke-dashoffset:0;animation:mobile-spinner-stretch 1.3s cubic-bezier(.4,0,.2,1) infinite}
.mobile-loading-text{margin-top:10px;color:rgba(255,255,255,.95);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue",Arial,sans-serif;font-size:14px;font-weight:400;line-height:20px;white-space:nowrap}
.request-loading-enter-active,.request-loading-leave-active{transition:opacity .2s ease,visibility .2s ease}.request-loading-enter-from,.request-loading-leave-to{opacity:0;visibility:hidden;pointer-events:none}
@keyframes mobile-spinner-rotate{0%{transform:rotate(-90deg)}100%{transform:rotate(270deg)}}
@keyframes mobile-spinner-stretch{0%{stroke-dasharray:2 126;stroke-dashoffset:0}15%{stroke-dasharray:18 126;stroke-dashoffset:-2}35%{stroke-dasharray:55 126;stroke-dashoffset:-8}50%{stroke-dasharray:82 126;stroke-dashoffset:-18}65%{stroke-dasharray:65 126;stroke-dashoffset:-42}82%{stroke-dasharray:28 126;stroke-dashoffset:-82}100%{stroke-dasharray:2 126;stroke-dashoffset:-124}}
.notice-mask{padding:16px;align-items:center}
.wx-dialog.notice-dialog{position:relative;top:-5dvh;width:320px;max-width:calc(100vw - 32px);max-height:85dvh;padding:0;border-radius:16px;background:#fff;box-shadow:none;overflow:hidden}
.wx-dialog.notice-dialog h2{padding:26px 24px 0;margin:0;font-size:16px;line-height:24px;font-weight:600;color:#323233}
.wx-dialog.notice-dialog>.rich-text{padding:8px 24px 24px;margin:0;max-height:60vh;color:#646566;font-size:14px;line-height:20px;text-align:left;overflow-y:auto;overflow-wrap:anywhere}
.wx-dialog.notice-dialog footer{padding:0 24px 16px;margin:0;border:0;background:#fff}
.wx-dialog.notice-dialog footer button{display:block;width:100%;height:36px;min-height:36px;margin:0;padding:0 12px;border:0;border-radius:999px;background:linear-gradient(to right,#ff6034,#ee0a24);color:#fff;font-size:14px;font-weight:500;line-height:36px}
.tabbar .join-tab-icon{width:24px;height:24px;fill:currentColor;stroke:none;color:#666}
.tabbar a.active .join-tab-icon{color:#ff5755}
.join-page .join-footer{bottom:calc(60px + env(safe-area-inset-bottom));padding-bottom:12px}
.page.join-page{padding-bottom:calc(164px + env(safe-area-inset-bottom))!important}
