*{box-sizing:border-box}html,body{margin:0;height:100%;background:#e7ede9;color:#173f2d;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;-webkit-tap-highlight-color:transparent}body{--rpx:min(.133333333vw,.64px);--view-height:calc(100dvh - 72px)}#app{max-width:480px;margin:0 auto;height:100vh;height:100dvh;background:#f4f8f5;box-shadow:0 0 50px #183f2b15;display:flex;flex-direction:column}#page{height:var(--view-height);overflow-y:auto;overflow-x:hidden;scrollbar-width:none;flex:1;overscroll-behavior-y:contain}#page::-webkit-scrollbar{display:none}.demo-note{height:28px;flex:none;background:#e2eee6;text-align:center;font-size:11px;line-height:28px;color:#39624b;letter-spacing:.2px}#navigation{height:44px;flex:none;display:flex;align-items:center;justify-content:space-between;background:#f4f8f5;border-bottom:1px solid #e6eee8;padding:0 12px}#page-title{font-size:16px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:600}#navigation button{padding:0;width:48px;min-height:36px;background:none;border:0;color:#335f47;font-size:12px}#navigation #back{font-size:32px;text-align:left}#tabbar{height:calc(60px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);display:flex;flex:none;background:#fff;border-top:1px solid #e4eee7}#tabbar[hidden]{display:none}#tabbar button{flex:1;color:#718077;background:none;border:0;display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;font-size:12px}#tabbar button.active{color:#117548}#tabbar img{width:25px;height:25px}view,scroll-view,swiper,swiper-item,wx-image{display:block}text{display:inline}block{display:contents}button,input,textarea,select{font:inherit;color:inherit}button{display:block;margin:0 auto;padding:0 14px;border:0;border-radius:5px;background:#f4f4f4;line-height:2.55555;font-size:18px;text-align:center;cursor:pointer;position:relative}button:disabled{opacity:.5;cursor:default}button:focus-visible,[role=button]:focus-visible{outline:3px solid #e7ad38;outline-offset:2px}input{background:transparent;border:0;outline:none;min-width:0;width:100%;font-size:16px;line-height:1.5}input::placeholder{color:#a0a6a2}scroll-view{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}swiper{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}swiper-item{min-width:100%;height:100%;scroll-snap-align:start;flex:none;position:relative}swiper[vertical]{overflow:hidden;display:block}swiper[vertical]>swiper-item:not(:first-child){display:none}wx-image{position:relative;overflow:hidden}wx-image>img{display:block;width:100%;height:100%;object-fit:cover}#toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);padding:12px 18px;border-radius:12px;background:#173f2deF;color:#fff;font-size:14px;z-index:100;max-width:90vw;text-align:center}dialog{border:0;border-radius:20px;max-width:360px;width:calc(100% - 40px);padding:24px;color:#173f2d;box-shadow:0 24px 80px #0003}dialog::backdrop{background:#071b1166}dialog h2{margin:0 0 14px;font-size:18px}dialog p{font-size:14px;line-height:1.8;white-space:pre-line;margin:0 0 20px;color:#597061}dialog>div{display:flex;gap:12px}dialog button{flex:1;font-size:15px;line-height:2.8;border-radius:10px}dialog #confirm{background:#117548;color:white}.h5-notice{margin:16px 12px;padding:12px 16px;border-radius:12px;background:#eaf3ed;color:#557260;font-size:12px;line-height:1.7}.h5-demo-actions{padding:10px 16px 28px;display:flex;gap:8px}.h5-demo-actions button{font-size:13px;background:#e3eee7;color:#175f3e;border:1px solid #bcd5c6;flex:1;padding:4px}.h5-empty-link{margin:0 auto;width:160px;font-size:14px;background:#117548;color:white;border-radius:30px}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}@media(max-width:350px){.demo-note{font-size:10px}}
.login-dialog label{display:block;font-size:14px;font-weight:600;margin:18px 0 8px}.login-dialog input{border:1px solid #ccdcd2;border-radius:10px;background:#f9fbf9;padding:12px;min-height:46px}.login-dialog .code-input{display:flex;gap:8px;align-items:center}.login-dialog .code-input input{flex:1;min-width:0}.login-dialog .send-code{font-size:13px;flex:none;width:112px;background:#e7f2eb;color:#11693f;line-height:44px;border-radius:10px;padding:0 8px}.login-dialog .login-message{font-size:13px;color:#805027;line-height:1.65;margin-top:12px;max-height:190px;overflow:auto}.login-dialog .login-privacy{font-size:12px;line-height:1.65;margin:14px 0;color:#789082}.login-dialog .privacy-link{background:transparent;color:#117548;display:inline;font-size:12px;line-height:1.5;padding:0;text-decoration:underline}.login-dialog .login-actions{display:flex;gap:10px}.login-dialog .login-actions button{font-size:14px;flex:1;line-height:44px;border-radius:10px}.login-dialog .login-submit{background:#117548;color:white}#page .phone-row input[readonly]{color:#335f47}#page .h5-account-hint{font-size:12px;line-height:1.6;color:#718077;margin:0 0 18px;padding:0 3px}

dialog:not([open]){display:none}.fallback-modal-open::after{content:"";position:fixed;inset:0;background:#071b1166;z-index:100}dialog.dialog-fallback{display:block;position:fixed;top:50%;left:50%;margin:0;transform:translate(-50%,-50%);z-index:101;max-height:calc(100vh - 40px);overflow:auto;background:white}

/* Keep mini-program action bars stable in embedded mobile browsers. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
#page .bottom.safe-bottom{padding:12px 12px calc(16px + env(safe-area-inset-bottom,0px))}
#page .detail-page,#page .cart-page,#page .edit-page{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}
#page .bottom .primary{display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 12px;font-size:15px;line-height:24px;white-space:nowrap;flex-shrink:0}
#page .detail-page .bottom{display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:6px}
#page .detail-page .bottom>view:first-child{min-width:0}
#page .detail-page .bottom-price{font-size:clamp(18px,4.8vw,23px);line-height:1.25;white-space:nowrap}
#page .detail-page .bottom .muted{font-size:12px;line-height:1.5;margin-top:3px}
#page .detail-page .bottom .cart{width:112px;padding-inline:8px}
#page .detail-page .bottom .add{grid-column:2 / -1;width:156px;max-width:46vw}
#page .detail-page .stepper{display:flex;flex:none;gap:4px;white-space:nowrap}
#page .detail-page .stepper button{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;min-width:32px;margin:0;padding:0;font-size:20px;line-height:1;border-radius:50%}
#page .detail-page .stepper text{display:block;width:auto;min-width:20px;font-size:14px;line-height:24px;text-align:center}
@media(max-width:350px){#page .detail-page .bottom .cart{width:104px;font-size:14px}}
