*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,"Microsoft YaHei",sans-serif;font-size:14px;color:#171a23;background:#fff;min-width:1080px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:0;background:none;color:inherit;cursor:pointer;padding:0}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:2px solid #1552f0;outline-offset:4px}input,textarea,select{border:1px solid #dcdfe6;border-radius:4px;padding:11px 13px;background:white;outline:none}input:focus,textarea:focus,select:focus{border-color:#1552f0;box-shadow:0 0 0 2px #1552f014}textarea{resize:vertical;min-height:110px}svg{width:24px;height:24px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin-top:0}h1{font-size:26px}h2{font-size:20px}h3{font-size:16px}.store-container{width:85%;max-width:1632px;margin:0 auto}.muted{color:#89909b}.center{text-align:center}.primary{display:inline-flex;align-items:center;justify-content:center;background:#111;color:#fff;padding:13px 24px;min-height:44px;gap:8px;border-radius:3px}.primary:hover{background:#333}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dcdfe6;border-radius:4px;padding:11px 18px}.secondary:hover{border-color:#1552f0;color:#1552f0}.seller-blue{background:#1552f0}.seller-blue:hover{background:#1045d1}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center}.text-button{color:#1552f0;margin-right:14px}.danger{color:#ef5d5d}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.page-space{padding-top:32px;padding-bottom:70px}.breadcrumb{color:#8b8b8b;margin-bottom:32px}.breadcrumb a:hover{color:#111}.section-title{font-size:28px;font-weight:600;text-align:center;margin-bottom:34px}.surface{background:#fff;border-radius:5px;padding:24px}.surface>h1{font-size:20px;padding-bottom:20px;border-bottom:1px solid #eff0f4;margin-bottom:24px}.surface>h2{font-size:17px;font-weight:600;margin-bottom:25px}.empty-state{text-align:center;padding:70px 20px;color:#a3a8b1}.empty-state>svg{width:55px;height:55px;color:#c8ccd3;margin-bottom:20px}.empty-state h2{font-weight:400;font-size:20px;color:#6b7280}.empty-state p{line-height:1.7}.loading-state{height:420px;display:flex;justify-content:center;align-items:center;gap:12px;color:#8a919e}.loading-state span{width:25px;height:25px;border:2px solid #d8e0f5;border-top-color:#1552f0;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-state{margin:35px;min-height:300px;text-align:center;padding-top:65px}.error-state p{color:#858b98;margin-bottom:28px}
/* Buyer PC: original black utility bar, white search header and full-width hero. */
.buyer-top{height:48px;background:#000;color:#fff;font-size:16px}.buyer-top .store-container{height:100%;display:flex;align-items:center;gap:14px}.buyer-top button:hover{text-decoration:underline}.top-divider{height:24px;width:1px;background:#fff}.buyer-top .language{margin-left:auto;font-size:14px}.buyer-header{height:98px;display:flex;align-items:center;justify-content:space-between;gap:38px}.buyer-logo img{width:70px;height:70px;object-fit:contain}.search-box{display:flex;width:430px;margin-left:9%;border:1px solid #dcdfe6;height:40px;border-radius:5px;overflow:hidden}.search-box input{flex:1;min-width:0;border:0;padding:10px 14px;font-size:14px}.search-box input::placeholder{color:#b9bfcc}.search-box button{background:#111;color:#fff;padding:0 15px}.header-tools{display:flex;gap:30px}.header-tools button{display:flex;flex-direction:column;align-items:center;gap:7px;color:#5b5b5b;font-size:16px}.header-tools img{height:26px;width:28px;object-fit:contain}.buyer-nav{height:54px;border-top:1px solid #e7e7e7;border-bottom:1px solid #e7e7e7;color:#5a5a5a;font-size:16px}.buyer-nav>.store-container{height:100%;display:flex;align-items:center;gap:48px}.buyer-nav a.active{color:#000;font-weight:bold}.discount-tip{margin-left:auto}.hero-carousel{width:100%;height:30vw;max-height:680px;min-height:360px;position:relative;overflow:hidden;background:#ecece8}.hero-image{display:block;height:100%}.hero-photo{width:100%;height:100%;object-fit:fill;animation:hero-in .35s ease}@keyframes hero-in{from{opacity:.75}to{opacity:1}}.carousel-prev,.carousel-next{position:absolute;top:47%;width:42px;height:42px;background:#000;color:white;border-radius:50%;font-size:32px;line-height:1;display:flex;justify-content:center;align-items:center}.carousel-prev{left:10px}.carousel-next{right:10px}.hero-more{position:absolute;left:7.5%;top:49%;background:#000;color:#fff;padding:16px 22px;font-size:16px;min-width:140px;text-align:center;border-radius:2px}.carousel-dots{position:absolute;bottom:11px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px}.carousel-dots button{width:8px;height:8px;border-radius:50%;background:#bdc1bd}.carousel-dots button.active{width:14px;height:14px;background:#000}.feature-tiles{display:grid;grid-template-columns:1.45fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:28px;margin-top:80px;margin-bottom:70px}.feature-tiles a{position:relative;overflow:hidden;min-height:240px;background:#f0f1f3}.feature-tiles img{width:100%;height:100%;object-fit:cover;transition:transform .45s}.feature-tiles a:hover img{transform:scale(1.025)}.feature-tiles .feature-tall{grid-row:span 2}.feature-tiles .feature-wide{grid-column:span 2}.feature-tiles a>div{position:absolute;top:22px;left:21px;max-width:52%;color:#000}.feature-tiles p{color:#606060;font-size:18px;margin-bottom:10px}.feature-tiles h2{font-size:21px;line-height:1.15;margin-bottom:15px}.feature-tiles span{font-size:16px;color:#626262}.category-section{padding:10px 0 45px}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:28px}.category-grid a{display:flex;flex-direction:column;gap:15px;align-items:center;font-size:16px}.category-grid img{width:100%;height:160px;object-fit:cover;border-radius:50%;transition:transform .2s}.category-grid a:hover img{transform:translateY(-4px)}.offer-band{padding:40px 60px;background:#f5f1ec;display:flex;justify-content:space-between;align-items:center;margin-top:40px;margin-bottom:70px}.offer-band p{color:#6e6a64}.offer-band h2{font-size:34px;margin-bottom:12px}.offer-band span{color:#6f6f6f}.offer-band>a{padding:15px 23px;background:#111;color:white}.recommendation{padding-bottom:40px}.product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:34px 28px}.product-card{min-width:0;display:flex;flex-direction:column}.product-picture{display:flex;align-items:center;justify-content:center;aspect-ratio:1;overflow:hidden;background:#f8f8f8;margin-bottom:14px}.product-picture img{width:100%;height:100%;object-fit:contain;transition:transform .25s}.product-picture:hover img{transform:scale(1.05)}.product-name{font-size:15px;line-height:1.55;height:47px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.product-card h3{font-size:24px;margin:13px 0 7px;color:#111;font-weight:600}.product-card>p{font-size:14px;color:#999}.product-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eee;padding-top:12px}.product-actions>button:first-child{display:flex;align-items:center;gap:7px;font-size:14px}.product-actions>button:hover{color:#ff9900}.product-actions svg{width:21px;height:21px}.campaign-row{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:50px;margin-bottom:70px}.campaign-row img{width:100%;height:260px;object-fit:cover}.partner-band{text-align:center;background:#f3f3f3;padding:60px 20px;margin-top:30px}.partner-band h2{font-size:34px;margin-bottom:15px}.partner-band p{font-size:18px;color:#555}.partner-band a{display:inline-block;background:#111;color:white;padding:13px 25px}.buyer-footer{background:#151515;color:#aaa;padding:55px 0 65px}.footer-columns{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:60px}.buyer-footer section>img{width:65px;height:65px;margin-bottom:15px}.buyer-footer h3{color:white;margin:14px 0 20px;font-size:17px}.buyer-footer section>button,.buyer-footer section>a{display:block;margin-bottom:15px;text-align:left}.buyer-footer button:hover,.buyer-footer a:hover{color:white}.buyer-footer form{display:flex}.buyer-footer input{width:100%;min-width:0;border-radius:0;border:0}.buyer-footer form button{padding:12px;background:#ff9900;color:white}.listing-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;padding-bottom:20px}.listing-heading h1{margin:0}.listing-heading>span{color:#909090}.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;margin:27px 0 40px}.catalog-toolbar>div{display:flex;gap:20px}.catalog-toolbar button{padding:9px 13px;border-radius:3px;border:1px solid transparent}.catalog-toolbar button.active{border-color:#111}.catalog-toolbar label{color:#777}.catalog-toolbar select{margin-left:10px;padding:8px}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:15px;margin-top:28px;color:#737b88}.pagination button{border:1px solid #dcdfe6;border-radius:4px;padding:8px 12px;background:white}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:70px}.detail-image{background:#fafafa;display:flex;align-items:center;justify-content:center;min-height:550px}.detail-image img{width:90%;max-height:600px;object-fit:contain}.product-detail h1{font-size:26px;line-height:1.45}.detail-rating{color:#eaae2c;margin:20px 0}.detail-rating span{color:#888;margin-left:25px;font-size:14px}.product-detail section>h2{font-size:38px;margin:30px 0}.stock-line{color:#319370}.product-detail section>p{line-height:1.8;color:#777}.product-detail form{margin-top:35px}.product-detail input{width:80px;margin-left:20px}.detail-actions{display:flex;gap:18px;margin:30px 0}.detail-actions .primary{min-width:220px}.detail-benefits{border-top:1px solid #eee;padding-top:22px;color:#8e8e8e;line-height:1.8}.detail-description{border-top:1px solid #ddd;margin-top:60px;padding-top:30px;line-height:1.8}.account-layout{display:grid;grid-template-columns:250px 1fr;gap:45px;padding:45px 0 70px;min-height:600px}.account-layout aside{padding:24px;background:#fafafa;border:1px solid #eee;align-self:start}.account-avatar{width:65px;height:65px;border-radius:50%;background:#eee;display:grid;place-items:center;margin-bottom:15px;overflow:hidden}
.account-avatar img{width:100%;height:100%;object-fit:cover}.account-avatar svg{width:35px;height:35px}.account-layout aside>p{font-size:12px;overflow-wrap:anywhere;color:#888;margin-bottom:30px}.account-layout aside>a,.account-layout aside>button{display:flex;align-items:center;gap:14px;padding:15px 0;width:100%;color:#777}.account-layout aside>a.active{color:#111;font-weight:600}.account-layout aside svg{width:20px;height:20px}.account-content>h1{margin-top:5px;border-bottom:1px solid #eee;padding-bottom:22px}.account-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);margin:30px 0 50px;border:1px solid #eee}.account-shortcuts a{display:flex;flex-direction:column;gap:14px;align-items:center;padding:27px;border-right:1px solid #eee}.account-shortcuts a:last-child{border-right:0}.account-shortcuts strong{font-size:28px}.account-shortcuts span{color:#888}.balance-panel{padding:32px;background:#f7f7f7;margin:30px 0}.balance-panel strong{font-size:42px;margin-right:15px}.balance-panel>p,.balance-panel>span{color:#848484}.wallet-tabs{padding:20px 0;border-bottom:1px solid #eee}.wallet-tabs button.active{font-weight:600}.cart-layout{display:grid;grid-template-columns:1fr 370px;gap:45px;margin-top:35px}.cart-row{display:grid;grid-template-columns:110px 1fr 80px 100px;gap:20px;align-items:center;padding:22px 0;border-bottom:1px solid #eee}.cart-row>img{width:105px;height:105px;object-fit:contain}.cart-row>div>a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}.cart-row>div>p{margin:12px 0}.cart-row input{width:70px}.cart-summary{background:#f7f7f7;padding:28px;align-self:start}.cart-summary>p{display:flex;justify-content:space-between;gap:10px;margin-top:25px;font-size:14px}.cart-summary>p>span{color:#737373}.cart-summary hr{border:0;border-top:1px solid #ddd;margin:30px 0}.cart-summary .summary-total{font-size:18px}.cart-summary .primary{width:100%;margin:20px 0}.cart-summary>a{display:block;text-align:center;color:#777}.checkout-layout{display:grid;grid-template-columns:1fr 1fr;gap:50px}.checkout-layout .surface{border:1px solid #eee}.checkout-layout label,.settings-page label,.edit-form label{display:flex;flex-direction:column;gap:10px;margin:22px 0}.checkout-item{display:flex;justify-content:space-between;gap:24px;border-bottom:1px solid #eee;padding-bottom:20px;line-height:1.6}.checkout-item span{max-width:70%}.about{max-width:960px;line-height:2;min-height:500px}.about h1{font-size:35px;margin-bottom:35px}.partnership{padding:90px 0;text-align:center;background:#f6f6f6;margin:55px auto}.partnership h1{font-size:44px}.partnership p{font-size:20px;color:#666;margin-bottom:30px}
/* Seller PC: login reference and data workspace. */
.seller-login{display:flex;min-height:100vh;background:#fff}.seller-login-art{width:60%;min-height:100vh;background-image:url('/assets/seller-login-reference.png');background-size:166.666667% 100%;background-position:left center;background-repeat:no-repeat}.seller-login-panel{width:40%;position:relative;display:flex;align-items:center;justify-content:center;padding:65px}.login-language{position:absolute;right:35px;top:25px;color:#525760}.seller-login-content{width:100%;max-width:500px}.seller-login-content>h1{font-size:38px;text-align:center;margin-bottom:12px;color:#121827}.seller-login-content>p{text-align:center;color:#6b7280;font-size:16px;margin-bottom:48px}.login-tabs{display:flex;gap:50px;font-size:20px;font-weight:600;margin-bottom:38px}.login-tabs button{padding-bottom:14px;position:relative}.login-tabs button.active{color:#1552f0}.login-tabs button.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:4px;background:#1552f0}.login-input{display:flex;align-items:center;gap:25px;background:#f7f7f8;border-radius:40px;height:56px;padding:0 18px;color:#aaa;margin-bottom:22px}.login-input>svg{width:27px;height:27px}.login-input>input{border:0;box-shadow:none;background:none;padding:15px 0;flex:1;min-width:0;border-radius:0}.login-input input::placeholder{color:#b9becc}.login-input>button{color:#aaa}.login-forgot{display:flex;justify-content:flex-end;color:#2383ff;margin:25px 0 34px}.login-form>.primary{width:100%;border-radius:36px;font-weight:600;height:56px;font-size:16px}.register-link{margin-top:22px;color:#777;text-align:center}.register-link>button{color:#2383ff}.demo-note{font-size:12px;line-height:1.6;color:#8a91a0;margin:22px 0 0}.form-error{color:#df4848;line-height:1.5;min-height:0;margin-bottom:14px}.form-error:empty{display:none}.seller-app{min-height:100vh;background:#f0f2f5}.seller-sidebar{position:fixed;top:0;bottom:0;left:0;width:240px;background:#304156;color:#bfccd9;z-index:30;overflow-y:auto;transition:width .22s}.seller-brand{display:flex;align-items:center;gap:12px;padding:17px 19px;height:72px;color:white;font-size:17px}.seller-brand>img{width:32px;height:32px;border-radius:3px}.seller-brand strong{white-space:nowrap}.business-status{padding:9px 20px 19px;font-size:13px;color:#d1d9e0}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#51c693;margin-right:7px}.seller-sidebar nav>a{height:49px;display:flex;align-items:center;padding:0 20px;gap:13px;font-size:14px;white-space:nowrap;transition:background .15s}.seller-sidebar nav>a:hover{background:#263549}.seller-sidebar nav>a.active{background:#263549;color:#5a86ff}.seller-sidebar nav>a>svg{width:20px;height:20px}.nav-group{font-size:12px;color:#8e9fb1;padding:23px 20px 10px}.switch-store{display:flex;gap:13px;padding:25px 20px;font-size:13px}.switch-store svg{width:20px}.seller-main{margin-left:240px;transition:margin-left .22s}.seller-header{height:60px;background:white;border-bottom:1px solid #f1f1f4;display:flex;align-items:center;padding:0 24px;gap:22px}.seller-breadcrumb{color:#717782}.seller-header-right{display:flex;align-items:center;gap:25px;margin-left:auto;font-size:14px;color:#565c66}.user-menu{display:flex;align-items:center;gap:10px}.user-menu>svg{background:#eaf0fe;color:#1552f0;border-radius:50%;padding:4px;width:33px;height:33px}.seller-tabs{height:36px;display:flex;align-items:center;background:white;border-bottom:1px solid #e1e4ec;padding:0 17px;gap:8px;font-size:12px}.seller-tabs>a,.seller-tabs>span{padding:5px 12px;border:1px solid #dfe3e9;border-radius:3px}.seller-tabs>a{color:white;background:#1552f0;border-color:#1552f0}.seller-tabs button{margin-left:auto;font-size:20px;color:#818895}.seller-workspace{padding:22px;min-height:calc(100vh - 96px)}.sidebar-collapsed .seller-sidebar{width:65px}.sidebar-collapsed .seller-main{margin-left:65px}.sidebar-collapsed .seller-brand{padding:17px 16px}.sidebar-collapsed .seller-brand strong,.sidebar-collapsed .business-status,.sidebar-collapsed .nav-group,.sidebar-collapsed nav>a>span,.sidebar-collapsed .switch-store>span{display:none}.sidebar-collapsed nav>a{padding:0 21px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-bottom:22px}.metric{background:white;border-radius:5px;display:flex;align-items:center;gap:22px;padding:25px 23px;min-height:112px}.metric-icon{display:grid;place-items:center;width:55px;height:55px;border-radius:12px;background:#edf3ff;color:#4f85f8}.metric-icon svg{width:33px;height:33px}.metric-icon.purple{color:#ad83f4;background:#f5edff}.metric-icon.orange{color:#fbb156;background:#fff5e9}.metric-icon.green{color:#49c7aa;background:#e9faf4}.metric strong{font-size:27px;color:#242d3d;font-weight:600;white-space:nowrap}.metric p{color:#8b929f;margin:11px 0 0;font-size:14px}.overview-row{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.overview-stats{display:flex;justify-content:space-between;gap:15px;padding:8px 5px 3px}.overview-stats>div{display:flex;flex-direction:column;gap:15px;text-align:center;flex:1}.overview-stats strong{font-size:27px;font-weight:600;color:#293342}.overview-stats span{font-size:14px;color:#9298a5}.analytics{margin-bottom:22px}.analytics-heading{display:flex;align-items:center;justify-content:space-between}.analytics-heading h2{margin:0;font-size:17px}.segmented{display:flex;border:1px solid #e0e3ea;border-radius:4px;overflow:hidden}.segmented button{padding:8px 16px;border-right:1px solid #e0e3ea;color:#8c939e;font-size:12px}.segmented button:last-child{border-right:0}.segmented button.active{background:#1552f0;color:white}.analytics-summary{display:flex;align-items:center;gap:65px;margin:25px 0 0}.analytics-summary>div:not(.chart-legend){display:flex;flex-direction:column;gap:10px}.analytics-summary strong{font-size:25px;font-weight:500}.analytics-summary span{font-size:13px;color:#9299a6}.chart-legend{margin-left:auto;display:flex;gap:20px}.chart-legend span:first-child{color:#4a79ed}.chart-legend span:last-child{color:#47c9ac}.chart{height:200px;overflow:hidden}.chart>svg{width:100%;height:100%}.dashboard-bottom{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(290px,1fr);gap:22px}.bestseller{padding:23px 0}.bestseller>h2{padding:0 24px;margin-bottom:18px}.order-statistics{margin-bottom:22px}.order-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.order-stat-grid button{display:flex;flex-direction:column;gap:12px;align-items:center}.order-stat-grid strong{font-size:25px;font-weight:500;color:#28364a}.order-stat-grid span{font-size:13px;color:#939baa}.category-stats p{display:flex;justify-content:space-between;font-size:13px;color:#778190;border-bottom:1px solid #f4f5f7;padding:9px 0;margin:0}.category-stats strong{font-weight:400;color:#adb3be}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{background:#f7f9fc;color:#939ba8;font-weight:500;padding:15px 17px;border-bottom:1px solid #ebedf2;white-space:nowrap}td{padding:15px 17px;border-bottom:1px solid #ebedf2;color:#626b7a;line-height:1.6}tbody tr:hover{background:#fafcff}.bestseller td:first-child{width:45px}.bestseller td:nth-child(2){display:flex;align-items:center;gap:12px}.bestseller td:nth-child(2)>img{width:38px;height:38px;object-fit:contain}.bestseller td:nth-child(2)>span{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;max-width:440px}.bestseller td:nth-child(3),.bestseller td:nth-child(4){white-space:nowrap}.panel-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;margin-bottom:22px;padding-bottom:18px}.panel-heading h1{font-size:20px;margin:0}.panel-heading>span{font-size:13px;color:#9299a5}.seller-search{display:flex;align-items:center;gap:15px;margin-bottom:25px;padding:12px 0}.seller-search label{display:flex;align-items:center;gap:18px;color:#7b8390}.seller-search input{min-width:250px}.seller-search .primary,.seller-search .secondary{min-height:38px;padding:9px 18px;font-size:13px}.seller-products td:first-child{min-width:280px;max-width:470px}.seller-products td:first-child img{width:55px;height:55px;object-fit:contain;float:left;margin-right:15px}.seller-products td:first-child span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.seller-products td:last-child{white-space:nowrap}.status{display:inline-block;border-radius:4px;background:#f1f3f7;color:#8c96a7;padding:3px 9px;font-size:12px}.status.success{background:#edf8f2;color:#4ca274}.settings-page form{max-width:620px}.settings-page .checkbox-label{display:flex;flex-direction:row;align-items:center;gap:10px}.checkbox-label input{width:16px;height:16px}.store-overview-profile{display:flex;align-items:center;gap:22px;padding:25px 0;border-bottom:1px solid #eee}.store-overview-profile img{width:60px;height:60px}.store-overview-profile h2{margin:0}.store-overview-profile .status{margin-left:auto}.level-row{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:30px 0;color:#758090}.seller-app .balance-panel{background:#f5f8ff}.seller-app .balance-panel strong{color:#1552f0}
/* Dialogs and form states. */
.modal-open{overflow:hidden}.modal-overlay{position:fixed;inset:0;z-index:100;background:#0007;display:flex;align-items:center;justify-content:center;padding:40px;animation:dialog-in .16s ease}.modal{background:white;border-radius:8px;width:510px;max-height:88vh;overflow-y:auto;padding:30px 34px;box-shadow:0 12px 80px #0002}.modal.wide{width:800px}.modal>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.modal h2{font-size:22px;margin:0}.modal>p{line-height:1.8;overflow-wrap:anywhere}.modal .login-tabs{font-size:17px;gap:35px;margin-bottom:25px}.modal .login-input{gap:15px;height:50px}.modal .primary{background:#1552f0}.modal .login-forgot{margin-bottom:23px}.modal .login-form>.primary{height:48px}.modal .register-link{font-size:13px}.modal .edit-form label{color:#747b89}.modal .edit-form .primary{width:100%;margin-top:10px}#toast{position:fixed;top:25px;left:50%;transform:translate(-50%,-15px);background:white;color:#536173;border:1px solid #dae7db;padding:13px 23px;box-shadow:0 4px 25px #0001;border-radius:5px;z-index:200;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}@keyframes dialog-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.product-grid{gap:40px}.feature-tiles a{min-height:270px}.seller-workspace{padding:24px}.dashboard-bottom{grid-template-columns:2fr 1fr}.seller-login-panel{padding:65px 7%}}@media(max-width:1350px){.store-container{width:90%}.buyer-nav>.store-container{gap:32px}.discount-tip{font-size:12px}.buyer-top{font-size:13px}.search-box{margin-left:3%;width:340px}.header-tools{gap:20px}.header-tools button{font-size:13px}.feature-tiles{margin-top:50px;gap:20px}.feature-tiles a{min-height:190px}.feature-tiles h2{font-size:17px}.feature-tiles p{font-size:15px}.feature-tiles span{font-size:13px}.metric{gap:15px;padding:22px 17px}.metric strong{font-size:22px}.metric-icon{width:42px;height:42px}.metric p{font-size:12px}.seller-workspace{padding:18px}.metrics{gap:15px}.overview-stats span{font-size:12px}.overview-stats strong{font-size:24px}.seller-login-panel{padding:50px}.seller-login-content>h1{font-size:32px}.login-tabs{gap:35px;font-size:17px}.category-grid img{height:120px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

.demo-login-button{width:100%;margin-top:15px;color:#1552f0;border-color:#dbe4ff;border-radius:30px;background:#f5f8ff}

/* Floating login background, recovered from the target seller stylesheet. */
.seller-login-art{position:relative;overflow:hidden}.seller-login-art .circles{margin:0;padding:0;pointer-events:none}
.seller-login-art .circles{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}
.seller-login-art .circles li{position:absolute;display:block;list-style:none;width:20px;height:20px;background:hsla(0,0%,100%,.2);-webkit-animation:seller-login-float 25s linear infinite;animation:seller-login-float 25s linear infinite;bottom:-150px}
.seller-login-art .circles li:first-child{left:25%;width:80px;height:80px;-webkit-animation-delay:0s;animation-delay:0s}
.seller-login-art .circles li:nth-child(2){left:10%;width:20px;height:20px;-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-duration:12s;animation-duration:12s}
.seller-login-art .circles li:nth-child(3){left:70%;width:20px;height:20px;-webkit-animation-delay:4s;animation-delay:4s}
.seller-login-art .circles li:nth-child(4){left:40%;width:60px;height:60px;-webkit-animation-delay:0s;animation-delay:0s;-webkit-animation-duration:18s;animation-duration:18s}
.seller-login-art .circles li:nth-child(5){left:65%;width:20px;height:20px;-webkit-animation-delay:0s;animation-delay:0s}
.seller-login-art .circles li:nth-child(6){left:75%;width:110px;height:110px;-webkit-animation-delay:3s;animation-delay:3s}
.seller-login-art .circles li:nth-child(7){left:35%;width:150px;height:150px;-webkit-animation-delay:7s;animation-delay:7s}
.seller-login-art .circles li:nth-child(8){left:50%;width:25px;height:25px;-webkit-animation-delay:15s;animation-delay:15s;-webkit-animation-duration:45s;animation-duration:45s}
.seller-login-art .circles li:nth-child(9){left:20%;width:15px;height:15px;-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-duration:35s;animation-duration:35s}
.seller-login-art .circles li:nth-child(10){left:85%;width:150px;height:150px;-webkit-animation-delay:0s;animation-delay:0s;-webkit-animation-duration:11s;animation-duration:11s}
@keyframes seller-login-float{0%{transform:translateY(0) rotate(0deg);opacity:1;border-radius:0}100%{transform:translateY(-1000px) rotate(720deg);opacity:0;border-radius:50%}}


/* Source background layers: original JPG + gradient + live text + source motion. */
.seller-login-art{background-image:url('/assets/login-bg.c22e6c17.jpg');background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center}
.seller-login-art:before{content:"";position:absolute;inset:0;opacity:.75;background-image:linear-gradient(180deg,#4f46e5,#3b82f6,rgba(79,70,229,0));z-index:0}
.seller-welcome{color:#fff;position:relative;z-index:10;padding:0 30px}
.seller-welcome h1{font-size:48px;line-height:1.2;margin-bottom:20px;font-weight:700}
.seller-welcome p{font-size:16px;line-height:1.6;margin:0}
.seller-login-art .circles{z-index:1}

/* Motion was explicitly requested for this source-matched login panel. */
.seller-login-art .circles li{animation:seller-login-float var(--float-duration,25s) linear infinite!important;animation-delay:var(--float-delay,0s)!important;animation-play-state:running!important}
.seller-login-art .circles li:nth-child(1){--float-duration:25s;--float-delay:-7s}
.seller-login-art .circles li:nth-child(2){--float-duration:12s;--float-delay:-3s}
.seller-login-art .circles li:nth-child(3){--float-duration:25s;--float-delay:-12s}
.seller-login-art .circles li:nth-child(4){--float-duration:18s;--float-delay:-6s}
.seller-login-art .circles li:nth-child(5){--float-duration:25s;--float-delay:-18s}
.seller-login-art .circles li:nth-child(6){--float-duration:25s;--float-delay:-10s}
.seller-login-art .circles li:nth-child(7){--float-duration:25s;--float-delay:-16s}
.seller-login-art .circles li:nth-child(8){--float-duration:45s;--float-delay:-23s}
.seller-login-art .circles li:nth-child(9){--float-duration:35s;--float-delay:-13s}
.seller-login-art .circles li:nth-child(10){--float-duration:11s;--float-delay:-4s}


/* Consolidated buyer layout rules. */
.buyer .store-container{max-width:none}
.buyer-top .store-container,.buyer-header.store-container,.buyer-nav>.store-container{width:85%}
.buyer .hero-carousel{height:30vw;min-height:0;max-height:none;height:calc(30vw + 1px)}
.buyer .feature-tiles{display:flex;width:80%;gap:0;grid-template-columns:none;grid-template-rows:none;margin:80px auto}
.feature-left{width:40%;flex-shrink:0;margin-right:28px}
.feature-right{flex:1;min-width:0;display:flex;flex-direction:column}
.feature-right-top{display:flex;justify-content:space-between;margin-bottom:15px}
.buyer .feature-tiles a{display:block;position:relative;min-height:0;background:#f0f1f3}
.feature-left>a{height:680px}
.feature-right-top>a{width:48%;height:337px}
.feature-right>.feature-wide{height:322px}
.buyer .feature-tiles a>div{top:20px;left:20px;width:50%;max-width:none}
.buyer .feature-tiles h2{font-size:21px;line-height:1.2;margin-bottom:12px;font-size:21px;font-weight:600;line-height:1.2}
.buyer .feature-tiles p{font-size:18px;margin-bottom:10px}
.buyer .feature-tiles span{font-size:16px}
.buyer .feature-tiles img{width:100%;height:100%;object-fit:cover}
.buyer .feature-tiles a:hover img{transform:scale(1.04)}
.buyer .category-section,.buyer .recommendation,.buyer .campaign-row{width:80%}
.buyer .offer-band{width:85%}
/* Whole buyer homepage proportions: source DOM measurements and source styles. */
.buyer-header .search-box{margin-left:0;flex:0 0 430px;height:39px}
.buyer-nav{font-size:17px}
.buyer-nav>.store-container{gap:50px}
.buyer .discount-tip{font-size:17px}
.buyer .feature-left>a{height:683px}
.buyer .feature-right-top>a{height:340px}
.buyer .feature-right-top>a:nth-child(2){width:426px;max-width:48%}
.buyer .feature-right>.feature-wide{height:325px}
.buyer .section-title{display:table;position:relative;font-size:30px;line-height:34px;font-weight:700;padding-bottom:20px;margin:0 auto 40px}
.buyer .section-title:before{position: absolute;
  content: "";
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK4AAAAFCAYAAADc19fDAAAB30lEQVRIie3WzYuOURgG8N+p+TA0zURiM0XKKCNNmYUNSlgpa5SF1WBpqyzHTsrGX2CUUgrFAouZmqxkMzbEhnw0Jd75qtviOa95jPf1PJMo9V6bc5/rXOc+H93n6qSI0EE9pJQGcRx7cR9TEdFIKR3A5oi4nXWHMZGnTZT41bpRnMJbTEbEu396oP8YCX3oxbrMdee2J7ddJX13m1gF31XRr5OjCj0V43VzduNDRDyFlFIf9mA/TmNfSTuJaYxjG47iJR5jOGte4YjizA/Rj8vYibOKu4dZ3MIjPI+Iubz+SM61VHP/VbrFmnnWknO5ov+7HEtt4maOxVVj81hIGMJ2DGIAG7NgU27XK4obNlgp8P4Sp0Vc1jRRfgzlQustxX1ao7cN/zfwLCLGIKW0VeGeZ2rMm8QVhRtvydwcjikK/2qNHE9wISJe5PWv49yadv9nWGjDN9pomoW17NdH8WVV/2uLuKmZL3ENfMvxp9x+ztwcXncct7Xuh+NCSmkHduMkTiju6z1uKArtEnbhYObv5JjCSQ/l+K7CEM4rHHfcijPfw03M4E1ENPLaHcf9eaxw3M4ftz7yt2EMo3gQEbOZH8ZARMzk/gguKszgWkRMtdENKYr6I6ab34MOqvEd/VaeNdyoD1oAAAAASUVORK5CYII=) no-repeat;
  width: 174px;
  height: 5px;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);}
.buyer .category-section{padding:0 0 80px}
.buyer .category-grid{display:flex;overflow-x:auto;gap:20px;scroll-snap-type:x mandatory;scrollbar-width:thin}
.buyer .category-grid a{flex:0 0 calc((100% - 100px)/6);min-height:199px;padding:30px 35px;border:1px solid #eee;border-radius:10px;font-size:14px;font-weight:700;scroll-snap-align:start;gap:15px;text-align:center}
.buyer .category-grid img{width:90px;height:90px;object-fit:contain;border-radius:0}
.home-daily,.home-stores{width:80%;margin:0 auto;text-align:center;padding-bottom:80px}
.home-special{width:85%;margin:0 auto 80px;background:url('/assets/deals_bg.4b412301.png') center/cover no-repeat}
.special-content{padding:50px 30px 60px 65px}
.special-content h2{font-size:35px;margin:0 0 16px;font-weight:700}
.special-content>p{font-size:16px;margin:0 0 30px;color:#606060}
.special-content .special-subtitle{margin-bottom:12px}
.special-content .primary{height:48px;padding:0 23px;font-size:17px}
.deal-countdown{display:flex;gap:30px;margin-bottom:30px}
.deal-countdown>div{position:relative;width:80px;height:70px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#efeff1;border-radius:5px;box-shadow:0 0 59px #0003}
.deal-countdown>div:not(:last-child):after{content:':';position:absolute;right:-22px;top:50%;transform:translateY(-50%);font-size:40px;font-weight:700}
.deal-countdown strong{font-size:25px;line-height:25px;font-weight:500}
.deal-countdown span{font-size:14px;line-height:20px;color:#606060}
.buyer .recommendation{padding-bottom:0}
.buyer .product-grid{gap:0;grid-template-columns:repeat(5,minmax(0,1fr));align-items:start}
.buyer .product-card{padding:0 15px;margin-bottom:30px}
.buyer .product-picture{height:240px;aspect-ratio:auto;margin-bottom:12px;background:#f7f7f7}
.buyer .product-name{font-size:16px;font-weight:700;line-height:20px;height:40px}
.buyer .product-card h3{font-size:17px;margin:10px 0;font-weight:700}
.buyer .product-card>p{font-size:14px;color:#606060;margin-bottom:14px}
.buyer .product-actions{border:0;padding:0;justify-content:flex-start;gap:10px}
.buyer .product-actions>button{height:44px;border:1px solid #eee;border-radius:3px;padding:0 7px;color:#606060}
.buyer .campaign-row{display:flex;gap:28px;margin:80px auto}
.buyer .campaign-row a{position:relative;display:block;width:50%;height:253px;overflow:hidden}
.buyer .campaign-row img{height:250px;width:100%;object-fit:cover}
.campaign-row a>div{position:absolute;top:20px;left:20px;width:50%}
.campaign-row p{font-size:18px;color:#606060;margin-bottom:10px}
.campaign-row h2{font-size:21px;margin-bottom:12px}
.campaign-row span{font-size:16px;color:#606060}
.buyer .home-hot{margin-bottom:80px}
.buyer .partner-band{width:85%;height:369px;margin:0 auto 80px;padding:50px 30px 60px 65px;text-align:left;color:#fff;background:url('/assets/store_add_bg.af26b6b4.png') center/cover no-repeat}
.buyer .partner-band h2{font-size:35px;margin-bottom:16px}
.buyer .partner-band p{font-size:16px;color:#fff;margin-bottom:30px}
.buyer .partner-band a{height:48px;padding:0 23px;line-height:48px;font-size:17px;border-radius:3px}
.buyer-footer{background:#fff;border-top:1px solid #eee;color:#000;padding:50px 30px}
.buyer-footer .store-container{width:95%;max-width:none;width:95%;margin:0 auto}
.footer-columns{grid-template-columns:1.2fr repeat(4,1fr);gap:30px}
.buyer-footer h3{font-size:22px;font-weight:400;color:#000;padding-bottom:10px;position:relative;margin:0 0 20px}
.buyer-footer h3:after{content:'';position:absolute;bottom:0;left:0;width:60px;height:2px;background:#000}
.buyer-footer section:first-child h3{font-size:16px;margin:0 0 5px;padding:0}
.buyer-footer section:first-child h3:after{display:none}
.buyer-footer section>img{margin-bottom:30px}
.buyer-footer section>button,.buyer-footer section>a{font-size:16px;line-height:30px;margin-bottom:15px}
.buyer-footer form{display:block}
.buyer-footer input{display:block;width:250px;max-width:100%;height:39px;border:1px solid #ddd;border-radius:4px}
.buyer-footer form button{display:block;width:150px;height:48px;background:#000;color:#fff;margin-top:20px;border-radius:3px;font-size:17px}
.buyer-footer a:hover,.buyer-footer button:hover{color:#555}
.buyer-service.container-fluid{width:80%;margin:0 auto}
.buyer-service .commodity-footer{padding:40px 0 80px}
.buyer-service .commodity-content{display:flex;align-items:center;justify-content:space-between;padding:35px;background:#fff;box-shadow:0 -4px 27px rgba(62,70,120,.16)}
.buyer-service .commodity-item{display:flex;align-items:center;margin-right:30px}
.buyer-service .item-icon{flex-shrink:0}
.buyer-service .item-icon img{display:inline-block;margin-right:5px;vertical-align:middle;object-fit:contain}
.buyer-service .item-content{margin-left:15px}
.buyer-service h2{font-size:18px;line-height:22px;font-weight:700;margin:0 0 5px}
.buyer-service .desc{font-size:12px;color:#647589;margin:0;line-height:normal}
/* Source footer: left subscription column and four distributed link columns. */
.buyer-footer{padding:0;background:#fff;border-top:1px solid #eee}
.buyer-footer .footer-columns{display:flex;gap:0;padding:50px 30px;border-bottom:1px solid #ddd;align-items:flex-start}
.buyer-footer .footer-left{flex:0 0 250px;margin-right:30px}
.buyer-footer .footer-left>img{display:block;width:auto;height:65px;max-height:65px;margin:0 0 30px;object-fit:contain}
.buyer-footer .footer-right{display:flex;flex:1;justify-content:space-around}
.buyer-footer .footer-right>section{margin-right:30px}
.buyer-footer .footer-right h3{font-size:22px;font-weight:400;line-height:26px;margin:0 0 20px;padding-bottom:10px;white-space:nowrap}
.buyer-footer .footer-right h3:after{display:block}
.buyer-footer .footer-right section>button,.buyer-footer .footer-right section>a{display:block;font-size:16px;line-height:30px;margin:0 0 15px;text-align:left}
.buyer-footer .footer-left h3{color:#000;font-size:16px;font-weight:400;line-height:normal;padding:0;margin:0 0 5px}
.buyer-footer .footer-left h3:after{display:none}
.buyer-footer .footer-left form{display:block}
.buyer-footer .footer-left input{width:250px;height:40px;border:1px solid #dcdfe6;border-radius:4px;font-size:14px;padding:0 15px}
.buyer-footer .footer-left form button{margin-top:20px;width:150px;height:48px;padding:0 23px;font-size:17px;line-height:48px;letter-spacing:.2px;background:#000;color:#fff;border-radius:3px}
@media(max-width:1200px){.buyer-service .commodity-content{padding:35px 20px}.buyer-service .commodity-item{margin-right:15px}.buyer-service .item-content{margin-left:10px}.buyer-footer .footer-right>section{margin-right:15px}.buyer-footer .footer-right h3{white-space:normal}}

/* Product navigation opens the original category overview shell. */
.classification-banner{height:130px;margin-bottom:80px;display:flex;flex-direction:column;justify-content:center;text-align:center;background:url('/assets/classify_head_bg.287c1676.png') center/cover no-repeat;color:#fff}
.classification-banner h1{font-size:40px;line-height:38px;font-weight:700;margin:0 0 18px}
.classification-banner>div{font-size:20px;display:flex;align-items:center;justify-content:center;gap:20px}
.classification-banner>div>span:first-of-type{font-size:25px;font-weight:700}
.classification-grid{width:80%;min-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;padding-bottom:20px}
.classification-item{border:1px solid #eee;border-radius:6px;padding:24px;height:234px;margin-bottom:20px;display:flex;align-items:center;gap:10px;min-width:0}
.classification-image{width:33.333%;height:100%;flex-shrink:0;display:flex;align-items:center}
.classification-image img{width:170px;height:170px;object-fit:cover;max-width:100%}
.classification-item-text{width:62.5%;height:100%;padding:5px;overflow:hidden}
.classification-item-text h2{font-size:20px;font-weight:700;color:#333;margin:0 0 14px}
.classification-item-text>div{font-size:14px;line-height:1.5;color:#333}
.classification-item-text>div a{display:inline;margin-right:8px;cursor:pointer}
.classification-item-text a:hover{color:#ff9900}
.category-no-image{display:block;width:170px;height:170px;background:#fafafa}

.discount-content{width:85%;margin:0 auto;min-height:600px}
.discount-page .product-card{position:relative}
.discount-badge{position:absolute;top:0;right:15px;z-index:1;width:31px;height:32px;text-align:center;font-size:11px;line-height:14px;color:#fff;background:#ff9900;clip-path:polygon(0 0,100% 0,100% 100%,50% 86%,0 100%)}
.discount-pagination{display:flex;align-items:center;justify-content:center;gap:8px;padding:40px 0}
.discount-pagination a,.discount-pagination button{height:28px;min-width:28px;line-height:28px;text-align:center;border-radius:3px;font-weight:700;background:#f4f4f5;color:#606266}
.discount-pagination .active{background:#ff9900;color:#fff}
.about-page .breadcrumb__bg{height:130px;display:flex;align-items:center;background-position:center;background-size:cover}
.about-page .about__thumb img{display:block;width:100%;height:auto}
.about-page .about-author{gap:30px;align-items:center}
.about-page .about-author h4{margin:0 0 10px}
.about-page .group-line{text-align:center}
.about-page .group-line h2{font-size:30px;margin:0;padding-bottom:20px;display:inline-block}
.about-page .about-msg .img-box{margin-bottom:20px}
.about-page .about-msg .info-box>span{display:block}

.policy-frame{width:100%;height:75vh;border:0;display:block;margin-top:24px;background:white}

.language-options{display:grid;gap:10px}.language-options button{padding:13px 16px;border:1px solid #dcdfe6;border-radius:4px;text-align:left}.language-options button[aria-pressed=true]{border-color:#ed0d50;background:#fff4f7}.language-options button:hover{background:#f8f8fa}
[data-action=language] .language-name{font-family:Arial,sans-serif;font-size:18px;font-weight:600;line-height:26px;margin-inline-end:7px}.language-caret{width:0;height:0;border-inline:5px solid transparent;border-top:5px solid currentColor;flex-shrink:0}[data-action=language]>.language-caret{margin-inline-start:-3px}.buyer-top [data-action=language]{color:#fff}.seller-header-right [data-action=language],.login-language{color:#606266}
.language-dismiss{position:fixed;inset:0;z-index:1000}.language-dropdown{position:fixed;z-index:1001;background:white;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px #0002;padding:6px 0;max-height:min(215px,calc(100vh - 24px));overflow-y:auto;color:#606266;font-size:14px}.language-dropdown .language-options{gap:0}.language-dropdown .language-options button{display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:0;padding:7px 14px;min-height:36px;text-align:start;background:white}.language-dropdown .language-options button:hover,.language-dropdown .language-options button:focus-visible{background:#ecf5ff;color:#409eff}.language-dropdown .language-options button[aria-pressed=true]{background:#f5f7fa;color:#409eff}[data-action=language] img,.language-options img{width:21px;height:21px;object-fit:cover;border:1px solid #e5e5e5;border-radius:50%;vertical-align:middle}[data-action=language]{display:inline-flex;align-items:center;gap:8px}
/* Keep viewport content width unchanged when a modal locks page scrolling. */
html{scrollbar-gutter:stable}

[data-action=language]>img{width:26px;height:26px;object-fit:cover;border:0;border-radius:50%;flex-shrink:0}
.login-field-icon{width:27px;height:32px;object-fit:contain;flex-shrink:0}.login-phone-code{position:relative;display:inline-flex;align-items:center;gap:10px;flex-shrink:0;color:#101820;font-size:16px;min-width:48px;white-space:nowrap}.login-phone-code[hidden]{display:none}.login-phone-code select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.login-code-caret{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #101820}.phone-login .login-account-input{gap:12px}.phone-login .login-account-input>.login-field-icon{margin-inline-end:4px}.seller-login .login-form .login-input{height:70px;padding:0 20px;margin-bottom:27px;background:#f8f8fa;border-radius:36px}.seller-login .login-form .login-input input{font-size:18px}.seller-login .login-form .login-password-input{gap:65px}.seller-login .login-form .login-forgot{font-size:18px;margin:29px 0 42px}.seller-login .login-form>.primary{height:70px;font-size:22px}.seller-login .login-form .register-link{font-size:18px;margin-top:25px}.login-phone-code:focus-within{outline:2px solid #1552f0;outline-offset:3px;border-radius:3px}

[data-action=password-toggle] svg{width:20px;height:20px}.password-visible .password-eye-slash{display:none}

[data-action=password-toggle] .password-visibility-icon{display:block;width:20px;height:14px;object-fit:contain}

.password-field{display:flex;align-items:center;position:relative;width:100%}.password-field>input{width:100%;padding-inline-end:46px}.password-field>[data-action=password-toggle]{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:28px;height:28px}

/* 搜索结果:商品/店铺 切换 tab */
.search-tabs{display:flex;gap:8px;margin:12px 0}
.search-tabs a{padding:8px 20px;border-radius:20px;background:#f2f4f7;color:#555;font-size:14px;text-decoration:none}
.search-tabs a.active{background:var(--color-main,#e8372c);color:#fff}
/* 店铺搜索结果卡片 */
.seller-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin-top:16px}
.seller-card{display:block;padding:16px;border:1px solid #eee;border-radius:10px;background:#fff;text-decoration:none;color:inherit;transition:box-shadow .2s}
.seller-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.08)}
.seller-card-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.seller-card-head img,.seller-card-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;flex:none}
.seller-card-avatar{display:flex;align-items:center;justify-content:center;background:var(--color-main,#e8372c);color:#fff;font-size:20px;font-weight:600}
.seller-card-head h3{margin:0;font-size:16px}
.seller-card-stats{display:flex;gap:16px;font-size:13px;color:#888}


/* 搜索结果顶部:相关店铺横幅 */
.seller-strip{margin:12px 0;padding:14px 16px;background:#fafbfc;border:1px solid #eee;border-radius:10px}
.seller-strip-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:14px}
.seller-strip-head a{color:var(--color-main,#e8372c);text-decoration:none;font-size:13px}
.seller-strip-list{display:flex;gap:10px;flex-wrap:wrap}
.seller-chip{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fff;border:1px solid #eee;border-radius:30px;text-decoration:none;color:inherit}
.seller-chip:hover{border-color:var(--color-main,#e8372c)}
.seller-chip img,.seller-chip .seller-card-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;font-size:13px}
.seller-chip-name{font-size:14px;font-weight:500}


/* 页面内聊天弹层(替代浏览器 window.open 弹窗壳) */


/* 可拖拽聊天浮窗:完整显示 chat-dist(1060x646),顶部蓝条按住可在屏幕自由移动 */
.chat-float{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:1060px;height:690px;background:#fff;border-radius:12px;box-shadow:0 24px 64px rgba(17,26,40,.4);overflow:hidden;display:flex;flex-direction:column;z-index:1000}
.chat-drag{flex:none;height:44px;background:#1552F0;position:relative;z-index:1;margin-bottom:-1px;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 8px 0 18px;cursor:move;user-select:none;font-weight:600;font-size:14px}
.chat-frame{flex:1;width:100%;border:0;display:block}
.chat-close{width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.2);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.chat-close:hover{background:rgba(255,255,255,.35)}
.seller-header-right .seller-support-button{display:inline-flex;align-items:center;gap:8px;background:#1552f0;color:#fff;border:1px solid #1552f0;border-radius:8px;padding:10px 16px;font-weight:600;box-shadow:0 3px 9px rgba(21,82,240,.18);white-space:nowrap}.seller-header-right .seller-support-button:hover{background:#1043cf}.seller-header-right .seller-support-button:focus-visible{outline:3px solid #9fb8ff;outline-offset:3px}.seller-support-button svg{width:18px;height:18px}

/* Keep the essential loading indicator active under reduced-motion settings. */
.loading-state>span{display:inline-block;flex:0 0 25px;transform-origin:center;animation:street-loading-rotate .9s linear infinite!important;animation-play-state:running!important}
@keyframes street-loading-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.wallet-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.edit-form [data-wallet-channel]{overflow-wrap:anywhere}.edit-form [data-wallet-estimate]{line-height:1.7;color:#606b80}
[data-wallet-channel] .recharge-qr{display:block;width:200px;height:200px;max-width:100%;flex-shrink:0;margin:8px 0 12px;background:#fff}

.buyer .discount-tip{display:inline-flex;align-items:center;gap:10px}.buyer .discount-tip .discount-icon{width:22px;height:22px;object-fit:contain;flex-shrink:0}

.seller-business-frame{display:block;width:100%;height:calc(100vh - 120px);min-height:620px;border:0;background:#f5f7fb;border-radius:12px}.seller-business{min-width:0}

/* Buyer cart quantity only; do not style other header tools. */
.header-tools button[data-route="/cart"]{position:relative}
.header-tools .buyer-cart-badge{position:absolute;top:-7px;right:2px;min-width:18px;height:18px;padding:0 5px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#d53c4f;color:#fff;font-size:11px;font-weight:600;line-height:18px;pointer-events:none}
.header-tools .buyer-cart-badge[hidden]{display:none}

.buyer-payment-result{text-align:center;max-width:760px;margin:24px auto;padding:48px 24px}
.buyer-payment-result-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#edf3ff;color:#1552f0;font-size:30px}
.buyer-payment-result .detail-actions{justify-content:center;flex-wrap:wrap;margin-top:28px}
.buyer-payment-result .primary{background:#1552f0;color:#fff}
.buyer-payment-result .secondary{color:#1552f0;border-color:#dce6ff}

/* Financial dates and amounts stay intact; horizontal scrolling handles narrow panels. */
.financial-record-scroll{width:100%;overflow-x:auto}
.financial-record-table{width:100%;min-width:720px;table-layout:auto}
.financial-record-table th,.financial-record-table td{white-space:nowrap;overflow-wrap:normal!important;word-break:normal!important;max-width:none!important;line-height:1.6;padding:16px 18px}
.financial-record-table th{font-size:13px}
.financial-record-table td{font-variant-numeric:tabular-nums}
.financial-record-table th:nth-last-child(-n+3),.financial-record-table td:nth-last-child(-n+3){text-align:end}
