:root{--red: #d7192d;--red-2: #b0121f;--red-3: #f04b5c;--red-soft: #fdecee;--yellow: #ffc62e;--yellow-soft: #fff6d9;--ink: #17171c;--ink-2: #3d3d47;--muted: #8b8b98;--line: #ededf2;--bg: #f5f6f8;--card: #ffffff;--green: #16a34a;--blue: #2563eb;--radius: 16px;--radius-lg: 22px;--shadow: 0 6px 22px rgba(23, 23, 28, .06);--shadow-lg: 0 18px 46px rgba(23, 23, 28, .16);--safe-b: env(safe-area-inset-bottom, 0px);--tab-h: 64px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;padding:0;background:#eceef2;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Arial,sans-serif;font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}body{overscroll-behavior-y:none}input,button,textarea,select{font-family:inherit;font-size:inherit;color:inherit}button{border:0;background:none;padding:0;cursor:pointer}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.app-shell{position:relative;width:100%;max-width:520px;min-height:100vh;margin:0 auto;background:var(--bg);box-shadow:0 0 60px #1414231a;overflow-x:hidden}.page{min-height:100vh;padding-bottom:24px}.page--tab{padding-bottom:calc(var(--tab-h) + var(--safe-b) + 20px)}.container{padding:0 16px}.page-enter-active,.page-leave-active{transition:opacity .2s ease,transform .2s ease}.page-enter-from{opacity:0;transform:translateY(8px)}.page-leave-to{opacity:0}.sheet-enter-active,.sheet-leave-active{transition:opacity .22s ease}.sheet-enter-active .sheet-panel,.sheet-leave-active .sheet-panel{transition:transform .28s cubic-bezier(.22,.75,.25,1)}.sheet-enter-from,.sheet-leave-to{opacity:0}.sheet-enter-from .sheet-panel,.sheet-leave-to .sheet-panel{transform:translateY(100%)}.h1{font-size:26px;font-weight:800;letter-spacing:-.4px}.h2{font-size:19px;font-weight:700;letter-spacing:-.2px}.h3{font-size:16px;font-weight:700}.muted{color:var(--muted)}.small{font-size:12.5px}.tiny{font-size:11.5px}.strong{font-weight:700}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.row{display:flex;align-items:center}.between{display:flex;align-items:center;justify-content:space-between}.gap-8{gap:8px}.gap-12{gap:12px}.grow{flex:1;min-width:0}.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow)}.card-pad{padding:16px}.section{margin:14px 16px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:0 2px 10px;font-size:15px;font-weight:700}.section-title .more{font-size:12.5px;color:var(--muted);font-weight:400}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:46px;padding:0 20px;border-radius:999px;font-size:15px;font-weight:700;transition:transform .12s ease,opacity .12s ease,box-shadow .12s ease;white-space:nowrap}.btn:active{transform:scale(.975)}.btn-block{display:flex;width:100%}.btn-primary{color:#fff;background:linear-gradient(135deg,#e52b3f 0%,var(--red) 45%,var(--red-2) 100%);box-shadow:0 10px 22px #d7192d47}.btn-primary:disabled{background:#e2e2e8;color:#a3a3ae;box-shadow:none}.btn-yellow{color:#7a4b00;background:linear-gradient(135deg,#ffd75e,var(--yellow));box-shadow:0 10px 22px #ffc62e4d}.btn-ghost{color:var(--ink-2);background:#f2f2f6}.btn-outline{color:var(--red);background:transparent;border:1.5px solid rgba(215,25,45,.35)}.btn-sm{height:34px;padding:0 14px;font-size:13px}.btn-link{color:var(--red);font-size:14px;font-weight:600}.btn-danger-text{color:var(--red)}.field{margin-bottom:16px}.field-label{display:block;margin:0 0 7px 2px;font-size:13px;font-weight:600;color:var(--ink-2)}.field-box{display:flex;align-items:center;gap:10px;height:52px;padding:0 14px;background:#f7f7fa;border:1.5px solid transparent;border-radius:14px;transition:border-color .16s ease,background .16s ease}.field-box:focus-within{background:#fff;border-color:#d7192d73}.field-box input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font-size:15px}.field-box input::placeholder{color:#b4b4bf}.field-icon{color:#a5a5b2;display:flex}.field-hint{margin:7px 2px 0;font-size:12px;color:var(--muted)}.field-error{margin:7px 2px 0;font-size:12px;color:var(--red)}textarea.field-area{width:100%;min-height:88px;padding:13px 14px;background:#f7f7fa;border:1.5px solid transparent;border-radius:14px;outline:0;resize:none;font-size:14.5px}textarea.field-area:focus{background:#fff;border-color:#d7192d73}.divider{height:1px;background:var(--line);margin:12px 0}.price{color:var(--red);font-weight:800;letter-spacing:-.4px}.price .cur{font-size:.66em;font-weight:700;margin-right:1px}.price .ori{margin-left:6px;color:#b0b0bc;font-size:12px;font-weight:400;text-decoration:line-through;letter-spacing:0}.price .spec{margin-left:4px;color:#a9a9b6;font-size:10.5px;font-weight:400;letter-spacing:0;white-space:nowrap}.badge{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px;border-radius:7px;font-size:11.5px;font-weight:700}.badge-red{color:var(--red);background:var(--red-soft)}.badge-yellow{color:#8a5b00;background:var(--yellow-soft)}.badge-green{color:#0f7a3d;background:#e8f7ee}.badge-gray{color:#6b6b78;background:#f0f0f4}.badge-blue{color:#1d4ed8;background:#e8efff}.empty{padding:54px 24px;text-align:center;color:var(--muted)}.empty .emoji{font-size:38px;margin-bottom:10px;opacity:.8}.empty .title{font-size:15px;font-weight:600;color:var(--ink-2);margin-bottom:4px}.skeleton{background:linear-gradient(90deg,#f0f0f4 25%,#f7f7fa 37%,#f0f0f4 63%);background-size:400% 100%;animation:shimmer 1.3s ease infinite;border-radius:10px}@keyframes shimmer{0%{background-position:100% 0}to{background-position:0 0}}.fade-list-enter-active,.fade-list-leave-active{transition:all .22s ease}.fade-list-enter-from,.fade-list-leave-to{opacity:0;transform:translateY(6px)}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#0e0e1473;display:flex;align-items:flex-end;justify-content:center}.overlay-center{align-items:center;padding:24px}.sheet-wrap{width:100%;max-width:520px}.sheet-panel{background:#fff;border-radius:22px 22px 0 0;padding-bottom:var(--safe-b);max-height:82vh;display:flex;flex-direction:column;overflow:hidden}.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px}.sheet-title{font-size:17px;font-weight:700}.sheet-body{overflow-y:auto;padding:0 18px 18px;-webkit-overflow-scrolling:touch}.sheet-close{width:30px;height:30px;border-radius:50%;background:#f2f2f6;color:#77777f;display:flex;align-items:center;justify-content:center;font-size:16px}.dialog{width:100%;max-width:320px;background:#fff;border-radius:20px;padding:24px 20px 16px;text-align:center;box-shadow:var(--shadow-lg);animation:pop .18s ease}@keyframes pop{0%{transform:scale(.94);opacity:.6}}.dialog-title{font-size:17px;font-weight:700;margin-bottom:8px}.dialog-msg{font-size:14px;color:var(--muted);line-height:1.6;margin-bottom:20px}.dialog-actions{display:flex;gap:10px}.dialog-actions .btn{flex:1;height:42px;font-size:14.5px}.toast-host{position:fixed;top:50%;left:0;right:0;transform:translateY(-50%);z-index:90;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;padding:0 24px}.toast{max-width:330px;padding:9px 16px;border-radius:999px;font-size:13px;font-weight:600;color:#fff;text-align:center;background:#17171ce6;box-shadow:0 10px 28px #0003;animation:toast-in .22s ease;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.toast.success{background:#0f7a3df0}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}}.tabbar{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:520px;z-index:40;display:flex;height:calc(var(--tab-h) + var(--safe-b));padding-bottom:var(--safe-b);background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid rgba(0,0,0,.05)}.tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#a3a3af;font-size:10.5px;font-weight:600;transition:color .16s ease}.tab.active{color:var(--red)}.tab svg{width:23px;height:23px}.tab.active svg{filter:drop-shadow(0 4px 8px rgba(215,25,45,.25))}.navbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:10px;height:54px;padding:0 12px;background:#ffffffeb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid rgba(0,0,0,.04)}.navbar .nav-title{flex:1;text-align:center;font-size:16px;font-weight:700}.nav-btn{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--ink-2);background:#f4f4f7}.goods-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 16px}.goods-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .14s ease}.goods-card:active{transform:scale(.985)}.goods-thumb{position:relative;width:100%;aspect-ratio:1 / 1;background:#f7f7fa;overflow:hidden}.goods-thumb img{width:100%;height:100%;object-fit:cover}.goods-body{padding:10px 11px 12px;display:flex;flex-direction:column;gap:6px;flex:1}.goods-name{font-size:13.5px;font-weight:600;line-height:1.35;height:36px}.goods-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:6px;margin-top:auto}.stepper{display:inline-flex;align-items:center;height:28px;border-radius:999px;background:#f5f5f8;overflow:hidden}.stepper button{width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:600;color:var(--ink-2);line-height:1}.stepper button:disabled{color:#c9c9d2}.stepper .num{min-width:26px;text-align:center;font-size:13px;font-weight:700}.stepper.stepper-lg{height:36px}.stepper.stepper-lg button{width:36px;height:36px;font-size:20px}.stepper.stepper-lg .num{min-width:34px;font-size:15px}.add-btn{width:28px;height:28px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px #d7192d4d}.cart-bar{position:fixed;left:50%;transform:translate(-50%);bottom:calc(12px + var(--safe-b));width:calc(100% - 24px);max-width:496px;z-index:35;display:flex;align-items:center;gap:12px;padding:9px 10px 9px 16px;border-radius:999px;background:#17171cf0;color:#fff;box-shadow:0 16px 34px #17171c4d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:toast-in .2s ease}.cart-bar .cart-ico{position:relative;width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#ffd75e,var(--yellow));display:flex;align-items:center;justify-content:center;color:#6b4300;flex-shrink:0}.cart-bar .cart-count{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--red);color:#fff;font-size:10.5px;font-weight:700;display:flex;align-items:center;justify-content:center;border:1.5px solid #1b1b20}.cart-bar .cart-amount{font-size:17px;font-weight:800;color:var(--yellow);letter-spacing:-.3px}.cart-bar .cart-hint{font-size:10.5px;color:#a9a9b3}.cart-bar .go{margin-left:auto;height:38px;padding:0 18px;border-radius:999px;background:linear-gradient(135deg,#ffd75e,var(--yellow));color:#6b4300;font-size:14px;font-weight:800;display:flex;align-items:center;gap:4px}.action-bar{position:fixed;left:50%;transform:translate(-50%);bottom:0;width:100%;max-width:520px;z-index:35;display:flex;align-items:center;gap:12px;padding:10px 16px calc(10px + var(--safe-b));background:#fffffff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid rgba(0,0,0,.05)}.action-bar .sum{flex:1;min-width:0}.cart-bar--tab{bottom:calc(var(--tab-h) + 10px + var(--safe-b))}
