.member-section{background:#f5faf7}
.member-hero{background:linear-gradient(135deg,#0a4d33,#147d50)}
.member-dashboard{display:flex;flex-direction:column;gap:20px}
.member-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.member-summary-card{background:#fff;border:1px solid #dcebe3;border-radius:15px;padding:23px;box-shadow:0 10px 30px rgba(13,86,52,.06)}
.member-summary-card span,.member-summary-card small{display:block;color:#74847b;font-size:12px}
.member-summary-card strong{display:block;color:#0d713f;font-size:28px;line-height:1.45;margin:4px 0}
.member-tabs{display:flex;gap:6px;background:#eaf3ed;border-radius:12px;padding:6px;align-self:flex-start}
.member-tabs a{padding:8px 17px;border-radius:8px;color:#4e6458;font-size:13px;font-weight:600}
.member-tabs a.active,.member-tabs a:hover{background:#fff;color:#0d713f;box-shadow:0 4px 12px rgba(13,86,52,.08)}
.member-panel{background:#fff;border:1px solid #dcebe3;border-radius:15px;padding:26px;scroll-margin-top:90px}
.member-panel h2{font-size:21px;margin:0}
.member-note{font-size:11px;color:#85948b}
.member-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:18px}
.member-table th{text-align:left;background:#f7fbf9;color:#819187;padding:10px;font-weight:500}
.member-table td{border-top:1px solid #eaf1ed;padding:13px 10px}
.member-table td:first-child code{font-size:10px;color:#14764a}
.member-table a{color:#14764a;font-weight:700}
.address-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}
.address-card{border:1px solid #e0ebe5;border-radius:11px;padding:16px;background:#fbfdfc;position:relative}
.address-card.default{border-color:#83c4a1;background:#f2faf6}
.address-card>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.address-card strong{font-size:14px}.address-card span{font-size:12px;color:#697a71}.address-card em{font-style:normal;background:#14764a;color:#fff;border-radius:20px;padding:2px 7px;font-size:9px}
.address-card p{font-size:12px;color:#52635a;line-height:1.75;min-height:42px}
.address-card button{border:0;background:none;color:#b65b5b;padding:0;font-size:11px}
.compact{padding:15px!important;min-height:0!important}
.member-inline-form{border-top:1px solid #e8f0eb;padding-top:20px}
.member-inline-form label,.member-profile-form label{font-size:12px;font-weight:600}
.member-inline-form input,.member-inline-form textarea,.member-profile-form input{display:block;width:100%;border:1px solid #d6e5dc;border-radius:8px;padding:10px 11px;margin-top:5px;background:#fbfdfc}
.member-inline-form>label{margin-top:12px}
.member-inline-form .form-actions,.member-profile-form .form-actions{margin-top:16px;align-items:center;justify-content:space-between}
.inline-check{display:flex!important;align-items:center;gap:7px;font-weight:500!important}.inline-check input{width:auto!important;margin:0!important}
.member-profile-form{max-width:700px;margin-top:17px}
.order-status{display:inline-block;padding:3px 8px;border-radius:20px;font-size:10px;background:#fff3df;color:#996719;white-space:nowrap}
.order-status.status-1{background:#e8f7ef;color:#127647}.order-status.status-2{background:#e7f2ff;color:#276da8}.order-status.status-3{background:#e9f7f0;color:#0b6b3e}.order-status.status-4{background:#eef0ef;color:#6e7772}.order-status.status-5{background:#fbecec;color:#a34b4b}

.checkout-section{background:#f3f8f5}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:22px;align-items:start}
.checkout-main{display:flex;flex-direction:column;gap:18px}
.checkout-card{background:#fff;border:1px solid #dce9e1;border-radius:16px;padding:24px;box-shadow:0 10px 32px rgba(14,80,49,.05)}
.checkout-card-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:20px}
.checkout-card-head>span{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#e7f7ee;color:#107043;font-weight:800;font-size:12px;flex:none}
.checkout-card-head h3{margin:0;font-size:18px}.checkout-card-head p{margin:3px 0 0;color:#76877d;font-size:11px}
.checkout-address-list{display:flex;flex-direction:column;gap:10px}
.checkout-address-option{display:flex;gap:11px;align-items:flex-start;border:1px solid #e0eae4;border-radius:10px;padding:14px;cursor:pointer;background:#fbfdfc}
.checkout-address-option:has(input:checked){border-color:#6ab98f;background:#f1faf5;box-shadow:0 0 0 3px rgba(20,130,78,.06)}
.checkout-address-option input{margin-top:4px}.checkout-address-option span{display:flex;flex-wrap:wrap;gap:5px 12px}.checkout-address-option strong,.checkout-address-option em{font-style:normal;font-size:13px}.checkout-address-option small{flex-basis:100%;color:#6f8076}
.new-address-fields{border-top:1px solid #e7efe9;margin-top:18px;padding-top:18px}
.new-address-fields.is-hidden{display:none}
.new-address-fields .form-grid label,.checkout-remark{font-size:12px;font-weight:600}
.new-address-fields input,.new-address-fields textarea,.checkout-remark textarea{display:block;width:100%;border:1px solid #d7e5dc;border-radius:8px;padding:10px 11px;margin-top:5px;background:#fbfdfc}
.new-address-fields>label{margin-top:13px}
.checkout-product{display:grid;grid-template-columns:82px minmax(0,1fr) auto;gap:15px;align-items:center;border:1px solid #e5eee8;border-radius:11px;padding:12px}
.checkout-product img{width:82px;height:74px;object-fit:cover;border-radius:8px;background:#eef3f0}
.checkout-product h3{font-size:15px;margin:2px 0 4px}.checkout-product span,.checkout-product p{display:block;font-size:10px;color:#7b8b81;margin:0}
.checkout-product-price{text-align:right}.checkout-product-price strong{display:block;color:#117445}.checkout-product-price small{display:block;color:#819087;font-size:10px}
.quantity-field{display:flex;align-items:center;justify-content:flex-end;gap:5px;font-size:10px;color:#74857b;margin-top:8px}.quantity-field input{width:64px;border:1px solid #d7e5dc;border-radius:6px;padding:4px 6px;text-align:center;background:#fbfdfc;margin:0}
.checkout-remark{display:block;margin-top:14px}
.checkout-summary{background:#fff;border:1px solid #d8e7de;border-radius:16px;padding:24px;position:sticky;top:92px;box-shadow:0 14px 42px rgba(12,79,48,.08)}
.checkout-summary h3{font-size:21px;margin:7px 0 18px}.checkout-summary dl{margin:0}.checkout-summary dl div{display:flex;justify-content:space-between;padding:9px 0;font-size:12px;color:#63736a}.checkout-summary dd{margin:0;font-weight:700;color:#263b30}.checkout-summary .discount{color:#148052}.checkout-summary .summary-total{border-top:1px solid #e2ebe6;margin-top:9px;padding-top:17px;font-size:14px}.checkout-summary .summary-total dd{font-size:26px;color:#0d7a47}
.checkout-summary .btn{margin-top:14px}.checkout-safe{font-size:10px;color:#799087;text-align:center;margin:12px 0 0}.checkout-safe i{color:#159058}
.checkout-warning,.payment-unavailable{border:1px solid #f0dcaf;background:#fff9eb;color:#7b5c1f;border-radius:10px;padding:12px;font-size:11px;line-height:1.7;margin-top:13px}
.order-hero{background:linear-gradient(135deg,#083d2a,#0d7d4a)}
.order-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}
.order-main{display:flex;flex-direction:column;gap:18px}.order-summary{position:sticky;top:92px}.order-summary .btn{margin-top:10px}
.order-address{background:#f8fbf9;border:1px solid #e5eee8;border-radius:10px;padding:16px}.order-address p{margin:5px 0;color:#57685e}.order-address small{color:#809087}
.wechat-pay-box{display:flex;align-items:center;gap:30px;background:#f7fbf9;border-radius:13px;padding:22px}.wechat-pay-box img{width:260px;height:260px;background:#fff;border:1px solid #e3ede7;border-radius:10px}
.wechat-pay-box strong{display:block;font-size:24px;color:#0a7c45}.wechat-pay-box p{max-width:330px;color:#61746a;font-size:12px;line-height:1.8}.wechat-pay-box span{font-size:11px;color:#4e685b}.wechat-pay-box span i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#1fc276;margin-right:5px;animation:pulse 1.2s infinite}
.payment-unavailable strong{font-size:15px}.payment-unavailable p{color:#785e2d}.payment-unavailable form{margin-top:11px}
@keyframes pulse{50%{opacity:.25}}
@media(max-width:900px){.checkout-layout,.order-detail-grid{grid-template-columns:1fr}.checkout-summary,.order-summary{position:static}.member-summary-grid,.address-grid{grid-template-columns:1fr 1fr}.wechat-pay-box{flex-direction:column;text-align:center}.wechat-pay-box p{max-width:none}}
@media(max-width:600px){.member-summary-grid,.address-grid{grid-template-columns:1fr}.member-tabs{width:100%;overflow:auto}.member-tabs a{white-space:nowrap}.checkout-card,.member-panel,.checkout-summary{padding:18px}.checkout-product{grid-template-columns:65px minmax(0,1fr)}.checkout-product img{width:65px;height:62px}.checkout-product-price{grid-column:2;text-align:left}.wechat-pay-box img{width:220px;height:220px}}
