:root{--orange:#ff7900;--ink:#222;--muted:#999;--line:#f0f0f0}*{box-sizing:border-box}body{margin:0;background:#ebedef;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Microsoft YaHei",Arial,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:none;border:0;color:inherit}a{color:inherit;text-decoration:none}.phone{max-width:560px;min-height:100dvh;margin:auto;background:#fff;position:relative;box-shadow:0 0 40px #1b27300a}.mini-head{height:64px;display:flex;align-items:center;justify-content:center;padding:0 92px 0 54px;background:white;position:relative;border-bottom:1px solid #fafafa}.head-title{font-size:19px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.capsule{position:absolute;right:12px;top:15px;border:1px solid #e9e9e9;border-radius:25px;width:86px;height:31px;display:flex;align-items:center;justify-content:space-evenly;font-size:20px;color:#222}.capsule span+span{border-left:1px solid #e7e7e7;padding-left:10px}.back{position:absolute;left:12px;font-size:28px;padding:8px}.search-row{display:flex;align-items:center;padding:9px 14px;gap:12px;height:62px;background:white}.search-form{display:flex;align-items:center;gap:8px;border-radius:30px;background:#f4f4f4;padding:10px 15px;flex:1;min-width:0}.search-form svg{color:#b8b8b8;flex:none}.search-form input{width:100%;border:0;background:none;outline:0;min-width:0;font-size:15px;color:#333}.search-form input::placeholder{color:#bbb}.scan{color:var(--orange);display:flex;align-items:center;flex-direction:column;gap:2px;padding:0}.scan small{font-size:10px;color:#999}.notice{display:flex;align-items:center;height:42px;background:#fff6e1;padding:0 13px;gap:12px;color:#ff7b22;overflow:hidden}.notice strong{font-size:12px;border-radius:4px;background:#ff8b1d;color:white;padding:2px 4px;white-space:nowrap}.notice p{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;margin:0}.categories-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px 4px;padding:22px 8px 20px}.category-tile{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:0}.category-tile img{width:70px;max-width:100%;height:67px;object-fit:contain}.category-tile span{font-size:14px;white-space:nowrap}.section-gap{height:12px;background:#f5f5f5}.sorts{display:flex;align-items:center;justify-content:space-around;background:#fff;height:54px;border-bottom:1px solid var(--line)}.sorts button{color:#999;font-size:17px;height:100%;flex:1}.sorts button.active{color:var(--orange)}.sorts .arrow{font-size:11px;margin-left:4px}.product-grid{background:#f5f5f5;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 8px 15px}.product-card{background:white;overflow:hidden;border-radius:0 0 9px 9px}.product-image{position:relative;display:block;width:100%;aspect-ratio:1.02;background:white;padding:10px}.product-image img{width:100%;height:100%;object-fit:contain;transition:transform .2s}.product-image:active img{transform:scale(.97)}.product-copy{padding:9px 10px 10px}.product-name{font-size:15px;font-weight:600;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:45px;margin:0}.product-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:7px;gap:4px}.price{font-family:Georgia,"Times New Roman",serif;font-size:23px;font-weight:600;color:var(--orange);white-space:nowrap}.price .currency{font-size:16px;font-weight:400}.price small{font-family:Arial,sans-serif;font-size:12px;color:#aaa;font-weight:400}.cart-add{border-radius:50%;width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:var(--orange);color:white;flex:none}.shipping-tag{position:absolute;top:10px;left:10px;color:var(--orange);background:#fff3e5;border:1px solid #ffe0bc;font-size:11px;border-radius:3px;padding:2px 5px}main{padding-bottom:82px}#navigation{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:560px;height:calc(67px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);border-top:1px solid #eee;background:#fffffff7;display:flex;z-index:30;backdrop-filter:blur(10px)}.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#999;position:relative}.nav-item span{font-size:13px}.nav-item svg{width:29px;height:29px;stroke-width:1.8}.nav-item.active{color:var(--orange)}.badge{position:absolute;left:calc(50% + 6px);top:3px;border-radius:10px;min-width:17px;height:17px;padding:0 4px;background:var(--orange);color:#fff;font-size:10px;display:flex;align-items:center;justify-content:center}.service-float{position:fixed;right:max(14px,calc((100vw - 560px)/2 + 12px));bottom:100px;border:1px solid #f0e7df;background:#fff;width:48px;height:53px;border-radius:27px;box-shadow:0 1px 8px #0000000b;z-index:25;color:var(--orange);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;font-size:11px}.service-float svg{width:23px;height:23px}.class-tabs{display:flex;align-items:center;justify-content:center;height:55px;gap:26px}.class-tabs button{font-size:18px;position:relative;padding:14px 7px}.class-tabs .active{font-weight:600}.class-tabs .active:after{content:"";position:absolute;height:3px;background:var(--orange);bottom:0;left:0;right:0}.class-layout{display:flex;min-height:calc(100dvh - 300px)}.category-side{width:101px;flex:none;background:#f5f5f5;position:sticky;top:0;align-self:flex-start;min-height:calc(100dvh - 300px)}.category-side button{display:block;width:100%;padding:21px 9px;font-size:15px;white-space:nowrap;position:relative;color:#555}.category-side button.active{color:var(--orange);font-weight:600}.category-side button.active:after{content:"";position:absolute;right:5px;top:27px;border-left:6px solid var(--orange);border-top:4px solid transparent;border-bottom:4px solid transparent}.product-list{flex:1;padding:0 12px;min-width:0}.list-card{border-bottom:1px solid #eee;padding:16px 0 11px}.list-card-top{display:flex;gap:11px;cursor:pointer}.list-image{width:88px;height:88px;object-fit:contain;border-radius:7px;background:#fafafa;flex:none}.list-card .product-name{font-size:15px;line-height:1.45;min-height:0}.list-spec{color:#aaa;font-size:11px;margin-top:7px;line-height:1.5}.list-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:15px;gap:4px}.list-bottom .price{font-size:23px}.stepper{height:32px;display:flex;border:1px solid #eee;border-radius:3px;background:white;flex:none}.stepper button{width:30px;display:flex;align-items:center;justify-content:center;font-size:25px;color:var(--orange);line-height:1}.stepper button:first-child{color:#777}.stepper span{font-size:14px;width:28px;display:flex;justify-content:center;align-items:center;border-left:1px solid #eee;border-right:1px solid #eee}.filter-button{font-size:13px;color:#999;display:flex;gap:4px;align-items:center}.empty{padding:70px 20px;text-align:center;color:#999;font-size:14px;line-height:2}.empty svg{display:block;margin:0 auto 16px;color:#ddd;width:66px;height:66px}.empty button{color:var(--orange);margin-top:15px;border:1px solid #ffb16c;border-radius:5px;padding:7px 20px}.end-note{padding:17px;text-align:center;color:#bbb;font-size:11px;background:#f5f5f5}.detail-hero{width:100%;height:370px;max-height:70vw;object-fit:contain;padding:25px;background:white}.detail-price{font-size:31px}.detail-copy{padding:18px 18px 20px}.detail-name{font-size:20px;line-height:1.6;margin:8px 0 6px;font-weight:600}.muted{color:#999;font-size:13px}.detail-info{padding:5px 18px 20px}.detail-info h3{font-size:16px;font-weight:500;border-bottom:1px solid #eee;padding-bottom:12px}.detail-row{display:flex;gap:20px;font-size:14px;line-height:1.8;padding:7px 0}.detail-row>span:first-child{color:#999;width:56px;flex:none}.detail-footer{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:560px;width:100%;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #eee;background:white;display:flex;gap:10px;z-index:40}.pill{padding:12px 20px;border-radius:24px;color:var(--orange);background:#fff1df;flex:1;text-align:center}.pill.primary{color:#fff;background:var(--orange)}.detail-cart{width:48px;display:flex;flex-direction:column;align-items:center;font-size:10px;position:relative;justify-content:center;color:#888}.detail-cart svg{width:24px;height:24px}.cart-page{padding:0 15px}.cart-line{display:flex;gap:12px;padding:18px 0;border-bottom:1px solid #eee}.cart-line img{width:90px;height:100px;object-fit:contain;background:#fafafa;border-radius:6px}.cart-line-copy{flex:1;min-width:0}.cart-line-copy .product-name{font-weight:500}.remove-button{font-size:12px;color:#aaa;padding:0;margin-top:8px}.cart-summary{padding:18px 0}.cart-total{display:flex;justify-content:space-between;font-size:15px;padding:12px 0 22px}.cart-summary .pill{width:100%;display:block}.user-hero{padding:35px 22px;display:flex;align-items:center;gap:15px;background:linear-gradient(135deg,#fff7ed,#fff)}.shop-avatar{background:var(--orange);width:64px;height:64px;border-radius:17px;color:white;display:flex;align-items:center;justify-content:center}.user-hero h2{font-size:20px;margin:0 0 9px}.user-row{display:flex;padding:20px;gap:14px;align-items:center;border-bottom:1px solid #f4f4f4;font-size:15px}.user-row svg{color:#ff9b3e}.user-row .chevron{margin-left:auto;color:#bbb}.dialog-backdrop{position:fixed;inset:0;z-index:80;background:#0006;display:flex;align-items:center;justify-content:center;padding:20px}.dialog{width:100%;max-width:390px;border-radius:15px;background:#fff;overflow:hidden}.dialog h3{font-size:18px;text-align:center;margin:24px 20px 14px}.dialog p{font-size:14px;color:#777;line-height:1.8;padding:0 24px 15px;white-space:pre-line}.dialog-actions{display:flex;border-top:1px solid #eee}.dialog-actions button{padding:16px;flex:1;color:#777}.dialog-actions .primary{color:var(--orange);border-left:1px solid #eee}.filter-fields{padding:10px 25px 25px}.filter-fields label{display:block;font-size:13px;color:#777;margin:15px 0 8px}.filter-fields input{width:100%;padding:10px;border:1px solid #ddd;border-radius:6px;outline:none}.filter-prices{display:flex;gap:10px}#toast{position:fixed;top:43%;left:50%;transform:translate(-50%,-50%);background:#222e;color:white;border-radius:8px;padding:12px 22px;font-size:14px;z-index:200;pointer-events:none;opacity:0;transition:opacity .15s;max-width:85vw;white-space:nowrap}#toast.show{opacity:1}.loading{padding:60px;text-align:center;color:#aaa}@media(max-width:370px){.category-side{width:82px}.list-image{width:72px;height:78px}.list-card .product-name{font-size:13px}.product-list{padding:0 9px}.stepper button{width:26px}.stepper span{width:22px}.list-bottom .price{font-size:20px}.categories-grid{gap:8px 0}.category-tile img{height:58px}.category-tile span{font-size:12px}}

/* 备案号：固定在屏幕最底部的一条细字，任何页面都看得到（商品列表是无限下滑，放页面末尾几乎看不到） */
.beian{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:100%;max-width:560px;z-index:31;box-sizing:border-box;height:calc(22px + env(safe-area-inset-bottom));padding:3px 12px env(safe-area-inset-bottom);background:#fffffff7;text-align:center;font-size:11px;line-height:16px}
.beian a{color:#b5b5b5;text-decoration:none}.beian a:active{color:#777}
#navigation{bottom:calc(22px + env(safe-area-inset-bottom));height:67px;padding-bottom:0}
main{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
.service-float{bottom:calc(122px + env(safe-area-inset-bottom))}
