:root{--bg: #f3f8fe;--card: #ffffff;--title: #1d2129;--sub: #86909c;--price: #dc2626;--line: #e5e6eb;--accent: #3d7eff;--inset-top: env(safe-area-inset-top);color:var(--title);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,sans-serif;background:var(--bg)}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;background:var(--bg)}button,input,textarea{font:inherit}button{border:0;background:none;padding:0}.page{min-height:100vh;padding-bottom:24px}.nav{position:sticky;top:0;z-index:2;display:flex;align-items:center;height:calc(44px + var(--inset-top));padding:var(--inset-top) 16px 0;background:var(--bg)}.nav-back{width:22px;height:22px;color:#1d2129}.nav-title{flex:1;text-align:center;font-size:17px;font-weight:600;margin-right:22px}.banner{display:block;width:calc(100% - 32px);height:116px;margin:10px 16px 0;border-radius:24px;object-fit:cover}.cats{display:flex;gap:8px;overflow-x:auto;padding:14px 16px 4px}.cats::-webkit-scrollbar{display:none}.cat{flex:0 0 60px;text-align:center;color:var(--sub);font-size:12px}.cat.on{color:var(--title);font-weight:600}.cat-icon{width:48px;height:48px;margin:0 auto 6px;border-radius:16px;background:#fff;display:grid;place-items:center;overflow:hidden;border:1px solid transparent}.cat.on .cat-icon{border-color:var(--accent)}.cat-icon img{width:32px;height:32px;object-fit:cover;border-radius:50%}.cat-fallback{font-size:14px;color:var(--accent)}.section-title{margin:12px 16px 8px;font-size:15px;font-weight:600}.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 15px}.card{background:var(--card);border-radius:12px;overflow:hidden;text-align:left}.cover{width:100%;height:120px;object-fit:cover;background:#e8eef6;display:block}.cover.empty{height:120px}.card-body{padding:8px 10px 12px}.card-title{font-size:14px;font-weight:600;line-height:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-sub{margin-top:4px;color:var(--sub);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-foot{display:flex;justify-content:space-between;align-items:baseline;margin-top:8px}.price{color:var(--price);font-size:16px;font-weight:600}.price small{font-size:12px;font-weight:500}.sales{color:var(--sub);font-size:11px}.hint,.empty-page{text-align:center;color:var(--sub);padding:28px 16px;font-size:13px}.detail-page{background:#f6f7fa;padding-bottom:96px}.detail-page .nav{background:#f6f7fa}.detail-page .nav-title{font-size:16px;font-weight:500;color:#000}.hero{display:block;width:calc(100% - 32px);height:299px;margin:0 16px;border-radius:12px;object-fit:cover;background:#e8eef6}.detail-card{margin:12px 16px 0;background:#fff;border-radius:8px;padding:8px 10px 14px}.detail-title{font-size:16px;font-weight:500;line-height:22px;color:#1d2129}.detail-meta{display:flex;justify-content:space-between;margin-top:4px;color:#86909c;font-size:12px;line-height:17px}.detail-skus{display:flex;flex-wrap:wrap;gap:28px;margin-top:10px}.detail-sku{display:flex;align-items:center;gap:5px;color:#dc2626;font-size:18px;font-weight:500;line-height:25px}.detail-sku-tag{height:22px;padding:0 4px;border-radius:4px;border:1px solid #dc2626;font-size:12px;font-weight:400;line-height:20px}.detail-sku.on .detail-sku-tag{background:#fff1f2}.detail-block{margin:10px 16px 0;background:#fff;border-radius:8px;padding:16px 10px}.detail-block-title{display:flex;align-items:center;gap:4px;font-size:14px;font-weight:500;line-height:20px;color:#1d2129}.detail-stars{width:12px;height:9px}.detail-rich{margin-top:8px;color:#86909c;font-size:14px;font-weight:400;line-height:20px;word-break:break-all}.detail-rich img{max-width:100%;height:auto;display:block}.detail-bar{position:fixed;left:0;right:0;bottom:0;padding:8px 17px calc(8px + env(safe-area-inset-bottom));background:#f6f7fa}.detail-buy{width:100%;height:58px;border-radius:43px;background:#0d98fd;color:#fff;font-size:16px;font-weight:400}.panel{margin:12px 16px 0;background:#fff;border-radius:12px;padding:14px}.meta{display:flex;justify-content:space-between;margin-top:6px;color:var(--sub);font-size:12px}.skus{display:flex;gap:16px;margin-top:12px;flex-wrap:wrap}.sku{display:flex;align-items:center;gap:6px;color:var(--price);font-size:18px;font-weight:500}.sku-label{font-size:12px;color:var(--title);background:#eef4ff;border-radius:4px;padding:3px 4px;font-weight:500}.sku.on .sku-label{background:var(--accent);color:#fff}.block-title{font-size:14px;font-weight:600;margin-bottom:8px}.rich{font-size:14px;line-height:1.6;color:#333;word-break:break-all}.rich img{max-width:100%;height:auto;display:block}.bottom-bar{position:sticky;bottom:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(#f3f8fe00,#f3f8fe 20%)}.primary{width:100%;height:48px;border-radius:24px;background:var(--accent);color:#fff;font-size:16px;font-weight:600}.primary:disabled{opacity:.6}.order-page{background:#f6f7fa;padding-bottom:110px}.order-page .nav{background:#fff}.order-page .nav-title{font-size:16px;font-weight:500}.order-card{margin:8px 16px 0;background:#fff;border-radius:12px;padding:12px 16px}.order-goods{display:flex;gap:12px;min-height:72px}.order-goods img,.order-goods .ph{width:72px;height:72px;border-radius:12px;object-fit:cover;background:#e8eef6;flex:none}.order-goods-main{flex:1;display:flex;flex-direction:column;min-width:0}.order-goods-title{font-size:16px;line-height:22px;font-weight:400;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.order-goods-price{margin-top:auto;align-self:flex-end;color:#ef4444;font-size:16px;font-weight:500;line-height:22px}.order-row{min-height:55px;display:flex;align-items:center;justify-content:space-between;gap:12px}.order-label{font-size:14px;font-weight:500;flex:none}.order-input{flex:1;border:0;outline:none;text-align:right;font-size:14px;color:#1d2129;background:transparent}.order-input::placeholder{color:#86909c}.order-block{display:block;padding:16px}.order-block .order-label{display:block}.demand-row{display:flex;gap:15px;margin-top:12px}.demand{flex:1;height:40px;border-radius:4px;background:#f7f8fa;color:#4e5969;font-size:14px}.demand.on{background:#f3f8fe;color:#0d98fd}.remark-input{width:100%;margin-top:8px;border:0;outline:none;resize:none;font-size:14px;line-height:20px;color:#1d2129;background:transparent}.remark-input::placeholder{color:#86909c}.stepper{display:flex;align-items:center;width:98px;height:33px;border-radius:6px;overflow:hidden;background:#f7f8fa}.stepper button{width:33px;height:33px;color:#1d2129;font-size:18px}.stepper span{flex:1;text-align:center;font-size:14px}.order-notice{margin:10px 16px 0;color:#1d2129;font-size:12px;font-weight:500;line-height:17px;white-space:pre-wrap}.order-bar{position:fixed;left:0;right:0;bottom:0;height:90px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}.order-pay{font-size:14px;line-height:20px}.order-pay b{color:#ef4444;font-weight:500}.order-submit{width:184px;height:42px;border-radius:40px;background:#0d98fd;color:#fff;font-size:16px;font-weight:600;flex:none}.order-submit:disabled{opacity:.6}.toast{position:fixed;left:50%;top:40%;transform:translate(-50%,-50%);background:#000000bf;color:#fff;padding:10px 16px;border-radius:8px;font-size:14px;z-index:9;max-width:80%;text-align:center}
