*{box-sizing:border-box}body{margin:0;background:#fff;color:#25252a;font:14px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{border:1px solid #e7e7ec;background:#fff;padding:10px 18px;border-radius:9px;cursor:pointer;color:inherit}button:hover{background:#faf1f5}button:disabled{opacity:.5;cursor:wait}.primary{background:#ed80ae;color:#fff;border:0}input,select,textarea{border:1px solid #e7e7ec;border-radius:9px;padding:12px;width:100%;min-width:0;background:#fff}textarea{min-height:110px}header{max-width:1320px;margin:auto;display:flex;align-items:center;gap:25px;padding:18px 28px;border-bottom:1px solid #f0f0f3}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:20px}.brand img{width:50px;height:50px;object-fit:contain}header input{max-width:450px;margin-left:auto;background:#f7f7f9;border:0}header>a:last-child{white-space:nowrap}main{max-width:1264px;margin:28px auto 110px;padding:0 28px}h1,h2,h3{line-height:1.4;margin:0 0 18px;font-weight:600}h1{font-size:26px}h2{font-size:22px}h3{font-size:16px}.categories{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:16px;margin:20px 0 35px}.categories button{border:0;padding:4px;background:none}.categories img{display:block;width:72px;height:72px;object-fit:contain;margin:0 auto 8px}.filters{display:flex;gap:10px;overflow:auto;margin:20px 0;padding-bottom:6px}.filters button{flex-shrink:0}.selected{background:#fce9f1!important;color:#d05b8b}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 22px}.card{min-width:0;cursor:pointer}.card img{width:100%;height:285px;object-fit:contain;background:#f7f7f9;border-radius:10px}.card h3{font-size:14px;margin:12px 0 4px;overflow-wrap:anywhere;font-weight:400}.price{font-size:21px;font-weight:700}.muted{font-size:12px;color:#93939b}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.panel{padding:24px;border:1px solid #ebebf0;border-radius:12px;margin:20px 0;min-width:0;overflow-wrap:anywhere}.stack{display:grid;gap:16px}.detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:50px}.detail>img{width:100%;height:520px;object-fit:contain;background:#f7f7f9;border-radius:12px}label{display:grid;gap:6px;font-size:13px}.pair img{width:100px;height:120px;object-fit:contain}.empty{text-align:center;padding:90px 20px;color:#999}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:500px;max-width:100%;background:#fff;border:1px solid #eee;border-bottom:0;display:flex;justify-content:space-around;padding:12px 4px calc(12px + env(safe-area-inset-bottom));z-index:9}nav a{text-align:center;font-size:12px;min-width:65px}nav img{width:34px;height:34px;object-fit:contain;display:block;margin:auto}nav .current{color:#db6096}nav b{font-size:11px}dialog{border:1px solid #eee;border-radius:16px;padding:28px;width:460px;max-width:calc(100% - 28px)}dialog::backdrop{background:#0005}dialog img{max-width:100%}#toast{display:none;position:fixed;top:20px;left:50%;transform:translateX(-50%);padding:12px 22px;background:#222;color:white;border-radius:12px;z-index:99;max-width:90%}.merchant{padding-left:220px;background:#f6f7f9}.merchant aside{position:fixed;left:0;top:0;bottom:0;background:#fff;border-right:1px solid #e8e8ee;width:220px;padding:25px 18px}.merchant aside>a{display:block;padding:14px;margin-bottom:10px;border-radius:9px}.merchant aside>.brand{display:flex;padding:0;margin-bottom:35px;font-size:18px}.merchant aside>a:hover{background:#fcf0f5}.merchant header{max-width:none;background:#fff;justify-content:space-between;padding:22px 36px}.merchant header h2{margin:0}.merchant main{max-width:none;margin:28px 0;padding:0 36px}.merchant .panel{background:#fff}.merchant .grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.merchant .card{padding:16px;background:white;border:1px solid #eee;border-radius:12px}.merchant .card img{height:200px}.editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.wide{grid-column:1/-1}.orders{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px}.orders .panel{margin:0}.auth{max-width:420px;margin:65px auto}.badge{font-size:12px;background:#f9edf3;color:#ba658c;padding:4px 10px;border-radius:20px}@media(max-width:700px){header{padding:12px 16px;gap:12px;flex-wrap:wrap}.brand{font-size:18px}.brand img{width:42px;height:42px}header input{order:3;max-width:none}header>a:last-child{margin-left:auto}main{padding:0 16px;margin-top:18px}.categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 8px}.categories img{width:60px;height:60px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.card img{height:220px}.detail{grid-template-columns:1fr;gap:24px}.detail>img{height:360px}.panel{padding:18px}.merchant{padding-left:0}.merchant aside{position:static;width:100%;display:flex;gap:8px;flex-wrap:wrap;padding:10px}.merchant aside>.brand{margin:0}.merchant aside>a{margin:0;padding:10px}.merchant main{padding:0 16px}.editor{grid-template-columns:1fr}.orders{grid-template-columns:1fr}.merchant header{padding:18px}.merchant .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Checkout and order center */
.cart-list{border:1px solid #eeeef2;border-radius:12px}.cart-item{display:grid;grid-template-columns:22px 88px minmax(0,1fr) auto;gap:18px;align-items:center;padding:20px;border-bottom:1px solid #eee}.cart-item:last-child{border:0}.cart-item>input{width:18px;height:18px;accent-color:#df79a3}.cart-item>img{width:88px;height:105px;object-fit:contain;background:#f7f7fa;border-radius:8px}.checkout-steps{display:flex;justify-content:space-between;gap:12px;padding:20px 0;margin-bottom:25px;color:#92929b;border-bottom:1px solid #eee}.checkout-steps b{color:#d46d9a}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}.checkout-layout .panel{margin-top:0}.checkout-layout .summary{position:sticky;top:20px}.summary .primary{width:100%}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkbox-label{display:flex;align-items:center;gap:9px}.checkbox-label input{width:17px;height:17px;accent-color:#df79a3}.checkout-item{display:flex;gap:18px;align-items:center;padding:16px 0;border-bottom:1px solid #f0f0f3}.checkout-item>img{width:72px;height:90px;object-fit:contain;background:#f8f8fa;border-radius:8px}.checkout-item>div{flex:1;min-width:0}.checkout-item>strong{white-space:nowrap}.checkout-item b,.recipient{overflow-wrap:anywhere}.checkout-item:last-of-type{margin-bottom:20px}.order-tabs{display:flex;gap:5px;overflow:auto;border-bottom:1px solid #e5e5ec;margin:12px 0 24px}.order-tabs button{white-space:nowrap;flex-shrink:0;border:0;border-radius:0;padding:15px 22px;background:transparent}.order-tabs button.selected{border-bottom:3px solid #df79a3}.order-tabs b{font-size:12px;margin-left:8px;color:#999}.order-search{display:grid;grid-template-columns:minmax(200px,1fr) 175px 175px auto auto;align-items:end;gap:14px;margin-bottom:24px}.order-search input{height:45px}.order-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.2fr) minmax(0,1fr) 140px;gap:20px;padding:14px 22px;background:#eeeef3;color:#74747e;border-radius:8px;margin-bottom:14px}.order-record{border:1px solid #e6e6ed;border-radius:10px;margin-bottom:18px;background:white;overflow:hidden}.order-record-head{max-width:none;display:flex;justify-content:flex-start;flex-wrap:wrap;gap:12px 25px;background:#fafafd;padding:12px 20px!important;margin:0;font-size:12px;overflow-wrap:anywhere}.order-record-body{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.2fr) minmax(0,1fr) 140px;gap:20px;padding:22px}.order-record-body>div{min-width:0}.order-product{display:flex;gap:14px;margin-bottom:14px}.order-product:last-child{margin:0}.order-product>img{width:64px;height:80px;object-fit:contain;background:#f7f7fa;border-radius:6px;flex-shrink:0}.order-product b{font-size:13px;overflow-wrap:anywhere}.order-product p,.recipient p{margin:5px 0}.recipient{font-size:13px}.order-actions{display:flex;flex-direction:column;gap:10px;align-items:stretch}.order-actions button{font-size:12px;padding:8px 12px}.pagination{padding:20px 0;color:#86868e;font-size:13px}.order-detail-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px}.order-detail-layout .panel{margin-top:0}.timeline{list-style:none;padding:0 0 0 12px;margin:0;border-left:2px solid #f0dae5}.timeline li{padding:8px 0 16px 12px;position:relative}.timeline li:before{content:'';position:absolute;left:-18px;top:15px;width:10px;height:10px;background:#e799b8;border-radius:50%}.timeline span{display:block;font-size:12px;color:#96969f;margin-top:5px}.cashier{max-width:700px;margin:40px auto;padding:35px}.pay-total{font-size:42px;display:block;margin:24px 0;color:#da6e9c}.payment-options{display:flex;gap:18px;margin:28px 0;flex-wrap:wrap}.payment-options button{min-width:180px;font-size:16px;display:flex;align-items:center;gap:12px}.pay-dot{width:32px;height:32px;border-radius:8px;color:#fff;display:grid;place-items:center}.wechat{background:#26b96d}.alipay{background:#2297ed}#paymentArea{margin:25px 0}#qr img{max-width:100%;height:auto}.address-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.address-grid .panel{margin:0}.merchant .order-record-head{border-bottom:1px solid #eee}.merchant .order-detail-layout aside{position:static;background:transparent;border:0;width:auto;padding:0}.merchant .summary{position:static;width:auto}.order-detail-layout aside{min-width:0}hr{border:0;border-top:1px solid #eee}
@media(max-width:1050px){.order-search{grid-template-columns:minmax(0,1fr) 150px 150px}.order-columns{display:none}.order-record-body{grid-template-columns:minmax(0,2fr) minmax(0,1.2fr)}.order-actions{flex-direction:row;flex-wrap:wrap}.checkout-layout{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:700px){.cart-item{grid-template-columns:18px 65px minmax(0,1fr);gap:12px;padding:15px}.cart-item>img{width:65px;height:85px}.cart-item>.row{grid-column:2/-1;justify-content:flex-end}.checkout-layout,.order-detail-layout{display:block}.checkout-layout .summary{position:static}.checkout-steps{font-size:12px;gap:5px}.two-col{grid-template-columns:1fr}.order-search{grid-template-columns:1fr 1fr;gap:10px}.order-search>input{grid-column:1/-1}.order-tabs button{padding:13px 14px;font-size:13px}.order-record-body{grid-template-columns:1fr;padding:18px;gap:16px}.order-record-head{padding:10px 14px!important;gap:6px}.order-columns{display:none}.order-actions{flex-direction:row;flex-wrap:wrap;justify-content:flex-end}.recipient{padding:12px;background:#fafafd;border-radius:8px}.order-record-body .price{font-size:20px}.cashier{padding:22px;margin:20px 0}.pay-total{font-size:36px}.payment-options{gap:12px}.payment-options button{min-width:140px;font-size:14px}.address-grid{grid-template-columns:1fr}.checkout-item{gap:12px}.checkout-item>img{width:54px;height:70px}}
