﻿body.order-page{background:#f5f7f4;color:#173c33;margin:0;font-family:"Microsoft YaHei",system-ui,sans-serif}
.order-head{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);border-bottom:1px solid #e6eee9;backdrop-filter:blur(8px)}
.order-head-in{max-width:760px;margin:0 auto;height:54px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.order-back{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f0f6f2;color:#173c33;text-decoration:none;font-size:18px}
.order-head b{font-size:15px}.order-head a.r{font-size:11px;color:#0a8f72;font-weight:700;text-decoration:none}
.order-wrap{max-width:760px;margin:0 auto;padding:18px 14px calc(40px + env(safe-area-inset-bottom))}
.order-card{background:#fff;border:1px solid #e7efe9;border-radius:16px;padding:16px;margin-bottom:13px}
.order-product{display:flex;gap:12px;align-items:center}
.order-product img{width:84px;height:84px;border-radius:10px;object-fit:cover;background:#eef4f0;flex:none}
.order-product h2{margin:0 0 5px;font-size:14px;line-height:1.45}
.order-product .price{color:#ff3b30;font-weight:900;font-size:18px}
.order-product .meta{font-size:10px;color:#93a49b;margin-top:4px}
.order-form h2,.order-card h2{font-size:15px;margin:0 0 4px}
.order-sub{font-size:10px;color:#93a49b;margin-bottom:12px}
.order-field{display:flex;flex-direction:column;gap:5px;margin-bottom:11px}
.order-field label{font-size:10px;font-weight:700;color:#5d7469}
.order-field input,.order-field textarea{width:100%;box-sizing:border-box;border:1px solid #dbe8e1;border-radius:9px;background:#fbfdfc;padding:10px 11px;font-size:13px;color:#173c33;outline:none;font-family:inherit}
.order-field textarea{min-height:82px;resize:vertical;line-height:1.7}
.order-field input:focus,.order-field textarea:focus{border-color:#0a9f99;box-shadow:0 0 0 3px rgba(10,159,153,.08)}
.order-submit{width:100%;height:46px;border:0;border-radius:12px;background:linear-gradient(135deg,#16c4b9,#078b87);color:#fff;font-size:14px;font-weight:800;cursor:pointer}
.order-submit:disabled{opacity:.6}
.order-msg{display:none;padding:10px 12px;border-radius:9px;font-size:11px;line-height:1.7;margin-bottom:12px}
.order-msg.show{display:block}.order-msg.err{background:#fff0ee;color:#b33a2b}.order-msg.ok{background:#e8f8f2;color:#087f68}
.order-auth{text-align:center;padding:50px 16px}.order-auth b{display:block;font-size:16px;margin-bottom:7px}.order-auth p{font-size:12px;color:#8fa298;margin:0 0 18px}.order-auth a{display:inline-flex;height:40px;padding:0 22px;align-items:center;border-radius:10px;background:#0a9f99;color:#fff;text-decoration:none;font-size:12px;font-weight:700}
.order-success{text-align:center;padding:34px 16px}.order-success .ico{width:58px;height:58px;border-radius:50%;background:#e7f8f2;color:#0a9f7a;display:grid;place-items:center;margin:0 auto 14px;font-size:26px;font-weight:800}.order-success h2{margin:0 0 8px;font-size:19px}.order-success p{font-size:11px;color:#789086;line-height:1.8;margin:4px 0}.order-success .no{font-size:21px;font-weight:900;letter-spacing:1px;color:#0a8f72;margin:12px 0 4px}.order-success .code{display:inline-block;padding:7px 16px;border-radius:9px;background:#fff8e8;border:1px solid #f0dfb8;color:#8a6500;font-weight:900;letter-spacing:3px;font-size:20px;margin:8px 0}.order-success a{display:inline-flex;height:40px;padding:0 18px;align-items:center;border-radius:10px;background:#0a9f99;color:#fff;text-decoration:none;font-size:12px;font-weight:700;margin:6px}
.order-tip{font-size:10px;color:#93a49b;line-height:1.8;margin-top:10px}
@media(min-width:700px){.order-wrap{padding:26px 20px 60px}.order-card{padding:20px}}

.orders-tabs{display:flex;gap:6px;background:#eaf3ef;border:1px solid #dcebe5;border-radius:11px;padding:4px;margin-bottom:13px}
.orders-tabs button{flex:1;height:34px;border:0;border-radius:8px;background:transparent;color:#557066;font-size:11px;font-weight:700;cursor:pointer}
.orders-tabs button.on{background:#fff;color:#0a8f72;box-shadow:0 4px 12px -10px rgba(10,80,65,.5)}
.order-item{background:#fff;border:1px solid #e7efe9;border-radius:14px;padding:12px;margin-bottom:10px}
.order-item-head{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#93a49b;margin-bottom:8px}
.order-status{display:inline-flex;height:19px;align-items:center;padding:0 8px;border-radius:999px;font-size:8.5px;font-weight:800}
.order-status.wait{background:#fff4d6;color:#946200}.order-status.done{background:#e8f8f2;color:#087f68}.order-status.cancel{background:#ffe9e5;color:#b33a2b}.order-status.ing{background:#e8f1ff;color:#2c5fa8}
.order-row{display:flex;gap:10px}
.order-row img{width:64px;height:64px;border-radius:8px;object-fit:cover;background:#eef4f0;flex:none}
.order-row h3{margin:0 0 4px;font-size:12px;line-height:1.45}
.order-row .amount{color:#ff3b30;font-weight:900;font-size:14px}
.order-row .meta{font-size:9.5px;color:#8fa298;line-height:1.65;margin-top:3px}
.order-actions{display:flex;gap:7px;justify-content:flex-end;margin-top:9px;flex-wrap:wrap}
.order-actions button{height:29px;padding:0 11px;border:1px solid #dbe8e1;border-radius:7px;background:#f8fcfa;color:#466359;font-size:9.5px;font-weight:700;cursor:pointer}
.order-actions button.primary{background:#0a9f99;border-color:#0a9f99;color:#fff}
.order-actions button.danger{background:#fff5f2;border-color:#f2d3cd;color:#b33a2b}
.order-empty{padding:50px 0;text-align:center;color:#93a49b;font-size:12px}
.order-code{display:inline-block;margin-top:5px;padding:3px 9px;border-radius:6px;background:#fff8e8;border:1px solid #f0dfb8;color:#8a6500;font-size:10px;font-weight:800;letter-spacing:1px}

/* 历史订单折叠 */
.orders-history-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;margin:14px 0 0;padding:11px 13px;border:1px solid #dcebe5;border-radius:12px;background:#f7fcfa;color:#4a6a61;font:inherit;font-size:11px;font-weight:700;cursor:pointer;text-align:left}
.orders-history-toggle b{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;margin-left:4px;border-radius:999px;background:#e8f4ef;color:#0a6f62;font-size:9px}
.orders-history-toggle .oh-arrow{color:#0a9f99;font-size:10px}
.orders-history{padding-top:9px}
.orders-history[hidden]{display:none}
.orders-history .order-item{opacity:.92}
