:root{--brand-primary:#3b82f6;--brand-secondary:#60a5fa;--brand-navy:#0f172a;--surface:#fff;--page-bg:#f4f7fe;--muted:#64748b;--border:#e7ebf5;--danger:#dc2626;--danger-bg:#fef2f2;--success:#16a34a;--success-bg:#f0fdf4;--warning:#d97706}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--page-bg);color:var(--brand-navy);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.shell{background:var(--page-bg);max-width:480px;min-height:100vh;margin:0 auto;padding-bottom:84px;position:relative}.page{padding:16px 16px 24px}.hero{text-align:center;place-items:center;min-height:100vh;padding:24px;display:grid}.logo{width:160px;height:auto}.topbar{z-index:5;background:var(--page-bg);align-items:center;gap:10px;padding:14px 16px 6px;display:flex;position:sticky;top:0}.topbar .back{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.topbar h1{margin:0;font-size:1.05rem;font-weight:700}.topbar-actions{gap:8px;margin-left:auto;display:flex}.icon-btn{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid;position:relative}.badge-dot{background:var(--danger);color:#fff;border-radius:999px;place-items:center;min-width:16px;height:16px;padding:0 3px;font-size:10px;line-height:1;display:grid;position:absolute;top:-2px;right:-2px}.home-header{align-items:center;gap:10px;padding:14px 16px 4px;display:flex}.home-header .brand{align-items:center;gap:8px;font-size:1.15rem;font-weight:800;display:flex}.home-header .brand img{border-radius:7px;width:30px;height:30px}.home-header .brand-text{flex-direction:column;line-height:1.1;display:flex}.home-header .tagline{color:var(--muted);text-transform:none;font-size:.62rem;font-weight:600}.avatar-badge{width:38px;height:38px;color:var(--brand-primary);background:#dbeafe;border-radius:999px;flex-shrink:0;place-items:center;font-size:.85rem;font-weight:800;text-decoration:none;display:grid}.delivery-row{color:var(--muted);align-items:center;gap:6px;padding:0 16px 8px;font-size:.8rem;display:flex}.delivery-row strong{color:var(--brand-navy);font-weight:700}.delivery-row a{color:inherit;align-items:center;gap:6px;display:flex}.bottom-nav{background:var(--surface);border-top:1px solid var(--border);z-index:10;width:100%;max-width:480px;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -4px 16px #0f172a0f}.bottom-nav a{color:var(--muted);flex-direction:column;flex:1;align-items:center;gap:3px;padding:9px 0 10px;font-size:11px;font-weight:600;text-decoration:none;display:flex}.bottom-nav a.active{color:var(--brand-primary)}.card{background:var(--surface);border:1px solid var(--border);border-radius:20px;margin:0 0 14px;padding:18px}.section-title{justify-content:space-between;align-items:center;margin:18px 0 10px;display:flex}.section-title h2{margin:0;font-size:1rem;font-weight:700}.section-title a{color:var(--brand-primary);font-size:.8rem;font-weight:600;text-decoration:none}.primary{background:var(--brand-primary);color:#fff;border:0;border-radius:14px;justify-content:center;align-items:center;gap:8px;width:100%;padding:14px 18px;font-weight:700;display:inline-flex}.primary:disabled{opacity:.5;cursor:not-allowed}.secondary{background:var(--surface);color:var(--brand-navy);border:1px solid var(--border);border-radius:14px;justify-content:center;align-items:center;gap:8px;width:100%;padding:14px 18px;font-weight:600;display:inline-flex}.pill-btn{color:#fff;background:#ffffff2e;border:1px solid #fff6;border-radius:999px;align-items:center;gap:6px;padding:8px 14px;font-size:.85rem;font-weight:700;display:inline-flex}.field{border:1px solid var(--border);background:var(--surface);border-radius:14px;width:100%;margin:6px 0 14px;padding:13px 14px}.grid-form{gap:0;margin-top:4px;display:grid}.muted{color:var(--muted)}.link{color:var(--brand-primary);font-weight:600}.small{font-size:.8rem}.error{color:var(--danger);background:var(--danger-bg);border-radius:12px;margin-bottom:12px;padding:12px 14px;font-size:.9rem}.notice{color:var(--success);background:var(--success-bg);border-radius:12px;padding:12px 14px;font-size:.9rem}.row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.row:last-child{border-bottom:0}.row.total{border-top:1px solid var(--border);border-bottom:0;margin-top:4px;padding-top:12px;font-size:1.05rem}.address-option{border:1px solid var(--border);cursor:pointer;border-radius:14px;justify-content:flex-start;align-items:flex-start;margin-bottom:8px;padding:14px}.address-option input{margin-top:3px;margin-right:10px}.tabs{gap:8px;margin-bottom:14px;padding-bottom:2px;display:flex;overflow:auto}.tabs button{white-space:nowrap;border-radius:999px;width:auto;padding:9px 16px}.chip-row{gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.chip{white-space:nowrap;background:var(--surface);border:1px solid var(--border);color:var(--brand-navy);border-radius:999px;flex-shrink:0;padding:8px 14px;font-size:.82rem;font-weight:600}.chip.active{background:var(--brand-primary);border-color:var(--brand-primary);color:#fff}.sheet-overlay{z-index:40;background:#0f172a73;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);border-radius:20px 20px 0 0;flex-direction:column;gap:14px;width:100%;max-width:480px;max-height:85vh;padding:16px;display:flex;overflow-y:auto}.sheet-header{align-items:center;gap:10px;display:flex}.sheet-header h2{text-align:center;flex:1;margin:0;font-size:1.05rem}.sheet-body{flex-direction:column;display:flex}.wallet-card{color:var(--brand-navy);background:#eaf2ff;border-radius:20px;align-items:center;gap:12px;margin-bottom:14px;padding:14px 16px;display:flex}.wallet-card .wallet-icon{background:var(--brand-primary);color:#fff;border-radius:999px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.wallet-card .info{flex:1;min-width:0}.wallet-card .label{color:var(--brand-primary);font-size:.78rem;font-weight:700}.wallet-card .amount{margin:1px 0;font-size:1.3rem;font-weight:800}.wallet-card .sub{color:var(--muted);font-size:.7rem}.wallet-card .pill-btn{background:var(--brand-primary);color:#fff;border:0;flex-shrink:0}.wallet-card.wallet-summary{flex-direction:column;align-items:stretch;gap:2px}.wallet-card.wallet-summary .wallet-actions{margin-top:10px}.wallet-card.wallet-summary .wallet-actions>a{flex:1}.wallet-card.wallet-summary .pill-btn{justify-content:center;width:100%}.promo-banner{color:#fff;background:linear-gradient(135deg,var(--brand-primary),var(--brand-secondary));border-radius:20px;flex-direction:column;justify-content:center;min-height:150px;margin-bottom:6px;padding:20px;display:flex;position:relative;overflow:hidden}.promo-banner.has-image{background-position:50%;background-size:cover}.promo-banner .title{max-width:70%;font-size:1.2rem;font-weight:800}.promo-banner .subtitle{color:#dbeafe;max-width:70%;margin:2px 0 4px;font-size:1.05rem;font-weight:800}.promo-banner .body{opacity:.92;max-width:75%;margin:0 0 12px;font-size:.82rem}.promo-banner .dots{gap:5px;margin-top:14px;display:flex}.promo-banner .dots span{background:#ffffff73;border-radius:999px;width:6px;height:6px}.promo-banner .dots span.active{background:#fff;width:16px}.category-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:4px;display:grid}.category-tile{color:var(--brand-navy);flex-direction:column;align-items:center;gap:6px;text-decoration:none;display:flex}.category-tile .icon{background:#eef2ff;border-radius:16px;place-items:center;width:52px;height:52px;display:grid}.category-tile .category-image{object-fit:cover;background:#eef2ff;border-radius:16px;width:52px;height:52px;display:block}.category-tile span{text-align:center;font-size:.72rem;font-weight:600}.popular-list .row{padding:12px 4px}.popular-list a{color:inherit;flex:1;align-items:center;gap:10px;text-decoration:none;display:flex}.popular-list .icon{background:#eef2ff;border-radius:10px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.product-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.product-row{gap:12px;margin-bottom:6px;padding-bottom:4px;display:flex;overflow-x:auto}.product-row .product-card{flex-shrink:0;width:150px}.search-bar-link{background:var(--surface);border:1px solid var(--border);color:var(--muted);border-radius:14px;align-items:center;gap:10px;margin-bottom:14px;padding:13px 14px;font-size:.9rem;display:flex}.product-card{background:var(--surface);border:1px solid var(--border);color:inherit;border-radius:18px;text-decoration:none;display:block;position:relative;overflow:hidden}.product-card .thumb{aspect-ratio:1;object-fit:cover;background:#eef2ff;width:100%}.product-card .thumb-empty{aspect-ratio:1;width:100%;color:var(--muted);background:#eef2ff;place-items:center;display:grid}.product-card .body{padding:10px 12px 12px}.product-card .name{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.3em;font-size:.85rem;font-weight:600;display:-webkit-box;overflow:hidden}.product-card .price-row{align-items:baseline;gap:6px;margin-top:6px;display:flex}.product-card .rating{color:var(--muted);align-items:center;gap:4px;margin-top:4px;font-size:.72rem;display:flex}.wishlist-btn{z-index:2;background:#ffffffe6;border:0;border-radius:999px;place-items:center;width:30px;height:30px;display:grid;position:absolute;top:8px;right:8px}.discount-badge{background:var(--danger);color:#fff;z-index:2;border-radius:999px;padding:3px 8px;font-size:.68rem;font-weight:700;position:absolute;top:8px;left:8px}.card-add-btn{background:var(--brand-primary);color:#fff;z-index:2;border:0;border-radius:999px;place-items:center;width:28px;height:28px;display:grid;position:absolute;bottom:10px;right:10px;box-shadow:0 2px 6px #3b82f680}.product-image{aspect-ratio:1;object-fit:cover;background:#eef2ff;border-radius:16px;width:100%;margin-bottom:12px}.price{font-size:1.4rem;font-weight:800}.gallery-dots{justify-content:center;gap:5px;margin:-8px 0 12px;display:flex}.gallery-dots span{background:var(--border);cursor:pointer;border-radius:999px;width:6px;height:6px}.gallery-dots span.active{background:var(--brand-primary);width:16px}.color-swatch{border:2px solid var(--border);cursor:pointer;border-radius:999px;flex-shrink:0;width:32px;height:32px;padding:0}.color-swatch.active{border-color:var(--brand-primary);box-shadow:0 0 0 2px #3b82f64d}.in-stock-line{color:var(--success);margin:2px 0 8px;font-size:.85rem;font-weight:600}.old-price{color:var(--muted);font-size:1rem;font-weight:400;text-decoration:line-through}.qty{background:#f1f5f9;border-radius:10px;align-items:center;gap:2px;padding:2px;display:flex}.qty button{background:0 0;border:0;border-radius:8px;width:auto;padding:6px 12px;font-weight:700}.qty span{text-align:center;min-width:22px;font-weight:700}.stepper{align-items:center;gap:6px;margin-bottom:16px;display:flex}.stepper .step{background:var(--border);width:26px;height:26px;color:var(--muted);border-radius:999px;place-items:center;font-size:.75rem;font-weight:700;display:grid}.stepper .step.active{background:var(--brand-primary);color:#fff}.stepper .line{background:var(--border);flex:1;height:2px}.timeline{margin:0;padding:0;list-style:none}.timeline li{color:var(--muted);padding:8px 0 8px 26px;font-size:.9rem;position:relative}.timeline li:before{content:"";background:var(--border);border-radius:50%;width:10px;height:10px;position:absolute;top:14px;left:4px}.timeline li:after{content:"";background:var(--border);width:2px;position:absolute;top:24px;bottom:-4px;left:8px}.timeline li:last-child:after{display:none}.timeline li.done{color:var(--brand-navy)}.timeline li.done:before{background:var(--brand-primary)}.timeline li.current{font-weight:700}.tx-row{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:12px 0;display:flex}.tx-row:last-child{border-bottom:0}.tx-icon{border-radius:12px;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.tx-icon.in{background:var(--success-bg);color:var(--success)}.tx-icon.out{background:var(--danger-bg);color:var(--danger)}.tx-info{flex:1;min-width:0}.tx-info .label{font-size:.9rem;font-weight:600}.tx-info .date{color:var(--muted);font-size:.75rem}.tx-amount{font-size:.9rem;font-weight:700}.tx-amount.in{color:var(--success)}.tx-amount.out{color:var(--danger)}.wallet-page{padding-top:4px}.wallet-card-heading{justify-content:space-between;align-items:center;display:flex}.wallet-card-subtitle{opacity:.9;margin:0 0 16px;font-size:.83rem}.wallet-actions{gap:9px;display:flex}.wallet-refresh{color:#fff;background:#ffffff29;border:1px solid #ffffff59;border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.wallet-refresh:disabled{opacity:.6}.spinning{animation:.8s linear infinite wallet-spin}@keyframes wallet-spin{to{transform:rotate(360deg)}}.wallet-section{margin-top:20px}.wallet-error{justify-content:space-between;align-items:center;gap:10px;display:flex}.wallet-error button{color:var(--danger);white-space:nowrap;background:0 0;border:0;font-weight:700;text-decoration:underline}.wallet-request{border-bottom:1px solid var(--border);align-items:center;gap:11px;padding:13px 0;display:flex}.wallet-request:last-child{border-bottom:0}.request-icon,.section-icon{width:38px;height:38px;color:var(--brand-primary);background:#eef2ff;border-radius:12px;flex-shrink:0;place-items:center;display:grid}.request-icon.withdrawal{color:var(--warning);background:#fff7ed}.request-info{flex-direction:column;flex:1;gap:2px;min-width:0;font-size:.85rem;display:flex}.request-info>span{color:var(--muted);font-size:.75rem}.request-info .request-reason{color:var(--danger);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.request-value{text-align:right;flex-direction:column;align-items:flex-end;gap:5px;font-size:.8rem;display:flex}.status-badge{white-space:nowrap;color:#1d4ed8;background:#eff6ff;border-radius:999px;padding:5px 7px;font-size:.68rem;font-weight:700;line-height:1}.status-badge.approved,.status-badge.paid{background:var(--success-bg);color:var(--success)}.status-badge.rejected{background:var(--danger-bg);color:var(--danger)}.status-badge.processing{color:var(--warning);background:#fff7ed}.wallet-form-page{padding-top:4px}.wallet-section-heading{align-items:flex-start;gap:10px;margin-bottom:10px;display:flex}.wallet-section-heading h2,.wallet-form h2{margin:0 0 3px;font-size:1rem}.wallet-section-heading p{color:var(--muted);margin:0;font-size:.8rem}.bank-account{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:13px 0;display:flex}.bank-account>div{flex-direction:column;gap:3px;min-width:0;font-size:.84rem;display:flex}.bank-account>div>span{color:var(--muted)}.bank-account .account-number{letter-spacing:.045em;color:var(--brand-navy);font-weight:800}.copy-button{color:var(--brand-primary);background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;flex-shrink:0;align-items:center;gap:5px;padding:8px 10px;font-size:.75rem;font-weight:700;display:inline-flex}.wallet-form label{font-size:.84rem;font-weight:600}.wallet-form .field{margin-top:6px}.form-description{margin:0 0 10px;font-size:.84rem}.proof-field>span{align-items:center;gap:6px;display:flex}.proof-field small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:-8px 0 14px;font-weight:400;display:block;overflow:hidden}.request-complete{text-align:center;padding:26px 20px}.complete-icon{width:48px;height:48px;color:var(--success);background:var(--success-bg);border-radius:999px;place-items:center;display:inline-grid}.request-complete h2{margin:12px 0 7px;font-size:1.05rem}.request-complete>p{color:var(--muted);max-width:330px;margin:0 auto 18px;font-size:.87rem;line-height:1.5}.request-complete dl{text-align:left;border-top:1px solid var(--border);margin:0 0 20px}.request-complete dl>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:11px 0;font-size:.85rem;display:flex}.request-complete dt{color:var(--muted)}.request-complete dd{margin:0;font-weight:700}.withdraw-balance{align-items:center;gap:11px;padding:14px 2px 17px;display:flex}.withdraw-balance>div{color:var(--muted);flex-direction:column;gap:2px;font-size:.82rem;display:flex}.withdraw-balance strong{color:var(--brand-navy);font-size:1.25rem}.withdraw-balance small{font-size:.75rem}.grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.item{border:1px solid var(--border);background:var(--surface);border-radius:16px;padding:14px}
