:root{--bg: #f6f7f9;--card: #ffffff;--text: #1e2633;--muted: #77808f;--line: #e8ebef;--red: #e84b42;--red2: #ff7a45;--green: #0f9f6e;--blue: #2f6fed;--shadow: 0 12px 34px rgba(30, 38, 51, .12)}*{box-sizing:border-box}body{margin:0;min-height:100vh;height:100vh;overflow:hidden;color:var(--text);background:radial-gradient(circle at 15% 5%,rgba(232,75,66,.12),transparent 26%),linear-gradient(135deg,#edf1f5,#fafafa 48%,#eef4f2);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}body.category-active{height:100vh;overflow:hidden}button,input,textarea{font:inherit}button{border:0;cursor:pointer}.phone-shell{width:min(100vw,460px);height:100vh;min-height:0;margin:0 auto;background:var(--bg);overflow:hidden;box-shadow:0 0 0 1px #141c2814,0 20px 70px #141c2829}body.category-active .phone-shell{height:100vh;min-height:0;overflow:hidden}.app{position:relative;height:100vh;min-height:0;padding-bottom:76px;overflow:hidden}body.category-active .app{height:100vh;min-height:0;padding-bottom:64px}.page{display:none;height:calc(100vh - 64px);min-height:0;padding:16px 14px 92px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}#homePage{height:calc(100vh - 64px);padding-top:0}#cartPage{height:calc(100vh - 64px)}#categoryPage{height:calc(100vh - 64px);width:100%;max-width:100%;min-height:0;overflow:hidden;padding-bottom:0;display:none;grid-template-rows:auto 1fr}.page.active{display:block}#categoryPage.active{display:grid}#minePage{height:calc(100vh - 64px);min-height:0;padding-bottom:0;overflow:hidden}#minePage.active{display:grid;grid-template-rows:auto 1fr}.home-head,.simple-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.eyebrow{margin:0 0 3px;color:var(--red);font-size:12px;font-weight:700}h1,h2,h3,p{margin:0}.home-head h1,.simple-head h2{font-size:26px;letter-spacing:0}.simple-head span{color:var(--muted);font-size:12px}.round-btn{min-width:58px;height:34px;border-radius:999px;color:#fff;background:var(--text)}.search-bar{height:42px;display:flex;align-items:center;padding:0 14px;border-radius:999px;background:var(--card);color:var(--muted);box-shadow:0 5px 18px #1e26330f}.search-icon{width:18px;height:18px;margin-right:8px;fill:none;stroke:var(--red);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.search-bar.compact{height:38px;box-shadow:none}.search-row{z-index:3;display:grid;grid-template-columns:minmax(0,1fr) 54px;gap:8px;align-items:center}.search-icon-btn{height:38px;width:54px;flex-shrink:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:var(--red);border:1px solid var(--red);box-shadow:0 4px 12px #e84b4214;font-size:13px;font-weight:700}.search-icon-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.search-row .search-bar,.search-row .search-bar input{min-width:0}.search-row .search-icon-btn{justify-self:end}.search-history{position:absolute;left:0;right:62px;top:44px;z-index:4;display:none;gap:8px;overflow-x:auto;padding:8px;border-radius:10px;background:#fff;box-shadow:0 10px 24px #1e26331f}.search-history button{flex:0 0 auto;height:28px;padding:0 12px;border-radius:999px;color:var(--muted);background:#fff;border:1px solid var(--line);font-size:12px}.search-bar input{width:100%;border:0;outline:0;color:var(--text);background:transparent}.search-bar input::placeholder{color:var(--muted)}.hero{position:relative;height:248px;margin:0 -14px 14px;border-radius:0 0 14px 14px;color:#fff;overflow:hidden;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;touch-action:pan-y;background:#dfe6ee}.hero.dragging{cursor:grabbing}.hero-track{height:100%;display:flex;will-change:transform}.hero-slide{position:relative;flex:0 0 100%;height:100%;overflow:hidden}.hero-slide img{width:100%;height:100%;display:block;object-fit:cover;pointer-events:none}.hero-slide-empty{display:flex;align-items:flex-end;background:linear-gradient(135deg,#1e2633c7,#1e263340),linear-gradient(135deg,#9aa9bb,#7d8ba0)}.hero-overlay{position:absolute;inset:auto 0 0;padding:18px 18px 20px;background:linear-gradient(180deg,#0000,#161f2c9e)}.hero-overlay p{font-size:13px;opacity:.9}.hero-dots{position:absolute;left:50%;bottom:12px;transform:translate(-50%);z-index:2;display:flex;gap:8px}.hero-dot{width:8px;height:8px;padding:0;border-radius:50%;background:#ffffff73}.hero-dot.active{width:18px;border-radius:999px;background:#fff}.image-viewer{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:56px 18px 18px;background:#0a1018eb;z-index:30}.image-viewer.show{display:flex}.image-viewer img{max-width:100%;max-height:100%;border-radius:12px;object-fit:contain;background:#111922}.image-viewer-close{position:absolute;top:14px;right:14px;min-width:56px;height:34px;padding:0 14px;border-radius:999px;color:#fff;background:#ffffff29}.home-type-tabs,.brand-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.home-type-tabs button,.brand-row button,.chips button{flex:0 0 auto;height:32px;padding:0 13px;border-radius:999px;color:var(--muted);background:var(--card);border:1px solid var(--line)}.home-type-tabs button.active,.brand-row button.active,.chips button.active{color:#fff;border-color:transparent;background:linear-gradient(135deg,var(--red),var(--red2))}.brand-row button.active{color:#fff!important;border-color:transparent!important;background:linear-gradient(135deg,var(--red),var(--red2))!important;font-weight:700}.section-title{display:flex;align-items:baseline;justify-content:space-between;margin:16px 0 10px}.section-title h3{font-size:18px}.section-title span{color:var(--muted);font-size:12px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.empty-state{padding:28px 12px;color:var(--muted);font-size:13px;text-align:center}.product-card{position:relative;min-width:0;border-radius:8px;overflow:hidden;background:var(--card);box-shadow:0 6px 20px #1e26330f}.product-card img{width:100%;aspect-ratio:1.12 / 1;object-fit:cover;display:block;background:#eceff2}.product-card .info{padding:9px}.product-card h4{height:38px;margin:0 0 7px;font-size:14px;line-height:1.35;overflow:hidden}.price{color:var(--red);font-size:18px;font-weight:800}.cart-fab{position:absolute;right:9px;bottom:9px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;background:var(--red)}.cart-fab svg{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.sticky-top{position:relative;z-index:2;min-width:0;max-width:100%;padding-bottom:9px;background:var(--bg);overflow-x:hidden;overflow-y:visible}.brand-scroll{position:relative;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin-top:10px}.brand-scroll::-webkit-scrollbar{display:none}.brand-row{width:max-content;max-width:none;min-width:100%;display:flex;gap:8px;overflow:visible;scrollbar-width:none}.brand-row::-webkit-scrollbar{display:none}.category-layout{display:grid;grid-template-columns:104px 1fr;gap:10px;min-height:0;overflow:hidden}.category-tree{align-self:start;display:grid;gap:8px;max-height:100%;overflow-y:auto;overflow-x:hidden;padding-right:2px;-webkit-overflow-scrolling:touch}.tree-group{display:grid;gap:4px}.tree-parent,.tree-child{padding:0 8px;border-radius:7px;color:var(--muted);background:#fff;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-parent{min-height:34px;font-weight:700;font-size:12px;line-height:1.2}.tree-parent:after{content:"⌄";display:block;margin-top:1px;font-size:11px;color:#a7aebb}.tree-parent.expanded{color:var(--text)}.tree-parent.expanded:after{content:"⌃";color:var(--red)}.tree-children{display:none;gap:4px}.tree-children.show{display:grid}.tree-child{min-height:34px;font-size:12px;background:transparent}.tree-child.active{color:var(--red);background:#fff1ef;font-weight:700}.tree-parent:after,.tree-parent.expanded:after{display:none}.category-products{min-width:0;min-height:0;display:grid;grid-template-rows:auto 1fr;overflow:hidden}.section-title.flat{margin-top:0}.product-list{display:grid;gap:9px;align-content:start;min-height:0;overflow-y:auto;padding-bottom:10px;-webkit-overflow-scrolling:touch}.product-list.category-list-animate>*{animation:categorySlideUp .24s ease}@keyframes categorySlideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.list-card{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;align-items:center;padding:8px;border-radius:8px;background:#fff}.list-card img{width:88px;height:88px;border-radius:6px;object-fit:cover}.list-card>div{min-width:0}.list-card h4{margin:0 0 8px;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-cart-btn{display:none;width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;color:#fff;background:var(--red)}.list-cart-btn svg{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.cart-list{display:grid;gap:10px}.cart-item{position:relative;display:grid;grid-template-columns:24px 82px 1fr auto;gap:10px;align-items:center;padding:10px;border-radius:8px;background:#fff;box-shadow:0 6px 18px #1e26330f}.cart-swipe-item{border-radius:8px}.cart-swipe-item.swiped .swipe-main{transform:translate(-76px)}.cart-swipe-actions{position:absolute;top:0;right:0;width:76px;height:100%;display:grid;grid-template-columns:1fr}.cart-swipe-btn{width:100%;height:100%;color:#fff;font-size:14px}.cart-delete-btn{background:#ff4d4f}.cart-item img{width:82px;height:82px;border-radius:6px;object-fit:cover}.cart-item h4{margin:0 0 5px;font-size:14px}.cart-item-main{min-width:0}.cart-line-price{min-width:64px;margin:0;color:var(--red);font-size:16px;font-weight:800;text-align:right}.cart-side{align-self:stretch;display:grid;grid-template-rows:auto 1fr;justify-items:end;min-height:82px}.cart-side .stepper{align-self:center}.meta{color:var(--muted);font-size:12px;line-height:1.5;margin:2px 0 0}.cart-total{position:fixed;left:50%;bottom:72px;transform:translate(-50%);width:min(100vw,460px);height:58px;display:flex;align-items:center;justify-content:space-between;padding:8px 14px;background:#fffffff5;border-top:1px solid var(--line);z-index:4}.cart-total>div{display:flex;align-items:center;gap:12px}.primary-btn,.primary-soft{height:40px;padding:0 18px;border-radius:999px;color:#fff;background:linear-gradient(135deg,var(--red),var(--red2));font-weight:700}.primary-soft{color:var(--red);background:#ffe8e2}.primary-btn.full{width:100%;margin-top:14px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.switch-row input[type=checkbox]{width:18px;height:18px;margin:0}.mine-card{position:relative;overflow:hidden;display:flex;align-items:center;gap:13px;min-height:112px;padding:18px 18px 16px;border-radius:8px;color:#fff;background:linear-gradient(135deg,#482d1ceb,#8f673ed1),repeating-linear-gradient(90deg,#5a3a24 0,#6a452c 18px,#4f321f 36px);box-shadow:0 12px 28px #5c3b2238}.mine-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 22%,rgba(255,232,166,.28),transparent 24%),linear-gradient(180deg,rgba(255,255,255,.12),transparent 42%);pointer-events:none}.mine-card>*{position:relative;z-index:1}.mine-logout-btn{position:absolute;top:16px;right:16px;height:30px;padding:0 12px;border-radius:999px;display:none;align-items:center;justify-content:center;color:#fff4d8f2;background:#ffde9924;border:1px solid rgba(255,222,153,.28);font-size:12px}.mine-fixed-top{padding:0 0 12px;background:var(--bg)}.mine-scroll-area{min-height:0;overflow-y:auto;padding:0 0 92px;-webkit-overflow-scrolling:touch}.avatar{flex:0 0 auto;width:64px;height:64px;padding:0;overflow:hidden;border-radius:50%;box-sizing:border-box;display:grid;place-items:center;border:2px solid rgba(255,222,153,.78);color:#fff;background:linear-gradient(135deg,#b98a46,#f1d28b 48%,#9b6b2e);text-shadow:0 1px 2px rgba(70,43,21,.5);font-size:26px;font-weight:800;line-height:0}.mine-card h2{font-size:22px}.mine-card p{margin-top:7px;color:#ffecc4d1;font-size:13px}.mine-user-main{min-width:0}.mine-name-row{display:flex;align-items:center;gap:8px}.mine-edit-btn{width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff4d8f2;background:#ffde9929}.mine-edit-btn svg{width:16px;height:16px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.mine-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.mine-grid button{min-height:64px;border-radius:8px;background:#fff;color:var(--text);font-size:13px}.mine-grid button span{display:block;margin-bottom:6px;color:var(--red);font-size:22px;line-height:1}.mine-grid button.active{color:var(--red);background:#fff1ed;box-shadow:inset 0 0 0 1px #e84b422e;font-weight:700}.mine-grid button.active span{color:var(--red)}.panel-list{display:grid;gap:9px}.order-card,.contact-card,.favorite-card{border-radius:8px;background:#fff;box-shadow:0 6px 18px #1e26330d}.add-contact-card{height:44px;border-radius:8px;color:var(--red);background:#fff1ed;font-weight:700;box-shadow:0 6px 18px #1e26330d}.order-card{padding:14px;cursor:pointer}.order-top{display:flex;justify-content:space-between;gap:12px}.order-top h4,.contact-card h4,.favorite-card h4{margin:0;font-size:15px}.order-top p,.contact-card p,.favorite-card p{margin-top:6px;color:var(--muted);font-size:12px}.status{flex:0 0 auto;align-self:flex-start;padding:5px 9px;border-radius:999px;font-size:12px}.status.pending{color:#b96b00;background:#fff3d9}.status.confirmed{color:#08784f;background:#ddf7ec}.status.voided{color:#8f98a6;background:#edf0f4}.order-info{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px}.order-info strong{color:var(--red);font-size:17px}.order-items{padding-top:8px}.order-items p{margin-top:5px;color:var(--text);font-size:13px;line-height:1.4}.contact-card{position:relative;min-height:126px;padding:16px;overflow:hidden}.swipe-item{position:relative;overflow:hidden;border-radius:8px}.swipe-item.swiped .swipe-main{transform:translate(-76px)}.swipe-main{position:relative;z-index:1;transition:transform .2s ease}.swipe-delete-btn{position:absolute;top:0;right:0;width:76px;height:100%;color:#fff;background:#ff4d4f;font-size:14px}.contact-card:after{content:none}.contact-card p{display:flex;gap:12px;margin-top:8px;color:var(--muted);font-size:14px;line-height:1.5}.contact-card p span{min-width:0}.contact-card p span:first-child{flex:0 0 60%;max-width:60%}.contact-card p span:last-child{flex:0 0 40%;max-width:40%}.favorite-card{display:grid;grid-template-columns:82px 1fr 34px;gap:10px;align-items:center;padding:10px}.favorite-card img{width:82px;height:82px;border-radius:7px;object-fit:cover}.favorite-card strong{display:block;margin-top:8px;color:var(--red);font-size:16px}.favorite-card button{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;background:var(--red)}.favorite-card button svg{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.detail-page{height:100vh;min-height:0;padding:0 0 92px;background:#fff}.back-btn{position:absolute;top:14px;left:14px;z-index:2;height:34px;padding:0 12px;border-radius:999px;color:#fff;background:#00000059}.detail-gallery{position:relative;width:100%;min-height:38vh;overflow:hidden;background:#f0f2f5;user-select:none;-webkit-user-select:none;touch-action:pan-y}.detail-gallery.dragging{cursor:grabbing}.detail-gallery-track{height:100%;min-height:38vh;display:flex;will-change:transform}.detail-gallery-slide{flex:0 0 100%;width:100%;min-height:38vh}.detail-gallery-slide img{width:100%;height:100%;min-height:38vh;aspect-ratio:1 / .9;object-fit:cover;background:#eef1f5;display:block;pointer-events:none}.detail-gallery-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:6px}.detail-gallery-dots button{width:7px;height:7px;border-radius:999px;background:#ffffff9e}.detail-gallery-dots button.active{width:18px;background:#fff}.detail-card{margin:-12px 14px 0;position:relative;padding:16px;border-radius:8px;background:#fff;box-shadow:var(--shadow)}.detail-card h2{margin:8px 0 14px;font-size:20px}.param-row{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid var(--line);font-size:14px}.param-row span{color:var(--muted)}.param-row.remark-param{display:block}.param-row.remark-param b{display:block;margin-top:7px;font-weight:500;line-height:1.55}.detail-actions,.tabbar{position:fixed;left:50%;transform:translate(-50%);width:min(100vw,460px);z-index:5;background:#fff}.detail-actions{bottom:0;display:grid;grid-template-columns:64px 64px 1fr 1fr;gap:0;padding:0 0 env(safe-area-inset-bottom);border-top:1px solid var(--line)}.detail-actions button:not(.primary-btn):not(.primary-soft){border-radius:0;color:var(--muted);background:#fff;font-size:12px}.detail-actions .primary-soft,.detail-actions .primary-btn{height:58px;border-radius:0;font-size:15px}.detail-actions .primary-soft{color:#fff;background:linear-gradient(135deg,#ff8a1f,#ff5b22)}.detail-actions .primary-btn{background:linear-gradient(135deg,#ff4d4f,#f63d3d)}.detail-icon-btn{position:relative;height:58px;display:grid;place-items:center;align-content:center;gap:2px;border-right:1px solid var(--line)}.detail-icon-btn em{font-style:normal;font-size:12px}.detail-action-icon{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.detail-icon-btn.favorited{color:var(--red)!important}.detail-icon-btn.favorited .detail-action-icon{fill:var(--red);stroke:var(--red)}.action-badge{position:absolute;top:5px;right:13px;min-width:15px;height:15px;padding:0 4px;border-radius:999px;color:#fff;background:#ff3b30;border:1px solid #fff;font-size:10px;line-height:13px;z-index:1}.login-page{height:100vh;min-height:0;padding:0 18px 40px;background:linear-gradient(180deg,rgba(232,75,66,.14),transparent 34%),#f7f8fa}.login-back{color:var(--text);background:#ffffffd1}.login-hero{padding-top:72px;text-align:center}.login-logo{width:132px;height:132px;margin:0 auto 16px;display:block;border-radius:16px;object-fit:cover;background:linear-gradient(135deg,#8c6b4f,#d9bd85);box-shadow:0 14px 30px #6c4e343d}.login-hero h2{font-size:24px}.login-hero p{max-width:310px;margin:10px auto 0;color:var(--muted);font-size:13px;line-height:1.55}.login-card{margin-top:28px;padding:18px;border-radius:12px;background:#fff;box-shadow:var(--shadow)}.login-card label{display:block;margin-bottom:14px}.login-card label span{display:block;margin-bottom:7px;color:var(--muted);font-size:13px}.login-card input{width:100%;height:44px;border:1px solid var(--line);border-radius:8px;padding:0 12px;outline:none}.captcha-row{display:grid;grid-template-columns:1fr 104px;gap:8px}.captcha-img{height:44px;border-radius:8px;padding:0;overflow:hidden;display:grid;place-items:center;color:#243047;background:linear-gradient(135deg,#e84b421f,#2f6fed1f),repeating-linear-gradient(45deg,#fff,#fff 6px,#eef1f5 6px 12px);border:1px solid var(--line);font-size:18px;font-weight:800;letter-spacing:2px}.captcha-img img{width:100%;height:100%;object-fit:cover;display:block}.wechat-login{margin-top:12px}.wechat-login button{width:100%;height:40px;border-radius:999px;color:var(--green);background:#e7f8f0;font-weight:700}.login-agreement{margin-top:14px;color:var(--muted);text-align:center;font-size:12px}.edit-page{height:100vh;min-height:0;padding:0 14px 92px;background:var(--bg)}.edit-head{height:52px;display:grid;grid-template-columns:60px 1fr 60px;align-items:center}.edit-head button{height:32px;border-radius:999px;color:var(--text);background:#fff}.edit-head h2{text-align:center;font-size:18px}.edit-form-card{padding:16px;border-radius:8px;background:#fff;box-shadow:0 6px 18px #1e26330d}.edit-form-card label{display:block;margin-bottom:14px}.edit-form-card label span{display:block;margin-bottom:7px;color:var(--muted);font-size:13px}.edit-form-card input{width:100%;height:44px;border:1px solid var(--line);border-radius:8px;padding:0 12px;outline:none}.edit-form-card .switch-row{height:48px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:16px}.edit-form-card .switch-row span{margin:0;color:var(--text);font-size:15px;font-weight:700}.edit-form-card .switch-row input[type=checkbox]{position:relative;flex:0 0 auto;width:48px;height:28px;padding:0;border:0;border-radius:999px;background:#d8dde6;appearance:none;outline:none;transition:background .18s ease}.edit-form-card .switch-row input[type=checkbox]:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 8px #1e26332e;transition:transform .18s ease}.edit-form-card .switch-row input[type=checkbox]:checked{background:var(--red)}.edit-form-card .switch-row input[type=checkbox]:checked:after{transform:translate(20px)}.tabbar{bottom:0;height:64px;display:grid;grid-template-columns:repeat(4,1fr);padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--line)}.tabbar button{position:relative;display:grid;place-items:center;gap:2px;color:var(--muted);background:#fff;font-size:12px}.tab-icon{width:25px;height:25px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.tabbar button.active{color:var(--red);font-weight:700}.tab-badge{position:absolute;top:7px;left:calc(50% + 7px);min-width:16px;height:16px;padding:0 4px;display:none;align-items:center;justify-content:center;border-radius:999px;color:#fff;background:#ff3b30;border:1px solid #fff;font-size:10px;line-height:1}.mask{position:fixed;inset:0;display:none;background:#141c2873;z-index:10}.mask.show{display:block}.sheet{position:fixed;left:50%;bottom:0;transform:translate(-50%,110%);width:min(100vw,460px);max-height:86vh;overflow-y:auto;padding:10px 16px calc(18px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;background:#fff;z-index:11;transition:transform .24s ease;overscroll-behavior:contain}.sheet.show{transform:translate(-50%)}.sheet-handle{width:38px;height:4px;margin:0 auto 14px;border-radius:999px;background:#d5d9df}.sku-head{display:grid;grid-template-columns:78px 1fr;gap:12px;align-items:center}.profile-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}.avatar.large{width:64px;height:64px;padding:0;overflow:hidden;box-sizing:border-box;color:#fff;background:linear-gradient(135deg,#1e2633,#657085);font-size:28px;line-height:0}.avatar.large img,.avatar img,#mineAvatarBtn img{position:absolute;width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}.avatar,.avatar.large{position:relative}.profile-head p{margin-top:5px;color:var(--muted);font-size:13px}.sku-head img{width:78px;height:78px;border-radius:8px;object-fit:cover}.sku-head h3{margin-bottom:7px;font-size:17px}.sku-head p{color:var(--red);font-weight:800}.option-group{margin-top:16px}.option-group p{margin-bottom:8px;font-weight:700}.chips{display:flex;flex-wrap:wrap;gap:8px}.qty-row{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.stepper{display:flex;align-items:center;gap:13px}.stepper button{width:30px;height:30px;border-radius:50%;background:#f2f4f7}.contact-list{display:grid;gap:8px;margin:12px 0;max-height:238px;overflow-y:auto;padding-right:2px;-webkit-overflow-scrolling:touch}.contact-list button{min-height:72px;padding:12px;border:1px solid transparent;border-radius:8px;text-align:left;background:#f7f8fa;box-sizing:border-box}.contact-list p{display:flex;justify-content:space-between;gap:12px;margin:0;font-size:13px;line-height:1.45}.contact-list p+p{margin-top:8px;color:var(--muted)}.contact-list b{font-size:15px}.contact-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-list button.active{border-color:#e84b4294;box-shadow:inset 0 0 0 1px #e84b422e;background:#fff4f1}.sheet-title{display:flex;align-items:center;justify-content:space-between}.sheet-title button{height:32px;padding:0 13px;border-radius:999px;color:#fff;background:var(--text);font-size:13px}.form-grid{display:grid;gap:9px;margin-top:10px}.form-grid input,.form-grid textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:12px;outline:none}.form-grid textarea{min-height:76px;resize:none}.remark-box{margin-top:12px}.remark-box label{display:block;margin-bottom:7px;color:var(--text);font-size:14px;font-weight:700}.remark-box textarea{width:100%;min-height:78px;border:1px solid var(--line);border-radius:8px;padding:12px;outline:none;resize:none}.order-detail-summary{margin-top:12px;padding:14px;border-radius:8px;background:#f7f8fa}.order-detail-head{display:flex;justify-content:space-between;gap:12px}.order-detail-head h4{margin:0;font-size:15px}.order-detail-head p{margin-top:6px;color:var(--muted);font-size:12px}.order-detail-meta{display:grid;gap:10px;margin-top:12px}.order-detail-meta p,.order-detail-total{display:flex;justify-content:space-between;gap:12px}.order-detail-meta span{color:var(--muted);font-size:13px}.order-detail-meta b,.order-detail-total strong{min-width:0;text-align:right;font-size:13px;font-weight:600;word-break:break-all}.order-detail-list{display:grid;gap:10px;margin-top:14px}.list-loading,.list-end{padding:12px 0 6px;color:var(--muted);text-align:center;font-size:12px}.order-detail-item{display:grid;grid-template-columns:72px 1fr;gap:10px;padding:12px;border-radius:8px;background:#fff;box-shadow:0 6px 18px #1e26330d}.order-detail-item img{width:72px;height:72px;border-radius:6px;object-fit:cover;background:#eceff2}.order-detail-item h4{margin:0;font-size:14px}.order-detail-item p{margin-top:5px;color:var(--muted);font-size:12px;line-height:1.45}.order-detail-item .line{display:flex;justify-content:space-between;gap:12px;margin-top:8px;color:var(--text);font-size:13px}.order-detail-total{margin-top:14px;padding:14px 0 4px;border-top:1px solid var(--line)}.order-detail-total strong{color:var(--red);font-size:20px;font-weight:800}.toast{position:fixed;left:50%;bottom:110px;transform:translate(-50%);padding:10px 14px;border-radius:999px;color:#fff;background:#1e2633e0;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:20}.toast.show{opacity:1}@media(min-width:720px){.phone-shell,.tabbar,.detail-actions,.cart-total,.sheet{width:min(100vw,760px)}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-layout{grid-template-columns:110px 1fr}.list-card{grid-template-columns:88px minmax(0,1fr) 34px}.list-cart-btn{display:flex}}
