.page-shell{max-width:480px;margin:0 auto;min-height:100vh;background:#f5f5f5;padding-bottom:calc(56px + env(safe-area-inset-bottom))}.page-shell.no-tab{padding-bottom:env(safe-area-inset-bottom)}.page-header{position:sticky;top:0;z-index:100;display:flex;align-items:center;gap:8px;padding:calc(10px + env(safe-area-inset-top)) 12px 10px;background:#fff;border-bottom:1px solid #eee}.page-header.hidden{display:none!important}.page-header.is-back-only{padding:calc(6px + env(safe-area-inset-top)) 8px 6px;border-bottom:0;background:transparent}.page-header .back{border:0;background:none;font-size:22px;line-height:1;padding:4px 8px 4px 0;color:#333}.page-header .title{display:none!important}.page-main{min-height:200px}.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:200;max-width:480px;margin:0 auto;display:flex;background:#fff;border-top:1px solid #eee;padding-bottom:env(safe-area-inset-bottom)}.tabbar a{flex:1;text-align:center;padding:8px 0 6px;font-size:11px;color:#666;text-decoration:none;min-width:0}.tabbar.tabbar-many a{font-size:10px;padding:6px 0 4px}.tabbar a.active{color:var(--color1, #fe2c55);font-weight:600}.tabbar .ico{display:block;font-size:20px;line-height:1.2;margin-bottom:2px}.tabbar img.tab-ico{width:22px;height:22px;object-fit:contain;display:block;margin:0 auto 2px}.home-banner{width:100%;aspect-ratio:2/1;object-fit:cover;background:#eee;display:block}.home-search{margin:12px;padding:10px 14px;background:#f0f0f0;border-radius:999px;color:#999;font-size:14px;text-decoration:none;display:block}.product-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 12px 12px}.product-card{background:#fff;border-radius:10px;overflow:hidden;text-decoration:none;color:inherit;display:block}.product-card img{width:100%;aspect-ratio:1;object-fit:cover;background:#eee}.product-card .info{padding:8px 10px 10px}.product-card .name{font-size:13px;line-height:1.4;height:36px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.product-card .price{margin-top:6px;color:#e53935;font-weight:700;font-size:15px}.product-detail-pic{width:100%;aspect-ratio:1;object-fit:cover;background:#eee}.product-detail-body{padding:16px;background:#fff}.product-detail-price{color:#e53935;font-size:22px;font-weight:700}.product-detail-name{font-size:16px;font-weight:600;margin-top:8px;line-height:1.5}.product-detail-desc{margin-top:12px;font-size:14px;color:#666;line-height:1.6}.product-detail-desc img{max-width:100%;height:auto}.detail-bar{position:fixed;left:0;right:0;bottom:0;max-width:480px;margin:0 auto;display:flex;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eee;z-index:150}.detail-bar .btn-cart{flex:1;height:44px;border:1px solid #fe2c55;border-radius:999px;background:#fff;color:#fe2c55;font-size:15px}.detail-bar .btn-buy{flex:1;height:44px;border:0;border-radius:999px;background:#fe2c55;color:#fff;font-size:15px;font-weight:600}.cart-item{display:flex;gap:10px;padding:12px;background:#fff;border-bottom:1px solid #f0f0f0;align-items:center}.cart-item img{width:72px;height:72px;border-radius:8px;object-fit:cover;background:#eee}.cart-item .meta{flex:1;min-width:0}.cart-item .name{font-size:14px;line-height:1.4}.cart-item .spec{font-size:12px;color:#999;margin-top:4px}.cart-item .price{color:#e53935;font-weight:600;margin-top:6px}.qty-box{display:inline-flex;align-items:center;border:1px solid #ddd;border-radius:6px;overflow:hidden}.qty-box button{width:28px;height:28px;border:0;background:#f5f5f5;font-size:16px}.qty-box span{min-width:32px;text-align:center;font-size:14px}.cart-bar{position:fixed;left:0;right:0;bottom:calc(56px + env(safe-area-inset-bottom));max-width:480px;margin:0 auto;display:flex;align-items:center;padding:10px 12px;background:#fff;border-top:1px solid #eee;z-index:150}.cart-bar .total{flex:1;font-size:14px}.cart-bar .total em{color:#e53935;font-style:normal;font-weight:700;font-size:18px}.order-tabs{display:flex;overflow-x:auto;background:#fff;border-bottom:1px solid #eee;position:sticky;top:0;z-index:90}.page-header:not(.hidden)~.order-tabs{top:calc(40px + env(safe-area-inset-top))}.order-tab{flex:0 0 auto;padding:12px 14px;font-size:13px;color:#666;border:0;background:none;border-bottom:2px solid transparent}.order-tab.active{color:#fe2c55;border-bottom-color:#fe2c55;font-weight:600}#orderList{min-height:calc(100vh - 160px)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(100vh - 180px);padding:48px 24px;text-align:center;box-sizing:border-box}.empty-state-ico{width:72px;height:72px;margin-bottom:14px;border-radius:50%;background:#eee;color:#bbb;display:flex;align-items:center;justify-content:center}.empty-state-text{color:#666;font-size:15px;line-height:1.5}.empty-state-sub{margin-top:6px;color:#999;font-size:13px}.order-card{background:#fff;margin:10px 12px;border-radius:10px;overflow:hidden}.order-card-head{display:flex;justify-content:space-between;padding:12px;border-bottom:1px solid #f5f5f5;font-size:13px}.order-card-body{display:flex;gap:10px;padding:12px}.order-card-body img{width:64px;height:64px;border-radius:8px;object-fit:cover}.order-card-foot{display:flex;justify-content:space-between;align-items:center;padding:0 12px 12px;font-size:13px}.order-card-foot .actions{display:flex;gap:8px}.btn-sm{padding:6px 12px;border-radius:999px;font-size:12px;border:1px solid #ddd;background:#fff}.btn-sm.primary{background:#fe2c55;color:#fff;border-color:#fe2c55}.addr-card{background:#fff;padding:14px;margin-bottom:10px;border-radius:10px}.addr-card .row1{display:flex;gap:10px;font-weight:600}.addr-card .row2{margin-top:6px;color:#666;font-size:13px;line-height:1.5}.addr-card .row3{margin-top:10px;display:flex;justify-content:space-between;align-items:center;font-size:13px}.user-head{background:linear-gradient(135deg,#ff6b6b,#fe2c55);color:#fff;padding:24px 16px;display:flex;gap:12px;align-items:center}.user-head img{width:56px;height:56px;border-radius:50%;object-fit:cover;background:#ffffff4d}.user-menu{background:#fff;margin-top:10px}.user-menu a{display:flex;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #f5f5f5;color:#333;text-decoration:none;font-size:15px}.section-title{padding:12px;font-size:15px;font-weight:600}.address-box{background:#fff;padding:14px;margin-bottom:10px;border-radius:10px;display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit}.address-box-icon{width:33px;height:33px;flex-shrink:0;background:center / 24px 24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fe2c55'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E")}.address-box-body{flex:1;min-width:0}.address-box-name{font-size:15px;font-weight:600;color:#111;line-height:1.45;word-break:break-all}.address-box-name.is-placeholder{font-weight:400;color:#666}.address-box-detail{color:#999;font-size:13px;margin-top:4px;line-height:1.5;word-break:break-all}.address-box-arrow{color:#ccc;font-size:20px;flex-shrink:0}.address-form-card{background:#fff;padding:14px;margin-bottom:10px;border-radius:10px}.address-form-title{font-size:15px;font-weight:600;color:#111;margin-bottom:10px}.contact-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #f5f5f5}.contact-row:last-child{border-bottom:0}.contact-label{width:72px;flex-shrink:0;font-size:14px;color:#333}.contact-row input{flex:1;min-width:0;border:0;padding:8px 0;font-size:14px;background:transparent;outline:none}.contact-row input::placeholder{color:#bbb}.form-card{background:#fff;padding:12px;margin-top:10px;border-radius:10px}.form-card label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.form-card textarea,.form-card input{width:100%;border:1px solid #eee;border-radius:8px;padding:10px;font-size:14px;box-sizing:border-box}.classify-layout{display:flex;min-height:calc(100vh - 120px)}.classify-nav{width:92px;background:#f7f7f7;overflow-y:auto;flex-shrink:0}.classify-nav button{display:block;width:100%;border:0;background:none;padding:14px 8px;font-size:13px;color:#666;text-align:center}.classify-nav button.active{background:#fff;color:#fe2c55;font-weight:600}.classify-main{flex:1;background:#fff;overflow-y:auto;padding:10px}.coupon-card{background:#fff;border-radius:10px;padding:14px;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center;border:1px solid #f0f0f0}.coupon-card .money{color:#fe2c55;font-size:22px;font-weight:700}.coupon-card .meta{font-size:12px;color:#999;margin-top:4px}.home-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:12px;background:#fff;margin-bottom:10px}.home-nav a{text-align:center;text-decoration:none;color:#333;font-size:12px;padding:8px 4px}.home-nav .ico{display:block;font-size:24px;margin-bottom:4px}.star-row{display:flex;gap:8px;margin:8px 0}.star-row button{border:0;background:none;font-size:28px;color:#ddd;padding:0}.star-row button.on{color:#ffb400}.action-bar{position:fixed;left:0;right:0;bottom:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eee;z-index:20}.action-bar .btn-buy{width:100%;height:44px;border:0;border-radius:999px;background:#fe2c55;color:#fff;font-size:15px;font-weight:600}.product-pics img{width:100%;max-height:360px;object-fit:cover;display:block;background:#f5f5f5}.product-info{background:#fff;padding:14px 16px;margin-top:10px}.product-name{margin:0 0 8px;font-size:18px;line-height:1.4}.product-price{color:#fe2c55;font-size:22px;font-weight:700}.product-detail{background:#fff;margin-top:10px;padding-bottom:80px}.product-detail .detail-html{padding:0 12px 12px;font-size:14px;line-height:1.6}.product-detail .detail-html img{max-width:100%;height:auto}.settings-list{background:#fff;border-radius:10px;overflow:hidden}.settings-list a{display:flex;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #f5f5f5;color:#333;text-decoration:none;font-size:15px}.page-main{padding-bottom:calc(70px + env(safe-area-inset-bottom))}body.live-embed-buy{background:#f5f5f5}body.live-embed-buy .page-header{display:none}body.live-embed-buy .page-shell{max-width:none;min-height:auto;padding-bottom:calc(72px + env(safe-area-inset-bottom))}body.live-embed-buy .page-body{padding:10px 12px 16px}body.live-embed-buy .detail-bar{position:fixed;left:0;right:0;bottom:0;max-width:none;z-index:300;pointer-events:auto}body.live-embed-buy #specBox{display:block;background:#fff;padding:14px 14px 8px;border-radius:12px;margin-top:10px}body.live-embed-buy .spec-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}body.live-embed-buy .spec-btn{min-height:36px}.product-row{display:flex;gap:12px;background:#fff;padding:12px;border-radius:10px;margin-bottom:10px;align-items:center}.product-row .product-pic{width:72px;height:72px;border-radius:8px;object-fit:cover;background:#eee;flex-shrink:0}.spec-product-card{display:flex;gap:12px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #f2f2f2;margin-bottom:4px}.spec-product-card .spec-pic{width:72px;height:72px;border-radius:8px;object-fit:cover;background:#f0f0f0;flex-shrink:0}.spec-product-card .spec-meta{min-width:0;flex:1}.spec-product-card .spec-name{font-size:15px;font-weight:600;color:#222;line-height:1.35;margin-bottom:6px}.spec-product-card .spec-chosen{font-size:13px;color:#888;line-height:1.4;margin-bottom:6px}.spec-product-card .spec-price{font-size:18px;font-weight:700;color:#fe2c55}.spec-groups{padding-top:4px}.spec-group{padding:12px 0 4px}.spec-group.hidden{display:none!important}.spec-group-title{font-size:14px;font-weight:600;color:#333;margin-bottom:10px}.spec-group-items{display:flex;flex-wrap:wrap;gap:8px}.spec-chip{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 14px;border:0;border-radius:8px;background:#f5f5f5;color:#333;font-size:13px;line-height:1.2;-webkit-tap-highlight-color:transparent;cursor:pointer}.spec-chip.active{background:#fe2c551a;color:#fe2c55;font-weight:600}.spec-chip.disabled{opacity:.35;pointer-events:none}.spec-qty-box{display:flex;align-items:center;justify-content:space-between;padding:14px 0 8px;margin-top:6px;border-top:1px solid #f2f2f2}.spec-qty-box.hidden{display:none!important}.spec-qty-label{font-size:14px;font-weight:600;color:#333}.spec-qty-stepper{display:flex;align-items:center;gap:0}.spec-qty-btn{width:30px;height:30px;border:0;border-radius:6px;background:#f5f5f5;color:#333;font-size:18px;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent}.spec-qty-input{width:44px;height:30px;border:0;text-align:center;font-size:15px;font-weight:600;background:transparent;color:#222;-moz-appearance:textfield}.spec-qty-input::-webkit-outer-spin-button,.spec-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.buy-footer-bar{display:flex;align-items:center;gap:12px;width:100%;padding:0 4px;box-sizing:border-box}.buy-footer-total{flex:1;min-width:0;font-size:15px;color:#333;font-weight:600}.buy-footer-total .price{color:#fe2c55;font-size:18px}.buy-footer-bar .btn-buy{flex-shrink:0;width:auto;min-width:132px;height:44px;padding:0 22px;border:0;border-radius:999px;background:#fe2c55;color:#fff;font-size:15px;font-weight:600}body.live-embed-buy .detail-bar{background:#fff;border-top:1px solid #f0f0f0;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}body.live-embed-buy .buy-footer-bar .btn-buy{min-width:140px}
