:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif;color:#17191d;background:#eceef1;font-size:14px;--red:#ff3045;--muted:#969ba3;--line:#f0f0f0}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;border:0;background:none;color:inherit}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--red);outline-offset:3px}input,select,textarea{min-width:0;border:0;outline:none;background:transparent}img{max-width:100%;object-fit:contain}svg{width:23px;height:23px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#app{max-width:600px;min-height:100dvh;margin:auto;background:#f5f5f5;padding-bottom:calc(70px + env(safe-area-inset-bottom));position:relative}.topbar{height:44px;display:flex;align-items:center;gap:10px;padding:0 12px;background:white;position:sticky;top:0;z-index:20;border-bottom:1px solid #f5f5f5}.logo{width:49px;max-height:22px}.search-link,.search-field{height:32px;background:#f4f4f4;border-radius:24px;display:flex;align-items:center;gap:7px;padding:0 12px;flex:1;color:#92969b;font-size:12px}.search-link svg,.search-field svg{width:17px;height:17px}.topbar .more{padding:4px;font-weight:700;letter-spacing:1px}.topbar .back{padding:0 1px 0 0}.topbar .title{flex:1;text-align:center;font-size:17px;font-weight:400}.topbar .spacer{width:25px}.nav{height:calc(60px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,600px);z-index:30;background:#fff;border-top:1px solid #f1f1f1;display:flex;justify-content:space-around;align-items:center}.nav a{flex:1;text-align:center;position:relative;font-size:11px;color:#43464c;display:flex;flex-direction:column;align-items:center;gap:3px}.nav a.active{color:#ff4730}.nav svg{width:23px;height:23px}.badge{position:absolute;top:-4px;left:54%;font-size:9px;line-height:14px;min-width:14px;padding:0 3px;background:var(--red);color:white;border-radius:10px}.hero{padding:10px 12px 0;background:white}.slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:8px;aspect-ratio:2.2}.slides::-webkit-scrollbar{display:none}.slides a,.slides>img{flex:0 0 100%;width:100%;scroll-snap-align:start}.slides img{width:100%;height:100%;object-fit:cover;display:block}.dots{display:flex;gap:5px;justify-content:center;position:relative;margin-top:-17px;height:17px;pointer-events:none}.dots span{width:6px;height:6px;background:#0006;border-radius:50%}.dots span:first-child{background:#ff243c}.shortcuts{display:grid;grid-template-columns:repeat(5,1fr);gap:18px 0;background:#fff;padding:30px 10px 20px}.shortcut{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;white-space:nowrap}.shortcut img{width:38px;height:38px}.shortcut .shortcut-icon{width:37px;height:37px;display:grid;place-items:center;background:#359fff;color:#fff;border-radius:7px}.shortcut svg{width:27px;height:27px}.news{display:flex;align-items:center;background:white;padding:10px 20px;gap:10px;margin-top:10px;font-size:12px}.news strong{font-size:16px;white-space:nowrap}.news strong span{color:var(--red)}.news .headline{color:var(--muted);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.news .red-link{background:linear-gradient(110deg,#ff4967,#ff1d2d);color:#fff;padding:5px 12px;border-radius:6px;white-space:nowrap;font-weight:600}.promo-grid{display:grid;grid-template-columns:1fr 1fr;background:white}.promo-grid a:first-child{grid-row:span 2}.promo-grid img{width:100%;height:100%;display:block;object-fit:contain}.wide-banner{background:white;padding:7px 12px}.wide-banner img{width:100%;display:block}.section{margin-top:10px}.section-head{height:48px;display:flex;align-items:center;justify-content:center;background:#fff;position:relative}.section-head h2{font-size:17px;font-weight:500;margin:0}.section-head>a{position:absolute;right:14px;color:var(--muted);font-size:12px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 6px 6px}.product{background:white;border-radius:3px;overflow:hidden;display:block}.product>img{width:100%;aspect-ratio:1;display:block;object-fit:contain;background:#fff}.product-info{padding:6px 7px 10px}.product-name{font-size:12px;line-height:18px;height:36px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.price-line{display:flex;align-items:center;justify-content:space-between;gap:4px;padding-top:6px}.price{color:#ff2339;font-size:15px}.price small{font-size:11px}.sold{font-size:10px;color:#b0b3b9}.footer{padding:18px 15px;text-align:center;color:#b0b3b8;font-size:10px;line-height:1.8}.footer a{color:#8d929c}.category{display:flex;min-height:calc(100dvh - 114px);background:#fff}.category-sidebar{width:94px;flex-shrink:0;background:#f0f1f5;position:sticky;top:44px;height:calc(100dvh - 104px);overflow:auto}.category-sidebar button{display:block;width:100%;text-align:left;padding:19px 10px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-left:2px solid transparent}.category-sidebar .selected{background:white;color:red;border-left-color:var(--red)}.category-body{flex:1;min-width:0;padding:0 10px 20px}.category-body h2{text-align:center;font-size:17px;font-weight:500;margin:20px 0 14px}.category-body .category-all{color:var(--red);font-size:11px;display:block;text-align:center;margin-top:8px}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 4px}.category-item{font-size:12px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}.category-item img{width:66px;height:66px}.category-symbol{width:66px;height:66px;display:grid;place-items:center;color:#5d6877;font-size:20px;font-weight:500;background:#f8f9fb;border-radius:8px}.category-item .brand-word{background:white;color:#ee5a22;font-size:20px}.sortbar,.order-tabs{display:flex;background:#fff;position:sticky;top:44px;z-index:15;border-bottom:1px solid #f1f1f1}.sortbar button,.order-tabs a{flex:1;text-align:center;padding:13px 2px;font-size:13px;color:#626772}.sortbar .selected,.order-tabs .selected{color:var(--red)}.results-info{padding:11px 14px;font-size:12px;color:var(--muted)}.loadmore{display:block;width:100%;padding:18px;color:var(--muted);font-size:12px}.empty{padding:70px 22px;text-align:center;background:white;min-height:50vh;color:#9da3ad}.empty>svg{width:68px;height:68px;stroke:#d4d8df;stroke-width:1}.empty p{font-size:14px;line-height:1.8}.empty .primary{display:inline-block;padding:10px 32px;margin-top:12px}.primary{background:linear-gradient(100deg,#ff4864,#ff2032);color:#fff;border-radius:6px;text-align:center;padding:12px 20px}.secondary{border:1px solid #ddd;border-radius:5px;padding:9px 15px;background:#fff}.block{display:block;width:100%}.detail-tabs{display:flex;gap:28px;margin:auto;height:44px;align-items:center}.detail-tabs a{height:44px;padding-top:12px;position:relative;font-size:16px;color:#687482}.detail-tabs a:first-child{color:var(--red)}.detail-tabs a:first-child:after{content:"";position:absolute;width:20px;height:2px;background:var(--red);bottom:3px;left:calc(50% - 10px)}.detail-gallery{display:flex;overflow:auto;scroll-snap-type:x mandatory;background:white;scrollbar-width:none}.detail-gallery img{flex:0 0 100%;width:100%;aspect-ratio:1;scroll-snap-align:start}.detail-summary{background:#fff;padding:14px 12px 20px}.detail-title{display:flex;gap:10px;align-items:flex-start}.detail-title h1{font-size:14px;font-weight:400;line-height:1.7;margin:0;flex:1}.favorite{color:var(--red);font-size:10px;display:flex;flex-direction:column;align-items:center;gap:4px;white-space:nowrap}.favorite svg{width:23px;height:23px}.favorite.on svg{fill:#ff3045}.subtitle{font-size:12px;background:#fff0f3;color:var(--red);padding:4px 8px;margin-top:10px}.detail-price{margin-top:10px;display:flex;align-items:center;gap:8px}.detail-price .price{font-weight:600;font-size:19px}.market{font-size:12px;text-decoration:line-through;color:#a4a8af}.row{display:flex;gap:10px;align-items:center;padding:16px 13px;background:white;border-bottom:1px dashed #eee}.row .grow{flex:1}.row svg{color:#b0b6be;width:18px;height:18px}.subtle{color:var(--muted);font-size:12px}.detail-actions{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,600px);background:#fff;z-index:30;display:flex;align-items:center;gap:10px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #eee}.detail-actions>a{width:40px;text-align:center;font-size:11px}.detail-actions>a span{display:block;margin-top:3px}.detail-actions>button{flex:1;white-space:nowrap;border-radius:23px;padding:12px 8px;font-size:13px}.detail-actions .add{background:#fff0f1;color:var(--red)}.detail-actions .buy{background:#050505;color:#fff}.detail-content{margin-top:10px;background:white;padding:20px 12px;line-height:1.8}.detail-content h2{font-size:15px;text-align:center;font-weight:500}.detail-content img{width:100%;display:block}.detail-content p{white-space:pre-line;font-size:13px}.spec-panel{background:white;padding:15px;margin-top:10px}.spec-panel select{width:100%;border:1px solid #eee;padding:10px;margin-bottom:12px}.quantity{display:inline-flex;align-items:center;border:1px solid #e5e5e5;border-radius:4px;height:30px;overflow:hidden}.quantity button{width:32px;height:30px;background:#f7f7f7;font-size:18px}.quantity input{width:38px;text-align:center;font-size:13px;padding:0;appearance:textfield}.quantity input::-webkit-inner-spin-button{appearance:none}.auth{background:white;min-height:calc(100dvh - 44px);padding:48px 12px 35px}.auth-logo{display:block;width:120px;height:45px;margin:0 auto 66px}.auth h1{font-weight:400;font-size:19px;color:var(--red);margin:0 20px 25px}.field{display:flex;align-items:center;gap:10px;min-height:53px;border-bottom:1px dashed #eee;padding:9px 0}.field input{width:100%;padding:8px 0;font-size:14px}.field label{min-width:64px;color:#59616d}.field img{width:112px;height:42px;cursor:pointer}.auth .consent{display:flex;align-items:flex-start;gap:6px;color:#999;font-size:12px;line-height:22px;margin:28px 12px 20px}.consent input{accent-color:var(--red);margin-top:4px}.red{color:var(--red)}.auth .primary{width:calc(100% - 24px);margin:0 12px;font-size:17px}.auth-links{display:flex;justify-content:space-between;margin:22px 12px;color:var(--red);font-size:13px}.auth-note{padding:35px 15px;text-align:center;color:#9b9fa8;font-size:12px;line-height:1.8}.account-head{padding:35px 22px;color:white;background:linear-gradient(120deg,#ff4a64,#ff2237);display:flex;align-items:center;gap:16px}.avatar{width:62px;height:62px;border:2px solid #fff8;border-radius:50%;display:grid;place-items:center;background:#ffffff22}.avatar svg{width:35px;height:35px}.account-head h1{font-size:19px;margin:0 0 7px;font-weight:500}.account-stats{display:flex;background:white;text-align:center;padding:18px}.account-stats a{flex:1}.account-stats strong{display:block;font-size:18px;font-weight:500;margin-bottom:8px}.account-orders{display:flex;padding:22px 0;background:white}.account-orders a{flex:1;text-align:center;font-size:12px;display:flex;align-items:center;flex-direction:column;gap:9px}.account-orders svg{width:27px;height:27px}.card{background:white;border-radius:6px;margin:10px;padding:14px}.cart-store{padding:12px 2px 16px;display:flex;align-items:center;gap:7px;font-size:13px}.cart-line{display:flex;gap:10px;align-items:center;padding:12px 0;border-top:1px solid #f5f5f5}.cart-line>input{accent-color:var(--red);width:18px;height:18px}.cart-line>a>img,.order-item img{width:90px;height:90px;object-fit:contain}.cart-line .info{flex:1;min-width:0}.cart-line h2{font-size:13px;font-weight:400;line-height:1.5;margin:0 0 12px}.cart-line .bottom{display:flex;align-items:center;justify-content:space-between;gap:5px}.cart-line .delete{color:#a7acb4;font-size:11px;padding:9px 0 0;display:block;margin-left:auto}.checkout-bar{position:fixed;bottom:calc(60px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(100%,600px);height:58px;background:white;border-top:1px solid #eee;z-index:25;display:flex;align-items:center;padding:8px 12px;gap:12px}.checkout-bar .total{margin-left:auto;font-size:12px}.checkout-bar .primary{font-size:13px;padding:11px 18px}.cart-page{padding-bottom:60px}.address{line-height:1.9}.address .name{font-size:16px;font-weight:500}.address .phone{margin-left:10px}.address .default{font-size:10px;padding:2px 6px;background:#fff0f2;color:var(--red);margin-right:6px}.address .controls{display:flex;gap:20px;justify-content:flex-end;margin-top:12px;color:#9297a0;font-size:12px}.form{background:white;padding:6px 16px 24px}.form .field{min-height:58px}.form .field select{flex:1;width:100%;padding:12px 0}.form textarea{width:100%;height:90px;resize:vertical;line-height:1.7;padding:12px 0}.form .primary{margin-top:25px}.order-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;border-bottom:1px solid #f4f4f4;padding:0 0 12px}.order-item{display:flex;gap:12px;align-items:center;padding:12px 0}.order-item .info{flex:1;font-size:13px;line-height:1.6}.order-item .info p{margin:6px 0}.order-foot{border-top:1px solid #f4f4f4;padding-top:12px;text-align:right;font-size:12px}.order-foot .price{margin-left:6px}.search-page{padding:20px 16px;background:white;min-height:calc(100dvh - 104px)}.search-page h2{font-size:14px;font-weight:500;display:flex;justify-content:space-between}.chips{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 32px}.chip{padding:7px 15px;border-radius:20px;background:#f5f5f5;font-size:12px;color:#555}.loading{padding:60px 20px;text-align:center;color:#aaa;font-size:13px}.loading:before{content:"";width:23px;height:23px;display:block;margin:0 auto 15px;border:2px solid #eee;border-top-color:var(--red);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#toast{position:fixed;z-index:100;bottom:140px;left:50%;transform:translateX(-50%);max-width:85vw;background:#222e;color:white;font-size:13px;line-height:1.6;padding:10px 17px;border-radius:7px;pointer-events:none;opacity:0;transition:opacity .15s}#toast.visible{opacity:1}.error{padding:35px 20px;text-align:center;background:#fff;line-height:1.8}.error button{display:block;margin:15px auto}.notice{padding:12px 14px;line-height:1.8;background:#fff8ee;color:#9e7841;font-size:12px}.success{padding:40px 20px;text-align:center;background:white}.success>svg{width:68px;height:68px;color:#30b777}.success h1{font-size:20px;font-weight:500}.success .primary{display:inline-block;margin:15px}.more-menu{position:fixed;right:max(12px,calc((100vw - 576px)/2));top:43px;background:#fff;box-shadow:0 3px 20px #0002;border-radius:6px;z-index:50;padding:7px 0}.more-menu a{display:block;padding:12px 24px;font-size:13px}.hide{display:none!important}@media(min-width:650px){#app{box-shadow:0 0 30px #00000008}.hero .slides{max-height:250px}.shortcuts{padding-top:25px}.product>img{max-height:295px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
