.detail-page{background:#f4f4f4;min-height:100%;padding-bottom:75px}.detail-gallery{height:min(100vw,520px);background:#fff;position:relative;display:flex;align-items:center;justify-content:center}.detail-gallery img{width:100%;height:100%;object-fit:contain}.detail-gallery>span{position:absolute;right:12px;bottom:12px;color:white;background:#0008;border-radius:14px;padding:4px 9px;font-size:10px}.detail-close{position:absolute;left:12px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:#fffD;font-size:22px;color:#555}.detail-price-row{background:#fff;padding:12px 14px;color:#dd3b30;font-size:14px}.detail-price-row b{font-size:25px}.detail-price-row del{color:#999;font-size:12px;margin-left:8px}.detail-price-row small{float:right;color:#bd5948;background:#fff1ed;padding:4px 6px;border-radius:12px;margin-top:5px}.detail-title{background:#fff;padding:0 14px 7px;font-size:15px;font-weight:700;line-height:1.55}.detail-tags{display:flex;gap:5px;padding:0 14px 12px;background:white}.detail-save{text-align:center;padding:9px;background:#fff7df;color:#b94f38;font-size:12px}.detail-promises{display:flex;justify-content:space-around;background:white;margin-top:8px;padding:14px 4px;color:#8d6a4a;font-size:11px}.detail-section{background:white;margin-top:8px;padding:14px;font-size:12px;color:#555;line-height:1.7}.detail-section h3{font-size:14px;color:#292929;margin:0 0 8px}.detail-section h3 small,.detail-section>small{font-size:10px;color:#999;font-weight:400}.detail-section p{margin:5px 0}.detail-section select{width:100%;border:0;background:#f6f6f6;padding:10px;border-radius:6px;color:#555}.review{padding:10px 0;border-top:1px solid #eee}.review p{margin:5px 0}.review small{color:#999}.product-description img{width:100%;height:auto;display:block;margin:8px 0}.detail-fixed{position:fixed;z-index:12;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,760px);height:66px;background:#fff;display:flex;align-items:center;gap:12px;padding:6px 10px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -2px 8px #0001}.detail-fixed button{border:0;background:none;color:#555;font-size:14px}.detail-fixed button small{display:block;font-size:9px;margin-top:3px}.detail-fixed .cash-buy{margin-left:auto;font-weight:700;line-height:1.3}.detail-fixed .points-buy{border-radius:24px;padding:10px 17px;color:#fff;background:linear-gradient(90deg,#ff9717,#ec312a);font-weight:700;line-height:1.25}
.modal{z-index:20}.bottom{z-index:18}.subpage{display:none;position:fixed;z-index:15;inset:0;max-width:760px;margin:0 auto;background:#f4f4f4;overflow:auto;padding-bottom:155px}.subpage.open{display:block}.subhead{height:52px;background:#e43c31;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 13px;position:sticky;top:0;z-index:3}.subhead button{width:38px;border:0;background:none;color:white;font-size:28px;text-align:left}.subhead b{font-size:16px}.subhead span{width:38px}.sub-banner{padding:15px;background:linear-gradient(100deg,#c82f28,#ef6d3c);color:white;font-weight:700}.sub-tabs{display:flex;justify-content:space-around;background:white;padding:12px 5px;margin-bottom:8px}.sub-tabs button{border:0;background:none;color:#777;font-size:12px}.sub-tabs button.selected{color:#e13a31;font-weight:700}.sub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px}.sub-card{cursor:pointer}.points-panel{margin:10px;padding:20px;border-radius:12px;background:linear-gradient(135deg,#d52f28,#ef7044);color:white;display:flex;flex-direction:column;gap:6px}.points-panel strong{font-size:32px}.points-panel span{font-size:12px}.points-panel button{align-self:flex-start;border:0;border-radius:16px;background:#fff;color:#bd382c;padding:8px 13px;margin-top:5px}.sub-section{background:white;margin:9px 10px;padding:14px;border-radius:9px;font-size:12px;line-height:1.7}.sub-section h3{font-size:14px;margin:0 0 8px}.benefit-row{display:flex;justify-content:space-around;color:#b44a36;padding:12px 0}.empty-state{text-align:center;color:#999;padding:48px 15px;line-height:2}.empty-state small{font-size:11px}.order-list{padding:8px}.order-card{background:#fff;border-radius:9px;margin-bottom:9px;padding:12px}.order-meta{display:flex;justify-content:space-between;color:#888;font-size:10px;border-bottom:1px solid #eee;padding:4px 0}.order-meta b{color:#e14136}.order-product,.checkout-product{display:flex;gap:12px;padding:12px 0;align-items:center}.order-product img,.checkout-product img{width:82px;height:82px;object-fit:cover;border-radius:6px}.order-product strong,.checkout-product strong{font-size:12px;line-height:1.5}.order-product p,.checkout-product p{font-size:11px;color:#888}.profile-card{display:flex;align-items:center;gap:12px;padding:18px;background:linear-gradient(110deg,#d53129,#ee7042);color:white}.profile-card p{font-size:10px;margin:5px 0}.profile-card button{margin-left:auto;border:1px solid #ffffff99;background:#ffffff16;color:white;border-radius:15px;padding:7px 10px;font-size:11px}.avatar{width:48px;height:48px;border-radius:50%;background:#fff;color:#d43b30;display:grid;place-items:center;font-size:25px}.profile-stats{display:flex;justify-content:space-around;background:white;padding:15px}.profile-stats button{border:0;background:none;display:flex;flex-direction:column;gap:4px;color:#333}.profile-stats small{font-size:10px;color:#999}.link-list{padding:0 14px}.link-list button{width:100%;border:0;border-bottom:1px solid #eee;background:white;text-align:left;padding:14px 0;font-size:13px}.link-list span{float:right;color:#aaa}.rules p{margin:12px 0;color:#555}.checkout-product{background:white;padding:12px;margin:8px 10px;border-radius:8px}.checkout-product img{width:90px;height:90px}.checkout-product p{color:#d83e32}.subpage form{background:white;padding:14px;margin:8px 10px;border-radius:8px}.subpage form label{display:block;font-size:12px;color:#555;margin:11px 0}.subpage form input,.subpage form select,.subpage form textarea{display:block;width:100%;margin-top:6px;border:1px solid #e5e5e5;border-radius:6px;padding:10px;font:inherit}.subpage form textarea{min-height:72px;resize:vertical}.checkout-cost{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid #eee;font-size:12px}.checkout-cost b{color:#d93c32}.checkout-cost.total{font-size:14px;font-weight:700}.confirm-exchange{display:block;width:100%;border:0;border-radius:22px;background:linear-gradient(90deg,#f09a21,#e83a31);color:white;font-weight:700;padding:12px;margin-top:12px}.demo-note{text-align:center;font-size:10px;color:#999}.success-state{background:white;margin:12px;border-radius:10px;padding:25px 18px;text-align:center}.success-state>div{width:55px;height:55px;border-radius:50%;background:#e8f8ed;color:#32a45a;font-size:35px;margin:8px auto}.success-state p{font-size:12px;color:#777}.secondary-action{width:100%;border:1px solid #e4e4e4;background:white;border-radius:20px;padding:11px;margin-top:9px}


.payment-card{background:#fff;margin:12px;padding:18px 16px;border-radius:12px;text-align:center}.payment-status{color:#e04437;font-size:12px}.payment-card h2{font-size:19px;margin:8px 0}.payment-warning{color:#b04435;background:#fff2ed;border-radius:7px;padding:9px;font-size:11px;line-height:1.6}.demo-qr-frame{width:220px;height:220px;padding:10px;margin:14px auto 10px;border:1px solid #eee}.demo-qr-frame img{width:100%;height:100%;image-rendering:pixelated}.payment-amount{display:block;color:#d43c31;font-size:17px}.payment-order{font-size:10px;color:#888;word-break:break-all}.payment-methods{display:flex;justify-content:center;gap:8px;margin:14px 0}.payment-methods span{border:1px solid #ddd;border-radius:18px;padding:7px 12px;font-size:11px;color:#777}.payment-methods .selected{border-color:#e34338;color:#e34338;background:#fff5f2}.refresh-qr{margin-bottom:8px}.order-pay{display:block;margin:10px 0 0 auto;border:0;border-radius:18px;background:#e43e34;color:white;padding:8px 22px}
.admin-banner{margin:10px;background:#fff3e9;color:#ab5036;border-radius:8px;padding:11px 13px;font-size:11px;line-height:1.6}.admin-address{background:#faf8f6;border-radius:6px;padding:10px;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.ship-form{background:#fafafa;padding:10px;margin-top:10px;border-radius:7px}.ship-form label{display:block;margin:8px 0;font-size:11px;color:#555}.ship-form input{display:block;width:100%;border:1px solid #e5e5e5;border-radius:5px;padding:9px;margin-top:5px}.ship-form .order-pay{font-size:12px;cursor:pointer}.payment-card .secondary-action{display:block}
.auth-card{background:white;margin:14px;border-radius:12px;padding:22px 17px;text-align:center}.auth-card h2{font-size:18px;margin:10px 0}.auth-card>p{font-size:12px;color:#888}.auth-card .avatar{margin:auto}.auth-card form{text-align:left;margin:16px 0;padding:0}.auth-card form label{display:block;font-size:12px;margin:13px 0}.auth-card form input{display:block;width:100%;border:1px solid #e5e5e5;border-radius:7px;padding:11px;margin-top:6px}.auth-error{color:#ca332b;font-size:12px;text-align:center}.auth-card .demo-note{display:block;margin-top:12px}
