/* SG Maart Mobile Parcel-style Orders v1.2.0 — self-contained, no theme overrides */
.sgmou-standalone{margin:0;background:#f5f6fb;color:#161726;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.sgmou-root,.sgmou-root *{box-sizing:border-box}
.sgmou-root{--purple:#7c5cff;--orange:#ff700b;--ink:#161726;--muted:#687388;--shadow:0 14px 34px rgba(17,24,39,.08);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:linear-gradient(180deg,#f7f7fc 0%,#f3f5fb 100%);min-height:100svh;line-height:1.4;font-size:14px;padding:0;margin:0 auto;max-width:560px;isolation:isolate}
.sgmou-root button,.sgmou-root input{font:inherit}
.sgmou-root button{cursor:pointer}
.sgmou-root a{text-decoration:none}
.sgmou-app{max-width:560px;min-height:100svh;margin:0 auto;padding:0 10px calc(88px + env(safe-area-inset-bottom,0px))}
.sgmou-header-card{position:sticky;top:0;z-index:12;background:rgba(255,255,255,.98);backdrop-filter:blur(8px);border:1px solid #edf0f6;border-radius:22px;box-shadow:0 12px 28px rgba(17,24,39,.07);padding:10px 14px 9px;margin:0 0 10px}
.sgmou-logo{display:flex;align-items:center;justify-content:center;min-height:48px;flex-direction:column;gap:0;color:#161726;border-bottom:1px solid #edf0f5;padding:0 0 12px}
.sgmou-logo img{display:block;max-width:min(82%,250px);width:auto;height:auto;max-height:54px;object-fit:contain}
.sgmou-logo-word{font-size:30px;font-weight:1000;letter-spacing:-1.5px;line-height:1}.sgmou-logo-word strong{color:#ff700b}
.sgmou-logo-sub{font-size:9px;font-weight:900;letter-spacing:.27em;color:#7c5cff;margin-top:5px}
.sgmou-userbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding-top:11px}
.sgmou-usertext{min-width:0;display:flex;flex-direction:column;gap:3px}.sgmou-usertext strong{font-size:14px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sgmou-usertext span{font-size:11px;font-weight:650;color:#758095;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sgmou-logout{display:inline-flex;align-items:center;justify-content:center;min-width:74px;height:36px;border-radius:12px;background:linear-gradient(135deg,#ff9427,#ff6900);color:white!important;font-size:12px;font-weight:850;box-shadow:0 8px 18px rgba(255,107,0,.18)}
.sgmou-main{min-width:0}.sgmou-branchline{display:flex;gap:7px;align-items:center;padding:3px 3px 13px;color:#747e93;font-size:12px;font-weight:700}.sgmou-branchline strong{font-size:12px;font-weight:900;color:#25253b;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sgmou-live-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#18ab70;box-shadow:0 0 0 3px #dcf7e9}
.sgmou-refresh{margin-left:auto;min-height:34px;border:1px solid #ddd8f5;border-radius:11px;background:#fff;color:#664bc0;padding:6px 10px;font-weight:850;font-size:12px;white-space:nowrap}
.sgmou-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:14px}
.sgmou-stat{position:relative;overflow:hidden;display:flex;flex-direction:column;min-width:0;min-height:118px;padding:13px 12px;border:1px solid #e6e9f1;border-radius:18px;background:#fff;box-shadow:var(--shadow)}
.sgmou-stat.is-mint{background:linear-gradient(150deg,#e9f9f0,#fff 76%);border-color:#d6efe3}.sgmou-stat.is-pink{background:linear-gradient(150deg,#fdeef3,#fff 76%);border-color:#f5d8e2}.sgmou-stat.is-violet{background:linear-gradient(150deg,#f1edff,#fff 76%);border-color:#e0daff}.sgmou-stat.is-peach{background:linear-gradient(150deg,#fff0e5,#fff 76%);border-color:#ffe0c7}
.sgmou-stat-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;background:#fff;border:1px solid rgba(38,44,66,.055);font-size:18px;color:#6550c7;margin-bottom:8px;font-weight:900}.sgmou-stat.is-mint .sgmou-stat-icon{color:#138958}.sgmou-stat.is-pink .sgmou-stat-icon{color:#d34870}.sgmou-stat.is-peach .sgmou-stat-icon{color:#c26a0d}
.sgmou-stat strong{font-size:24px;line-height:1.05;font-weight:950;letter-spacing:-.4px}.sgmou-stat-label{font-size:12px;font-weight:850;margin-top:6px;color:#262a40}.sgmou-stat small{font-size:10px;color:#818c9d;font-weight:650;margin-top:2px}
.sgmou-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin:0 3px 10px}.sgmou-list-head h1{font-size:20px;line-height:1.2;font-weight:900;margin:0;color:#171a2e}.sgmou-list-head p{margin:4px 0 0;font-size:11px;color:#737c92}
.sgmou-searchwrap{height:45px;display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e8e9f1;border-radius:15px;padding:0 13px;box-shadow:0 5px 16px rgba(17,24,39,.03)}.sgmou-searchwrap span{font-size:25px;color:#798198;line-height:1}.sgmou-searchwrap input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;width:100%;min-width:0;height:100%;font-size:13px;color:#1d273d;padding:0!important}.sgmou-searchwrap input::placeholder{color:#98a0ae}
.sgmou-chips{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding:13px 2px 15px;overscroll-behavior-inline:contain}.sgmou-chips::-webkit-scrollbar{display:none}.sgmou-chips button{flex:0 0 auto;white-space:nowrap;background:#fff;border:1px solid #e7e6f0;border-radius:999px;padding:9px 13px;color:#636b7e;font-size:11px;font-weight:800;min-height:37px}.sgmou-chips button.selected{background:#242640;border-color:#242640;color:white;box-shadow:0 8px 15px rgba(28,29,54,.13)}
.sgmou-alert{font-weight:800;color:#b54708;font-size:12px}.sgmou-alert:not(:empty){padding:12px;background:#fff8ed;border:1px solid #f8ddb6;border-radius:13px;margin-bottom:11px}
.sgmou-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.sgmou-order{padding:17px 16px;background:#fdf0f1;border:1px solid #f3dce1;border-radius:25px;box-shadow:0 14px 30px rgba(17,24,39,.065);min-width:0}
.sgmou-order.is-done{background:#eefaee;border-color:#d4ebd7}
.sgmou-card-hero{display:grid;grid-template-columns:56px minmax(0,1fr) 65px;align-items:center;gap:11px}.sgmou-card-avatar{width:56px;height:56px;border-radius:50%;background:#fff;display:grid;place-items:center;border:1px solid #f1e1e2;box-shadow:0 3px 13px rgba(17,24,39,.045)}.sgmou-card-avatar span{font-size:11px;font-weight:1000;color:#ff700b}.sgmou-card-person{min-width:0}.sgmou-card-person h3{margin:0;font-size:16px;line-height:1.2;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#171827}.sgmou-card-person p{margin:5px 0 0;font-size:12px;color:#80737d;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sgmou-view-btn{border:0;border-radius:14px;background:#ffd819;color:#171923;font-size:12px;line-height:1.05;font-weight:950;min-height:49px;padding:6px 7px;box-shadow:0 8px 16px rgba(213,156,25,.23);white-space:normal}
.sgmou-card-caption{text-align:center;margin:15px 0 9px;color:#7d7281;font-weight:650;font-size:12px}
.sgmou-card-privacy{display:block;margin:0 0 13px;border:1px dashed #e0cce8;background:rgba(255,255,255,.65);border-radius:14px;padding:10px;text-align:center;font-size:11px;font-weight:700;color:#725581;line-height:1.4}.sgmou-card-privacy strong{color:#6c45b8}
.sgmou-order-pills{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin:4px 0 14px}.sgmou-pill{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;background:#fff;border-radius:999px;border:1px solid #ead8e0;font-size:11px;font-weight:850;color:#6f5a64}.sgmou-pill.is-state{color:#6750c6;background:#f5f1ff;border-color:#e6defe}.sgmou-pill.is-cod{color:#ab5407;background:#fff8eb;border-color:#f8dbb2}.sgmou-pill.is-online{color:#6845bd;background:#f4f0ff;border-color:#e5dbff}.sgmou-pill.is-paid{color:#0a8251;background:#e8fcf2;border-color:#c9efdb}.sgmou-pill.is-unpaid{color:#94620d;background:#fff8df;border-color:#f8e7ab}
.sgmou-card-value{display:flex;flex-direction:column;gap:5px;border:1px solid #eddbe1;background:rgba(255,255,255,.62);border-radius:18px;padding:14px 16px;margin-bottom:11px}.sgmou-card-value span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#8a7883;font-weight:850}.sgmou-card-value strong{font-size:27px;line-height:1.15;color:#181426;font-weight:950;letter-spacing:-.3px}.sgmou-card-value small{color:#685c67;font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sgmou-card-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.sgmou-action{min-height:42px;padding:8px 4px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:11px!important;font-weight:900;border:none;text-align:center;line-height:1.2;white-space:nowrap;color:#fff!important}.sgmou-action.is-dark{background:#16182e}.sgmou-action.is-purple{background:linear-gradient(135deg,#ff8b66,#8765ee)}.sgmou-action.is-green{background:#11a36a}.sgmou-action.is-disabled{color:#9195a2!important;background:#e9ecf3;cursor:default}
.sgmou-print-thermal{display:block;text-align:center;padding:9px 5px;margin-top:10px;background:#fff;border:1px solid #ecdfdf;border-radius:12px;color:#5e4cac!important;font-size:11px;font-weight:850}
.sgmou-more{display:flex;justify-content:center;padding:18px 0 2px}.sgmou-more button{background:#191c36;color:#fff;border:0;border-radius:14px;min-height:45px;padding:10px 24px;font-weight:850}.sgmou-more button[hidden]{display:none}
.sgmou-loading,.sgmou-empty{padding:33px 14px;text-align:center;color:#728095;background:#fff;border:1px dashed #d4d9e4;border-radius:18px;font-size:13px;line-height:1.5}
.sgmou-footer{text-align:center;padding:20px 0 10px;font-size:10px;color:#a3a9b7}
.sgmou-bottom-nav{position:fixed;z-index:15;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,560px);min-height:65px;padding:7px 7px calc(7px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;background:rgba(255,255,255,.98);border-top:1px solid #e8eaf2;box-shadow:0 -7px 25px rgba(17,24,39,.07)}
.sgmou-bottom-nav button{border:0;background:transparent;color:#8c91a0;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:49px;border-radius:13px;gap:2px}.sgmou-bottom-nav button span{font-size:22px;line-height:1}.sgmou-bottom-nav button strong{font-size:10px;font-weight:800}.sgmou-bottom-nav button.selected{color:#ff6b00;background:#fff4ed}
.sgmou-detail-backdrop{position:fixed;inset:0;background:rgba(13,18,34,.56);z-index:40;backdrop-filter:blur(2px)}.sgmou-detail-backdrop[hidden]{display:none!important}
.sgmou-detail{position:fixed;z-index:41;left:50%;bottom:0;width:min(100%,560px);height:min(94dvh,900px);border-radius:26px 26px 0 0;transform:translate(-50%,105%);visibility:hidden;transition:transform .23s ease,visibility .23s ease;background:#f8f9fc;box-shadow:0 -20px 60px rgba(15,23,42,.25);overflow:auto;overscroll-behavior:contain}.sgmou-detail.open{transform:translate(-50%,0);visibility:visible}.sgmou-modal-open{overflow:hidden!important}
.sgmou-detail-top{position:sticky;top:0;z-index:2;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px;border-bottom:1px solid #edf0f5}.sgmou-detail-top span{font-size:10px;color:#8661c9;letter-spacing:.1em;font-weight:900}.sgmou-detail-top h2{font-size:21px;margin:5px 0 0;color:#172033}.sgmou-detail-top button{flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#f1f2f6;border:0;font-size:28px;color:#18223b}
.sgmou-detail-body{padding:15px 14px calc(25px + env(safe-area-inset-bottom,0px))}.sgmou-detail-summary,.sgmou-section{background:#fff;border:1px solid #e8ecf3;border-radius:18px;margin-bottom:12px;padding:16px 14px;box-shadow:0 6px 17px rgba(22,28,55,.035)}.sgmou-section h3{margin:0 0 13px;font-size:15px;color:#15192d}.sgmou-detail-summary .sgmou-order-pills{justify-content:flex-start}
.sgmou-kv{display:grid;grid-template-columns:minmax(100px,1fr) minmax(100px,1fr);gap:10px;border-bottom:1px solid #f0f1f5;padding:9px 0;font-size:12px}.sgmou-kv:last-child{border:0}.sgmou-kv span{color:#6f7a8d;font-weight:700}.sgmou-kv strong{text-align:right;color:#182032;overflow-wrap:anywhere;font-weight:850}
.sgmou-address-label{font-size:12px;color:#6f7a8d;font-weight:800;padding-top:12px}.sgmou-address{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;padding:10px 0;color:#23283a;font-weight:650;font-size:13px}.sgmou-call-detail{display:block;text-align:center;padding:10px;background:#181b31;color:#fff!important;border-radius:11px;margin:12px 0;font-weight:800;font-size:12px}
.sgmou-product{display:flex;gap:11px;border-bottom:1px solid #edf0f5;padding:13px 0;align-items:flex-start}.sgmou-product:last-child{border:0}.sgmou-prod-img{width:58px;height:58px;flex:0 0 58px;border:1px solid #e8eaf2;border-radius:12px;background:#f7f9fc;object-fit:contain}.sgmou-prod-placeholder{display:grid;place-items:center;color:#a3a8bb;font-weight:900}.sgmou-prod-body{min-width:0;flex:1}.sgmou-prod-name{font-size:13px;font-weight:850;line-height:1.4;color:#172032}.sgmou-prod-meta{font-size:11px;color:#7b8697;margin-top:5px}.sgmou-prod-price{font-size:12px;font-weight:850;color:#1b2740;margin-top:6px}.sgmou-prod-mrp{color:#939bab;font-size:11px;font-weight:700;text-decoration:line-through;margin-left:8px}
.sgmou-detail-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}.sgmou-detail-buttons>a{display:flex;align-items:center;justify-content:center;min-height:48px;background:linear-gradient(130deg,#ff9463,#8d6bee);border-radius:13px;color:#fff!important;font-size:13px;font-weight:900}.sgmou-detail-buttons>a:last-child{background:#171b31}
.sgmou-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.sgmou-login{max-width:430px;margin:8vh auto;padding:24px 20px;background:#fff;border:1px solid #e8ebf3;border-radius:20px;box-shadow:0 18px 45px rgba(17,24,39,.07);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.sgmou-login-symbol{width:50px;height:50px;border-radius:14px;background:linear-gradient(135deg,#ff900c,#8160ed);color:white;display:grid;place-items:center;font-size:25px;font-weight:950}.sgmou-login h2{margin:15px 0 4px}.sgmou-login p{color:#69748a}.sgmou-login label{display:block;font-weight:800;font-size:12px}.sgmou-login input[type=text],.sgmou-login input[type=password]{display:block;width:100%;background:#f7f9fb;border:1px solid #dde3ec;border-radius:10px;min-height:43px;padding:10px;margin:5px 0 10px}.sgmou-login input[type=submit]{background:#ff6b00;color:#fff;border:0;border-radius:12px;padding:12px 20px;font-weight:800}
@media(min-width:650px){.sgmou-app{padding:16px 20px 90px}.sgmou-header-card{top:12px}.sgmou-order{padding:22px}.sgmou-card-hero{grid-template-columns:68px minmax(0,1fr) 74px}.sgmou-card-avatar{width:68px;height:68px}.sgmou-view-btn{min-height:52px}.sgmou-detail{height:min(90dvh,850px)}}
@media(max-width:365px){.sgmou-app{padding-left:9px;padding-right:9px}.sgmou-card-hero{grid-template-columns:50px minmax(0,1fr) 60px;gap:7px}.sgmou-card-avatar{width:50px;height:50px}.sgmou-order{padding:14px 12px}.sgmou-card-person h3{font-size:14px}.sgmou-stat{padding:13px 11px;min-height:137px}.sgmou-stat-label{font-size:12px}.sgmou-card-value strong{font-size:24px}}
@media(prefers-reduced-motion:reduce){.sgmou-root *, .sgmou-detail{transition:none!important;animation:none!important}}

/* v1.3.0 mobile UI: screenshot-style parcel cards and centered order-items dialog */
.sgmou-root .sgmou-media-icon,.sgmou-root .sgmou-ui-image{display:block;object-fit:contain;max-width:100%;max-height:100%}
.sgmou-root .sgmou-stat-icon .sgmou-media-icon{width:29px;height:29px}
.sgmou-root .sgmou-nav-visual{width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:23px}
.sgmou-root .sgmou-nav-visual .sgmou-media-icon{width:26px;height:26px}
.sgmou-root .sgmou-card-avatar .sgmou-ui-image{height:80%;width:80%;object-fit:contain;border-radius:50%}
.sgmou-root .sgmou-card-avatar .sgmou-icon-fallback{font-size:11px;font-weight:850}
.sgmou-root .sgmou-card-hero{grid-template-columns:57px minmax(0,1fr) 91px}
.sgmou-root .sgmou-view-btn{min-height:47px;border-radius:14px;font-size:12px;white-space:nowrap;line-height:1.2;padding:8px 9px}
.sgmou-root .sgmou-card-address{padding:10px 12px;margin:12px 0;border-radius:14px;border:1px dashed #d9d4f0;background:#f2efffe0;text-align:center;color:#7655ca;font-weight:800;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.sgmou-root .sgmou-card-privacy{display:none}
.sgmou-root .sgmou-card-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
.sgmou-root .sgmou-action{min-height:44px;border-radius:14px;color:#fff!important}
.sgmou-root .sgmou-action.is-map{background:#fff;color:#24293a!important;border:1px solid #d5d8e3}
.sgmou-root .sgmou-payment-ribbon{border-radius:15px;padding:12px 10px;margin-top:12px;text-align:center;background:linear-gradient(110deg,#ff9471,#9867f0);color:#fff;font-size:12px;font-weight:900;line-height:1.4;overflow-wrap:anywhere}
.sgmou-root .sgmou-order.is-done{background:linear-gradient(165deg,#edfaef 0%,#fff 100%);border-color:#cde8d5}
.sgmou-root .sgmou-order.is-done .sgmou-card-value{border-color:#d9eade}
.sgmou-root .sgmou-order.is-done .sgmou-payment-ribbon{background:linear-gradient(110deg,#54bd9b,#8d70dc)}
.sgmou-root .sgmou-bottom-nav{box-shadow:0 -10px 30px rgba(24,33,52,.12);padding-top:8px;min-height:68px;z-index:20}
.sgmou-root .sgmou-bottom-nav button{gap:4px}
.sgmou-root .sgmou-bottom-nav button .sgmou-icon-fallback{font-size:23px;font-weight:800;line-height:1}
/* Dialog centered like Parcel Scan Panel screenshot, no desktop sidebar. */
.sgmou-root .sgmou-detail{left:50%;top:50%;bottom:auto;width:calc(100vw - 26px);max-width:530px;height:auto;max-height:calc(100dvh - 38px);border-radius:27px;background:#fff;transform:translate(-50%,-46%) scale(.96);opacity:0;visibility:hidden;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 25px 70px rgba(12,18,30,.28);transition:transform .2s ease,opacity .2s ease,visibility .2s ease}
.sgmou-root .sgmou-detail.open{transform:translate(-50%,-50%) scale(1);opacity:1;visibility:visible}
.sgmou-root .sgmou-detail-top{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;padding:26px 18px 8px;border-bottom:0;gap:6px}
.sgmou-root .sgmou-detail-symbol{width:72px;height:72px;display:flex;align-items:center;justify-content:center;background:#f3f1ff;border-radius:23px;font-size:34px;color:#8173b9}
.sgmou-root .sgmou-detail-symbol .sgmou-media-icon{width:45px;height:45px}
.sgmou-root .sgmou-detail-top h2{font-size:22px;font-weight:900;line-height:1.2;margin:9px 0 4px;color:#101829}
.sgmou-root .sgmou-detail-top button{position:absolute;right:13px;top:13px;width:41px;height:41px;border-radius:50%;background:#f6f7fb;color:#111b2a;font-size:23px;box-shadow:0 7px 22px rgba(15,23,42,.07)}
.sgmou-root .sgmou-detail-body{padding:12px 15px 22px}
.sgmou-root .sgmou-popup-summary{display:grid;gap:8px;margin-bottom:15px}
.sgmou-root .sgmou-popup-summary .sgmou-kv{grid-template-columns:80px minmax(0,1fr);background:#f8f9fc;border:1px solid #e8ebf2;border-radius:12px;padding:12px 13px;font-size:13px;align-items:center}
.sgmou-root .sgmou-popup-summary .sgmou-kv strong{font-weight:900;font-size:13px}
.sgmou-root .sgmou-modal-products{display:grid;gap:10px;margin-bottom:14px}
.sgmou-root .sgmou-product{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;min-height:89px;padding:10px;background:#fff;border:1px solid #ececf1;border-radius:17px;box-shadow:0 7px 18px rgba(13,19,32,.045)}
.sgmou-root .sgmou-prod-img{width:64px;height:68px;min-height:68px;flex:none;border:0;background:#fff;object-fit:contain;border-radius:11px}
.sgmou-root .sgmou-prod-placeholder{display:flex;align-items:center;justify-content:center;background:#f8fafc;color:#8a91a1;font-size:27px}
.sgmou-root .sgmou-fallback-image{max-width:47px;max-height:47px;object-fit:contain}
.sgmou-root .sgmou-prod-body{min-width:0}
.sgmou-root .sgmou-prod-name{font-size:14px;line-height:1.36;font-weight:850;overflow-wrap:anywhere}
.sgmou-root .sgmou-prod-meta{font-size:11px;font-weight:700;color:#7c889b;margin-top:5px}
.sgmou-root .sgmou-prod-unit{font-size:10px;color:#2f3850;font-weight:800;margin-top:5px}
.sgmou-root .sgmou-prod-mrp{font-size:10px;margin-left:5px}
.sgmou-root .sgmou-prod-qty{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:7px;white-space:nowrap;padding-left:3px;font-size:11px}
.sgmou-root .sgmou-prod-qty strong{font-size:12px;font-weight:850;color:#1b2437}
.sgmou-root .sgmou-prod-qty b{font-size:12px;color:#182032}
.sgmou-root .sgmou-info-fold{background:#fff;border:1px solid #e9edf4;border-radius:14px;margin:10px 0;overflow:hidden}
.sgmou-root .sgmou-info-fold summary{list-style:none;cursor:pointer;padding:14px 15px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-weight:850;color:#1b2234;font-size:13px}
.sgmou-root .sgmou-info-fold summary::-webkit-details-marker{display:none}
.sgmou-root .sgmou-info-fold[open] summary{border-bottom:1px solid #edf0f4}
.sgmou-root .sgmou-info-fold>div{padding:6px 14px 14px}
.sgmou-root .sgmou-info-fold .sgmou-order-pills{justify-content:flex-start;margin:10px 0}
.sgmou-root .sgmou-detail-buttons{margin-top:12px}
.sgmou-root .sgmou-detail-buttons>a{min-height:44px}
@media(max-width:370px){.sgmou-root .sgmou-card-hero{grid-template-columns:49px minmax(0,1fr) 79px;gap:8px}.sgmou-root .sgmou-card-avatar{width:49px;height:49px}.sgmou-root .sgmou-product{grid-template-columns:54px minmax(0,1fr) auto;gap:7px;padding:8px}.sgmou-root .sgmou-prod-img{width:54px;height:58px;min-height:58px}.sgmou-root .sgmou-prod-name{font-size:12px}.sgmou-root .sgmou-prod-qty b{font-size:11px}.sgmou-root .sgmou-detail-body{padding:9px 11px 17px}}
@media(min-width:650px){.sgmou-root .sgmou-detail{max-height:88dvh}}
@media(prefers-reduced-motion:reduce){.sgmou-root .sgmou-detail{transition:none}}

/* v1.4.0 — touch-friendly premium stat filters, scoped to this addon only. */
.sgmou-standalone{background:#f1f3fb}
.sgmou-root{
  background:radial-gradient(ellipse 95% 350px at 80% -60px,rgba(198,185,255,.19),transparent 76%),
             radial-gradient(ellipse 72% 270px at -8% 270px,rgba(188,242,218,.18),transparent 76%),
             #f3f5fc;
}
.sgmou-root .sgmou-stat{
  appearance:none;-webkit-appearance:none;width:100%;text-align:left;color:#151a2d;
  cursor:pointer;touch-action:manipulation;
  box-shadow:0 10px 30px rgba(30,34,74,.065),inset 0 1px 0 rgba(255,255,255,.75);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  -webkit-tap-highlight-color:transparent;
}
.sgmou-root .sgmou-stat.is-mint{
  background:linear-gradient(145deg,var(--sgmou-color-all,#dcf7e9) 0%,#fff 83%);border-color:#c8e8d8
}
.sgmou-root .sgmou-stat.is-pink{
  background:linear-gradient(145deg,var(--sgmou-color-cod,#ffe3ec) 0%,#fff 83%);border-color:#f3d2e0
}
.sgmou-root .sgmou-stat.is-violet{
  background:linear-gradient(145deg,var(--sgmou-color-online,#ebe7ff) 0%,#fff 83%);border-color:#ddd4ff
}
.sgmou-root .sgmou-stat.is-peach{
  background:linear-gradient(145deg,var(--sgmou-color-unpaid,#fff0dc) 0%,#fff 83%);border-color:#f4dfc0
}
.sgmou-root .sgmou-stat:before{
  content:"";position:absolute;right:-38px;top:-54px;width:125px;height:125px;
  background:radial-gradient(circle,rgba(255,255,255,.87),rgba(255,255,255,0) 72%);
  border-radius:50%;pointer-events:none
}
.sgmou-root .sgmou-stat.is-active{
  border-color:#8673df;box-shadow:0 12px 30px rgba(82,66,167,.16),inset 0 0 0 1px rgba(124,92,255,.4)
}
.sgmou-root .sgmou-stat.is-active:after{
  content:"✓";position:absolute;right:12px;top:12px;font-size:11px;line-height:22px;
  height:22px;width:22px;text-align:center;border-radius:50%;background:#7161c9;color:#fff;font-weight:900
}
.sgmou-root .sgmou-stat:focus-visible{
  outline:3px solid #7662d9;outline-offset:2px
}
.sgmou-root .sgmou-stat:active{transform:scale(.979)}
@media(hover:hover){.sgmou-root .sgmou-stat:hover{transform:translateY(-2px);box-shadow:0 15px 33px rgba(30,34,74,.13)}}
.sgmou-root .sgmou-stat .sgmou-stat-icon{
  position:relative;z-index:1;box-shadow:0 4px 12px rgba(37,46,83,.075);
  width:43px;height:43px;border-radius:13px
}
.sgmou-root .sgmou-stat strong{position:relative;z-index:1}
.sgmou-root .sgmou-stat small{font-size:10px}
.sgmou-root .sgmou-list-head h1{scroll-margin-top:124px}
.sgmou-root .sgmou-grid>.sgmou-order{
  animation:sgmou-item-appear .2s ease-out both
}
@keyframes sgmou-item-appear{
  from{opacity:.15;transform:translateY(7px)}
  to{opacity:1;transform:translateY(0)}
}
/* No more empty indistinguishable squares if a source thumbnail URL is absent/blocked. */
.sgmou-root .sgmou-prod-placeholder{
  flex-direction:column;gap:1px;color:#9294ac;border:1px dashed #d8dbea;background:#f1f4f9;
  font-size:21px;overflow:hidden
}
.sgmou-root .sgmou-prod-placeholder small{
  display:block;font-size:8px;line-height:1;color:#8993a7;font-weight:700;white-space:nowrap
}
.sgmou-root .sgmou-prod-img:not(.sgmou-prod-placeholder){
  background:#fff;border:1px solid #edf0f5;object-fit:contain;object-position:center;
  color:#6b7280
}
@media(prefers-reduced-motion:reduce){
 .sgmou-root .sgmou-grid>.sgmou-order{animation:none!important}
 .sgmou-root .sgmou-stat{transition:none!important}
}

/* v1.5.0 — photo-only header, strict branch 24h counters, status actions and 90-day profile. */
.sgmou-root [hidden]{display:none!important}
.sgmou-root .sgmou-header-logo-only{padding:12px 14px;top:8px}
.sgmou-root .sgmou-header-logo-only .sgmou-logo{border:0;padding:0;min-height:49px}
.sgmou-root .sgmou-header-logo-only .sgmou-logo img{max-height:66px;max-width:90%;object-fit:contain}
.sgmou-root .sgmou-stat small{font-size:11px}
.sgmou-root .sgmou-status-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 0}
.sgmou-root .sgmou-status-actions button{min-height:46px;border:1px solid transparent;border-radius:14px;font-size:12px;font-weight:850;padding:10px 9px;line-height:1.2}
.sgmou-root .sgmou-status-actions .sgmou-pack-btn{background:linear-gradient(130deg,#13a56c,#0b875f);color:#fff;box-shadow:0 7px 20px rgba(7,142,91,.15)}
.sgmou-root .sgmou-status-actions .sgmou-cancel-btn{background:#fff;color:#c74353;border-color:#f0cbd1}
.sgmou-root .sgmou-status-actions button:focus-visible{outline:3px solid #8269f7;outline-offset:2px}
.sgmou-root .sgmou-detail .sgmou-status-actions{margin-top:12px}
.sgmou-root .sgmou-detail-buttons{display:grid;grid-template-columns:1fr}
.sgmou-root .sgmou-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr));padding-inline:3px}
.sgmou-root .sgmou-bottom-nav button{padding:7px 1px!important;min-width:0}
.sgmou-root .sgmou-bottom-nav strong{font-size:10px!important;white-space:nowrap}
.sgmou-root .sgmou-bottom-nav .sgmou-nav-visual{width:24px;height:25px;font-size:22px}
.sgmou-root .sgmou-bottom-nav .sgmou-nav-visual .sgmou-media-icon{width:23px;height:23px}
.sgmou-root .sgmou-profile-view{min-width:0;padding:4px 0 35px}
.sgmou-root .sgmou-profile-hero{text-align:center;padding:26px 20px 22px;background:linear-gradient(155deg,#fff,#f1edff);border-radius:24px;border:1px solid #e9e3ff;box-shadow:0 13px 28px rgba(35,32,81,.08)}
.sgmou-root .sgmou-profile-picture{display:grid;place-items:center;border-radius:24px;width:72px;height:72px;background:#fff;color:#775ed6;box-shadow:0 7px 18px #4c439318;margin:0 auto 12px;font-size:35px}
.sgmou-root .sgmou-profile-picture img{width:50px;height:50px;object-fit:contain}
.sgmou-root .sgmou-profile-hero h1{font-size:23px;margin:8px 0 13px}
.sgmou-root .sgmou-profile-hero>strong{font-size:17px;display:block}
.sgmou-root .sgmou-profile-hero>p{font-size:12px;margin:6px 0 12px;color:#788095;overflow-wrap:anywhere}
.sgmou-root .sgmou-profile-branch{display:inline-block;background:#e8f8ef;border:1px solid #d3ebde;color:#148052;padding:8px 14px;border-radius:20px;font-size:12px;font-weight:850}
.sgmou-root .sgmou-profile-section{margin-top:17px;padding:18px 14px;border-radius:23px;border:1px solid #e5e8f4;background:#fff;box-shadow:0 8px 22px #19233a0b}
.sgmou-root .sgmou-profile-section h2{font-size:19px;margin:0 0 4px}
.sgmou-root .sgmou-profile-section>p{margin:0 0 15px;color:#8189a0;font-size:12px}
.sgmou-root .sgmou-profile-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sgmou-root .sgmou-profile-metric{display:flex;flex-direction:column;gap:6px;padding:16px 13px;border-radius:16px;border:1px solid #e4e8f5;background:linear-gradient(145deg,#f4f2ff,#fff)}
.sgmou-root .sgmou-profile-metric span{font-size:11px;color:#68748b;font-weight:700}
.sgmou-root .sgmou-profile-metric strong{font-size:25px;font-weight:950;color:#222740}
.sgmou-root .sgmou-profile-metric.is-total{grid-column:1/-1;background:linear-gradient(145deg,#e7f8ee,#fff);border-color:#d5eddd}
.sgmou-root .sgmou-profile-logout{display:block;margin:20px 4px;text-align:center;padding:13px;background:#fff;border:1px solid #f6d3d7;border-radius:16px;font-weight:850;color:#c7424e!important}
.sgmou-root .sgmou-confirm-backdrop{position:fixed;z-index:90;inset:0;background:#14182b9c;backdrop-filter:blur(3px)}
.sgmou-root .sgmou-confirm{z-index:91;position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100% - 34px));padding:24px 20px;border-radius:25px;background:#fff;box-shadow:0 25px 60px #121b2b44;text-align:center}
.sgmou-root .sgmou-confirm-icon{width:62px;height:62px;margin:0 auto 10px;display:grid;place-items:center;border-radius:20px;background:#fff2df;color:#e28c0d;font-size:32px;font-weight:900}
.sgmou-root .sgmou-confirm h2{margin:0 0 10px;font-size:20px}
.sgmou-root .sgmou-confirm p{font-size:13px;line-height:1.6;color:#5b667d}
.sgmou-root .sgmou-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.sgmou-root .sgmou-confirm-actions button{min-height:47px;border-radius:13px;border:1px solid #e2e6f0;font-weight:850;background:#fff;color:#283047}
.sgmou-root .sgmou-confirm-actions button:last-child{background:#191e3c;color:#fff;border-color:#191e3c}
.sgmou-root .sgmou-confirm-actions button:disabled{opacity:.6}

/* v1.5.1 — customer avatar removed; clean two-column mobile order headline. */
.sgmou-root .sgmou-card-hero{grid-template-columns:minmax(0,1fr) 112px;gap:12px;align-items:center;min-height:54px}
.sgmou-root .sgmou-card-person h3{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.25}
.sgmou-root .sgmou-view-btn{width:100%;min-height:48px;white-space:nowrap;padding:8px}
@media(max-width:370px){.sgmou-root .sgmou-card-hero{grid-template-columns:minmax(0,1fr) 99px;gap:7px}.sgmou-root .sgmou-view-btn{font-size:11px}}

.sgmou-root .sgmou-tax-included{text-align:center;font-size:11px;color:#6d7486;margin:8px 0 1px}

/* v1.5.2 — isolated mobile status pages (New / Packed / Cancelled). */
.sgmou-root .sgmou-status-page-head{
  display:flex;align-items:center;gap:14px;padding:12px 4px 21px;
  min-height:79px;margin:0 0 8px;border-bottom:1px solid #e3e8f2;
}
.sgmou-root .sgmou-status-back{
  border:0;background:#fff;border-radius:15px;flex:0 0 48px;width:48px;height:48px;
  display:grid;place-items:center;font-size:38px;line-height:1;color:#153f61;
  box-shadow:0 5px 18px rgba(25,40,64,.07);
}
.sgmou-root .sgmou-status-headings{min-width:0}
.sgmou-root .sgmou-status-headings h1{margin:0;font-size:24px;font-weight:900;line-height:1.18;color:#193d5a}
.sgmou-root .sgmou-status-headings p{margin:5px 0 0;color:#748095;font-size:12px;font-weight:750}
.sgmou-root .sgmou-status-back:focus-visible{outline:3px solid #7c5cff;outline-offset:3px}
@media(max-width:375px){.sgmou-root .sgmou-status-headings h1{font-size:21px}}


/* v1.5.3 — bottom navigation remains accessible on all status pages.
   Keep the list above Android navigation / safe-area without covering order buttons. */
.sgmou-root .sgmou-bottom-nav{display:grid!important}
.sgmou-root [hidden]{display:none!important}
.sgmou-root .sgmou-main{padding-bottom:calc(95px + env(safe-area-inset-bottom,0px))}
.sgmou-root .sgmou-bottom-nav button:focus-visible{outline:2px solid #7c5cff;outline-offset:-2px}


/* v1.5.4: content-matched shimmer, 10-item scroll pagination, isolated on branch panel. */
.sgmou-root .sgmou-page-loader{margin-top:14px}
.sgmou-root .sgmou-skeleton-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.sgmou-root .sgmou-skeleton{
  padding:17px 16px 18px;border-radius:25px;
  border:1px solid #f2e2e8;background:linear-gradient(160deg,#fff4f6,#fff);
  box-shadow:0 12px 28px rgba(17,24,39,.045);min-height:295px;
}
.sgmou-root .sgmou-skeleton-head{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.sgmou-root .sgmou-skeleton-text{display:grid;gap:9px;flex:1;min-width:0}
.sgmou-root .sgmou-skel-bar{
  position:relative;display:block;height:14px;overflow:hidden;
  border-radius:9px;background:#e8e8ef;isolation:isolate;flex:none
}
.sgmou-root .sgmou-skel-bar:after{
  content:"";position:absolute;inset:0;transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.87),transparent);
  animation:sgmou-card-shine 1.35s ease-in-out infinite
}
.sgmou-root .sgmou-skel-bar.w-75{width:75%}
.sgmou-root .sgmou-skel-bar.w-65{width:65%}
.sgmou-root .sgmou-skel-bar.w-48{width:48%}
.sgmou-root .sgmou-skel-bar.skel-button{width:106px;height:43px;border-radius:14px}
.sgmou-root .sgmou-skel-bar.skel-center{width:55%;height:10px;margin:17px auto 11px}
.sgmou-root .sgmou-skel-bar.skel-address{height:38px;width:100%;border-radius:14px}
.sgmou-root .sgmou-skeleton-chips{display:flex;justify-content:center;gap:9px;margin:13px auto}
.sgmou-root .sgmou-skel-bar.skel-pill{width:75px;height:25px;border-radius:40px}
.sgmou-root .sgmou-skeleton-total{display:grid;gap:11px;padding:16px;margin:10px 0;border-radius:17px;border:1px solid #ede7eb;background:#fff}
.sgmou-root .sgmou-skeleton-total .sgmou-skel-bar:last-child{height:26px}
.sgmou-root .sgmou-skeleton-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.sgmou-root .sgmou-skeleton-actions .sgmou-skel-bar{height:41px;border-radius:12px}
.sgmou-root .sgmou-loading-center{display:flex;align-items:center;justify-content:center;gap:10px;padding:15px 6px;color:#525d73;font-size:12px;font-weight:800}
.sgmou-root .sgmou-loading-wheel{display:block;width:23px;height:23px;border:3px solid #ede8ff;border-top-color:#8167e7;border-radius:50%;animation:sgmou-wheel .8s linear infinite}
.sgmou-root .sgmou-scroll-sentinel{height:1px;pointer-events:none}
.sgmou-root .sgmou-page-loader[hidden],.sgmou-root .sgmou-scroll-sentinel[hidden]{display:none!important}
@keyframes sgmou-card-shine{to{transform:translateX(100%)}}
@keyframes sgmou-wheel{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
 .sgmou-root .sgmou-skel-bar:after,.sgmou-root .sgmou-loading-wheel{animation:none!important}
}

.sgmou-root .sgmou-inline-retry{display:inline-flex;margin:10px 0 0;padding:9px 18px;min-height:41px;background:#202440;border:0;border-radius:12px;color:white;font-weight:800}

.sgmou-root .sgmou-skeleton{position:relative}
.sgmou-root .sgmou-skeleton-spinner{position:absolute;left:50%;top:51%;transform:translate(-50%,-50%);width:51px;height:51px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.93);box-shadow:0 6px 20px rgba(29,30,58,.1);pointer-events:none}
.sgmou-root .sgmou-detail-skeleton{display:grid;gap:11px}
.sgmou-root .sgmou-detail-skeleton-info{display:grid;gap:9px}
.sgmou-root .sgmou-detail-skeleton-info .sgmou-skel-bar{height:48px;border-radius:13px;width:100%}
.sgmou-root .sgmou-detail-skeleton-item{display:flex;align-items:center;gap:12px;border:1px solid #ececf2;border-radius:15px;padding:10px;background:#fff}
.sgmou-root .sgmou-detail-skeleton-item>.is-photo{width:62px;height:65px;border-radius:12px}
.sgmou-root .sgmou-detail-skeleton-item>div{flex:1;display:grid;gap:9px}
.sgmou-root .sgmou-detail-skeleton-item>.is-price{width:44px;height:18px}
.sgmou-root .sgmou-profile-skeleton{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sgmou-root .sgmou-profile-skeleton-tile{display:grid;gap:12px;border-radius:17px;background:linear-gradient(145deg,#f3f0ff,#fff);padding:16px 13px;border:1px solid #e5e6f3}
.sgmou-root .sgmou-profile-skeleton-tile .sgmou-skel-bar:last-child{height:27px}
.sgmou-root .sgmou-profile-skeleton .sgmou-loading-center{grid-column:1/-1}

.sgmou-loading-wheel,.sgmou-skeleton-spinner{display:none!important;}
.sgmou-loading-center{display:flex;align-items:center;justify-content:center;gap:8px;min-height:32px;font-size:12px;font-weight:800;color:#6f7892;padding:8px 0 2px;}
.sgmou-skeleton-stack{display:grid;gap:14px;}
.sgmou-skeleton{position:relative;overflow:hidden;border-radius:24px;border:1px solid #ece1e5;background:linear-gradient(180deg,#fff8fa 0%,#fff 100%);box-shadow:0 12px 28px rgba(17,24,39,.05);padding:17px 16px;}

/* v1.5.6 compact home */
.sgmou-chips{display:none!important;}
#sgmou-home-controls .sgmou-searchwrap{margin-bottom:6px;}
.sgmou-list-head .sgmou-home-note{display:none;}

/* v1.5.7: exact 24h counts use a brief motion-only reveal from JS, no CSS count-up
   and no background refresh. Text numbers are always exact from the response. */
.sgmou-root .sgmou-stat strong{font-variant-numeric:tabular-nums;will-change:auto}

/* v1.5.8 – smaller, calmer title with the same Back + branch-name status page. */
.sgmou-root .sgmou-status-page-head{
  min-height:66px;padding:9px 3px 15px;gap:11px;margin-bottom:7px;
}
.sgmou-root .sgmou-status-back{
  width:46px;height:46px;flex-basis:46px;border-radius:14px;font-size:34px;
}
.sgmou-root .sgmou-status-headings h1{
  font-size:21px;line-height:1.2;font-weight:850;letter-spacing:-.35px;
}
.sgmou-root .sgmou-status-headings p{font-size:11px;margin-top:4px}
@media(max-width:375px){.sgmou-root .sgmou-status-headings h1{font-size:19px}}
