*{box-sizing:border-box}body{margin:0;background:#faf7f1;color:#272b28;font:15px/1.65 system-ui,-apple-system,"Microsoft YaHei",sans-serif}header,main,footer{max-width:680px;margin:auto}header{padding:24px 20px 10px;display:flex;justify-content:space-between;align-items:center}header a{font-weight:800;font-size:22px;color:#203c33;text-decoration:none}header span{font-size:12px;color:#8b897e}main{padding:16px 18px 24px;min-height:65vh}h1{font-size:30px;margin:5px 0 20px}h2{font-size:21px;margin:8px 0 14px}h3{font-size:18px;margin:8px 0}a{color:#23483b}button,input{font:inherit}button,.button{display:inline-block;border:0;border-radius:12px;padding:13px 18px;background:#23483b;color:white;text-align:center;text-decoration:none;cursor:pointer}button:disabled{opacity:.45;cursor:default}.secondary{background:#edeade;color:#23483b}.wide{display:block;width:100%;margin:12px 0}.card{background:#fff;border:1px solid #e9e6dd;border-radius:20px;padding:18px;margin:16px 0;overflow:hidden}.product{display:block;text-decoration:none;color:inherit}.cover{width:100%;height:auto;display:block;border-radius:13px}.product-thumb{aspect-ratio:4/3;object-fit:cover}.tag{display:inline-block;background:#f1dfb6;color:#574423;padding:3px 10px;border-radius:5px;font-size:12px;margin-top:12px}.price{font-size:30px;font-weight:800;color:#a94b31}.original{font-size:14px;text-decoration:line-through;color:#999;margin-left:12px;font-weight:400}.muted{color:#86897f;font-size:13px}.row{display:flex;justify-content:space-between;align-items:center;gap:12px}.rule{white-space:pre-wrap}.empty{text-align:center;color:#86897f;padding:50px 12px}.notice{background:#fff0d7;border-radius:12px;padding:13px;color:#80602f;margin:12px 0}.banners{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:18px}.banners img{width:100%;flex:0 0 100%;height:auto;object-fit:contain;scroll-snap-align:start;align-self:center}.search{display:flex;gap:8px}.search input{min-width:0;flex:1;background:#fff;border:1px solid #ddd;border-radius:12px;padding:10px}.chips{display:flex;gap:8px;overflow:auto;padding:12px 0}.chips button{white-space:nowrap;padding:7px 14px;background:#ebe9df;color:#555}.chips button.active{background:#23483b;color:white}nav{position:fixed;bottom:0;left:0;right:0;display:flex;background:#fff;border-top:1px solid #eee;padding:12px 0 calc(12px + env(safe-area-inset-bottom));z-index:4}nav a{flex:1;text-align:center;text-decoration:none;color:#92968c;font-size:14px}nav a.active{font-weight:800;color:#23483b}nav a.active:after{content:'';display:block;width:22px;height:3px;background:#23483b;margin:5px auto 0;border-radius:3px}footer{text-align:center;color:#999;font-size:11px;padding:10px 15px 110px}footer a{color:#999}.support{position:fixed;right:12px;bottom:100px;background:white;padding:10px;border:1px solid #e5e5dd;box-shadow:0 4px 18px #0001;border-radius:14px;text-decoration:none;font-size:12px;z-index:3}#toast{position:fixed;top:20%;left:50%;transform:translateX(-50%);max-width:85%;background:#25382fee;color:white;border-radius:12px;padding:15px 22px;display:none;z-index:9}.qr{display:block;width:240px;max-width:100%;margin:10px auto}.purchase{position:sticky;bottom:82px;padding:12px;background:#fff;border:1px solid #eee;border-radius:16px}.back{display:inline-block;margin-bottom:12px}small{overflow-wrap:anywhere}.status{color:#537563}.spacer{height:20px}
.support{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:70px;min-height:72px;padding:10px 6px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;cursor:grab}.support:active{cursor:grabbing}.support-icon{display:flex;align-items:center;justify-content:center;width:29px;height:25px;border:1.5px solid #23483b;border-radius:9px;font-size:12px;line-height:1;letter-spacing:2px;color:#23483b}

.support{gap:5px;width:58px;min-height:0;height:62px;margin:0;padding:7px 2px;border-radius:15px;background:#fff;color:#24483c;box-shadow:0 3px 12px #203c3326;border:.5px solid #dce6df;font-size:11px;line-height:1.2;z-index:80}.support .chat-symbol{display:flex;align-items:center;justify-content:center;gap:3px;width:24px;height:19px;border:1.5px solid #24483c;border-radius:7px;position:relative;box-sizing:content-box}.support .chat-symbol:after{content:'';position:absolute;bottom:-4px;left:3.5px;width:5px;height:5px;border-left:1.5px solid #24483c;background:white;transform:skewY(-35deg)}.support .dot{width:2.5px;height:2.5px;border-radius:50%;background:#24483c}
.support-badge{position:absolute;right:-5px;top:-5px;min-width:22px;height:22px;padding:0 4px;border-radius:12px;background:#c73232;color:white;font-size:12px;line-height:22px;text-align:center}.support-badge[hidden]{display:none}.support.has-replies .chat-symbol{animation:reply-pulse 1.5s ease-in-out infinite}.support-dialog{width:min(90vw,380px);border:0;border-radius:16px;padding:24px;color:#24483c}.support-dialog::backdrop{background:#0006}.support-dialog p{line-height:1.6;font-size:14px}.support-dialog textarea{box-sizing:border-box;width:100%;height:76px;resize:none;padding:10px;font-size:14px}.support-dialog button{display:block;width:100%;margin-top:12px;padding:12px;border:0;border-radius:8px;background:#24483c;color:white}@keyframes reply-pulse{50%{opacity:.45}}@media(prefers-reduced-motion:reduce){.support.has-replies .chat-symbol{animation:none}}

.purchase{display:block;position:sticky;bottom:82px;z-index:2;padding:14px;background:#fff;border:1px solid #eee;border-radius:16px;box-shadow:0 4px 16px #0000000d}.purchase-phone-label{display:block;font-size:13px;font-weight:700;color:#34473e;margin-bottom:6px}.purchase-phone{width:100%;height:46px;padding:0 12px;border:1px solid #ddd;border-radius:10px;background:#fff;color:#272b28}.purchase-phone:focus{outline:2px solid #b7cbbd;border-color:#6a8b78}.purchase-controls{display:flex;align-items:center;justify-content:space-between;margin:12px 0;color:#505850}.quantity{display:flex;align-items:center;gap:14px}.quantity button{width:36px;height:36px;padding:0;border-radius:9px;font-size:22px;line-height:1}.quantity button:disabled{opacity:.4}.quantity output{min-width:20px;text-align:center;font-weight:700}.purchase .purchase{position:static;box-shadow:none;border:0;border-top:1px solid #eee;border-radius:0;padding:10px 0 0;margin:0}.purchase .purchase .price{font-size:25px}.purchase .purchase button{min-width:120px}

.voucher-qr{text-align:center;border-top:1px solid #eee;padding:10px 0}.voucher-qr:first-child{border-top:0}.voucher-qr p{margin:8px 0 0;font-weight:700;color:#34473e}

.quantity-warning{color:#c63232;font-size:12px;font-weight:700;margin-left:4px;white-space:nowrap}.purchase .purchase{display:flex;justify-content:space-between;align-items:center}.purchase .purchase button{margin-left:auto}

.purchase-phone-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.purchase-phone-label{display:block;flex:0 0 auto;margin:0;white-space:nowrap}.purchase-phone{flex:1;min-width:0;width:auto;height:42px}.purchase-controls{gap:8px}.purchase-qty-title{display:flex;align-items:center;gap:7px;min-width:0}.quantity-warning{margin:0;white-space:nowrap}

.phone-error{display:block;color:#c63232;font-size:12px;line-height:1.4;margin:-5px 0 7px 0}.phone-error:empty{display:none}

.buy-action{display:inline-block;background:#f44c66;color:white;padding:9px 18px;border-radius:8px;font-size:14px;font-weight:700;white-space:nowrap}.product .row{align-items:center}
