:root{
  --orange:#ffab4e;
  --teal:#3eaaac;
  --navy:#011547;
  --red:#e73218;
  --bg:#f4f6fa;
  --card:#ffffff;
  --ink:#011547;
  --muted:#657089;
  --line:#d4dae6;
  --soft:#eef2f7;
}
*{box-sizing:border-box;border-radius:0!important}
[hidden]{display:none!important}
html{background:var(--bg);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.5}
button,input,select,textarea{font:inherit;color:inherit}
button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
a{color:inherit}
.app-page{min-height:100vh;padding-bottom:94px}
.header{background:var(--navy);color:#fff;border-bottom:5px solid var(--orange)}
.header-inner{width:100%;max-width:760px;margin:auto;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{font-size:24px;font-weight:950;letter-spacing:-.04em;line-height:1}.brand small{display:block;font-weight:750;font-size:11px;color:var(--orange);margin:5px 0 0;letter-spacing:.02em}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.account-line{text-align:right;font-size:12px;color:#dce4f7;max-width:180px}.account-line strong{display:block;font-size:13px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shell{width:100%;max-width:760px;margin:auto;padding:14px 12px 34px}
.menu-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border-left:1px solid var(--line);border-top:1px solid var(--line);margin:0 0 18px}
.menu-btn{min-width:0;min-height:72px;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;padding:8px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;font-size:11.5px;font-weight:850;line-height:1.1;text-align:center;color:var(--navy)}
.menu-btn .ico{font-size:23px;line-height:1}.menu-btn.active{background:var(--navy);color:#fff;box-shadow:inset 0 -4px 0 var(--orange)}.menu-btn:active{background:#e9edf5}.menu-btn.active:active{background:var(--navy)}
.content{animation:fade .16s ease}@keyframes fade{from{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:none}}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:18px 0 10px}.section-head h1,.section-head h2{margin:0;color:var(--navy)}.section-head h1{font-size:22px;line-height:1.2}.section-head h2{font-size:18px}.section-head p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.4}
.kpis{display:block;margin:0 0 15px;border:1px solid var(--line);background:#fff}.kpi{padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);background:#fff}.kpi:last-child{border-bottom:0}.kpi small{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;font-weight:850;letter-spacing:.02em}.kpi strong{display:block;font-size:17px;margin:0;word-break:break-word;text-align:right;color:var(--navy)}
.card{background:#fff;border:1px solid var(--line);padding:14px;margin-bottom:12px}.card.compact{padding:12px}.card-title{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.card-title h3{margin:0;font-size:16px;line-height:1.35}.muted{color:var(--muted);font-size:13px}
.badge{display:inline-block;border:1px solid var(--line);padding:4px 7px;font-weight:850;font-size:10px;text-transform:uppercase;background:#fff;white-space:nowrap}.badge.ok{color:#21797a;border-color:var(--teal)}.badge.warn{color:#8c4d08;border-color:var(--orange);background:#fff8ed}.badge.danger{color:var(--red);border-color:var(--red)}.badge.blue{color:var(--navy);border-color:#8794b3;background:#f4f6fb}
.btn{border:1px solid var(--navy);background:#fff;color:var(--navy);padding:11px 13px;font-weight:850;cursor:pointer;min-height:44px;font-size:14px;line-height:1.2}.btn.primary{background:var(--orange);border-color:var(--orange);color:var(--navy)}.btn.secondary{background:var(--teal);border-color:var(--teal);color:#fff}.btn.ok{background:var(--teal);border-color:var(--teal);color:#fff}.btn.warn{background:var(--orange);border-color:var(--orange);color:var(--navy)}.btn.danger{background:var(--red);border-color:var(--red);color:#fff}.btn.soft{background:var(--soft);border-color:var(--line)}.btn.block{width:100%}.btn.small{padding:8px 10px;min-height:38px;font-size:12.5px}.btn:disabled{opacity:.48;cursor:not-allowed}
.actions{display:flex;gap:8px;flex-wrap:wrap}.actions .btn{flex:0 0 auto}.action-grid{display:grid;grid-template-columns:1fr;gap:8px}.action-grid .btn{width:100%}
.input,.select,.textarea{width:100%;border:1px solid #aab4c7;background:#fff;padding:11px 12px;outline:none;min-height:46px;font-size:16px}.input:focus,.select:focus,.textarea:focus{border-color:var(--teal);box-shadow:inset 0 0 0 1px var(--teal)}.textarea{min-height:92px;resize:vertical}.textarea-short{min-height:110px}.field{margin-bottom:14px}.field label{display:block;font-weight:850;font-size:13px;margin-bottom:6px}.field .help,.help{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.4}.form-grid{display:block}.form-grid .field{margin-bottom:14px}.form-grid .span-2{display:block}
.hr{height:1px;background:var(--line);margin:16px 0}
.product-grid{display:grid;grid-template-columns:1fr;gap:12px}.product-card{background:#fff;border:1px solid var(--line);display:flex;flex-direction:column;min-width:0}.product-img{height:170px;background:#edf1f8;display:flex;align-items:center;justify-content:center;overflow:hidden;border-bottom:1px solid var(--line);font-size:34px;font-weight:950;color:var(--navy)}.product-img img{width:100%;height:100%;object-fit:cover}.product-body{padding:14px;display:flex;flex-direction:column;gap:7px;flex:1}.product-body h3{font-size:17px;margin:0;line-height:1.3}.product-price{font-size:19px;font-weight:950;color:var(--navy)}.product-meta{font-size:13px;color:var(--muted);line-height:1.55}.product-meta strong{color:var(--teal)}
.order-items{display:grid;gap:9px;margin:12px 0}.order-item{display:grid;grid-template-columns:52px 1fr auto;gap:10px;align-items:center;border-top:1px solid var(--line);padding-top:9px}.order-item:first-child{border-top:0;padding-top:0}.mini-img{width:52px;height:52px;background:#edf1f8;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:950;overflow:hidden;color:var(--navy)}.mini-img img{width:100%;height:100%;object-fit:cover}.order-item strong{display:block;font-size:14px}.order-item span{display:block;font-size:12px}
.money-grid{display:block;border:1px solid var(--line);margin-top:11px}.money-cell{padding:10px 12px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:center}.money-cell:last-child{border-bottom:0}.money-cell small{display:block;color:var(--muted);font-size:11px;text-transform:uppercase}.money-cell strong{display:block;margin:0;font-size:14px;text-align:right}.money-cell.due strong{color:var(--red);font-size:15px}
.timeline{border-left:2px solid var(--teal);margin:14px 0 0 5px;padding-left:14px}.time-item{position:relative;padding:0 0 13px;font-size:14px}.time-item:before{content:"";width:8px;height:8px;background:var(--orange);position:absolute;left:-19px;top:6px}.time-item:last-child{padding-bottom:0}.time-item strong{display:block;font-size:14px}.time-item small{color:var(--muted);font-size:11px}
.filter-row{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0 12px}.filter-row .btn.active{background:var(--navy);color:#fff}
.floating-cart{position:fixed;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:40;background:var(--navy);color:#fff;border:2px solid var(--orange);box-shadow:0 6px 20px rgba(1,21,71,.28);min-width:260px;max-width:calc(100vw - 24px);padding:11px 13px;display:flex;justify-content:space-between;gap:12px;align-items:center;font-weight:850;cursor:pointer;font-size:13px}.floating-cart small{display:block;color:#cbd5ec;font-weight:500;font-size:11px;margin-top:2px}.floating-cart strong{color:var(--orange);font-size:14px}
.notice{border-left:4px solid var(--teal);background:#fff;border-top:1px solid var(--line);border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:11px 12px;margin:11px 0;font-size:13.5px;line-height:1.5}.notice.warn{border-left-color:var(--orange)}.notice.ok{border-left-color:var(--teal)}.notice.danger{border-left-color:var(--red)}
.login-wrap{min-height:100vh;display:grid;place-items:center;padding:18px 12px}.login-box{width:min(460px,100%);background:#fff;border:1px solid var(--line);box-shadow:0 12px 36px rgba(1,21,71,.09)}.login-head{padding:22px 18px;background:var(--navy);color:#fff;border-bottom:5px solid var(--orange)}.login-head .brand{font-size:28px}.login-head h1{margin:18px 0 5px;font-size:26px;line-height:1.15}.login-head p{margin:0;color:#d9e1f2;font-size:14px}.login-body{padding:18px;position:relative}.login-submit{font-size:16px;min-height:50px}.login-demo{margin-top:14px;background:#f5f7fb;border:1px solid var(--line);padding:11px;font-size:12px;line-height:1.55}.form-error{margin:0 0 14px;border:1px solid var(--red);border-left:5px solid var(--red);background:#fff5f3;color:#8e1609;padding:10px 11px;font-size:14px;font-weight:750}.text-action{width:100%;border:0;background:transparent;color:var(--teal);padding:13px 4px 5px;font-size:13.5px;font-weight:850;text-decoration:underline;cursor:pointer}.login-install{margin-top:14px;border-top:1px solid var(--line);padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.login-install>div{min-width:0}.login-install strong{display:block;font-size:14px}.login-install span{display:block;color:var(--muted);font-size:12px;margin-top:2px}.login-install .btn{flex:0 0 auto}
.login-loading{position:absolute;inset:0;background:rgba(255,255,255,.96);z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;min-height:280px}.login-loading strong{font-size:18px;margin-top:14px}.login-loading span{font-size:13px;color:var(--muted);margin-top:5px;max-width:260px}.loading-spinner,.btn-spinner{display:inline-block;border:3px solid #d9dfeb;border-top-color:var(--teal);animation:spin .75s linear infinite}.loading-spinner{width:38px;height:38px}.btn-spinner{width:16px;height:16px;border-width:2px;vertical-align:-3px;margin-right:5px}@keyframes spin{to{transform:rotate(360deg)}}
.modal-layer{position:fixed;inset:0;background:rgba(1,21,71,.68);z-index:80;display:grid;place-items:end center;padding:10px}.modal{width:min(720px,100%);max-height:92vh;overflow:auto;background:#fff;border:1px solid var(--navy)}.modal-head{padding:12px 13px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between}.modal-head h3{margin:0;font-size:17px}.modal-body{padding:14px}.modal-body>.product-img{height:190px}
.qty{display:flex;align-items:center;border:1px solid var(--line);width:max-content;margin-top:7px}.qty button{border:0;background:#fff;width:40px;height:40px;font-weight:950;color:var(--navy);font-size:18px}.qty span{min-width:42px;text-align:center;font-weight:950;border-left:1px solid var(--line);border-right:1px solid var(--line);height:40px;line-height:40px;font-size:14px}
.toast{position:fixed;left:50%;top:max(12px,env(safe-area-inset-top));bottom:auto;transform:translate(-50%,-8px);z-index:120;background:var(--navy);color:#fff;border:1px solid var(--orange);padding:11px 13px;max-width:min(460px,calc(100vw - 24px));box-shadow:0 6px 20px rgba(1,21,71,.3);opacity:0;pointer-events:none;transition:.18s;font-size:13px;line-height:1.4}.toast.show{opacity:1;transform:translate(-50%,0)}
.empty{padding:28px 14px;text-align:center;background:#fff;border:1px dashed #aeb8cc;color:var(--muted);font-size:14px}
.inline-stats{display:grid;grid-template-columns:1fr;gap:4px;font-size:13px}.inline-stats span{display:flex;justify-content:space-between;border-bottom:1px solid #eef1f6;padding:5px 0}.inline-stats strong{color:var(--navy)}
.two-col{display:block}.sticky-none{position:static!important}.install-box{background:#fff;border:1px solid var(--line);padding:14px;margin-top:12px}.install-box strong{font-size:16px}.install-box p{font-size:13px;color:var(--muted)}
.editor-card{border-top:4px solid var(--teal)}
.checkout-box{background:#fff;border:1px solid var(--line);padding:14px}.checkout-list{border-bottom:1px solid var(--line);margin-bottom:13px}.checkout-item{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;padding:11px 0;border-bottom:1px solid #edf0f5;align-items:start}.checkout-item:last-child{border-bottom:0}.checkout-item-main strong{display:block;font-size:14px}.checkout-item-main>span{display:block;color:var(--muted);font-size:12px;margin-top:2px}.checkout-item-side{grid-column:2;text-align:left;min-width:0}.checkout-item-side strong{display:block;font-size:14px}.checkout-item-side small{display:block;color:var(--teal);font-weight:750;font-size:12px;margin:3px 0}.link-danger{border:0;background:transparent;color:var(--red);padding:5px 0;font-size:12px;font-weight:850;cursor:pointer}.checkout-summary{margin:0 0 13px}.checkout-summary>div,.summary-lines>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #edf0f5;font-size:14px}.checkout-summary>div:last-child,.summary-lines>div:last-child{border-bottom:0}.checkout-summary span,.summary-lines span{color:var(--muted)}.checkout-summary strong,.summary-lines strong{color:var(--navy);text-align:right}.checkout-summary>div:nth-child(2) strong{color:var(--teal);font-size:15px}.checkout-note{background:#fff7ed;border-left:4px solid var(--orange);padding:10px 11px;margin:12px 0;font-size:13px;color:#74410d}.checkout-submit{min-height:50px;font-size:16px}.danger-text{color:var(--red)!important}.customer-card{padding:14px}.customer-actions{margin-top:12px}.customer-actions .btn{flex:1 1 140px}
.list-table-wrap{overflow:auto}.list-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);font-size:13px}.list-table th,.list-table td{text-align:left;border-bottom:1px solid var(--line);padding:9px;vertical-align:top}.list-table th{background:var(--navy);color:#fff;font-size:10px;text-transform:uppercase}
.variant-list{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:8px}.variant-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.variant-row .btn{min-height:46px}
.notif-bell{position:relative;width:42px;height:42px;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;display:grid;place-items:center;padding:0;cursor:pointer;font-size:19px;flex:0 0 42px}.notif-bell.active{background:var(--orange);color:var(--navy);border-color:var(--orange)}.notif-bell b{position:absolute;right:-5px;top:-6px;min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;background:var(--red);color:#fff;border:2px solid var(--navy);font-size:9px;line-height:1;font-weight:950}
.notification-list{display:grid;gap:9px}.notification-card{width:100%;border:1px solid var(--line);background:#fff;color:var(--navy);padding:12px;display:grid;grid-template-columns:9px 1fr;gap:10px;text-align:left;cursor:pointer}.notification-card.unread{border-left:5px solid var(--orange);background:#fffaf3}.notification-dot{width:8px;height:8px;background:#bcc4d4;margin-top:6px}.notification-card.unread .notification-dot{background:var(--red)}.notification-main{min-width:0}.notification-main strong{display:block;font-size:15px;margin-bottom:3px}.notification-main p{margin:0 0 5px;font-size:13px;line-height:1.45;color:#3d4968}.notification-main small{font-size:11px;color:var(--muted)}
@media(min-width:680px){
  .shell{padding-left:18px;padding-right:18px}.header-inner{padding-left:20px;padding-right:20px}.product-img{height:220px}.modal-layer{place-items:center}.modal{max-height:88vh}.checkout-item{grid-template-columns:60px minmax(0,1fr) auto}.checkout-item-side{grid-column:auto;text-align:right}.mini-img{width:60px;height:60px}
}
@media(max-width:420px){
  body{font-size:14.5px}.header-inner{padding:12px}.brand{font-size:22px}.brand small{font-size:10px}.account-line{max-width:120px}.shell{padding-left:8px;padding-right:8px}.menu-btn{min-height:66px;font-size:10.5px;gap:5px}.menu-btn .ico{font-size:21px}.section-head h1{font-size:20px}.section-head h2{font-size:17px}.card{padding:12px}.btn{font-size:13.5px}.btn.small{font-size:12px}.login-wrap{padding:10px}.login-head{padding:20px 15px}.login-head h1{font-size:24px}.login-body{padding:15px}.login-install{align-items:stretch;flex-direction:column}.login-install .btn{width:100%}.floating-cart{min-width:240px}.order-item{grid-template-columns:48px minmax(0,1fr)}.order-item>strong{grid-column:2;text-align:left}.mini-img{width:48px;height:48px}
}
@media(max-width:350px){
  .menu-btn{min-height:62px;font-size:9.5px;padding-left:1px;padding-right:1px}.menu-btn .ico{font-size:19px}.header-actions{gap:6px}.notif-bell{width:38px;height:38px;flex-basis:38px}.account-line{max-width:100px}.section-head{align-items:flex-start;flex-direction:column}.section-head>.btn{align-self:flex-start}
}

/* KIKIPO 4.2.0 - image uploads + richer variants */
.upload-preview{width:100%;min-height:150px;border:1px dashed #9ba8bf;background:#f7f9fc;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:8px;color:var(--muted);font-size:13px;text-align:center;padding:8px}
.upload-preview img{display:block;width:100%;max-height:260px;object-fit:contain;background:#fff}
.upload-preview.small-preview{min-height:100px}
.upload-preview.small-preview img{max-height:180px}
.payment-proof-preview{min-height:180px}
.file-input{padding:8px 9px;min-height:48px;background:#fff}
.file-input::file-selector-button{border:1px solid var(--navy);background:var(--soft);color:var(--navy);font-weight:850;padding:8px 10px;margin-right:8px;cursor:pointer;border-radius:0}
.variant-list{display:block;margin-bottom:10px}
.variant-row{display:block;border:1px solid var(--line);border-left:4px solid var(--teal);padding:12px;margin-bottom:10px;background:#fbfcfe}
.variant-row:last-child{margin-bottom:0}
.variant-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}
.variant-row-head strong{font-size:14px;color:var(--navy)}
.variant-row .field:last-child{margin-bottom:0}
.payment-confirm-list{display:grid;grid-template-columns:1fr;gap:8px;margin-top:9px}
.payment-confirm-row{background:#fff;border:1px solid var(--line);padding:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.payment-confirm-row>div{min-width:0}.payment-confirm-row strong{display:block;font-size:14px}.payment-confirm-row span,.payment-confirm-row small{display:block;color:var(--muted);font-size:12px;margin-top:2px;overflow-wrap:anywhere}
.proof-loading{min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:var(--muted);text-align:center}
.proof-view{display:grid;gap:10px}.proof-view img{width:100%;height:auto;max-height:72vh;object-fit:contain;border:1px solid var(--line);background:#f4f6fa}.proof-view strong{font-size:13px;overflow-wrap:anywhere}
@media(max-width:420px){
  .upload-preview{min-height:130px}.payment-proof-preview{min-height:160px}.variant-row{padding:10px}.payment-confirm-row{align-items:stretch;flex-direction:column}.payment-confirm-row .btn{width:100%}
}


/* v4.2.1 global processing feedback */
.process-overlay{position:fixed;inset:0;z-index:99999;background:rgba(1,21,71,.28);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;visibility:hidden;transition:opacity .15s ease,visibility .15s ease;backdrop-filter:blur(1px)}
.process-overlay.show{opacity:1;visibility:visible}
.process-box{width:min(88vw,320px);background:#fff;border:2px solid #011547;box-shadow:0 10px 30px rgba(1,21,71,.2);padding:20px 18px;text-align:center;color:#011547}
.process-box strong{display:block;font-size:16px;line-height:1.35;margin-top:10px}
.process-box small{display:block;font-size:13px;line-height:1.4;margin-top:5px;color:#56627a}
.process-spinner{display:inline-block;width:30px;height:30px;border:4px solid #dfe4ec;border-top-color:#ffab4e;border-right-color:#3eaaac;animation:kikipoSpin .7s linear infinite}
@keyframes kikipoSpin{to{transform:rotate(360deg)}}
@media (max-width:480px){.process-box{width:min(92vw,300px);padding:18px 14px}.process-box strong{font-size:15px}.process-box small{font-size:12.5px}}



/* KIKIPO 4.2.3 - mobile buyer navbar, 2-column products, order filters */
.buyer-tabs{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid var(--line);margin:0 0 16px}
.buyer-tab{min-height:54px;border:0;border-right:1px solid var(--line);background:#fff;color:var(--navy);display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;font-size:14px;font-weight:900;cursor:pointer}
.buyer-tab:last-child{border-right:0}.buyer-tab .ico{font-size:20px;line-height:1}.buyer-tab.active{background:var(--navy);color:#fff;box-shadow:inset 0 -4px 0 var(--orange)}
.buyer-mobile-nav{display:none}.account-button{border:0;background:transparent;cursor:pointer;padding:4px 0;color:#dce4f7}.account-button.active strong{color:var(--orange)}
.buyer-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.buyer-product-grid .product-card{min-width:0}.buyer-product-grid .product-img{height:auto;aspect-ratio:1/1}.buyer-product-grid .product-body{padding:11px;gap:6px}.buyer-product-grid .product-body h3{font-size:15px;line-height:1.25}.buyer-product-grid .product-price{font-size:16px;line-height:1.2}.buyer-product-grid .product-meta{font-size:11.5px;line-height:1.45}.buyer-order-now{min-height:42px;margin-top:auto;font-size:12.5px}
.buyer-order-filters{background:#fff;border:1px solid var(--line);padding:12px;margin-bottom:13px}.order-filter-chips{display:flex;gap:7px;overflow-x:auto;padding:0 0 9px;scrollbar-width:none}.order-filter-chips::-webkit-scrollbar{display:none}.order-filter-chip{flex:0 0 auto;min-height:40px;border:1px solid var(--line);background:#fff;padding:8px 10px;font-size:12.5px;font-weight:900;color:var(--navy);cursor:pointer;white-space:nowrap}.order-filter-chip.active{color:#fff}.filter-all.active{background:var(--navy);border-color:var(--navy)}.filter-unpaid{border-color:rgba(231,50,24,.45);color:var(--red)}.filter-unpaid.active{background:var(--red);border-color:var(--red)}.filter-shipping{border-color:var(--orange);color:#8c4d08;background:#fff9f0}.filter-shipping.active{background:var(--orange);border-color:var(--orange);color:var(--navy)}.filter-verify{border-color:#8a6d00;color:#725a00;background:#fffce8}.filter-verify.active{background:#8a6d00;border-color:#8a6d00}.filter-transit{border-color:var(--teal);color:#21797a}.filter-transit.active{background:var(--teal);border-color:var(--teal)}.filter-process{border-color:#8794b3;color:var(--navy);background:#f4f6fb}.filter-process.active{background:#53617d;border-color:#53617d}.filter-done{border-color:#21797a;color:#21797a;background:#f2fbfb}.filter-done.active{background:#21797a;border-color:#21797a}.filter-cancelled{border-color:#777;color:#666}.filter-cancelled.active{background:#666;border-color:#666}
.order-date-filter{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end;border-top:1px solid #edf0f5;padding-top:10px}.order-date-field label{display:block;font-size:10.5px;font-weight:850;color:var(--muted);margin:0 0 4px}.order-date-field .input{min-height:42px;padding:8px;font-size:12px}.order-filter-reset{min-height:42px}.order-result-count{font-size:11.5px;color:var(--muted);margin-top:9px}.buyer-order-list{display:grid;gap:11px}
@media(max-width:679px){
  .buyer-tabs-desktop{display:none}.buyer-shell{padding-bottom:92px}.buyer-mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:55;display:grid;grid-template-columns:repeat(2,1fr);background:#fff;border-top:2px solid var(--navy);padding:5px max(8px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));box-shadow:0 -5px 18px rgba(1,21,71,.13)}
  .buyer-mobile-nav-item{min-height:56px;border:0;background:#fff;color:#65708a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:12px;font-weight:900;cursor:pointer}.buyer-mobile-nav-item .ico{font-size:22px;line-height:1}.buyer-mobile-nav-item.active{color:var(--navy);box-shadow:inset 0 3px 0 var(--orange)}
  .buyer-app .floating-cart{bottom:calc(72px + env(safe-area-inset-bottom));min-width:0;width:calc(100vw - 18px);max-width:520px}
  .buyer-product-grid{gap:8px}.buyer-product-grid .product-body{padding:9px}.buyer-product-grid .product-body h3{font-size:14.5px}.buyer-product-grid .product-price{font-size:15.5px}.buyer-product-grid .product-meta{font-size:11.5px}.buyer-order-now{min-height:42px;font-size:12.5px;padding-left:6px;padding-right:6px}
  .buyer-order-filters{padding:10px}.order-date-filter{grid-template-columns:1fr 1fr}.order-filter-reset{grid-column:1/-1;width:100%}.order-result-count{font-size:11px}
}
@media(max-width:360px){.buyer-product-grid .product-body{padding:8px}.buyer-product-grid .product-body h3{font-size:14px}.buyer-product-grid .product-price{font-size:15px}.buyer-product-grid .product-meta{font-size:11px}.buyer-order-now{font-size:12px}.order-date-filter{grid-template-columns:1fr}.order-filter-reset{grid-column:auto}}


/* KIKIPO 4.2.4 - compact, obvious, mobile-first buyer experience */
.buyer-store-head,.buyer-orders-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 12px}.buyer-store-head h1,.buyer-orders-head h1{font-size:22px;line-height:1.15;margin:2px 0 3px;color:var(--navy)}.buyer-store-head p,.buyer-orders-head p{font-size:13.5px;line-height:1.45;color:var(--muted);margin:0;max-width:520px}.buyer-store-kicker{display:block;font-size:11px;line-height:1.2;font-weight:950;letter-spacing:.08em;color:#21797a}.buyer-product-count{flex:0 0 auto;font-size:12px;font-weight:900;color:var(--navy);background:#fff;border:1px solid var(--line);padding:7px 9px}
.buyer-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.buyer-product-card{position:relative;display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e2e6ee;box-shadow:0 1px 3px rgba(1,21,71,.06)}.buyer-product-media{position:relative;cursor:pointer}.buyer-product-card .product-img{height:auto;aspect-ratio:1/1;border:0;border-bottom:1px solid #eef1f5;background:#f6f7f9}.ready-po-chip{position:absolute;left:0;top:0;background:var(--orange);color:var(--navy);font-size:10.5px;line-height:1;font-weight:950;padding:6px 7px}.buyer-product-card .product-body{display:flex;flex:1;flex-direction:column;gap:5px;padding:9px}.buyer-product-card .product-body h3{font-size:14.5px;line-height:1.3;min-height:38px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.buyer-product-card .product-price{font-size:16px;line-height:1.2;font-weight:950;color:var(--red)}.buyer-dp-line{display:flex;align-items:center;justify-content:space-between;gap:6px;border-top:1px solid #f0f2f6;padding-top:5px;font-size:12px;color:var(--muted)}.buyer-dp-line strong{font-size:13px;color:var(--navy);text-align:right}.buyer-product-facts{display:grid;gap:2px;font-size:12px;line-height:1.35;color:#5b6680}.buyer-order-now{min-height:42px;margin-top:auto;font-size:13px;font-weight:950;padding:8px 6px}
.buyer-order-filters{padding:10px;background:#fff;border:1px solid var(--line);margin-bottom:10px}.order-filter-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible;padding:0 0 10px}.order-filter-chip{width:100%;min-height:42px;padding:6px 4px;white-space:normal;font-size:12.5px;line-height:1.15;font-weight:900}.filter-all{border-color:var(--navy)}.filter-unpaid{border-color:var(--red);color:var(--red);background:#fff7f5}.filter-verify{border-color:#8a6d00;color:#725a00;background:#fffceb}.filter-transit{border-color:var(--teal);color:#21797a;background:#f4fbfb}.filter-process{border-color:#66728d;color:var(--navy);background:#f5f7fb}.filter-done{border-color:#2f875b;color:#246a49;background:#f4fbf7}.filter-all.active{background:var(--navy);color:#fff}.filter-unpaid.active{background:var(--red);color:#fff}.filter-verify.active{background:#8a6d00;color:#fff}.filter-transit.active{background:var(--teal);color:#fff}.filter-process.active{background:#53617d;color:#fff}.filter-done.active{background:#2f875b;color:#fff}
.order-date-filter{display:grid;grid-template-columns:1fr 1fr auto;gap:7px;align-items:end;border-top:1px solid #edf0f5;padding-top:9px}.order-date-field label{font-size:11.5px;margin-bottom:4px}.order-date-field .input{min-height:42px;font-size:13px;padding:7px}.order-filter-reset{min-height:42px;font-size:12.5px}.order-result-count{margin-top:7px;font-size:12px;color:var(--muted)}
.buyer-order-list{display:grid;gap:10px}.buyer-order-card{padding:0;overflow:hidden}.buyer-order-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 11px 7px}.buyer-order-id{display:block;font-size:14px;color:var(--navy)}.buyer-order-date{display:block;font-size:11.5px;color:var(--muted);margin-top:2px}.buyer-delivery-line{padding:0 11px 8px;font-size:12.5px;color:#59657e}.buyer-order-items{border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5;padding:7px 11px}.buyer-order-items .order-item{padding:5px 0}.buyer-order-items .order-item strong{font-size:13px}.buyer-order-items .order-item .muted{font-size:11.5px}.buyer-order-hint{margin:9px 11px 0;padding:9px;border-left:4px solid #8794b3;background:#f6f8fb}.buyer-order-hint strong,.buyer-order-hint span{display:block}.buyer-order-hint strong{font-size:13.5px;margin-bottom:2px}.buyer-order-hint span{font-size:12.5px;line-height:1.4;color:#526078}.buyer-order-hint.tone-pay{border-left-color:var(--red);background:#fff7f5}.buyer-order-hint.tone-shipping{border-left-color:var(--orange);background:#fff9ef}.buyer-order-hint.tone-verify{border-left-color:#9a7a00;background:#fffceb}.buyer-order-hint.tone-transit{border-left-color:var(--teal);background:#f2fbfb}.buyer-order-hint.tone-ok,.buyer-order-hint.tone-done{border-left-color:#2f875b;background:#f4fbf7}.buyer-order-hint.tone-cancel{border-left-color:#777;background:#f7f7f7}.buyer-latest-update{margin:7px 11px 0;padding:7px 0;border-top:1px dashed #d8dde7}.buyer-latest-update span,.buyer-latest-update small{display:block;font-size:11px;color:var(--muted)}.buyer-latest-update strong{display:block;font-size:12.5px;line-height:1.4;margin:2px 0;color:var(--navy)}.buyer-order-money{display:grid;grid-template-columns:1fr 1fr 1fr;margin-top:7px;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5}.buyer-order-money>div{padding:8px 7px;border-right:1px solid #edf0f5;min-width:0}.buyer-order-money>div:last-child{border-right:0}.buyer-order-money small{display:block;font-size:10.5px;color:var(--muted);margin-bottom:2px}.buyer-order-money strong{display:block;font-size:12.5px;color:var(--navy);overflow-wrap:anywhere}.buyer-order-money .due strong{color:var(--red)}.buyer-order-actions{display:grid;grid-template-columns:1fr auto;gap:7px;padding:9px 11px 11px}.buyer-order-actions .btn{min-height:42px;font-size:12.5px}.buyer-order-actions .buyer-main-action{grid-column:1}.buyer-order-actions .buyer-detail-action{grid-column:2}.buyer-order-actions .buyer-detail-action:only-child{grid-column:1/-1}
.buyer-mobile-nav{display:none}.mobile-nav-icon{position:relative;display:inline-grid;place-items:center}.mobile-nav-badge{position:absolute;right:-11px;top:-7px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;background:var(--red);color:#fff;border:2px solid #fff;font-size:9px;line-height:1;font-weight:950}.buyer-empty{padding:28px 14px}
@media(max-width:679px){
  body{font-size:15px}.buyer-shell{padding:8px 8px calc(82px + env(safe-area-inset-bottom))}.buyer-tabs-desktop{display:none}.buyer-app .header-inner{padding:9px 10px}.buyer-app .brand{font-size:20px;line-height:1}.buyer-app .brand small{font-size:9.5px;margin-top:3px}.buyer-app .account-button{display:none}.buyer-app .notif-bell{width:40px;height:40px;flex-basis:40px;font-size:18px}.buyer-store-head,.buyer-orders-head{margin-bottom:9px}.buyer-store-head h1,.buyer-orders-head h1{font-size:20px}.buyer-store-head p,.buyer-orders-head p{font-size:13px}.buyer-product-count{font-size:11.5px;padding:6px 7px}.buyer-product-grid{gap:7px}.buyer-product-card .product-body{padding:8px}.buyer-product-card .product-body h3{font-size:14.5px;min-height:37px}.buyer-product-card .product-price{font-size:16px}.buyer-dp-line{font-size:11.8px}.buyer-dp-line strong{font-size:12.5px}.buyer-product-facts{font-size:11.8px}.buyer-order-now{font-size:13px}.buyer-mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:60;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid #cfd5e1;padding:3px max(4px,env(safe-area-inset-right)) calc(3px + env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));box-shadow:0 -3px 12px rgba(1,21,71,.12)}.buyer-mobile-nav-item{min-height:58px;border:0;background:#fff;color:#6a748b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11.5px;font-weight:850;cursor:pointer;padding:3px}.buyer-mobile-nav-item .ico{font-size:21px;line-height:1}.buyer-mobile-nav-item.active{color:var(--navy);box-shadow:inset 0 3px 0 var(--orange)}.buyer-app .floating-cart{display:none}.buyer-order-filters{padding:9px}.order-filter-chips{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.order-filter-chip{min-height:42px;font-size:12px}.order-date-filter{grid-template-columns:1fr 1fr}.order-filter-reset{grid-column:1/-1;width:100%}.buyer-order-actions{grid-template-columns:1fr}.buyer-order-actions .buyer-main-action,.buyer-order-actions .buyer-detail-action{grid-column:1/-1;width:100%}
}
@media(max-width:360px){.buyer-store-head{align-items:flex-start}.buyer-product-count{display:none}.buyer-product-card .product-body h3{font-size:14px}.buyer-product-card .product-price{font-size:15.5px}.buyer-product-facts{font-size:11.5px}.order-filter-chips{grid-template-columns:repeat(2,minmax(0,1fr))}.order-date-filter{grid-template-columns:1fr}.order-filter-reset{grid-column:auto}.buyer-order-money strong{font-size:12px}}
